ra-element 0.1.63 → 0.1.67

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.
@@ -18,109 +18,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
18
18
  type: BooleanConstructor;
19
19
  default: boolean;
20
20
  };
21
- }>, {
22
- [x: string]: any;
23
- [x: number]: any;
24
- [x: symbol]: any;
25
- $: import('vue').ComponentInternalInstance;
26
- $data: {};
27
- $props: Partial<{} | {
28
- [x: string]: any;
29
- }> & Omit<{
30
- readonly [x: string]: any;
31
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
32
- $attrs: {
33
- [x: string]: unknown;
34
- };
35
- $refs: {
36
- [x: string]: unknown;
37
- };
38
- $slots: Readonly<{
39
- [name: string]: import('vue').Slot<any> | undefined;
40
- }>;
41
- $root: import('vue').ComponentPublicInstance | null;
42
- $parent: import('vue').ComponentPublicInstance | null;
43
- $host: Element | null;
44
- $emit: (event: string, ...args: any[]) => void;
45
- $el: any;
46
- $options: import('vue').ComponentOptionsBase<Readonly<any>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
47
- [key: string]: any;
48
- }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, {} | {
49
- [x: string]: any;
50
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
51
- beforeCreate?: (() => void) | (() => void)[];
52
- created?: (() => void) | (() => void)[];
53
- beforeMount?: (() => void) | (() => void)[];
54
- mounted?: (() => void) | (() => void)[];
55
- beforeUpdate?: (() => void) | (() => void)[];
56
- updated?: (() => void) | (() => void)[];
57
- activated?: (() => void) | (() => void)[];
58
- deactivated?: (() => void) | (() => void)[];
59
- beforeDestroy?: (() => void) | (() => void)[];
60
- beforeUnmount?: (() => void) | (() => void)[];
61
- destroyed?: (() => void) | (() => void)[];
62
- unmounted?: (() => void) | (() => void)[];
63
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
64
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
65
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
66
- };
67
- $forceUpdate: () => void;
68
- $nextTick: typeof import('vue').nextTick;
69
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
70
- $route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
71
- $router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
72
- } | {
73
- [x: string]: any;
74
- [x: number]: any;
75
- [x: symbol]: any;
76
- $: import('vue').ComponentInternalInstance;
77
- $data: {};
78
- $props: Partial<{} | {
79
- [x: string]: any;
80
- }> & Omit<{
81
- readonly [x: string]: any;
82
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
83
- $attrs: {
84
- [x: string]: unknown;
85
- };
86
- $refs: {
87
- [x: string]: unknown;
88
- };
89
- $slots: Readonly<{
90
- [name: string]: import('vue').Slot<any> | undefined;
91
- }>;
92
- $root: import('vue').ComponentPublicInstance | null;
93
- $parent: import('vue').ComponentPublicInstance | null;
94
- $host: Element | null;
95
- $emit: (event: string, ...args: any[]) => void;
96
- $el: any;
97
- $options: import('vue').ComponentOptionsBase<Readonly<any>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
98
- [key: string]: any;
99
- }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, {} | {
100
- [x: string]: any;
101
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
102
- beforeCreate?: (() => void) | (() => void)[];
103
- created?: (() => void) | (() => void)[];
104
- beforeMount?: (() => void) | (() => void)[];
105
- mounted?: (() => void) | (() => void)[];
106
- beforeUpdate?: (() => void) | (() => void)[];
107
- updated?: (() => void) | (() => void)[];
108
- activated?: (() => void) | (() => void)[];
109
- deactivated?: (() => void) | (() => void)[];
110
- beforeDestroy?: (() => void) | (() => void)[];
111
- beforeUnmount?: (() => void) | (() => void)[];
112
- destroyed?: (() => void) | (() => void)[];
113
- unmounted?: (() => void) | (() => void)[];
114
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
115
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
116
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
117
- };
118
- $forceUpdate: () => void;
119
- $nextTick: typeof import('vue').nextTick;
120
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
121
- $route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
122
- $router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
123
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
+ }>, any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
124
22
  options: {
125
23
  type: PropType<TreeSelectOptions[]>;
126
24
  default: () => never[];
@@ -62,380 +62,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
62
62
  type: NumberConstructor;
63
63
  default: number;
64
64
  };
