@vunk/form 2.14.18 → 2.14.19
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/button/src/ctx.d.ts +8 -1
- package/components/button/src/index.vue.d.ts +43 -8
- package/components/card-input-collection/src/core.vue.d.ts +30 -9
- package/components/cascader/src/ctx.d.ts +63 -6
- package/components/cascader/src/index.vue.d.ts +155 -10
- package/components/color-picker/src/ctx.d.ts +14 -0
- package/components/color-picker/src/index.vue.d.ts +29 -0
- package/components/date-picker/src/ctx.d.ts +46 -4
- package/components/date-picker/src/index.vue.d.ts +266 -27
- package/components/date-picker-range/src/ctx.d.ts +48 -6
- package/components/date-picker-range/src/index.vue.d.ts +98 -13
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +4696 -48
- package/components/dialog-input-collection/src/index.vue.d.ts +4723 -54
- package/components/download-plus/src/index.vue.d.ts +45 -6
- package/components/esri-input-geojson/src/append.vue.d.ts +27 -6
- package/components/esri-input-geojson/src/ctx.d.ts +7 -1
- package/components/esri-input-geojson/src/index.vue.d.ts +13 -0
- package/components/fieldset/index.cjs +1 -17
- package/components/fieldset/index.mjs +1 -17
- package/components/form/src/ctx.d.ts +1 -1
- package/components/form/src/index.vue.d.ts +2867 -22
- package/components/form-item/src/core.vue.d.ts +27 -6
- package/components/input/src/ctx.d.ts +7 -1
- package/components/input/src/index.vue.d.ts +31 -0
- package/components/input-array/src/form-template.vue.d.ts +27 -6
- package/components/input-array/src/index.vue.d.ts +27 -6
- package/components/input-collection/src/core.vue.d.ts +27 -6
- package/components/input-link/src/ctx.d.ts +6 -0
- package/components/input-link/src/index.vue.d.ts +12 -0
- package/components/input-number/src/ctx.d.ts +10 -1
- package/components/input-number/src/index.vue.d.ts +55 -0
- package/components/input-tag/src/ctx.d.ts +17 -1
- package/components/input-tag/src/index.vue.d.ts +103 -3
- package/components/select/src/core.vue.d.ts +2 -2
- package/components/select/src/ctx.d.ts +1 -1
- package/components/select/src/index.vue.d.ts +1 -1
- package/components/tables-select/src/index.vue.d.ts +108 -12
- package/components/upload/index.cjs +93 -35
- package/components/upload/index.css +3 -0
- package/components/upload/index.mjs +95 -37
- package/components/upload/src/ctx.d.ts +1 -4
- package/components/upload/src/file.vue.d.ts +427 -6
- package/components/upload/src/index.vue.d.ts +427 -12
- package/components/upload-plus/src/index.vue.d.ts +45 -6
- package/components/van-cascader/index.cjs +40 -43
- package/components/van-cascader/index.mjs +41 -44
- package/components/van-cascader/src/ctx.d.ts +62 -5
- package/components/van-cascader/src/index.vue.d.ts +825 -1681
- package/components/var-datetime-picker/src/index.vue.d.ts +159 -25
- package/index.css +3 -0
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +7 -7
- package/shared/element-plus/instances.d.ts +45 -3
- package/shared/progress-it/index.cjs +3 -1
|
@@ -453,7 +453,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
453
453
|
} & {
|
|
454
454
|
readonly default: undefined;
|
|
455
455
|
};
|
|
456
|
-
readonly text:
|
|
456
|
+
readonly text: {
|
|
457
|
+
readonly type: import("vue").PropType<boolean>;
|
|
458
|
+
readonly required: false;
|
|
459
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
460
|
+
__epPropKey: true;
|
|
461
|
+
} & {
|
|
462
|
+
readonly default: undefined;
|
|
463
|
+
};
|
|
457
464
|
readonly link: BooleanConstructor;
|
|
458
465
|
readonly bg: BooleanConstructor;
|
|
459
466
|
readonly autofocus: BooleanConstructor;
|
|
@@ -507,9 +514,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
507
514
|
readonly autofocus: boolean;
|
|
508
515
|
readonly tag: unknown;
|
|
509
516
|
readonly plain: boolean;
|
|
517
|
+
readonly autoInsertSpace: boolean;
|
|
510
518
|
readonly nativeType: "button" | "reset" | "submit";
|
|
511
519
|
readonly loadingIcon: unknown;
|
|
512
|
-
readonly autoInsertSpace: boolean;
|
|
513
520
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
514
521
|
P: {};
|
|
515
522
|
B: {};
|
|
@@ -564,7 +571,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
564
571
|
} & {
|
|
565
572
|
readonly default: undefined;
|
|
566
573
|
};
|
|
567
|
-
readonly text:
|
|
574
|
+
readonly text: {
|
|
575
|
+
readonly type: import("vue").PropType<boolean>;
|
|
576
|
+
readonly required: false;
|
|
577
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
578
|
+
__epPropKey: true;
|
|
579
|
+
} & {
|
|
580
|
+
readonly default: undefined;
|
|
581
|
+
};
|
|
568
582
|
readonly link: BooleanConstructor;
|
|
569
583
|
readonly bg: BooleanConstructor;
|
|
570
584
|
readonly autofocus: BooleanConstructor;
|
|
@@ -616,9 +630,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
616
630
|
readonly autofocus: boolean;
|
|
617
631
|
readonly tag: unknown;
|
|
618
632
|
readonly plain: boolean;
|
|
633
|
+
readonly autoInsertSpace: boolean;
|
|
619
634
|
readonly nativeType: "button" | "reset" | "submit";
|
|
620
635
|
readonly loadingIcon: unknown;
|
|
621
|
-
readonly autoInsertSpace: boolean;
|
|
622
636
|
}>;
|
|
623
637
|
__isFragment?: never;
|
|
624
638
|
__isTeleport?: never;
|
|
@@ -670,7 +684,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
670
684
|
} & {
|
|
671
685
|
readonly default: undefined;
|
|
672
686
|
};
|
|
673
|
-
readonly text:
|
|
687
|
+
readonly text: {
|
|
688
|
+
readonly type: import("vue").PropType<boolean>;
|
|
689
|
+
readonly required: false;
|
|
690
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
691
|
+
__epPropKey: true;
|
|
692
|
+
} & {
|
|
693
|
+
readonly default: undefined;
|
|
694
|
+
};
|
|
674
695
|
readonly link: BooleanConstructor;
|
|
675
696
|
readonly bg: BooleanConstructor;
|
|
676
697
|
readonly autofocus: BooleanConstructor;
|
|
@@ -724,9 +745,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
724
745
|
readonly autofocus: boolean;
|
|
725
746
|
readonly tag: unknown;
|
|
726
747
|
readonly plain: boolean;
|
|
748
|
+
readonly autoInsertSpace: boolean;
|
|
727
749
|
readonly nativeType: "button" | "reset" | "submit";
|
|
728
750
|
readonly loadingIcon: unknown;
|
|
729
|
-
readonly autoInsertSpace: boolean;
|
|
730
751
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
731
752
|
$slots: {
|
|
732
753
|
loading?(_: {}): any;
|
|
@@ -906,6 +927,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
906
927
|
};
|
|
907
928
|
readonly readonly: BooleanConstructor;
|
|
908
929
|
readonly clearable: BooleanConstructor;
|
|
930
|
+
readonly clearIcon: {
|
|
931
|
+
readonly type: import("vue").PropType<unknown>;
|
|
932
|
+
readonly required: false;
|
|
933
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
934
|
+
__epPropKey: true;
|
|
935
|
+
};
|
|
909
936
|
readonly showPassword: BooleanConstructor;
|
|
910
937
|
readonly showWordLimit: BooleanConstructor;
|
|
911
938
|
readonly suffixIcon: {
|
|
@@ -1126,6 +1153,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1126
1153
|
};
|
|
1127
1154
|
readonly readonly: BooleanConstructor;
|
|
1128
1155
|
readonly clearable: BooleanConstructor;
|
|
1156
|
+
readonly clearIcon: {
|
|
1157
|
+
readonly type: import("vue").PropType<unknown>;
|
|
1158
|
+
readonly required: false;
|
|
1159
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1160
|
+
__epPropKey: true;
|
|
1161
|
+
};
|
|
1129
1162
|
readonly showPassword: BooleanConstructor;
|
|
1130
1163
|
readonly showWordLimit: BooleanConstructor;
|
|
1131
1164
|
readonly suffixIcon: {
|
|
@@ -1330,6 +1363,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1330
1363
|
};
|
|
1331
1364
|
readonly readonly: BooleanConstructor;
|
|
1332
1365
|
readonly clearable: BooleanConstructor;
|
|
1366
|
+
readonly clearIcon: {
|
|
1367
|
+
readonly type: import("vue").PropType<unknown>;
|
|
1368
|
+
readonly required: false;
|
|
1369
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1370
|
+
__epPropKey: true;
|
|
1371
|
+
};
|
|
1333
1372
|
readonly showPassword: BooleanConstructor;
|
|
1334
1373
|
readonly showWordLimit: BooleanConstructor;
|
|
1335
1374
|
readonly suffixIcon: {
|
|
@@ -77,7 +77,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
77
77
|
} & {
|
|
78
78
|
readonly default: undefined;
|
|
79
79
|
};
|
|
80
|
-
readonly text:
|
|
80
|
+
readonly text: {
|
|
81
|
+
readonly type: import("vue").PropType<boolean>;
|
|
82
|
+
readonly required: false;
|
|
83
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
|
+
__epPropKey: true;
|
|
85
|
+
} & {
|
|
86
|
+
readonly default: undefined;
|
|
87
|
+
};
|
|
81
88
|
readonly link: BooleanConstructor;
|
|
82
89
|
readonly bg: BooleanConstructor;
|
|
83
90
|
readonly autofocus: BooleanConstructor;
|
|
@@ -131,9 +138,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
131
138
|
readonly autofocus: boolean;
|
|
132
139
|
readonly tag: unknown;
|
|
133
140
|
readonly plain: boolean;
|
|
141
|
+
readonly autoInsertSpace: boolean;
|
|
134
142
|
readonly nativeType: "button" | "reset" | "submit";
|
|
135
143
|
readonly loadingIcon: unknown;
|
|
136
|
-
readonly autoInsertSpace: boolean;
|
|
137
144
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
138
145
|
P: {};
|
|
139
146
|
B: {};
|
|
@@ -188,7 +195,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
188
195
|
} & {
|
|
189
196
|
readonly default: undefined;
|
|
190
197
|
};
|
|
191
|
-
readonly text:
|
|
198
|
+
readonly text: {
|
|
199
|
+
readonly type: import("vue").PropType<boolean>;
|
|
200
|
+
readonly required: false;
|
|
201
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
202
|
+
__epPropKey: true;
|
|
203
|
+
} & {
|
|
204
|
+
readonly default: undefined;
|
|
205
|
+
};
|
|
192
206
|
readonly link: BooleanConstructor;
|
|
193
207
|
readonly bg: BooleanConstructor;
|
|
194
208
|
readonly autofocus: BooleanConstructor;
|
|
@@ -240,9 +254,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
240
254
|
readonly autofocus: boolean;
|
|
241
255
|
readonly tag: unknown;
|
|
242
256
|
readonly plain: boolean;
|
|
257
|
+
readonly autoInsertSpace: boolean;
|
|
243
258
|
readonly nativeType: "button" | "reset" | "submit";
|
|
244
259
|
readonly loadingIcon: unknown;
|
|
245
|
-
readonly autoInsertSpace: boolean;
|
|
246
260
|
}>;
|
|
247
261
|
__isFragment?: never;
|
|
248
262
|
__isTeleport?: never;
|
|
@@ -294,7 +308,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
294
308
|
} & {
|
|
295
309
|
readonly default: undefined;
|
|
296
310
|
};
|
|
297
|
-
readonly text:
|
|
311
|
+
readonly text: {
|
|
312
|
+
readonly type: import("vue").PropType<boolean>;
|
|
313
|
+
readonly required: false;
|
|
314
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
315
|
+
__epPropKey: true;
|
|
316
|
+
} & {
|
|
317
|
+
readonly default: undefined;
|
|
318
|
+
};
|
|
298
319
|
readonly link: BooleanConstructor;
|
|
299
320
|
readonly bg: BooleanConstructor;
|
|
300
321
|
readonly autofocus: BooleanConstructor;
|
|
@@ -348,9 +369,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
348
369
|
readonly autofocus: boolean;
|
|
349
370
|
readonly tag: unknown;
|
|
350
371
|
readonly plain: boolean;
|
|
372
|
+
readonly autoInsertSpace: boolean;
|
|
351
373
|
readonly nativeType: "button" | "reset" | "submit";
|
|
352
374
|
readonly loadingIcon: unknown;
|
|
353
|
-
readonly autoInsertSpace: boolean;
|
|
354
375
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
355
376
|
$slots: {
|
|
356
377
|
loading?(_: {}): any;
|
|
@@ -254,6 +254,12 @@ export declare const props: {
|
|
|
254
254
|
__epPropKey: true;
|
|
255
255
|
};
|
|
256
256
|
clearable: BooleanConstructor;
|
|
257
|
+
clearIcon: {
|
|
258
|
+
readonly type: PropType<unknown>;
|
|
259
|
+
readonly required: false;
|
|
260
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
261
|
+
__epPropKey: true;
|
|
262
|
+
};
|
|
257
263
|
showPassword: BooleanConstructor;
|
|
258
264
|
showWordLimit: BooleanConstructor;
|
|
259
265
|
suffixIcon: {
|
|
@@ -302,7 +308,7 @@ export declare const props: {
|
|
|
302
308
|
};
|
|
303
309
|
autofocus: BooleanConstructor;
|
|
304
310
|
};
|
|
305
|
-
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<"multiple", 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> | Extract<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", 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<"multiple", 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> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> | Exclude<Extract<"dialogEdit", keyof T2>, KE> | Exclude<Extract<"dialogEditFullscreen", keyof T2>, KE> | Exclude<Extract<"dialogEditTitle", keyof T2>, KE> | Exclude<Extract<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", 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<"multiple", 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> | Extract<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", 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<"multiple", 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> | Extract<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
|
|
311
|
+
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<"multiple", 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<"clearIcon", 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> | Extract<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", 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<"multiple", 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<"clearIcon", 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> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> | Exclude<Extract<"dialogEdit", keyof T2>, KE> | Exclude<Extract<"dialogEditFullscreen", keyof T2>, KE> | Exclude<Extract<"dialogEditTitle", keyof T2>, KE> | Exclude<Extract<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", 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<"multiple", 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<"clearIcon", 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> | Extract<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", 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<"multiple", 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<"clearIcon", 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> | Extract<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
|
|
306
312
|
export declare const emits: {
|
|
307
313
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, {
|
|
308
314
|
[name: string]: any;
|
|
@@ -254,6 +254,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
254
254
|
__epPropKey: true;
|
|
255
255
|
};
|
|
256
256
|
clearable: BooleanConstructor;
|
|
257
|
+
clearIcon: {
|
|
258
|
+
readonly type: import("vue").PropType<unknown>;
|
|
259
|
+
readonly required: false;
|
|
260
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
261
|
+
__epPropKey: true;
|
|
262
|
+
};
|
|
257
263
|
showPassword: BooleanConstructor;
|
|
258
264
|
showWordLimit: BooleanConstructor;
|
|
259
265
|
suffixIcon: {
|
|
@@ -341,6 +347,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
341
347
|
autocomplete: string;
|
|
342
348
|
parser: Function;
|
|
343
349
|
form: string;
|
|
350
|
+
clearIcon: unknown;
|
|
344
351
|
showPassword: boolean;
|
|
345
352
|
showWordLimit: boolean;
|
|
346
353
|
suffixIcon: unknown;
|
|
@@ -655,6 +662,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
655
662
|
__epPropKey: true;
|
|
656
663
|
};
|
|
657
664
|
clearable: BooleanConstructor;
|
|
665
|
+
clearIcon: {
|
|
666
|
+
readonly type: import("vue").PropType<unknown>;
|
|
667
|
+
readonly required: false;
|
|
668
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
669
|
+
__epPropKey: true;
|
|
670
|
+
};
|
|
658
671
|
showPassword: BooleanConstructor;
|
|
659
672
|
showWordLimit: BooleanConstructor;
|
|
660
673
|
suffixIcon: {
|
|
@@ -23,20 +23,6 @@ const props = {
|
|
|
23
23
|
};
|
|
24
24
|
const emits = {};
|
|
25
25
|
|
|
26
|
-
class ElementPlusError extends Error {
|
|
27
|
-
constructor(m) {
|
|
28
|
-
super(m);
|
|
29
|
-
this.name = "ElementPlusError";
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
function debugWarn(scope, message) {
|
|
33
|
-
if (process.env.NODE_ENV !== "production") {
|
|
34
|
-
const error = new ElementPlusError(`[${scope}] ${message}`) ;
|
|
35
|
-
console.warn(error);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const SCOPE = "ElForm";
|
|
40
26
|
function useFormLabelWidth() {
|
|
41
27
|
const potentialLabelWidthArr = vue.ref([]);
|
|
42
28
|
const autoLabelWidth = vue.computed(() => {
|
|
@@ -47,9 +33,7 @@ function useFormLabelWidth() {
|
|
|
47
33
|
});
|
|
48
34
|
function getLabelWidthIndex(width) {
|
|
49
35
|
const index = potentialLabelWidthArr.value.indexOf(width);
|
|
50
|
-
if (index === -1 && autoLabelWidth.value === "0")
|
|
51
|
-
debugWarn(SCOPE, `unexpected width ${width}`);
|
|
52
|
-
}
|
|
36
|
+
if (index === -1 && autoLabelWidth.value === "0") ;
|
|
53
37
|
return index;
|
|
54
38
|
}
|
|
55
39
|
function registerLabelWidth(val, oldVal) {
|
|
@@ -19,20 +19,6 @@ const props = {
|
|
|
19
19
|
};
|
|
20
20
|
const emits = {};
|
|
21
21
|
|
|
22
|
-
class ElementPlusError extends Error {
|
|
23
|
-
constructor(m) {
|
|
24
|
-
super(m);
|
|
25
|
-
this.name = "ElementPlusError";
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function debugWarn(scope, message) {
|
|
29
|
-
if (process.env.NODE_ENV !== "production") {
|
|
30
|
-
const error = new ElementPlusError(`[${scope}] ${message}`) ;
|
|
31
|
-
console.warn(error);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
const SCOPE = "ElForm";
|
|
36
22
|
function useFormLabelWidth() {
|
|
37
23
|
const potentialLabelWidthArr = ref([]);
|
|
38
24
|
const autoLabelWidth = computed(() => {
|
|
@@ -43,9 +29,7 @@ function useFormLabelWidth() {
|
|
|
43
29
|
});
|
|
44
30
|
function getLabelWidthIndex(width) {
|
|
45
31
|
const index = potentialLabelWidthArr.value.indexOf(width);
|
|
46
|
-
if (index === -1 && autoLabelWidth.value === "0")
|
|
47
|
-
debugWarn(SCOPE, `unexpected width ${width}`);
|
|
48
|
-
}
|
|
32
|
+
if (index === -1 && autoLabelWidth.value === "0") ;
|
|
49
33
|
return index;
|
|
50
34
|
}
|
|
51
35
|
function registerLabelWidth(val, oldVal) {
|
|
@@ -111,7 +111,7 @@ export declare const props: {
|
|
|
111
111
|
hideRequiredAsterisk: BooleanConstructor;
|
|
112
112
|
scrollToError: BooleanConstructor;
|
|
113
113
|
scrollIntoViewOptions: {
|
|
114
|
-
readonly type: PropType<
|
|
114
|
+
readonly type: PropType<unknown>;
|
|
115
115
|
readonly required: false;
|
|
116
116
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
117
117
|
__epPropKey: true;
|