@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
|
@@ -29,42 +29,91 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
29
|
dialog: boolean;
|
|
30
30
|
upload: boolean;
|
|
31
31
|
}, {}, {
|
|
32
|
-
ElButton:
|
|
32
|
+
ElButton: ({
|
|
33
33
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
34
34
|
readonly size: {
|
|
35
|
-
readonly type: import("vue").PropType<
|
|
35
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
36
36
|
readonly required: false;
|
|
37
37
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
38
|
__epPropKey: true;
|
|
39
39
|
};
|
|
40
40
|
readonly disabled: BooleanConstructor;
|
|
41
|
-
readonly type:
|
|
41
|
+
readonly type: {
|
|
42
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
43
|
+
readonly required: false;
|
|
44
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
|
+
__epPropKey: true;
|
|
46
|
+
} & {
|
|
47
|
+
readonly default: "";
|
|
48
|
+
};
|
|
42
49
|
readonly icon: {
|
|
43
|
-
readonly type: import("vue").PropType<
|
|
50
|
+
readonly type: import("vue").PropType<unknown>;
|
|
51
|
+
readonly required: false;
|
|
52
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
|
+
__epPropKey: true;
|
|
54
|
+
};
|
|
55
|
+
readonly nativeType: {
|
|
56
|
+
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
44
57
|
readonly required: false;
|
|
45
58
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
59
|
__epPropKey: true;
|
|
60
|
+
} & {
|
|
61
|
+
readonly default: "button";
|
|
47
62
|
};
|
|
48
|
-
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
49
63
|
readonly loading: BooleanConstructor;
|
|
50
|
-
readonly loadingIcon:
|
|
51
|
-
|
|
64
|
+
readonly loadingIcon: {
|
|
65
|
+
readonly type: import("vue").PropType<unknown>;
|
|
66
|
+
readonly required: false;
|
|
67
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
+
__epPropKey: true;
|
|
69
|
+
} & {
|
|
70
|
+
readonly default: () => any;
|
|
71
|
+
};
|
|
72
|
+
readonly plain: {
|
|
73
|
+
readonly type: import("vue").PropType<boolean>;
|
|
74
|
+
readonly required: false;
|
|
75
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
|
+
__epPropKey: true;
|
|
77
|
+
} & {
|
|
78
|
+
readonly default: undefined;
|
|
79
|
+
};
|
|
52
80
|
readonly text: BooleanConstructor;
|
|
53
81
|
readonly link: BooleanConstructor;
|
|
54
82
|
readonly bg: BooleanConstructor;
|
|
55
83
|
readonly autofocus: BooleanConstructor;
|
|
56
|
-
readonly round:
|
|
84
|
+
readonly round: {
|
|
85
|
+
readonly type: import("vue").PropType<boolean>;
|
|
86
|
+
readonly required: false;
|
|
87
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
88
|
+
__epPropKey: true;
|
|
89
|
+
} & {
|
|
90
|
+
readonly default: undefined;
|
|
91
|
+
};
|
|
57
92
|
readonly circle: BooleanConstructor;
|
|
58
93
|
readonly color: StringConstructor;
|
|
59
94
|
readonly dark: BooleanConstructor;
|
|
60
|
-
readonly autoInsertSpace:
|
|
61
|
-
|
|
95
|
+
readonly autoInsertSpace: {
|
|
96
|
+
readonly type: import("vue").PropType<boolean>;
|
|
97
|
+
readonly required: false;
|
|
98
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
+
__epPropKey: true;
|
|
100
|
+
} & {
|
|
101
|
+
readonly default: undefined;
|
|
102
|
+
};
|
|
103
|
+
readonly tag: {
|
|
104
|
+
readonly type: import("vue").PropType<unknown>;
|
|
105
|
+
readonly required: false;
|
|
106
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
|
+
__epPropKey: true;
|
|
108
|
+
} & {
|
|
109
|
+
readonly default: "button";
|
|
110
|
+
};
|
|
62
111
|
}>> & {
|
|
63
112
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
64
113
|
}, {
|
|
65
114
|
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
66
115
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
67
|
-
type: import("vue").ComputedRef<
|
|
116
|
+
type: import("vue").ComputedRef<string>;
|
|
68
117
|
disabled: import("vue").ComputedRef<boolean>;
|
|
69
118
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
70
119
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -76,15 +125,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
76
125
|
readonly disabled: boolean;
|
|
77
126
|
readonly round: boolean;
|
|
78
127
|
readonly dark: boolean;
|
|
79
|
-
readonly type:
|
|
128
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
80
129
|
readonly bg: boolean;
|
|
81
130
|
readonly loading: boolean;
|
|
82
131
|
readonly autofocus: boolean;
|
|
83
|
-
readonly tag:
|
|
132
|
+
readonly tag: unknown;
|
|
84
133
|
readonly plain: boolean;
|
|
85
|
-
readonly
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
134
|
+
readonly nativeType: "button" | "reset" | "submit";
|
|
135
|
+
readonly loadingIcon: unknown;
|
|
136
|
+
readonly autoInsertSpace: boolean;
|
|
88
137
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
89
138
|
P: {};
|
|
90
139
|
B: {};
|
|
@@ -94,39 +143,88 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
94
143
|
Defaults: {};
|
|
95
144
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
96
145
|
readonly size: {
|
|
97
|
-
readonly type: import("vue").PropType<
|
|
146
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
98
147
|
readonly required: false;
|
|
99
148
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
100
149
|
__epPropKey: true;
|
|
101
150
|
};
|
|
102
151
|
readonly disabled: BooleanConstructor;
|
|
103
|
-
readonly type:
|
|
152
|
+
readonly type: {
|
|
153
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
154
|
+
readonly required: false;
|
|
155
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
156
|
+
__epPropKey: true;
|
|
157
|
+
} & {
|
|
158
|
+
readonly default: "";
|
|
159
|
+
};
|
|
104
160
|
readonly icon: {
|
|
105
|
-
readonly type: import("vue").PropType<
|
|
161
|
+
readonly type: import("vue").PropType<unknown>;
|
|
162
|
+
readonly required: false;
|
|
163
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
164
|
+
__epPropKey: true;
|
|
165
|
+
};
|
|
166
|
+
readonly nativeType: {
|
|
167
|
+
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
106
168
|
readonly required: false;
|
|
107
169
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
170
|
__epPropKey: true;
|
|
171
|
+
} & {
|
|
172
|
+
readonly default: "button";
|
|
109
173
|
};
|
|
110
|
-
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
111
174
|
readonly loading: BooleanConstructor;
|
|
112
|
-
readonly loadingIcon:
|
|
113
|
-
|
|
175
|
+
readonly loadingIcon: {
|
|
176
|
+
readonly type: import("vue").PropType<unknown>;
|
|
177
|
+
readonly required: false;
|
|
178
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
179
|
+
__epPropKey: true;
|
|
180
|
+
} & {
|
|
181
|
+
readonly default: () => any;
|
|
182
|
+
};
|
|
183
|
+
readonly plain: {
|
|
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: undefined;
|
|
190
|
+
};
|
|
114
191
|
readonly text: BooleanConstructor;
|
|
115
192
|
readonly link: BooleanConstructor;
|
|
116
193
|
readonly bg: BooleanConstructor;
|
|
117
194
|
readonly autofocus: BooleanConstructor;
|
|
118
|
-
readonly round:
|
|
195
|
+
readonly round: {
|
|
196
|
+
readonly type: import("vue").PropType<boolean>;
|
|
197
|
+
readonly required: false;
|
|
198
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
199
|
+
__epPropKey: true;
|
|
200
|
+
} & {
|
|
201
|
+
readonly default: undefined;
|
|
202
|
+
};
|
|
119
203
|
readonly circle: BooleanConstructor;
|
|
120
204
|
readonly color: StringConstructor;
|
|
121
205
|
readonly dark: BooleanConstructor;
|
|
122
|
-
readonly autoInsertSpace:
|
|
123
|
-
|
|
206
|
+
readonly autoInsertSpace: {
|
|
207
|
+
readonly type: import("vue").PropType<boolean>;
|
|
208
|
+
readonly required: false;
|
|
209
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
210
|
+
__epPropKey: true;
|
|
211
|
+
} & {
|
|
212
|
+
readonly default: undefined;
|
|
213
|
+
};
|
|
214
|
+
readonly tag: {
|
|
215
|
+
readonly type: import("vue").PropType<unknown>;
|
|
216
|
+
readonly required: false;
|
|
217
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
218
|
+
__epPropKey: true;
|
|
219
|
+
} & {
|
|
220
|
+
readonly default: "button";
|
|
221
|
+
};
|
|
124
222
|
}>> & {
|
|
125
223
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
126
224
|
}, {
|
|
127
225
|
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
128
226
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
129
|
-
type: import("vue").ComputedRef<
|
|
227
|
+
type: import("vue").ComputedRef<string>;
|
|
130
228
|
disabled: import("vue").ComputedRef<boolean>;
|
|
131
229
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
132
230
|
}, {}, {}, {}, {
|
|
@@ -136,54 +234,103 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
136
234
|
readonly disabled: boolean;
|
|
137
235
|
readonly round: boolean;
|
|
138
236
|
readonly dark: boolean;
|
|
139
|
-
readonly type:
|
|
237
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
140
238
|
readonly bg: boolean;
|
|
141
239
|
readonly loading: boolean;
|
|
142
240
|
readonly autofocus: boolean;
|
|
143
|
-
readonly tag:
|
|
241
|
+
readonly tag: unknown;
|
|
144
242
|
readonly plain: boolean;
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
243
|
+
readonly nativeType: "button" | "reset" | "submit";
|
|
244
|
+
readonly loadingIcon: unknown;
|
|
245
|
+
readonly autoInsertSpace: boolean;
|
|
148
246
|
}>;
|
|
149
247
|
__isFragment?: never;
|
|
150
248
|
__isTeleport?: never;
|
|
151
249
|
__isSuspense?: never;
|
|
152
250
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
153
251
|
readonly size: {
|
|
154
|
-
readonly type: import("vue").PropType<
|
|
252
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
155
253
|
readonly required: false;
|
|
156
254
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
157
255
|
__epPropKey: true;
|
|
158
256
|
};
|
|
159
257
|
readonly disabled: BooleanConstructor;
|
|
160
|
-
readonly type:
|
|
258
|
+
readonly type: {
|
|
259
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
260
|
+
readonly required: false;
|
|
261
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
262
|
+
__epPropKey: true;
|
|
263
|
+
} & {
|
|
264
|
+
readonly default: "";
|
|
265
|
+
};
|
|
161
266
|
readonly icon: {
|
|
162
|
-
readonly type: import("vue").PropType<
|
|
267
|
+
readonly type: import("vue").PropType<unknown>;
|
|
163
268
|
readonly required: false;
|
|
164
269
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
165
270
|
__epPropKey: true;
|
|
166
271
|
};
|
|
167
|
-
readonly nativeType:
|
|
272
|
+
readonly nativeType: {
|
|
273
|
+
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
274
|
+
readonly required: false;
|
|
275
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
276
|
+
__epPropKey: true;
|
|
277
|
+
} & {
|
|
278
|
+
readonly default: "button";
|
|
279
|
+
};
|
|
168
280
|
readonly loading: BooleanConstructor;
|
|
169
|
-
readonly loadingIcon:
|
|
170
|
-
|
|
281
|
+
readonly loadingIcon: {
|
|
282
|
+
readonly type: import("vue").PropType<unknown>;
|
|
283
|
+
readonly required: false;
|
|
284
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
285
|
+
__epPropKey: true;
|
|
286
|
+
} & {
|
|
287
|
+
readonly default: () => any;
|
|
288
|
+
};
|
|
289
|
+
readonly plain: {
|
|
290
|
+
readonly type: import("vue").PropType<boolean>;
|
|
291
|
+
readonly required: false;
|
|
292
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
293
|
+
__epPropKey: true;
|
|
294
|
+
} & {
|
|
295
|
+
readonly default: undefined;
|
|
296
|
+
};
|
|
171
297
|
readonly text: BooleanConstructor;
|
|
172
298
|
readonly link: BooleanConstructor;
|
|
173
299
|
readonly bg: BooleanConstructor;
|
|
174
300
|
readonly autofocus: BooleanConstructor;
|
|
175
|
-
readonly round:
|
|
301
|
+
readonly round: {
|
|
302
|
+
readonly type: import("vue").PropType<boolean>;
|
|
303
|
+
readonly required: false;
|
|
304
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
305
|
+
__epPropKey: true;
|
|
306
|
+
} & {
|
|
307
|
+
readonly default: undefined;
|
|
308
|
+
};
|
|
176
309
|
readonly circle: BooleanConstructor;
|
|
177
310
|
readonly color: StringConstructor;
|
|
178
311
|
readonly dark: BooleanConstructor;
|
|
179
|
-
readonly autoInsertSpace:
|
|
180
|
-
|
|
312
|
+
readonly autoInsertSpace: {
|
|
313
|
+
readonly type: import("vue").PropType<boolean>;
|
|
314
|
+
readonly required: false;
|
|
315
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
316
|
+
__epPropKey: true;
|
|
317
|
+
} & {
|
|
318
|
+
readonly default: undefined;
|
|
319
|
+
};
|
|
320
|
+
readonly tag: {
|
|
321
|
+
readonly type: import("vue").PropType<unknown>;
|
|
322
|
+
readonly required: false;
|
|
323
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
324
|
+
__epPropKey: true;
|
|
325
|
+
} & {
|
|
326
|
+
readonly default: "button";
|
|
327
|
+
};
|
|
181
328
|
}>> & {
|
|
182
329
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
183
330
|
}, {
|
|
184
331
|
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
185
332
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
186
|
-
type: import("vue").ComputedRef<
|
|
333
|
+
type: import("vue").ComputedRef<string>;
|
|
187
334
|
disabled: import("vue").ComputedRef<boolean>;
|
|
188
335
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
189
336
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -195,33 +342,40 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
195
342
|
readonly disabled: boolean;
|
|
196
343
|
readonly round: boolean;
|
|
197
344
|
readonly dark: boolean;
|
|
198
|
-
readonly type:
|
|
345
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
199
346
|
readonly bg: boolean;
|
|
200
347
|
readonly loading: boolean;
|
|
201
348
|
readonly autofocus: boolean;
|
|
202
|
-
readonly tag:
|
|
349
|
+
readonly tag: unknown;
|
|
203
350
|
readonly plain: boolean;
|
|
204
|
-
readonly
|
|
205
|
-
readonly
|
|
206
|
-
readonly
|
|
351
|
+
readonly nativeType: "button" | "reset" | "submit";
|
|
352
|
+
readonly loadingIcon: unknown;
|
|
353
|
+
readonly autoInsertSpace: boolean;
|
|
207
354
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
208
355
|
$slots: {
|
|
209
356
|
loading?(_: {}): any;
|
|
210
357
|
icon?(_: {}): any;
|
|
211
358
|
default?(_: {}): any;
|
|
212
359
|
};
|
|
213
|
-
})
|
|
360
|
+
}) & import("vue").Plugin) & {
|
|
214
361
|
ButtonGroup: {
|
|
215
362
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
216
363
|
readonly size: {
|
|
217
|
-
readonly type: import("vue").PropType<
|
|
364
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
218
365
|
readonly required: false;
|
|
219
366
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
220
367
|
__epPropKey: true;
|
|
221
368
|
};
|
|
222
|
-
readonly type:
|
|
369
|
+
readonly type: {
|
|
370
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
371
|
+
readonly required: false;
|
|
372
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
373
|
+
__epPropKey: true;
|
|
374
|
+
} & {
|
|
375
|
+
readonly default: "";
|
|
376
|
+
};
|
|
223
377
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
224
|
-
readonly type:
|
|
378
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
225
379
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
226
380
|
P: {};
|
|
227
381
|
B: {};
|
|
@@ -231,38 +385,52 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
231
385
|
Defaults: {};
|
|
232
386
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
233
387
|
readonly size: {
|
|
234
|
-
readonly type: import("vue").PropType<
|
|
388
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
235
389
|
readonly required: false;
|
|
236
390
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
237
391
|
__epPropKey: true;
|
|
238
392
|
};
|
|
239
|
-
readonly type:
|
|
393
|
+
readonly type: {
|
|
394
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
395
|
+
readonly required: false;
|
|
396
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
397
|
+
__epPropKey: true;
|
|
398
|
+
} & {
|
|
399
|
+
readonly default: "";
|
|
400
|
+
};
|
|
240
401
|
}>>, {}, {}, {}, {}, {
|
|
241
|
-
readonly type:
|
|
402
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
242
403
|
}>;
|
|
243
404
|
__isFragment?: never;
|
|
244
405
|
__isTeleport?: never;
|
|
245
406
|
__isSuspense?: never;
|
|
246
407
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
247
408
|
readonly size: {
|
|
248
|
-
readonly type: import("vue").PropType<
|
|
409
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
249
410
|
readonly required: false;
|
|
250
411
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
251
412
|
__epPropKey: true;
|
|
252
413
|
};
|
|
253
|
-
readonly type:
|
|
414
|
+
readonly type: {
|
|
415
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
416
|
+
readonly required: false;
|
|
417
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
418
|
+
__epPropKey: true;
|
|
419
|
+
} & {
|
|
420
|
+
readonly default: "";
|
|
421
|
+
};
|
|
254
422
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
255
|
-
readonly type:
|
|
423
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
256
424
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
257
425
|
$slots: {
|
|
258
426
|
default?(_: {}): any;
|
|
259
427
|
};
|
|
260
428
|
});
|
|
261
429
|
};
|
|
262
|
-
ElIcon:
|
|
430
|
+
ElIcon: {
|
|
263
431
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
264
432
|
readonly size: {
|
|
265
|
-
readonly type: import("vue").PropType<
|
|
433
|
+
readonly type: import("vue").PropType<string | number>;
|
|
266
434
|
readonly required: false;
|
|
267
435
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
268
436
|
__epPropKey: true;
|
|
@@ -282,7 +450,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
282
450
|
Defaults: {};
|
|
283
451
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
284
452
|
readonly size: {
|
|
285
|
-
readonly type: import("vue").PropType<
|
|
453
|
+
readonly type: import("vue").PropType<string | number>;
|
|
286
454
|
readonly required: false;
|
|
287
455
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
288
456
|
__epPropKey: true;
|
|
@@ -299,7 +467,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
299
467
|
__isSuspense?: never;
|
|
300
468
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
301
469
|
readonly size: {
|
|
302
|
-
readonly type: import("vue").PropType<
|
|
470
|
+
readonly type: import("vue").PropType<string | number>;
|
|
303
471
|
readonly required: false;
|
|
304
472
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
305
473
|
__epPropKey: true;
|
|
@@ -314,18 +482,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
314
482
|
$slots: {
|
|
315
483
|
default?(_: {}): any;
|
|
316
484
|
};
|
|
317
|
-
})
|
|
318
|
-
ElButtonGroup:
|
|
485
|
+
}) & import("vue").Plugin;
|
|
486
|
+
ElButtonGroup: {
|
|
319
487
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
320
488
|
readonly size: {
|
|
321
|
-
readonly type: import("vue").PropType<
|
|
489
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
490
|
+
readonly required: false;
|
|
491
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
492
|
+
__epPropKey: true;
|
|
493
|
+
};
|
|
494
|
+
readonly type: {
|
|
495
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
322
496
|
readonly required: false;
|
|
323
497
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
324
498
|
__epPropKey: true;
|
|
499
|
+
} & {
|
|
500
|
+
readonly default: "";
|
|
325
501
|
};
|
|
326
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
|
327
502
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
328
|
-
readonly type:
|
|
503
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
329
504
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
330
505
|
P: {};
|
|
331
506
|
B: {};
|
|
@@ -335,179 +510,247 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
335
510
|
Defaults: {};
|
|
336
511
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
337
512
|
readonly size: {
|
|
338
|
-
readonly type: import("vue").PropType<
|
|
513
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
339
514
|
readonly required: false;
|
|
340
515
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
341
516
|
__epPropKey: true;
|
|
342
517
|
};
|
|
343
|
-
readonly type:
|
|
518
|
+
readonly type: {
|
|
519
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
520
|
+
readonly required: false;
|
|
521
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
522
|
+
__epPropKey: true;
|
|
523
|
+
} & {
|
|
524
|
+
readonly default: "";
|
|
525
|
+
};
|
|
344
526
|
}>>, {}, {}, {}, {}, {
|
|
345
|
-
readonly type:
|
|
527
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
346
528
|
}>;
|
|
347
529
|
__isFragment?: never;
|
|
348
530
|
__isTeleport?: never;
|
|
349
531
|
__isSuspense?: never;
|
|
350
532
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
351
533
|
readonly size: {
|
|
352
|
-
readonly type: import("vue").PropType<
|
|
534
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
353
535
|
readonly required: false;
|
|
354
536
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
355
537
|
__epPropKey: true;
|
|
356
538
|
};
|
|
357
|
-
readonly type:
|
|
539
|
+
readonly type: {
|
|
540
|
+
readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
541
|
+
readonly required: false;
|
|
542
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
543
|
+
__epPropKey: true;
|
|
544
|
+
} & {
|
|
545
|
+
readonly default: "";
|
|
546
|
+
};
|
|
358
547
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
359
|
-
readonly type:
|
|
548
|
+
readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
|
|
360
549
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
361
550
|
$slots: {
|
|
362
551
|
default?(_: {}): any;
|
|
363
552
|
};
|
|
364
|
-
})
|
|
553
|
+
}) & import("vue").Plugin;
|
|
365
554
|
Upload: 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>;
|
|
366
555
|
Edit: 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>;
|
|
367
|
-
ElUpload:
|
|
556
|
+
ElUpload: {
|
|
368
557
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
369
|
-
readonly beforeUpload:
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
readonly
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
})[], unknown, unknown, () => void, boolean>;
|
|
558
|
+
readonly beforeUpload: {
|
|
559
|
+
readonly type: import("vue").PropType<(rawFile: import("element-plus").UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob>>;
|
|
560
|
+
readonly required: false;
|
|
561
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
562
|
+
__epPropKey: true;
|
|
563
|
+
} & {
|
|
564
|
+
readonly default: () => void;
|
|
565
|
+
};
|
|
378
566
|
readonly beforeRemove: {
|
|
379
|
-
readonly type: import("vue").PropType<(uploadFile:
|
|
380
|
-
readonly required: false;
|
|
381
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
382
|
-
__epPropKey: true;
|
|
383
|
-
};
|
|
384
|
-
readonly onRemove:
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
readonly
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
readonly
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
readonly
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
readonly
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
readonly
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
new (): any;
|
|
441
|
-
readonly prototype: any;
|
|
442
|
-
} | ((new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
443
|
-
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
444
|
-
new (): any;
|
|
445
|
-
readonly prototype: any;
|
|
446
|
-
})[], unknown, unknown, () => void, boolean>;
|
|
567
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => boolean | Promise<boolean>>;
|
|
568
|
+
readonly required: false;
|
|
569
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
570
|
+
__epPropKey: true;
|
|
571
|
+
};
|
|
572
|
+
readonly onRemove: {
|
|
573
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
574
|
+
readonly required: false;
|
|
575
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
576
|
+
__epPropKey: true;
|
|
577
|
+
} & {
|
|
578
|
+
readonly default: () => void;
|
|
579
|
+
};
|
|
580
|
+
readonly onChange: {
|
|
581
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
582
|
+
readonly required: false;
|
|
583
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
584
|
+
__epPropKey: true;
|
|
585
|
+
} & {
|
|
586
|
+
readonly default: () => void;
|
|
587
|
+
};
|
|
588
|
+
readonly onPreview: {
|
|
589
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile) => void>;
|
|
590
|
+
readonly required: false;
|
|
591
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
592
|
+
__epPropKey: true;
|
|
593
|
+
} & {
|
|
594
|
+
readonly default: () => void;
|
|
595
|
+
};
|
|
596
|
+
readonly onSuccess: {
|
|
597
|
+
readonly type: import("vue").PropType<(response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
598
|
+
readonly required: false;
|
|
599
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
600
|
+
__epPropKey: true;
|
|
601
|
+
} & {
|
|
602
|
+
readonly default: () => void;
|
|
603
|
+
};
|
|
604
|
+
readonly onProgress: {
|
|
605
|
+
readonly type: import("vue").PropType<(evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
606
|
+
readonly required: false;
|
|
607
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
608
|
+
__epPropKey: true;
|
|
609
|
+
} & {
|
|
610
|
+
readonly default: () => void;
|
|
611
|
+
};
|
|
612
|
+
readonly onError: {
|
|
613
|
+
readonly type: import("vue").PropType<(error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
614
|
+
readonly required: false;
|
|
615
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
616
|
+
__epPropKey: true;
|
|
617
|
+
} & {
|
|
618
|
+
readonly default: () => void;
|
|
619
|
+
};
|
|
620
|
+
readonly onExceed: {
|
|
621
|
+
readonly type: import("vue").PropType<(files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void>;
|
|
622
|
+
readonly required: false;
|
|
623
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
624
|
+
__epPropKey: true;
|
|
625
|
+
} & {
|
|
626
|
+
readonly default: () => void;
|
|
627
|
+
};
|
|
447
628
|
readonly crossorigin: {
|
|
448
|
-
readonly type: import("vue").PropType<
|
|
629
|
+
readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">;
|
|
449
630
|
readonly required: false;
|
|
450
631
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
451
632
|
__epPropKey: true;
|
|
452
633
|
};
|
|
453
|
-
readonly action:
|
|
634
|
+
readonly action: {
|
|
635
|
+
readonly type: import("vue").PropType<string>;
|
|
636
|
+
readonly required: false;
|
|
637
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
638
|
+
__epPropKey: true;
|
|
639
|
+
} & {
|
|
640
|
+
readonly default: "#";
|
|
641
|
+
};
|
|
454
642
|
readonly headers: {
|
|
455
|
-
readonly type: import("vue").PropType<
|
|
643
|
+
readonly type: import("vue").PropType<Record<string, any> | Headers>;
|
|
644
|
+
readonly required: false;
|
|
645
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
646
|
+
__epPropKey: true;
|
|
647
|
+
};
|
|
648
|
+
readonly method: {
|
|
649
|
+
readonly type: import("vue").PropType<string>;
|
|
650
|
+
readonly required: false;
|
|
651
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
652
|
+
__epPropKey: true;
|
|
653
|
+
} & {
|
|
654
|
+
readonly default: "post";
|
|
655
|
+
};
|
|
656
|
+
readonly data: {
|
|
657
|
+
readonly type: import("vue").PropType<unknown>;
|
|
456
658
|
readonly required: false;
|
|
457
659
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
458
660
|
__epPropKey: true;
|
|
661
|
+
} & {
|
|
662
|
+
readonly default: () => {};
|
|
459
663
|
};
|
|
460
|
-
readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
461
|
-
readonly data: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
462
664
|
readonly multiple: BooleanConstructor;
|
|
463
|
-
readonly name:
|
|
665
|
+
readonly name: {
|
|
666
|
+
readonly type: import("vue").PropType<string>;
|
|
667
|
+
readonly required: false;
|
|
668
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
669
|
+
__epPropKey: true;
|
|
670
|
+
} & {
|
|
671
|
+
readonly default: "file";
|
|
672
|
+
};
|
|
464
673
|
readonly drag: BooleanConstructor;
|
|
465
674
|
readonly withCredentials: BooleanConstructor;
|
|
466
|
-
readonly showFileList:
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
}
|
|
675
|
+
readonly showFileList: {
|
|
676
|
+
readonly type: import("vue").PropType<boolean>;
|
|
677
|
+
readonly required: false;
|
|
678
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
679
|
+
__epPropKey: true;
|
|
680
|
+
} & {
|
|
681
|
+
readonly default: true;
|
|
682
|
+
};
|
|
683
|
+
readonly accept: {
|
|
684
|
+
readonly type: import("vue").PropType<string>;
|
|
685
|
+
readonly required: false;
|
|
686
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
687
|
+
__epPropKey: true;
|
|
688
|
+
} & {
|
|
689
|
+
readonly default: "";
|
|
690
|
+
};
|
|
691
|
+
readonly fileList: {
|
|
692
|
+
readonly type: import("vue").PropType<import("element-plus").UploadUserFile[]>;
|
|
693
|
+
readonly required: false;
|
|
694
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
695
|
+
__epPropKey: true;
|
|
696
|
+
} & {
|
|
697
|
+
readonly default: () => [];
|
|
698
|
+
};
|
|
699
|
+
readonly autoUpload: {
|
|
700
|
+
readonly type: import("vue").PropType<boolean>;
|
|
701
|
+
readonly required: false;
|
|
702
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
703
|
+
__epPropKey: true;
|
|
704
|
+
} & {
|
|
705
|
+
readonly default: true;
|
|
706
|
+
};
|
|
707
|
+
readonly listType: {
|
|
708
|
+
readonly type: import("vue").PropType<"text" | "picture" | "picture-card">;
|
|
709
|
+
readonly required: false;
|
|
710
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
711
|
+
__epPropKey: true;
|
|
712
|
+
} & {
|
|
713
|
+
readonly default: "text";
|
|
714
|
+
};
|
|
715
|
+
readonly httpRequest: {
|
|
716
|
+
readonly type: import("vue").PropType<import("element-plus").UploadRequestHandler>;
|
|
717
|
+
readonly required: false;
|
|
718
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
719
|
+
__epPropKey: true;
|
|
720
|
+
} & {
|
|
721
|
+
readonly default: import("element-plus").UploadRequestHandler;
|
|
722
|
+
};
|
|
480
723
|
readonly disabled: BooleanConstructor;
|
|
481
724
|
readonly limit: NumberConstructor;
|
|
482
725
|
}>>, {
|
|
483
|
-
abort: (file:
|
|
726
|
+
abort: (file: UploadFile) => void;
|
|
484
727
|
submit: () => void;
|
|
485
|
-
clearFiles: (states?: import("element-plus
|
|
486
|
-
handleStart: (rawFile: import("element-plus
|
|
487
|
-
handleRemove: (file:
|
|
728
|
+
clearFiles: (states?: import("element-plus").UploadStatus[]) => void;
|
|
729
|
+
handleStart: (rawFile: import("element-plus").UploadRawFile) => void;
|
|
730
|
+
handleRemove: (file: UploadFile | import("element-plus").UploadRawFile, rawFile?: import("element-plus").UploadRawFile) => void;
|
|
488
731
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
489
|
-
readonly data:
|
|
732
|
+
readonly data: unknown;
|
|
490
733
|
readonly disabled: boolean;
|
|
491
734
|
readonly drag: boolean;
|
|
492
735
|
readonly multiple: boolean;
|
|
493
736
|
readonly name: string;
|
|
494
|
-
readonly onChange: (uploadFile:
|
|
495
|
-
readonly onError: (error: Error, uploadFile:
|
|
496
|
-
readonly onProgress: (evt: import("element-plus
|
|
737
|
+
readonly onChange: (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
738
|
+
readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
739
|
+
readonly onProgress: (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
740
|
+
readonly method: string;
|
|
497
741
|
readonly action: string;
|
|
498
742
|
readonly withCredentials: boolean;
|
|
499
|
-
readonly
|
|
500
|
-
readonly showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
743
|
+
readonly showFileList: boolean;
|
|
501
744
|
readonly accept: string;
|
|
502
745
|
readonly fileList: import("element-plus").UploadUserFile[];
|
|
503
|
-
readonly autoUpload:
|
|
504
|
-
readonly listType:
|
|
746
|
+
readonly autoUpload: boolean;
|
|
747
|
+
readonly listType: "text" | "picture" | "picture-card";
|
|
505
748
|
readonly httpRequest: import("element-plus").UploadRequestHandler;
|
|
506
|
-
readonly beforeUpload: (rawFile: import("element-plus
|
|
507
|
-
readonly onRemove: (uploadFile:
|
|
508
|
-
readonly onPreview: (uploadFile:
|
|
509
|
-
readonly onSuccess: (response: any, uploadFile:
|
|
510
|
-
readonly onExceed: (files: File[], uploadFiles: import("element-plus
|
|
749
|
+
readonly beforeUpload: (rawFile: import("element-plus").UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob>;
|
|
750
|
+
readonly onRemove: (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
751
|
+
readonly onPreview: (uploadFile: UploadFile) => void;
|
|
752
|
+
readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
753
|
+
readonly onExceed: (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
511
754
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
512
755
|
P: {};
|
|
513
756
|
B: {};
|
|
@@ -516,303 +759,411 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
516
759
|
M: {};
|
|
517
760
|
Defaults: {};
|
|
518
761
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
519
|
-
readonly beforeUpload:
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
readonly
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
})[], unknown, unknown, () => void, boolean>;
|
|
762
|
+
readonly beforeUpload: {
|
|
763
|
+
readonly type: import("vue").PropType<(rawFile: import("element-plus").UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob>>;
|
|
764
|
+
readonly required: false;
|
|
765
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
766
|
+
__epPropKey: true;
|
|
767
|
+
} & {
|
|
768
|
+
readonly default: () => void;
|
|
769
|
+
};
|
|
528
770
|
readonly beforeRemove: {
|
|
529
|
-
readonly type: import("vue").PropType<(uploadFile:
|
|
530
|
-
readonly required: false;
|
|
531
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
532
|
-
__epPropKey: true;
|
|
533
|
-
};
|
|
534
|
-
readonly onRemove:
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
readonly
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
readonly
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
readonly
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
readonly
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
readonly
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
new (): any;
|
|
591
|
-
readonly prototype: any;
|
|
592
|
-
} | ((new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
593
|
-
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
594
|
-
new (): any;
|
|
595
|
-
readonly prototype: any;
|
|
596
|
-
})[], unknown, unknown, () => void, boolean>;
|
|
771
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => boolean | Promise<boolean>>;
|
|
772
|
+
readonly required: false;
|
|
773
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
774
|
+
__epPropKey: true;
|
|
775
|
+
};
|
|
776
|
+
readonly onRemove: {
|
|
777
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
778
|
+
readonly required: false;
|
|
779
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
780
|
+
__epPropKey: true;
|
|
781
|
+
} & {
|
|
782
|
+
readonly default: () => void;
|
|
783
|
+
};
|
|
784
|
+
readonly onChange: {
|
|
785
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
786
|
+
readonly required: false;
|
|
787
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
788
|
+
__epPropKey: true;
|
|
789
|
+
} & {
|
|
790
|
+
readonly default: () => void;
|
|
791
|
+
};
|
|
792
|
+
readonly onPreview: {
|
|
793
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile) => void>;
|
|
794
|
+
readonly required: false;
|
|
795
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
796
|
+
__epPropKey: true;
|
|
797
|
+
} & {
|
|
798
|
+
readonly default: () => void;
|
|
799
|
+
};
|
|
800
|
+
readonly onSuccess: {
|
|
801
|
+
readonly type: import("vue").PropType<(response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
802
|
+
readonly required: false;
|
|
803
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
804
|
+
__epPropKey: true;
|
|
805
|
+
} & {
|
|
806
|
+
readonly default: () => void;
|
|
807
|
+
};
|
|
808
|
+
readonly onProgress: {
|
|
809
|
+
readonly type: import("vue").PropType<(evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
810
|
+
readonly required: false;
|
|
811
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
812
|
+
__epPropKey: true;
|
|
813
|
+
} & {
|
|
814
|
+
readonly default: () => void;
|
|
815
|
+
};
|
|
816
|
+
readonly onError: {
|
|
817
|
+
readonly type: import("vue").PropType<(error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
818
|
+
readonly required: false;
|
|
819
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
820
|
+
__epPropKey: true;
|
|
821
|
+
} & {
|
|
822
|
+
readonly default: () => void;
|
|
823
|
+
};
|
|
824
|
+
readonly onExceed: {
|
|
825
|
+
readonly type: import("vue").PropType<(files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void>;
|
|
826
|
+
readonly required: false;
|
|
827
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
828
|
+
__epPropKey: true;
|
|
829
|
+
} & {
|
|
830
|
+
readonly default: () => void;
|
|
831
|
+
};
|
|
597
832
|
readonly crossorigin: {
|
|
598
|
-
readonly type: import("vue").PropType<
|
|
833
|
+
readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">;
|
|
599
834
|
readonly required: false;
|
|
600
835
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
601
836
|
__epPropKey: true;
|
|
602
837
|
};
|
|
603
|
-
readonly action:
|
|
838
|
+
readonly action: {
|
|
839
|
+
readonly type: import("vue").PropType<string>;
|
|
840
|
+
readonly required: false;
|
|
841
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
842
|
+
__epPropKey: true;
|
|
843
|
+
} & {
|
|
844
|
+
readonly default: "#";
|
|
845
|
+
};
|
|
604
846
|
readonly headers: {
|
|
605
|
-
readonly type: import("vue").PropType<
|
|
847
|
+
readonly type: import("vue").PropType<Record<string, any> | Headers>;
|
|
848
|
+
readonly required: false;
|
|
849
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
850
|
+
__epPropKey: true;
|
|
851
|
+
};
|
|
852
|
+
readonly method: {
|
|
853
|
+
readonly type: import("vue").PropType<string>;
|
|
606
854
|
readonly required: false;
|
|
607
855
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
608
856
|
__epPropKey: true;
|
|
857
|
+
} & {
|
|
858
|
+
readonly default: "post";
|
|
859
|
+
};
|
|
860
|
+
readonly data: {
|
|
861
|
+
readonly type: import("vue").PropType<unknown>;
|
|
862
|
+
readonly required: false;
|
|
863
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
864
|
+
__epPropKey: true;
|
|
865
|
+
} & {
|
|
866
|
+
readonly default: () => {};
|
|
609
867
|
};
|
|
610
|
-
readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
611
|
-
readonly data: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
612
868
|
readonly multiple: BooleanConstructor;
|
|
613
|
-
readonly name:
|
|
869
|
+
readonly name: {
|
|
870
|
+
readonly type: import("vue").PropType<string>;
|
|
871
|
+
readonly required: false;
|
|
872
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
873
|
+
__epPropKey: true;
|
|
874
|
+
} & {
|
|
875
|
+
readonly default: "file";
|
|
876
|
+
};
|
|
614
877
|
readonly drag: BooleanConstructor;
|
|
615
878
|
readonly withCredentials: BooleanConstructor;
|
|
616
|
-
readonly showFileList:
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
}
|
|
879
|
+
readonly showFileList: {
|
|
880
|
+
readonly type: import("vue").PropType<boolean>;
|
|
881
|
+
readonly required: false;
|
|
882
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
883
|
+
__epPropKey: true;
|
|
884
|
+
} & {
|
|
885
|
+
readonly default: true;
|
|
886
|
+
};
|
|
887
|
+
readonly accept: {
|
|
888
|
+
readonly type: import("vue").PropType<string>;
|
|
889
|
+
readonly required: false;
|
|
890
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
891
|
+
__epPropKey: true;
|
|
892
|
+
} & {
|
|
893
|
+
readonly default: "";
|
|
894
|
+
};
|
|
895
|
+
readonly fileList: {
|
|
896
|
+
readonly type: import("vue").PropType<import("element-plus").UploadUserFile[]>;
|
|
897
|
+
readonly required: false;
|
|
898
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
899
|
+
__epPropKey: true;
|
|
900
|
+
} & {
|
|
901
|
+
readonly default: () => [];
|
|
902
|
+
};
|
|
903
|
+
readonly autoUpload: {
|
|
904
|
+
readonly type: import("vue").PropType<boolean>;
|
|
905
|
+
readonly required: false;
|
|
906
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
907
|
+
__epPropKey: true;
|
|
908
|
+
} & {
|
|
909
|
+
readonly default: true;
|
|
910
|
+
};
|
|
911
|
+
readonly listType: {
|
|
912
|
+
readonly type: import("vue").PropType<"text" | "picture" | "picture-card">;
|
|
913
|
+
readonly required: false;
|
|
914
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
915
|
+
__epPropKey: true;
|
|
916
|
+
} & {
|
|
917
|
+
readonly default: "text";
|
|
918
|
+
};
|
|
919
|
+
readonly httpRequest: {
|
|
920
|
+
readonly type: import("vue").PropType<import("element-plus").UploadRequestHandler>;
|
|
921
|
+
readonly required: false;
|
|
922
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
923
|
+
__epPropKey: true;
|
|
924
|
+
} & {
|
|
925
|
+
readonly default: import("element-plus").UploadRequestHandler;
|
|
926
|
+
};
|
|
630
927
|
readonly disabled: BooleanConstructor;
|
|
631
928
|
readonly limit: NumberConstructor;
|
|
632
929
|
}>>, {
|
|
633
|
-
abort: (file:
|
|
930
|
+
abort: (file: UploadFile) => void;
|
|
634
931
|
submit: () => void;
|
|
635
|
-
clearFiles: (states?: import("element-plus
|
|
636
|
-
handleStart: (rawFile: import("element-plus
|
|
637
|
-
handleRemove: (file:
|
|
932
|
+
clearFiles: (states?: import("element-plus").UploadStatus[]) => void;
|
|
933
|
+
handleStart: (rawFile: import("element-plus").UploadRawFile) => void;
|
|
934
|
+
handleRemove: (file: UploadFile | import("element-plus").UploadRawFile, rawFile?: import("element-plus").UploadRawFile) => void;
|
|
638
935
|
}, {}, {}, {}, {
|
|
639
|
-
readonly data:
|
|
936
|
+
readonly data: unknown;
|
|
640
937
|
readonly disabled: boolean;
|
|
641
938
|
readonly drag: boolean;
|
|
642
939
|
readonly multiple: boolean;
|
|
643
940
|
readonly name: string;
|
|
644
|
-
readonly onChange: (uploadFile:
|
|
645
|
-
readonly onError: (error: Error, uploadFile:
|
|
646
|
-
readonly onProgress: (evt: import("element-plus
|
|
941
|
+
readonly onChange: (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
942
|
+
readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
943
|
+
readonly onProgress: (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
944
|
+
readonly method: string;
|
|
647
945
|
readonly action: string;
|
|
648
946
|
readonly withCredentials: boolean;
|
|
649
|
-
readonly
|
|
650
|
-
readonly showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
947
|
+
readonly showFileList: boolean;
|
|
651
948
|
readonly accept: string;
|
|
652
949
|
readonly fileList: import("element-plus").UploadUserFile[];
|
|
653
|
-
readonly autoUpload:
|
|
654
|
-
readonly listType:
|
|
950
|
+
readonly autoUpload: boolean;
|
|
951
|
+
readonly listType: "text" | "picture" | "picture-card";
|
|
655
952
|
readonly httpRequest: import("element-plus").UploadRequestHandler;
|
|
656
|
-
readonly beforeUpload: (rawFile: import("element-plus
|
|
657
|
-
readonly onRemove: (uploadFile:
|
|
658
|
-
readonly onPreview: (uploadFile:
|
|
659
|
-
readonly onSuccess: (response: any, uploadFile:
|
|
660
|
-
readonly onExceed: (files: File[], uploadFiles: import("element-plus
|
|
953
|
+
readonly beforeUpload: (rawFile: import("element-plus").UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob>;
|
|
954
|
+
readonly onRemove: (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
955
|
+
readonly onPreview: (uploadFile: UploadFile) => void;
|
|
956
|
+
readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
957
|
+
readonly onExceed: (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
661
958
|
}>;
|
|
662
959
|
__isFragment?: never;
|
|
663
960
|
__isTeleport?: never;
|
|
664
961
|
__isSuspense?: never;
|
|
665
962
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
666
|
-
readonly beforeUpload:
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
readonly
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
})[], unknown, unknown, () => void, boolean>;
|
|
963
|
+
readonly beforeUpload: {
|
|
964
|
+
readonly type: import("vue").PropType<(rawFile: import("element-plus").UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob>>;
|
|
965
|
+
readonly required: false;
|
|
966
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
967
|
+
__epPropKey: true;
|
|
968
|
+
} & {
|
|
969
|
+
readonly default: () => void;
|
|
970
|
+
};
|
|
675
971
|
readonly beforeRemove: {
|
|
676
|
-
readonly type: import("vue").PropType<(uploadFile:
|
|
677
|
-
readonly required: false;
|
|
678
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
679
|
-
__epPropKey: true;
|
|
680
|
-
};
|
|
681
|
-
readonly onRemove:
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
readonly
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
readonly
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
readonly
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
readonly
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
readonly
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
new (): any;
|
|
738
|
-
readonly prototype: any;
|
|
739
|
-
} | ((new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
740
|
-
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
741
|
-
new (): any;
|
|
742
|
-
readonly prototype: any;
|
|
743
|
-
})[], unknown, unknown, () => void, boolean>;
|
|
972
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => boolean | Promise<boolean>>;
|
|
973
|
+
readonly required: false;
|
|
974
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
975
|
+
__epPropKey: true;
|
|
976
|
+
};
|
|
977
|
+
readonly onRemove: {
|
|
978
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
979
|
+
readonly required: false;
|
|
980
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
981
|
+
__epPropKey: true;
|
|
982
|
+
} & {
|
|
983
|
+
readonly default: () => void;
|
|
984
|
+
};
|
|
985
|
+
readonly onChange: {
|
|
986
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
987
|
+
readonly required: false;
|
|
988
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
989
|
+
__epPropKey: true;
|
|
990
|
+
} & {
|
|
991
|
+
readonly default: () => void;
|
|
992
|
+
};
|
|
993
|
+
readonly onPreview: {
|
|
994
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile) => void>;
|
|
995
|
+
readonly required: false;
|
|
996
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
997
|
+
__epPropKey: true;
|
|
998
|
+
} & {
|
|
999
|
+
readonly default: () => void;
|
|
1000
|
+
};
|
|
1001
|
+
readonly onSuccess: {
|
|
1002
|
+
readonly type: import("vue").PropType<(response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
1003
|
+
readonly required: false;
|
|
1004
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1005
|
+
__epPropKey: true;
|
|
1006
|
+
} & {
|
|
1007
|
+
readonly default: () => void;
|
|
1008
|
+
};
|
|
1009
|
+
readonly onProgress: {
|
|
1010
|
+
readonly type: import("vue").PropType<(evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
1011
|
+
readonly required: false;
|
|
1012
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1013
|
+
__epPropKey: true;
|
|
1014
|
+
} & {
|
|
1015
|
+
readonly default: () => void;
|
|
1016
|
+
};
|
|
1017
|
+
readonly onError: {
|
|
1018
|
+
readonly type: import("vue").PropType<(error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void>;
|
|
1019
|
+
readonly required: false;
|
|
1020
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1021
|
+
__epPropKey: true;
|
|
1022
|
+
} & {
|
|
1023
|
+
readonly default: () => void;
|
|
1024
|
+
};
|
|
1025
|
+
readonly onExceed: {
|
|
1026
|
+
readonly type: import("vue").PropType<(files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void>;
|
|
1027
|
+
readonly required: false;
|
|
1028
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1029
|
+
__epPropKey: true;
|
|
1030
|
+
} & {
|
|
1031
|
+
readonly default: () => void;
|
|
1032
|
+
};
|
|
744
1033
|
readonly crossorigin: {
|
|
745
|
-
readonly type: import("vue").PropType<
|
|
1034
|
+
readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">;
|
|
1035
|
+
readonly required: false;
|
|
1036
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1037
|
+
__epPropKey: true;
|
|
1038
|
+
};
|
|
1039
|
+
readonly action: {
|
|
1040
|
+
readonly type: import("vue").PropType<string>;
|
|
746
1041
|
readonly required: false;
|
|
747
1042
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
748
1043
|
__epPropKey: true;
|
|
1044
|
+
} & {
|
|
1045
|
+
readonly default: "#";
|
|
749
1046
|
};
|
|
750
|
-
readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
751
1047
|
readonly headers: {
|
|
752
|
-
readonly type: import("vue").PropType<
|
|
1048
|
+
readonly type: import("vue").PropType<Record<string, any> | Headers>;
|
|
1049
|
+
readonly required: false;
|
|
1050
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1051
|
+
__epPropKey: true;
|
|
1052
|
+
};
|
|
1053
|
+
readonly method: {
|
|
1054
|
+
readonly type: import("vue").PropType<string>;
|
|
1055
|
+
readonly required: false;
|
|
1056
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1057
|
+
__epPropKey: true;
|
|
1058
|
+
} & {
|
|
1059
|
+
readonly default: "post";
|
|
1060
|
+
};
|
|
1061
|
+
readonly data: {
|
|
1062
|
+
readonly type: import("vue").PropType<unknown>;
|
|
753
1063
|
readonly required: false;
|
|
754
1064
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
755
1065
|
__epPropKey: true;
|
|
1066
|
+
} & {
|
|
1067
|
+
readonly default: () => {};
|
|
756
1068
|
};
|
|
757
|
-
readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
758
|
-
readonly data: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
759
1069
|
readonly multiple: BooleanConstructor;
|
|
760
|
-
readonly name:
|
|
1070
|
+
readonly name: {
|
|
1071
|
+
readonly type: import("vue").PropType<string>;
|
|
1072
|
+
readonly required: false;
|
|
1073
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1074
|
+
__epPropKey: true;
|
|
1075
|
+
} & {
|
|
1076
|
+
readonly default: "file";
|
|
1077
|
+
};
|
|
761
1078
|
readonly drag: BooleanConstructor;
|
|
762
1079
|
readonly withCredentials: BooleanConstructor;
|
|
763
|
-
readonly showFileList:
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
}
|
|
1080
|
+
readonly showFileList: {
|
|
1081
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1082
|
+
readonly required: false;
|
|
1083
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1084
|
+
__epPropKey: true;
|
|
1085
|
+
} & {
|
|
1086
|
+
readonly default: true;
|
|
1087
|
+
};
|
|
1088
|
+
readonly accept: {
|
|
1089
|
+
readonly type: import("vue").PropType<string>;
|
|
1090
|
+
readonly required: false;
|
|
1091
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1092
|
+
__epPropKey: true;
|
|
1093
|
+
} & {
|
|
1094
|
+
readonly default: "";
|
|
1095
|
+
};
|
|
1096
|
+
readonly fileList: {
|
|
1097
|
+
readonly type: import("vue").PropType<import("element-plus").UploadUserFile[]>;
|
|
1098
|
+
readonly required: false;
|
|
1099
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1100
|
+
__epPropKey: true;
|
|
1101
|
+
} & {
|
|
1102
|
+
readonly default: () => [];
|
|
1103
|
+
};
|
|
1104
|
+
readonly autoUpload: {
|
|
1105
|
+
readonly type: import("vue").PropType<boolean>;
|
|
1106
|
+
readonly required: false;
|
|
1107
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1108
|
+
__epPropKey: true;
|
|
1109
|
+
} & {
|
|
1110
|
+
readonly default: true;
|
|
1111
|
+
};
|
|
1112
|
+
readonly listType: {
|
|
1113
|
+
readonly type: import("vue").PropType<"text" | "picture" | "picture-card">;
|
|
1114
|
+
readonly required: false;
|
|
1115
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1116
|
+
__epPropKey: true;
|
|
1117
|
+
} & {
|
|
1118
|
+
readonly default: "text";
|
|
1119
|
+
};
|
|
1120
|
+
readonly httpRequest: {
|
|
1121
|
+
readonly type: import("vue").PropType<import("element-plus").UploadRequestHandler>;
|
|
1122
|
+
readonly required: false;
|
|
1123
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1124
|
+
__epPropKey: true;
|
|
1125
|
+
} & {
|
|
1126
|
+
readonly default: import("element-plus").UploadRequestHandler;
|
|
1127
|
+
};
|
|
777
1128
|
readonly disabled: BooleanConstructor;
|
|
778
1129
|
readonly limit: NumberConstructor;
|
|
779
1130
|
}>>, {
|
|
780
|
-
abort: (file:
|
|
1131
|
+
abort: (file: UploadFile) => void;
|
|
781
1132
|
submit: () => void;
|
|
782
|
-
clearFiles: (states?: import("element-plus
|
|
783
|
-
handleStart: (rawFile: import("element-plus
|
|
784
|
-
handleRemove: (file:
|
|
1133
|
+
clearFiles: (states?: import("element-plus").UploadStatus[]) => void;
|
|
1134
|
+
handleStart: (rawFile: import("element-plus").UploadRawFile) => void;
|
|
1135
|
+
handleRemove: (file: UploadFile | import("element-plus").UploadRawFile, rawFile?: import("element-plus").UploadRawFile) => void;
|
|
785
1136
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
786
|
-
readonly data:
|
|
1137
|
+
readonly data: unknown;
|
|
787
1138
|
readonly disabled: boolean;
|
|
788
1139
|
readonly drag: boolean;
|
|
789
1140
|
readonly multiple: boolean;
|
|
790
1141
|
readonly name: string;
|
|
791
|
-
readonly onChange: (uploadFile:
|
|
792
|
-
readonly onError: (error: Error, uploadFile:
|
|
793
|
-
readonly onProgress: (evt: import("element-plus
|
|
1142
|
+
readonly onChange: (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
1143
|
+
readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
1144
|
+
readonly onProgress: (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
1145
|
+
readonly method: string;
|
|
794
1146
|
readonly action: string;
|
|
795
1147
|
readonly withCredentials: boolean;
|
|
796
|
-
readonly
|
|
797
|
-
readonly showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1148
|
+
readonly showFileList: boolean;
|
|
798
1149
|
readonly accept: string;
|
|
799
1150
|
readonly fileList: import("element-plus").UploadUserFile[];
|
|
800
|
-
readonly autoUpload:
|
|
801
|
-
readonly listType:
|
|
1151
|
+
readonly autoUpload: boolean;
|
|
1152
|
+
readonly listType: "text" | "picture" | "picture-card";
|
|
802
1153
|
readonly httpRequest: import("element-plus").UploadRequestHandler;
|
|
803
|
-
readonly beforeUpload: (rawFile: import("element-plus
|
|
804
|
-
readonly onRemove: (uploadFile:
|
|
805
|
-
readonly onPreview: (uploadFile:
|
|
806
|
-
readonly onSuccess: (response: any, uploadFile:
|
|
807
|
-
readonly onExceed: (files: File[], uploadFiles: import("element-plus
|
|
1154
|
+
readonly beforeUpload: (rawFile: import("element-plus").UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob>;
|
|
1155
|
+
readonly onRemove: (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
1156
|
+
readonly onPreview: (uploadFile: UploadFile) => void;
|
|
1157
|
+
readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
1158
|
+
readonly onExceed: (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
808
1159
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
809
1160
|
$slots: {
|
|
810
1161
|
file?(_: {
|
|
811
|
-
file:
|
|
1162
|
+
file: UploadFile;
|
|
812
1163
|
index: number;
|
|
813
1164
|
}): any;
|
|
814
1165
|
file?(_: {
|
|
815
|
-
file:
|
|
1166
|
+
file: UploadFile;
|
|
816
1167
|
index: number;
|
|
817
1168
|
}): any;
|
|
818
1169
|
trigger?(_: {}): any;
|
|
@@ -822,7 +1173,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
822
1173
|
default?(_: {}): any;
|
|
823
1174
|
tip?(_: {}): any;
|
|
824
1175
|
};
|
|
825
|
-
})
|
|
1176
|
+
}) & import("vue").Plugin;
|
|
826
1177
|
MapLocation: 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>;
|
|
827
1178
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
828
1179
|
export default _default;
|