3h1-ui 3.0.0-next.249 → 3.0.0-next.250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.js +26 -24
- package/es/style.css +21 -33
- package/es/ui/src/AdvancedSearch/src/AdvancedSearch.vue.d.ts +279 -0
- package/es/ui/src/Basic/src/BasicHelp.d.ts +2 -2
- package/es/ui/src/Basic/src/BasicTitle.vue.d.ts +2 -2
- package/es/ui/src/BasicContainer/src/BasicContainer.vue.d.ts +1 -1
- package/es/ui/src/Button/index.d.ts +7 -7
- package/es/ui/src/Button/src/BasicButton.d.ts +3 -3
- package/es/ui/src/Button/src/props.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/ColorPickerPopover.d.ts +1 -1
- package/es/ui/src/Container/src/LazyContainer.vue.d.ts +2 -2
- package/es/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +1 -384
- package/es/ui/src/ContextMenu/src/ContextMenu.d.ts +2 -2
- package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +2 -2
- package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +3 -3
- package/es/ui/src/Description/src/Description.d.ts +1 -1
- package/es/ui/src/Descriptions/index.d.ts +3 -3
- package/es/ui/src/Descriptions/src/ShyDescriptions.d.ts +1 -1
- package/es/ui/src/DescriptionsForm/index.d.ts +426 -0
- package/es/ui/src/DescriptionsForm/src/DescriptionsForm.vue.d.ts +106 -0
- package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +1 -1
- package/es/ui/src/Modal/index.d.ts +7 -7
- package/es/ui/src/Modal/src/BasicModal.vue.d.ts +2 -2
- package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +2 -2
- package/es/ui/src/Modal/src/components/Modal.d.ts +1 -1
- package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +1 -1
- package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/es/ui/src/Page/src/PageSecond.d.ts +1 -1
- package/es/ui/src/Process/src/Process.d.ts +1 -1
- package/es/ui/src/ShyContainer/src/ShyContainer.d.ts +4 -4
- package/es/ui/src/ShyContainer/src/props.d.ts +1 -1
- package/es/ui/src/ShyForm/src/ShyForm.d.ts +161 -161
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/ApiModalSelect.vue.d.ts +2211 -0
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/DeptTree.vue.d.ts +4 -4
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +13 -13
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +2 -2
- package/es/ui/src/ShyForm/src/components/ApiSelect.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/ApiTransfer.vue.d.ts +3 -3
- package/es/ui/src/ShyForm/src/components/FormAction.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/Table.d.ts +2 -2
- package/es/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +13 -13
- package/es/ui/src/ShyForm/src/props.d.ts +80 -80
- package/es/ui/src/ShyTable/src/ShyTable.d.ts +2 -2
- package/es/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +2 -2
- package/es/ui/src/ShyTable/src/components/ShyTableAction.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/TableImg.vue.d.ts +1 -1
- package/es/ui/src/TablePlus/TablePlus.vue.d.ts +163 -606
- package/es/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +1 -1
- package/es/ui/src/Tree/src/BasicTree.d.ts +3 -3
- package/es/ui/src/Upload/index.d.ts +9574 -0
- package/es/ui/src/Upload/src/BasicUpload.vue.d.ts +2949 -0
- package/es/ui/src/Upload/src/components/FileList.d.ts +18 -18
- package/es/ui/src/Upload/src/components/ImageUpload.vue.d.ts +410 -0
- package/es/ui/src/Upload/src/components/ThumbUrl.vue.d.ts +25 -0
- package/es/ui/src/Upload/src/components/UploadModal.vue.d.ts +1350 -0
- package/es/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +25 -25
- package/lib/index.js +26 -24
- package/lib/style.css +21 -33
- package/lib/ui/src/AdvancedSearch/src/AdvancedSearch.vue.d.ts +279 -0
- package/lib/ui/src/Basic/src/BasicHelp.d.ts +2 -2
- package/lib/ui/src/Basic/src/BasicTitle.vue.d.ts +2 -2
- package/lib/ui/src/BasicContainer/src/BasicContainer.vue.d.ts +1 -1
- package/lib/ui/src/Button/index.d.ts +7 -7
- package/lib/ui/src/Button/src/BasicButton.d.ts +3 -3
- package/lib/ui/src/Button/src/props.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/ColorPickerPopover.d.ts +1 -1
- package/lib/ui/src/Container/src/LazyContainer.vue.d.ts +2 -2
- package/lib/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +1 -384
- package/lib/ui/src/ContextMenu/src/ContextMenu.d.ts +2 -2
- package/lib/ui/src/Cropper/src/CopperModal.vue.d.ts +2 -2
- package/lib/ui/src/Cropper/src/CropperAvatar.vue.d.ts +3 -3
- package/lib/ui/src/Description/src/Description.d.ts +1 -1
- package/lib/ui/src/Descriptions/index.d.ts +3 -3
- package/lib/ui/src/Descriptions/src/ShyDescriptions.d.ts +1 -1
- package/lib/ui/src/DescriptionsForm/index.d.ts +426 -0
- package/lib/ui/src/DescriptionsForm/src/DescriptionsForm.vue.d.ts +106 -0
- package/lib/ui/src/Drawer/src/BasicDrawer.vue.d.ts +1 -1
- package/lib/ui/src/Modal/index.d.ts +7 -7
- package/lib/ui/src/Modal/src/BasicModal.vue.d.ts +2 -2
- package/lib/ui/src/Modal/src/components/BasicTitle.vue.d.ts +2 -2
- package/lib/ui/src/Modal/src/components/Modal.d.ts +1 -1
- package/lib/ui/src/Modal/src/components/ModalFooter.vue.d.ts +1 -1
- package/lib/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/lib/ui/src/Page/src/PageSecond.d.ts +1 -1
- package/lib/ui/src/Process/src/Process.d.ts +1 -1
- package/lib/ui/src/ShyContainer/src/ShyContainer.d.ts +4 -4
- package/lib/ui/src/ShyContainer/src/props.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/ShyForm.d.ts +161 -161
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/ApiModalSelect.vue.d.ts +2211 -0
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/DeptTree.vue.d.ts +4 -4
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +13 -13
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +2 -2
- package/lib/ui/src/ShyForm/src/components/ApiSelect.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/ApiTransfer.vue.d.ts +3 -3
- package/lib/ui/src/ShyForm/src/components/FormAction.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/Table.d.ts +2 -2
- package/lib/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +13 -13
- package/lib/ui/src/ShyForm/src/props.d.ts +80 -80
- package/lib/ui/src/ShyTable/src/ShyTable.d.ts +2 -2
- package/lib/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +2 -2
- package/lib/ui/src/ShyTable/src/components/ShyTableAction.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/TableImg.vue.d.ts +1 -1
- package/lib/ui/src/TablePlus/TablePlus.vue.d.ts +163 -606
- package/lib/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +1 -1
- package/lib/ui/src/Tree/src/BasicTree.d.ts +3 -3
- package/lib/ui/src/Upload/index.d.ts +9574 -0
- package/lib/ui/src/Upload/src/BasicUpload.vue.d.ts +2949 -0
- package/lib/ui/src/Upload/src/components/FileList.d.ts +18 -18
- package/lib/ui/src/Upload/src/components/ImageUpload.vue.d.ts +410 -0
- package/lib/ui/src/Upload/src/components/ThumbUrl.vue.d.ts +25 -0
- package/lib/ui/src/Upload/src/components/UploadModal.vue.d.ts +1350 -0
- package/lib/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +25 -25
- package/package.json +3 -3
|
@@ -22,17 +22,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
sort: boolean;
|
|
23
23
|
onChange: (evt: import("sortablejs").SortableEvent) => void;
|
|
24
24
|
onSelect: (event: import("sortablejs").SortableEvent) => void;
|
|
25
|
-
animation: number;
|
|
26
|
-
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
27
25
|
disabled: boolean;
|
|
28
|
-
|
|
26
|
+
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
29
27
|
draggable: string;
|
|
30
|
-
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
31
|
-
handle: string;
|
|
32
|
-
delay: number;
|
|
33
28
|
group: string | import("sortablejs").GroupOptions;
|
|
29
|
+
animation: number;
|
|
34
30
|
chosenClass: string;
|
|
35
31
|
dataIdAttr: string;
|
|
32
|
+
delay: number;
|
|
36
33
|
delayOnTouchOnly: boolean;
|
|
37
34
|
dragClass: string;
|
|
38
35
|
dragoverBubble: boolean;
|
|
@@ -48,6 +45,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
45
|
};
|
|
49
46
|
forceFallback: boolean;
|
|
50
47
|
ghostClass: string;
|
|
48
|
+
handle: string;
|
|
51
49
|
ignore: string;
|
|
52
50
|
invertSwap: boolean;
|
|
53
51
|
invertedSwapThreshold: number;
|
|
@@ -67,6 +65,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
65
|
onUnchoose: (event: import("sortablejs").SortableEvent) => void;
|
|
68
66
|
onUpdate: (event: import("sortablejs").SortableEvent) => void;
|
|
69
67
|
onSort: (event: import("sortablejs").SortableEvent) => void;
|
|
68
|
+
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
70
69
|
onFilter: (event: import("sortablejs").SortableEvent) => void;
|
|
71
70
|
onMove: (evt: import("sortablejs").MoveEvent, originalEvent: Event) => boolean | void | 1 | -1;
|
|
72
71
|
forceAutoScrollFallback: boolean;
|
|
@@ -78,6 +77,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
77
|
selectedClass: string;
|
|
79
78
|
multiDragKey: string;
|
|
80
79
|
avoidImplicitDeselect: boolean;
|
|
80
|
+
onDeselect: (event: import("sortablejs").SortableEvent) => void;
|
|
81
81
|
revertOnSpill: boolean;
|
|
82
82
|
removeOnSpill: boolean;
|
|
83
83
|
onSpill: (evt: import("sortablejs").SortableEvent) => void;
|
|
@@ -111,17 +111,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
111
|
sort: boolean;
|
|
112
112
|
onChange: (evt: import("sortablejs").SortableEvent) => void;
|
|
113
113
|
onSelect: (event: import("sortablejs").SortableEvent) => void;
|
|
114
|
-
animation: number;
|
|
115
|
-
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
116
114
|
disabled: boolean;
|
|
117
|
-
|
|
115
|
+
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
118
116
|
draggable: string;
|
|
119
|
-
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
120
|
-
handle: string;
|
|
121
|
-
delay: number;
|
|
122
117
|
group: string | import("sortablejs").GroupOptions;
|
|
118
|
+
animation: number;
|
|
123
119
|
chosenClass: string;
|
|
124
120
|
dataIdAttr: string;
|
|
121
|
+
delay: number;
|
|
125
122
|
delayOnTouchOnly: boolean;
|
|
126
123
|
dragClass: string;
|
|
127
124
|
dragoverBubble: boolean;
|
|
@@ -137,6 +134,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
134
|
};
|
|
138
135
|
forceFallback: boolean;
|
|
139
136
|
ghostClass: string;
|
|
137
|
+
handle: string;
|
|
140
138
|
ignore: string;
|
|
141
139
|
invertSwap: boolean;
|
|
142
140
|
invertedSwapThreshold: number;
|
|
@@ -156,6 +154,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
156
154
|
onUnchoose: (event: import("sortablejs").SortableEvent) => void;
|
|
157
155
|
onUpdate: (event: import("sortablejs").SortableEvent) => void;
|
|
158
156
|
onSort: (event: import("sortablejs").SortableEvent) => void;
|
|
157
|
+
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
159
158
|
onFilter: (event: import("sortablejs").SortableEvent) => void;
|
|
160
159
|
onMove: (evt: import("sortablejs").MoveEvent, originalEvent: Event) => boolean | void | 1 | -1;
|
|
161
160
|
forceAutoScrollFallback: boolean;
|
|
@@ -167,6 +166,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
167
166
|
selectedClass: string;
|
|
168
167
|
multiDragKey: string;
|
|
169
168
|
avoidImplicitDeselect: boolean;
|
|
169
|
+
onDeselect: (event: import("sortablejs").SortableEvent) => void;
|
|
170
170
|
revertOnSpill: boolean;
|
|
171
171
|
removeOnSpill: boolean;
|
|
172
172
|
onSpill: (evt: import("sortablejs").SortableEvent) => void;
|
|
@@ -187,17 +187,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
187
187
|
sort: boolean;
|
|
188
188
|
onChange: (evt: import("sortablejs").SortableEvent) => void;
|
|
189
189
|
onSelect: (event: import("sortablejs").SortableEvent) => void;
|
|
190
|
-
animation: number;
|
|
191
|
-
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
192
190
|
disabled: boolean;
|
|
193
|
-
|
|
191
|
+
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
194
192
|
draggable: string;
|
|
195
|
-
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
196
|
-
handle: string;
|
|
197
|
-
delay: number;
|
|
198
193
|
group: string | import("sortablejs").GroupOptions;
|
|
194
|
+
animation: number;
|
|
199
195
|
chosenClass: string;
|
|
200
196
|
dataIdAttr: string;
|
|
197
|
+
delay: number;
|
|
201
198
|
delayOnTouchOnly: boolean;
|
|
202
199
|
dragClass: string;
|
|
203
200
|
dragoverBubble: boolean;
|
|
@@ -213,6 +210,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
213
210
|
};
|
|
214
211
|
forceFallback: boolean;
|
|
215
212
|
ghostClass: string;
|
|
213
|
+
handle: string;
|
|
216
214
|
ignore: string;
|
|
217
215
|
invertSwap: boolean;
|
|
218
216
|
invertedSwapThreshold: number;
|
|
@@ -232,6 +230,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
232
230
|
onUnchoose: (event: import("sortablejs").SortableEvent) => void;
|
|
233
231
|
onUpdate: (event: import("sortablejs").SortableEvent) => void;
|
|
234
232
|
onSort: (event: import("sortablejs").SortableEvent) => void;
|
|
233
|
+
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
235
234
|
onFilter: (event: import("sortablejs").SortableEvent) => void;
|
|
236
235
|
onMove: (evt: import("sortablejs").MoveEvent, originalEvent: Event) => boolean | void | 1 | -1;
|
|
237
236
|
forceAutoScrollFallback: boolean;
|
|
@@ -243,6 +242,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
243
242
|
selectedClass: string;
|
|
244
243
|
multiDragKey: string;
|
|
245
244
|
avoidImplicitDeselect: boolean;
|
|
245
|
+
onDeselect: (event: import("sortablejs").SortableEvent) => void;
|
|
246
246
|
revertOnSpill: boolean;
|
|
247
247
|
removeOnSpill: boolean;
|
|
248
248
|
onSpill: (evt: import("sortablejs").SortableEvent) => void;
|
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
import type { UploadFile } from 'ant-design-vue';
|
|
2
|
+
import { UploadRequestOption } from 'ant-design-vue/lib/vc-upload/interface';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
showPreviewNumber: {
|
|
5
|
+
type: import("vue").PropType<boolean>;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
emptyHidePreview: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
listType: {
|
|
13
|
+
type: import("vue").PropType<"picture" | "text" | "picture-card">;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
helpText: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
maxSize: {
|
|
21
|
+
type: import("vue").PropType<number>;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
maxNumber: {
|
|
25
|
+
type: import("vue").PropType<number>;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
accept: {
|
|
29
|
+
type: import("vue").PropType<string[]>;
|
|
30
|
+
default: () => any[];
|
|
31
|
+
};
|
|
32
|
+
multiple: {
|
|
33
|
+
type: import("vue").PropType<boolean>;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
uploadParams: {
|
|
37
|
+
type: import("vue").PropType<any>;
|
|
38
|
+
default: () => {};
|
|
39
|
+
};
|
|
40
|
+
api: {
|
|
41
|
+
type: import("vue").PropType<PromiseFn<any, any>>;
|
|
42
|
+
default: any;
|
|
43
|
+
required: boolean;
|
|
44
|
+
};
|
|
45
|
+
name: {
|
|
46
|
+
type: import("vue").PropType<string>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
filename: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
fileListOpenDrag: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
fileListDragOptions: {
|
|
58
|
+
type: import("vue").PropType<{
|
|
59
|
+
scroll: boolean | HTMLElement;
|
|
60
|
+
filter: string | ((this: import("sortablejs"), event: Event | TouchEvent, target: HTMLElement, sortable: import("sortablejs")) => boolean);
|
|
61
|
+
sort: boolean;
|
|
62
|
+
onChange: (evt: import("sortablejs").SortableEvent) => void;
|
|
63
|
+
onSelect: (event: import("sortablejs").SortableEvent) => void;
|
|
64
|
+
disabled: boolean;
|
|
65
|
+
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
66
|
+
draggable: string;
|
|
67
|
+
group: string | import("sortablejs").GroupOptions;
|
|
68
|
+
animation: number;
|
|
69
|
+
chosenClass: string;
|
|
70
|
+
dataIdAttr: string;
|
|
71
|
+
delay: number;
|
|
72
|
+
delayOnTouchOnly: boolean;
|
|
73
|
+
dragClass: string;
|
|
74
|
+
dragoverBubble: boolean;
|
|
75
|
+
dropBubble: boolean;
|
|
76
|
+
emptyInsertThreshold: number;
|
|
77
|
+
easing: string;
|
|
78
|
+
fallbackClass: string;
|
|
79
|
+
fallbackOnBody: boolean;
|
|
80
|
+
fallbackTolerance: number;
|
|
81
|
+
fallbackOffset: {
|
|
82
|
+
x: number;
|
|
83
|
+
y: number;
|
|
84
|
+
};
|
|
85
|
+
forceFallback: boolean;
|
|
86
|
+
ghostClass: string;
|
|
87
|
+
handle: string;
|
|
88
|
+
ignore: string;
|
|
89
|
+
invertSwap: boolean;
|
|
90
|
+
invertedSwapThreshold: number;
|
|
91
|
+
preventOnFilter: boolean;
|
|
92
|
+
removeCloneOnHide: boolean;
|
|
93
|
+
store: {
|
|
94
|
+
get: (sortable: import("sortablejs")) => string[];
|
|
95
|
+
set: (sortable: import("sortablejs")) => void;
|
|
96
|
+
};
|
|
97
|
+
swapThreshold: number;
|
|
98
|
+
touchStartThreshold: number;
|
|
99
|
+
setData: (dataTransfer: DataTransfer, draggedElement: HTMLElement) => void;
|
|
100
|
+
onStart: (event: import("sortablejs").SortableEvent) => void;
|
|
101
|
+
onAdd: (event: import("sortablejs").SortableEvent) => void;
|
|
102
|
+
onClone: (event: import("sortablejs").SortableEvent) => void;
|
|
103
|
+
onChoose: (event: import("sortablejs").SortableEvent) => void;
|
|
104
|
+
onUnchoose: (event: import("sortablejs").SortableEvent) => void;
|
|
105
|
+
onUpdate: (event: import("sortablejs").SortableEvent) => void;
|
|
106
|
+
onSort: (event: import("sortablejs").SortableEvent) => void;
|
|
107
|
+
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
108
|
+
onFilter: (event: import("sortablejs").SortableEvent) => void;
|
|
109
|
+
onMove: (evt: import("sortablejs").MoveEvent, originalEvent: Event) => boolean | void | 1 | -1;
|
|
110
|
+
forceAutoScrollFallback: boolean;
|
|
111
|
+
scrollFn: (this: import("sortablejs"), offsetX: number, offsetY: number, originalEvent: Event, touchEvt: TouchEvent, hoverTargetEl: HTMLElement) => void | "continue";
|
|
112
|
+
scrollSensitivity: number;
|
|
113
|
+
scrollSpeed: number;
|
|
114
|
+
bubbleScroll: boolean;
|
|
115
|
+
multiDrag: boolean;
|
|
116
|
+
selectedClass: string;
|
|
117
|
+
multiDragKey: string;
|
|
118
|
+
avoidImplicitDeselect: boolean;
|
|
119
|
+
onDeselect: (event: import("sortablejs").SortableEvent) => void;
|
|
120
|
+
revertOnSpill: boolean;
|
|
121
|
+
removeOnSpill: boolean;
|
|
122
|
+
onSpill: (evt: import("sortablejs").SortableEvent) => void;
|
|
123
|
+
swap: boolean;
|
|
124
|
+
swapClass: string;
|
|
125
|
+
onAfterEnd: <T = any, R = any>(params: T) => R;
|
|
126
|
+
}>;
|
|
127
|
+
default: () => {};
|
|
128
|
+
};
|
|
129
|
+
value: {
|
|
130
|
+
type: import("vue").PropType<string[]>;
|
|
131
|
+
default: () => any[];
|
|
132
|
+
};
|
|
133
|
+
}, {
|
|
134
|
+
emit: (event: "delete" | "change" | "update:value", ...args: any[]) => void;
|
|
135
|
+
props: any;
|
|
136
|
+
t: (key: any) => any;
|
|
137
|
+
createMessage: any;
|
|
138
|
+
accept: import("vue").Ref<string[]>;
|
|
139
|
+
helpText: import("vue").Ref<string>;
|
|
140
|
+
maxNumber: import("vue").Ref<number>;
|
|
141
|
+
maxSize: import("vue").Ref<number>;
|
|
142
|
+
isInnerOperate: import("vue").Ref<boolean>;
|
|
143
|
+
getStringAccept: import("vue").ComputedRef<string>;
|
|
144
|
+
previewOpen: import("vue").Ref<boolean>;
|
|
145
|
+
previewImage: import("vue").Ref<string>;
|
|
146
|
+
previewTitle: import("vue").Ref<string>;
|
|
147
|
+
fileList: import("vue").Ref<{
|
|
148
|
+
uid: string;
|
|
149
|
+
size?: number;
|
|
150
|
+
name: string;
|
|
151
|
+
fileName?: string;
|
|
152
|
+
lastModified?: number;
|
|
153
|
+
lastModifiedDate?: Date;
|
|
154
|
+
url?: string;
|
|
155
|
+
status?: import("ant-design-vue/es/upload/interface").UploadFileStatus;
|
|
156
|
+
percent?: number;
|
|
157
|
+
thumbUrl?: string;
|
|
158
|
+
crossOrigin?: "" | "anonymous" | "use-credentials";
|
|
159
|
+
originFileObj?: {
|
|
160
|
+
readonly lastModifiedDate: Date;
|
|
161
|
+
uid: string;
|
|
162
|
+
readonly lastModified: number;
|
|
163
|
+
readonly name: string;
|
|
164
|
+
readonly webkitRelativePath: string;
|
|
165
|
+
readonly size: number;
|
|
166
|
+
readonly type: string;
|
|
167
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
168
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
169
|
+
stream: () => ReadableStream<Uint8Array>;
|
|
170
|
+
text: () => Promise<string>;
|
|
171
|
+
};
|
|
172
|
+
response?: unknown;
|
|
173
|
+
error?: any;
|
|
174
|
+
linkProps?: any;
|
|
175
|
+
type?: string;
|
|
176
|
+
xhr?: unknown;
|
|
177
|
+
preview?: string;
|
|
178
|
+
}[]>;
|
|
179
|
+
isLtMsg: import("vue").Ref<boolean>;
|
|
180
|
+
isActMsg: import("vue").Ref<boolean>;
|
|
181
|
+
getBase64: <T_1 extends string | ArrayBuffer>(file: File) => Promise<T_1>;
|
|
182
|
+
handlePreview: (file: UploadFile) => Promise<void>;
|
|
183
|
+
handleRemove: (file: UploadFile) => Promise<void>;
|
|
184
|
+
handleCancel: () => void;
|
|
185
|
+
beforeUpload: (file: File) => any;
|
|
186
|
+
customRequest: (info: UploadRequestOption<any>) => Promise<void>;
|
|
187
|
+
getValue: () => any;
|
|
188
|
+
readonly PlusOutlined: import("@ant-design/icons-vue/lib/icons/PlusOutlined").PlusOutlinedIconType;
|
|
189
|
+
readonly Modal: any;
|
|
190
|
+
readonly Upload: any;
|
|
191
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "change" | "update:value")[], "delete" | "change" | "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
192
|
+
showPreviewNumber: {
|
|
193
|
+
type: import("vue").PropType<boolean>;
|
|
194
|
+
default: boolean;
|
|
195
|
+
};
|
|
196
|
+
emptyHidePreview: {
|
|
197
|
+
type: import("vue").PropType<boolean>;
|
|
198
|
+
default: boolean;
|
|
199
|
+
};
|
|
200
|
+
listType: {
|
|
201
|
+
type: import("vue").PropType<"picture" | "text" | "picture-card">;
|
|
202
|
+
default: string;
|
|
203
|
+
};
|
|
204
|
+
helpText: {
|
|
205
|
+
type: import("vue").PropType<string>;
|
|
206
|
+
default: string;
|
|
207
|
+
};
|
|
208
|
+
maxSize: {
|
|
209
|
+
type: import("vue").PropType<number>;
|
|
210
|
+
default: number;
|
|
211
|
+
};
|
|
212
|
+
maxNumber: {
|
|
213
|
+
type: import("vue").PropType<number>;
|
|
214
|
+
default: number;
|
|
215
|
+
};
|
|
216
|
+
accept: {
|
|
217
|
+
type: import("vue").PropType<string[]>;
|
|
218
|
+
default: () => any[];
|
|
219
|
+
};
|
|
220
|
+
multiple: {
|
|
221
|
+
type: import("vue").PropType<boolean>;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
uploadParams: {
|
|
225
|
+
type: import("vue").PropType<any>;
|
|
226
|
+
default: () => {};
|
|
227
|
+
};
|
|
228
|
+
api: {
|
|
229
|
+
type: import("vue").PropType<PromiseFn<any, any>>;
|
|
230
|
+
default: any;
|
|
231
|
+
required: boolean;
|
|
232
|
+
};
|
|
233
|
+
name: {
|
|
234
|
+
type: import("vue").PropType<string>;
|
|
235
|
+
default: string;
|
|
236
|
+
};
|
|
237
|
+
filename: {
|
|
238
|
+
type: import("vue").PropType<string>;
|
|
239
|
+
default: any;
|
|
240
|
+
};
|
|
241
|
+
fileListOpenDrag: {
|
|
242
|
+
type: BooleanConstructor;
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
245
|
+
fileListDragOptions: {
|
|
246
|
+
type: import("vue").PropType<{
|
|
247
|
+
scroll: boolean | HTMLElement;
|
|
248
|
+
filter: string | ((this: import("sortablejs"), event: Event | TouchEvent, target: HTMLElement, sortable: import("sortablejs")) => boolean);
|
|
249
|
+
sort: boolean;
|
|
250
|
+
onChange: (evt: import("sortablejs").SortableEvent) => void;
|
|
251
|
+
onSelect: (event: import("sortablejs").SortableEvent) => void;
|
|
252
|
+
disabled: boolean;
|
|
253
|
+
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
254
|
+
draggable: string;
|
|
255
|
+
group: string | import("sortablejs").GroupOptions;
|
|
256
|
+
animation: number;
|
|
257
|
+
chosenClass: string;
|
|
258
|
+
dataIdAttr: string;
|
|
259
|
+
delay: number;
|
|
260
|
+
delayOnTouchOnly: boolean;
|
|
261
|
+
dragClass: string;
|
|
262
|
+
dragoverBubble: boolean;
|
|
263
|
+
dropBubble: boolean;
|
|
264
|
+
emptyInsertThreshold: number;
|
|
265
|
+
easing: string;
|
|
266
|
+
fallbackClass: string;
|
|
267
|
+
fallbackOnBody: boolean;
|
|
268
|
+
fallbackTolerance: number;
|
|
269
|
+
fallbackOffset: {
|
|
270
|
+
x: number;
|
|
271
|
+
y: number;
|
|
272
|
+
};
|
|
273
|
+
forceFallback: boolean;
|
|
274
|
+
ghostClass: string;
|
|
275
|
+
handle: string;
|
|
276
|
+
ignore: string;
|
|
277
|
+
invertSwap: boolean;
|
|
278
|
+
invertedSwapThreshold: number;
|
|
279
|
+
preventOnFilter: boolean;
|
|
280
|
+
removeCloneOnHide: boolean;
|
|
281
|
+
store: {
|
|
282
|
+
get: (sortable: import("sortablejs")) => string[];
|
|
283
|
+
set: (sortable: import("sortablejs")) => void;
|
|
284
|
+
};
|
|
285
|
+
swapThreshold: number;
|
|
286
|
+
touchStartThreshold: number;
|
|
287
|
+
setData: (dataTransfer: DataTransfer, draggedElement: HTMLElement) => void;
|
|
288
|
+
onStart: (event: import("sortablejs").SortableEvent) => void;
|
|
289
|
+
onAdd: (event: import("sortablejs").SortableEvent) => void;
|
|
290
|
+
onClone: (event: import("sortablejs").SortableEvent) => void;
|
|
291
|
+
onChoose: (event: import("sortablejs").SortableEvent) => void;
|
|
292
|
+
onUnchoose: (event: import("sortablejs").SortableEvent) => void;
|
|
293
|
+
onUpdate: (event: import("sortablejs").SortableEvent) => void;
|
|
294
|
+
onSort: (event: import("sortablejs").SortableEvent) => void;
|
|
295
|
+
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
296
|
+
onFilter: (event: import("sortablejs").SortableEvent) => void;
|
|
297
|
+
onMove: (evt: import("sortablejs").MoveEvent, originalEvent: Event) => boolean | void | 1 | -1;
|
|
298
|
+
forceAutoScrollFallback: boolean;
|
|
299
|
+
scrollFn: (this: import("sortablejs"), offsetX: number, offsetY: number, originalEvent: Event, touchEvt: TouchEvent, hoverTargetEl: HTMLElement) => void | "continue";
|
|
300
|
+
scrollSensitivity: number;
|
|
301
|
+
scrollSpeed: number;
|
|
302
|
+
bubbleScroll: boolean;
|
|
303
|
+
multiDrag: boolean;
|
|
304
|
+
selectedClass: string;
|
|
305
|
+
multiDragKey: string;
|
|
306
|
+
avoidImplicitDeselect: boolean;
|
|
307
|
+
onDeselect: (event: import("sortablejs").SortableEvent) => void;
|
|
308
|
+
revertOnSpill: boolean;
|
|
309
|
+
removeOnSpill: boolean;
|
|
310
|
+
onSpill: (evt: import("sortablejs").SortableEvent) => void;
|
|
311
|
+
swap: boolean;
|
|
312
|
+
swapClass: string;
|
|
313
|
+
onAfterEnd: <T = any, R = any>(params: T) => R;
|
|
314
|
+
}>;
|
|
315
|
+
default: () => {};
|
|
316
|
+
};
|
|
317
|
+
value: {
|
|
318
|
+
type: import("vue").PropType<string[]>;
|
|
319
|
+
default: () => any[];
|
|
320
|
+
};
|
|
321
|
+
}>> & {
|
|
322
|
+
onChange?: (...args: any[]) => any;
|
|
323
|
+
"onUpdate:value"?: (...args: any[]) => any;
|
|
324
|
+
onDelete?: (...args: any[]) => any;
|
|
325
|
+
}, {
|
|
326
|
+
value: string[];
|
|
327
|
+
name: string;
|
|
328
|
+
api: PromiseFn<any, any>;
|
|
329
|
+
showPreviewNumber: boolean;
|
|
330
|
+
emptyHidePreview: boolean;
|
|
331
|
+
listType: "picture" | "text" | "picture-card";
|
|
332
|
+
helpText: string;
|
|
333
|
+
maxSize: number;
|
|
334
|
+
maxNumber: number;
|
|
335
|
+
accept: string[];
|
|
336
|
+
multiple: boolean;
|
|
337
|
+
uploadParams: any;
|
|
338
|
+
filename: string;
|
|
339
|
+
fileListOpenDrag: boolean;
|
|
340
|
+
fileListDragOptions: {
|
|
341
|
+
scroll: boolean | HTMLElement;
|
|
342
|
+
filter: string | ((this: import("sortablejs"), event: Event | TouchEvent, target: HTMLElement, sortable: import("sortablejs")) => boolean);
|
|
343
|
+
sort: boolean;
|
|
344
|
+
onChange: (evt: import("sortablejs").SortableEvent) => void;
|
|
345
|
+
onSelect: (event: import("sortablejs").SortableEvent) => void;
|
|
346
|
+
disabled: boolean;
|
|
347
|
+
direction: ((evt: import("sortablejs").SortableEvent, target: HTMLElement, dragEl: HTMLElement) => import("sortablejs").Direction) | import("sortablejs").Direction;
|
|
348
|
+
draggable: string;
|
|
349
|
+
group: string | import("sortablejs").GroupOptions;
|
|
350
|
+
animation: number;
|
|
351
|
+
chosenClass: string;
|
|
352
|
+
dataIdAttr: string;
|
|
353
|
+
delay: number;
|
|
354
|
+
delayOnTouchOnly: boolean;
|
|
355
|
+
dragClass: string;
|
|
356
|
+
dragoverBubble: boolean;
|
|
357
|
+
dropBubble: boolean;
|
|
358
|
+
emptyInsertThreshold: number;
|
|
359
|
+
easing: string;
|
|
360
|
+
fallbackClass: string;
|
|
361
|
+
fallbackOnBody: boolean;
|
|
362
|
+
fallbackTolerance: number;
|
|
363
|
+
fallbackOffset: {
|
|
364
|
+
x: number;
|
|
365
|
+
y: number;
|
|
366
|
+
};
|
|
367
|
+
forceFallback: boolean;
|
|
368
|
+
ghostClass: string;
|
|
369
|
+
handle: string;
|
|
370
|
+
ignore: string;
|
|
371
|
+
invertSwap: boolean;
|
|
372
|
+
invertedSwapThreshold: number;
|
|
373
|
+
preventOnFilter: boolean;
|
|
374
|
+
removeCloneOnHide: boolean;
|
|
375
|
+
store: {
|
|
376
|
+
get: (sortable: import("sortablejs")) => string[];
|
|
377
|
+
set: (sortable: import("sortablejs")) => void;
|
|
378
|
+
};
|
|
379
|
+
swapThreshold: number;
|
|
380
|
+
touchStartThreshold: number;
|
|
381
|
+
setData: (dataTransfer: DataTransfer, draggedElement: HTMLElement) => void;
|
|
382
|
+
onStart: (event: import("sortablejs").SortableEvent) => void;
|
|
383
|
+
onAdd: (event: import("sortablejs").SortableEvent) => void;
|
|
384
|
+
onClone: (event: import("sortablejs").SortableEvent) => void;
|
|
385
|
+
onChoose: (event: import("sortablejs").SortableEvent) => void;
|
|
386
|
+
onUnchoose: (event: import("sortablejs").SortableEvent) => void;
|
|
387
|
+
onUpdate: (event: import("sortablejs").SortableEvent) => void;
|
|
388
|
+
onSort: (event: import("sortablejs").SortableEvent) => void;
|
|
389
|
+
onRemove: (event: import("sortablejs").SortableEvent) => void;
|
|
390
|
+
onFilter: (event: import("sortablejs").SortableEvent) => void;
|
|
391
|
+
onMove: (evt: import("sortablejs").MoveEvent, originalEvent: Event) => boolean | void | 1 | -1;
|
|
392
|
+
forceAutoScrollFallback: boolean;
|
|
393
|
+
scrollFn: (this: import("sortablejs"), offsetX: number, offsetY: number, originalEvent: Event, touchEvt: TouchEvent, hoverTargetEl: HTMLElement) => void | "continue";
|
|
394
|
+
scrollSensitivity: number;
|
|
395
|
+
scrollSpeed: number;
|
|
396
|
+
bubbleScroll: boolean;
|
|
397
|
+
multiDrag: boolean;
|
|
398
|
+
selectedClass: string;
|
|
399
|
+
multiDragKey: string;
|
|
400
|
+
avoidImplicitDeselect: boolean;
|
|
401
|
+
onDeselect: (event: import("sortablejs").SortableEvent) => void;
|
|
402
|
+
revertOnSpill: boolean;
|
|
403
|
+
removeOnSpill: boolean;
|
|
404
|
+
onSpill: (evt: import("sortablejs").SortableEvent) => void;
|
|
405
|
+
swap: boolean;
|
|
406
|
+
swapClass: string;
|
|
407
|
+
onAfterEnd: <T = any, R = any>(params: T) => R;
|
|
408
|
+
};
|
|
409
|
+
}, {}>;
|
|
410
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
fileUrl: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
fileName: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
readonly Image: any;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
fileUrl: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
fileName: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
fileName: string;
|
|
23
|
+
fileUrl: string;
|
|
24
|
+
}, {}>;
|
|
25
|
+
export default _sfc_main;
|