Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-picker

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-picker - npm Package Compare versions

Comparing version 3.10.0 to 3.11.0-alpha.0

src/type.d.ts

231

lib/index.js

@@ -12,7 +12,7 @@ import { renderless, api } from "@opentiny/vue-renderless/picker/vue";

import TimePanel from "@opentiny/vue-time-panel";
import { iconCalendar, iconTime, iconClose } from "@opentiny/vue-icon";
import { iconClose, iconCalendar, iconTime } from "@opentiny/vue-icon";
import Tooltip from "@opentiny/vue-tooltip";
import FilterBox from "@opentiny/vue-filter-box";
import { resolveComponent, resolveDirective, openBlock, createElementBlock, withDirectives, createBlock, mergeProps, createSlots, withCtx, createElementVNode, createVNode, Transition, resolveDynamicComponent, createCommentVNode, toDisplayString, normalizeClass, renderSlot } from "vue";
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

@@ -55,3 +55,3 @@ if (it)

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -65,2 +65,113 @@ target[key] = val;

import "@opentiny/vue-theme/input/index.css";
var pickerProps = {
type: {
type: String,
default: "date"
},
tabindex: {
type: String,
default: "1"
},
timeArrowControl: Boolean,
size: String,
format: String,
valueFormat: String,
timeFormat: String,
readonly: Boolean,
placeholder: String,
startPlaceholder: String,
endPlaceholder: String,
prefixIcon: Object,
suffixIcon: Object,
label: String,
shape: String,
tip: String,
clearIcon: {
type: Object,
default: function _default() {
return iconClose();
}
},
name: {
default: "",
validator: function validator(value) {
return value === null || value === void 0 || typeof value === "string" || value instanceof String || Array.isArray(value) && value.length === 2 && value.every(function(item) {
return typeof item === "string" || item instanceof String;
});
}
},
clearable: {
type: Boolean,
default: true
},
disabled: Boolean,
id: {
default: "",
validator: function validator2(value) {
return value === null || value === void 0 || typeof value === "string" || value instanceof String || Array.isArray(value) && value.length === 2 && value.every(function(item) {
return typeof item === "string" || item instanceof String;
});
}
},
popperClass: String,
popperAppendToBody: {
type: Boolean,
default: true
},
align: {
type: String,
default: "left"
},
editable: {
type: Boolean,
default: true
},
modelValue: {},
defaultValue: {},
defaultTime: {},
rangeSeparator: {
type: [Object, String],
default: "-"
},
unlinkPanels: Boolean,
pickerOptions: {},
validateEvent: {
type: Boolean,
default: true
},
isRange: Boolean,
arrowControl: Boolean,
timezoneData: {},
showTimezone: {
type: Boolean,
default: false
},
defaultTimezone: String,
isutc8: {
type: Boolean,
default: false
},
dbTimezone: Number,
timezone: Number,
iso8601: Boolean,
displayOnly: {
type: Boolean,
default: false
},
step: {
type: Object,
default: function _default2() {
return {
hour: 1,
minute: 1,
second: 1
};
}
},
showWeekNumber: {
type: Boolean,
default: false
},
formatWeeks: Function
};
var _sfc_main = defineComponent({

@@ -78,113 +189,3 @@ name: $prefix + "Picker",

emits: ["created", "select-change", "update:modelValue", "blur", "focus", "change"],
props: {
type: {
type: String,
default: "date"
},
tabindex: {
type: String,
default: "1"
},
timeArrowControl: Boolean,
size: String,
format: String,
valueFormat: String,
timeFormat: String,
readonly: Boolean,
placeholder: String,
startPlaceholder: String,
endPlaceholder: String,
prefixIcon: Object,
suffixIcon: Object,
label: String,
shape: String,
tip: String,
clearIcon: {
type: Object,
default: function _default() {
return iconClose();
}
},
name: {
default: "",
validator: function validator(value) {
return value === null || value === void 0 || typeof value === "string" || value instanceof String || Array.isArray(value) && value.length === 2 && value.every(function(item) {
return typeof item === "string" || item instanceof String;
});
}
},
clearable: {
type: Boolean,
default: true
},
disabled: Boolean,
id: {
default: "",
validator: function validator2(value) {
return value === null || value === void 0 || typeof value === "string" || value instanceof String || Array.isArray(value) && value.length === 2 && value.every(function(item) {
return typeof item === "string" || item instanceof String;
});
}
},
popperClass: String,
popperAppendToBody: {
type: Boolean,
default: true
},
align: {
type: String,
default: "left"
},
editable: {
type: Boolean,
default: true
},
modelValue: {},
defaultValue: {},
defaultTime: {},
rangeSeparator: {
type: [Object, String],
default: "-"
},
unlinkPanels: Boolean,
pickerOptions: {},
validateEvent: {
type: Boolean,
default: true
},
isRange: Boolean,
arrowControl: Boolean,
timezoneData: {},
showTimezone: {
type: Boolean,
default: false
},
defaultTimezone: String,
isutc8: {
type: Boolean,
default: false
},
dbTimezone: Number,
timezone: Number,
iso8601: Boolean,
displayOnly: {
type: Boolean,
default: false
},
step: {
type: Object,
default: function _default2() {
return {
hour: 1,
minute: 1,
second: 1
};
}
},
showWeekNumber: {
type: Boolean,
default: false
},
formatWeeks: Function
},
props: pickerProps,
directives: directive({

@@ -470,3 +471,3 @@ Clickoutside

var Picker = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
var version = "3.10.0";
var version = "3.11.0-alpha.0";
Picker.model = {

@@ -473,0 +474,0 @@ prop: "modelValue",

{
"name": "@opentiny/vue-picker",
"version": "3.10.0",
"version": "3.11.0-alpha.0",
"description": "",

@@ -10,12 +10,12 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~3.10.0",
"@opentiny/vue-renderless": "~3.10.0",
"@opentiny/vue-input": "~3.10.0",
"@opentiny/vue-locale": "~3.10.0",
"@opentiny/vue-date-panel": "~3.10.0",
"@opentiny/vue-date-range": "~3.10.0",
"@opentiny/vue-month-range": "~3.10.0",
"@opentiny/vue-time": "~3.10.0",
"@opentiny/vue-time-range": "~3.10.0",
"@opentiny/vue-time-panel": "~3.10.0"
"@opentiny/vue-common": "~3.11.0-alpha.0",
"@opentiny/vue-renderless": "~3.11.0-alpha.0",
"@opentiny/vue-input": "~3.11.0-alpha.0",
"@opentiny/vue-locale": "~3.11.0-alpha.0",
"@opentiny/vue-date-panel": "~3.11.0-alpha.0",
"@opentiny/vue-date-range": "~3.11.0-alpha.0",
"@opentiny/vue-month-range": "~3.11.0-alpha.0",
"@opentiny/vue-time": "~3.11.0-alpha.0",
"@opentiny/vue-time-range": "~3.11.0-alpha.0",
"@opentiny/vue-time-panel": "~3.11.0-alpha.0"
},

@@ -22,0 +22,0 @@ "license": "MIT",

@@ -32,3 +32,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{

default: string;
validator(value: unknown): boolean;
validator(value: any): boolean;
};

@@ -42,3 +42,3 @@ clearable: {

default: string;
validator(value: unknown): boolean;
validator(value: any): boolean;
};

@@ -112,3 +112,3 @@ popperClass: StringConstructor;

m: (...cssClasses: any[]) => string;
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "created" | "focus" | "blur" | "change" | "select-change")[], "update:modelValue" | "created" | "focus" | "blur" | "change" | "select-change", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "created" | "blur" | "change" | "focus" | "select-change")[], "update:modelValue" | "created" | "blur" | "change" | "focus" | "select-change", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
type: {

@@ -144,3 +144,3 @@ type: StringConstructor;

default: string;
validator(value: unknown): boolean;
validator(value: any): boolean;
};

@@ -154,3 +154,3 @@ clearable: {

default: string;
validator(value: unknown): boolean;
validator(value: any): boolean;
};

@@ -226,4 +226,6 @@ popperClass: StringConstructor;

disabled: boolean;
tabindex: string;
popperAppendToBody: boolean;
id: string;
tabindex: string;
align: string;
readonly: boolean;

@@ -233,17 +235,15 @@ clearable: boolean;

displayOnly: boolean;
popperAppendToBody: boolean;
editable: boolean;
step: Record<string, any>;
align: string;
iso8601: boolean;
isutc8: boolean;
arrowControl: boolean;
timeArrowControl: boolean;
showWeekNumber: boolean;
unlinkPanels: boolean;
clearIcon: Record<string, any>;
rangeSeparator: string | Record<string, any>;
unlinkPanels: boolean;
isRange: boolean;
arrowControl: boolean;
showTimezone: boolean;
showWeekNumber: boolean;
iso8601: boolean;
isutc8: boolean;
}, {}>;
export default _default;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc