@vunk/form 0.0.1-alpha.16 → 0.0.1-alpha.17
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/color-picker/index.d.ts +4 -0
- package/components/color-picker/index.js +72 -0
- package/components/color-picker/src/ctx.d.ts +66 -0
- package/components/color-picker/src/ctx.js +23 -0
- package/components/color-picker/src/index.vue.d.ts +176 -0
- package/components/color-picker/src/types.d.ts +1 -0
- package/components/color-picker/src/types.js +1 -0
- package/components/date-picker/src/index.vue.d.ts +4 -4
- package/components/form/src/ctx.d.ts +12 -12
- package/components/form/src/index.vue.d.ts +36 -36
- package/components/form-item-renderer/src/index.vue.d.ts +1 -1
- package/components/form-item-renderer-template-default/index.js +18 -2
- package/components/input/src/ctx.d.ts +3 -3
- package/components/input/src/index.vue.d.ts +17 -17
- package/components/input-number/src/index.vue.d.ts +5 -5
- package/components/select/src/index.vue.d.ts +3 -3
- package/components/switch/src/index.vue.d.ts +2 -2
- package/components/upload/src/ctx.d.ts +1 -1
- package/components/upload/src/file.vue.d.ts +3 -3
- package/components/upload/src/index.vue.d.ts +6 -6
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +22 -16
- package/shared/element-plus/index.js +42 -2
- package/shared/element-plus/instances.d.ts +30 -0
- package/shared/types/renderer-source/color-picker.d.ts +7 -0
- package/shared/types/renderer-source/index.d.ts +3 -1
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
$data: {};
|
|
14
14
|
$props: Partial<{
|
|
15
15
|
readonly disabled: boolean;
|
|
16
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
16
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
17
17
|
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
18
18
|
readonly labelSuffix: string;
|
|
19
19
|
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
32
32
|
__epPropKey: true;
|
|
33
33
|
};
|
|
34
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
34
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
35
35
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
36
36
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
37
37
|
readonly inline: BooleanConstructor;
|
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
readonly scrollToError: BooleanConstructor;
|
|
51
51
|
}>> & {
|
|
52
52
|
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
53
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelWidth" | "inlineMessage" | "showMessage" | "disabled" | "
|
|
53
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelWidth" | "inlineMessage" | "showMessage" | "disabled" | "inline" | "labelPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
54
54
|
$attrs: {
|
|
55
55
|
[x: string]: unknown;
|
|
56
56
|
};
|
|
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
72
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
73
73
|
__epPropKey: true;
|
|
74
74
|
};
|
|
75
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
75
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
76
76
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
77
77
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
78
78
|
readonly inline: BooleanConstructor;
|
|
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
102
102
|
__epPropKey: true;
|
|
103
103
|
};
|
|
104
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
104
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
105
105
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
106
106
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
107
107
|
readonly inline: BooleanConstructor;
|
|
@@ -143,7 +143,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
143
|
cssVarBlockName: (name: string) => string;
|
|
144
144
|
};
|
|
145
145
|
formClasses: import("vue").ComputedRef<(string | {
|
|
146
|
-
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
146
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
147
147
|
})[]>;
|
|
148
148
|
addField: (field: import("element-plus").FormItemContext) => void;
|
|
149
149
|
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
@@ -159,7 +159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
159
|
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
160
160
|
}, string, {
|
|
161
161
|
readonly disabled: boolean;
|
|
162
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
162
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
163
163
|
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
164
164
|
readonly labelSuffix: string;
|
|
165
165
|
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -197,7 +197,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
197
197
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
198
198
|
__epPropKey: true;
|
|
199
199
|
};
|
|
200
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
200
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
201
201
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
202
202
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
203
203
|
readonly inline: BooleanConstructor;
|
|
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
226
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
227
227
|
__epPropKey: true;
|
|
228
228
|
};
|
|
229
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
229
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
230
230
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
231
231
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
232
232
|
readonly inline: BooleanConstructor;
|
|
@@ -268,7 +268,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
268
268
|
cssVarBlockName: (name: string) => string;
|
|
269
269
|
};
|
|
270
270
|
formClasses: import("vue").ComputedRef<(string | {
|
|
271
|
-
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
271
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
272
272
|
})[]>;
|
|
273
273
|
addField: (field: import("element-plus").FormItemContext) => void;
|
|
274
274
|
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
@@ -290,7 +290,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
290
290
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
291
291
|
__epPropKey: true;
|
|
292
292
|
};
|
|
293
|
-
labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
293
|
+
labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
294
294
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
295
295
|
labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
296
296
|
inline: BooleanConstructor;
|
|
@@ -315,9 +315,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
315
315
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
316
316
|
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
317
317
|
disabled: boolean;
|
|
318
|
-
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
319
|
-
labelSuffix: string;
|
|
320
318
|
inline: boolean;
|
|
319
|
+
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
320
|
+
labelSuffix: string;
|
|
321
321
|
statusIcon: boolean;
|
|
322
322
|
validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
323
323
|
hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -345,7 +345,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
345
345
|
$data: {};
|
|
346
346
|
$props: Partial<{
|
|
347
347
|
readonly disabled: boolean;
|
|
348
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
348
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
349
349
|
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
350
350
|
readonly labelSuffix: string;
|
|
351
351
|
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -363,7 +363,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
363
363
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
364
364
|
__epPropKey: true;
|
|
365
365
|
};
|
|
366
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
366
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
367
367
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
368
368
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
369
369
|
readonly inline: BooleanConstructor;
|
|
@@ -382,7 +382,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
382
382
|
readonly scrollToError: BooleanConstructor;
|
|
383
383
|
}>> & {
|
|
384
384
|
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
385
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelWidth" | "inlineMessage" | "showMessage" | "disabled" | "
|
|
385
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelWidth" | "inlineMessage" | "showMessage" | "disabled" | "inline" | "labelPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
386
386
|
$attrs: {
|
|
387
387
|
[x: string]: unknown;
|
|
388
388
|
};
|
|
@@ -404,7 +404,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
404
404
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
405
405
|
__epPropKey: true;
|
|
406
406
|
};
|
|
407
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
407
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
408
408
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
409
409
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
410
410
|
readonly inline: BooleanConstructor;
|
|
@@ -433,7 +433,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
433
433
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
434
434
|
__epPropKey: true;
|
|
435
435
|
};
|
|
436
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
436
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
437
437
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
438
438
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
439
439
|
readonly inline: BooleanConstructor;
|
|
@@ -475,7 +475,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
475
475
|
cssVarBlockName: (name: string) => string;
|
|
476
476
|
};
|
|
477
477
|
formClasses: import("vue").ComputedRef<(string | {
|
|
478
|
-
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
478
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
479
479
|
})[]>;
|
|
480
480
|
addField: (field: import("element-plus").FormItemContext) => void;
|
|
481
481
|
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
@@ -491,7 +491,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
491
491
|
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
492
492
|
}, string, {
|
|
493
493
|
readonly disabled: boolean;
|
|
494
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
494
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
495
495
|
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
496
496
|
readonly labelSuffix: string;
|
|
497
497
|
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -529,7 +529,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
529
529
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
530
530
|
__epPropKey: true;
|
|
531
531
|
};
|
|
532
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
532
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
533
533
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
534
534
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
535
535
|
readonly inline: BooleanConstructor;
|
|
@@ -558,7 +558,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
558
558
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
559
559
|
__epPropKey: true;
|
|
560
560
|
};
|
|
561
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
561
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
562
562
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
563
563
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
564
564
|
readonly inline: BooleanConstructor;
|
|
@@ -600,7 +600,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
600
600
|
cssVarBlockName: (name: string) => string;
|
|
601
601
|
};
|
|
602
602
|
formClasses: import("vue").ComputedRef<(string | {
|
|
603
|
-
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
603
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
604
604
|
})[]>;
|
|
605
605
|
addField: (field: import("element-plus").FormItemContext) => void;
|
|
606
606
|
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
@@ -622,7 +622,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
622
622
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
623
623
|
__epPropKey: true;
|
|
624
624
|
};
|
|
625
|
-
labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
625
|
+
labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
626
626
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
627
627
|
labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
628
628
|
inline: BooleanConstructor;
|
|
@@ -651,7 +651,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
651
651
|
$data: {};
|
|
652
652
|
$props: Partial<{
|
|
653
653
|
readonly disabled: boolean;
|
|
654
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
654
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
655
655
|
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
656
656
|
readonly labelSuffix: string;
|
|
657
657
|
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -669,7 +669,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
669
669
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
670
670
|
__epPropKey: true;
|
|
671
671
|
};
|
|
672
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
672
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
673
673
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
674
674
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
675
675
|
readonly inline: BooleanConstructor;
|
|
@@ -688,7 +688,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
688
688
|
readonly scrollToError: BooleanConstructor;
|
|
689
689
|
}>> & {
|
|
690
690
|
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
691
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelWidth" | "inlineMessage" | "showMessage" | "disabled" | "
|
|
691
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelWidth" | "inlineMessage" | "showMessage" | "disabled" | "inline" | "labelPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
692
692
|
$attrs: {
|
|
693
693
|
[x: string]: unknown;
|
|
694
694
|
};
|
|
@@ -710,7 +710,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
710
710
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
711
711
|
__epPropKey: true;
|
|
712
712
|
};
|
|
713
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
713
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
714
714
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
715
715
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
716
716
|
readonly inline: BooleanConstructor;
|
|
@@ -739,7 +739,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
739
739
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
740
740
|
__epPropKey: true;
|
|
741
741
|
};
|
|
742
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
742
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
743
743
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
744
744
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
745
745
|
readonly inline: BooleanConstructor;
|
|
@@ -781,7 +781,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
781
781
|
cssVarBlockName: (name: string) => string;
|
|
782
782
|
};
|
|
783
783
|
formClasses: import("vue").ComputedRef<(string | {
|
|
784
|
-
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
784
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
785
785
|
})[]>;
|
|
786
786
|
addField: (field: import("element-plus").FormItemContext) => void;
|
|
787
787
|
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
@@ -797,7 +797,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
797
797
|
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
798
798
|
}, string, {
|
|
799
799
|
readonly disabled: boolean;
|
|
800
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
800
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
801
801
|
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
802
802
|
readonly labelSuffix: string;
|
|
803
803
|
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -835,7 +835,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
835
835
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
836
836
|
__epPropKey: true;
|
|
837
837
|
};
|
|
838
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
838
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
839
839
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
840
840
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
841
841
|
readonly inline: BooleanConstructor;
|
|
@@ -864,7 +864,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
864
864
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
865
865
|
__epPropKey: true;
|
|
866
866
|
};
|
|
867
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
867
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
868
868
|
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
869
869
|
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
870
870
|
readonly inline: BooleanConstructor;
|
|
@@ -906,7 +906,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
906
906
|
cssVarBlockName: (name: string) => string;
|
|
907
907
|
};
|
|
908
908
|
formClasses: import("vue").ComputedRef<(string | {
|
|
909
|
-
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
909
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
910
910
|
})[]>;
|
|
911
911
|
addField: (field: import("element-plus").FormItemContext) => void;
|
|
912
912
|
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
@@ -921,9 +921,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
921
921
|
}> & {} & import("vue").ComponentCustomProperties) => any;
|
|
922
922
|
data: Record<string, any>;
|
|
923
923
|
disabled: boolean;
|
|
924
|
-
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
925
|
-
labelSuffix: string;
|
|
926
924
|
inline: boolean;
|
|
925
|
+
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
926
|
+
labelSuffix: string;
|
|
927
927
|
statusIcon: boolean;
|
|
928
928
|
validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
929
929
|
hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -31,8 +31,8 @@ declare const VkfFormItemRenderer: import("vue").DefineComponent<{
|
|
|
31
31
|
default: () => never[];
|
|
32
32
|
};
|
|
33
33
|
}>>, {
|
|
34
|
-
templateInstances: Record<string, ComponentInternalInstance>;
|
|
35
34
|
source: RendererTreeData[];
|
|
35
|
+
templateInstances: Record<string, ComponentInternalInstance>;
|
|
36
36
|
k: (string | number)[];
|
|
37
37
|
}>;
|
|
38
38
|
export default VkfFormItemRenderer;
|
|
@@ -10,6 +10,7 @@ import { VkfInputNumber } from '@vunk/form/components/input-number';
|
|
|
10
10
|
import { VkfRadio } from '@vunk/form/components/radio';
|
|
11
11
|
import { VkfCheckbox } from '@vunk/form/components/checkbox';
|
|
12
12
|
import { VkfUpload } from '@vunk/form/components/upload';
|
|
13
|
+
import { VkfColorPicker } from '@vunk/form/components/color-picker';
|
|
13
14
|
|
|
14
15
|
const props = {
|
|
15
16
|
data: {
|
|
@@ -32,7 +33,8 @@ var script = defineComponent({
|
|
|
32
33
|
VkfInputNumber,
|
|
33
34
|
VkfRadio,
|
|
34
35
|
VkfCheckbox,
|
|
35
|
-
VkfUpload
|
|
36
|
+
VkfUpload,
|
|
37
|
+
VkfColorPicker
|
|
36
38
|
},
|
|
37
39
|
emits,
|
|
38
40
|
props,
|
|
@@ -45,8 +47,9 @@ var script = defineComponent({
|
|
|
45
47
|
});
|
|
46
48
|
|
|
47
49
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
48
|
-
const
|
|
50
|
+
const _component_VkfColorPicker = resolveComponent("VkfColorPicker");
|
|
49
51
|
const _component_VkfFormItemRendererTemplate = resolveComponent("VkfFormItemRendererTemplate");
|
|
52
|
+
const _component_VkfUpload = resolveComponent("VkfUpload");
|
|
50
53
|
const _component_VkfCheckbox = resolveComponent("VkfCheckbox");
|
|
51
54
|
const _component_VkfRadio = resolveComponent("VkfRadio");
|
|
52
55
|
const _component_VkfInput = resolveComponent("VkfInput");
|
|
@@ -55,6 +58,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
55
58
|
const _component_VkfDatePicker = resolveComponent("VkfDatePicker");
|
|
56
59
|
const _component_VkfInputNumber = resolveComponent("VkfInputNumber");
|
|
57
60
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
61
|
+
createVNode(_component_VkfFormItemRendererTemplate, { type: "VkfColorPicker" }, {
|
|
62
|
+
default: withCtx(({ data: sourceData, templateIf }) => [
|
|
63
|
+
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfColorPicker, mergeProps({
|
|
64
|
+
key: 0,
|
|
65
|
+
modelValue: _ctx.getValue(_ctx.data, sourceData.prop),
|
|
66
|
+
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
67
|
+
k: sourceData.prop,
|
|
68
|
+
v: $event
|
|
69
|
+
})
|
|
70
|
+
}, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
}),
|
|
58
74
|
createVNode(_component_VkfFormItemRendererTemplate, { type: "VkfUpload" }, {
|
|
59
75
|
default: withCtx(({ data: sourceData, templateIf }) => [
|
|
60
76
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfUpload, mergeProps({
|
|
@@ -28,7 +28,7 @@ export declare const props: {
|
|
|
28
28
|
modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
29
29
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
30
30
|
resize: {
|
|
31
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
31
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
32
32
|
readonly required: false;
|
|
33
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
34
|
__epPropKey: true;
|
|
@@ -102,7 +102,7 @@ export declare const props: {
|
|
|
102
102
|
required: boolean;
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"
|
|
105
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", 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<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"inputStyle", 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> : Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: T2[k]; }[P]; }>;
|
|
106
106
|
export declare const emits: {
|
|
107
107
|
"update:modelValue": (value: string) => boolean;
|
|
108
108
|
input: (value: string) => boolean;
|
|
@@ -117,7 +117,7 @@ export declare const emits: {
|
|
|
117
117
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
118
118
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
119
119
|
};
|
|
120
|
-
export declare const createOnEmits: <T2 extends AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "
|
|
120
|
+
export declare const createOnEmits: <T2 extends AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "input" | "blur" | "compositionend" | "compositionstart" | "compositionupdate" | "keydown" | "mouseenter" | "mouseleave" | "clear")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"input", KE> | Exclude<"blur", KE> | Exclude<"compositionend", KE> | Exclude<"compositionstart", KE> | Exclude<"compositionupdate", KE> | Exclude<"keydown", KE> | Exclude<"mouseenter", KE> | Exclude<"mouseleave", KE> | Exclude<"clear", KE> : "update:modelValue" | "change" | "focus" | "input" | "blur" | "compositionend" | "compositionstart" | "compositionupdate" | "keydown" | "mouseenter" | "mouseleave" | "clear"]: {
|
|
121
121
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
122
122
|
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
123
123
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
27
27
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
28
28
|
resize: {
|
|
29
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
29
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
30
30
|
readonly required: false;
|
|
31
31
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
32
32
|
__epPropKey: true;
|
|
@@ -109,16 +109,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
111
111
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
112
|
+
form: string;
|
|
113
|
+
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
|
112
114
|
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
113
115
|
prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
114
116
|
readonly: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
115
117
|
placeholder: string | undefined;
|
|
116
|
-
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "none" | "both" | "horizontal", unknown> | undefined;
|
|
117
118
|
autosize: import("element-plus").InputAutoSize;
|
|
118
119
|
autocomplete: string;
|
|
119
120
|
formatter: Function | undefined;
|
|
120
121
|
parser: Function | undefined;
|
|
121
|
-
form: string;
|
|
122
122
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
123
123
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
124
124
|
suffixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
@@ -141,18 +141,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
141
|
elRef: any;
|
|
142
142
|
}>;
|
|
143
143
|
inputOnEmits: {
|
|
144
|
-
"update:modelValue": (
|
|
145
|
-
change: (
|
|
146
|
-
focus: (
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
144
|
+
"update:modelValue": () => void;
|
|
145
|
+
change: () => void;
|
|
146
|
+
focus: () => void;
|
|
147
|
+
input: () => void;
|
|
148
|
+
blur: () => void;
|
|
149
|
+
compositionend: () => void;
|
|
150
|
+
compositionstart: () => void;
|
|
151
|
+
compositionupdate: () => void;
|
|
152
|
+
keydown: () => void;
|
|
153
|
+
mouseenter: () => void;
|
|
154
|
+
mouseleave: () => void;
|
|
155
|
+
clear: () => void;
|
|
156
156
|
};
|
|
157
157
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
158
158
|
"update:modelValue": (value: string) => boolean;
|
|
@@ -195,7 +195,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
195
195
|
modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
196
196
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
197
197
|
resize: {
|
|
198
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
198
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
199
199
|
readonly required: false;
|
|
200
200
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
201
201
|
__epPropKey: true;
|
|
@@ -295,12 +295,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
295
295
|
id: string;
|
|
296
296
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
297
297
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
298
|
+
form: string;
|
|
298
299
|
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
299
300
|
prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
300
301
|
readonly: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
301
302
|
autosize: import("element-plus").InputAutoSize;
|
|
302
303
|
autocomplete: string;
|
|
303
|
-
form: string;
|
|
304
304
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
305
305
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
306
306
|
suffixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
@@ -96,11 +96,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
precision: number | undefined;
|
|
97
97
|
}>;
|
|
98
98
|
iOnEmits: {
|
|
99
|
-
"update:modelValue": (
|
|
100
|
-
change: (
|
|
101
|
-
focus: (
|
|
102
|
-
|
|
103
|
-
|
|
99
|
+
"update:modelValue": (e: FocusEvent) => void;
|
|
100
|
+
change: (e: FocusEvent) => void;
|
|
101
|
+
focus: (e: FocusEvent) => void;
|
|
102
|
+
input: (e: FocusEvent) => void;
|
|
103
|
+
blur: (e: FocusEvent) => void;
|
|
104
104
|
};
|
|
105
105
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
106
106
|
change: (prev: number | undefined, cur: number | undefined) => boolean;
|
|
@@ -204,6 +204,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
204
204
|
modelValue: string | number | boolean | Record<string, any> | unknown[] | undefined;
|
|
205
205
|
disabled: boolean;
|
|
206
206
|
id: string | undefined;
|
|
207
|
+
multiple: boolean;
|
|
207
208
|
popperClass: string;
|
|
208
209
|
clearable: boolean;
|
|
209
210
|
clearIcon: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
@@ -221,7 +222,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
221
222
|
noDataText: string | undefined;
|
|
222
223
|
remoteMethod: Function | undefined;
|
|
223
224
|
filterMethod: Function | undefined;
|
|
224
|
-
multiple: boolean;
|
|
225
225
|
multipleLimit: number;
|
|
226
226
|
defaultFirstOption: boolean;
|
|
227
227
|
reserveKeyword: boolean;
|
|
@@ -238,8 +238,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
238
238
|
change: (...e: any[]) => void;
|
|
239
239
|
focus: (...e: any[]) => void;
|
|
240
240
|
blur: (...e: any[]) => void;
|
|
241
|
-
"visible-change": (...e: any[]) => void;
|
|
242
241
|
clear: (...e: any[]) => void;
|
|
242
|
+
"visible-change": (...e: any[]) => void;
|
|
243
243
|
"remove-tag": (...e: any[]) => void;
|
|
244
244
|
};
|
|
245
245
|
selectOptions: import("vue").ComputedRef<(import("@vunk/core").VueComponentPropsType<import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
@@ -574,6 +574,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
574
574
|
disabled: boolean;
|
|
575
575
|
created: boolean;
|
|
576
576
|
}>>>[];
|
|
577
|
+
multiple: boolean;
|
|
577
578
|
popperClass: string;
|
|
578
579
|
clearable: boolean;
|
|
579
580
|
clearIcon: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
@@ -585,7 +586,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
585
586
|
filterable: boolean;
|
|
586
587
|
allowCreate: boolean;
|
|
587
588
|
remote: boolean;
|
|
588
|
-
multiple: boolean;
|
|
589
589
|
multipleLimit: number;
|
|
590
590
|
defaultFirstOption: boolean;
|
|
591
591
|
reserveKeyword: boolean;
|