@vunk/form 2.10.0 → 2.10.3
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/index.cjs +37 -36
- package/components/api-tables-select/index.mjs +37 -36
- package/components/api-tables-select/src/ctx.d.ts +48 -13
- package/components/api-tables-select/src/index.vue.d.ts +568 -80
- package/components/button/src/ctx.d.ts +101 -17
- package/components/button/src/index.vue.d.ts +437 -101
- package/components/card-input-collection/index.cjs +67 -70
- package/components/card-input-collection/index.mjs +68 -71
- package/components/card-input-collection/src/ctx.d.ts +43 -8
- package/components/card-input-collection/src/index.vue.d.ts +718 -226
- package/components/cascader/src/ctx.d.ts +192 -46
- package/components/cascader/src/index.vue.d.ts +393 -118
- package/components/checkbox/index.cjs +2 -3
- package/components/checkbox/index.mjs +2 -3
- package/components/checkbox/src/ctx.d.ts +65 -13
- package/components/checkbox/src/index.vue.d.ts +339 -115
- package/components/color-picker/src/ctx.d.ts +76 -13
- package/components/color-picker/src/index.vue.d.ts +160 -34
- package/components/date-picker/src/ctx.d.ts +185 -36
- package/components/date-picker/src/index.vue.d.ts +974 -202
- package/components/date-picker-range/src/ctx.d.ts +168 -35
- package/components/date-picker-range/src/index.vue.d.ts +347 -82
- package/components/download-plus/index.cjs +4 -4
- package/components/download-plus/index.mjs +4 -4
- package/components/download-plus/src/ctx.d.ts +43 -8
- package/components/download-plus/src/index.vue.d.ts +618 -165
- package/components/editable-text/index.cjs +29 -15
- package/components/editable-text/index.mjs +29 -15
- package/components/editable-text/src/ctx.d.ts +51 -8
- package/components/editable-text/src/index.vue.d.ts +2827 -251
- package/components/esri-input-geojson/src/append.vue.d.ts +769 -418
- package/components/esri-input-geojson/src/ctx.d.ts +133 -32
- package/components/esri-input-geojson/src/index.vue.d.ts +262 -92
- package/components/esri-input-geojson/src/viewer.vue.d.ts +1 -1
- package/components/form/src/ctx.d.ts +59 -11
- package/components/form/src/index.vue.d.ts +3456 -186
- package/components/form-item/src/ctx.d.ts +45 -10
- package/components/form-item/src/index.vue.d.ts +484 -141
- package/components/information-collection/src/ctx.d.ts +45 -10
- package/components/information-collection/src/index.vue.d.ts +96 -26
- package/components/information-tag/src/ctx.d.ts +17 -3
- package/components/information-tag/src/index.vue.d.ts +38 -10
- package/components/input/src/ctx.d.ts +138 -33
- package/components/input/src/index.vue.d.ts +528 -152
- package/components/input-collection/index.cjs +105 -74
- package/components/input-collection/index.mjs +107 -76
- package/components/input-collection/src/ctx.d.ts +43 -8
- package/components/input-collection/src/index.vue.d.ts +756 -793
- package/components/input-link/src/ctx.d.ts +103 -25
- package/components/input-link/src/index.vue.d.ts +219 -63
- package/components/input-number/src/ctx.d.ts +123 -21
- package/components/input-number/src/index.vue.d.ts +468 -93
- package/components/input-tag/src/ctx.d.ts +141 -25
- package/components/input-tag/src/index.vue.d.ts +566 -126
- package/components/monaco-editor/src/ctx.d.ts +43 -8
- package/components/monaco-editor/src/index.vue.d.ts +91 -21
- package/components/radio/index.cjs +2 -3
- package/components/radio/index.mjs +2 -3
- package/components/radio/src/ctx.d.ts +84 -14
- package/components/radio/src/index.vue.d.ts +812 -168
- package/components/select/src/ctx.d.ts +63 -13
- package/components/select/src/index.vue.d.ts +549 -108
- package/components/slider/src/ctx.d.ts +170 -54
- package/components/slider/src/index.vue.d.ts +362 -137
- package/components/switch/src/ctx.d.ts +105 -21
- package/components/switch/src/index.vue.d.ts +453 -117
- package/components/tables-select/src/ctx.d.ts +72 -9
- package/components/tables-select/src/index.vue.d.ts +386 -82
- package/components/templates-element-plus/src/index.vue.d.ts +187 -40
- package/components/templates-layout/src/index.vue.d.ts +337 -64
- package/components/upload/index.cjs +2 -2
- package/components/upload/index.mjs +2 -2
- package/components/upload/src/ctx.d.ts +183 -89
- package/components/upload/src/file.vue.d.ts +269 -83
- package/components/upload/src/index.vue.d.ts +1246 -632
- package/components/upload-plus/index.cjs +79 -86
- package/components/upload-plus/index.mjs +79 -86
- package/components/upload-plus/src/ctx.d.ts +43 -8
- package/components/upload-plus/src/index.vue.d.ts +1008 -283
- package/components/van-cascader/src/ctx.d.ts +181 -44
- package/components/van-cascader/src/index.vue.d.ts +1532 -324
- package/components/var-datetime-picker/src/ctx.d.ts +43 -8
- package/components/var-datetime-picker/src/index.vue.d.ts +932 -190
- package/components/vditor/src/ctx.d.ts +43 -8
- package/components/vditor/src/index.vue.d.ts +91 -21
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +111 -30
- package/shared/element-plus/instances.d.ts +140 -28
|
@@ -12,22 +12,76 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
default: any;
|
|
13
13
|
};
|
|
14
14
|
ariaLabel: StringConstructor;
|
|
15
|
-
id:
|
|
16
|
-
|
|
15
|
+
id: {
|
|
16
|
+
readonly type: import("vue").PropType<string>;
|
|
17
|
+
readonly required: false;
|
|
18
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
|
+
__epPropKey: true;
|
|
20
|
+
} & {
|
|
21
|
+
readonly default: undefined;
|
|
22
|
+
};
|
|
23
|
+
step: {
|
|
24
|
+
readonly type: import("vue").PropType<number>;
|
|
25
|
+
readonly required: false;
|
|
26
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
|
+
__epPropKey: true;
|
|
28
|
+
} & {
|
|
29
|
+
readonly default: 1;
|
|
30
|
+
};
|
|
17
31
|
stepStrictly: BooleanConstructor;
|
|
18
|
-
max:
|
|
19
|
-
|
|
20
|
-
|
|
32
|
+
max: {
|
|
33
|
+
readonly type: import("vue").PropType<number>;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
} & {
|
|
38
|
+
readonly default: number;
|
|
39
|
+
};
|
|
40
|
+
min: {
|
|
41
|
+
readonly type: import("vue").PropType<number>;
|
|
42
|
+
readonly required: false;
|
|
43
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
|
+
__epPropKey: true;
|
|
45
|
+
} & {
|
|
46
|
+
readonly default: number;
|
|
47
|
+
};
|
|
48
|
+
modelValue: {
|
|
49
|
+
readonly type: import("vue").PropType<any>;
|
|
50
|
+
readonly required: false;
|
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
|
+
__epPropKey: true;
|
|
53
|
+
};
|
|
21
54
|
disabled: BooleanConstructor;
|
|
22
55
|
size: {
|
|
23
|
-
readonly type: import("vue").PropType<
|
|
56
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
57
|
+
readonly required: false;
|
|
58
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
|
+
__epPropKey: true;
|
|
60
|
+
};
|
|
61
|
+
controls: {
|
|
62
|
+
readonly type: import("vue").PropType<boolean>;
|
|
63
|
+
readonly required: false;
|
|
64
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
65
|
+
__epPropKey: true;
|
|
66
|
+
} & {
|
|
67
|
+
readonly default: true;
|
|
68
|
+
};
|
|
69
|
+
controlsPosition: {
|
|
70
|
+
readonly type: import("vue").PropType<"" | "right">;
|
|
71
|
+
readonly required: false;
|
|
72
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
73
|
+
__epPropKey: true;
|
|
74
|
+
} & {
|
|
75
|
+
readonly default: "";
|
|
76
|
+
};
|
|
77
|
+
valueOnClear: {
|
|
78
|
+
readonly type: import("vue").PropType<string | number>;
|
|
24
79
|
readonly required: false;
|
|
25
80
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
81
|
__epPropKey: true;
|
|
82
|
+
} & {
|
|
83
|
+
readonly default: null;
|
|
27
84
|
};
|
|
28
|
-
controls: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
29
|
-
controlsPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "right", unknown, "", boolean>;
|
|
30
|
-
valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, null], unknown, unknown, null, boolean>;
|
|
31
85
|
name: StringConstructor;
|
|
32
86
|
placeholder: StringConstructor;
|
|
33
87
|
precision: {
|
|
@@ -36,8 +90,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
90
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
91
|
__epPropKey: true;
|
|
38
92
|
};
|
|
39
|
-
validateEvent:
|
|
40
|
-
|
|
93
|
+
validateEvent: {
|
|
94
|
+
readonly type: import("vue").PropType<boolean>;
|
|
95
|
+
readonly required: false;
|
|
96
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
97
|
+
__epPropKey: true;
|
|
98
|
+
} & {
|
|
99
|
+
readonly default: true;
|
|
100
|
+
};
|
|
101
|
+
required: {
|
|
102
|
+
readonly type: import("vue").PropType<boolean>;
|
|
103
|
+
readonly required: false;
|
|
104
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
105
|
+
__epPropKey: true;
|
|
106
|
+
} & {
|
|
107
|
+
readonly default: undefined;
|
|
108
|
+
};
|
|
41
109
|
formItemSize: {
|
|
42
110
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
43
111
|
default: "default" | "small" | "large";
|
|
@@ -68,47 +136,75 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
68
136
|
default: boolean;
|
|
69
137
|
};
|
|
70
138
|
label: StringConstructor;
|
|
71
|
-
labelWidth:
|
|
72
|
-
|
|
139
|
+
labelWidth: {
|
|
140
|
+
readonly type: import("vue").PropType<string | number>;
|
|
141
|
+
readonly required: false;
|
|
142
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
143
|
+
__epPropKey: true;
|
|
144
|
+
} & {
|
|
145
|
+
readonly default: "";
|
|
146
|
+
};
|
|
147
|
+
labelPosition: {
|
|
148
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
149
|
+
readonly required: false;
|
|
150
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
151
|
+
__epPropKey: true;
|
|
152
|
+
} & {
|
|
153
|
+
readonly default: "";
|
|
154
|
+
};
|
|
73
155
|
prop: {
|
|
74
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
156
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
75
157
|
readonly required: false;
|
|
76
158
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
159
|
__epPropKey: true;
|
|
78
160
|
};
|
|
79
161
|
rules: {
|
|
80
|
-
readonly type: import("vue").PropType<
|
|
162
|
+
readonly type: import("vue").PropType<unknown>;
|
|
81
163
|
readonly required: false;
|
|
82
164
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
83
165
|
__epPropKey: true;
|
|
84
166
|
};
|
|
85
167
|
error: StringConstructor;
|
|
86
168
|
validateStatus: {
|
|
87
|
-
readonly type: import("vue").PropType<
|
|
169
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
88
170
|
readonly required: false;
|
|
89
171
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
90
172
|
__epPropKey: true;
|
|
91
173
|
};
|
|
92
174
|
for: StringConstructor;
|
|
93
|
-
inlineMessage:
|
|
94
|
-
|
|
175
|
+
inlineMessage: {
|
|
176
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
177
|
+
readonly required: false;
|
|
178
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
179
|
+
__epPropKey: true;
|
|
180
|
+
} & {
|
|
181
|
+
readonly default: "";
|
|
182
|
+
};
|
|
183
|
+
showMessage: {
|
|
184
|
+
readonly type: import("vue").PropType<boolean>;
|
|
185
|
+
readonly required: false;
|
|
186
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
187
|
+
__epPropKey: true;
|
|
188
|
+
} & {
|
|
189
|
+
readonly default: true;
|
|
190
|
+
};
|
|
95
191
|
}>, {
|
|
96
192
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
97
193
|
iBindProps: import("vue").ComputedRef<{
|
|
98
|
-
size:
|
|
194
|
+
size: "" | "default" | "small" | "large";
|
|
99
195
|
id: string;
|
|
100
196
|
ariaLabel: string;
|
|
101
197
|
name: string;
|
|
102
|
-
modelValue:
|
|
198
|
+
modelValue: any;
|
|
103
199
|
placeholder: string;
|
|
104
200
|
min: number;
|
|
105
201
|
max: number;
|
|
106
|
-
|
|
107
|
-
|
|
202
|
+
validateEvent: boolean;
|
|
203
|
+
valueOnClear: string | number;
|
|
108
204
|
step: number;
|
|
109
205
|
stepStrictly: boolean;
|
|
110
|
-
controls:
|
|
111
|
-
controlsPosition:
|
|
206
|
+
controls: boolean;
|
|
207
|
+
controlsPosition: "" | "right";
|
|
112
208
|
precision: number;
|
|
113
209
|
}>;
|
|
114
210
|
iOnEmits: {};
|
|
@@ -134,22 +230,76 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
134
230
|
default: any;
|
|
135
231
|
};
|
|
136
232
|
ariaLabel: StringConstructor;
|
|
137
|
-
id:
|
|
138
|
-
|
|
233
|
+
id: {
|
|
234
|
+
readonly type: import("vue").PropType<string>;
|
|
235
|
+
readonly required: false;
|
|
236
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
237
|
+
__epPropKey: true;
|
|
238
|
+
} & {
|
|
239
|
+
readonly default: undefined;
|
|
240
|
+
};
|
|
241
|
+
step: {
|
|
242
|
+
readonly type: import("vue").PropType<number>;
|
|
243
|
+
readonly required: false;
|
|
244
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
245
|
+
__epPropKey: true;
|
|
246
|
+
} & {
|
|
247
|
+
readonly default: 1;
|
|
248
|
+
};
|
|
139
249
|
stepStrictly: BooleanConstructor;
|
|
140
|
-
max:
|
|
141
|
-
|
|
142
|
-
|
|
250
|
+
max: {
|
|
251
|
+
readonly type: import("vue").PropType<number>;
|
|
252
|
+
readonly required: false;
|
|
253
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
254
|
+
__epPropKey: true;
|
|
255
|
+
} & {
|
|
256
|
+
readonly default: number;
|
|
257
|
+
};
|
|
258
|
+
min: {
|
|
259
|
+
readonly type: import("vue").PropType<number>;
|
|
260
|
+
readonly required: false;
|
|
261
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
262
|
+
__epPropKey: true;
|
|
263
|
+
} & {
|
|
264
|
+
readonly default: number;
|
|
265
|
+
};
|
|
266
|
+
modelValue: {
|
|
267
|
+
readonly type: import("vue").PropType<any>;
|
|
268
|
+
readonly required: false;
|
|
269
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
270
|
+
__epPropKey: true;
|
|
271
|
+
};
|
|
143
272
|
disabled: BooleanConstructor;
|
|
144
273
|
size: {
|
|
145
|
-
readonly type: import("vue").PropType<
|
|
274
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
275
|
+
readonly required: false;
|
|
276
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
277
|
+
__epPropKey: true;
|
|
278
|
+
};
|
|
279
|
+
controls: {
|
|
280
|
+
readonly type: import("vue").PropType<boolean>;
|
|
281
|
+
readonly required: false;
|
|
282
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
283
|
+
__epPropKey: true;
|
|
284
|
+
} & {
|
|
285
|
+
readonly default: true;
|
|
286
|
+
};
|
|
287
|
+
controlsPosition: {
|
|
288
|
+
readonly type: import("vue").PropType<"" | "right">;
|
|
146
289
|
readonly required: false;
|
|
147
290
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
148
291
|
__epPropKey: true;
|
|
292
|
+
} & {
|
|
293
|
+
readonly default: "";
|
|
294
|
+
};
|
|
295
|
+
valueOnClear: {
|
|
296
|
+
readonly type: import("vue").PropType<string | number>;
|
|
297
|
+
readonly required: false;
|
|
298
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
299
|
+
__epPropKey: true;
|
|
300
|
+
} & {
|
|
301
|
+
readonly default: null;
|
|
149
302
|
};
|
|
150
|
-
controls: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
151
|
-
controlsPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "right", unknown, "", boolean>;
|
|
152
|
-
valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, null], unknown, unknown, null, boolean>;
|
|
153
303
|
name: StringConstructor;
|
|
154
304
|
placeholder: StringConstructor;
|
|
155
305
|
precision: {
|
|
@@ -158,8 +308,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
158
308
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
159
309
|
__epPropKey: true;
|
|
160
310
|
};
|
|
161
|
-
validateEvent:
|
|
162
|
-
|
|
311
|
+
validateEvent: {
|
|
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: true;
|
|
318
|
+
};
|
|
319
|
+
required: {
|
|
320
|
+
readonly type: import("vue").PropType<boolean>;
|
|
321
|
+
readonly required: false;
|
|
322
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
323
|
+
__epPropKey: true;
|
|
324
|
+
} & {
|
|
325
|
+
readonly default: undefined;
|
|
326
|
+
};
|
|
163
327
|
formItemSize: {
|
|
164
328
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
165
329
|
default: "default" | "small" | "large";
|
|
@@ -190,38 +354,66 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
190
354
|
default: boolean;
|
|
191
355
|
};
|
|
192
356
|
label: StringConstructor;
|
|
193
|
-
labelWidth:
|
|
194
|
-
|
|
357
|
+
labelWidth: {
|
|
358
|
+
readonly type: import("vue").PropType<string | number>;
|
|
359
|
+
readonly required: false;
|
|
360
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
361
|
+
__epPropKey: true;
|
|
362
|
+
} & {
|
|
363
|
+
readonly default: "";
|
|
364
|
+
};
|
|
365
|
+
labelPosition: {
|
|
366
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
367
|
+
readonly required: false;
|
|
368
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
369
|
+
__epPropKey: true;
|
|
370
|
+
} & {
|
|
371
|
+
readonly default: "";
|
|
372
|
+
};
|
|
195
373
|
prop: {
|
|
196
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
374
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
197
375
|
readonly required: false;
|
|
198
376
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
199
377
|
__epPropKey: true;
|
|
200
378
|
};
|
|
201
379
|
rules: {
|
|
202
|
-
readonly type: import("vue").PropType<
|
|
380
|
+
readonly type: import("vue").PropType<unknown>;
|
|
203
381
|
readonly required: false;
|
|
204
382
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
205
383
|
__epPropKey: true;
|
|
206
384
|
};
|
|
207
385
|
error: StringConstructor;
|
|
208
386
|
validateStatus: {
|
|
209
|
-
readonly type: import("vue").PropType<
|
|
387
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
210
388
|
readonly required: false;
|
|
211
389
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
212
390
|
__epPropKey: true;
|
|
213
391
|
};
|
|
214
392
|
for: StringConstructor;
|
|
215
|
-
inlineMessage:
|
|
216
|
-
|
|
393
|
+
inlineMessage: {
|
|
394
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
395
|
+
readonly required: false;
|
|
396
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
397
|
+
__epPropKey: true;
|
|
398
|
+
} & {
|
|
399
|
+
readonly default: "";
|
|
400
|
+
};
|
|
401
|
+
showMessage: {
|
|
402
|
+
readonly type: import("vue").PropType<boolean>;
|
|
403
|
+
readonly required: false;
|
|
404
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
405
|
+
__epPropKey: true;
|
|
406
|
+
} & {
|
|
407
|
+
readonly default: true;
|
|
408
|
+
};
|
|
217
409
|
}>> & Readonly<{
|
|
218
410
|
onFocus?: (e: FocusEvent) => any;
|
|
219
411
|
"onUpdate:modelValue"?: (val: number) => any;
|
|
220
412
|
onChange?: (cur: number, prev: number) => any;
|
|
221
|
-
onBlur?: (e: FocusEvent) => any;
|
|
222
413
|
onInput?: (val: number) => any;
|
|
414
|
+
onBlur?: (e: FocusEvent) => any;
|
|
223
415
|
}>, {
|
|
224
|
-
required:
|
|
416
|
+
required: boolean;
|
|
225
417
|
formItemSize: "default" | "small" | "large";
|
|
226
418
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
227
419
|
inline: boolean;
|
|
@@ -230,20 +422,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
230
422
|
formItemTipClass: any;
|
|
231
423
|
labelTip: string;
|
|
232
424
|
information: boolean;
|
|
233
|
-
labelWidth:
|
|
234
|
-
labelPosition:
|
|
235
|
-
inlineMessage:
|
|
236
|
-
showMessage:
|
|
425
|
+
labelWidth: string | number;
|
|
426
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
427
|
+
inlineMessage: string | boolean;
|
|
428
|
+
showMessage: boolean;
|
|
237
429
|
disabled: boolean;
|
|
238
430
|
id: string;
|
|
239
431
|
min: number;
|
|
240
432
|
max: number;
|
|
241
|
-
|
|
242
|
-
|
|
433
|
+
validateEvent: boolean;
|
|
434
|
+
valueOnClear: string | number;
|
|
243
435
|
step: number;
|
|
244
436
|
stepStrictly: boolean;
|
|
245
|
-
controls:
|
|
246
|
-
controlsPosition:
|
|
437
|
+
controls: boolean;
|
|
438
|
+
controlsPosition: "" | "right";
|
|
247
439
|
unit: string;
|
|
248
440
|
inputNumberSlots: import("./types").InputNumberSlots;
|
|
249
441
|
}, {}, {
|
|
@@ -258,26 +450,80 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
258
450
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
259
451
|
install(app: import("vue").App): void;
|
|
260
452
|
};
|
|
261
|
-
ElInputNumber:
|
|
453
|
+
ElInputNumber: {
|
|
262
454
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
263
455
|
readonly ariaLabel: StringConstructor;
|
|
264
|
-
readonly id:
|
|
265
|
-
|
|
456
|
+
readonly id: {
|
|
457
|
+
readonly type: import("vue").PropType<string>;
|
|
458
|
+
readonly required: false;
|
|
459
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
460
|
+
__epPropKey: true;
|
|
461
|
+
} & {
|
|
462
|
+
readonly default: undefined;
|
|
463
|
+
};
|
|
464
|
+
readonly step: {
|
|
465
|
+
readonly type: import("vue").PropType<number>;
|
|
466
|
+
readonly required: false;
|
|
467
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
468
|
+
__epPropKey: true;
|
|
469
|
+
} & {
|
|
470
|
+
readonly default: 1;
|
|
471
|
+
};
|
|
266
472
|
readonly stepStrictly: BooleanConstructor;
|
|
267
|
-
readonly max:
|
|
268
|
-
|
|
269
|
-
|
|
473
|
+
readonly max: {
|
|
474
|
+
readonly type: import("vue").PropType<number>;
|
|
475
|
+
readonly required: false;
|
|
476
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
477
|
+
__epPropKey: true;
|
|
478
|
+
} & {
|
|
479
|
+
readonly default: number;
|
|
480
|
+
};
|
|
481
|
+
readonly min: {
|
|
482
|
+
readonly type: import("vue").PropType<number>;
|
|
483
|
+
readonly required: false;
|
|
484
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
485
|
+
__epPropKey: true;
|
|
486
|
+
} & {
|
|
487
|
+
readonly default: number;
|
|
488
|
+
};
|
|
489
|
+
readonly modelValue: {
|
|
490
|
+
readonly type: import("vue").PropType<any>;
|
|
491
|
+
readonly required: false;
|
|
492
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
493
|
+
__epPropKey: true;
|
|
494
|
+
};
|
|
270
495
|
readonly readonly: BooleanConstructor;
|
|
271
496
|
readonly disabled: BooleanConstructor;
|
|
272
497
|
readonly size: {
|
|
273
|
-
readonly type: import("vue").PropType<
|
|
498
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
274
499
|
readonly required: false;
|
|
275
500
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
276
501
|
__epPropKey: true;
|
|
277
502
|
};
|
|
278
|
-
readonly controls:
|
|
279
|
-
|
|
280
|
-
|
|
503
|
+
readonly controls: {
|
|
504
|
+
readonly type: import("vue").PropType<boolean>;
|
|
505
|
+
readonly required: false;
|
|
506
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
507
|
+
__epPropKey: true;
|
|
508
|
+
} & {
|
|
509
|
+
readonly default: true;
|
|
510
|
+
};
|
|
511
|
+
readonly controlsPosition: {
|
|
512
|
+
readonly type: import("vue").PropType<"" | "right">;
|
|
513
|
+
readonly required: false;
|
|
514
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
515
|
+
__epPropKey: true;
|
|
516
|
+
} & {
|
|
517
|
+
readonly default: "";
|
|
518
|
+
};
|
|
519
|
+
readonly valueOnClear: {
|
|
520
|
+
readonly type: import("vue").PropType<string | number>;
|
|
521
|
+
readonly required: false;
|
|
522
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
523
|
+
__epPropKey: true;
|
|
524
|
+
} & {
|
|
525
|
+
readonly default: null;
|
|
526
|
+
};
|
|
281
527
|
readonly name: StringConstructor;
|
|
282
528
|
readonly placeholder: StringConstructor;
|
|
283
529
|
readonly precision: {
|
|
@@ -286,7 +532,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
286
532
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
287
533
|
__epPropKey: true;
|
|
288
534
|
};
|
|
289
|
-
readonly validateEvent:
|
|
535
|
+
readonly validateEvent: {
|
|
536
|
+
readonly type: import("vue").PropType<boolean>;
|
|
537
|
+
readonly required: false;
|
|
538
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
539
|
+
__epPropKey: true;
|
|
540
|
+
} & {
|
|
541
|
+
readonly default: true;
|
|
542
|
+
};
|
|
290
543
|
}>> & {
|
|
291
544
|
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
|
|
292
545
|
onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
|
|
@@ -309,10 +562,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
309
562
|
readonly readonly: boolean;
|
|
310
563
|
readonly min: number;
|
|
311
564
|
readonly max: number;
|
|
312
|
-
readonly validateEvent:
|
|
565
|
+
readonly validateEvent: boolean;
|
|
313
566
|
readonly step: number;
|
|
314
|
-
readonly controls:
|
|
315
|
-
readonly controlsPosition:
|
|
567
|
+
readonly controls: boolean;
|
|
568
|
+
readonly controlsPosition: "" | "right";
|
|
316
569
|
readonly stepStrictly: boolean;
|
|
317
570
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
318
571
|
P: {};
|
|
@@ -323,23 +576,77 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
323
576
|
Defaults: {};
|
|
324
577
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
325
578
|
readonly ariaLabel: StringConstructor;
|
|
326
|
-
readonly id:
|
|
327
|
-
|
|
579
|
+
readonly id: {
|
|
580
|
+
readonly type: import("vue").PropType<string>;
|
|
581
|
+
readonly required: false;
|
|
582
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
583
|
+
__epPropKey: true;
|
|
584
|
+
} & {
|
|
585
|
+
readonly default: undefined;
|
|
586
|
+
};
|
|
587
|
+
readonly step: {
|
|
588
|
+
readonly type: import("vue").PropType<number>;
|
|
589
|
+
readonly required: false;
|
|
590
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
591
|
+
__epPropKey: true;
|
|
592
|
+
} & {
|
|
593
|
+
readonly default: 1;
|
|
594
|
+
};
|
|
328
595
|
readonly stepStrictly: BooleanConstructor;
|
|
329
|
-
readonly max:
|
|
330
|
-
|
|
331
|
-
|
|
596
|
+
readonly max: {
|
|
597
|
+
readonly type: import("vue").PropType<number>;
|
|
598
|
+
readonly required: false;
|
|
599
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
600
|
+
__epPropKey: true;
|
|
601
|
+
} & {
|
|
602
|
+
readonly default: number;
|
|
603
|
+
};
|
|
604
|
+
readonly min: {
|
|
605
|
+
readonly type: import("vue").PropType<number>;
|
|
606
|
+
readonly required: false;
|
|
607
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
608
|
+
__epPropKey: true;
|
|
609
|
+
} & {
|
|
610
|
+
readonly default: number;
|
|
611
|
+
};
|
|
612
|
+
readonly modelValue: {
|
|
613
|
+
readonly type: import("vue").PropType<any>;
|
|
614
|
+
readonly required: false;
|
|
615
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
616
|
+
__epPropKey: true;
|
|
617
|
+
};
|
|
332
618
|
readonly readonly: BooleanConstructor;
|
|
333
619
|
readonly disabled: BooleanConstructor;
|
|
334
620
|
readonly size: {
|
|
335
|
-
readonly type: import("vue").PropType<
|
|
621
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
622
|
+
readonly required: false;
|
|
623
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
624
|
+
__epPropKey: true;
|
|
625
|
+
};
|
|
626
|
+
readonly controls: {
|
|
627
|
+
readonly type: import("vue").PropType<boolean>;
|
|
628
|
+
readonly required: false;
|
|
629
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
630
|
+
__epPropKey: true;
|
|
631
|
+
} & {
|
|
632
|
+
readonly default: true;
|
|
633
|
+
};
|
|
634
|
+
readonly controlsPosition: {
|
|
635
|
+
readonly type: import("vue").PropType<"" | "right">;
|
|
636
|
+
readonly required: false;
|
|
637
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
638
|
+
__epPropKey: true;
|
|
639
|
+
} & {
|
|
640
|
+
readonly default: "";
|
|
641
|
+
};
|
|
642
|
+
readonly valueOnClear: {
|
|
643
|
+
readonly type: import("vue").PropType<string | number>;
|
|
336
644
|
readonly required: false;
|
|
337
645
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
338
646
|
__epPropKey: true;
|
|
647
|
+
} & {
|
|
648
|
+
readonly default: null;
|
|
339
649
|
};
|
|
340
|
-
readonly controls: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
341
|
-
readonly controlsPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "right", unknown, "", boolean>;
|
|
342
|
-
readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, null], unknown, unknown, null, boolean>;
|
|
343
650
|
readonly name: StringConstructor;
|
|
344
651
|
readonly placeholder: StringConstructor;
|
|
345
652
|
readonly precision: {
|
|
@@ -348,7 +655,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
348
655
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
349
656
|
__epPropKey: true;
|
|
350
657
|
};
|
|
351
|
-
readonly validateEvent:
|
|
658
|
+
readonly validateEvent: {
|
|
659
|
+
readonly type: import("vue").PropType<boolean>;
|
|
660
|
+
readonly required: false;
|
|
661
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
662
|
+
__epPropKey: true;
|
|
663
|
+
} & {
|
|
664
|
+
readonly default: true;
|
|
665
|
+
};
|
|
352
666
|
}>> & {
|
|
353
667
|
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
|
|
354
668
|
onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
|
|
@@ -365,10 +679,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
365
679
|
readonly readonly: boolean;
|
|
366
680
|
readonly min: number;
|
|
367
681
|
readonly max: number;
|
|
368
|
-
readonly validateEvent:
|
|
682
|
+
readonly validateEvent: boolean;
|
|
369
683
|
readonly step: number;
|
|
370
|
-
readonly controls:
|
|
371
|
-
readonly controlsPosition:
|
|
684
|
+
readonly controls: boolean;
|
|
685
|
+
readonly controlsPosition: "" | "right";
|
|
372
686
|
readonly stepStrictly: boolean;
|
|
373
687
|
}>;
|
|
374
688
|
__isFragment?: never;
|
|
@@ -376,23 +690,77 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
376
690
|
__isSuspense?: never;
|
|
377
691
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
378
692
|
readonly ariaLabel: StringConstructor;
|
|
379
|
-
readonly id:
|
|
380
|
-
|
|
693
|
+
readonly id: {
|
|
694
|
+
readonly type: import("vue").PropType<string>;
|
|
695
|
+
readonly required: false;
|
|
696
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
697
|
+
__epPropKey: true;
|
|
698
|
+
} & {
|
|
699
|
+
readonly default: undefined;
|
|
700
|
+
};
|
|
701
|
+
readonly step: {
|
|
702
|
+
readonly type: import("vue").PropType<number>;
|
|
703
|
+
readonly required: false;
|
|
704
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
705
|
+
__epPropKey: true;
|
|
706
|
+
} & {
|
|
707
|
+
readonly default: 1;
|
|
708
|
+
};
|
|
381
709
|
readonly stepStrictly: BooleanConstructor;
|
|
382
|
-
readonly max:
|
|
383
|
-
|
|
384
|
-
|
|
710
|
+
readonly max: {
|
|
711
|
+
readonly type: import("vue").PropType<number>;
|
|
712
|
+
readonly required: false;
|
|
713
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
714
|
+
__epPropKey: true;
|
|
715
|
+
} & {
|
|
716
|
+
readonly default: number;
|
|
717
|
+
};
|
|
718
|
+
readonly min: {
|
|
719
|
+
readonly type: import("vue").PropType<number>;
|
|
720
|
+
readonly required: false;
|
|
721
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
722
|
+
__epPropKey: true;
|
|
723
|
+
} & {
|
|
724
|
+
readonly default: number;
|
|
725
|
+
};
|
|
726
|
+
readonly modelValue: {
|
|
727
|
+
readonly type: import("vue").PropType<any>;
|
|
728
|
+
readonly required: false;
|
|
729
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
730
|
+
__epPropKey: true;
|
|
731
|
+
};
|
|
385
732
|
readonly readonly: BooleanConstructor;
|
|
386
733
|
readonly disabled: BooleanConstructor;
|
|
387
734
|
readonly size: {
|
|
388
|
-
readonly type: import("vue").PropType<
|
|
735
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
389
736
|
readonly required: false;
|
|
390
737
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
391
738
|
__epPropKey: true;
|
|
392
739
|
};
|
|
393
|
-
readonly controls:
|
|
394
|
-
|
|
395
|
-
|
|
740
|
+
readonly controls: {
|
|
741
|
+
readonly type: import("vue").PropType<boolean>;
|
|
742
|
+
readonly required: false;
|
|
743
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
744
|
+
__epPropKey: true;
|
|
745
|
+
} & {
|
|
746
|
+
readonly default: true;
|
|
747
|
+
};
|
|
748
|
+
readonly controlsPosition: {
|
|
749
|
+
readonly type: import("vue").PropType<"" | "right">;
|
|
750
|
+
readonly required: false;
|
|
751
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
752
|
+
__epPropKey: true;
|
|
753
|
+
} & {
|
|
754
|
+
readonly default: "";
|
|
755
|
+
};
|
|
756
|
+
readonly valueOnClear: {
|
|
757
|
+
readonly type: import("vue").PropType<string | number>;
|
|
758
|
+
readonly required: false;
|
|
759
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
760
|
+
__epPropKey: true;
|
|
761
|
+
} & {
|
|
762
|
+
readonly default: null;
|
|
763
|
+
};
|
|
396
764
|
readonly name: StringConstructor;
|
|
397
765
|
readonly placeholder: StringConstructor;
|
|
398
766
|
readonly precision: {
|
|
@@ -401,7 +769,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
401
769
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
402
770
|
__epPropKey: true;
|
|
403
771
|
};
|
|
404
|
-
readonly validateEvent:
|
|
772
|
+
readonly validateEvent: {
|
|
773
|
+
readonly type: import("vue").PropType<boolean>;
|
|
774
|
+
readonly required: false;
|
|
775
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
776
|
+
__epPropKey: true;
|
|
777
|
+
} & {
|
|
778
|
+
readonly default: true;
|
|
779
|
+
};
|
|
405
780
|
}>> & {
|
|
406
781
|
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
|
|
407
782
|
onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
|
|
@@ -424,10 +799,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
424
799
|
readonly readonly: boolean;
|
|
425
800
|
readonly min: number;
|
|
426
801
|
readonly max: number;
|
|
427
|
-
readonly validateEvent:
|
|
802
|
+
readonly validateEvent: boolean;
|
|
428
803
|
readonly step: number;
|
|
429
|
-
readonly controls:
|
|
430
|
-
readonly controlsPosition:
|
|
804
|
+
readonly controls: boolean;
|
|
805
|
+
readonly controlsPosition: "" | "right";
|
|
431
806
|
readonly stepStrictly: boolean;
|
|
432
807
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
433
808
|
$slots: {
|
|
@@ -436,6 +811,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
436
811
|
prefix?(_: {}): any;
|
|
437
812
|
suffix?(_: {}): any;
|
|
438
813
|
};
|
|
439
|
-
})
|
|
814
|
+
}) & import("vue").Plugin;
|
|
440
815
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
441
816
|
export default _default;
|