@uploadista/vue 0.0.20 → 0.1.0
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/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/{components-CskPs6sR.css → components-B_L33hsM.css} +33 -33
- package/dist/{components-CskPs6sR.css.map → components-B_L33hsM.css.map} +1 -1
- package/dist/components-MZ9ETx9c.mjs +2 -0
- package/dist/components-MZ9ETx9c.mjs.map +1 -0
- package/dist/composables/index.d.mts +1 -1
- package/dist/composables/index.mjs +1 -1
- package/dist/composables-Dny_9Zrg.mjs +2 -0
- package/dist/composables-Dny_9Zrg.mjs.map +1 -0
- package/dist/{index-CLOy812P.d.mts → index-6Scxoy1b.d.mts} +412 -408
- package/dist/index-6Scxoy1b.d.mts.map +1 -0
- package/dist/{index-CDJUpsAf.d.mts → index-BpCRFLJ5.d.mts} +8 -8
- package/dist/index-BpCRFLJ5.d.mts.map +1 -0
- package/dist/{index-BSlqFF1H.d.mts → index-RY4FPqAk.d.mts} +431 -431
- package/dist/index-RY4FPqAk.d.mts.map +1 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/providers/index.d.mts +1 -1
- package/dist/providers/index.mjs +1 -1
- package/dist/{providers-fqmOwF71.mjs → providers-CjhEBaQV.mjs} +2 -2
- package/dist/providers-CjhEBaQV.mjs.map +1 -0
- package/dist/useUploadistaClient-WVuo8jYH.mjs.map +1 -1
- package/dist/utils/index.d.mts +62 -2
- package/dist/utils/index.d.mts.map +1 -0
- package/package.json +11 -9
- package/src/__tests__/setup.ts +154 -0
- package/src/components/FlowUploadList.vue +25 -24
- package/src/components/UploadList.vue +3 -6
- package/src/components/UploadZone.vue +2 -5
- package/src/components/flow/Flow.vue +16 -4
- package/src/components/flow/FlowDropZone.vue +4 -2
- package/src/components/flow/FlowInput.vue +14 -8
- package/src/components/flow/FlowInputDropZone.vue +4 -2
- package/src/components/flow/FlowInputPreview.vue +3 -1
- package/src/components/flow/FlowProgress.vue +1 -1
- package/src/components/flow/FlowStatus.vue +1 -1
- package/src/components/flow/useFlowContext.ts +7 -5
- package/src/components/index.ts +2 -3
- package/src/components/upload/Upload.vue +16 -5
- package/src/components/upload/UploadCancel.vue +2 -4
- package/src/components/upload/UploadClearCompleted.vue +1 -1
- package/src/components/upload/UploadDropZone.vue +7 -7
- package/src/components/upload/UploadError.vue +2 -4
- package/src/components/upload/UploadItem.vue +8 -6
- package/src/components/upload/UploadItems.vue +2 -4
- package/src/components/upload/UploadProgress.vue +2 -4
- package/src/components/upload/UploadReset.vue +2 -4
- package/src/components/upload/UploadRetry.vue +2 -4
- package/src/components/upload/UploadStartAll.vue +6 -6
- package/src/components/upload/UploadStatus.vue +2 -4
- package/src/components/upload/index.ts +21 -25
- package/src/composables/eventUtils.test.ts +267 -0
- package/src/composables/eventUtils.ts +5 -4
- package/src/composables/index.ts +1 -1
- package/src/composables/useDragDrop.test.ts +304 -0
- package/src/composables/useFlow.ts +6 -2
- package/src/composables/useFlowManagerContext.ts +5 -1
- package/src/composables/useUploadEvents.ts +1 -4
- package/src/composables/useUploadistaClient.test.ts +152 -0
- package/src/index.ts +43 -45
- package/src/providers/FlowManagerProvider.vue +5 -2
- package/src/utils/index.test.ts +396 -0
- package/src/utils/is-browser-file.test.ts +45 -0
- package/vitest.config.ts +25 -0
- package/dist/components-DoBB6sqm.mjs +0 -2
- package/dist/components-DoBB6sqm.mjs.map +0 -1
- package/dist/composables-BZ2c_WgI.mjs +0 -2
- package/dist/composables-BZ2c_WgI.mjs.map +0 -1
- package/dist/index-BLNNvTVx.d.mts +0 -62
- package/dist/index-BLNNvTVx.d.mts.map +0 -1
- package/dist/index-BSlqFF1H.d.mts.map +0 -1
- package/dist/index-CDJUpsAf.d.mts.map +0 -1
- package/dist/index-CLOy812P.d.mts.map +0 -1
- package/dist/providers-fqmOwF71.mjs.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
1
|
+
import { F as DragDropState, L as FlowInputMetadata, V as UseFlowReturn, c as UploadItem, o as MultiUploadOptions, s as MultiUploadState } from "./index-RY4FPqAk.mjs";
|
|
2
|
+
import * as vue20 from "vue";
|
|
3
|
+
import { VNodeChild } from "vue";
|
|
4
|
+
import { BrowserUploadInput, FlowUploadItem, UploadOptions } from "@uploadista/client-browser";
|
|
3
5
|
import { TypedOutput } from "@uploadista/core/flow";
|
|
4
6
|
import { UploadFile } from "@uploadista/core/types";
|
|
5
|
-
import { BrowserUploadInput, FlowUploadItem, UploadOptions } from "@uploadista/client-browser";
|
|
6
7
|
import { FlowUploadStatus } from "@uploadista/client-core";
|
|
7
8
|
|
|
8
9
|
//#region src/components/FlowUploadList.vue.d.ts
|
|
@@ -27,31 +28,33 @@ interface FlowUploadListProps {
|
|
|
27
28
|
*/
|
|
28
29
|
sortBy?: (a: FlowUploadItem<BrowserUploadInput>, b: FlowUploadItem<BrowserUploadInput>) => number;
|
|
29
30
|
}
|
|
31
|
+
interface FlowUploadListItemProps {
|
|
32
|
+
item: FlowUploadItem<BrowserUploadInput>;
|
|
33
|
+
index: number;
|
|
34
|
+
isPending: boolean;
|
|
35
|
+
isUploading: boolean;
|
|
36
|
+
isSuccess: boolean;
|
|
37
|
+
isError: boolean;
|
|
38
|
+
isAborted: boolean;
|
|
39
|
+
formatFileSize: (bytes: number) => string;
|
|
40
|
+
}
|
|
41
|
+
interface FlowUploadListDefaultProps {
|
|
42
|
+
items: FlowUploadItem<BrowserUploadInput>[];
|
|
43
|
+
itemsByStatus: {
|
|
44
|
+
pending: FlowUploadItem<BrowserUploadInput>[];
|
|
45
|
+
uploading: FlowUploadItem<BrowserUploadInput>[];
|
|
46
|
+
success: FlowUploadItem<BrowserUploadInput>[];
|
|
47
|
+
error: FlowUploadItem<BrowserUploadInput>[];
|
|
48
|
+
aborted: FlowUploadItem<BrowserUploadInput>[];
|
|
49
|
+
};
|
|
50
|
+
}
|
|
30
51
|
type __VLS_Slots$23 = {
|
|
31
|
-
item(props:
|
|
32
|
-
|
|
33
|
-
index: number;
|
|
34
|
-
isPending: boolean;
|
|
35
|
-
isUploading: boolean;
|
|
36
|
-
isSuccess: boolean;
|
|
37
|
-
isError: boolean;
|
|
38
|
-
isAborted: boolean;
|
|
39
|
-
formatFileSize: (bytes: number) => string;
|
|
40
|
-
}): any;
|
|
41
|
-
default?(props: {
|
|
42
|
-
items: FlowUploadItem<BrowserUploadInput>[];
|
|
43
|
-
itemsByStatus: {
|
|
44
|
-
pending: FlowUploadItem<BrowserUploadInput>[];
|
|
45
|
-
uploading: FlowUploadItem<BrowserUploadInput>[];
|
|
46
|
-
success: FlowUploadItem<BrowserUploadInput>[];
|
|
47
|
-
error: FlowUploadItem<BrowserUploadInput>[];
|
|
48
|
-
aborted: FlowUploadItem<BrowserUploadInput>[];
|
|
49
|
-
};
|
|
50
|
-
}): any;
|
|
52
|
+
item(props: FlowUploadListItemProps): VNodeChild;
|
|
53
|
+
default(props: FlowUploadListDefaultProps): VNodeChild;
|
|
51
54
|
};
|
|
52
|
-
declare const __VLS_base$23:
|
|
55
|
+
declare const __VLS_base$23: vue20.DefineComponent<FlowUploadListProps, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<FlowUploadListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
53
56
|
declare const __VLS_export$27: __VLS_WithSlots$26<typeof __VLS_base$23, __VLS_Slots$23>;
|
|
54
|
-
declare const _default: typeof __VLS_export$27;
|
|
57
|
+
declare const _default$27: typeof __VLS_export$27;
|
|
55
58
|
type __VLS_WithSlots$26<T, S> = T & {
|
|
56
59
|
new (): {
|
|
57
60
|
$slots: S;
|
|
@@ -59,128 +62,6 @@ type __VLS_WithSlots$26<T, S> = T & {
|
|
|
59
62
|
};
|
|
60
63
|
//# sourceMappingURL=FlowUploadList.vue.d.ts.map
|
|
61
64
|
//#endregion
|
|
62
|
-
//#region src/components/UploadList.vue.d.ts
|
|
63
|
-
/**
|
|
64
|
-
* Props for the UploadList component
|
|
65
|
-
* @property {UploadItem[]} uploads - Array of upload items to display
|
|
66
|
-
* @property {Function} filter - Optional filter for which items to display
|
|
67
|
-
* @property {Function} sortBy - Optional sorting function for items (a, b) => number
|
|
68
|
-
*/
|
|
69
|
-
interface UploadListProps {
|
|
70
|
-
/**
|
|
71
|
-
* Array of upload items to display
|
|
72
|
-
*/
|
|
73
|
-
uploads: UploadItem[];
|
|
74
|
-
/**
|
|
75
|
-
* Optional filter for which items to display
|
|
76
|
-
*/
|
|
77
|
-
filter?: (item: UploadItem) => boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Optional sorting function for items
|
|
80
|
-
*/
|
|
81
|
-
sortBy?: (a: UploadItem, b: UploadItem) => number;
|
|
82
|
-
}
|
|
83
|
-
type __VLS_Slots$22 = {
|
|
84
|
-
item(props: {
|
|
85
|
-
item: UploadItem;
|
|
86
|
-
index: number;
|
|
87
|
-
isUploading: boolean;
|
|
88
|
-
isSuccess: boolean;
|
|
89
|
-
isError: boolean;
|
|
90
|
-
formatFileSize: (bytes: number) => string;
|
|
91
|
-
}): any;
|
|
92
|
-
default?(props: {
|
|
93
|
-
items: UploadItem[];
|
|
94
|
-
itemsByStatus: {
|
|
95
|
-
idle: UploadItem[];
|
|
96
|
-
uploading: UploadItem[];
|
|
97
|
-
success: UploadItem[];
|
|
98
|
-
error: UploadItem[];
|
|
99
|
-
aborted: UploadItem[];
|
|
100
|
-
};
|
|
101
|
-
}): any;
|
|
102
|
-
};
|
|
103
|
-
declare const __VLS_base$22: vue10.DefineComponent<UploadListProps, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {}, string, vue10.PublicProps, Readonly<UploadListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue10.ComponentProvideOptions, false, {}, any>;
|
|
104
|
-
declare const __VLS_export$26: __VLS_WithSlots$25<typeof __VLS_base$22, __VLS_Slots$22>;
|
|
105
|
-
declare const _default$1: typeof __VLS_export$26;
|
|
106
|
-
type __VLS_WithSlots$25<T, S> = T & {
|
|
107
|
-
new (): {
|
|
108
|
-
$slots: S;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
//# sourceMappingURL=UploadList.vue.d.ts.map
|
|
112
|
-
//#endregion
|
|
113
|
-
//#region src/components/UploadZone.vue.d.ts
|
|
114
|
-
/**
|
|
115
|
-
* Props for the UploadZone component
|
|
116
|
-
* @property {string[]} accept - Accepted file types (MIME types or file extensions)
|
|
117
|
-
* @property {boolean} multiple - Whether to allow multiple files (default: true)
|
|
118
|
-
* @property {boolean} disabled - Whether the upload zone is disabled (default: false)
|
|
119
|
-
* @property {number} maxFileSize - Maximum file size in bytes
|
|
120
|
-
* @property {Function} validator - Custom validation function for files
|
|
121
|
-
* @property {MultiUploadOptions} multiUploadOptions - Multi-upload options (only used when multiple=true)
|
|
122
|
-
* @property {UploadOptions} uploadOptions - Single upload options (only used when multiple=false)
|
|
123
|
-
*/
|
|
124
|
-
interface UploadZoneProps {
|
|
125
|
-
/**
|
|
126
|
-
* Accepted file types (MIME types or file extensions)
|
|
127
|
-
*/
|
|
128
|
-
accept?: string[];
|
|
129
|
-
/**
|
|
130
|
-
* Whether to allow multiple files
|
|
131
|
-
*/
|
|
132
|
-
multiple?: boolean;
|
|
133
|
-
/**
|
|
134
|
-
* Whether the upload zone is disabled
|
|
135
|
-
*/
|
|
136
|
-
disabled?: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* Maximum file size in bytes
|
|
139
|
-
*/
|
|
140
|
-
maxFileSize?: number;
|
|
141
|
-
/**
|
|
142
|
-
* Custom validation function for files
|
|
143
|
-
*/
|
|
144
|
-
validator?: (files: File[]) => string[] | null;
|
|
145
|
-
/**
|
|
146
|
-
* Multi-upload options (only used when multiple=true)
|
|
147
|
-
*/
|
|
148
|
-
multiUploadOptions?: MultiUploadOptions;
|
|
149
|
-
/**
|
|
150
|
-
* Single upload options (only used when multiple=false)
|
|
151
|
-
*/
|
|
152
|
-
uploadOptions?: UploadOptions;
|
|
153
|
-
}
|
|
154
|
-
type __VLS_Slots$21 = {
|
|
155
|
-
default(props: {
|
|
156
|
-
isDragging: boolean;
|
|
157
|
-
isOver: boolean;
|
|
158
|
-
isUploading: boolean;
|
|
159
|
-
errors: string[];
|
|
160
|
-
openFilePicker: () => void;
|
|
161
|
-
}): any;
|
|
162
|
-
};
|
|
163
|
-
declare const __VLS_base$21: vue10.DefineComponent<UploadZoneProps, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {
|
|
164
|
-
"file-select": (files: File[]) => any;
|
|
165
|
-
"upload-start": (files: File[]) => any;
|
|
166
|
-
"validation-error": (errors: string[]) => any;
|
|
167
|
-
}, string, vue10.PublicProps, Readonly<UploadZoneProps> & Readonly<{
|
|
168
|
-
"onFile-select"?: ((files: File[]) => any) | undefined;
|
|
169
|
-
"onUpload-start"?: ((files: File[]) => any) | undefined;
|
|
170
|
-
"onValidation-error"?: ((errors: string[]) => any) | undefined;
|
|
171
|
-
}>, {
|
|
172
|
-
multiple: boolean;
|
|
173
|
-
disabled: boolean;
|
|
174
|
-
}, {}, {}, {}, string, vue10.ComponentProvideOptions, false, {}, any>;
|
|
175
|
-
declare const __VLS_export$25: __VLS_WithSlots$24<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
176
|
-
declare const _default$2: typeof __VLS_export$25;
|
|
177
|
-
type __VLS_WithSlots$24<T, S> = T & {
|
|
178
|
-
new (): {
|
|
179
|
-
$slots: S;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
//# sourceMappingURL=UploadZone.vue.d.ts.map
|
|
183
|
-
//#endregion
|
|
184
65
|
//#region src/components/flow/Flow.vue.d.ts
|
|
185
66
|
/**
|
|
186
67
|
* Props for the Flow root component.
|
|
@@ -230,25 +111,25 @@ interface FlowContextValue {
|
|
|
230
111
|
isDiscoveringInputs: UseFlowReturn["isDiscoveringInputs"];
|
|
231
112
|
}
|
|
232
113
|
declare var __VLS_1$20: {};
|
|
233
|
-
type __VLS_Slots$
|
|
114
|
+
type __VLS_Slots$22 = {} & {
|
|
234
115
|
default?: (props: typeof __VLS_1$20) => any;
|
|
235
116
|
};
|
|
236
|
-
declare const __VLS_base$
|
|
117
|
+
declare const __VLS_base$22: vue20.DefineComponent<FlowProps, FlowContextValue, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {
|
|
237
118
|
progress: (uploadId: string, bytesUploaded: number, totalBytes: number | null) => any;
|
|
238
119
|
success: (outputs: TypedOutput[]) => any;
|
|
239
120
|
error: (error: Error) => any;
|
|
240
121
|
abort: () => any;
|
|
241
122
|
flowComplete: (outputs: TypedOutput[]) => any;
|
|
242
|
-
}, string,
|
|
123
|
+
}, string, vue20.PublicProps, Readonly<FlowProps> & Readonly<{
|
|
243
124
|
onProgress?: ((uploadId: string, bytesUploaded: number, totalBytes: number | null) => any) | undefined;
|
|
244
125
|
onSuccess?: ((outputs: TypedOutput[]) => any) | undefined;
|
|
245
126
|
onError?: ((error: Error) => any) | undefined;
|
|
246
127
|
onAbort?: (() => any) | undefined;
|
|
247
128
|
onFlowComplete?: ((outputs: TypedOutput[]) => any) | undefined;
|
|
248
|
-
}>, {}, {}, {}, {}, string,
|
|
249
|
-
declare const __VLS_export$
|
|
250
|
-
declare const _default$
|
|
251
|
-
type __VLS_WithSlots$
|
|
129
|
+
}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
130
|
+
declare const __VLS_export$26: __VLS_WithSlots$25<typeof __VLS_base$22, __VLS_Slots$22>;
|
|
131
|
+
declare const _default$26: typeof __VLS_export$26;
|
|
132
|
+
type __VLS_WithSlots$25<T, S> = T & {
|
|
252
133
|
new (): {
|
|
253
134
|
$slots: S;
|
|
254
135
|
};
|
|
@@ -256,11 +137,11 @@ type __VLS_WithSlots$23<T, S> = T & {
|
|
|
256
137
|
//# sourceMappingURL=Flow.vue.d.ts.map
|
|
257
138
|
//#endregion
|
|
258
139
|
//#region src/components/flow/FlowCancel.vue.d.ts
|
|
259
|
-
declare const _default$
|
|
260
|
-
declare const __VLS_export$
|
|
140
|
+
declare const _default$25: typeof __VLS_export$25;
|
|
141
|
+
declare const __VLS_export$25: __VLS_WithSlots$24<vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>, {
|
|
261
142
|
default?: (props: {}) => any;
|
|
262
143
|
}>;
|
|
263
|
-
type __VLS_WithSlots$
|
|
144
|
+
type __VLS_WithSlots$24<T, S> = T & {
|
|
264
145
|
new (): {
|
|
265
146
|
$slots: S;
|
|
266
147
|
};
|
|
@@ -277,7 +158,7 @@ interface FlowDropZoneProps {
|
|
|
277
158
|
/** Maximum file size in bytes */
|
|
278
159
|
maxFileSize?: number;
|
|
279
160
|
}
|
|
280
|
-
declare const inputRef$1:
|
|
161
|
+
declare const inputRef$1: vue20.Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
281
162
|
/**
|
|
282
163
|
* Slot props provided to the default slot.
|
|
283
164
|
*/
|
|
@@ -343,16 +224,16 @@ declare var __VLS_1$19: {
|
|
|
343
224
|
/** Ref for the file input element */
|
|
344
225
|
inputRef: typeof inputRef$1;
|
|
345
226
|
};
|
|
346
|
-
type __VLS_Slots$
|
|
227
|
+
type __VLS_Slots$21 = {} & {
|
|
347
228
|
default?: (props: typeof __VLS_1$19) => any;
|
|
348
229
|
};
|
|
349
|
-
declare const __VLS_base$
|
|
230
|
+
declare const __VLS_base$21: vue20.DefineComponent<FlowDropZoneProps, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<FlowDropZoneProps> & Readonly<{}>, {
|
|
350
231
|
accept: string;
|
|
351
232
|
maxFileSize: number;
|
|
352
|
-
}, {}, {}, {}, string,
|
|
353
|
-
declare const __VLS_export$
|
|
354
|
-
declare const _default$
|
|
355
|
-
type __VLS_WithSlots$
|
|
233
|
+
}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
234
|
+
declare const __VLS_export$24: __VLS_WithSlots$23<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
235
|
+
declare const _default$24: typeof __VLS_export$24;
|
|
236
|
+
type __VLS_WithSlots$23<T, S> = T & {
|
|
356
237
|
new (): {
|
|
357
238
|
$slots: S;
|
|
358
239
|
};
|
|
@@ -383,13 +264,13 @@ declare var __VLS_1$18: {
|
|
|
383
264
|
/** Reset the flow */
|
|
384
265
|
reset: () => void;
|
|
385
266
|
};
|
|
386
|
-
type __VLS_Slots$
|
|
267
|
+
type __VLS_Slots$20 = {} & {
|
|
387
268
|
default?: (props: typeof __VLS_1$18) => any;
|
|
388
269
|
};
|
|
389
|
-
declare const __VLS_base$
|
|
390
|
-
declare const __VLS_export$
|
|
391
|
-
declare const _default$
|
|
392
|
-
type __VLS_WithSlots$
|
|
270
|
+
declare const __VLS_base$20: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
271
|
+
declare const __VLS_export$23: __VLS_WithSlots$22<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
272
|
+
declare const _default$23: typeof __VLS_export$23;
|
|
273
|
+
type __VLS_WithSlots$22<T, S> = T & {
|
|
393
274
|
new (): {
|
|
394
275
|
$slots: S;
|
|
395
276
|
};
|
|
@@ -476,13 +357,13 @@ declare var __VLS_1$17: {
|
|
|
476
357
|
/** Per-input execution state (if available) */
|
|
477
358
|
state: FlowInputContextValue["state"];
|
|
478
359
|
};
|
|
479
|
-
type __VLS_Slots$
|
|
360
|
+
type __VLS_Slots$19 = {} & {
|
|
480
361
|
default?: (props: typeof __VLS_1$17) => any;
|
|
481
362
|
};
|
|
482
|
-
declare const __VLS_base$
|
|
483
|
-
declare const __VLS_export$
|
|
484
|
-
declare const _default$
|
|
485
|
-
type __VLS_WithSlots$
|
|
363
|
+
declare const __VLS_base$19: vue20.DefineComponent<FlowInputProps, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<FlowInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
364
|
+
declare const __VLS_export$22: __VLS_WithSlots$21<typeof __VLS_base$19, __VLS_Slots$19>;
|
|
365
|
+
declare const _default$22: typeof __VLS_export$22;
|
|
366
|
+
type __VLS_WithSlots$21<T, S> = T & {
|
|
486
367
|
new (): {
|
|
487
368
|
$slots: S;
|
|
488
369
|
};
|
|
@@ -499,7 +380,7 @@ interface FlowInputDropZoneProps {
|
|
|
499
380
|
/** Maximum file size in bytes */
|
|
500
381
|
maxFileSize?: number;
|
|
501
382
|
}
|
|
502
|
-
declare const inputRef:
|
|
383
|
+
declare const inputRef: vue20.Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
503
384
|
/**
|
|
504
385
|
* Slot props provided to the default slot.
|
|
505
386
|
*/
|
|
@@ -569,16 +450,16 @@ declare var __VLS_1$16: {
|
|
|
569
450
|
/** Ref for the file input element */
|
|
570
451
|
inputRef: typeof inputRef;
|
|
571
452
|
};
|
|
572
|
-
type __VLS_Slots$
|
|
453
|
+
type __VLS_Slots$18 = {} & {
|
|
573
454
|
default?: (props: typeof __VLS_1$16) => any;
|
|
574
455
|
};
|
|
575
|
-
declare const __VLS_base$
|
|
456
|
+
declare const __VLS_base$18: vue20.DefineComponent<FlowInputDropZoneProps, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<FlowInputDropZoneProps> & Readonly<{}>, {
|
|
576
457
|
accept: string;
|
|
577
458
|
maxFileSize: number;
|
|
578
|
-
}, {}, {}, {}, string,
|
|
579
|
-
declare const __VLS_export$
|
|
580
|
-
declare const _default$
|
|
581
|
-
type __VLS_WithSlots$
|
|
459
|
+
}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
460
|
+
declare const __VLS_export$21: __VLS_WithSlots$20<typeof __VLS_base$18, __VLS_Slots$18>;
|
|
461
|
+
declare const _default$21: typeof __VLS_export$21;
|
|
462
|
+
type __VLS_WithSlots$20<T, S> = T & {
|
|
582
463
|
new (): {
|
|
583
464
|
$slots: S;
|
|
584
465
|
};
|
|
@@ -617,13 +498,13 @@ declare var __VLS_1$15: {
|
|
|
617
498
|
/** Clear the input value */
|
|
618
499
|
clear: () => void;
|
|
619
500
|
};
|
|
620
|
-
type __VLS_Slots$
|
|
501
|
+
type __VLS_Slots$17 = {} & {
|
|
621
502
|
default?: (props: typeof __VLS_1$15) => any;
|
|
622
503
|
};
|
|
623
|
-
declare const __VLS_base$
|
|
624
|
-
declare const __VLS_export$
|
|
625
|
-
declare const _default$
|
|
626
|
-
type __VLS_WithSlots$
|
|
504
|
+
declare const __VLS_base$17: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
505
|
+
declare const __VLS_export$20: __VLS_WithSlots$19<typeof __VLS_base$17, __VLS_Slots$17>;
|
|
506
|
+
declare const _default$20: typeof __VLS_export$20;
|
|
507
|
+
type __VLS_WithSlots$19<T, S> = T & {
|
|
627
508
|
new (): {
|
|
628
509
|
$slots: S;
|
|
629
510
|
};
|
|
@@ -646,13 +527,13 @@ declare var __VLS_1$14: {
|
|
|
646
527
|
/** Whether inputs are still being discovered */
|
|
647
528
|
isLoading: boolean;
|
|
648
529
|
};
|
|
649
|
-
type __VLS_Slots$
|
|
530
|
+
type __VLS_Slots$16 = {} & {
|
|
650
531
|
default?: (props: typeof __VLS_1$14) => any;
|
|
651
532
|
};
|
|
652
|
-
declare const __VLS_base$
|
|
653
|
-
declare const __VLS_export$
|
|
654
|
-
declare const _default$
|
|
655
|
-
type __VLS_WithSlots$
|
|
533
|
+
declare const __VLS_base$16: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
534
|
+
declare const __VLS_export$19: __VLS_WithSlots$18<typeof __VLS_base$16, __VLS_Slots$16>;
|
|
535
|
+
declare const _default$19: typeof __VLS_export$19;
|
|
536
|
+
type __VLS_WithSlots$18<T, S> = T & {
|
|
656
537
|
new (): {
|
|
657
538
|
$slots: S;
|
|
658
539
|
};
|
|
@@ -667,10 +548,10 @@ interface FlowInputUrlFieldProps {
|
|
|
667
548
|
/** Placeholder text */
|
|
668
549
|
placeholder?: string;
|
|
669
550
|
}
|
|
670
|
-
declare const _default$
|
|
671
|
-
declare const __VLS_export$
|
|
551
|
+
declare const _default$18: typeof __VLS_export$18;
|
|
552
|
+
declare const __VLS_export$18: vue20.DefineComponent<FlowInputUrlFieldProps, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<FlowInputUrlFieldProps> & Readonly<{}>, {
|
|
672
553
|
placeholder: string;
|
|
673
|
-
}, {}, {}, {}, string,
|
|
554
|
+
}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
674
555
|
//# sourceMappingURL=FlowInputUrlField.vue.d.ts.map
|
|
675
556
|
//#endregion
|
|
676
557
|
//#region src/components/flow/FlowProgress.vue.d.ts
|
|
@@ -697,13 +578,13 @@ declare var __VLS_1$13: {
|
|
|
697
578
|
/** Current status */
|
|
698
579
|
status: FlowUploadStatus;
|
|
699
580
|
};
|
|
700
|
-
type __VLS_Slots$
|
|
581
|
+
type __VLS_Slots$15 = {} & {
|
|
701
582
|
default?: (props: typeof __VLS_1$13) => any;
|
|
702
583
|
};
|
|
703
|
-
declare const __VLS_base$
|
|
704
|
-
declare const __VLS_export$
|
|
705
|
-
declare const _default$
|
|
706
|
-
type __VLS_WithSlots$
|
|
584
|
+
declare const __VLS_base$15: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
585
|
+
declare const __VLS_export$17: __VLS_WithSlots$17<typeof __VLS_base$15, __VLS_Slots$15>;
|
|
586
|
+
declare const _default$17: typeof __VLS_export$17;
|
|
587
|
+
type __VLS_WithSlots$17<T, S> = T & {
|
|
707
588
|
new (): {
|
|
708
589
|
$slots: S;
|
|
709
590
|
};
|
|
@@ -711,11 +592,11 @@ type __VLS_WithSlots$15<T, S> = T & {
|
|
|
711
592
|
//# sourceMappingURL=FlowProgress.vue.d.ts.map
|
|
712
593
|
//#endregion
|
|
713
594
|
//#region src/components/flow/FlowReset.vue.d.ts
|
|
714
|
-
declare const _default$
|
|
715
|
-
declare const __VLS_export$
|
|
595
|
+
declare const _default$16: typeof __VLS_export$16;
|
|
596
|
+
declare const __VLS_export$16: __VLS_WithSlots$16<vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>, {
|
|
716
597
|
default?: (props: {}) => any;
|
|
717
598
|
}>;
|
|
718
|
-
type __VLS_WithSlots$
|
|
599
|
+
type __VLS_WithSlots$16<T, S> = T & {
|
|
719
600
|
new (): {
|
|
720
601
|
$slots: S;
|
|
721
602
|
};
|
|
@@ -758,13 +639,13 @@ declare var __VLS_1$12: {
|
|
|
758
639
|
/** Flow outputs (if completed) */
|
|
759
640
|
flowOutputs: TypedOutput[] | null;
|
|
760
641
|
};
|
|
761
|
-
type __VLS_Slots$
|
|
642
|
+
type __VLS_Slots$14 = {} & {
|
|
762
643
|
default?: (props: typeof __VLS_1$12) => any;
|
|
763
644
|
};
|
|
764
|
-
declare const __VLS_base$
|
|
765
|
-
declare const __VLS_export$
|
|
766
|
-
declare const _default$
|
|
767
|
-
type __VLS_WithSlots$
|
|
645
|
+
declare const __VLS_base$14: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
646
|
+
declare const __VLS_export$15: __VLS_WithSlots$15<typeof __VLS_base$14, __VLS_Slots$14>;
|
|
647
|
+
declare const _default$15: typeof __VLS_export$15;
|
|
648
|
+
type __VLS_WithSlots$15<T, S> = T & {
|
|
768
649
|
new (): {
|
|
769
650
|
$slots: S;
|
|
770
651
|
};
|
|
@@ -772,52 +653,175 @@ type __VLS_WithSlots$13<T, S> = T & {
|
|
|
772
653
|
//# sourceMappingURL=FlowStatus.vue.d.ts.map
|
|
773
654
|
//#endregion
|
|
774
655
|
//#region src/components/flow/FlowSubmit.vue.d.ts
|
|
775
|
-
declare const _default$
|
|
776
|
-
declare const __VLS_export$
|
|
656
|
+
declare const _default$14: typeof __VLS_export$14;
|
|
657
|
+
declare const __VLS_export$14: __VLS_WithSlots$14<vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>, {
|
|
777
658
|
default?: (props: {}) => any;
|
|
778
659
|
}>;
|
|
779
|
-
type __VLS_WithSlots$
|
|
660
|
+
type __VLS_WithSlots$14<T, S> = T & {
|
|
780
661
|
new (): {
|
|
781
662
|
$slots: S;
|
|
782
663
|
};
|
|
783
664
|
};
|
|
784
665
|
//# sourceMappingURL=FlowSubmit.vue.d.ts.map
|
|
666
|
+
|
|
785
667
|
//#endregion
|
|
786
|
-
//#region src/components/
|
|
668
|
+
//#region src/components/UploadList.vue.d.ts
|
|
787
669
|
/**
|
|
788
|
-
* Props for the
|
|
670
|
+
* Props for the UploadList component
|
|
671
|
+
* @property {UploadItem[]} uploads - Array of upload items to display
|
|
672
|
+
* @property {Function} filter - Optional filter for which items to display
|
|
673
|
+
* @property {Function} sortBy - Optional sorting function for items (a, b) => number
|
|
789
674
|
*/
|
|
790
|
-
interface
|
|
791
|
-
/**
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
675
|
+
interface UploadListProps {
|
|
676
|
+
/**
|
|
677
|
+
* Array of upload items to display
|
|
678
|
+
*/
|
|
679
|
+
uploads: UploadItem[];
|
|
680
|
+
/**
|
|
681
|
+
* Optional filter for which items to display
|
|
682
|
+
*/
|
|
683
|
+
filter?: (item: UploadItem) => boolean;
|
|
684
|
+
/**
|
|
685
|
+
* Optional sorting function for items
|
|
686
|
+
*/
|
|
687
|
+
sortBy?: (a: UploadItem, b: UploadItem) => number;
|
|
799
688
|
}
|
|
689
|
+
type __VLS_Slots$13 = {
|
|
690
|
+
item(props: {
|
|
691
|
+
item: UploadItem;
|
|
692
|
+
index: number;
|
|
693
|
+
isUploading: boolean;
|
|
694
|
+
isSuccess: boolean;
|
|
695
|
+
isError: boolean;
|
|
696
|
+
formatFileSize: (bytes: number) => string;
|
|
697
|
+
}): VNodeChild;
|
|
698
|
+
default?(props: {
|
|
699
|
+
items: UploadItem[];
|
|
700
|
+
itemsByStatus: {
|
|
701
|
+
idle: UploadItem[];
|
|
702
|
+
uploading: UploadItem[];
|
|
703
|
+
success: UploadItem[];
|
|
704
|
+
error: UploadItem[];
|
|
705
|
+
aborted: UploadItem[];
|
|
706
|
+
};
|
|
707
|
+
}): VNodeChild;
|
|
708
|
+
};
|
|
709
|
+
declare const __VLS_base$13: vue20.DefineComponent<UploadListProps, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<UploadListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
710
|
+
declare const __VLS_export$13: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
711
|
+
declare const _default$13: typeof __VLS_export$13;
|
|
712
|
+
type __VLS_WithSlots$13<T, S> = T & {
|
|
713
|
+
new (): {
|
|
714
|
+
$slots: S;
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
//# sourceMappingURL=UploadList.vue.d.ts.map
|
|
718
|
+
//#endregion
|
|
719
|
+
//#region src/components/UploadZone.vue.d.ts
|
|
800
720
|
/**
|
|
801
|
-
*
|
|
802
|
-
*
|
|
721
|
+
* Props for the UploadZone component
|
|
722
|
+
* @property {string[]} accept - Accepted file types (MIME types or file extensions)
|
|
723
|
+
* @property {boolean} multiple - Whether to allow multiple files (default: true)
|
|
724
|
+
* @property {boolean} disabled - Whether the upload zone is disabled (default: false)
|
|
725
|
+
* @property {number} maxFileSize - Maximum file size in bytes
|
|
726
|
+
* @property {Function} validator - Custom validation function for files
|
|
727
|
+
* @property {MultiUploadOptions} multiUploadOptions - Multi-upload options (only used when multiple=true)
|
|
728
|
+
* @property {UploadOptions} uploadOptions - Single upload options (only used when multiple=false)
|
|
803
729
|
*/
|
|
804
|
-
interface
|
|
805
|
-
/**
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
/**
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
730
|
+
interface UploadZoneProps {
|
|
731
|
+
/**
|
|
732
|
+
* Accepted file types (MIME types or file extensions)
|
|
733
|
+
*/
|
|
734
|
+
accept?: string[];
|
|
735
|
+
/**
|
|
736
|
+
* Whether to allow multiple files
|
|
737
|
+
*/
|
|
738
|
+
multiple?: boolean;
|
|
739
|
+
/**
|
|
740
|
+
* Whether the upload zone is disabled
|
|
741
|
+
*/
|
|
742
|
+
disabled?: boolean;
|
|
743
|
+
/**
|
|
744
|
+
* Maximum file size in bytes
|
|
745
|
+
*/
|
|
746
|
+
maxFileSize?: number;
|
|
747
|
+
/**
|
|
748
|
+
* Custom validation function for files
|
|
749
|
+
*/
|
|
750
|
+
validator?: (files: File[]) => string[] | null;
|
|
751
|
+
/**
|
|
752
|
+
* Multi-upload options (only used when multiple=true)
|
|
753
|
+
*/
|
|
754
|
+
multiUploadOptions?: MultiUploadOptions;
|
|
755
|
+
/**
|
|
756
|
+
* Single upload options (only used when multiple=false)
|
|
757
|
+
*/
|
|
758
|
+
uploadOptions?: UploadOptions;
|
|
759
|
+
}
|
|
760
|
+
type __VLS_Slots$12 = {
|
|
761
|
+
default(props: {
|
|
762
|
+
isDragging: boolean;
|
|
763
|
+
isOver: boolean;
|
|
764
|
+
isUploading: boolean;
|
|
765
|
+
errors: string[];
|
|
766
|
+
openFilePicker: () => void;
|
|
767
|
+
}): VNodeChild;
|
|
768
|
+
};
|
|
769
|
+
declare const __VLS_base$12: vue20.DefineComponent<UploadZoneProps, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {
|
|
770
|
+
"file-select": (files: File[]) => any;
|
|
771
|
+
"upload-start": (files: File[]) => any;
|
|
772
|
+
"validation-error": (errors: string[]) => any;
|
|
773
|
+
}, string, vue20.PublicProps, Readonly<UploadZoneProps> & Readonly<{
|
|
774
|
+
"onFile-select"?: ((files: File[]) => any) | undefined;
|
|
775
|
+
"onUpload-start"?: ((files: File[]) => any) | undefined;
|
|
776
|
+
"onValidation-error"?: ((errors: string[]) => any) | undefined;
|
|
777
|
+
}>, {
|
|
778
|
+
multiple: boolean;
|
|
779
|
+
disabled: boolean;
|
|
780
|
+
}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
781
|
+
declare const __VLS_export$12: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
782
|
+
declare const _default$12: typeof __VLS_export$12;
|
|
783
|
+
type __VLS_WithSlots$12<T, S> = T & {
|
|
784
|
+
new (): {
|
|
785
|
+
$slots: S;
|
|
786
|
+
};
|
|
787
|
+
};
|
|
788
|
+
//# sourceMappingURL=UploadZone.vue.d.ts.map
|
|
789
|
+
//#endregion
|
|
790
|
+
//#region src/components/upload/Upload.vue.d.ts
|
|
791
|
+
/**
|
|
792
|
+
* Props for the Upload root component.
|
|
793
|
+
*/
|
|
794
|
+
interface UploadProps {
|
|
795
|
+
/** Whether to allow multiple file uploads (default: false) */
|
|
796
|
+
multiple?: boolean;
|
|
797
|
+
/** Maximum concurrent uploads (default: 3, only used in multi mode) */
|
|
798
|
+
maxConcurrent?: number;
|
|
799
|
+
/** Whether to auto-start uploads when files are received (default: true) */
|
|
800
|
+
autoStart?: boolean;
|
|
801
|
+
/** Metadata to attach to uploads */
|
|
802
|
+
metadata?: Record<string, string>;
|
|
803
|
+
}
|
|
804
|
+
/**
|
|
805
|
+
* Context value provided by the Upload component root.
|
|
806
|
+
* Contains all upload state and actions.
|
|
807
|
+
*/
|
|
808
|
+
interface UploadContextValue {
|
|
809
|
+
/** Whether in multi-file mode */
|
|
810
|
+
mode: "single" | "multi";
|
|
811
|
+
/** Current multi-upload state (aggregate) */
|
|
812
|
+
state: MultiUploadState;
|
|
813
|
+
/** All upload items */
|
|
814
|
+
items: readonly UploadItem[];
|
|
815
|
+
/** Whether auto-start is enabled */
|
|
816
|
+
autoStart: boolean;
|
|
817
|
+
/** Add files to the upload queue */
|
|
818
|
+
addFiles: (files: File[]) => void;
|
|
819
|
+
/** Remove an item from the queue */
|
|
820
|
+
removeItem: (id: string) => void;
|
|
821
|
+
/** Start all pending uploads */
|
|
822
|
+
startAll: () => void;
|
|
823
|
+
/** Abort a specific upload by ID */
|
|
824
|
+
abortUpload: (id: string) => void;
|
|
821
825
|
/** Abort all active uploads */
|
|
822
826
|
abortAll: () => void;
|
|
823
827
|
/** Retry a specific failed upload by ID */
|
|
@@ -835,7 +839,7 @@ declare var __VLS_1$11: {};
|
|
|
835
839
|
type __VLS_Slots$11 = {} & {
|
|
836
840
|
default?: (props: typeof __VLS_1$11) => any;
|
|
837
841
|
};
|
|
838
|
-
declare const __VLS_base$11:
|
|
842
|
+
declare const __VLS_base$11: vue20.DefineComponent<UploadProps, vue20.ComputedRef<UploadContextValue>, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {
|
|
839
843
|
progress: (item: UploadItem, progress: number, bytesUploaded: number, totalBytes: number | null) => any;
|
|
840
844
|
success: (result: UploadFile) => any;
|
|
841
845
|
error: (error: Error, item?: UploadItem | undefined) => any;
|
|
@@ -845,7 +849,7 @@ declare const __VLS_base$11: vue10.DefineComponent<UploadProps, vue10.ComputedRe
|
|
|
845
849
|
total: number;
|
|
846
850
|
}) => any;
|
|
847
851
|
uploadStart: (item: UploadItem) => any;
|
|
848
|
-
}, string,
|
|
852
|
+
}, string, vue20.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
849
853
|
onProgress?: ((item: UploadItem, progress: number, bytesUploaded: number, totalBytes: number | null) => any) | undefined;
|
|
850
854
|
onSuccess?: ((result: UploadFile) => any) | undefined;
|
|
851
855
|
onError?: ((error: Error, item?: UploadItem | undefined) => any) | undefined;
|
|
@@ -859,9 +863,9 @@ declare const __VLS_base$11: vue10.DefineComponent<UploadProps, vue10.ComputedRe
|
|
|
859
863
|
multiple: boolean;
|
|
860
864
|
maxConcurrent: number;
|
|
861
865
|
autoStart: boolean;
|
|
862
|
-
}, {}, {}, {}, string,
|
|
866
|
+
}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
863
867
|
declare const __VLS_export$11: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
864
|
-
declare const _default$
|
|
868
|
+
declare const _default$11: typeof __VLS_export$11;
|
|
865
869
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
866
870
|
new (): {
|
|
867
871
|
$slots: S;
|
|
@@ -869,6 +873,36 @@ type __VLS_WithSlots$11<T, S> = T & {
|
|
|
869
873
|
};
|
|
870
874
|
//# sourceMappingURL=Upload.vue.d.ts.map
|
|
871
875
|
//#endregion
|
|
876
|
+
//#region src/components/upload/UploadCancel.vue.d.ts
|
|
877
|
+
declare var __VLS_1$10: {};
|
|
878
|
+
type __VLS_Slots$10 = {} & {
|
|
879
|
+
default?: (props: typeof __VLS_1$10) => any;
|
|
880
|
+
};
|
|
881
|
+
declare const __VLS_base$10: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
882
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
883
|
+
declare const _default$10: typeof __VLS_export$10;
|
|
884
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
885
|
+
new (): {
|
|
886
|
+
$slots: S;
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
//# sourceMappingURL=UploadCancel.vue.d.ts.map
|
|
890
|
+
//#endregion
|
|
891
|
+
//#region src/components/upload/UploadClearCompleted.vue.d.ts
|
|
892
|
+
declare var __VLS_1$9: {};
|
|
893
|
+
type __VLS_Slots$9 = {} & {
|
|
894
|
+
default?: (props: typeof __VLS_1$9) => any;
|
|
895
|
+
};
|
|
896
|
+
declare const __VLS_base$9: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
897
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
898
|
+
declare const _default$9: typeof __VLS_export$9;
|
|
899
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
900
|
+
new (): {
|
|
901
|
+
$slots: S;
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
//# sourceMappingURL=UploadClearCompleted.vue.d.ts.map
|
|
905
|
+
//#endregion
|
|
872
906
|
//#region src/components/upload/UploadDropZone.vue.d.ts
|
|
873
907
|
/**
|
|
874
908
|
* Props for UploadDropZone component.
|
|
@@ -911,7 +945,7 @@ interface UploadDropZoneSlotProps {
|
|
|
911
945
|
/** Current drag-drop state */
|
|
912
946
|
dragDropState: DragDropState;
|
|
913
947
|
}
|
|
914
|
-
declare var __VLS_1$
|
|
948
|
+
declare var __VLS_1$8: {
|
|
915
949
|
/** Whether files are being dragged over */
|
|
916
950
|
isDragging: boolean;
|
|
917
951
|
/** Whether drag is over the zone */
|
|
@@ -938,53 +972,57 @@ declare var __VLS_1$10: {
|
|
|
938
972
|
/** Current drag-drop state */
|
|
939
973
|
dragDropState: DragDropState;
|
|
940
974
|
};
|
|
941
|
-
type __VLS_Slots$
|
|
942
|
-
default?: (props: typeof __VLS_1$
|
|
975
|
+
type __VLS_Slots$8 = {} & {
|
|
976
|
+
default?: (props: typeof __VLS_1$8) => any;
|
|
943
977
|
};
|
|
944
|
-
declare const __VLS_base$
|
|
945
|
-
inputRef:
|
|
946
|
-
}, {}, {}, {},
|
|
947
|
-
declare const __VLS_export$
|
|
948
|
-
declare const _default$
|
|
949
|
-
type __VLS_WithSlots$
|
|
978
|
+
declare const __VLS_base$8: vue20.DefineComponent<UploadDropZoneProps, {
|
|
979
|
+
inputRef: vue20.Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
980
|
+
}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<UploadDropZoneProps> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
981
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
982
|
+
declare const _default$8: typeof __VLS_export$8;
|
|
983
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
950
984
|
new (): {
|
|
951
985
|
$slots: S;
|
|
952
986
|
};
|
|
953
987
|
};
|
|
954
988
|
//# sourceMappingURL=UploadDropZone.vue.d.ts.map
|
|
955
989
|
//#endregion
|
|
956
|
-
//#region src/components/upload/
|
|
990
|
+
//#region src/components/upload/UploadError.vue.d.ts
|
|
957
991
|
/**
|
|
958
|
-
* Slot props for
|
|
992
|
+
* Slot props for UploadError component.
|
|
959
993
|
*/
|
|
960
|
-
interface
|
|
961
|
-
/**
|
|
962
|
-
|
|
963
|
-
/**
|
|
964
|
-
|
|
965
|
-
/**
|
|
966
|
-
|
|
994
|
+
interface UploadErrorSlotProps {
|
|
995
|
+
/** Whether there are any errors */
|
|
996
|
+
hasError: boolean;
|
|
997
|
+
/** Number of failed uploads */
|
|
998
|
+
failedCount: number;
|
|
999
|
+
/** Failed items */
|
|
1000
|
+
failedItems: readonly UploadItem[];
|
|
1001
|
+
/** Reset/clear all errors */
|
|
1002
|
+
reset: () => void;
|
|
967
1003
|
}
|
|
968
|
-
declare var __VLS_1$
|
|
969
|
-
/**
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
|
|
1004
|
+
declare var __VLS_1$7: {
|
|
1005
|
+
/** Whether there are any errors */
|
|
1006
|
+
hasError: boolean;
|
|
1007
|
+
/** Number of failed uploads */
|
|
1008
|
+
failedCount: number;
|
|
1009
|
+
/** Failed items */
|
|
1010
|
+
failedItems: readonly UploadItem[];
|
|
1011
|
+
/** Reset/clear all errors */
|
|
1012
|
+
reset: () => void;
|
|
975
1013
|
};
|
|
976
|
-
type __VLS_Slots$
|
|
977
|
-
default?: (props: typeof __VLS_1$
|
|
1014
|
+
type __VLS_Slots$7 = {} & {
|
|
1015
|
+
default?: (props: typeof __VLS_1$7) => any;
|
|
978
1016
|
};
|
|
979
|
-
declare const __VLS_base$
|
|
980
|
-
declare const __VLS_export$
|
|
981
|
-
declare const _default$
|
|
982
|
-
type __VLS_WithSlots$
|
|
1017
|
+
declare const __VLS_base$7: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
1018
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
1019
|
+
declare const _default$7: typeof __VLS_export$7;
|
|
1020
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
983
1021
|
new (): {
|
|
984
1022
|
$slots: S;
|
|
985
1023
|
};
|
|
986
1024
|
};
|
|
987
|
-
//# sourceMappingURL=
|
|
1025
|
+
//# sourceMappingURL=UploadError.vue.d.ts.map
|
|
988
1026
|
//#endregion
|
|
989
1027
|
//#region src/components/upload/useUploadContext.d.ts
|
|
990
1028
|
/**
|
|
@@ -1042,7 +1080,7 @@ interface UploadItemProps {
|
|
|
1042
1080
|
* Slot props for UploadItem component.
|
|
1043
1081
|
*/
|
|
1044
1082
|
interface UploadItemSlotProps extends UploadItemContextValue {}
|
|
1045
|
-
declare var __VLS_1$
|
|
1083
|
+
declare var __VLS_1$6: {
|
|
1046
1084
|
id: string;
|
|
1047
1085
|
file: File | Blob;
|
|
1048
1086
|
state: {
|
|
@@ -1057,19 +1095,52 @@ declare var __VLS_1$8: {
|
|
|
1057
1095
|
retry: () => void;
|
|
1058
1096
|
remove: () => void;
|
|
1059
1097
|
};
|
|
1060
|
-
type __VLS_Slots$
|
|
1061
|
-
default?: (props: typeof __VLS_1$
|
|
1098
|
+
type __VLS_Slots$6 = {} & {
|
|
1099
|
+
default?: (props: typeof __VLS_1$6) => any;
|
|
1062
1100
|
};
|
|
1063
|
-
declare const __VLS_base$
|
|
1064
|
-
declare const __VLS_export$
|
|
1065
|
-
declare const _default$6: typeof __VLS_export$
|
|
1066
|
-
type __VLS_WithSlots$
|
|
1101
|
+
declare const __VLS_base$6: vue20.DefineComponent<UploadItemProps, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<UploadItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
|
|
1102
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
1103
|
+
declare const _default$6: typeof __VLS_export$6;
|
|
1104
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
1067
1105
|
new (): {
|
|
1068
1106
|
$slots: S;
|
|
1069
1107
|
};
|
|
1070
1108
|
};
|
|
1071
1109
|
//# sourceMappingURL=UploadItem.vue.d.ts.map
|
|
1072
1110
|
//#endregion
|
|
1111
|
+
//#region src/components/upload/UploadItems.vue.d.ts
|
|
1112
|
+
/**
|
|
1113
|
+
* Slot props for UploadItems component.
|
|
1114
|
+
*/
|
|
1115
|
+
interface UploadItemsSlotProps {
|
|
1116
|
+
/** All upload items */
|
|
1117
|
+
items: readonly UploadItem[];
|
|
1118
|
+
/** Whether there are any items */
|
|
1119
|
+
hasItems: boolean;
|
|
1120
|
+
/** Whether items array is empty */
|
|
1121
|
+
isEmpty: boolean;
|
|
1122
|
+
}
|
|
1123
|
+
declare var __VLS_1$5: {
|
|
1124
|
+
/** All upload items */
|
|
1125
|
+
items: readonly UploadItem[];
|
|
1126
|
+
/** Whether there are any items */
|
|
1127
|
+
hasItems: boolean;
|
|
1128
|
+
/** Whether items array is empty */
|
|
1129
|
+
isEmpty: boolean;
|
|
1130
|
+
};
|
|
1131
|
+
type __VLS_Slots$5 = {} & {
|
|
1132
|
+
default?: (props: typeof __VLS_1$5) => any;
|
|
1133
|
+
};
|
|
1134
|
+
declare const __VLS_base$5: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
1135
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
1136
|
+
declare const _default$5: typeof __VLS_export$5;
|
|
1137
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
1138
|
+
new (): {
|
|
1139
|
+
$slots: S;
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
//# sourceMappingURL=UploadItems.vue.d.ts.map
|
|
1143
|
+
//#endregion
|
|
1073
1144
|
//#region src/components/upload/UploadProgress.vue.d.ts
|
|
1074
1145
|
/**
|
|
1075
1146
|
* Slot props for UploadProgress component.
|
|
@@ -1084,7 +1155,7 @@ interface UploadProgressSlotProps {
|
|
|
1084
1155
|
/** Whether any uploads are active */
|
|
1085
1156
|
isUploading: boolean;
|
|
1086
1157
|
}
|
|
1087
|
-
declare var __VLS_1$
|
|
1158
|
+
declare var __VLS_1$4: {
|
|
1088
1159
|
/** Progress percentage (0-100) */
|
|
1089
1160
|
progress: number;
|
|
1090
1161
|
/** Bytes uploaded so far */
|
|
@@ -1094,19 +1165,64 @@ declare var __VLS_1$7: {
|
|
|
1094
1165
|
/** Whether any uploads are active */
|
|
1095
1166
|
isUploading: boolean;
|
|
1096
1167
|
};
|
|
1097
|
-
type __VLS_Slots$
|
|
1098
|
-
default?: (props: typeof __VLS_1$
|
|
1168
|
+
type __VLS_Slots$4 = {} & {
|
|
1169
|
+
default?: (props: typeof __VLS_1$4) => any;
|
|
1099
1170
|
};
|
|
1100
|
-
declare const __VLS_base$
|
|
1101
|
-
declare const __VLS_export$
|
|
1102
|
-
declare const _default$
|
|
1103
|
-
type __VLS_WithSlots$
|
|
1171
|
+
declare const __VLS_base$4: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
1172
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
1173
|
+
declare const _default$4: typeof __VLS_export$4;
|
|
1174
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
1104
1175
|
new (): {
|
|
1105
1176
|
$slots: S;
|
|
1106
1177
|
};
|
|
1107
1178
|
};
|
|
1108
1179
|
//# sourceMappingURL=UploadProgress.vue.d.ts.map
|
|
1109
1180
|
//#endregion
|
|
1181
|
+
//#region src/components/upload/UploadReset.vue.d.ts
|
|
1182
|
+
declare var __VLS_1$3: {};
|
|
1183
|
+
type __VLS_Slots$3 = {} & {
|
|
1184
|
+
default?: (props: typeof __VLS_1$3) => any;
|
|
1185
|
+
};
|
|
1186
|
+
declare const __VLS_base$3: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
1187
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
1188
|
+
declare const _default$3: typeof __VLS_export$3;
|
|
1189
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
1190
|
+
new (): {
|
|
1191
|
+
$slots: S;
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
//# sourceMappingURL=UploadReset.vue.d.ts.map
|
|
1195
|
+
//#endregion
|
|
1196
|
+
//#region src/components/upload/UploadRetry.vue.d.ts
|
|
1197
|
+
declare var __VLS_1$2: {};
|
|
1198
|
+
type __VLS_Slots$2 = {} & {
|
|
1199
|
+
default?: (props: typeof __VLS_1$2) => any;
|
|
1200
|
+
};
|
|
1201
|
+
declare const __VLS_base$2: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
1202
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
1203
|
+
declare const _default$2: typeof __VLS_export$2;
|
|
1204
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
1205
|
+
new (): {
|
|
1206
|
+
$slots: S;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
//# sourceMappingURL=UploadRetry.vue.d.ts.map
|
|
1210
|
+
//#endregion
|
|
1211
|
+
//#region src/components/upload/UploadStartAll.vue.d.ts
|
|
1212
|
+
declare var __VLS_1$1: {};
|
|
1213
|
+
type __VLS_Slots$1 = {} & {
|
|
1214
|
+
default?: (props: typeof __VLS_1$1) => any;
|
|
1215
|
+
};
|
|
1216
|
+
declare const __VLS_base$1: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
1217
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
1218
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
1219
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
1220
|
+
new (): {
|
|
1221
|
+
$slots: S;
|
|
1222
|
+
};
|
|
1223
|
+
};
|
|
1224
|
+
//# sourceMappingURL=UploadStartAll.vue.d.ts.map
|
|
1225
|
+
//#endregion
|
|
1110
1226
|
//#region src/components/upload/UploadStatus.vue.d.ts
|
|
1111
1227
|
/**
|
|
1112
1228
|
* Slot props for UploadStatus component.
|
|
@@ -1133,7 +1249,7 @@ interface UploadStatusSlotProps {
|
|
|
1133
1249
|
/** Number of currently uploading */
|
|
1134
1250
|
uploading: number;
|
|
1135
1251
|
}
|
|
1136
|
-
declare var __VLS_1
|
|
1252
|
+
declare var __VLS_1: {
|
|
1137
1253
|
/** Overall status */
|
|
1138
1254
|
status: "idle" | "uploading" | "success" | "error";
|
|
1139
1255
|
/** Whether idle (no uploads active or completed) */
|
|
@@ -1155,131 +1271,19 @@ declare var __VLS_1$6: {
|
|
|
1155
1271
|
/** Number of currently uploading */
|
|
1156
1272
|
uploading: number;
|
|
1157
1273
|
};
|
|
1158
|
-
type __VLS_Slots$6 = {} & {
|
|
1159
|
-
default?: (props: typeof __VLS_1$6) => any;
|
|
1160
|
-
};
|
|
1161
|
-
declare const __VLS_base$6: vue10.DefineComponent<{}, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {}, string, vue10.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue10.ComponentProvideOptions, true, {}, any>;
|
|
1162
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
1163
|
-
declare const _default$8: typeof __VLS_export$6;
|
|
1164
|
-
type __VLS_WithSlots$6<T, S> = T & {
|
|
1165
|
-
new (): {
|
|
1166
|
-
$slots: S;
|
|
1167
|
-
};
|
|
1168
|
-
};
|
|
1169
|
-
//# sourceMappingURL=UploadStatus.vue.d.ts.map
|
|
1170
|
-
//#endregion
|
|
1171
|
-
//#region src/components/upload/UploadError.vue.d.ts
|
|
1172
|
-
/**
|
|
1173
|
-
* Slot props for UploadError component.
|
|
1174
|
-
*/
|
|
1175
|
-
interface UploadErrorSlotProps {
|
|
1176
|
-
/** Whether there are any errors */
|
|
1177
|
-
hasError: boolean;
|
|
1178
|
-
/** Number of failed uploads */
|
|
1179
|
-
failedCount: number;
|
|
1180
|
-
/** Failed items */
|
|
1181
|
-
failedItems: readonly UploadItem[];
|
|
1182
|
-
/** Reset/clear all errors */
|
|
1183
|
-
reset: () => void;
|
|
1184
|
-
}
|
|
1185
|
-
declare var __VLS_1$5: {
|
|
1186
|
-
/** Whether there are any errors */
|
|
1187
|
-
hasError: boolean;
|
|
1188
|
-
/** Number of failed uploads */
|
|
1189
|
-
failedCount: number;
|
|
1190
|
-
/** Failed items */
|
|
1191
|
-
failedItems: readonly UploadItem[];
|
|
1192
|
-
/** Reset/clear all errors */
|
|
1193
|
-
reset: () => void;
|
|
1194
|
-
};
|
|
1195
|
-
type __VLS_Slots$5 = {} & {
|
|
1196
|
-
default?: (props: typeof __VLS_1$5) => any;
|
|
1197
|
-
};
|
|
1198
|
-
declare const __VLS_base$5: vue10.DefineComponent<{}, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {}, string, vue10.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue10.ComponentProvideOptions, true, {}, any>;
|
|
1199
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
1200
|
-
declare const _default$9: typeof __VLS_export$5;
|
|
1201
|
-
type __VLS_WithSlots$5<T, S> = T & {
|
|
1202
|
-
new (): {
|
|
1203
|
-
$slots: S;
|
|
1204
|
-
};
|
|
1205
|
-
};
|
|
1206
|
-
//# sourceMappingURL=UploadError.vue.d.ts.map
|
|
1207
|
-
//#endregion
|
|
1208
|
-
//#region src/components/upload/UploadCancel.vue.d.ts
|
|
1209
|
-
declare var __VLS_1$4: {};
|
|
1210
|
-
type __VLS_Slots$4 = {} & {
|
|
1211
|
-
default?: (props: typeof __VLS_1$4) => any;
|
|
1212
|
-
};
|
|
1213
|
-
declare const __VLS_base$4: vue10.DefineComponent<{}, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {}, string, vue10.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue10.ComponentProvideOptions, true, {}, any>;
|
|
1214
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
1215
|
-
declare const _default$10: typeof __VLS_export$4;
|
|
1216
|
-
type __VLS_WithSlots$4<T, S> = T & {
|
|
1217
|
-
new (): {
|
|
1218
|
-
$slots: S;
|
|
1219
|
-
};
|
|
1220
|
-
};
|
|
1221
|
-
//# sourceMappingURL=UploadCancel.vue.d.ts.map
|
|
1222
|
-
//#endregion
|
|
1223
|
-
//#region src/components/upload/UploadRetry.vue.d.ts
|
|
1224
|
-
declare var __VLS_1$3: {};
|
|
1225
|
-
type __VLS_Slots$3 = {} & {
|
|
1226
|
-
default?: (props: typeof __VLS_1$3) => any;
|
|
1227
|
-
};
|
|
1228
|
-
declare const __VLS_base$3: vue10.DefineComponent<{}, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {}, string, vue10.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue10.ComponentProvideOptions, true, {}, any>;
|
|
1229
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
1230
|
-
declare const _default$11: typeof __VLS_export$3;
|
|
1231
|
-
type __VLS_WithSlots$3<T, S> = T & {
|
|
1232
|
-
new (): {
|
|
1233
|
-
$slots: S;
|
|
1234
|
-
};
|
|
1235
|
-
};
|
|
1236
|
-
//# sourceMappingURL=UploadRetry.vue.d.ts.map
|
|
1237
|
-
//#endregion
|
|
1238
|
-
//#region src/components/upload/UploadReset.vue.d.ts
|
|
1239
|
-
declare var __VLS_1$2: {};
|
|
1240
|
-
type __VLS_Slots$2 = {} & {
|
|
1241
|
-
default?: (props: typeof __VLS_1$2) => any;
|
|
1242
|
-
};
|
|
1243
|
-
declare const __VLS_base$2: vue10.DefineComponent<{}, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {}, string, vue10.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue10.ComponentProvideOptions, true, {}, any>;
|
|
1244
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
1245
|
-
declare const _default$12: typeof __VLS_export$2;
|
|
1246
|
-
type __VLS_WithSlots$2<T, S> = T & {
|
|
1247
|
-
new (): {
|
|
1248
|
-
$slots: S;
|
|
1249
|
-
};
|
|
1250
|
-
};
|
|
1251
|
-
//# sourceMappingURL=UploadReset.vue.d.ts.map
|
|
1252
|
-
//#endregion
|
|
1253
|
-
//#region src/components/upload/UploadStartAll.vue.d.ts
|
|
1254
|
-
declare var __VLS_1$1: {};
|
|
1255
|
-
type __VLS_Slots$1 = {} & {
|
|
1256
|
-
default?: (props: typeof __VLS_1$1) => any;
|
|
1257
|
-
};
|
|
1258
|
-
declare const __VLS_base$1: vue10.DefineComponent<{}, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {}, string, vue10.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue10.ComponentProvideOptions, true, {}, any>;
|
|
1259
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
1260
|
-
declare const _default$13: typeof __VLS_export$1;
|
|
1261
|
-
type __VLS_WithSlots$1<T, S> = T & {
|
|
1262
|
-
new (): {
|
|
1263
|
-
$slots: S;
|
|
1264
|
-
};
|
|
1265
|
-
};
|
|
1266
|
-
//# sourceMappingURL=UploadStartAll.vue.d.ts.map
|
|
1267
|
-
//#endregion
|
|
1268
|
-
//#region src/components/upload/UploadClearCompleted.vue.d.ts
|
|
1269
|
-
declare var __VLS_1: {};
|
|
1270
1274
|
type __VLS_Slots = {} & {
|
|
1271
1275
|
default?: (props: typeof __VLS_1) => any;
|
|
1272
1276
|
};
|
|
1273
|
-
declare const __VLS_base:
|
|
1277
|
+
declare const __VLS_base: vue20.DefineComponent<{}, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue20.ComponentProvideOptions, true, {}, any>;
|
|
1274
1278
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
1275
|
-
declare const _default
|
|
1279
|
+
declare const _default: typeof __VLS_export;
|
|
1276
1280
|
type __VLS_WithSlots<T, S> = T & {
|
|
1277
1281
|
new (): {
|
|
1278
1282
|
$slots: S;
|
|
1279
1283
|
};
|
|
1280
1284
|
};
|
|
1281
|
-
//# sourceMappingURL=
|
|
1285
|
+
//# sourceMappingURL=UploadStatus.vue.d.ts.map
|
|
1282
1286
|
|
|
1283
1287
|
//#endregion
|
|
1284
|
-
export {
|
|
1285
|
-
//# sourceMappingURL=index-
|
|
1288
|
+
export { FlowErrorSlotProps as $, _default$14 as A, FlowInputPreviewSlotProps as B, _default$9 as C, _default$11 as D, UploadProps as E, _default$17 as F, FlowInputProps as G, FlowInputDropZoneProps as H, FlowInputUrlFieldProps as I, FLOW_CONTEXT_KEY as J, FlowInputSlotProps as K, _default$18 as L, _default$15 as M, _default$16 as N, _default$12 as O, FlowProgressSlotProps as P, useFlowInputContext as Q, FlowInputsSlotProps as R, _default$8 as S, UploadContextValue as T, FlowInputDropZoneSlotProps as U, _default$20 as V, _default$21 as W, FlowInputContextValue as X, FLOW_INPUT_CONTEXT_KEY as Y, useFlowContext as Z, useUploadItemContext as _, _default$3 as a, FlowContextValue as at, UploadDropZoneProps as b, UploadItemsSlotProps as c, _default$27 as ct, UploadItemSlotProps as d, _default$23 as et, _default$6 as f, useUploadContext as g, UploadItemContextValue as h, _default$2 as i, _default$25 as it, FlowStatusSlotProps as j, _default$13 as k, _default$5 as l, UPLOAD_ITEM_CONTEXT_KEY as m, _default as n, FlowDropZoneSlotProps as nt, UploadProgressSlotProps as o, FlowProps as ot, UPLOAD_CONTEXT_KEY as p, _default$22 as q, _default$1 as r, _default$24 as rt, _default$4 as s, _default$26 as st, UploadStatusSlotProps as t, FlowDropZoneProps as tt, UploadItemProps as u, UploadErrorSlotProps as v, _default$10 as w, UploadDropZoneSlotProps as x, _default$7 as y, _default$19 as z };
|
|
1289
|
+
//# sourceMappingURL=index-6Scxoy1b.d.mts.map
|