ra-element 0.1.56 → 0.1.62

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.
@@ -19,105 +19,107 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
19
19
  default: boolean;
20
20
  };
21
21
  }>, {
22
- componentRef: Readonly<import('vue').ShallowRef<({
23
- $: import('vue').ComponentInternalInstance;
24
- $data: {};
25
- $props: Partial<{} | {
26
- [x: string]: any;
27
- }> & Omit<{
28
- readonly [x: string]: any;
29
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
30
- $attrs: {
31
- [x: string]: unknown;
32
- };
33
- $refs: {
34
- [x: string]: unknown;
35
- };
36
- $slots: Readonly<{
37
- [name: string]: import('vue').Slot<any> | undefined;
38
- }>;
39
- $root: import('vue').ComponentPublicInstance | null;
40
- $parent: import('vue').ComponentPublicInstance | null;
41
- $host: Element | null;
42
- $emit: (event: string, ...args: any[]) => void;
43
- $el: any;
44
- $options: import('vue').ComponentOptionsBase<Readonly<any>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
45
- [key: string]: any;
46
- }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, {} | {
47
- [x: string]: any;
48
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
49
- beforeCreate?: (() => void) | (() => void)[];
50
- created?: (() => void) | (() => void)[];
51
- beforeMount?: (() => void) | (() => void)[];
52
- mounted?: (() => void) | (() => void)[];
53
- beforeUpdate?: (() => void) | (() => void)[];
54
- updated?: (() => void) | (() => void)[];
55
- activated?: (() => void) | (() => void)[];
56
- deactivated?: (() => void) | (() => void)[];
57
- beforeDestroy?: (() => void) | (() => void)[];
58
- beforeUnmount?: (() => void) | (() => void)[];
59
- destroyed?: (() => void) | (() => void)[];
60
- unmounted?: (() => void) | (() => void)[];
61
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
62
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
63
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
64
- };
65
- $forceUpdate: () => void;
66
- $nextTick: typeof import('vue').nextTick;
67
- $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;
68
- } & Readonly<{}> & Omit<Readonly<any>, never> & import('vue').ShallowUnwrapRef<() => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
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, {
69
47
  [key: string]: any;
70
- }>> & {} & import('vue').ComponentCustomProperties & {}) | ({
71
- $: import('vue').ComponentInternalInstance;
72
- $data: {};
73
- $props: Partial<{} | {
74
- [x: string]: any;
75
- }> & Omit<{
76
- readonly [x: string]: any;
77
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
78
- $attrs: {
79
- [x: string]: unknown;
80
- };
81
- $refs: {
82
- [x: string]: unknown;
83
- };
84
- $slots: Readonly<{
85
- [name: string]: import('vue').Slot<any> | undefined;
86
- }>;
87
- $root: import('vue').ComponentPublicInstance | null;
88
- $parent: import('vue').ComponentPublicInstance | null;
89
- $host: Element | null;
90
- $emit: (event: string, ...args: any[]) => void;
91
- $el: any;
92
- $options: import('vue').ComponentOptionsBase<Readonly<any>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
93
- [key: string]: any;
94
- }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, {} | {
95
- [x: string]: any;
96
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
97
- beforeCreate?: (() => void) | (() => void)[];
98
- created?: (() => void) | (() => void)[];
99
- beforeMount?: (() => void) | (() => void)[];
100
- mounted?: (() => void) | (() => void)[];
101
- beforeUpdate?: (() => void) | (() => void)[];
102
- updated?: (() => void) | (() => void)[];
103
- activated?: (() => void) | (() => void)[];
104
- deactivated?: (() => void) | (() => void)[];
105
- beforeDestroy?: (() => void) | (() => void)[];
106
- beforeUnmount?: (() => void) | (() => void)[];
107
- destroyed?: (() => void) | (() => void)[];
108
- unmounted?: (() => void) | (() => void)[];
109
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
110
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
111
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
112
- };
113
- $forceUpdate: () => void;
114
- $nextTick: typeof import('vue').nextTick;
115
- $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;
116
- } & Readonly<{
48
+ }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, {} | {
117
49
  [x: string]: any;
118
- }> & Omit<Readonly<any>, never> & import('vue').ShallowUnwrapRef<() => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
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, {
119
98
  [key: string]: any;
120
- }>> & {} & import('vue').ComponentCustomProperties & {}) | null>>;
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;
121
123
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
122
124
  options: {
123
125
  type: PropType<TreeSelectOptions[]>;
@@ -63,8 +63,378 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
63
63
  default: number;
64
64
  };
65
65
  }>, {
66
- submitUpload: () => void;
67
- clearFiles: () => void;
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;
68
438
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
69
439
  change: (...args: any[]) => void;
70
440
  error: (...args: any[]) => void;
@@ -146,16 +516,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
146
516
  multiple: boolean;
147
517
  tipText: string;
148
518
  action: string;
149
- showFileList: boolean;
519
+ limit: number;
150
520
  accept: string;
151
- autoUpload: boolean;
152
521
  listType: "picture" | "text" | "picture-card";
153
- limit: number;
154
522
  buttonText: string;
155
523
  dragText: string;
524
+ autoUpload: boolean;
525
+ showFileList: boolean;
156
526
  maxSize: number;
157
527
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
158
- uploadRef: ({
528
+ componentRef: ({
159
529
  $: import('vue').ComponentInternalInstance;
160
530
  $data: {};
161
531
  $props: Partial<{
@@ -205,26 +575,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
205
575
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
206
576
  readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
207
577
  readonly drag: boolean;
208
- readonly multiple: boolean;
209
578
  readonly method: string;
579
+ readonly multiple: boolean;
580
+ readonly action: string;
581
+ readonly accept: string;
582
+ readonly listType: "picture" | "text" | "picture-card";
583
+ readonly autoUpload: boolean;
584
+ readonly showFileList: boolean;
210
585
  readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob | null | undefined> | null | undefined;
211
586
  readonly onRemove: (uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
212
587
  readonly onPreview: (uploadFile: UploadFile) => void;
213
588
  readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
214
589
  readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
215
- readonly action: string;
216
590
  readonly withCredentials: boolean;
217
- readonly showFileList: boolean;
218
- readonly accept: string;
219
591
  readonly fileList: UploadUserFile[];
220
- readonly autoUpload: boolean;
221
- readonly listType: "picture" | "text" | "picture-card";
222
592
  readonly httpRequest: import('element-plus').UploadRequestHandler;
593
+ readonly limit?: number | undefined;
223
594
  readonly beforeRemove?: ((uploadFile: UploadFile, uploadFiles: import('element-plus').UploadFiles) => boolean | Promise<boolean>) | undefined;
224
595
  readonly crossorigin?: ("" | "anonymous" | "use-credentials") | undefined;
225
596
  readonly headers?: (Record<string, any> | Headers) | undefined;
226
- readonly limit?: number | undefined;
227
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "name" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "drag" | "multiple" | "method" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
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">;
228
598
  $attrs: {
229
599
  [x: string]: unknown;
230
600
  };
@@ -679,7 +1049,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
679
1049
  };
680
1050
  readonly disabled: BooleanConstructor;
681
1051
  readonly limit: NumberConstructor;
682
- }>>, "name" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "abort" | "drag" | "submit" | "multiple" | "method" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
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<{
683
1053
  abort: (file: UploadFile) => void;
684
1054
  submit: () => void;
685
1055
  clearFiles: (states?: import('element-plus').UploadStatus[]) => void;