@uzum-tech/ui 2.3.1 → 2.3.2

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.
Files changed (52) hide show
  1. package/dist/index.js +373 -340
  2. package/dist/index.mjs +373 -340
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +2 -2
  5. package/es/components.d.ts +10 -7
  6. package/es/image/src/ImagePreview.d.ts +1 -0
  7. package/es/image/src/ImagePreview.mjs +7 -35
  8. package/es/image/src/public-types.d.ts +4 -4
  9. package/es/message-bubble/src/MessageBubble.mjs +10 -3
  10. package/es/upload/index.d.ts +2 -1
  11. package/es/upload/index.mjs +2 -1
  12. package/es/upload/src/Upload.d.ts +73 -1007
  13. package/es/upload/src/Upload.mjs +43 -124
  14. package/es/upload/src/UploadFile.d.ts +1 -1
  15. package/es/upload/src/UploadFile.mjs +8 -2
  16. package/es/upload/src/UploadFileList.mjs +17 -2
  17. package/es/upload/src/UploadProgress.d.ts +3 -2
  18. package/es/upload/src/interface.d.ts +1086 -92
  19. package/es/upload/src/interface.mjs +117 -1
  20. package/es/upload/src/public-types.d.ts +17 -2
  21. package/es/upload/src/useUploadActionsRender.d.ts +2 -27
  22. package/es/upload/src/useUploadActionsRender.mjs +2 -2
  23. package/es/upload/src/useUploadInternals.d.ts +2 -25
  24. package/es/upload/src/utils.d.ts +2 -0
  25. package/es/upload/src/utils.mjs +7 -0
  26. package/es/version.d.ts +1 -1
  27. package/es/version.mjs +1 -1
  28. package/lib/components.d.ts +10 -7
  29. package/lib/image/src/ImagePreview.d.ts +1 -0
  30. package/lib/image/src/ImagePreview.js +3 -19
  31. package/lib/image/src/public-types.d.ts +4 -4
  32. package/lib/message-bubble/src/MessageBubble.js +10 -4
  33. package/lib/upload/index.d.ts +2 -1
  34. package/lib/upload/index.js +2 -1
  35. package/lib/upload/src/Upload.d.ts +73 -1007
  36. package/lib/upload/src/Upload.js +40 -68
  37. package/lib/upload/src/UploadFile.d.ts +1 -1
  38. package/lib/upload/src/UploadFile.js +12 -4
  39. package/lib/upload/src/UploadFileList.js +8 -1
  40. package/lib/upload/src/UploadProgress.d.ts +3 -2
  41. package/lib/upload/src/interface.d.ts +1086 -92
  42. package/lib/upload/src/interface.js +59 -1
  43. package/lib/upload/src/public-types.d.ts +17 -2
  44. package/lib/upload/src/useUploadActionsRender.d.ts +2 -27
  45. package/lib/upload/src/useUploadActionsRender.js +2 -2
  46. package/lib/upload/src/useUploadInternals.d.ts +2 -25
  47. package/lib/upload/src/utils.d.ts +2 -0
  48. package/lib/upload/src/utils.js +10 -0
  49. package/lib/version.d.ts +1 -1
  50. package/lib/version.js +1 -1
  51. package/package.json +1 -1
  52. package/web-types.json +104 -23
