@vunk/form 2.12.1 → 2.13.0
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/api-tables-select/src/ctx.d.ts +1 -1
- package/components/api-tables-select/src/index.vue.d.ts +5 -5
- package/components/api-tables-select/src/types.d.ts +2 -2
- package/components/button/index.cjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/ctx.d.ts +1 -6
- package/components/button/src/index.vue.d.ts +3 -12
- package/components/button/src/types.d.ts +2 -2
- package/components/card-input-collection/src/ctx.d.ts +1 -6
- package/components/card-input-collection/src/index.vue.d.ts +4 -18
- package/components/card-input-collection/src/types.d.ts +2 -2
- package/components/cascader/src/ctx.d.ts +2 -7
- package/components/cascader/src/index.vue.d.ts +3 -12
- package/components/cascader/src/types.d.ts +1 -1
- package/components/checkbox/src/ctx.d.ts +2 -7
- package/components/checkbox/src/index.vue.d.ts +3 -12
- package/components/checkbox/src/types.d.ts +1 -1
- package/components/color-picker/src/ctx.d.ts +1 -6
- package/components/color-picker/src/index.vue.d.ts +3 -12
- package/components/color-picker/src/types.d.ts +1 -1
- package/components/date-picker/src/ctx.d.ts +2 -7
- package/components/date-picker/src/index.vue.d.ts +3 -12
- package/components/date-picker/src/types.d.ts +2 -2
- package/components/date-picker-range/src/types.d.ts +3 -3
- package/components/dialog-input-collection/index.cjs +128 -103
- package/components/dialog-input-collection/index.mjs +127 -102
- package/components/dialog-input-collection/src/ctx.d.ts +7 -9
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +1184 -49
- package/components/dialog-input-collection/src/index.vue.d.ts +1369 -241
- package/components/dialog-input-collection/src/layout.vue.d.ts +27 -27
- package/components/dialog-input-collection/src/types.d.ts +3 -3
- package/components/download-plus/src/ctx.d.ts +1 -6
- package/components/download-plus/src/index.vue.d.ts +3 -12
- package/components/editable-text/src/ctx.d.ts +1 -6
- package/components/editable-text/src/index.vue.d.ts +5 -19
- package/components/esri-input-geojson/src/ctx.d.ts +2 -7
- package/components/esri-input-geojson/src/index.vue.d.ts +4 -13
- package/components/esri-input-geojson/src/types.d.ts +2 -2
- package/components/form/src/types.d.ts +1 -1
- package/components/form-item/index.cjs +2 -1
- package/components/form-item/index.mjs +2 -1
- package/components/form-item/src/ctx.d.ts +2 -7
- package/components/form-item/src/index.vue.d.ts +4 -13
- package/components/form-item-renderer/index.cjs +5 -3
- package/components/form-item-renderer/index.mjs +5 -3
- package/components/information/src/types.d.ts +1 -1
- package/components/information-collection/src/ctx.d.ts +1 -6
- package/components/information-collection/src/index.vue.d.ts +3 -12
- package/components/input/src/ctx.d.ts +2 -7
- package/components/input/src/index.vue.d.ts +3 -12
- package/components/input/src/types.d.ts +2 -2
- package/components/input-collection/src/ctx.d.ts +1 -6
- package/components/input-collection/src/index.vue.d.ts +4 -18
- package/components/input-collection/src/types.d.ts +2 -2
- package/components/input-link/src/ctx.d.ts +1 -6
- package/components/input-link/src/index.vue.d.ts +3 -12
- package/components/input-link/src/types.d.ts +1 -1
- package/components/input-number/src/ctx.d.ts +2 -7
- package/components/input-number/src/index.vue.d.ts +3 -12
- package/components/input-number/src/types.d.ts +1 -1
- package/components/input-tag/src/ctx.d.ts +2 -7
- package/components/input-tag/src/index.vue.d.ts +3 -12
- package/components/input-tag/src/types.d.ts +2 -2
- package/components/monaco-editor/src/ctx.d.ts +1 -6
- package/components/monaco-editor/src/index.vue.d.ts +3 -12
- package/components/monaco-editor/src/types.d.ts +2 -2
- package/components/radio/src/ctx.d.ts +1 -6
- package/components/radio/src/index.vue.d.ts +3 -12
- package/components/radio/src/types.d.ts +1 -1
- package/components/select/src/ctx.d.ts +2 -7
- package/components/select/src/index.vue.d.ts +3 -12
- package/components/select/src/types.d.ts +1 -1
- package/components/slider/src/ctx.d.ts +1 -6
- package/components/slider/src/index.vue.d.ts +3 -12
- package/components/slider/src/types.d.ts +1 -1
- package/components/switch/src/ctx.d.ts +1 -6
- package/components/switch/src/index.vue.d.ts +3 -12
- package/components/switch/src/types.d.ts +1 -1
- package/components/tables-select/src/ctx.d.ts +1 -1
- package/components/tables-select/src/index.vue.d.ts +2 -2
- package/components/tables-select/src/types.d.ts +2 -2
- package/components/templates-default/src/types.d.ts +16 -16
- package/components/templates-esri/src/types.d.ts +1 -1
- package/components/templates-variant/src/types.d.ts +1 -1
- package/components/upload/src/ctx.d.ts +2 -7
- package/components/upload/src/index.vue.d.ts +3 -12
- package/components/upload/src/types.d.ts +1 -1
- package/components/upload-plus/src/ctx.d.ts +1 -6
- package/components/upload-plus/src/index.vue.d.ts +4 -18
- package/components/van-cascader/src/ctx.d.ts +1 -6
- package/components/van-cascader/src/index.vue.d.ts +3 -12
- package/components/var-datetime-picker/src/ctx.d.ts +1 -6
- package/components/var-datetime-picker/src/index.vue.d.ts +3 -12
- package/components/var-datetime-picker/src/types.d.ts +2 -2
- package/components/vditor/src/ctx.d.ts +1 -6
- package/components/vditor/src/index.vue.d.ts +3 -12
- package/components/vditor/src/types.d.ts +2 -2
- package/package.json +1 -1
- package/shared/types/source/index.d.ts +2 -2
|
@@ -86,6 +86,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
86
86
|
type: StringConstructor;
|
|
87
87
|
default: any;
|
|
88
88
|
};
|
|
89
|
+
prop: any;
|
|
89
90
|
label: StringConstructor;
|
|
90
91
|
labelWidth: {
|
|
91
92
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -103,12 +104,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
103
104
|
} & {
|
|
104
105
|
readonly default: "";
|
|
105
106
|
};
|
|
106
|
-
prop: {
|
|
107
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
108
|
-
readonly required: false;
|
|
109
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
-
__epPropKey: true;
|
|
111
|
-
};
|
|
112
107
|
rules: {
|
|
113
108
|
readonly type: import("vue").PropType<unknown>;
|
|
114
109
|
readonly required: false;
|
|
@@ -227,6 +222,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
227
222
|
type: StringConstructor;
|
|
228
223
|
default: any;
|
|
229
224
|
};
|
|
225
|
+
prop: any;
|
|
230
226
|
label: StringConstructor;
|
|
231
227
|
labelWidth: {
|
|
232
228
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -244,12 +240,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
244
240
|
} & {
|
|
245
241
|
readonly default: "";
|
|
246
242
|
};
|
|
247
|
-
prop: {
|
|
248
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
249
|
-
readonly required: false;
|
|
250
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
251
|
-
__epPropKey: true;
|
|
252
|
-
};
|
|
253
243
|
rules: {
|
|
254
244
|
readonly type: import("vue").PropType<unknown>;
|
|
255
245
|
readonly required: false;
|
|
@@ -290,6 +280,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
290
280
|
formItemTipClass: any;
|
|
291
281
|
labelTip: string;
|
|
292
282
|
information: boolean;
|
|
283
|
+
prop: any;
|
|
293
284
|
labelWidth: string | number;
|
|
294
285
|
labelPosition: "" | "top" | "left" | "right";
|
|
295
286
|
inlineMessage: string | boolean;
|
|
@@ -58,6 +58,7 @@ export declare const props: {
|
|
|
58
58
|
type: BooleanConstructor;
|
|
59
59
|
default: boolean;
|
|
60
60
|
};
|
|
61
|
+
prop: any;
|
|
61
62
|
label: StringConstructor;
|
|
62
63
|
labelWidth: {
|
|
63
64
|
readonly type: PropType<string | number>;
|
|
@@ -75,12 +76,6 @@ export declare const props: {
|
|
|
75
76
|
} & {
|
|
76
77
|
readonly default: "";
|
|
77
78
|
};
|
|
78
|
-
prop: {
|
|
79
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
80
|
-
readonly required: false;
|
|
81
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
82
|
-
__epPropKey: true;
|
|
83
|
-
};
|
|
84
79
|
rules: {
|
|
85
80
|
readonly type: PropType<unknown>;
|
|
86
81
|
readonly required: false;
|
|
@@ -247,7 +242,7 @@ export declare const props: {
|
|
|
247
242
|
};
|
|
248
243
|
autofocus: BooleanConstructor;
|
|
249
244
|
};
|
|
250
|
-
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<"
|
|
245
|
+
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<"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<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", 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<"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<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"inputmode", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", 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<"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<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", 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<"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<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2>]: T2[k]; }[P]; }>;
|
|
251
246
|
export declare const emits: {
|
|
252
247
|
"update:modelValue": (value: string) => boolean;
|
|
253
248
|
input: (value: string) => boolean;
|
|
@@ -56,6 +56,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
56
56
|
type: BooleanConstructor;
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
|
+
prop: any;
|
|
59
60
|
label: StringConstructor;
|
|
60
61
|
labelWidth: {
|
|
61
62
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -73,12 +74,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
73
74
|
} & {
|
|
74
75
|
readonly default: "";
|
|
75
76
|
};
|
|
76
|
-
prop: {
|
|
77
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
78
|
-
readonly required: false;
|
|
79
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
80
|
-
__epPropKey: true;
|
|
81
|
-
};
|
|
82
77
|
rules: {
|
|
83
78
|
readonly type: import("vue").PropType<unknown>;
|
|
84
79
|
readonly required: false;
|
|
@@ -349,6 +344,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
349
344
|
type: BooleanConstructor;
|
|
350
345
|
default: boolean;
|
|
351
346
|
};
|
|
347
|
+
prop: any;
|
|
352
348
|
label: StringConstructor;
|
|
353
349
|
labelWidth: {
|
|
354
350
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -366,12 +362,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
366
362
|
} & {
|
|
367
363
|
readonly default: "";
|
|
368
364
|
};
|
|
369
|
-
prop: {
|
|
370
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
371
|
-
readonly required: false;
|
|
372
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
373
|
-
__epPropKey: true;
|
|
374
|
-
};
|
|
375
365
|
rules: {
|
|
376
366
|
readonly type: import("vue").PropType<unknown>;
|
|
377
367
|
readonly required: false;
|
|
@@ -561,6 +551,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
561
551
|
formItemTipClass: any;
|
|
562
552
|
labelTip: string;
|
|
563
553
|
information: boolean;
|
|
554
|
+
prop: any;
|
|
564
555
|
labelWidth: string | number;
|
|
565
556
|
labelPosition: "" | "top" | "left" | "right";
|
|
566
557
|
inlineMessage: string | boolean;
|
|
@@ -7,7 +7,7 @@ export type InputSlots = {
|
|
|
7
7
|
prepend?: Func;
|
|
8
8
|
append?: Func;
|
|
9
9
|
};
|
|
10
|
-
export interface Source<P
|
|
11
|
-
prop?: P
|
|
10
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfInput>, BasicSource {
|
|
11
|
+
prop?: P;
|
|
12
12
|
templateType: 'VkfInput';
|
|
13
13
|
}
|
|
@@ -78,6 +78,7 @@ export declare const props: {
|
|
|
78
78
|
type: BooleanConstructor;
|
|
79
79
|
default: boolean;
|
|
80
80
|
};
|
|
81
|
+
prop: any;
|
|
81
82
|
label: StringConstructor;
|
|
82
83
|
labelWidth: {
|
|
83
84
|
readonly type: PropType<string | number>;
|
|
@@ -95,12 +96,6 @@ export declare const props: {
|
|
|
95
96
|
} & {
|
|
96
97
|
readonly default: "";
|
|
97
98
|
};
|
|
98
|
-
prop: {
|
|
99
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
100
|
-
readonly required: false;
|
|
101
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
102
|
-
__epPropKey: true;
|
|
103
|
-
};
|
|
104
99
|
rules: {
|
|
105
100
|
readonly type: PropType<unknown>;
|
|
106
101
|
readonly required: false;
|
|
@@ -67,6 +67,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
67
|
type: BooleanConstructor;
|
|
68
68
|
default: boolean;
|
|
69
69
|
};
|
|
70
|
+
prop: any;
|
|
70
71
|
label: StringConstructor;
|
|
71
72
|
labelWidth: {
|
|
72
73
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -84,12 +85,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
84
85
|
} & {
|
|
85
86
|
readonly default: "";
|
|
86
87
|
};
|
|
87
|
-
prop: {
|
|
88
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
89
|
-
readonly required: false;
|
|
90
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
|
-
__epPropKey: true;
|
|
92
|
-
};
|
|
93
88
|
rules: {
|
|
94
89
|
readonly type: import("vue").PropType<unknown>;
|
|
95
90
|
readonly required: false;
|
|
@@ -188,6 +183,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
188
183
|
type: BooleanConstructor;
|
|
189
184
|
default: boolean;
|
|
190
185
|
};
|
|
186
|
+
prop: any;
|
|
191
187
|
label: StringConstructor;
|
|
192
188
|
labelWidth: {
|
|
193
189
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -205,12 +201,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
205
201
|
} & {
|
|
206
202
|
readonly default: "";
|
|
207
203
|
};
|
|
208
|
-
prop: {
|
|
209
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
210
|
-
readonly required: false;
|
|
211
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
212
|
-
__epPropKey: true;
|
|
213
|
-
};
|
|
214
204
|
rules: {
|
|
215
205
|
readonly type: import("vue").PropType<unknown>;
|
|
216
206
|
readonly required: false;
|
|
@@ -1062,6 +1052,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1062
1052
|
type: BooleanConstructor;
|
|
1063
1053
|
default: boolean;
|
|
1064
1054
|
};
|
|
1055
|
+
prop: any;
|
|
1065
1056
|
label: StringConstructor;
|
|
1066
1057
|
labelWidth: {
|
|
1067
1058
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -1079,12 +1070,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1079
1070
|
} & {
|
|
1080
1071
|
readonly default: "";
|
|
1081
1072
|
};
|
|
1082
|
-
prop: {
|
|
1083
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
1084
|
-
readonly required: false;
|
|
1085
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1086
|
-
__epPropKey: true;
|
|
1087
|
-
};
|
|
1088
1073
|
rules: {
|
|
1089
1074
|
readonly type: import("vue").PropType<unknown>;
|
|
1090
1075
|
readonly required: false;
|
|
@@ -1127,6 +1112,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1127
1112
|
formItemTipClass: any;
|
|
1128
1113
|
labelTip: string;
|
|
1129
1114
|
information: boolean;
|
|
1115
|
+
prop: any;
|
|
1130
1116
|
labelWidth: string | number;
|
|
1131
1117
|
labelPosition: "" | "top" | "left" | "right";
|
|
1132
1118
|
inlineMessage: string | boolean;
|
|
@@ -5,8 +5,8 @@ import type { AnyFunc, Keyof, NormalObject, VueComponentPropsType } from '@vunk/
|
|
|
5
5
|
import type { TableColumnCtx } from 'element-plus';
|
|
6
6
|
import type Core from './index.vue';
|
|
7
7
|
import type { __VkfInformationCollection } from '@vunk/form/components/information-collection';
|
|
8
|
-
export interface Source<P
|
|
9
|
-
prop?: P
|
|
8
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof Core>, BasicSource {
|
|
9
|
+
prop?: P;
|
|
10
10
|
templateType: 'VkfInputCollection';
|
|
11
11
|
informationProps?: Partial<__VkfInformationCollection.ComponentProps>;
|
|
12
12
|
}
|
|
@@ -100,6 +100,7 @@ export declare const props: {
|
|
|
100
100
|
type: BooleanConstructor;
|
|
101
101
|
default: boolean;
|
|
102
102
|
};
|
|
103
|
+
prop: any;
|
|
103
104
|
labelWidth: {
|
|
104
105
|
readonly type: import("vue").PropType<string | number>;
|
|
105
106
|
readonly required: false;
|
|
@@ -116,12 +117,6 @@ export declare const props: {
|
|
|
116
117
|
} & {
|
|
117
118
|
readonly default: "";
|
|
118
119
|
};
|
|
119
|
-
prop: {
|
|
120
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
121
|
-
readonly required: false;
|
|
122
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
123
|
-
__epPropKey: true;
|
|
124
|
-
};
|
|
125
120
|
rules: {
|
|
126
121
|
readonly type: import("vue").PropType<unknown>;
|
|
127
122
|
readonly required: false;
|
|
@@ -89,6 +89,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
89
89
|
type: BooleanConstructor;
|
|
90
90
|
default: boolean;
|
|
91
91
|
};
|
|
92
|
+
prop: any;
|
|
92
93
|
labelWidth: {
|
|
93
94
|
readonly type: import("vue").PropType<string | number>;
|
|
94
95
|
readonly required: false;
|
|
@@ -105,12 +106,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
105
106
|
} & {
|
|
106
107
|
readonly default: "";
|
|
107
108
|
};
|
|
108
|
-
prop: {
|
|
109
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
110
|
-
readonly required: false;
|
|
111
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
-
__epPropKey: true;
|
|
113
|
-
};
|
|
114
109
|
rules: {
|
|
115
110
|
readonly type: import("vue").PropType<unknown>;
|
|
116
111
|
readonly required: false;
|
|
@@ -365,6 +360,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
365
360
|
type: BooleanConstructor;
|
|
366
361
|
default: boolean;
|
|
367
362
|
};
|
|
363
|
+
prop: any;
|
|
368
364
|
labelWidth: {
|
|
369
365
|
readonly type: import("vue").PropType<string | number>;
|
|
370
366
|
readonly required: false;
|
|
@@ -381,12 +377,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
381
377
|
} & {
|
|
382
378
|
readonly default: "";
|
|
383
379
|
};
|
|
384
|
-
prop: {
|
|
385
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
386
|
-
readonly required: false;
|
|
387
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
388
|
-
__epPropKey: true;
|
|
389
|
-
};
|
|
390
380
|
rules: {
|
|
391
381
|
readonly type: import("vue").PropType<unknown>;
|
|
392
382
|
readonly required: false;
|
|
@@ -554,6 +544,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
554
544
|
formItemTipClass: any;
|
|
555
545
|
labelTip: string;
|
|
556
546
|
information: boolean;
|
|
547
|
+
prop: any;
|
|
557
548
|
label: string;
|
|
558
549
|
labelWidth: string | number;
|
|
559
550
|
labelPosition: "" | "top" | "left" | "right";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VkfInputLink } from '@vunk/form/components/input-link';
|
|
2
2
|
import type { VueComponentPropsType } from '@vunk/core';
|
|
3
3
|
import { BasicSource } from '@vunk/form/shared';
|
|
4
|
-
export interface Source<P
|
|
4
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfInputLink>, BasicSource {
|
|
5
5
|
prop: P;
|
|
6
6
|
templateType: 'VkfInputLink';
|
|
7
7
|
}
|
|
@@ -145,6 +145,7 @@ export declare const props: {
|
|
|
145
145
|
type: BooleanConstructor;
|
|
146
146
|
default: boolean;
|
|
147
147
|
};
|
|
148
|
+
prop: any;
|
|
148
149
|
label: StringConstructor;
|
|
149
150
|
labelWidth: {
|
|
150
151
|
readonly type: PropType<string | number>;
|
|
@@ -162,12 +163,6 @@ export declare const props: {
|
|
|
162
163
|
} & {
|
|
163
164
|
readonly default: "";
|
|
164
165
|
};
|
|
165
|
-
prop: {
|
|
166
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
167
|
-
readonly required: false;
|
|
168
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
|
-
__epPropKey: true;
|
|
170
|
-
};
|
|
171
166
|
rules: {
|
|
172
167
|
readonly type: PropType<unknown>;
|
|
173
168
|
readonly required: false;
|
|
@@ -199,7 +194,7 @@ export declare const props: {
|
|
|
199
194
|
readonly default: true;
|
|
200
195
|
};
|
|
201
196
|
};
|
|
202
|
-
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<"
|
|
197
|
+
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<"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<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"precision", keyof T2> | Extract<"unit", keyof T2> | Extract<"inputNumberSlots", 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<"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<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"min", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"inputmode", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"step", keyof T2>, KE> | Exclude<Extract<"stepStrictly", keyof T2>, KE> | Exclude<Extract<"controls", keyof T2>, KE> | Exclude<Extract<"controlsPosition", keyof T2>, KE> | Exclude<Extract<"precision", keyof T2>, KE> | Exclude<Extract<"unit", keyof T2>, KE> | Exclude<Extract<"inputNumberSlots", 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<"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<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"precision", keyof T2> | Extract<"unit", keyof T2> | Extract<"inputNumberSlots", 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<"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<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"precision", keyof T2> | Extract<"unit", keyof T2> | Extract<"inputNumberSlots", keyof T2>]: T2[k]; }[P]; }>;
|
|
203
198
|
export declare const emits: {
|
|
204
199
|
change: (cur: number | undefined, prev: number | undefined) => boolean;
|
|
205
200
|
blur: (e: FocusEvent) => boolean;
|
|
@@ -143,6 +143,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
143
143
|
type: BooleanConstructor;
|
|
144
144
|
default: boolean;
|
|
145
145
|
};
|
|
146
|
+
prop: any;
|
|
146
147
|
label: StringConstructor;
|
|
147
148
|
labelWidth: {
|
|
148
149
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -160,12 +161,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
160
161
|
} & {
|
|
161
162
|
readonly default: "";
|
|
162
163
|
};
|
|
163
|
-
prop: {
|
|
164
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
165
|
-
readonly required: false;
|
|
166
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
167
|
-
__epPropKey: true;
|
|
168
|
-
};
|
|
169
164
|
rules: {
|
|
170
165
|
readonly type: import("vue").PropType<unknown>;
|
|
171
166
|
readonly required: false;
|
|
@@ -370,6 +365,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
370
365
|
type: BooleanConstructor;
|
|
371
366
|
default: boolean;
|
|
372
367
|
};
|
|
368
|
+
prop: any;
|
|
373
369
|
label: StringConstructor;
|
|
374
370
|
labelWidth: {
|
|
375
371
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -387,12 +383,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
387
383
|
} & {
|
|
388
384
|
readonly default: "";
|
|
389
385
|
};
|
|
390
|
-
prop: {
|
|
391
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
392
|
-
readonly required: false;
|
|
393
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
394
|
-
__epPropKey: true;
|
|
395
|
-
};
|
|
396
386
|
rules: {
|
|
397
387
|
readonly type: import("vue").PropType<unknown>;
|
|
398
388
|
readonly required: false;
|
|
@@ -439,6 +429,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
439
429
|
formItemTipClass: any;
|
|
440
430
|
labelTip: string;
|
|
441
431
|
information: boolean;
|
|
432
|
+
prop: any;
|
|
442
433
|
labelWidth: string | number;
|
|
443
434
|
labelPosition: "" | "top" | "left" | "right";
|
|
444
435
|
inlineMessage: string | boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BasicSource } from '@vunk/form/shared';
|
|
2
2
|
import { Func, VueComponentPropsType } from '@vunk/core';
|
|
3
3
|
import VkfInputNumber from './index.vue';
|
|
4
|
-
export interface Source<P
|
|
4
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfInputNumber>, BasicSource {
|
|
5
5
|
prop: P;
|
|
6
6
|
templateType: 'VkfInputNumber';
|
|
7
7
|
}
|
|
@@ -46,6 +46,7 @@ export declare const props: {
|
|
|
46
46
|
type: BooleanConstructor;
|
|
47
47
|
default: boolean;
|
|
48
48
|
};
|
|
49
|
+
prop: any;
|
|
49
50
|
label: StringConstructor;
|
|
50
51
|
labelWidth: {
|
|
51
52
|
readonly type: PropType<string | number>;
|
|
@@ -63,12 +64,6 @@ export declare const props: {
|
|
|
63
64
|
} & {
|
|
64
65
|
readonly default: "";
|
|
65
66
|
};
|
|
66
|
-
prop: {
|
|
67
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
68
|
-
readonly required: false;
|
|
69
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
|
-
__epPropKey: true;
|
|
71
|
-
};
|
|
72
67
|
rules: {
|
|
73
68
|
readonly type: PropType<unknown>;
|
|
74
69
|
readonly required: false;
|
|
@@ -209,7 +204,7 @@ export declare const props: {
|
|
|
209
204
|
};
|
|
210
205
|
ariaLabel: StringConstructor;
|
|
211
206
|
};
|
|
212
|
-
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<"
|
|
207
|
+
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<"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<"trigger", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"max", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"draggable", keyof T2> | Extract<"delimiter", keyof T2> | Extract<"saveOnBlur", keyof T2> | Extract<"inputTagSlots", 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<"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<"trigger", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"draggable", keyof T2>, KE> | Exclude<Extract<"delimiter", keyof T2>, KE> | Exclude<Extract<"saveOnBlur", keyof T2>, KE> | Exclude<Extract<"inputTagSlots", 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<"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<"trigger", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"max", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"draggable", keyof T2> | Extract<"delimiter", keyof T2> | Extract<"saveOnBlur", keyof T2> | Extract<"inputTagSlots", 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<"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<"trigger", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"max", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"draggable", keyof T2> | Extract<"delimiter", keyof T2> | Extract<"saveOnBlur", keyof T2> | Extract<"inputTagSlots", keyof T2>]: T2[k]; }[P]; }>;
|
|
213
208
|
export declare const emits: {
|
|
214
209
|
"update:modelValue": (value?: string[]) => boolean;
|
|
215
210
|
change: (value?: string[]) => boolean;
|
|
@@ -44,6 +44,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
44
44
|
type: BooleanConstructor;
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
|
+
prop: any;
|
|
47
48
|
label: StringConstructor;
|
|
48
49
|
labelWidth: {
|
|
49
50
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -61,12 +62,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
61
62
|
} & {
|
|
62
63
|
readonly default: "";
|
|
63
64
|
};
|
|
64
|
-
prop: {
|
|
65
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
66
|
-
readonly required: false;
|
|
67
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
-
__epPropKey: true;
|
|
69
|
-
};
|
|
70
65
|
rules: {
|
|
71
66
|
readonly type: import("vue").PropType<unknown>;
|
|
72
67
|
readonly required: false;
|
|
@@ -287,6 +282,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
287
282
|
type: BooleanConstructor;
|
|
288
283
|
default: boolean;
|
|
289
284
|
};
|
|
285
|
+
prop: any;
|
|
290
286
|
label: StringConstructor;
|
|
291
287
|
labelWidth: {
|
|
292
288
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -304,12 +300,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
304
300
|
} & {
|
|
305
301
|
readonly default: "";
|
|
306
302
|
};
|
|
307
|
-
prop: {
|
|
308
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
309
|
-
readonly required: false;
|
|
310
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
311
|
-
__epPropKey: true;
|
|
312
|
-
};
|
|
313
303
|
rules: {
|
|
314
304
|
readonly type: import("vue").PropType<unknown>;
|
|
315
305
|
readonly required: false;
|
|
@@ -468,6 +458,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
468
458
|
formItemTipClass: any;
|
|
469
459
|
labelTip: string;
|
|
470
460
|
information: boolean;
|
|
461
|
+
prop: any;
|
|
471
462
|
labelWidth: string | number;
|
|
472
463
|
labelPosition: "" | "top" | "left" | "right";
|
|
473
464
|
inlineMessage: string | boolean;
|
|
@@ -2,8 +2,8 @@ import { VueComponentPropsType } from '@vunk/shared';
|
|
|
2
2
|
import type Core from './index.vue';
|
|
3
3
|
import { BasicSource } from '@vunk/form/shared';
|
|
4
4
|
import { Func } from '@vunk/core';
|
|
5
|
-
export interface Source<P
|
|
6
|
-
prop?: P
|
|
5
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof Core>, BasicSource {
|
|
6
|
+
prop?: P;
|
|
7
7
|
templateType: 'VkfInputTag';
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
@@ -56,6 +56,7 @@ export declare const props: {
|
|
|
56
56
|
type: BooleanConstructor;
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
|
+
prop: any;
|
|
59
60
|
label: StringConstructor;
|
|
60
61
|
labelWidth: {
|
|
61
62
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -73,12 +74,6 @@ export declare const props: {
|
|
|
73
74
|
} & {
|
|
74
75
|
readonly default: "";
|
|
75
76
|
};
|
|
76
|
-
prop: {
|
|
77
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
78
|
-
readonly required: false;
|
|
79
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
80
|
-
__epPropKey: true;
|
|
81
|
-
};
|
|
82
77
|
rules: {
|
|
83
78
|
readonly type: import("vue").PropType<unknown>;
|
|
84
79
|
readonly required: false;
|