@vtj/designer 0.13.37 → 0.13.39

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.
@@ -1,6 +1,7 @@
1
1
  import { Context } from '@vtj/renderer';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, Component, ComponentInternalInstance, ComputedRef, Ref, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives } from 'vue';
3
- import { TreeData, TreeComponentProps, RenderContentFunction, AllowDragFunction, AllowDropFunction, CheckedInfo, NodeDropType, TreeNodeData, TreeKey, FakeNode, TreeNodeLoadedDefaultProps, TreeStoreNodesMap, LoadFunction, FilterNodeMethodFunction, FilterValue, Nullable, Translator, TreeOptionProps } from 'element-plus';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, Component, ComponentInternalInstance, ComputedRef, Ref, GlobalComponents, GlobalDirectives } from 'vue';
3
+ import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
4
+ import { TreeData, TreeKey, RenderContentFunction, AllowDragFunction, AllowDropFunction, TreeOptionProps, LoadFunction, FilterNodeMethodFunction, CheckedInfo, NodeDropType, TreeNodeData, FakeNode, TreeNodeLoadedDefaultProps, TreeStoreNodesMap, FilterValue, Nullable, Translator } from 'element-plus';
4
5
  import { default as __DTS_DEFAULT_0__ } from 'element-plus/es/components/tree/src/model/node.mjs';