@@ -1,938 +1,4 @@
1
- import type { CSSProperties, InputHTMLAttributes, PropType, VNodeChild } from 'vue';
2
- import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
3
- import type { ImageGroupProps } from '../../image';
4
- import type { CreateThumbnailUrl, CustomRequest, FileInfo, FuncOrRecordOrUndef, ListType, OnBeforeUpload, OnChange, OnDownload, OnError, OnFinish, OnPreview, OnRemove, OnRetry, OnUpdateFileList, RenderIcon, SettledFileInfo, ShouldUseThumbnailUrl } from './interface';
5
- export declare const uploadProps: {
6
- readonly name: {
7
- readonly type: StringConstructor;
8
- readonly default: "file";
9
- };
10
- readonly accept: StringConstructor;
11
- readonly action: StringConstructor;
12
- readonly customRequest: PropType<CustomRequest>;
13
- readonly directory: BooleanConstructor;
14
- readonly directoryDnd: {
15
- readonly type: BooleanConstructor;
16
- readonly default: undefined;
17
- };
18
- readonly method: {
19
- readonly type: StringConstructor;
20
- readonly default: "POST";
21
- };
22
- readonly multiple: BooleanConstructor;
23
- readonly showFileList: {
24
- readonly type: BooleanConstructor;
25
- readonly default: true;
26
- };
27
- readonly data: PropType<FuncOrRecordOrUndef<string | Blob>>;
28
- readonly headers: PropType<FuncOrRecordOrUndef>;
29
- readonly withCredentials: BooleanConstructor;
30
- readonly responseType: {
31
- readonly type: PropType<XMLHttpRequestResponseType>;
32
- readonly default: "";
33
- };
34
- readonly disabled: {
35
- readonly type: PropType<boolean | undefined>;
36
- readonly default: undefined;
37
- };
38
- readonly vertical: {
39
- readonly type: BooleanConstructor;
40
- readonly default: false;
41
- };
42
- readonly icon: PropType<VNodeChild | undefined>;
43
- readonly onChange: PropType<OnChange>;
44
- readonly onRemove: PropType<OnRemove>;
45
- readonly onFinish: PropType<OnFinish>;
46
- readonly onError: PropType<OnError>;
47
- readonly onRetry: PropType<OnRetry>;
48
- readonly onBeforeUpload: PropType<OnBeforeUpload>;
49
- readonly isErrorState: PropType<(xhr: XMLHttpRequest) => boolean>;
50
- /** currently not used */
51
- readonly onDownload: PropType<OnDownload>;
52
- readonly defaultUpload: {
53
- readonly type: BooleanConstructor;
54
- readonly default: true;
55
- };
56
- readonly fileList: PropType<FileInfo[]>;
57
- readonly 'onUpdate:fileList': PropType<MaybeArray<OnUpdateFileList>>;
58
- readonly onUpdateFileList: PropType<MaybeArray<OnUpdateFileList>>;
59
- readonly fileListClass: StringConstructor;
60
- readonly fileListStyle: PropType<string | CSSProperties>;
61
- readonly defaultFileList: {
62
- readonly type: PropType<FileInfo[]>;
63
- readonly default: () => never[];
64
- };
65
- readonly showCancelButton: {
66
- readonly type: BooleanConstructor;
67
- readonly default: true;
68
- };
69
- readonly showRemoveButton: {
70
- readonly type: BooleanConstructor;
71
- readonly default: true;
72
- };
73
- readonly showDownloadButton: BooleanConstructor;
74
- readonly showRetryButton: {
75
- readonly type: BooleanConstructor;
76
- readonly default: true;
77
- };
78
- readonly customDownload: PropType<OnDownload>;
79
- readonly showPreviewButton: {
80
- readonly type: BooleanConstructor;
81
- readonly default: true;
82
- };
83
- readonly listType: {
84
- readonly type: PropType<ListType>;
85
- readonly default: "text";
86
- };
87
- readonly onPreview: PropType<OnPreview>;
88
- readonly shouldUseThumbnailUrl: {
89
- readonly type: PropType<ShouldUseThumbnailUrl>;
90
- readonly default: (file: SettledFileInfo) => boolean;
91
- };
92
- readonly createThumbnailUrl: PropType<CreateThumbnailUrl>;
93
- readonly abstract: BooleanConstructor;
94
- readonly max: NumberConstructor;
95
- readonly showTrigger: {
96
- readonly type: BooleanConstructor;
97
- readonly default: true;
98
- };
99
- readonly imageGroupProps: PropType<ImageGroupProps>;
100
- readonly inputProps: PropType<InputHTMLAttributes>;
101
- readonly triggerClass: StringConstructor;
102
- readonly triggerStyle: PropType<CSSProperties | string>;
103
- readonly renderIcon: PropType<RenderIcon>;
104
- readonly label: StringConstructor;
105
- readonly size: {
106
- readonly type: PropType<"small" | "medium" | "large">;
107
- readonly default: "medium";
108
- };
109
- readonly title: StringConstructor;
110
- readonly subtitle: StringConstructor;
111
- readonly noIcon: {
112
- readonly type: BooleanConstructor;
113
- readonly default: false;
114
- };
115
- readonly theme: PropType<import("../../_mixins").Theme<"Upload", {
116
- baseColor: string;
117
- fontSize: string;
118
- lineHeight: string;
119
- borderRadius: string;
120
- draggerColor: string;
121
- draggerBorder: string;
122
- draggerBorderHover: string;
123
- draggerShadowFocus: string;
124
- itemColorHover: string;
125
- itemColorHoverError: string;
126
- itemTextColor: string;
127
- itemTextColorError: string;
128
- itemTextColorSuccess: string;
129
- itemIconColor: string;
130
- itemDisabledOpacity: string;
131
- itemBorderImageCardError: string;
132
- itemBorderImageCard: string;
133
- draggerIconBgColor: string;
134
- draggerIconColor: string;
135
- draggerTitleColor: string;
136
- draggerTextColor: string;
137
- labelColor: string;
138
- widthSmall: string;
139
- widthMedium: string;
140
- widthLarge: string;
141
- containerSecondary: string;
142
- brandPrimary300: string;
143
- elementsQuaternary: string;
144
- }, {
145
- Button: import("../../_mixins").Theme<"Button", {
146
- heightTiny: string;
147
- heightSmall: string;
148
- heightMedium: string;
149
- heightLarge: string;
150
- borderRadiusTiny: string;
151
- borderRadiusSmall: string;
152
- borderRadiusMedium: string;
153
- borderRadiusLarge: string;
154
- fontSizeTiny: string;
155
- fontSizeSmall: string;
156
- fontSizeMedium: string;
157
- fontSizeLarge: string;
158
- opacityDisabled: string;
159
- colorOpacitySecondary: string;
160
- colorOpacitySecondaryHover: string;
161
- colorOpacitySecondaryPressed: string;
162
- colorOpacitySecondaryFocus: string;
163
- colorSecondary: string;
164
- colorSecondaryHover: string;
165
- colorSecondaryPressed: string;
166
- colorSecondaryFocus: string;
167
- colorSecondaryDisabled: string;
168
- textColorSecondaryDisabled: string;
169
- waveColorSecondary: string;
170
- colorTertiary: string;
171
- colorTertiaryHover: string;
172
- colorTertiaryPressed: string;
173
- colorTertiaryFocus: string;
174
- colorTertiaryDisalbed: string;
175
- waveColorTertiary: string;
176
- textColorTextTertiary: string;
177
- rippleColorTertiary: string;
178
- colorQuaternary: string;
179
- colorQuaternaryHover: string;
180
- colorQuaternaryPressed: string;
181
- colorQuaternaryFocus: string;
182
- rippleColorQuaternary: string;
183
- waveColorQuaternary: string;
184
- color: string;
185
- colorHover: string;
186
- colorPressed: string;
187
- colorFocus: string;
188
- colorDisabled: string;
189
- textColor: string;
190
- textTertiary: string;
191
- textColorTertiary: string;
192
- textColorHover: string;
193
- textColorPressed: string;
194
- textColorFocus: string;
195
- textColorDisabled: string;
196
- textColorText: string;
197
- textColorTextHover: string;
198
- textColorTextPressed: string;
199
- textColorTextFocus: string;
200
- textColorTextDisabled: string;
201
- textColorGhost: string;
202
- textColorGhostHover: string;
203
- textColorGhostPressed: string;
204
- textColorGhostFocus: string;
205
- textColorGhostDisabled: string;
206
- border: string;
207
- borderHover: string;
208
- borderPressed: string;
209
- borderFocus: string;
210
- borderDisabled: string;
211
- rippleColor: string;
212
- colorPrimary: string;
213
- colorHoverPrimary: string;
214
- colorPressedPrimary: string;
215
- colorFocusPrimary: string;
216
- colorDisabledPrimary: string;
217
- waveColorPrimary: string;
218
- textColorPrimary: string;
219
- textColorHoverPrimary: string;
220
- textColorPressedPrimary: string;
221
- textColorFocusPrimary: string;
222
- textColorDisabledPrimary: string;
223
- textColorTextPrimary: string;
224
- textColorTextHoverPrimary: string;
225
- textColorTextPressedPrimary: string;
226
- textColorTextFocusPrimary: string;
227
- textColorTextDisabledPrimary: string;
228
- textColorGhostPrimary: string;
229
- textColorGhostHoverPrimary: string;
230
- textColorGhostPressedPrimary: string;
231
- textColorGhostFocusPrimary: string;
232
- textColorGhostDisabledPrimary: string;
233
- borderPrimary: string;
234
- borderHoverPrimary: string;
235
- borderPressedPrimary: string;
236
- borderFocusPrimary: string;
237
- borderDisabledPrimary: string;
238
- rippleColorPrimary: string;
239
- colorInfo: string;
240
- colorHoverInfo: string;
241
- colorPressedInfo: string;
242
- colorFocusInfo: string;
243
- colorDisabledInfo: string;
244
- textColorInfo: string;
245
- textColorHoverInfo: string;
246
- textColorPressedInfo: string;
247
- textColorFocusInfo: string;
248
- textColorDisabledInfo: string;
249
- textColorTextInfo: string;
250
- textColorTextHoverInfo: string;
251
- textColorTextPressedInfo: string;
252
- textColorTextFocusInfo: string;
253
- textColorTextDisabledInfo: string;
254
- textColorGhostInfo: string;
255
- textColorGhostHoverInfo: string;
256
- textColorGhostPressedInfo: string;
257
- textColorGhostFocusInfo: string;
258
- textColorGhostDisabledInfo: string;
259
- borderInfo: string;
260
- borderHoverInfo: string;
261
- borderPressedInfo: string;
262
- borderFocusInfo: string;
263
- borderDisabledInfo: string;
264
- rippleColorInfo: string;
265
- colorSuccess: string;
266
- colorHoverSuccess: string;
267
- colorPressedSuccess: string;
268
- colorFocusSuccess: string;
269
- colorDisabledSuccess: string;
270
- textColorSuccess: string;
271
- textColorHoverSuccess: string;
272
- textColorPressedSuccess: string;
273
- textColorFocusSuccess: string;
274
- textColorDisabledSuccess: string;
275
- textColorTextSuccess: string;
276
- textColorTextHoverSuccess: string;
277
- textColorTextPressedSuccess: string;
278
- textColorTextFocusSuccess: string;
279
- textColorTextDisabledSuccess: string;
280
- textColorGhostSuccess: string;
281
- textColorGhostHoverSuccess: string;
282
- textColorGhostPressedSuccess: string;
283
- textColorGhostFocusSuccess: string;
284
- textColorGhostDisabledSuccess: string;
285
- borderSuccess: string;
286
- borderHoverSuccess: string;
287
- borderPressedSuccess: string;
288
- borderFocusSuccess: string;
289
- borderDisabledSuccess: string;
290
- rippleColorSuccess: string;
291
- colorWarning: string;
292
- colorHoverWarning: string;
293
- colorPressedWarning: string;
294
- colorFocusWarning: string;
295
- colorDisabledWarning: string;
296
- textColorWarning: string;
297
- textColorHoverWarning: string;
298
- textColorPressedWarning: string;
299
- textColorFocusWarning: string;
300
- textColorDisabledWarning: string;
301
- textColorTextWarning: string;
302
- textColorTextHoverWarning: string;
303
- textColorTextPressedWarning: string;
304
- textColorTextFocusWarning: string;
305
- textColorTextDisabledWarning: string;
306
- textColorGhostWarning: string;
307
- textColorGhostHoverWarning: string;
308
- textColorGhostPressedWarning: string;
309
- textColorGhostFocusWarning: string;
310
- textColorGhostDisabledWarning: string;
311
- borderWarning: string;
312
- borderHoverWarning: string;
313
- borderPressedWarning: string;
314
- borderFocusWarning: string;
315
- borderDisabledWarning: string;
316
- rippleColorWarning: string;
317
- colorError: string;
318
- colorHoverError: string;
319
- colorPressedError: string;
320
- colorFocusError: string;
321
- colorDisabledError: string;
322
- textColorError: string;
323
- textColorHoverError: string;
324
- textColorPressedError: string;
325
- textColorFocusError: string;
326
- textColorDisabledError: string;
327
- textColorTextError: string;
328
- textColorTextHoverError: string;
329
- textColorTextPressedError: string;
330
- textColorTextFocusError: string;
331
- textColorTextDisabledError: string;
332
- textColorGhostError: string;
333
- textColorGhostHoverError: string;
334
- textColorGhostPressedError: string;
335
- textColorGhostFocusError: string;
336
- textColorGhostDisabledError: string;
337
- borderError: string;
338
- borderHoverError: string;
339
- borderPressedError: string;
340
- borderFocusError: string;
341
- borderDisabledError: string;
342
- rippleColorError: string;
343
- waveOpacity: string;
344
- fontWeight: string;
345
- fontWeightStrong: string;
346
- paddingTiny: string;
347
- paddingSmall: string;
348
- paddingMedium: string;
349
- paddingLarge: string;
350
- paddingRoundTiny: string;
351
- paddingRoundSmall: string;
352
- paddingRoundMedium: string;
353
- paddingRoundLarge: string;
354
- iconMarginTiny: string;
355
- iconMarginSmall: string;
356
- iconMarginMedium: string;
357
- iconMarginLarge: string;
358
- iconSizeTiny: string;
359
- iconSizeSmall: string;
360
- iconSizeMedium: string;
361
- iconSizeLarge: string;
362
- rippleDuration: string;
363
- }, any>;
364
- Progress: import("../../_mixins").Theme<"Progress", {
365
- fontSize: string;
366
- fontSizeCircle: string;
367
- fontWeightCircle: string;
368
- railColor: string;
369
- railHeight: string;
370
- iconSizeCircle: string;
371
- iconSizeLine: string;
372
- iconColor: string;
373
- iconColorInfo: string;
374
- iconColorSuccess: string;
375
- iconColorWarning: string;
376
- iconColorError: string;
377
- textColorCircle: string;
378
- textColorLineInner: string;
379
- textColorLineOuter: string;
380
- fillColor: string;
381
- fillColorInfo: string;
382
- fillColorSuccess: string;
383
- fillColorWarning: string;
384
- fillColorError: string;
385
- lineBgProcessing: string;
386
- }, any>;
387
- }>>;
388
- readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Upload", {
389
- baseColor: string;
390
- fontSize: string;
391
- lineHeight: string;
392
- borderRadius: string;
393
- draggerColor: string;
394
- draggerBorder: string;
395
- draggerBorderHover: string;
396
- draggerShadowFocus: string;
397
- itemColorHover: string;
398
- itemColorHoverError: string;
399
- itemTextColor: string;
400
- itemTextColorError: string;
401
- itemTextColorSuccess: string;
402
- itemIconColor: string;
403
- itemDisabledOpacity: string;
404
- itemBorderImageCardError: string;
405
- itemBorderImageCard: string;
406
- draggerIconBgColor: string;
407
- draggerIconColor: string;
408
- draggerTitleColor: string;
409
- draggerTextColor: string;
410
- labelColor: string;
411
- widthSmall: string;
412
- widthMedium: string;
413
- widthLarge: string;
414
- containerSecondary: string;
415
- brandPrimary300: string;
416
- elementsQuaternary: string;
417
- }, {
418
- Button: import("../../_mixins").Theme<"Button", {
419
- heightTiny: string;
420
- heightSmall: string;
421
- heightMedium: string;
422
- heightLarge: string;
423
- borderRadiusTiny: string;
424
- borderRadiusSmall: string;
425
- borderRadiusMedium: string;
426
- borderRadiusLarge: string;
427
- fontSizeTiny: string;
428
- fontSizeSmall: string;
429
- fontSizeMedium: string;
430
- fontSizeLarge: string;
431
- opacityDisabled: string;
432
- colorOpacitySecondary: string;
433
- colorOpacitySecondaryHover: string;
434
- colorOpacitySecondaryPressed: string;
435
- colorOpacitySecondaryFocus: string;
436
- colorSecondary: string;
437
- colorSecondaryHover: string;
438
- colorSecondaryPressed: string;
439
- colorSecondaryFocus: string;
440
- colorSecondaryDisabled: string;
441
- textColorSecondaryDisabled: string;
442
- waveColorSecondary: string;
443
- colorTertiary: string;
444
- colorTertiaryHover: string;
445
- colorTertiaryPressed: string;
446
- colorTertiaryFocus: string;
447
- colorTertiaryDisalbed: string;
448
- waveColorTertiary: string;
449
- textColorTextTertiary: string;
450
- rippleColorTertiary: string;
451
- colorQuaternary: string;
452
- colorQuaternaryHover: string;
453
- colorQuaternaryPressed: string;
454
- colorQuaternaryFocus: string;
455
- rippleColorQuaternary: string;
456
- waveColorQuaternary: string;
457
- color: string;
458
- colorHover: string;
459
- colorPressed: string;
460
- colorFocus: string;
461
- colorDisabled: string;
462
- textColor: string;
463
- textTertiary: string;
464
- textColorTertiary: string;
465
- textColorHover: string;
466
- textColorPressed: string;
467
- textColorFocus: string;
468
- textColorDisabled: string;
469
- textColorText: string;
470
- textColorTextHover: string;
471
- textColorTextPressed: string;
472
- textColorTextFocus: string;
473
- textColorTextDisabled: string;
474
- textColorGhost: string;
475
- textColorGhostHover: string;
476
- textColorGhostPressed: string;
477
- textColorGhostFocus: string;
478
- textColorGhostDisabled: string;
479
- border: string;
480
- borderHover: string;
481
- borderPressed: string;
482
- borderFocus: string;
483
- borderDisabled: string;
484
- rippleColor: string;
485
- colorPrimary: string;
486
- colorHoverPrimary: string;
487
- colorPressedPrimary: string;
488
- colorFocusPrimary: string;
489
- colorDisabledPrimary: string;
490
- waveColorPrimary: string;
491
- textColorPrimary: string;
492
- textColorHoverPrimary: string;
493
- textColorPressedPrimary: string;
494
- textColorFocusPrimary: string;
495
- textColorDisabledPrimary: string;
496
- textColorTextPrimary: string;
497
- textColorTextHoverPrimary: string;
498
- textColorTextPressedPrimary: string;
499
- textColorTextFocusPrimary: string;
500
- textColorTextDisabledPrimary: string;
501
- textColorGhostPrimary: string;
502
- textColorGhostHoverPrimary: string;
503
- textColorGhostPressedPrimary: string;
504
- textColorGhostFocusPrimary: string;
505
- textColorGhostDisabledPrimary: string;
506
- borderPrimary: string;
507
- borderHoverPrimary: string;
508
- borderPressedPrimary: string;
509
- borderFocusPrimary: string;
510
- borderDisabledPrimary: string;
511
- rippleColorPrimary: string;
512
- colorInfo: string;
513
- colorHoverInfo: string;
514
- colorPressedInfo: string;
515
- colorFocusInfo: string;
516
- colorDisabledInfo: string;
517
- textColorInfo: string;
518
- textColorHoverInfo: string;
519
- textColorPressedInfo: string;
520
- textColorFocusInfo: string;
521
- textColorDisabledInfo: string;
522
- textColorTextInfo: string;
523
- textColorTextHoverInfo: string;
524
- textColorTextPressedInfo: string;
525
- textColorTextFocusInfo: string;
526
- textColorTextDisabledInfo: string;
527
- textColorGhostInfo: string;
528
- textColorGhostHoverInfo: string;
529
- textColorGhostPressedInfo: string;
530
- textColorGhostFocusInfo: string;
531
- textColorGhostDisabledInfo: string;
532
- borderInfo: string;
533
- borderHoverInfo: string;
534
- borderPressedInfo: string;
535
- borderFocusInfo: string;
536
- borderDisabledInfo: string;
537
- rippleColorInfo: string;
538
- colorSuccess: string;
539
- colorHoverSuccess: string;
540
- colorPressedSuccess: string;
541
- colorFocusSuccess: string;
542
- colorDisabledSuccess: string;
543
- textColorSuccess: string;
544
- textColorHoverSuccess: string;
545
- textColorPressedSuccess: string;
546
- textColorFocusSuccess: string;
547
- textColorDisabledSuccess: string;
548
- textColorTextSuccess: string;
549
- textColorTextHoverSuccess: string;
550
- textColorTextPressedSuccess: string;
551
- textColorTextFocusSuccess: string;
552
- textColorTextDisabledSuccess: string;
553
- textColorGhostSuccess: string;
554
- textColorGhostHoverSuccess: string;
555
- textColorGhostPressedSuccess: string;
556
- textColorGhostFocusSuccess: string;
557
- textColorGhostDisabledSuccess: string;
558
- borderSuccess: string;
559
- borderHoverSuccess: string;
560
- borderPressedSuccess: string;
561
- borderFocusSuccess: string;
562
- borderDisabledSuccess: string;
563
- rippleColorSuccess: string;
564
- colorWarning: string;
565
- colorHoverWarning: string;
566
- colorPressedWarning: string;
567
- colorFocusWarning: string;
568
- colorDisabledWarning: string;
569
- textColorWarning: string;
570
- textColorHoverWarning: string;
571
- textColorPressedWarning: string;
572
- textColorFocusWarning: string;
573
- textColorDisabledWarning: string;
574
- textColorTextWarning: string;
575
- textColorTextHoverWarning: string;
576
- textColorTextPressedWarning: string;
577
- textColorTextFocusWarning: string;
578
- textColorTextDisabledWarning: string;
579
- textColorGhostWarning: string;
580
- textColorGhostHoverWarning: string;
581
- textColorGhostPressedWarning: string;
582
- textColorGhostFocusWarning: string;
583
- textColorGhostDisabledWarning: string;
584
- borderWarning: string;
585
- borderHoverWarning: string;
586
- borderPressedWarning: string;
587
- borderFocusWarning: string;
588
- borderDisabledWarning: string;
589
- rippleColorWarning: string;
590
- colorError: string;
591
- colorHoverError: string;
592
- colorPressedError: string;
593
- colorFocusError: string;
594
- colorDisabledError: string;
595
- textColorError: string;
596
- textColorHoverError: string;
597
- textColorPressedError: string;
598
- textColorFocusError: string;
599
- textColorDisabledError: string;
600
- textColorTextError: string;
601
- textColorTextHoverError: string;
602
- textColorTextPressedError: string;
603
- textColorTextFocusError: string;
604
- textColorTextDisabledError: string;
605
- textColorGhostError: string;
606
- textColorGhostHoverError: string;
607
- textColorGhostPressedError: string;
608
- textColorGhostFocusError: string;
609
- textColorGhostDisabledError: string;
610
- borderError: string;
611
- borderHoverError: string;
612
- borderPressedError: string;
613
- borderFocusError: string;
614
- borderDisabledError: string;
615
- rippleColorError: string;
616
- waveOpacity: string;
617
- fontWeight: string;
618
- fontWeightStrong: string;
619
- paddingTiny: string;
620
- paddingSmall: string;
621
- paddingMedium: string;
622
- paddingLarge: string;
623
- paddingRoundTiny: string;
624
- paddingRoundSmall: string;
625
- paddingRoundMedium: string;
626
- paddingRoundLarge: string;
627
- iconMarginTiny: string;
628
- iconMarginSmall: string;
629
- iconMarginMedium: string;
630
- iconMarginLarge: string;
631
- iconSizeTiny: string;
632
- iconSizeSmall: string;
633
- iconSizeMedium: string;
634
- iconSizeLarge: string;
635
- rippleDuration: string;
636
- }, any>;
637
- Progress: import("../../_mixins").Theme<"Progress", {
638
- fontSize: string;
639
- fontSizeCircle: string;
640
- fontWeightCircle: string;
641
- railColor: string;
642
- railHeight: string;
643
- iconSizeCircle: string;
644
- iconSizeLine: string;
645
- iconColor: string;
646
- iconColorInfo: string;
647
- iconColorSuccess: string;
648
- iconColorWarning: string;
649
- iconColorError: string;
650
- textColorCircle: string;
651
- textColorLineInner: string;
652
- textColorLineOuter: string;
653
- fillColor: string;
654
- fillColorInfo: string;
655
- fillColorSuccess: string;
656
- fillColorWarning: string;
657
- fillColorError: string;
658
- lineBgProcessing: string;
659
- }, any>;
660
- }>>>;
661
- readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Upload", {
662
- baseColor: string;
663
- fontSize: string;
664
- lineHeight: string;
665
- borderRadius: string;
666
- draggerColor: string;
667
- draggerBorder: string;
668
- draggerBorderHover: string;
669
- draggerShadowFocus: string;
670
- itemColorHover: string;
671
- itemColorHoverError: string;
672
- itemTextColor: string;
673
- itemTextColorError: string;
674
- itemTextColorSuccess: string;
675
- itemIconColor: string;
676
- itemDisabledOpacity: string;
677
- itemBorderImageCardError: string;
678
- itemBorderImageCard: string;
679
- draggerIconBgColor: string;
680
- draggerIconColor: string;
681
- draggerTitleColor: string;
682
- draggerTextColor: string;
683
- labelColor: string;
684
- widthSmall: string;
685
- widthMedium: string;
686
- widthLarge: string;
687
- containerSecondary: string;
688
- brandPrimary300: string;
689
- elementsQuaternary: string;
690
- }, {
691
- Button: import("../../_mixins").Theme<"Button", {
692
- heightTiny: string;
693
- heightSmall: string;
694
- heightMedium: string;
695
- heightLarge: string;
696
- borderRadiusTiny: string;
697
- borderRadiusSmall: string;
698
- borderRadiusMedium: string;
699
- borderRadiusLarge: string;
700
- fontSizeTiny: string;
701
- fontSizeSmall: string;
702
- fontSizeMedium: string;
703
- fontSizeLarge: string;
704
- opacityDisabled: string;
705
- colorOpacitySecondary: string;
706
- colorOpacitySecondaryHover: string;
707
- colorOpacitySecondaryPressed: string;
708
- colorOpacitySecondaryFocus: string;
709
- colorSecondary: string;
710
- colorSecondaryHover: string;
711
- colorSecondaryPressed: string;
712
- colorSecondaryFocus: string;
713
- colorSecondaryDisabled: string;
714
- textColorSecondaryDisabled: string;
715
- waveColorSecondary: string;
716
- colorTertiary: string;
717
- colorTertiaryHover: string;
718
- colorTertiaryPressed: string;
719
- colorTertiaryFocus: string;
720
- colorTertiaryDisalbed: string;
721
- waveColorTertiary: string;
722
- textColorTextTertiary: string;
723
- rippleColorTertiary: string;
724
- colorQuaternary: string;
725
- colorQuaternaryHover: string;
726
- colorQuaternaryPressed: string;
727
- colorQuaternaryFocus: string;
728
- rippleColorQuaternary: string;
729
- waveColorQuaternary: string;
730
- color: string;
731
- colorHover: string;
732
- colorPressed: string;
733
- colorFocus: string;
734
- colorDisabled: string;
735
- textColor: string;
736
- textTertiary: string;
737
- textColorTertiary: string;
738
- textColorHover: string;
739
- textColorPressed: string;
740
- textColorFocus: string;
741
- textColorDisabled: string;
742
- textColorText: string;
743
- textColorTextHover: string;
744
- textColorTextPressed: string;
745
- textColorTextFocus: string;
746
- textColorTextDisabled: string;
747
- textColorGhost: string;
748
- textColorGhostHover: string;
749
- textColorGhostPressed: string;
750
- textColorGhostFocus: string;
751
- textColorGhostDisabled: string;
752
- border: string;
753
- borderHover: string;
754
- borderPressed: string;
755
- borderFocus: string;
756
- borderDisabled: string;
757
- rippleColor: string;
758
- colorPrimary: string;
759
- colorHoverPrimary: string;
760
- colorPressedPrimary: string;
761
- colorFocusPrimary: string;
762
- colorDisabledPrimary: string;
763
- waveColorPrimary: string;
764
- textColorPrimary: string;
765
- textColorHoverPrimary: string;
766
- textColorPressedPrimary: string;
767
- textColorFocusPrimary: string;
768
- textColorDisabledPrimary: string;
769
- textColorTextPrimary: string;
770
- textColorTextHoverPrimary: string;
771
- textColorTextPressedPrimary: string;
772
- textColorTextFocusPrimary: string;
773
- textColorTextDisabledPrimary: string;
774
- textColorGhostPrimary: string;
775
- textColorGhostHoverPrimary: string;
776
- textColorGhostPressedPrimary: string;
777
- textColorGhostFocusPrimary: string;
778
- textColorGhostDisabledPrimary: string;
779
- borderPrimary: string;
780
- borderHoverPrimary: string;
781
- borderPressedPrimary: string;
782
- borderFocusPrimary: string;
783
- borderDisabledPrimary: string;
784
- rippleColorPrimary: string;
785
- colorInfo: string;
786
- colorHoverInfo: string;
787
- colorPressedInfo: string;
788
- colorFocusInfo: string;
789
- colorDisabledInfo: string;
790
- textColorInfo: string;
791
- textColorHoverInfo: string;
792
- textColorPressedInfo: string;
793
- textColorFocusInfo: string;
794
- textColorDisabledInfo: string;
795
- textColorTextInfo: string;
796
- textColorTextHoverInfo: string;
797
- textColorTextPressedInfo: string;
798
- textColorTextFocusInfo: string;
799
- textColorTextDisabledInfo: string;
800
- textColorGhostInfo: string;
801
- textColorGhostHoverInfo: string;
802
- textColorGhostPressedInfo: string;
803
- textColorGhostFocusInfo: string;
804
- textColorGhostDisabledInfo: string;
805
- borderInfo: string;
806
- borderHoverInfo: string;
807
- borderPressedInfo: string;
808
- borderFocusInfo: string;
809
- borderDisabledInfo: string;
810
- rippleColorInfo: string;
811
- colorSuccess: string;
812
- colorHoverSuccess: string;
813
- colorPressedSuccess: string;
814
- colorFocusSuccess: string;
815
- colorDisabledSuccess: string;
816
- textColorSuccess: string;
817
- textColorHoverSuccess: string;
818
- textColorPressedSuccess: string;
819
- textColorFocusSuccess: string;
820
- textColorDisabledSuccess: string;
821
- textColorTextSuccess: string;
822
- textColorTextHoverSuccess: string;
823
- textColorTextPressedSuccess: string;
824
- textColorTextFocusSuccess: string;
825
- textColorTextDisabledSuccess: string;
826
- textColorGhostSuccess: string;
827
- textColorGhostHoverSuccess: string;
828
- textColorGhostPressedSuccess: string;
829
- textColorGhostFocusSuccess: string;
830
- textColorGhostDisabledSuccess: string;
831
- borderSuccess: string;
832
- borderHoverSuccess: string;
833
- borderPressedSuccess: string;
834
- borderFocusSuccess: string;
835
- borderDisabledSuccess: string;
836
- rippleColorSuccess: string;
837
- colorWarning: string;
838
- colorHoverWarning: string;
839
- colorPressedWarning: string;
840
- colorFocusWarning: string;
841
- colorDisabledWarning: string;
842
- textColorWarning: string;
843
- textColorHoverWarning: string;
844
- textColorPressedWarning: string;
845
- textColorFocusWarning: string;
846
- textColorDisabledWarning: string;
847
- textColorTextWarning: string;
848
- textColorTextHoverWarning: string;
849
- textColorTextPressedWarning: string;
850
- textColorTextFocusWarning: string;
851
- textColorTextDisabledWarning: string;
852
- textColorGhostWarning: string;
853
- textColorGhostHoverWarning: string;
854
- textColorGhostPressedWarning: string;
855
- textColorGhostFocusWarning: string;
856
- textColorGhostDisabledWarning: string;
857
- borderWarning: string;
858
- borderHoverWarning: string;
859
- borderPressedWarning: string;
860
- borderFocusWarning: string;
861
- borderDisabledWarning: string;
862
- rippleColorWarning: string;
863
- colorError: string;
864
- colorHoverError: string;
865
- colorPressedError: string;
866
- colorFocusError: string;
867
- colorDisabledError: string;
868
- textColorError: string;
869
- textColorHoverError: string;
870
- textColorPressedError: string;
871
- textColorFocusError: string;
872
- textColorDisabledError: string;
873
- textColorTextError: string;
874
- textColorTextHoverError: string;
875
- textColorTextPressedError: string;
876
- textColorTextFocusError: string;
877
- textColorTextDisabledError: string;
878
- textColorGhostError: string;
879
- textColorGhostHoverError: string;
880
- textColorGhostPressedError: string;
881
- textColorGhostFocusError: string;
882
- textColorGhostDisabledError: string;
883
- borderError: string;
884
- borderHoverError: string;
885
- borderPressedError: string;
886
- borderFocusError: string;
887
- borderDisabledError: string;
888
- rippleColorError: string;
889
- waveOpacity: string;
890
- fontWeight: string;
891
- fontWeightStrong: string;
892
- paddingTiny: string;
893
- paddingSmall: string;
894
- paddingMedium: string;
895
- paddingLarge: string;
896
- paddingRoundTiny: string;
897
- paddingRoundSmall: string;
898
- paddingRoundMedium: string;
899
- paddingRoundLarge: string;
900
- iconMarginTiny: string;
901
- iconMarginSmall: string;
902
- iconMarginMedium: string;
903
- iconMarginLarge: string;
904
- iconSizeTiny: string;
905
- iconSizeSmall: string;
906
- iconSizeMedium: string;
907
- iconSizeLarge: string;
908
- rippleDuration: string;
909
- }, any>;
910
- Progress: import("../../_mixins").Theme<"Progress", {
911
- fontSize: string;
912
- fontSizeCircle: string;
913
- fontWeightCircle: string;
914
- railColor: string;
915
- railHeight: string;
916
- iconSizeCircle: string;
917
- iconSizeLine: string;
918
- iconColor: string;
919
- iconColorInfo: string;
920
- iconColorSuccess: string;
921
- iconColorWarning: string;
922
- iconColorError: string;
923
- textColorCircle: string;
924
- textColorLineInner: string;
925
- textColorLineOuter: string;
926
- fillColor: string;
927
- fillColorInfo: string;
928
- fillColorSuccess: string;
929
- fillColorWarning: string;
930
- fillColorError: string;
931
- lineBgProcessing: string;
932
- }, any>;
933
- }>>>;
934
- };
935
- export type UploadProps = ExtractPublicPropTypes<typeof uploadProps>;
1
+ import type { SettledFileInfo } from './interface';
936
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
937
3
  readonly name: {
938
4
  readonly type: StringConstructor;
@@ -940,7 +6,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
940
6
  };
941
7
  readonly accept: StringConstructor;
942
8
  readonly action: StringConstructor;
943
- readonly customRequest: PropType<CustomRequest>;
9
+ readonly customRequest: import("vue").PropType<import("./interface").CustomRequest>;
944
10
  readonly directory: BooleanConstructor;
945
11
  readonly directoryDnd: {
946
12
  readonly type: BooleanConstructor;
@@ -955,42 +21,41 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
955
21
  readonly type: BooleanConstructor;
956
22
  readonly default: true;
957
23
  };
958
- readonly data: PropType<FuncOrRecordOrUndef<string | Blob>>;
959
- readonly headers: PropType<FuncOrRecordOrUndef>;
24
+ readonly data: import("vue").PropType<import("./interface").FuncOrRecordOrUndef<string | Blob>>;
25
+ readonly headers: import("vue").PropType<import("./interface").FuncOrRecordOrUndef>;
960
26
  readonly withCredentials: BooleanConstructor;
961
27
  readonly responseType: {
962
- readonly type: PropType<XMLHttpRequestResponseType>;
28
+ readonly type: import("vue").PropType<XMLHttpRequestResponseType>;
963
29
  readonly default: "";
964
30
  };
965
31
  readonly disabled: {
966
- readonly type: PropType<boolean | undefined>;
32
+ readonly type: import("vue").PropType<boolean | undefined>;
967
33
  readonly default: undefined;
968
34
  };