65
- }>, {
66
- $: import('vue').ComponentInternalInstance;
67
- $data: {};
68
- $props: Partial<{
69
- readonly data: ({
70
- [x: string]: any;
71
- } | Promise<{
72
- [x: string]: any;
73
- }>) | ((rawFile: import('element-plus').UploadRawFile) => {
74
- [x: string]: any;
75
- } | Promise<{
76
- [x: string]: any;
77
- }>);
78
- readonly disabled: boolean;
79
- readonly drag: boolean;
80
- readonly multiple: boolean;
81
- readonly name: string;
82
- readonly onChange: (uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
83
- readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
84
- readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
85
- readonly method: string;
86
- readonly action: string;
87
- readonly accept: string;
88
- readonly withCredentials: boolean;
89
- readonly showFileList: boolean;
90
- readonly fileList: UploadUserFile[];
91
- readonly autoUpload: boolean;
92
- readonly listType: "picture" | "text" | "picture-card";
93
- readonly httpRequest: import('element-plus').UploadRequestHandler;
94
- readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob | null | undefined> | null | undefined;
95
- readonly onRemove: (uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
96
- readonly onPreview: (uploadFile: UploadFile) => void;
97
- readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
98
- readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
99
- }> & Omit<{
100
- readonly name: string;
101
- readonly disabled: boolean;
102
- readonly data: ({
103
- [x: string]: any;
104
- } | Promise<{
105
- [x: string]: any;
106
- }>) | ((rawFile: import('element-plus').UploadRawFile) => {
107
- [x: string]: any;
108
- } | Promise<{
109
- [x: string]: any;
110
- }>);
111
- readonly onChange: (uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
112
- readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
113
- readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
114
- readonly drag: boolean;
115
- readonly method: string;
116
- readonly multiple: boolean;
117
- readonly action: string;
118
- readonly accept: string;
119
- readonly listType: "picture" | "text" | "picture-card";
120
- readonly autoUpload: boolean;
121
- readonly showFileList: boolean;
122
- readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob | null | undefined> | null | undefined;
123
- readonly onRemove: (uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
124
- readonly onPreview: (uploadFile: UploadFile) => void;
125
- readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
126
- readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
127
- readonly withCredentials: boolean;
128
- readonly fileList: UploadUserFile[];
129
- readonly httpRequest: import('element-plus').UploadRequestHandler;
130
- readonly limit?: number | undefined;
131
- readonly beforeRemove?: ((uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => boolean | Promise<boolean>) | undefined;
132
- readonly crossorigin?: ("" | "anonymous" | "use-credentials") | undefined;
133
- readonly headers?: (Record<string, any> | Headers) | undefined;
134
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "name" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "drag" | "method" | "multiple" | "action" | "accept" | "listType" | "autoUpload" | "showFileList" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "withCredentials" | "fileList" | "httpRequest">;
135
- $attrs: {
136
- [x: string]: unknown;
137
- };
138
- $refs: {
139
- [x: string]: unknown;
140
- };
141
- $slots: Readonly<{
142
- [name: string]: import('vue').Slot<any> | undefined;
143
- }> & {
144
- file?(_: {
145
- file: UploadFile;
146
- index: number;
147
- }): any;
148
- file?(_: {
149
- file: UploadFile;
150
- index: number;
151
- }): any;
152
- trigger?(_: {}): any;
153
- trigger?(_: {}): any;
154
- default?(_: {}): any;
155
- default?(_: {}): any;
156
- default?(_: {}): any;
157
- tip?(_: {}): any;
158
- };
159
- $root: import('vue').ComponentPublicInstance | null;
160
- $parent: import('vue').ComponentPublicInstance | null;
161
- $host: Element | null;
162
- $emit: (event: string, ...args: any[]) => void;
163
- $el: any;
164
- $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
165
- readonly beforeUpload: {
166
- readonly type: PropType<(rawFile: import('element-plus').UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob | null | undefined> | null | undefined>;
167
- readonly required: false;
168
- readonly validator: ((val: unknown) => boolean) | undefined;
169
- __epPropKey: true;
170
- } & {
171
- readonly default: () => void;
172
- };
173
- readonly beforeRemove: {
174
- readonly type: PropType<(uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => boolean | Promise<boolean>>;
175
- readonly required: false;
176
- readonly validator: ((val: unknown) => boolean) | undefined;
177
- __epPropKey: true;
178
- };
179
- readonly onRemove: {
180
- readonly type: PropType<(uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
181
- readonly required: false;
182
- readonly validator: ((val: unknown) => boolean) | undefined;
183
- __epPropKey: true;
184
- } & {
185
- readonly default: () => void;
186
- };
187
- readonly onChange: {
188
- readonly type: PropType<(uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
189
- readonly required: false;
190
- readonly validator: ((val: unknown) => boolean) | undefined;
191
- __epPropKey: true;
192
- } & {
193
- readonly default: () => void;
194
- };
195
- readonly onPreview: {
196
- readonly type: PropType<(uploadFile: UploadFile) => void>;
197
- readonly required: false;
198
- readonly validator: ((val: unknown) => boolean) | undefined;
199
- __epPropKey: true;
200
- } & {
201
- readonly default: () => void;
202
- };
203
- readonly onSuccess: {
204
- readonly type: PropType<(response: any, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
205
- readonly required: false;
206
- readonly validator: ((val: unknown) => boolean) | undefined;
207
- __epPropKey: true;
208
- } & {
209
- readonly default: () => void;
210
- };
211
- readonly onProgress: {
212
- readonly type: PropType<(evt: import('element-plus').UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
213
- readonly required: false;
214
- readonly validator: ((val: unknown) => boolean) | undefined;
215
- __epPropKey: true;
216
- } & {
217
- readonly default: () => void;
218
- };
219
- readonly onError: {
220
- readonly type: PropType<(error: Error, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
221
- readonly required: false;
222
- readonly validator: ((val: unknown) => boolean) | undefined;
223
- __epPropKey: true;
224
- } & {
225
- readonly default: () => void;
226
- };
227
- readonly onExceed: {
228
- readonly type: PropType<(files: File[], uploadFiles: UploadUserFile[]) => void>;
229
- readonly required: false;
230
- readonly validator: ((val: unknown) => boolean) | undefined;
231
- __epPropKey: true;
232
- } & {
233
- readonly default: () => void;
234
- };
235
- readonly crossorigin: {
236
- readonly type: PropType<"" | "anonymous" | "use-credentials">;
237
- readonly required: false;
238
- readonly validator: ((val: unknown) => boolean) | undefined;
239
- __epPropKey: true;
240
- };
241
- readonly action: {
242
- readonly type: PropType<string>;
243
- readonly required: false;
244
- readonly validator: ((val: unknown) => boolean) | undefined;
245
- __epPropKey: true;
246
- } & {
247
- readonly default: "#";
248
- };
249
- readonly headers: {
250
- readonly type: PropType<Record<string, any> | Headers>;
251
- readonly required: false;
252
- readonly validator: ((val: unknown) => boolean) | undefined;
253
- __epPropKey: true;
254
- };
255
- readonly method: {
256
- readonly type: PropType<string>;
257
- readonly required: false;
258
- readonly validator: ((val: unknown) => boolean) | undefined;
259
- __epPropKey: true;
260
- } & {
261
- readonly default: "post";
262
- };
263
- readonly data: {
264
- readonly type: PropType<({
265
- [x: string]: any;
266
- } | Promise<{
267
- [x: string]: any;
268
- }>) | ((rawFile: import('element-plus').UploadRawFile) => {
269
- [x: string]: any;
270
- } | Promise<{
271
- [x: string]: any;
272
- }>)>;
273
- readonly required: false;
274
- readonly validator: ((val: unknown) => boolean) | undefined;
275
- __epPropKey: true;
276
- } & {
277
- readonly default: () => {};
278
- };
279
- readonly multiple: BooleanConstructor;
280
- readonly name: {
281
- readonly type: PropType<string>;
282
- readonly required: false;
283
- readonly validator: ((val: unknown) => boolean) | undefined;
284
- __epPropKey: true;
285
- } & {
286
- readonly default: "file";
287
- };
288
- readonly drag: BooleanConstructor;
289
- readonly withCredentials: BooleanConstructor;
290
- readonly showFileList: {
291
- readonly type: PropType<boolean>;
292
- readonly required: false;
293
- readonly validator: ((val: unknown) => boolean) | undefined;
294
- __epPropKey: true;
295
- } & {
296
- readonly default: true;
297
- };
298
- readonly accept: {
299
- readonly type: PropType<string>;
300
- readonly required: false;
301
- readonly validator: ((val: unknown) => boolean) | undefined;
302
- __epPropKey: true;
303
- } & {
304
- readonly default: "";
305
- };
306
- readonly fileList: {
307
- readonly type: PropType<UploadUserFile[]>;
308
- readonly required: false;
309
- readonly validator: ((val: unknown) => boolean) | undefined;
310
- __epPropKey: true;
311
- } & {
312
- readonly default: () => [];
313
- };
314
- readonly autoUpload: {
315
- readonly type: PropType<boolean>;
316
- readonly required: false;
317
- readonly validator: ((val: unknown) => boolean) | undefined;
318
- __epPropKey: true;
319
- } & {
320
- readonly default: true;
321
- };
322
- readonly listType: {
323
- readonly type: PropType<"picture" | "text" | "picture-card">;
324
- readonly required: false;
325
- readonly validator: ((val: unknown) => boolean) | undefined;
326
- __epPropKey: true;
327
- } & {
328
- readonly default: "text";
329
- };
330
- readonly httpRequest: {
331
- readonly type: PropType<import('element-plus').UploadRequestHandler>;
332
- readonly required: false;
333
- readonly validator: ((val: unknown) => boolean) | undefined;
334
- __epPropKey: true;
335
- } & {
336
- readonly default: import('element-plus').UploadRequestHandler;
337
- };
338
- readonly disabled: BooleanConstructor;
339
- readonly limit: NumberConstructor;
340
- }>>, {
341
- abort: (file: UploadFile) => void;
342
- submit: () => void;
343
- clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
344
- handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
345
- handleRemove: (file: UploadFile | import('element-plus').UploadRawFile, rawFile?: import('element-plus').UploadRawFile) => void;
346
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, {
347
- readonly data: ({
348
- [x: string]: any;
349
- } | Promise<{
350
- [x: string]: any;
351
- }>) | ((rawFile: import('element-plus').UploadRawFile) => {
352
- [x: string]: any;
353
- } | Promise<{
354
- [x: string]: any;
355
- }>);
356
- readonly disabled: boolean;
357
- readonly drag: boolean;
358
- readonly multiple: boolean;
359
- readonly name: string;
360
- readonly onChange: (uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
361
- readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
362
- readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
363
- readonly method: string;
364
- readonly action: string;
365
- readonly accept: string;
366
- readonly withCredentials: boolean;
367
- readonly showFileList: boolean;
368
- readonly fileList: UploadUserFile[];
369
- readonly autoUpload: boolean;
370
- readonly listType: "picture" | "text" | "picture-card";
371
- readonly httpRequest: import('element-plus').UploadRequestHandler;
372
- readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob | null | undefined> | null | undefined;
373
- readonly onRemove: (uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
374
- readonly onPreview: (uploadFile: UploadFile) => void;
375
- readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
376
- readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
377
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
378
- beforeCreate?: (() => void) | (() => void)[];
379
- created?: (() => void) | (() => void)[];
380
- beforeMount?: (() => void) | (() => void)[];
381
- mounted?: (() => void) | (() => void)[];
382
- beforeUpdate?: (() => void) | (() => void)[];
383
- updated?: (() => void) | (() => void)[];
384
- activated?: (() => void) | (() => void)[];
385
- deactivated?: (() => void) | (() => void)[];
386
- beforeDestroy?: (() => void) | (() => void)[];
387
- beforeUnmount?: (() => void) | (() => void)[];
388
- destroyed?: (() => void) | (() => void)[];
389
- unmounted?: (() => void) | (() => void)[];
390
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
391
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
392
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
393
- };
394
- $forceUpdate: () => void;
395
- $nextTick: typeof import('vue').nextTick;
396
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
397
- data: ({
398
- [x: string]: any;
399
- } | Promise<{
400
- [x: string]: any;
401
- }>) | ((rawFile: import('element-plus').UploadRawFile) => {
402
- [x: string]: any;
403
- } | Promise<{
404
- [x: string]: any;
405
- }>);
406
- disabled: boolean;
407
- drag: boolean;
408
- multiple: boolean;
409
- name: string;
410
- onChange: (uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
411
- onError: (error: Error, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
412
- onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
413
- method: string;
414
- action: string;
415
- accept: string;
416
- withCredentials: boolean;
417
- showFileList: boolean;
418
- fileList: UploadUserFile[];
419
- autoUpload: boolean;
420
- listType: "picture" | "text" | "picture-card";
421
- httpRequest: import('element-plus').UploadRequestHandler;
422
- beforeUpload: (rawFile: import('element-plus').UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob | null | undefined> | null | undefined;
423
- onRemove: (uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
424
- onPreview: (uploadFile: UploadFile) => void;
425
- onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
426
- onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
427
- limit?: number | undefined;
428
- beforeRemove?: ((uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => boolean | Promise<boolean>) | undefined;
429
- crossorigin?: ("" | "anonymous" | "use-credentials") | undefined;
430
- headers?: (Record<string, any> | Headers) | undefined;
431
- abort: (file: UploadFile) => void;
432
- submit: () => void;
433
- clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
434
- handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
435
- handleRemove: (file: UploadFile | import('element-plus').UploadRawFile, rawFile?: import('element-plus').UploadRawFile) => void;
436
- $route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
437
- $router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
438
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
65
+ }>, any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
439
66
  change: (...args: any[]) => void;
440
67
  error: (...args: any[]) => void;
441
68
  success: (...args: any[]) => void;
@@ -575,8 +202,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
575
202
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
576
203
  readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
577
204
  readonly drag: boolean;
578
- readonly method: string;
579
205
  readonly multiple: boolean;
206
+ readonly method: string;
580
207
  readonly action: string;
581
208
  readonly accept: string;
582
209
  readonly listType: "picture" | "text" | "picture-card";
@@ -594,7 +221,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
594
221
  readonly beforeRemove?: ((uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => boolean | Promise<boolean>) | undefined;
595
222
  readonly crossorigin?: ("" | "anonymous" | "use-credentials") | undefined;
596
223
  readonly headers?: (Record<string, any> | Headers) | undefined;
597
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "name" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "drag" | "method" | "multiple" | "action" | "accept" | "listType" | "autoUpload" | "showFileList" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "withCredentials" | "fileList" | "httpRequest">;
224
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "name" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "drag" | "multiple" | "method" | "action" | "accept" | "listType" | "autoUpload" | "showFileList" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "withCredentials" | "fileList" | "httpRequest">;
598
225
  $attrs: {
599
226
  [x: string]: unknown;
600
227
  };
@@ -1049,7 +676,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1049
676
  };
1050
677
  readonly disabled: BooleanConstructor;
1051
678
  readonly limit: NumberConstructor;
1052
- }>>, "name" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "abort" | "drag" | "submit" | "method" | "multiple" | "action" | "accept" | "listType" | "autoUpload" | "showFileList" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "withCredentials" | "fileList" | "httpRequest" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
679
+ }>>, "name" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "abort" | "drag" | "submit" | "multiple" | "method" | "action" | "accept" | "listType" | "autoUpload" | "showFileList" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "withCredentials" | "fileList" | "httpRequest" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
1053
680
  abort: (file: UploadFile) => void;
1054
681
  submit: () => void;
1055
682
  clearFiles: (states?: import('element-plus').UploadStatus[]) => void;