5
6
  export interface Props {
6
7
  context: Context | null;
@@ -13,67 +14,86 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
13
14
  onPick?: ((...args: any[]) => any) | undefined;
14
15
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
15
16
  treeRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
16
- data: {
17
- type: PropType<TreeData>;
18
- default: () => never[];
17
+ readonly data: EpPropFinalized<(new (...args: any[]) => TreeData) | (() => TreeData) | ((new (...args: any[]) => TreeData) | (() => TreeData))[], unknown, unknown, () => never[], boolean>;
18
+ readonly emptyText: {
19
+ readonly type: PropType<string>;
20
+ readonly required: false;
21
+ readonly validator: ((val: unknown) => boolean) | undefined;
22
+ __epPropKey: true;
19
23
  };
20
- emptyText: {
21
- type: StringConstructor;
24
+ readonly renderAfterExpand: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
25
+ readonly nodeKey: StringConstructor;
26
+ readonly checkStrictly: BooleanConstructor;
27
+ readonly defaultExpandAll: BooleanConstructor;
28
+ readonly expandOnClickNode: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
29
+ readonly checkOnClickNode: BooleanConstructor;
30
+ readonly checkOnClickLeaf: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
31
+ readonly checkDescendants: BooleanConstructor;
32
+ readonly autoExpandParent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
33
+ readonly defaultCheckedKeys: {
34
+ readonly type: PropType< TreeKey[]>;
35
+ readonly required: false;
36
+ readonly validator: ((val: unknown) => boolean) | undefined;
37
+ __epPropKey: true;
22
38
  };
23
- renderAfterExpand: {
24
- type: BooleanConstructor;
25
- default: boolean;
39
+ readonly defaultExpandedKeys: {
40
+ readonly type: PropType< TreeKey[]>;
41
+ readonly required: false;
42
+ readonly validator: ((val: unknown) => boolean) | undefined;
43
+ __epPropKey: true;
26
44
  };
27
- nodeKey: StringConstructor;
28
- checkStrictly: BooleanConstructor;
29
- defaultExpandAll: BooleanConstructor;
30
- expandOnClickNode: {
31
- type: BooleanConstructor;
32
- default: boolean;
45
+ readonly currentNodeKey: {
46
+ readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
47
+ readonly required: false;
48
+ readonly validator: ((val: unknown) => boolean) | undefined;
49
+ __epPropKey: true;
33
50
  };
34
- checkOnClickNode: BooleanConstructor;
35
- checkOnClickLeaf: {
36
- type: BooleanConstructor;
37
- default: boolean;
51
+ readonly renderContent: {
52
+ readonly type: PropType<RenderContentFunction>;
53
+ readonly required: false;
54
+ readonly validator: ((val: unknown) => boolean) | undefined;
55
+ __epPropKey: true;
38
56
  };
39
- checkDescendants: BooleanConstructor;
40
- autoExpandParent: {
41
- type: BooleanConstructor;
42
- default: boolean;
57
+ readonly showCheckbox: BooleanConstructor;
58
+ readonly draggable: BooleanConstructor;
59
+ readonly allowDrag: {
60
+ readonly type: PropType<AllowDragFunction>;
61
+ readonly required: false;
62
+ readonly validator: ((val: unknown) => boolean) | undefined;
63
+ __epPropKey: true;
43
64
  };
44
- defaultCheckedKeys: PropType< TreeComponentProps["defaultCheckedKeys"]>;
45
- defaultExpandedKeys: PropType< TreeComponentProps["defaultExpandedKeys"]>;
46
- currentNodeKey: PropType<string | number>;
47
- renderContent: {
48
- type: PropType<RenderContentFunction>;
65
+ readonly allowDrop: {
66
+ readonly type: PropType<AllowDropFunction>;
67
+ readonly required: false;
68
+ readonly validator: ((val: unknown) => boolean) | undefined;
69
+ __epPropKey: true;
49
70
  };
50
- showCheckbox: BooleanConstructor;
51
- draggable: BooleanConstructor;
52
- allowDrag: {
53
- type: PropType<AllowDragFunction>;
71
+ readonly props: EpPropFinalized<(new (...args: any[]) => TreeOptionProps) | (() => TreeOptionProps) | ((new (...args: any[]) => TreeOptionProps) | (() => TreeOptionProps))[], unknown, unknown, () => {
72
+ children: string;
73
+ label: string;
74
+ disabled: string;
75
+ }, boolean>;
76
+ readonly lazy: BooleanConstructor;
77
+ readonly highlightCurrent: BooleanConstructor;
78
+ readonly load: {
79
+ readonly type: PropType<LoadFunction>;
80
+ readonly required: false;
81
+ readonly validator: ((val: unknown) => boolean) | undefined;
82
+ __epPropKey: true;
54
83
  };
55
- allowDrop: {
56
- type: PropType<AllowDropFunction>;
84
+ readonly filterNodeMethod: {
85
+ readonly type: PropType<FilterNodeMethodFunction>;
86
+ readonly required: false;
87
+ readonly validator: ((val: unknown) => boolean) | undefined;
88
+ __epPropKey: true;
57
89
  };
58
- props: {
59
- type: PropType< TreeComponentProps["props"]>;
60
- default: () => {
61
- children: string;
62
- label: string;
63
- disabled: string;
64
- };
65
- };
66
- lazy: BooleanConstructor;
67
- highlightCurrent: BooleanConstructor;
68
- load: PropType< TreeComponentProps["load"]>;
69
- filterNodeMethod: PropType< TreeComponentProps["filterNodeMethod"]>;
70
- accordion: BooleanConstructor;
71
- indent: {
72
- type: NumberConstructor;
73
- default: number;
74
- };
75
- icon: {
76
- type: PropType<string | Component>;
90
+ readonly accordion: BooleanConstructor;
91
+ readonly indent: EpPropFinalized<NumberConstructor, unknown, unknown, 18, boolean>;
92
+ readonly icon: {
93
+ readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>>;
94
+ readonly required: false;
95
+ readonly validator: ((val: unknown) => boolean) | undefined;
96
+ __epPropKey: true;
77
97
  };
78
98
  }>> & {
79
99
  "onCurrent-change"?: ((data: any, node: __DTS_DEFAULT_0__ | null) => any) | undefined;
@@ -482,23 +502,23 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
482
502
  'node-drag-leave': (draggingNode: __DTS_DEFAULT_0__, oldDropNode: __DTS_DEFAULT_0__, evt: DragEvent) => DragEvent;
483
503
  'node-drag-enter': (draggingNode: __DTS_DEFAULT_0__, dropNode: __DTS_DEFAULT_0__, evt: DragEvent) => DragEvent;
484
504
  'node-drag-over': (draggingNode: __DTS_DEFAULT_0__, dropNode: __DTS_DEFAULT_0__, evt: DragEvent) => DragEvent;
485
- }, VNodeProps & AllowedComponentProps & ComponentCustomProps, {
486
- data: TreeData;
487
- props: TreeOptionProps;
488
- lazy: boolean;
489
- draggable: boolean;
490
- checkStrictly: boolean;
491
- checkOnClickNode: boolean;
492
- checkOnClickLeaf: boolean;
493
- accordion: boolean;
494
- defaultExpandAll: boolean;
495
- indent: number;
496
- autoExpandParent: boolean;
497
- checkDescendants: boolean;
498
- renderAfterExpand: boolean;
499
- showCheckbox: boolean;
500
- expandOnClickNode: boolean;
501
- highlightCurrent: boolean;
505
+ }, PublicProps, {
506
+ readonly data: TreeData;
507
+ readonly props: TreeOptionProps;
508
+ readonly lazy: boolean;
509
+ readonly draggable: boolean;
510
+ readonly checkStrictly: boolean;
511
+ readonly checkOnClickNode: boolean;
512
+ readonly checkOnClickLeaf: EpPropMergeType<BooleanConstructor, unknown, unknown>;
513
+ readonly accordion: boolean;
514
+ readonly defaultExpandAll: boolean;
515
+ readonly indent: number;
516
+ readonly autoExpandParent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
517
+ readonly checkDescendants: boolean;
518
+ readonly renderAfterExpand: EpPropMergeType<BooleanConstructor, unknown, unknown>;
519
+ readonly expandOnClickNode: EpPropMergeType<BooleanConstructor, unknown, unknown>;
520
+ readonly showCheckbox: boolean;
521
+ readonly highlightCurrent: boolean;
502
522
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
503
523
  P: {};
504
524
  B: {};
@@ -507,67 +527,86 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
507
527
  M: {};
508
528
  Defaults: {};
509
529
  }, Readonly< ExtractPropTypes<{
510
- data: {
511
- type: PropType<TreeData>;
512
- default: () => never[];
530
+ readonly data: EpPropFinalized<(new (...args: any[]) => TreeData) | (() => TreeData) | ((new (...args: any[]) => TreeData) | (() => TreeData))[], unknown, unknown, () => never[], boolean>;
531
+ readonly emptyText: {
532
+ readonly type: PropType<string>;
533
+ readonly required: false;
534
+ readonly validator: ((val: unknown) => boolean) | undefined;
535
+ __epPropKey: true;
513
536
  };
514
- emptyText: {
515
- type: StringConstructor;
537
+ readonly renderAfterExpand: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
538
+ readonly nodeKey: StringConstructor;
539
+ readonly checkStrictly: BooleanConstructor;
540
+ readonly defaultExpandAll: BooleanConstructor;
541
+ readonly expandOnClickNode: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
542
+ readonly checkOnClickNode: BooleanConstructor;
543
+ readonly checkOnClickLeaf: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
544
+ readonly checkDescendants: BooleanConstructor;
545
+ readonly autoExpandParent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
546
+ readonly defaultCheckedKeys: {
547
+ readonly type: PropType< TreeKey[]>;
548
+ readonly required: false;
549
+ readonly validator: ((val: unknown) => boolean) | undefined;
550
+ __epPropKey: true;
516
551
  };
517
- renderAfterExpand: {
518
- type: BooleanConstructor;
519
- default: boolean;
552
+ readonly defaultExpandedKeys: {
553
+ readonly type: PropType< TreeKey[]>;
554
+ readonly required: false;
555
+ readonly validator: ((val: unknown) => boolean) | undefined;
556
+ __epPropKey: true;
520
557
  };
521
- nodeKey: StringConstructor;
522
- checkStrictly: BooleanConstructor;
523
- defaultExpandAll: BooleanConstructor;
524
- expandOnClickNode: {
525
- type: BooleanConstructor;
526
- default: boolean;
558
+ readonly currentNodeKey: {
559
+ readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
560
+ readonly required: false;
561
+ readonly validator: ((val: unknown) => boolean) | undefined;
562
+ __epPropKey: true;
527
563
  };
528
- checkOnClickNode: BooleanConstructor;
529
- checkOnClickLeaf: {
530
- type: BooleanConstructor;
531
- default: boolean;
564
+ readonly renderContent: {
565
+ readonly type: PropType<RenderContentFunction>;
566
+ readonly required: false;
567
+ readonly validator: ((val: unknown) => boolean) | undefined;
568
+ __epPropKey: true;
532
569
  };
533
- checkDescendants: BooleanConstructor;
534
- autoExpandParent: {
535
- type: BooleanConstructor;
536
- default: boolean;
570
+ readonly showCheckbox: BooleanConstructor;
571
+ readonly draggable: BooleanConstructor;
572
+ readonly allowDrag: {
573
+ readonly type: PropType<AllowDragFunction>;
574
+ readonly required: false;
575
+ readonly validator: ((val: unknown) => boolean) | undefined;
576
+ __epPropKey: true;
537
577
  };
538
- defaultCheckedKeys: PropType< TreeComponentProps["defaultCheckedKeys"]>;
539
- defaultExpandedKeys: PropType< TreeComponentProps["defaultExpandedKeys"]>;
540
- currentNodeKey: PropType<string | number>;
541
- renderContent: {
542
- type: PropType<RenderContentFunction>;
578
+ readonly allowDrop: {
579
+ readonly type: PropType<AllowDropFunction>;
580
+ readonly required: false;
581
+ readonly validator: ((val: unknown) => boolean) | undefined;
582
+ __epPropKey: true;
543
583
  };
544
- showCheckbox: BooleanConstructor;
545
- draggable: BooleanConstructor;
546
- allowDrag: {
547
- type: PropType<AllowDragFunction>;
548
- };
549
- allowDrop: {
550
- type: PropType<AllowDropFunction>;
551
- };
552
- props: {
553
- type: PropType< TreeComponentProps["props"]>;
554
- default: () => {
555
- children: string;
556
- label: string;
557
- disabled: string;
558
- };
584
+ readonly props: EpPropFinalized<(new (...args: any[]) => TreeOptionProps) | (() => TreeOptionProps) | ((new (...args: any[]) => TreeOptionProps) | (() => TreeOptionProps))[], unknown, unknown, () => {
585
+ children: string;
586
+ label: string;
587
+ disabled: string;
588
+ }, boolean>;
589
+ readonly lazy: BooleanConstructor;
590
+ readonly highlightCurrent: BooleanConstructor;
591
+ readonly load: {
592
+ readonly type: PropType<LoadFunction>;
593
+ readonly required: false;
594
+ readonly validator: ((val: unknown) => boolean) | undefined;
595
+ __epPropKey: true;
559
596
  };
560
- lazy: BooleanConstructor;
561
- highlightCurrent: BooleanConstructor;
562
- load: PropType< TreeComponentProps["load"]>;
563
- filterNodeMethod: PropType< TreeComponentProps["filterNodeMethod"]>;
564
- accordion: BooleanConstructor;
565
- indent: {
566
- type: NumberConstructor;
567
- default: number;
597
+ readonly filterNodeMethod: {
598
+ readonly type: PropType<FilterNodeMethodFunction>;
599
+ readonly required: false;
600
+ readonly validator: ((val: unknown) => boolean) | undefined;
601
+ __epPropKey: true;
568
602
  };
569
- icon: {
570
- type: PropType<string | Component>;
603
+ readonly accordion: BooleanConstructor;
604
+ readonly indent: EpPropFinalized<NumberConstructor, unknown, unknown, 18, boolean>;
605
+ readonly icon: {
606
+ readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>>;
607
+ readonly required: false;
608
+ readonly validator: ((val: unknown) => boolean) | undefined;
609
+ __epPropKey: true;
571
610
  };
572
611
  }>> & {
573
612
  "onCurrent-change"?: ((data: any, node: __DTS_DEFAULT_0__ | null) => any) | undefined;
@@ -963,22 +1002,22 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
963
1002
  handleNodeExpand: (nodeData: TreeNodeData, node: __DTS_DEFAULT_0__, instance: ComponentInternalInstance) => void;
964
1003
  updateKeyChildren: (key: TreeKey, data: TreeData) => void;
965
1004
  }, {}, {}, {}, {
966
- data: TreeData;
967
- props: TreeOptionProps;
968
- lazy: boolean;
969
- draggable: boolean;
970
- checkStrictly: boolean;
971
- checkOnClickNode: boolean;
972
- checkOnClickLeaf: boolean;
973
- accordion: boolean;
974
- defaultExpandAll: boolean;
975
- indent: number;
976
- autoExpandParent: boolean;
977
- checkDescendants: boolean;
978
- renderAfterExpand: boolean;
979
- showCheckbox: boolean;
980
- expandOnClickNode: boolean;
981
- highlightCurrent: boolean;
1005
+ readonly data: TreeData;
1006
+ readonly props: TreeOptionProps;
1007
+ readonly lazy: boolean;
1008
+ readonly draggable: boolean;
1009
+ readonly checkStrictly: boolean;
1010
+ readonly checkOnClickNode: boolean;
1011
+ readonly checkOnClickLeaf: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1012
+ readonly accordion: boolean;
1013
+ readonly defaultExpandAll: boolean;
1014
+ readonly indent: number;
1015
+ readonly autoExpandParent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1016
+ readonly checkDescendants: boolean;
1017
+ readonly renderAfterExpand: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1018
+ readonly expandOnClickNode: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1019
+ readonly showCheckbox: boolean;
1020
+ readonly highlightCurrent: boolean;
982
1021
  }> | null;
983
1022
  }, HTMLDivElement>;
984
1023
  export default _default;
@@ -1,4 +1,4 @@
1
- import { UploadFile, UploadRawFile, UploadData, UploadFiles, UploadProgressEvent, UploadUserFile, UploadRequestHandler, UploadStatus } from 'element-plus';
1
+ import { UploadFile, UploadRawFile, UploadData, UploadProgressEvent, UploadFiles, UploadUserFile, UploadRequestHandler, UploadStatus } from 'element-plus';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils/index.mjs';
4
4
  import { Mutable, Awaitable } from 'element-plus/es/utils/typescript.mjs';
@@ -21,9 +21,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
21
21
  readonly drag: boolean;
22
22
  readonly multiple: boolean;
23
23
  readonly name: string;
24
+ readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
24
25
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
25
26
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
26
- readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
27
27
  readonly method: string;
28
28
  readonly action: string;
29
29
  readonly accept: string;
@@ -200,15 +200,15 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
200
200
  clearFiles: (states?: UploadStatus[]) => void;
201
201
  handleStart: (rawFile: UploadRawFile) => void;
202
202
  handleRemove: (file: UploadFile | UploadRawFile) => void;
203
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
203
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
204
204
  readonly data: EpPropMergeType<(new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | ((new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)))[], unknown, unknown>;
205
205
  readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
206
206
  readonly drag: boolean;
207
207
  readonly multiple: boolean;
208
208
  readonly name: string;
209
+ readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
209
210
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
210
211
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
211
- readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
212
212
  readonly method: string;
213
213
  readonly action: string;
214
214
  readonly accept: string;
@@ -249,9 +249,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
249
249
  readonly drag: boolean;
250
250
  readonly multiple: boolean;
251
251
  readonly name: string;
252
+ readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
252
253
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
253
254
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
254
- readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
255
255
  readonly method: string;
256
256
  readonly action: string;
257
257
  readonly accept: string;
@@ -388,20 +388,27 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
388
388
  handleRemove: (file: UploadFile | UploadRawFile) => void;
389
389
  }> & {} & ComponentCustomProperties & {} & {
390
390
  $slots: {
391
- file?(_: {
391
+ file?: (props: {
392
392
  file: UploadFile;
393
393
  index: number;
394
- }): any;
395
- file?(_: {
394
+ }) => any;
395
+ } & {
396
+ trigger?: (props: {}) => any;
397
+ } & {
398
+ default?: (props: {}) => any;
399
+ } & {
400
+ trigger?: (props: {}) => any;
401
+ } & {
402
+ default?: (props: {}) => any;
403
+ } & {
404
+ default?: (props: {}) => any;
405
+ } & {
406
+ tip?: (props: {}) => any;
407
+ } & {
408
+ file?: (props: {
396
409
  file: UploadFile;
397
410
  index: number;
398
- }): any;
399
- trigger?(_: {}): any;
400
- trigger?(_: {}): any;
401
- default?(_: {}): any;
402
- default?(_: {}): any;
403
- default?(_: {}): any;
404
- tip?(_: {}): any;
411
+ }) => any;
405
412
  };
406
413
  }) | null;
407
414
  }, HTMLDivElement>;
@@ -42,8 +42,8 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
42
42
  card: boolean;
43
43
  }> & Omit<{
44
44
  readonly radius: boolean;
45
- readonly fit: boolean;
46
45
  readonly border: boolean;
46
+ readonly fit: boolean;
47
47
  readonly card: boolean;
48
48
  readonly size?: BaseSize | undefined;
49
49
  readonly height?: string | number | undefined;
@@ -208,7 +208,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
208
208
  };
209
209
  }>>> | null | undefined;
210
210
  readonly shadow?: "hover" | "none" | "always" | undefined;
211
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
211
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
212
212
  $attrs: {
213
213
  [x: string]: unknown;
214
214
  };
@@ -586,7 +586,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
586
586
  footer: {
587
587
  type: PropType<ContainerProps>;
588
588
  };
589
- }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
589
+ }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
590
590
  bodyRef: Ref<any, any>;
591
591
  }> & {} & ComponentCustomProperties & {} & {
592
592
  $slots: {