969
35
  readonly vertical: {
970
36
  readonly type: BooleanConstructor;
971
37
  readonly default: false;
972
38
  };
973
- readonly icon: PropType<VNodeChild | undefined>;
974
- readonly onChange: PropType<OnChange>;
975
- readonly onRemove: PropType<OnRemove>;
976
- readonly onFinish: PropType<OnFinish>;
977
- readonly onError: PropType<OnError>;
978
- readonly onRetry: PropType<OnRetry>;
979
- readonly onBeforeUpload: PropType<OnBeforeUpload>;
980
- readonly isErrorState: PropType<(xhr: XMLHttpRequest) => boolean>;
981
- /** currently not used */
982
- readonly onDownload: PropType<OnDownload>;
39
+ readonly icon: import("vue").PropType<import("vue").VNodeChild | undefined>;
40
+ readonly onChange: import("vue").PropType<import("./interface").OnChange>;
41
+ readonly onRemove: import("vue").PropType<import("./interface").OnRemove>;
42
+ readonly onFinish: import("vue").PropType<import("./interface").OnFinish>;
43
+ readonly onError: import("vue").PropType<import("./interface").OnError>;
44
+ readonly onRetry: import("vue").PropType<import("./interface").OnRetry>;
45
+ readonly onBeforeUpload: import("vue").PropType<import("./interface").OnBeforeUpload>;
46
+ readonly isErrorState: import("vue").PropType<import("./interface").IsErrorState>;
47
+ readonly onDownload: import("vue").PropType<import("./interface").OnDownload>;
983
48
  readonly defaultUpload: {
984
49
  readonly type: BooleanConstructor;
985
50
  readonly default: true;
986
51
  };
