@vunk/form 2.16.5 → 2.16.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/cascader/src/ctx.d.ts +1 -1
- package/components/cascader/src/index.vue.d.ts +7 -7
- package/components/date-picker/src/ctx.d.ts +1 -1
- package/components/date-picker/src/index.vue.d.ts +3 -3
- package/components/date-picker-range/src/ctx.d.ts +9 -9
- package/components/date-picker-range/src/index.vue.d.ts +19 -19
- package/components/form/src/ctx.d.ts +3 -3
- package/components/form/src/index.vue.d.ts +3 -1417
- package/components/input-tag/src/ctx.d.ts +1 -1
- package/components/input-tag/src/index.vue.d.ts +2 -2
- package/components/select/index.cjs +16 -9
- package/components/select/index.mjs +10 -3
- package/components/select/src/core.vue.d.ts +602 -98
- package/components/select/src/ctx.d.ts +193 -46
- package/components/select/src/index.vue.d.ts +392 -85
- package/components/van-cascader/src/index.vue.d.ts +3 -3
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +12 -11
- package/shared/element-plus/index.cjs +2 -132
- package/shared/element-plus/index.mjs +2 -130
- package/shared/element-plus/instances.d.ts +2 -99
|
@@ -320,7 +320,7 @@ export declare const props: {
|
|
|
320
320
|
readonly default: () => import("element-plus").CascaderProps;
|
|
321
321
|
};
|
|
322
322
|
};
|
|
323
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"
|
|
323
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"separator", keyof T2>, KE> | Exclude<Extract<"showAllLevels", keyof T2>, KE> | Exclude<Extract<"maxCollapseTagsTooltipHeight", keyof T2>, KE> | Exclude<Extract<"debounce", keyof T2>, KE> | Exclude<Extract<"beforeFilter", keyof T2>, KE> | Exclude<Extract<"showCheckedStrategy", keyof T2>, KE> | Exclude<Extract<"checkOnClickNode", keyof T2>, KE> | Exclude<Extract<"showPrefix", keyof T2>, KE> | Exclude<Extract<"optionsUrl", keyof T2>, KE> | Exclude<Extract<"cascaderSlots", keyof T2>, KE> | Exclude<Extract<"cascaderRef", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>]: T2[k]; }[P]; }>;
|
|
324
324
|
export declare const emits: {
|
|
325
325
|
"update:modelValue": (value: import("element-plus").CascaderValue | null | undefined) => boolean;
|
|
326
326
|
change: (value: import("element-plus").CascaderValue | null | undefined) => boolean;
|
|
@@ -357,19 +357,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
357
357
|
filterMethod: (node: import("element-plus").CascaderNode, keyword: string) => boolean;
|
|
358
358
|
clearIcon: unknown;
|
|
359
359
|
validateEvent: boolean;
|
|
360
|
+
emptyValues: unknown[];
|
|
361
|
+
valueOnClear: string | number | boolean | Function;
|
|
360
362
|
filterable: boolean;
|
|
361
363
|
collapseTags: boolean;
|
|
362
364
|
collapseTagsTooltip: boolean;
|
|
365
|
+
maxCollapseTags: number;
|
|
363
366
|
tagType: "primary" | "success" | "warning" | "info" | "danger";
|
|
364
|
-
|
|
365
|
-
valueOnClear: string | number | boolean | Function;
|
|
367
|
+
tagEffect: "dark" | "light" | "plain";
|
|
366
368
|
separator: string;
|
|
367
369
|
showAllLevels: boolean;
|
|
368
|
-
maxCollapseTags: number;
|
|
369
370
|
maxCollapseTagsTooltipHeight: string | number;
|
|
370
371
|
debounce: number;
|
|
371
372
|
beforeFilter: (value: string) => boolean | Promise<any>;
|
|
372
|
-
tagEffect: "dark" | "light" | "plain";
|
|
373
373
|
showCheckedStrategy: string;
|
|
374
374
|
checkOnClickNode: boolean;
|
|
375
375
|
showPrefix: boolean;
|
|
@@ -742,17 +742,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
742
742
|
filterMethod: (node: import("element-plus").CascaderNode, keyword: string) => boolean;
|
|
743
743
|
options: import("element-plus").CascaderOption[];
|
|
744
744
|
validateEvent: boolean;
|
|
745
|
+
valueOnClear: string | number | boolean | Function;
|
|
745
746
|
filterable: boolean;
|
|
746
747
|
collapseTags: boolean;
|
|
747
748
|
collapseTagsTooltip: boolean;
|
|
749
|
+
maxCollapseTags: number;
|
|
748
750
|
tagType: "primary" | "success" | "warning" | "info" | "danger";
|
|
749
|
-
|
|
751
|
+
tagEffect: "dark" | "light" | "plain";
|
|
750
752
|
separator: string;
|
|
751
753
|
showAllLevels: boolean;
|
|
752
|
-
maxCollapseTags: number;
|
|
753
754
|
debounce: number;
|
|
754
755
|
beforeFilter: (value: string) => boolean | Promise<any>;
|
|
755
|
-
tagEffect: "dark" | "light" | "plain";
|
|
756
756
|
showCheckedStrategy: string;
|
|
757
757
|
checkOnClickNode: boolean;
|
|
758
758
|
showPrefix: boolean;
|
|
@@ -341,7 +341,7 @@ export declare const props: {
|
|
|
341
341
|
};
|
|
342
342
|
isRange: BooleanConstructor;
|
|
343
343
|
};
|
|
344
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"
|
|
344
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"editable", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"showNow", keyof T2>, KE> | Exclude<Extract<"showConfirm", keyof T2>, KE> | Exclude<Extract<"showFooter", keyof T2>, KE> | Exclude<Extract<"showWeekNumber", keyof T2>, KE> | Exclude<Extract<"disabledDate", keyof T2>, KE> | Exclude<Extract<"shortcuts", keyof T2>, KE> | Exclude<Extract<"arrowControl", keyof T2>, KE> | Exclude<Extract<"unlinkPanels", keyof T2>, KE> | Exclude<Extract<"disabledHours", keyof T2>, KE> | Exclude<Extract<"disabledMinutes", keyof T2>, KE> | Exclude<Extract<"disabledSeconds", keyof T2>, KE> | Exclude<Extract<"format", keyof T2>, KE> | Exclude<Extract<"valueFormat", keyof T2>, KE> | Exclude<Extract<"dateFormat", keyof T2>, KE> | Exclude<Extract<"timeFormat", keyof T2>, KE> | Exclude<Extract<"editable", keyof T2>, KE> | Exclude<Extract<"rangeSeparator", keyof T2>, KE> | Exclude<Extract<"startPlaceholder", keyof T2>, KE> | Exclude<Extract<"endPlaceholder", keyof T2>, KE> | Exclude<Extract<"defaultValue", keyof T2>, KE> | Exclude<Extract<"defaultTime", keyof T2>, KE> | Exclude<Extract<"isRange", keyof T2>, KE> | Exclude<Extract<"datePickerSlots", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"editable", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"editable", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>]: T2[k]; }[P]; }>;
|
|
345
345
|
export declare const emits: {
|
|
346
346
|
'update:modelValue': any;
|
|
347
347
|
change: any;
|
|
@@ -381,12 +381,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
381
381
|
prefixIcon: "";
|
|
382
382
|
tabindex: string | number;
|
|
383
383
|
validateEvent: boolean;
|
|
384
|
+
emptyValues: unknown[];
|
|
385
|
+
valueOnClear: string | number | boolean | Function;
|
|
384
386
|
showNow: boolean;
|
|
385
387
|
showConfirm: boolean;
|
|
386
388
|
showFooter: boolean;
|
|
387
389
|
showWeekNumber: boolean;
|
|
388
|
-
emptyValues: unknown[];
|
|
389
|
-
valueOnClear: string | number | boolean | Function;
|
|
390
390
|
disabledDate: Function;
|
|
391
391
|
shortcuts: unknown[];
|
|
392
392
|
arrowControl: boolean;
|
|
@@ -793,11 +793,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
793
793
|
prefixIcon: "";
|
|
794
794
|
tabindex: string | number;
|
|
795
795
|
validateEvent: boolean;
|
|
796
|
+
valueOnClear: string | number | boolean | Function;
|
|
796
797
|
showNow: boolean;
|
|
797
798
|
showConfirm: boolean;
|
|
798
799
|
showFooter: boolean;
|
|
799
800
|
showWeekNumber: boolean;
|
|
800
|
-
valueOnClear: string | number | boolean | Function;
|
|
801
801
|
shortcuts: unknown[];
|
|
802
802
|
arrowControl: boolean;
|
|
803
803
|
unlinkPanels: boolean;
|
|
@@ -254,6 +254,15 @@ export declare const props: {
|
|
|
254
254
|
} & {
|
|
255
255
|
readonly default: true;
|
|
256
256
|
};
|
|
257
|
+
emptyValues: ArrayConstructor;
|
|
258
|
+
valueOnClear: {
|
|
259
|
+
readonly type: PropType<string | number | boolean | Function>;
|
|
260
|
+
readonly required: false;
|
|
261
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
262
|
+
__epPropKey: true;
|
|
263
|
+
} & {
|
|
264
|
+
readonly default: undefined;
|
|
265
|
+
};
|
|
257
266
|
showNow: {
|
|
258
267
|
readonly type: PropType<boolean>;
|
|
259
268
|
readonly required: false;
|
|
@@ -279,15 +288,6 @@ export declare const props: {
|
|
|
279
288
|
readonly default: true;
|
|
280
289
|
};
|
|
281
290
|
showWeekNumber: BooleanConstructor;
|
|
282
|
-
emptyValues: ArrayConstructor;
|
|
283
|
-
valueOnClear: {
|
|
284
|
-
readonly type: PropType<string | number | boolean | Function>;
|
|
285
|
-
readonly required: false;
|
|
286
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
287
|
-
__epPropKey: true;
|
|
288
|
-
} & {
|
|
289
|
-
readonly default: undefined;
|
|
290
|
-
};
|
|
291
291
|
disabledDate: {
|
|
292
292
|
readonly type: PropType<Function>;
|
|
293
293
|
readonly required: false;
|
|
@@ -253,6 +253,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
253
253
|
} & {
|
|
254
254
|
readonly default: true;
|
|
255
255
|
};
|
|
256
|
+
emptyValues: ArrayConstructor;
|
|
257
|
+
valueOnClear: {
|
|
258
|
+
readonly type: import("vue").PropType<string | number | boolean | Function>;
|
|
259
|
+
readonly required: false;
|
|
260
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
261
|
+
__epPropKey: true;
|
|
262
|
+
} & {
|
|
263
|
+
readonly default: undefined;
|
|
264
|
+
};
|
|
256
265
|
showNow: {
|
|
257
266
|
readonly type: import("vue").PropType<boolean>;
|
|
258
267
|
readonly required: false;
|
|
@@ -278,15 +287,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
278
287
|
readonly default: true;
|
|
279
288
|
};
|
|
280
289
|
showWeekNumber: BooleanConstructor;
|
|
281
|
-
emptyValues: ArrayConstructor;
|
|
282
|
-
valueOnClear: {
|
|
283
|
-
readonly type: import("vue").PropType<string | number | boolean | Function>;
|
|
284
|
-
readonly required: false;
|
|
285
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
286
|
-
__epPropKey: true;
|
|
287
|
-
} & {
|
|
288
|
-
readonly default: undefined;
|
|
289
|
-
};
|
|
290
290
|
disabledDate: {
|
|
291
291
|
readonly type: import("vue").PropType<Function>;
|
|
292
292
|
readonly required: false;
|
|
@@ -635,6 +635,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
635
635
|
} & {
|
|
636
636
|
readonly default: true;
|
|
637
637
|
};
|
|
638
|
+
emptyValues: ArrayConstructor;
|
|
639
|
+
valueOnClear: {
|
|
640
|
+
readonly type: import("vue").PropType<string | number | boolean | Function>;
|
|
641
|
+
readonly required: false;
|
|
642
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
643
|
+
__epPropKey: true;
|
|
644
|
+
} & {
|
|
645
|
+
readonly default: undefined;
|
|
646
|
+
};
|
|
638
647
|
showNow: {
|
|
639
648
|
readonly type: import("vue").PropType<boolean>;
|
|
640
649
|
readonly required: false;
|
|
@@ -660,15 +669,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
660
669
|
readonly default: true;
|
|
661
670
|
};
|
|
662
671
|
showWeekNumber: BooleanConstructor;
|
|
663
|
-
emptyValues: ArrayConstructor;
|
|
664
|
-
valueOnClear: {
|
|
665
|
-
readonly type: import("vue").PropType<string | number | boolean | Function>;
|
|
666
|
-
readonly required: false;
|
|
667
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
668
|
-
__epPropKey: true;
|
|
669
|
-
} & {
|
|
670
|
-
readonly default: undefined;
|
|
671
|
-
};
|
|
672
672
|
disabledDate: {
|
|
673
673
|
readonly type: import("vue").PropType<Function>;
|
|
674
674
|
readonly required: false;
|
|
@@ -774,11 +774,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
774
774
|
prefixIcon: "";
|
|
775
775
|
tabindex: string | number;
|
|
776
776
|
validateEvent: boolean;
|
|
777
|
+
valueOnClear: string | number | boolean | Function;
|
|
777
778
|
showNow: boolean;
|
|
778
779
|
showConfirm: boolean;
|
|
779
780
|
showFooter: boolean;
|
|
780
781
|
showWeekNumber: boolean;
|
|
781
|
-
valueOnClear: string | number | boolean | Function;
|
|
782
782
|
shortcuts: unknown[];
|
|
783
783
|
arrowControl: boolean;
|
|
784
784
|
unlinkPanels: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import type { Func, SetDataEvent } from '@vunk/core';
|
|
2
|
+
import type { SetDataEvent } from '@vunk/core';
|
|
4
3
|
import { ColItem, RowItem } from './types';
|
|
4
|
+
import { AnyFunc } from '@vunk/shared';
|
|
5
5
|
export declare const props: {
|
|
6
6
|
data: {
|
|
7
7
|
type: PropType<Record<string, any>>;
|
|
@@ -15,7 +15,7 @@ export declare const props: {
|
|
|
15
15
|
type: BooleanConstructor;
|
|
16
16
|
};
|
|
17
17
|
elRef: {
|
|
18
|
-
type: PropType<
|
|
18
|
+
type: PropType<AnyFunc>;
|
|
19
19
|
default: () => () => void;
|
|
20
20
|
};
|
|
21
21
|
/**
|