@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
|
@@ -35,49 +35,84 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
37
|
label: StringConstructor;
|
|
38
|
-
labelWidth:
|
|
39
|
-
|
|
38
|
+
labelWidth: {
|
|
39
|
+
readonly type: import("vue").PropType<string | number>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
} & {
|
|
44
|
+
readonly default: "";
|
|
45
|
+
};
|
|
46
|
+
labelPosition: {
|
|
47
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
48
|
+
readonly required: false;
|
|
49
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
|
+
__epPropKey: true;
|
|
51
|
+
} & {
|
|
52
|
+
readonly default: "";
|
|
53
|
+
};
|
|
40
54
|
prop: {
|
|
41
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
55
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
56
|
+
readonly required: false;
|
|
57
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
+
__epPropKey: true;
|
|
59
|
+
};
|
|
60
|
+
required: {
|
|
61
|
+
readonly type: import("vue").PropType<boolean>;
|
|
42
62
|
readonly required: false;
|
|
43
63
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
64
|
__epPropKey: true;
|
|
65
|
+
} & {
|
|
66
|
+
readonly default: undefined;
|
|
45
67
|
};
|
|
46
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
47
68
|
rules: {
|
|
48
|
-
readonly type: import("vue").PropType<
|
|
69
|
+
readonly type: import("vue").PropType<unknown>;
|
|
49
70
|
readonly required: false;
|
|
50
71
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
72
|
__epPropKey: true;
|
|
52
73
|
};
|
|
53
74
|
error: StringConstructor;
|
|
54
75
|
validateStatus: {
|
|
55
|
-
readonly type: import("vue").PropType<
|
|
76
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
56
77
|
readonly required: false;
|
|
57
78
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
79
|
__epPropKey: true;
|
|
59
80
|
};
|
|
60
81
|
for: StringConstructor;
|
|
61
|
-
inlineMessage:
|
|
62
|
-
|
|
82
|
+
inlineMessage: {
|
|
83
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
84
|
+
readonly required: false;
|
|
85
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
+
__epPropKey: true;
|
|
87
|
+
} & {
|
|
88
|
+
readonly default: "";
|
|
89
|
+
};
|
|
90
|
+
showMessage: {
|
|
91
|
+
readonly type: import("vue").PropType<boolean>;
|
|
92
|
+
readonly required: false;
|
|
93
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
|
+
__epPropKey: true;
|
|
95
|
+
} & {
|
|
96
|
+
readonly default: true;
|
|
97
|
+
};
|
|
63
98
|
size: {
|
|
64
|
-
readonly type: import("vue").PropType<
|
|
99
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
65
100
|
readonly required: false;
|
|
66
101
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
67
102
|
__epPropKey: true;
|
|
68
103
|
};
|
|
69
104
|
}, "size">>, {
|
|
70
105
|
formItemBindProps: import("vue").ComputedRef<{
|
|
71
|
-
required:
|
|
106
|
+
required: boolean;
|
|
72
107
|
label: string;
|
|
73
|
-
labelWidth:
|
|
74
|
-
labelPosition:
|
|
75
|
-
prop: import("element-plus
|
|
108
|
+
labelWidth: string | number;
|
|
109
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
110
|
+
prop: import("element-plus").FormItemProp;
|
|
76
111
|
error: string;
|
|
77
|
-
validateStatus:
|
|
112
|
+
validateStatus: "" | "error" | "success" | "validating";
|
|
78
113
|
for: string;
|
|
79
|
-
inlineMessage:
|
|
80
|
-
showMessage:
|
|
114
|
+
inlineMessage: string | boolean;
|
|
115
|
+
showMessage: boolean;
|
|
81
116
|
}>;
|
|
82
117
|
readonly: import("vue").ComputedRef<boolean>;
|
|
83
118
|
rules: import("vue").ComputedRef<FormItemRule[]>;
|
|
@@ -119,39 +154,74 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
119
154
|
default: boolean;
|
|
120
155
|
};
|
|
121
156
|
label: StringConstructor;
|
|
122
|
-
labelWidth:
|
|
123
|
-
|
|
157
|
+
labelWidth: {
|
|
158
|
+
readonly type: import("vue").PropType<string | number>;
|
|
159
|
+
readonly required: false;
|
|
160
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
161
|
+
__epPropKey: true;
|
|
162
|
+
} & {
|
|
163
|
+
readonly default: "";
|
|
164
|
+
};
|
|
165
|
+
labelPosition: {
|
|
166
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
167
|
+
readonly required: false;
|
|
168
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
|
+
__epPropKey: true;
|
|
170
|
+
} & {
|
|
171
|
+
readonly default: "";
|
|
172
|
+
};
|
|
124
173
|
prop: {
|
|
125
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
174
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
126
175
|
readonly required: false;
|
|
127
176
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
128
177
|
__epPropKey: true;
|
|
129
178
|
};
|
|
130
|
-
required:
|
|
179
|
+
required: {
|
|
180
|
+
readonly type: import("vue").PropType<boolean>;
|
|
181
|
+
readonly required: false;
|
|
182
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
183
|
+
__epPropKey: true;
|
|
184
|
+
} & {
|
|
185
|
+
readonly default: undefined;
|
|
186
|
+
};
|
|
131
187
|
rules: {
|
|
132
|
-
readonly type: import("vue").PropType<
|
|
188
|
+
readonly type: import("vue").PropType<unknown>;
|
|
133
189
|
readonly required: false;
|
|
134
190
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
135
191
|
__epPropKey: true;
|
|
136
192
|
};
|
|
137
193
|
error: StringConstructor;
|
|
138
194
|
validateStatus: {
|
|
139
|
-
readonly type: import("vue").PropType<
|
|
195
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
140
196
|
readonly required: false;
|
|
141
197
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
142
198
|
__epPropKey: true;
|
|
143
199
|
};
|
|
144
200
|
for: StringConstructor;
|
|
145
|
-
inlineMessage:
|
|
146
|
-
|
|
201
|
+
inlineMessage: {
|
|
202
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
203
|
+
readonly required: false;
|
|
204
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
205
|
+
__epPropKey: true;
|
|
206
|
+
} & {
|
|
207
|
+
readonly default: "";
|
|
208
|
+
};
|
|
209
|
+
showMessage: {
|
|
210
|
+
readonly type: import("vue").PropType<boolean>;
|
|
211
|
+
readonly required: false;
|
|
212
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
213
|
+
__epPropKey: true;
|
|
214
|
+
} & {
|
|
215
|
+
readonly default: true;
|
|
216
|
+
};
|
|
147
217
|
size: {
|
|
148
|
-
readonly type: import("vue").PropType<
|
|
218
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
149
219
|
readonly required: false;
|
|
150
220
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
151
221
|
__epPropKey: true;
|
|
152
222
|
};
|
|
153
223
|
}, "size">>> & Readonly<{}>, {
|
|
154
|
-
required:
|
|
224
|
+
required: boolean;
|
|
155
225
|
formItemSize: "default" | "small" | "large";
|
|
156
226
|
formItemSlots: import("./types").FormItemSlots;
|
|
157
227
|
inline: boolean;
|
|
@@ -160,41 +230,76 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
160
230
|
formItemTipClass: any;
|
|
161
231
|
labelTip: string;
|
|
162
232
|
information: boolean;
|
|
163
|
-
labelWidth:
|
|
164
|
-
labelPosition:
|
|
165
|
-
inlineMessage:
|
|
166
|
-
showMessage:
|
|
233
|
+
labelWidth: string | number;
|
|
234
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
235
|
+
inlineMessage: string | boolean;
|
|
236
|
+
showMessage: boolean;
|
|
167
237
|
}, {}, {
|
|
168
|
-
ElFormItem:
|
|
238
|
+
ElFormItem: {
|
|
169
239
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
170
240
|
readonly label: StringConstructor;
|
|
171
|
-
readonly labelWidth:
|
|
172
|
-
|
|
241
|
+
readonly labelWidth: {
|
|
242
|
+
readonly type: import("vue").PropType<string | number>;
|
|
243
|
+
readonly required: false;
|
|
244
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
245
|
+
__epPropKey: true;
|
|
246
|
+
} & {
|
|
247
|
+
readonly default: "";
|
|
248
|
+
};
|
|
249
|
+
readonly labelPosition: {
|
|
250
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
251
|
+
readonly required: false;
|
|
252
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
253
|
+
__epPropKey: true;
|
|
254
|
+
} & {
|
|
255
|
+
readonly default: "";
|
|
256
|
+
};
|
|
173
257
|
readonly prop: {
|
|
174
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
258
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
175
259
|
readonly required: false;
|
|
176
260
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
177
261
|
__epPropKey: true;
|
|
178
262
|
};
|
|
179
|
-
readonly required:
|
|
263
|
+
readonly required: {
|
|
264
|
+
readonly type: import("vue").PropType<boolean>;
|
|
265
|
+
readonly required: false;
|
|
266
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
267
|
+
__epPropKey: true;
|
|
268
|
+
} & {
|
|
269
|
+
readonly default: undefined;
|
|
270
|
+
};
|
|
180
271
|
readonly rules: {
|
|
181
|
-
readonly type: import("vue").PropType<
|
|
272
|
+
readonly type: import("vue").PropType<unknown>;
|
|
182
273
|
readonly required: false;
|
|
183
274
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
275
|
__epPropKey: true;
|
|
185
276
|
};
|
|
186
277
|
readonly error: StringConstructor;
|
|
187
278
|
readonly validateStatus: {
|
|
188
|
-
readonly type: import("vue").PropType<
|
|
279
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
189
280
|
readonly required: false;
|
|
190
281
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
191
282
|
__epPropKey: true;
|
|
192
283
|
};
|
|
193
284
|
readonly for: StringConstructor;
|
|
194
|
-
readonly inlineMessage:
|
|
195
|
-
|
|
285
|
+
readonly inlineMessage: {
|
|
286
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
287
|
+
readonly required: false;
|
|
288
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
289
|
+
__epPropKey: true;
|
|
290
|
+
} & {
|
|
291
|
+
readonly default: "";
|
|
292
|
+
};
|
|
293
|
+
readonly showMessage: {
|
|
294
|
+
readonly type: import("vue").PropType<boolean>;
|
|
295
|
+
readonly required: false;
|
|
296
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
297
|
+
__epPropKey: true;
|
|
298
|
+
} & {
|
|
299
|
+
readonly default: true;
|
|
300
|
+
};
|
|
196
301
|
readonly size: {
|
|
197
|
-
readonly type: import("vue").PropType<
|
|
302
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
198
303
|
readonly required: false;
|
|
199
304
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
200
305
|
__epPropKey: true;
|
|
@@ -202,16 +307,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
202
307
|
}>>, {
|
|
203
308
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
204
309
|
validateMessage: import("vue").Ref<string>;
|
|
205
|
-
validateState: import("vue").Ref<"" | "error" | "
|
|
206
|
-
validate: (trigger: string, callback?: import("element-plus
|
|
310
|
+
validateState: import("vue").Ref<"" | "error" | "validating" | "success">;
|
|
311
|
+
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
207
312
|
clearValidate: () => void;
|
|
208
313
|
resetField: () => void;
|
|
209
314
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
210
|
-
readonly required:
|
|
211
|
-
readonly labelWidth:
|
|
212
|
-
readonly labelPosition:
|
|
213
|
-
readonly inlineMessage:
|
|
214
|
-
readonly showMessage:
|
|
315
|
+
readonly required: boolean;
|
|
316
|
+
readonly labelWidth: string | number;
|
|
317
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
|
318
|
+
readonly inlineMessage: string | boolean;
|
|
319
|
+
readonly showMessage: boolean;
|
|
215
320
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
216
321
|
P: {};
|
|
217
322
|
B: {};
|
|
@@ -221,33 +326,68 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
221
326
|
Defaults: {};
|
|
222
327
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
223
328
|
readonly label: StringConstructor;
|
|
224
|
-
readonly labelWidth:
|
|
225
|
-
|
|
329
|
+
readonly labelWidth: {
|
|
330
|
+
readonly type: import("vue").PropType<string | number>;
|
|
331
|
+
readonly required: false;
|
|
332
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
333
|
+
__epPropKey: true;
|
|
334
|
+
} & {
|
|
335
|
+
readonly default: "";
|
|
336
|
+
};
|
|
337
|
+
readonly labelPosition: {
|
|
338
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
339
|
+
readonly required: false;
|
|
340
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
341
|
+
__epPropKey: true;
|
|
342
|
+
} & {
|
|
343
|
+
readonly default: "";
|
|
344
|
+
};
|
|
226
345
|
readonly prop: {
|
|
227
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
346
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
228
347
|
readonly required: false;
|
|
229
348
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
230
349
|
__epPropKey: true;
|
|
231
350
|
};
|
|
232
|
-
readonly required:
|
|
351
|
+
readonly required: {
|
|
352
|
+
readonly type: import("vue").PropType<boolean>;
|
|
353
|
+
readonly required: false;
|
|
354
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
355
|
+
__epPropKey: true;
|
|
356
|
+
} & {
|
|
357
|
+
readonly default: undefined;
|
|
358
|
+
};
|
|
233
359
|
readonly rules: {
|
|
234
|
-
readonly type: import("vue").PropType<
|
|
360
|
+
readonly type: import("vue").PropType<unknown>;
|
|
235
361
|
readonly required: false;
|
|
236
362
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
237
363
|
__epPropKey: true;
|
|
238
364
|
};
|
|
239
365
|
readonly error: StringConstructor;
|
|
240
366
|
readonly validateStatus: {
|
|
241
|
-
readonly type: import("vue").PropType<
|
|
367
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
242
368
|
readonly required: false;
|
|
243
369
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
244
370
|
__epPropKey: true;
|
|
245
371
|
};
|
|
246
372
|
readonly for: StringConstructor;
|
|
247
|
-
readonly inlineMessage:
|
|
248
|
-
|
|
373
|
+
readonly inlineMessage: {
|
|
374
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
375
|
+
readonly required: false;
|
|
376
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
377
|
+
__epPropKey: true;
|
|
378
|
+
} & {
|
|
379
|
+
readonly default: "";
|
|
380
|
+
};
|
|
381
|
+
readonly showMessage: {
|
|
382
|
+
readonly type: import("vue").PropType<boolean>;
|
|
383
|
+
readonly required: false;
|
|
384
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
385
|
+
__epPropKey: true;
|
|
386
|
+
} & {
|
|
387
|
+
readonly default: true;
|
|
388
|
+
};
|
|
249
389
|
readonly size: {
|
|
250
|
-
readonly type: import("vue").PropType<
|
|
390
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
251
391
|
readonly required: false;
|
|
252
392
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
253
393
|
__epPropKey: true;
|
|
@@ -255,49 +395,84 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
255
395
|
}>>, {
|
|
256
396
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
257
397
|
validateMessage: import("vue").Ref<string>;
|
|
258
|
-
validateState: import("vue").Ref<"" | "error" | "
|
|
259
|
-
validate: (trigger: string, callback?: import("element-plus
|
|
398
|
+
validateState: import("vue").Ref<"" | "error" | "validating" | "success">;
|
|
399
|
+
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
260
400
|
clearValidate: () => void;
|
|
261
401
|
resetField: () => void;
|
|
262
402
|
}, {}, {}, {}, {
|
|
263
|
-
readonly required:
|
|
264
|
-
readonly labelWidth:
|
|
265
|
-
readonly labelPosition:
|
|
266
|
-
readonly inlineMessage:
|
|
267
|
-
readonly showMessage:
|
|
403
|
+
readonly required: boolean;
|
|
404
|
+
readonly labelWidth: string | number;
|
|
405
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
|
406
|
+
readonly inlineMessage: string | boolean;
|
|
407
|
+
readonly showMessage: boolean;
|
|
268
408
|
}>;
|
|
269
409
|
__isFragment?: never;
|
|
270
410
|
__isTeleport?: never;
|
|
271
411
|
__isSuspense?: never;
|
|
272
412
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
273
413
|
readonly label: StringConstructor;
|
|
274
|
-
readonly labelWidth:
|
|
275
|
-
|
|
414
|
+
readonly labelWidth: {
|
|
415
|
+
readonly type: import("vue").PropType<string | number>;
|
|
416
|
+
readonly required: false;
|
|
417
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
418
|
+
__epPropKey: true;
|
|
419
|
+
} & {
|
|
420
|
+
readonly default: "";
|
|
421
|
+
};
|
|
422
|
+
readonly labelPosition: {
|
|
423
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
424
|
+
readonly required: false;
|
|
425
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
426
|
+
__epPropKey: true;
|
|
427
|
+
} & {
|
|
428
|
+
readonly default: "";
|
|
429
|
+
};
|
|
276
430
|
readonly prop: {
|
|
277
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
431
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
432
|
+
readonly required: false;
|
|
433
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
434
|
+
__epPropKey: true;
|
|
435
|
+
};
|
|
436
|
+
readonly required: {
|
|
437
|
+
readonly type: import("vue").PropType<boolean>;
|
|
278
438
|
readonly required: false;
|
|
279
439
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
280
440
|
__epPropKey: true;
|
|
441
|
+
} & {
|
|
442
|
+
readonly default: undefined;
|
|
281
443
|
};
|
|
282
|
-
readonly required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
283
444
|
readonly rules: {
|
|
284
|
-
readonly type: import("vue").PropType<
|
|
445
|
+
readonly type: import("vue").PropType<unknown>;
|
|
285
446
|
readonly required: false;
|
|
286
447
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
287
448
|
__epPropKey: true;
|
|
288
449
|
};
|
|
289
450
|
readonly error: StringConstructor;
|
|
290
451
|
readonly validateStatus: {
|
|
291
|
-
readonly type: import("vue").PropType<
|
|
452
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
292
453
|
readonly required: false;
|
|
293
454
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
294
455
|
__epPropKey: true;
|
|
295
456
|
};
|
|
296
457
|
readonly for: StringConstructor;
|
|
297
|
-
readonly inlineMessage:
|
|
298
|
-
|
|
458
|
+
readonly inlineMessage: {
|
|
459
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
460
|
+
readonly required: false;
|
|
461
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
462
|
+
__epPropKey: true;
|
|
463
|
+
} & {
|
|
464
|
+
readonly default: "";
|
|
465
|
+
};
|
|
466
|
+
readonly showMessage: {
|
|
467
|
+
readonly type: import("vue").PropType<boolean>;
|
|
468
|
+
readonly required: false;
|
|
469
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
470
|
+
__epPropKey: true;
|
|
471
|
+
} & {
|
|
472
|
+
readonly default: true;
|
|
473
|
+
};
|
|
299
474
|
readonly size: {
|
|
300
|
-
readonly type: import("vue").PropType<
|
|
475
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
301
476
|
readonly required: false;
|
|
302
477
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
303
478
|
__epPropKey: true;
|
|
@@ -305,16 +480,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
305
480
|
}>>, {
|
|
306
481
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
307
482
|
validateMessage: import("vue").Ref<string>;
|
|
308
|
-
validateState: import("vue").Ref<"" | "error" | "
|
|
309
|
-
validate: (trigger: string, callback?: import("element-plus
|
|
483
|
+
validateState: import("vue").Ref<"" | "error" | "validating" | "success">;
|
|
484
|
+
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
310
485
|
clearValidate: () => void;
|
|
311
486
|
resetField: () => void;
|
|
312
487
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
313
|
-
readonly required:
|
|
314
|
-
readonly labelWidth:
|
|
315
|
-
readonly labelPosition:
|
|
316
|
-
readonly inlineMessage:
|
|
317
|
-
readonly showMessage:
|
|
488
|
+
readonly required: boolean;
|
|
489
|
+
readonly labelWidth: string | number;
|
|
490
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
|
491
|
+
readonly inlineMessage: string | boolean;
|
|
492
|
+
readonly showMessage: boolean;
|
|
318
493
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
319
494
|
$slots: {
|
|
320
495
|
label?(_: {
|
|
@@ -325,11 +500,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
325
500
|
error: string;
|
|
326
501
|
}): any;
|
|
327
502
|
};
|
|
328
|
-
})
|
|
329
|
-
ElIcon:
|
|
503
|
+
}) & import("vue").Plugin;
|
|
504
|
+
ElIcon: {
|
|
330
505
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
331
506
|
readonly size: {
|
|
332
|
-
readonly type: import("vue").PropType<
|
|
507
|
+
readonly type: import("vue").PropType<string | number>;
|
|
333
508
|
readonly required: false;
|
|
334
509
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
335
510
|
__epPropKey: true;
|
|
@@ -349,7 +524,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
349
524
|
Defaults: {};
|
|
350
525
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
351
526
|
readonly size: {
|
|
352
|
-
readonly type: import("vue").PropType<
|
|
527
|
+
readonly type: import("vue").PropType<string | number>;
|
|
353
528
|
readonly required: false;
|
|
354
529
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
355
530
|
__epPropKey: true;
|
|
@@ -366,7 +541,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
366
541
|
__isSuspense?: never;
|
|
367
542
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
368
543
|
readonly size: {
|
|
369
|
-
readonly type: import("vue").PropType<
|
|
544
|
+
readonly type: import("vue").PropType<string | number>;
|
|
370
545
|
readonly required: false;
|
|
371
546
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
372
547
|
__epPropKey: true;
|
|
@@ -381,45 +556,94 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
381
556
|
$slots: {
|
|
382
557
|
default?(_: {}): any;
|
|
383
558
|
};
|
|
384
|
-
})
|
|
559
|
+
}) & import("vue").Plugin;
|
|
385
560
|
ElTooltip: never;
|
|
386
561
|
Warning: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
387
|
-
ElButton:
|
|
562
|
+
ElButton: ({
|
|
388
563
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
389
564
|
readonly size: {
|
|
390
|
-
readonly type: import("vue").PropType<
|
|
565
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
391
566
|
readonly required: false;
|
|
392
567
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
393
568
|
__epPropKey: true;
|
|
394
569
|
};
|
|
395
570
|
readonly disabled: BooleanConstructor;
|
|
396
|
-
readonly type:
|
|
571
|
+
readonly type: {
|
|
572
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
573
|
+
readonly required: false;
|
|
574
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
575
|
+
__epPropKey: true;
|
|
576
|
+
} & {
|
|
577
|
+
readonly default: "";
|
|
578
|
+
};
|
|
397
579
|
readonly icon: {
|
|
398
|
-
readonly type: import("vue").PropType<
|
|
580
|
+
readonly type: import("vue").PropType<unknown>;
|
|
399
581
|
readonly required: false;
|
|
400
582
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
401
583
|
__epPropKey: true;
|
|
402
584
|
};
|
|
403
|
-
readonly nativeType:
|
|
585
|
+
readonly nativeType: {
|
|
586
|
+
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
587
|
+
readonly required: false;
|
|
588
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
589
|
+
__epPropKey: true;
|
|
590
|
+
} & {
|
|
591
|
+
readonly default: "button";
|
|
592
|
+
};
|
|
404
593
|
readonly loading: BooleanConstructor;
|
|
405
|
-
readonly loadingIcon:
|
|
406
|
-
|
|
594
|
+
readonly loadingIcon: {
|
|
595
|
+
readonly type: import("vue").PropType<unknown>;
|
|
596
|
+
readonly required: false;
|
|
597
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
598
|
+
__epPropKey: true;
|
|
599
|
+
} & {
|
|
600
|
+
readonly default: () => any;
|
|
601
|
+
};
|
|
602
|
+
readonly plain: {
|
|
603
|
+
readonly type: import("vue").PropType<boolean>;
|
|
604
|
+
readonly required: false;
|
|
605
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
606
|
+
__epPropKey: true;
|
|
607
|
+
} & {
|
|
608
|
+
readonly default: undefined;
|
|
609
|
+
};
|
|
407
610
|
readonly text: BooleanConstructor;
|
|
408
611
|
readonly link: BooleanConstructor;
|
|
409
612
|
readonly bg: BooleanConstructor;
|
|
410
613
|
readonly autofocus: BooleanConstructor;
|
|
411
|
-
readonly round:
|
|
614
|
+
readonly round: {
|
|
615
|
+
readonly type: import("vue").PropType<boolean>;
|
|
616
|
+
readonly required: false;
|
|
617
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
618
|
+
__epPropKey: true;
|
|
619
|
+
} & {
|
|
620
|
+
readonly default: undefined;
|
|
621
|
+
};
|
|
412
622
|
readonly circle: BooleanConstructor;
|
|
413
623
|
readonly color: StringConstructor;
|
|
414
624
|
readonly dark: BooleanConstructor;
|
|
415
|
-
readonly autoInsertSpace:
|
|
416
|
-
|
|
625
|
+
readonly autoInsertSpace: {
|
|
626
|
+
readonly type: import("vue").PropType<boolean>;
|
|
627
|
+
readonly required: false;
|
|
628
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
629
|
+
__epPropKey: true;
|
|
630
|
+
} & {
|
|
631
|
+
readonly default: undefined;
|
|
632
|
+
};
|
|
633
|
+
readonly tag: {
|
|
634
|
+
readonly type: import("vue").PropType<unknown>;
|
|
635
|
+
readonly required: false;
|
|
636
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
637
|
+
__epPropKey: true;
|
|
638
|
+
} & {
|
|
639
|
+
readonly default: "button";
|
|
640
|
+
};
|
|
417
641
|
}>> & {
|
|
418
642
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
419
643
|
}, {
|
|
420
644
|
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
421
645
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
422
|
-
type: import("vue").ComputedRef<
|
|
646
|
+
type: import("vue").ComputedRef<string>;
|
|
423
647
|
disabled: import("vue").ComputedRef<boolean>;
|
|
424
648
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
425
649
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -431,15 +655,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
431
655
|
readonly disabled: boolean;
|
|
432
656
|
readonly round: boolean;
|
|
433
657
|
readonly dark: boolean;
|
|
434
|
-
readonly type:
|
|
658
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
435
659
|
readonly bg: boolean;
|
|
436
660
|
readonly loading: boolean;
|
|
437
661
|
readonly autofocus: boolean;
|
|
438
|
-
readonly tag:
|
|
662
|
+
readonly tag: unknown;
|
|
439
663
|
readonly plain: boolean;
|
|
440
|
-
readonly
|
|
441
|
-
readonly
|
|
442
|
-
readonly
|
|
664
|
+
readonly nativeType: "button" | "reset" | "submit";
|
|
665
|
+
readonly loadingIcon: unknown;
|
|
666
|
+
readonly autoInsertSpace: boolean;
|
|
443
667
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
444
668
|
P: {};
|
|
445
669
|
B: {};
|
|
@@ -449,39 +673,88 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
449
673
|
Defaults: {};
|
|
450
674
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
451
675
|
readonly size: {
|
|
452
|
-
readonly type: import("vue").PropType<
|
|
676
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
453
677
|
readonly required: false;
|
|
454
678
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
455
679
|
__epPropKey: true;
|
|
456
680
|
};
|
|
457
681
|
readonly disabled: BooleanConstructor;
|
|
458
|
-
readonly type:
|
|
682
|
+
readonly type: {
|
|
683
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
684
|
+
readonly required: false;
|
|
685
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
686
|
+
__epPropKey: true;
|
|
687
|
+
} & {
|
|
688
|
+
readonly default: "";
|
|
689
|
+
};
|
|
459
690
|
readonly icon: {
|
|
460
|
-
readonly type: import("vue").PropType<
|
|
691
|
+
readonly type: import("vue").PropType<unknown>;
|
|
692
|
+
readonly required: false;
|
|
693
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
694
|
+
__epPropKey: true;
|
|
695
|
+
};
|
|
696
|
+
readonly nativeType: {
|
|
697
|
+
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
461
698
|
readonly required: false;
|
|
462
699
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
463
700
|
__epPropKey: true;
|
|
701
|
+
} & {
|
|
702
|
+
readonly default: "button";
|
|
464
703
|
};
|
|
465
|
-
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
466
704
|
readonly loading: BooleanConstructor;
|
|
467
|
-
readonly loadingIcon:
|
|
468
|
-
|
|
705
|
+
readonly loadingIcon: {
|
|
706
|
+
readonly type: import("vue").PropType<unknown>;
|
|
707
|
+
readonly required: false;
|
|
708
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
709
|
+
__epPropKey: true;
|
|
710
|
+
} & {
|
|
711
|
+
readonly default: () => any;
|
|
712
|
+
};
|
|
713
|
+
readonly plain: {
|
|
714
|
+
readonly type: import("vue").PropType<boolean>;
|
|
715
|
+
readonly required: false;
|
|
716
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
717
|
+
__epPropKey: true;
|
|
718
|
+
} & {
|
|
719
|
+
readonly default: undefined;
|
|
720
|
+
};
|
|
469
721
|
readonly text: BooleanConstructor;
|
|
470
722
|
readonly link: BooleanConstructor;
|
|
471
723
|
readonly bg: BooleanConstructor;
|
|
472
724
|
readonly autofocus: BooleanConstructor;
|
|
473
|
-
readonly round:
|
|
725
|
+
readonly round: {
|
|
726
|
+
readonly type: import("vue").PropType<boolean>;
|
|
727
|
+
readonly required: false;
|
|
728
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
729
|
+
__epPropKey: true;
|
|
730
|
+
} & {
|
|
731
|
+
readonly default: undefined;
|
|
732
|
+
};
|
|
474
733
|
readonly circle: BooleanConstructor;
|
|
475
734
|
readonly color: StringConstructor;
|
|
476
735
|
readonly dark: BooleanConstructor;
|
|
477
|
-
readonly autoInsertSpace:
|
|
478
|
-
|
|
736
|
+
readonly autoInsertSpace: {
|
|
737
|
+
readonly type: import("vue").PropType<boolean>;
|
|
738
|
+
readonly required: false;
|
|
739
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
740
|
+
__epPropKey: true;
|
|
741
|
+
} & {
|
|
742
|
+
readonly default: undefined;
|
|
743
|
+
};
|
|
744
|
+
readonly tag: {
|
|
745
|
+
readonly type: import("vue").PropType<unknown>;
|
|
746
|
+
readonly required: false;
|
|
747
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
748
|
+
__epPropKey: true;
|
|
749
|
+
} & {
|
|
750
|
+
readonly default: "button";
|
|
751
|
+
};
|
|
479
752
|
}>> & {
|
|
480
753
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
481
754
|
}, {
|
|
482
755
|
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
483
756
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
484
|
-
type: import("vue").ComputedRef<
|
|
757
|
+
type: import("vue").ComputedRef<string>;
|
|
485
758
|
disabled: import("vue").ComputedRef<boolean>;
|
|
486
759
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
487
760
|
}, {}, {}, {}, {
|
|
@@ -491,54 +764,103 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
491
764
|
readonly disabled: boolean;
|
|
492
765
|
readonly round: boolean;
|
|
493
766
|
readonly dark: boolean;
|
|
494
|
-
readonly type:
|
|
767
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
495
768
|
readonly bg: boolean;
|
|
496
769
|
readonly loading: boolean;
|
|
497
770
|
readonly autofocus: boolean;
|
|
498
|
-
readonly tag:
|
|
771
|
+
readonly tag: unknown;
|
|
499
772
|
readonly plain: boolean;
|
|
500
|
-
readonly
|
|
501
|
-
readonly
|
|
502
|
-
readonly
|
|
773
|
+
readonly nativeType: "button" | "reset" | "submit";
|
|
774
|
+
readonly loadingIcon: unknown;
|
|
775
|
+
readonly autoInsertSpace: boolean;
|
|
503
776
|
}>;
|
|
504
777
|
__isFragment?: never;
|
|
505
778
|
__isTeleport?: never;
|
|
506
779
|
__isSuspense?: never;
|
|
507
780
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
508
781
|
readonly size: {
|
|
509
|
-
readonly type: import("vue").PropType<
|
|
782
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
510
783
|
readonly required: false;
|
|
511
784
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
512
785
|
__epPropKey: true;
|
|
513
786
|
};
|
|
514
787
|
readonly disabled: BooleanConstructor;
|
|
515
|
-
readonly type:
|
|
788
|
+
readonly type: {
|
|
789
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
790
|
+
readonly required: false;
|
|
791
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
792
|
+
__epPropKey: true;
|
|
793
|
+
} & {
|
|
794
|
+
readonly default: "";
|
|
795
|
+
};
|
|
516
796
|
readonly icon: {
|
|
517
|
-
readonly type: import("vue").PropType<
|
|
797
|
+
readonly type: import("vue").PropType<unknown>;
|
|
518
798
|
readonly required: false;
|
|
519
799
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
520
800
|
__epPropKey: true;
|
|
521
801
|
};
|
|
522
|
-
readonly nativeType:
|
|
802
|
+
readonly nativeType: {
|
|
803
|
+
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
804
|
+
readonly required: false;
|
|
805
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
806
|
+
__epPropKey: true;
|
|
807
|
+
} & {
|
|
808
|
+
readonly default: "button";
|
|
809
|
+
};
|
|
523
810
|
readonly loading: BooleanConstructor;
|
|
524
|
-
readonly loadingIcon:
|
|
525
|
-
|
|
811
|
+
readonly loadingIcon: {
|
|
812
|
+
readonly type: import("vue").PropType<unknown>;
|
|
813
|
+
readonly required: false;
|
|
814
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
815
|
+
__epPropKey: true;
|
|
816
|
+
} & {
|
|
817
|
+
readonly default: () => any;
|
|
818
|
+
};
|
|
819
|
+
readonly plain: {
|
|
820
|
+
readonly type: import("vue").PropType<boolean>;
|
|
821
|
+
readonly required: false;
|
|
822
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
823
|
+
__epPropKey: true;
|
|
824
|
+
} & {
|
|
825
|
+
readonly default: undefined;
|
|
826
|
+
};
|
|
526
827
|
readonly text: BooleanConstructor;
|
|
527
828
|
readonly link: BooleanConstructor;
|
|
528
829
|
readonly bg: BooleanConstructor;
|
|
529
830
|
readonly autofocus: BooleanConstructor;
|
|
530
|
-
readonly round:
|
|
831
|
+
readonly round: {
|
|
832
|
+
readonly type: import("vue").PropType<boolean>;
|
|
833
|
+
readonly required: false;
|
|
834
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
835
|
+
__epPropKey: true;
|
|
836
|
+
} & {
|
|
837
|
+
readonly default: undefined;
|
|
838
|
+
};
|
|
531
839
|
readonly circle: BooleanConstructor;
|
|
532
840
|
readonly color: StringConstructor;
|
|
533
841
|
readonly dark: BooleanConstructor;
|
|
534
|
-
readonly autoInsertSpace:
|
|
535
|
-
|
|
842
|
+
readonly autoInsertSpace: {
|
|
843
|
+
readonly type: import("vue").PropType<boolean>;
|
|
844
|
+
readonly required: false;
|
|
845
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
846
|
+
__epPropKey: true;
|
|
847
|
+
} & {
|
|
848
|
+
readonly default: undefined;
|
|
849
|
+
};
|
|
850
|
+
readonly tag: {
|
|
851
|
+
readonly type: import("vue").PropType<unknown>;
|
|
852
|
+
readonly required: false;
|
|
853
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
854
|
+
__epPropKey: true;
|
|
855
|
+
} & {
|
|
856
|
+
readonly default: "button";
|
|
857
|
+
};
|
|
536
858
|
}>> & {
|
|
537
859
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
538
860
|
}, {
|
|
539
861
|
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
540
862
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
541
|
-
type: import("vue").ComputedRef<
|
|
863
|
+
type: import("vue").ComputedRef<string>;
|
|
542
864
|
disabled: import("vue").ComputedRef<boolean>;
|
|
543
865
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
544
866
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -550,33 +872,40 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
550
872
|
readonly disabled: boolean;
|
|
551
873
|
readonly round: boolean;
|
|
552
874
|
readonly dark: boolean;
|
|
553
|
-
readonly type:
|
|
875
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
554
876
|
readonly bg: boolean;
|
|
555
877
|
readonly loading: boolean;
|
|
556
878
|
readonly autofocus: boolean;
|
|
557
|
-
readonly tag:
|
|
879
|
+
readonly tag: unknown;
|
|
558
880
|
readonly plain: boolean;
|
|
559
|
-
readonly
|
|
560
|
-
readonly
|
|
561
|
-
readonly
|
|
881
|
+
readonly nativeType: "button" | "reset" | "submit";
|
|
882
|
+
readonly loadingIcon: unknown;
|
|
883
|
+
readonly autoInsertSpace: boolean;
|
|
562
884
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
563
885
|
$slots: {
|
|
564
886
|
loading?(_: {}): any;
|
|
565
887
|
icon?(_: {}): any;
|
|
566
888
|
default?(_: {}): any;
|
|
567
889
|
};
|
|
568
|
-
})
|
|
890
|
+
}) & import("vue").Plugin) & {
|
|
569
891
|
ButtonGroup: {
|
|
570
892
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
571
893
|
readonly size: {
|
|
572
|
-
readonly type: import("vue").PropType<
|
|
894
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
573
895
|
readonly required: false;
|
|
574
896
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
575
897
|
__epPropKey: true;
|
|
576
898
|
};
|
|
577
|
-
readonly type:
|
|
899
|
+
readonly type: {
|
|
900
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
901
|
+
readonly required: false;
|
|
902
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
903
|
+
__epPropKey: true;
|
|
904
|
+
} & {
|
|
905
|
+
readonly default: "";
|
|
906
|
+
};
|
|
578
907
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
579
|
-
readonly type:
|
|
908
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
580
909
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
581
910
|
P: {};
|
|
582
911
|
B: {};
|
|
@@ -586,28 +915,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
586
915
|
Defaults: {};
|
|
587
916
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
588
917
|
readonly size: {
|
|
589
|
-
readonly type: import("vue").PropType<
|
|
918
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
919
|
+
readonly required: false;
|
|
920
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
921
|
+
__epPropKey: true;
|
|
922
|
+
};
|
|
923
|
+
readonly type: {
|
|
924
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
590
925
|
readonly required: false;
|
|
591
926
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
592
927
|
__epPropKey: true;
|
|
928
|
+
} & {
|
|
929
|
+
readonly default: "";
|
|
593
930
|
};
|
|
594
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
|
595
931
|
}>>, {}, {}, {}, {}, {
|
|
596
|
-
readonly type:
|
|
932
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
597
933
|
}>;
|
|
598
934
|
__isFragment?: never;
|
|
599
935
|
__isTeleport?: never;
|
|
600
936
|
__isSuspense?: never;
|
|
601
937
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
602
938
|
readonly size: {
|
|
603
|
-
readonly type: import("vue").PropType<
|
|
939
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
940
|
+
readonly required: false;
|
|
941
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
942
|
+
__epPropKey: true;
|
|
943
|
+
};
|
|
944
|
+
readonly type: {
|
|
945
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
604
946
|
readonly required: false;
|
|
605
947
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
606
948
|
__epPropKey: true;
|
|
949
|
+
} & {
|
|
950
|
+
readonly default: "";
|
|
607
951
|
};
|
|
608
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
|
609
952
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
610
|
-
readonly type:
|
|
953
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
611
954
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
612
955
|
$slots: {
|
|
613
956
|
default?(_: {}): any;
|