987
- readonly fileList: PropType<FileInfo[]>;
988
- readonly 'onUpdate:fileList': PropType<MaybeArray<OnUpdateFileList>>;
989
- readonly onUpdateFileList: PropType<MaybeArray<OnUpdateFileList>>;
52
+ readonly fileList: import("vue").PropType<import("./interface").FileInfo[]>;
53
+ readonly 'onUpdate:fileList': import("vue").PropType<import("../../_utils").MaybeArray<import("./interface").OnUpdateFileList>>;
54
+ readonly onUpdateFileList: import("vue").PropType<import("../../_utils").MaybeArray<import("./interface").OnUpdateFileList>>;
990
55
  readonly fileListClass: StringConstructor;
991
- readonly fileListStyle: PropType<string | CSSProperties>;
56
+ readonly fileListStyle: import("vue").PropType<string | import("vue").CSSProperties>;
992
57
  readonly defaultFileList: {
993
- readonly type: PropType<FileInfo[]>;
58
+ readonly type: import("vue").PropType<import("./interface").FileInfo[]>;
994
59
  readonly default: () => never[];
995
60
  };
996
61
  readonly showCancelButton: {
@@ -1006,35 +71,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1006
71
  readonly type: BooleanConstructor;
1007
72
  readonly default: true;
1008
73
  };
1009
- readonly customDownload: PropType<OnDownload>;
74
+ readonly customDownload: import("vue").PropType<import("./interface").OnDownload>;
1010
75
  readonly showPreviewButton: {
1011
76
  readonly type: BooleanConstructor;
1012
77
  readonly default: true;
1013
78
  };
1014
79
  readonly listType: {
1015
- readonly type: PropType<ListType>;
80
+ readonly type: import("vue").PropType<import("./interface").ListType>;
1016
81
  readonly default: "text";
1017
82
  };
1018
- readonly onPreview: PropType<OnPreview>;
83
+ readonly onPreview: import("vue").PropType<import("./interface").OnPreview>;
1019
84
  readonly shouldUseThumbnailUrl: {
1020
- readonly type: PropType<ShouldUseThumbnailUrl>;
85
+ readonly type: import("vue").PropType<import("./interface").ShouldUseThumbnailUrl>;
1021
86
  readonly default: (file: SettledFileInfo) => boolean;
1022
87
  };
1023
- readonly createThumbnailUrl: PropType<CreateThumbnailUrl>;
88
+ readonly createThumbnailUrl: import("vue").PropType<import("./interface").CreateThumbnailUrl>;
1024
89
  readonly abstract: BooleanConstructor;
1025
90
  readonly max: NumberConstructor;
91
+ readonly maxSize: NumberConstructor;
1026
92
  readonly showTrigger: {
1027
93
  readonly type: BooleanConstructor;
1028
94
  readonly default: true;
1029
95
  };
1030
- readonly imageGroupProps: PropType<ImageGroupProps>;
1031
- readonly inputProps: PropType<InputHTMLAttributes>;
96
+ readonly imageGroupProps: import("vue").PropType<import("../..").ImageGroupProps>;
97
+ readonly inputProps: import("vue").PropType<import("vue").InputHTMLAttributes>;
1032
98
  readonly triggerClass: StringConstructor;
1033
- readonly triggerStyle: PropType<CSSProperties | string>;
1034
- readonly renderIcon: PropType<RenderIcon>;
99
+ readonly triggerStyle: import("vue").PropType<import("vue").CSSProperties | string>;
100
+ readonly renderIcon: import("vue").PropType<import("./interface").RenderIcon>;
1035
101
  readonly label: StringConstructor;
1036
102
  readonly size: {
1037
- readonly type: PropType<"small" | "medium" | "large">;
103
+ readonly type: import("vue").PropType<import("./interface").UploadSize>;
1038
104
  readonly default: "medium";
1039
105
  };
1040
106
  readonly title: StringConstructor;
@@ -1043,7 +109,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1043
109
  readonly type: BooleanConstructor;
1044
110
  readonly default: false;
1045
111
  };
1046
- readonly theme: PropType<import("../../_mixins").Theme<"Upload", {
112
+ readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Upload", {
1047
113
  baseColor: string;
1048
114
  fontSize: string;
1049
115
  lineHeight: string;
@@ -1316,7 +382,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1316
382
  lineBgProcessing: string;
1317
383
  }, any>;
1318
384
  }>>;
1319
- readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Upload", {
385
+ readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Upload", {
1320
386
  baseColor: string;
1321
387
  fontSize: string;
1322
388
  lineHeight: string;
@@ -1589,7 +655,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1589
655
  lineBgProcessing: string;
1590
656
  }, any>;
1591
657
  }>>>;
1592
- readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Upload", {
658
+ readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Upload", {
1593
659
  baseColor: string;
1594
660
  fontSize: string;
1595
661
  lineHeight: string;
@@ -1864,7 +930,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1864
930
  }>>>;
1865
931
  }>, {
1866
932
  openFileDialog: () => void;
1867
- submit: () => void;
933
+ submit: import("./interface").Submit;
1868
934
  clear: () => void;
1869
935
  mergedClsPrefix: import("vue").Ref<string, string>;
1870
936
  mergedSizeRef: import("vue").ComputedRef<"small" | "medium" | "large">;
@@ -2175,7 +1241,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2175
1241
  cssVars: import("vue").ComputedRef<any> | undefined;
2176
1242
  themeClass: import("vue").Ref<string, string> | undefined;
2177
1243
  onRender: (() => void) | undefined;
2178
- handleFileInputChange: (e: Event) => void;
1244
+ handleFileInputChange: (event: Event) => void;
2179
1245
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2180
1246
  readonly name: {
2181
1247
  readonly type: StringConstructor;
@@ -2183,7 +1249,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2183
1249
  };
2184
1250
  readonly accept: StringConstructor;
2185
1251
  readonly action: StringConstructor;
2186
- readonly customRequest: PropType<CustomRequest>;
1252
+ readonly customRequest: import("vue").PropType<import("./interface").CustomRequest>;
2187
1253
  readonly directory: BooleanConstructor;
2188
1254
  readonly directoryDnd: {
2189
1255
  readonly type: BooleanConstructor;
@@ -2198,42 +1264,41 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2198
1264
  readonly type: BooleanConstructor;
2199
1265
  readonly default: true;
2200
1266
  };
2201
- readonly data: PropType<FuncOrRecordOrUndef<string | Blob>>;
2202
- readonly headers: PropType<FuncOrRecordOrUndef>;
1267
+ readonly data: import("vue").PropType<import("./interface").FuncOrRecordOrUndef<string | Blob>>;
1268
+ readonly headers: import("vue").PropType<import("./interface").FuncOrRecordOrUndef>;
2203
1269
  readonly withCredentials: BooleanConstructor;
2204
1270
  readonly responseType: {
2205
- readonly type: PropType<XMLHttpRequestResponseType>;
1271
+ readonly type: import("vue").PropType<XMLHttpRequestResponseType>;
2206
1272
  readonly default: "";
2207
1273
  };
2208
1274
  readonly disabled: {
2209
- readonly type: PropType<boolean | undefined>;
1275
+ readonly type: import("vue").PropType<boolean | undefined>;
2210
1276
  readonly default: undefined;
2211
1277
  };
2212
1278
  readonly vertical: {
2213
1279
  readonly type: BooleanConstructor;
2214
1280
  readonly default: false;
2215
1281
  };
2216
- readonly icon: PropType<VNodeChild | undefined>;
2217
- readonly onChange: PropType<OnChange>;
2218
- readonly onRemove: PropType<OnRemove>;
2219
- readonly onFinish: PropType<OnFinish>;
2220
- readonly onError: PropType<OnError>;
2221
- readonly onRetry: PropType<OnRetry>;
2222
- readonly onBeforeUpload: PropType<OnBeforeUpload>;
2223
- readonly isErrorState: PropType<(xhr: XMLHttpRequest) => boolean>;
2224
- /** currently not used */
2225
- readonly onDownload: PropType<OnDownload>;
1282
+ readonly icon: import("vue").PropType<import("vue").VNodeChild | undefined>;
1283
+ readonly onChange: import("vue").PropType<import("./interface").OnChange>;
1284
+ readonly onRemove: import("vue").PropType<import("./interface").OnRemove>;
1285
+ readonly onFinish: import("vue").PropType<import("./interface").OnFinish>;
1286
+ readonly onError: import("vue").PropType<import("./interface").OnError>;
1287
+ readonly onRetry: import("vue").PropType<import("./interface").OnRetry>;
1288
+ readonly onBeforeUpload: import("vue").PropType<import("./interface").OnBeforeUpload>;
1289
+ readonly isErrorState: import("vue").PropType<import("./interface").IsErrorState>;
1290
+ readonly onDownload: import("vue").PropType<import("./interface").OnDownload>;
2226
1291
  readonly defaultUpload: {
2227
1292
  readonly type: BooleanConstructor;
2228
1293
  readonly default: true;
2229
1294
  };
2230
- readonly fileList: PropType<FileInfo[]>;
2231
- readonly 'onUpdate:fileList': PropType<MaybeArray<OnUpdateFileList>>;
2232
- readonly onUpdateFileList: PropType<MaybeArray<OnUpdateFileList>>;
1295
+ readonly fileList: import("vue").PropType<import("./interface").FileInfo[]>;
1296
+ readonly 'onUpdate:fileList': import("vue").PropType<import("../../_utils").MaybeArray<import("./interface").OnUpdateFileList>>;
1297
+ readonly onUpdateFileList: import("vue").PropType<import("../../_utils").MaybeArray<import("./interface").OnUpdateFileList>>;
2233
1298
  readonly fileListClass: StringConstructor;
2234
- readonly fileListStyle: PropType<string | CSSProperties>;
1299
+ readonly fileListStyle: import("vue").PropType<string | import("vue").CSSProperties>;
2235
1300
  readonly defaultFileList: {
2236
- readonly type: PropType<FileInfo[]>;
1301
+ readonly type: import("vue").PropType<import("./interface").FileInfo[]>;
2237
1302
  readonly default: () => never[];
2238
1303
  };
2239
1304
  readonly showCancelButton: {
@@ -2249,35 +1314,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2249
1314
  readonly type: BooleanConstructor;
2250
1315
  readonly default: true;
2251
1316
  };
2252
- readonly customDownload: PropType<OnDownload>;
1317
+ readonly customDownload: import("vue").PropType<import("./interface").OnDownload>;
2253
1318
  readonly showPreviewButton: {
2254
1319
  readonly type: BooleanConstructor;
2255
1320
  readonly default: true;
2256
1321
  };
2257
1322
  readonly listType: {
2258
- readonly type: PropType<ListType>;
1323
+ readonly type: import("vue").PropType<import("./interface").ListType>;
2259
1324
  readonly default: "text";
2260
1325
  };
2261
- readonly onPreview: PropType<OnPreview>;
1326
+ readonly onPreview: import("vue").PropType<import("./interface").OnPreview>;
2262
1327
  readonly shouldUseThumbnailUrl: {
2263
- readonly type: PropType<ShouldUseThumbnailUrl>;
1328
+ readonly type: import("vue").PropType<import("./interface").ShouldUseThumbnailUrl>;
2264
1329
  readonly default: (file: SettledFileInfo) => boolean;
2265
1330
  };
2266
- readonly createThumbnailUrl: PropType<CreateThumbnailUrl>;
1331
+ readonly createThumbnailUrl: import("vue").PropType<import("./interface").CreateThumbnailUrl>;
2267
1332
  readonly abstract: BooleanConstructor;
2268
1333
  readonly max: NumberConstructor;
1334
+ readonly maxSize: NumberConstructor;
2269
1335
  readonly showTrigger: {
2270
1336
  readonly type: BooleanConstructor;
2271
1337
  readonly default: true;
2272
1338
  };
2273
- readonly imageGroupProps: PropType<ImageGroupProps>;
2274
- readonly inputProps: PropType<InputHTMLAttributes>;
1339
+ readonly imageGroupProps: import("vue").PropType<import("../..").ImageGroupProps>;
1340
+ readonly inputProps: import("vue").PropType<import("vue").InputHTMLAttributes>;
2275
1341
  readonly triggerClass: StringConstructor;
2276
- readonly triggerStyle: PropType<CSSProperties | string>;
2277
- readonly renderIcon: PropType<RenderIcon>;
1342
+ readonly triggerStyle: import("vue").PropType<import("vue").CSSProperties | string>;
1343
+ readonly renderIcon: import("vue").PropType<import("./interface").RenderIcon>;
2278
1344
  readonly label: StringConstructor;
2279
1345
  readonly size: {
2280
- readonly type: PropType<"small" | "medium" | "large">;
1346
+ readonly type: import("vue").PropType<import("./interface").UploadSize>;
2281
1347
  readonly default: "medium";
2282
1348
  };
2283
1349
  readonly title: StringConstructor;
@@ -2286,7 +1352,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2286
1352
  readonly type: BooleanConstructor;
2287
1353
  readonly default: false;
2288
1354
  };
2289
- readonly theme: PropType<import("../../_mixins").Theme<"Upload", {
1355
+ readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Upload", {
2290
1356
  baseColor: string;
2291
1357
  fontSize: string;
2292
1358
  lineHeight: string;
@@ -2559,7 +1625,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2559
1625
  lineBgProcessing: string;
2560
1626
  }, any>;
2561
1627
  }>>;
2562
- readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Upload", {
1628
+ readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Upload", {
2563
1629
  baseColor: string;
2564
1630
  fontSize: string;
2565
1631
  lineHeight: string;
@@ -2832,7 +1898,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2832
1898
  lineBgProcessing: string;
2833
1899
  }, any>;
2834
1900
  }>>>;
2835
- readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Upload", {
1901
+ readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Upload", {
2836
1902
  baseColor: string;
2837
1903
  fontSize: string;
2838
1904
  lineHeight: string;
@@ -3108,7 +2174,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3108
2174
  }>> & Readonly<{}>, {
3109
2175
  readonly disabled: boolean | undefined;
3110
2176
  readonly vertical: boolean;
3111
- readonly size: "small" | "medium" | "large";
2177
+ readonly size: import("./interface").UploadSize;
3112
2178
  readonly name: string;
3113
2179
  readonly abstract: boolean;
3114
2180
  readonly multiple: boolean;
@@ -3119,14 +2185,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3119
2185
  readonly withCredentials: boolean;
3120
2186
  readonly responseType: XMLHttpRequestResponseType;
3121
2187
  readonly defaultUpload: boolean;
3122
- readonly defaultFileList: FileInfo[];
2188
+ readonly defaultFileList: import("./interface").FileInfo[];
3123
2189
  readonly showCancelButton: boolean;
3124
2190
  readonly showRemoveButton: boolean;
3125
2191
  readonly showDownloadButton: boolean;
3126
2192
  readonly showRetryButton: boolean;
3127
2193
  readonly showPreviewButton: boolean;
3128
- readonly listType: ListType;
3129
- readonly shouldUseThumbnailUrl: ShouldUseThumbnailUrl;
2194
+ readonly listType: import("./interface").ListType;
2195
+ readonly shouldUseThumbnailUrl: import("./interface").ShouldUseThumbnailUrl;
3130
2196
  readonly showTrigger: boolean;
3131
2197
  readonly noIcon: boolean;
3132
2198
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;