@uploadista/vue 1.0.0-beta.3 → 1.0.0-beta.4
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 -3
- package/dist/components/index.mjs +1 -1
- package/dist/components-D8w-zvVb.mjs +2 -0
- package/dist/components-D8w-zvVb.mjs.map +1 -0
- package/dist/composables/index.d.mts +1 -1
- package/dist/composables/index.mjs +1 -1
- package/dist/{useUploadMetrics-CJesoLV7.mjs → composables-CH4pv7yG.mjs} +2 -2
- package/dist/composables-CH4pv7yG.mjs.map +1 -0
- package/dist/{useUploadMetrics-DEdjOjLp.d.mts → index-BlM5dmy_.d.mts} +49 -53
- package/dist/index-BlM5dmy_.d.mts.map +1 -0
- package/dist/{index-CxdtdMrD.d.mts → index-DCyePMQF.d.mts} +45 -46
- package/dist/index-DCyePMQF.d.mts.map +1 -0
- package/dist/{UploadistaProvider.vue-_qDn5Gvp.d.mts → index-DcNYDFLL.d.mts} +5 -7
- package/dist/index-DcNYDFLL.d.mts.map +1 -0
- package/dist/index.d.mts +4 -7
- package/dist/index.mjs +1 -1
- package/dist/providers/index.d.mts +1 -1
- package/dist/providers/index.mjs +1 -1
- package/dist/{UploadistaProvider-DU4YVCy4.mjs → providers-Dhq5W5tR.mjs} +2 -2
- package/dist/providers-Dhq5W5tR.mjs.map +1 -0
- package/dist/{upload-y0K2veej.css → style.css} +0 -5
- package/dist/{useUploadistaClient-C3qbTB18.mjs → useUploadistaClient-CgabcTy6.mjs} +1 -1
- package/dist/{useUploadistaClient-C3qbTB18.mjs.map → useUploadistaClient-CgabcTy6.mjs.map} +1 -1
- package/dist/utils/index.d.mts.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +9 -8
- package/tsconfig.json +0 -1
- package/tsdown.config.ts +3 -1
- package/dist/UploadistaProvider-DU4YVCy4.mjs.map +0 -1
- package/dist/UploadistaProvider.vue-_qDn5Gvp.d.mts.map +0 -1
- package/dist/index-CxdtdMrD.d.mts.map +0 -1
- package/dist/is-browser-file-CN7ymiO5.mjs +0 -2
- package/dist/is-browser-file-CN7ymiO5.mjs.map +0 -1
- package/dist/upload-BJHmqKbp.mjs +0 -2
- package/dist/upload-BJHmqKbp.mjs.map +0 -1
- package/dist/upload-y0K2veej.css.map +0 -1
- package/dist/useUploadMetrics-CJesoLV7.mjs.map +0 -1
- package/dist/useUploadMetrics-DEdjOjLp.d.mts.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { F as DragDropState, L as FlowInputMetadata, V as UseFlowReturn, c as UploadItem, o as MultiUploadOptions, s as MultiUploadState } from "./
|
|
2
|
-
import * as vue from "vue";
|
|
1
|
+
import { F as DragDropState, L as FlowInputMetadata, V as UseFlowReturn, c as UploadItem, o as MultiUploadOptions, s as MultiUploadState } from "./index-BlM5dmy_.mjs";
|
|
3
2
|
import { VNodeChild } from "vue";
|
|
4
3
|
import { BrowserUploadInput, FlowUploadItem, UploadOptions } from "@uploadista/client-browser";
|
|
5
4
|
import { TypedOutput } from "@uploadista/core/flow";
|
|
@@ -51,7 +50,7 @@ type __VLS_Slots$23 = {
|
|
|
51
50
|
item(props: FlowUploadListItemProps): VNodeChild;
|
|
52
51
|
default(props: FlowUploadListDefaultProps): VNodeChild;
|
|
53
52
|
};
|
|
54
|
-
declare const __VLS_base$23: vue.DefineComponent<FlowUploadListProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FlowUploadListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
53
|
+
declare const __VLS_base$23: import("vue").DefineComponent<FlowUploadListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FlowUploadListProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
54
|
declare const __VLS_export$29: __VLS_WithSlots$28<typeof __VLS_base$23, __VLS_Slots$23>;
|
|
56
55
|
declare const _default$29: typeof __VLS_export$29;
|
|
57
56
|
type __VLS_WithSlots$28<T, S> = T & {
|
|
@@ -114,19 +113,19 @@ declare var __VLS_1$20: {};
|
|
|
114
113
|
type __VLS_Slots$22 = {} & {
|
|
115
114
|
default?: (props: typeof __VLS_1$20) => any;
|
|
116
115
|
};
|
|
117
|
-
declare const __VLS_base$22: vue.DefineComponent<FlowProps, FlowContextValue, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
116
|
+
declare const __VLS_base$22: import("vue").DefineComponent<FlowProps, FlowContextValue, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
118
117
|
progress: (uploadId: string, bytesUploaded: number, totalBytes: number | null) => any;
|
|
119
118
|
success: (outputs: TypedOutput[]) => any;
|
|
120
119
|
error: (error: Error) => any;
|
|
121
120
|
abort: () => any;
|
|
122
121
|
flowComplete: (outputs: TypedOutput[]) => any;
|
|
123
|
-
}, string, vue.PublicProps, Readonly<FlowProps> & Readonly<{
|
|
122
|
+
}, string, import("vue").PublicProps, Readonly<FlowProps> & Readonly<{
|
|
124
123
|
onProgress?: ((uploadId: string, bytesUploaded: number, totalBytes: number | null) => any) | undefined;
|
|
125
124
|
onSuccess?: ((outputs: TypedOutput[]) => any) | undefined;
|
|
126
125
|
onError?: ((error: Error) => any) | undefined;
|
|
127
126
|
onAbort?: (() => any) | undefined;
|
|
128
127
|
onFlowComplete?: ((outputs: TypedOutput[]) => any) | undefined;
|
|
129
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
128
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
130
129
|
declare const __VLS_export$28: __VLS_WithSlots$27<typeof __VLS_base$22, __VLS_Slots$22>;
|
|
131
130
|
declare const _default$28: typeof __VLS_export$28;
|
|
132
131
|
type __VLS_WithSlots$27<T, S> = T & {
|
|
@@ -137,7 +136,7 @@ type __VLS_WithSlots$27<T, S> = T & {
|
|
|
137
136
|
//#endregion
|
|
138
137
|
//#region src/components/flow/FlowCancel.vue.d.ts
|
|
139
138
|
declare const _default$27: typeof __VLS_export$27;
|
|
140
|
-
declare const __VLS_export$27: __VLS_WithSlots$26<vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, {
|
|
139
|
+
declare const __VLS_export$27: __VLS_WithSlots$26<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
141
140
|
default?: (props: {}) => any;
|
|
142
141
|
}>;
|
|
143
142
|
type __VLS_WithSlots$26<T, S> = T & {
|
|
@@ -148,7 +147,7 @@ type __VLS_WithSlots$26<T, S> = T & {
|
|
|
148
147
|
//#endregion
|
|
149
148
|
//#region src/components/flow/FlowPause.vue.d.ts
|
|
150
149
|
declare const _default$26: typeof __VLS_export$26;
|
|
151
|
-
declare const __VLS_export$26: __VLS_WithSlots$25<vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, {
|
|
150
|
+
declare const __VLS_export$26: __VLS_WithSlots$25<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
152
151
|
default?: (props: {}) => any;
|
|
153
152
|
}>;
|
|
154
153
|
type __VLS_WithSlots$25<T, S> = T & {
|
|
@@ -159,7 +158,7 @@ type __VLS_WithSlots$25<T, S> = T & {
|
|
|
159
158
|
//#endregion
|
|
160
159
|
//#region src/components/flow/FlowResume.vue.d.ts
|
|
161
160
|
declare const _default$25: typeof __VLS_export$25;
|
|
162
|
-
declare const __VLS_export$25: __VLS_WithSlots$24<vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, {
|
|
161
|
+
declare const __VLS_export$25: __VLS_WithSlots$24<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
163
162
|
default?: (props: {}) => any;
|
|
164
163
|
}>;
|
|
165
164
|
type __VLS_WithSlots$24<T, S> = T & {
|
|
@@ -178,7 +177,7 @@ interface FlowDropZoneProps {
|
|
|
178
177
|
/** Maximum file size in bytes */
|
|
179
178
|
maxFileSize?: number;
|
|
180
179
|
}
|
|
181
|
-
declare const inputRef$1: vue.Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
180
|
+
declare const inputRef$1: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
182
181
|
/**
|
|
183
182
|
* Slot props provided to the default slot.
|
|
184
183
|
*/
|
|
@@ -237,10 +236,10 @@ declare var __VLS_1$19: {
|
|
|
237
236
|
type __VLS_Slots$21 = {} & {
|
|
238
237
|
default?: (props: typeof __VLS_1$19) => any;
|
|
239
238
|
};
|
|
240
|
-
declare const __VLS_base$21: vue.DefineComponent<FlowDropZoneProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FlowDropZoneProps> & Readonly<{}>, {
|
|
239
|
+
declare const __VLS_base$21: import("vue").DefineComponent<FlowDropZoneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FlowDropZoneProps> & Readonly<{}>, {
|
|
241
240
|
accept: string;
|
|
242
241
|
maxFileSize: number;
|
|
243
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
242
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
244
243
|
declare const __VLS_export$24: __VLS_WithSlots$23<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
245
244
|
declare const _default$24: typeof __VLS_export$24;
|
|
246
245
|
type __VLS_WithSlots$23<T, S> = T & {
|
|
@@ -272,7 +271,7 @@ declare var __VLS_1$18: {
|
|
|
272
271
|
type __VLS_Slots$20 = {} & {
|
|
273
272
|
default?: (props: typeof __VLS_1$18) => any;
|
|
274
273
|
};
|
|
275
|
-
declare const __VLS_base$20: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
274
|
+
declare const __VLS_base$20: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
276
275
|
declare const __VLS_export$23: __VLS_WithSlots$22<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
277
276
|
declare const _default$23: typeof __VLS_export$23;
|
|
278
277
|
type __VLS_WithSlots$22<T, S> = T & {
|
|
@@ -359,7 +358,7 @@ declare var __VLS_1$17: {
|
|
|
359
358
|
type __VLS_Slots$19 = {} & {
|
|
360
359
|
default?: (props: typeof __VLS_1$17) => any;
|
|
361
360
|
};
|
|
362
|
-
declare const __VLS_base$19: vue.DefineComponent<FlowInputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FlowInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
361
|
+
declare const __VLS_base$19: import("vue").DefineComponent<FlowInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FlowInputProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
363
362
|
declare const __VLS_export$22: __VLS_WithSlots$21<typeof __VLS_base$19, __VLS_Slots$19>;
|
|
364
363
|
declare const _default$22: typeof __VLS_export$22;
|
|
365
364
|
type __VLS_WithSlots$21<T, S> = T & {
|
|
@@ -378,7 +377,7 @@ interface FlowInputDropZoneProps {
|
|
|
378
377
|
/** Maximum file size in bytes */
|
|
379
378
|
maxFileSize?: number;
|
|
380
379
|
}
|
|
381
|
-
declare const inputRef: vue.Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
380
|
+
declare const inputRef: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
382
381
|
/**
|
|
383
382
|
* Slot props provided to the default slot.
|
|
384
383
|
*/
|
|
@@ -440,10 +439,10 @@ declare var __VLS_1$16: {
|
|
|
440
439
|
type __VLS_Slots$18 = {} & {
|
|
441
440
|
default?: (props: typeof __VLS_1$16) => any;
|
|
442
441
|
};
|
|
443
|
-
declare const __VLS_base$18: vue.DefineComponent<FlowInputDropZoneProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FlowInputDropZoneProps> & Readonly<{}>, {
|
|
442
|
+
declare const __VLS_base$18: import("vue").DefineComponent<FlowInputDropZoneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FlowInputDropZoneProps> & Readonly<{}>, {
|
|
444
443
|
accept: string;
|
|
445
444
|
maxFileSize: number;
|
|
446
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
445
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
447
446
|
declare const __VLS_export$21: __VLS_WithSlots$20<typeof __VLS_base$18, __VLS_Slots$18>;
|
|
448
447
|
declare const _default$21: typeof __VLS_export$21;
|
|
449
448
|
type __VLS_WithSlots$20<T, S> = T & {
|
|
@@ -481,7 +480,7 @@ declare var __VLS_1$15: {
|
|
|
481
480
|
type __VLS_Slots$17 = {} & {
|
|
482
481
|
default?: (props: typeof __VLS_1$15) => any;
|
|
483
482
|
};
|
|
484
|
-
declare const __VLS_base$17: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
483
|
+
declare const __VLS_base$17: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
485
484
|
declare const __VLS_export$20: __VLS_WithSlots$19<typeof __VLS_base$17, __VLS_Slots$17>;
|
|
486
485
|
declare const _default$20: typeof __VLS_export$20;
|
|
487
486
|
type __VLS_WithSlots$19<T, S> = T & {
|
|
@@ -507,7 +506,7 @@ declare var __VLS_1$14: {
|
|
|
507
506
|
type __VLS_Slots$16 = {} & {
|
|
508
507
|
default?: (props: typeof __VLS_1$14) => any;
|
|
509
508
|
};
|
|
510
|
-
declare const __VLS_base$16: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
509
|
+
declare const __VLS_base$16: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
511
510
|
declare const __VLS_export$19: __VLS_WithSlots$18<typeof __VLS_base$16, __VLS_Slots$16>;
|
|
512
511
|
declare const _default$19: typeof __VLS_export$19;
|
|
513
512
|
type __VLS_WithSlots$18<T, S> = T & {
|
|
@@ -525,9 +524,9 @@ interface FlowInputUrlFieldProps {
|
|
|
525
524
|
placeholder?: string;
|
|
526
525
|
}
|
|
527
526
|
declare const _default$18: typeof __VLS_export$18;
|
|
528
|
-
declare const __VLS_export$18: vue.DefineComponent<FlowInputUrlFieldProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FlowInputUrlFieldProps> & Readonly<{}>, {
|
|
527
|
+
declare const __VLS_export$18: import("vue").DefineComponent<FlowInputUrlFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FlowInputUrlFieldProps> & Readonly<{}>, {
|
|
529
528
|
placeholder: string;
|
|
530
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>; //# sourceMappingURL=FlowInputUrlField.vue.d.ts.map
|
|
529
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; //# sourceMappingURL=FlowInputUrlField.vue.d.ts.map
|
|
531
530
|
//#endregion
|
|
532
531
|
//#region src/components/flow/FlowProgress.vue.d.ts
|
|
533
532
|
/**
|
|
@@ -552,7 +551,7 @@ declare var __VLS_1$13: {
|
|
|
552
551
|
type __VLS_Slots$15 = {} & {
|
|
553
552
|
default?: (props: typeof __VLS_1$13) => any;
|
|
554
553
|
};
|
|
555
|
-
declare const __VLS_base$15: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
554
|
+
declare const __VLS_base$15: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
556
555
|
declare const __VLS_export$17: __VLS_WithSlots$17<typeof __VLS_base$15, __VLS_Slots$15>;
|
|
557
556
|
declare const _default$17: typeof __VLS_export$17;
|
|
558
557
|
type __VLS_WithSlots$17<T, S> = T & {
|
|
@@ -563,7 +562,7 @@ type __VLS_WithSlots$17<T, S> = T & {
|
|
|
563
562
|
//#endregion
|
|
564
563
|
//#region src/components/flow/FlowReset.vue.d.ts
|
|
565
564
|
declare const _default$16: typeof __VLS_export$16;
|
|
566
|
-
declare const __VLS_export$16: __VLS_WithSlots$16<vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, {
|
|
565
|
+
declare const __VLS_export$16: __VLS_WithSlots$16<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
567
566
|
default?: (props: {}) => any;
|
|
568
567
|
}>;
|
|
569
568
|
type __VLS_WithSlots$16<T, S> = T & {
|
|
@@ -604,7 +603,7 @@ declare var __VLS_1$12: {
|
|
|
604
603
|
type __VLS_Slots$14 = {} & {
|
|
605
604
|
default?: (props: typeof __VLS_1$12) => any;
|
|
606
605
|
};
|
|
607
|
-
declare const __VLS_base$14: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
606
|
+
declare const __VLS_base$14: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
608
607
|
declare const __VLS_export$15: __VLS_WithSlots$15<typeof __VLS_base$14, __VLS_Slots$14>;
|
|
609
608
|
declare const _default$15: typeof __VLS_export$15;
|
|
610
609
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
@@ -615,7 +614,7 @@ type __VLS_WithSlots$15<T, S> = T & {
|
|
|
615
614
|
//#endregion
|
|
616
615
|
//#region src/components/flow/FlowSubmit.vue.d.ts
|
|
617
616
|
declare const _default$14: typeof __VLS_export$14;
|
|
618
|
-
declare const __VLS_export$14: __VLS_WithSlots$14<vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, {
|
|
617
|
+
declare const __VLS_export$14: __VLS_WithSlots$14<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
619
618
|
default?: (props: {}) => any;
|
|
620
619
|
}>;
|
|
621
620
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
@@ -665,7 +664,7 @@ type __VLS_Slots$13 = {
|
|
|
665
664
|
};
|
|
666
665
|
}): VNodeChild;
|
|
667
666
|
};
|
|
668
|
-
declare const __VLS_base$13: vue.DefineComponent<UploadListProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UploadListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
667
|
+
declare const __VLS_base$13: import("vue").DefineComponent<UploadListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UploadListProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
669
668
|
declare const __VLS_export$13: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
670
669
|
declare const _default$13: typeof __VLS_export$13;
|
|
671
670
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -724,18 +723,18 @@ type __VLS_Slots$12 = {
|
|
|
724
723
|
openFilePicker: () => void;
|
|
725
724
|
}): VNodeChild;
|
|
726
725
|
};
|
|
727
|
-
declare const __VLS_base$12: vue.DefineComponent<UploadZoneProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
726
|
+
declare const __VLS_base$12: import("vue").DefineComponent<UploadZoneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
728
727
|
"file-select": (files: File[]) => any;
|
|
729
728
|
"upload-start": (files: File[]) => any;
|
|
730
729
|
"validation-error": (errors: string[]) => any;
|
|
731
|
-
}, string, vue.PublicProps, Readonly<UploadZoneProps> & Readonly<{
|
|
730
|
+
}, string, import("vue").PublicProps, Readonly<UploadZoneProps> & Readonly<{
|
|
732
731
|
"onFile-select"?: ((files: File[]) => any) | undefined;
|
|
733
732
|
"onUpload-start"?: ((files: File[]) => any) | undefined;
|
|
734
733
|
"onValidation-error"?: ((errors: string[]) => any) | undefined;
|
|
735
734
|
}>, {
|
|
736
735
|
multiple: boolean;
|
|
737
736
|
disabled: boolean;
|
|
738
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
737
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
739
738
|
declare const __VLS_export$12: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
740
739
|
declare const _default$12: typeof __VLS_export$12;
|
|
741
740
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -796,7 +795,7 @@ declare var __VLS_1$11: {};
|
|
|
796
795
|
type __VLS_Slots$11 = {} & {
|
|
797
796
|
default?: (props: typeof __VLS_1$11) => any;
|
|
798
797
|
};
|
|
799
|
-
declare const __VLS_base$11: vue.DefineComponent<UploadProps, vue.ComputedRef<UploadContextValue>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
798
|
+
declare const __VLS_base$11: import("vue").DefineComponent<UploadProps, import("vue").ComputedRef<UploadContextValue>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
800
799
|
progress: (item: UploadItem, progress: number, bytesUploaded: number, totalBytes: number | null) => any;
|
|
801
800
|
success: (result: UploadFile) => any;
|
|
802
801
|
error: (error: Error, item?: UploadItem | undefined) => any;
|
|
@@ -806,7 +805,7 @@ declare const __VLS_base$11: vue.DefineComponent<UploadProps, vue.ComputedRef<Up
|
|
|
806
805
|
total: number;
|
|
807
806
|
}) => any;
|
|
808
807
|
uploadStart: (item: UploadItem) => any;
|
|
809
|
-
}, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
808
|
+
}, string, import("vue").PublicProps, Readonly<UploadProps> & Readonly<{
|
|
810
809
|
onProgress?: ((item: UploadItem, progress: number, bytesUploaded: number, totalBytes: number | null) => any) | undefined;
|
|
811
810
|
onSuccess?: ((result: UploadFile) => any) | undefined;
|
|
812
811
|
onError?: ((error: Error, item?: UploadItem | undefined) => any) | undefined;
|
|
@@ -820,7 +819,7 @@ declare const __VLS_base$11: vue.DefineComponent<UploadProps, vue.ComputedRef<Up
|
|
|
820
819
|
multiple: boolean;
|
|
821
820
|
maxConcurrent: number;
|
|
822
821
|
autoStart: boolean;
|
|
823
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
822
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
824
823
|
declare const __VLS_export$11: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
825
824
|
declare const _default$11: typeof __VLS_export$11;
|
|
826
825
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -834,7 +833,7 @@ declare var __VLS_1$10: {};
|
|
|
834
833
|
type __VLS_Slots$10 = {} & {
|
|
835
834
|
default?: (props: typeof __VLS_1$10) => any;
|
|
836
835
|
};
|
|
837
|
-
declare const __VLS_base$10: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
836
|
+
declare const __VLS_base$10: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
838
837
|
declare const __VLS_export$10: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
839
838
|
declare const _default$10: typeof __VLS_export$10;
|
|
840
839
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -848,7 +847,7 @@ declare var __VLS_1$9: {};
|
|
|
848
847
|
type __VLS_Slots$9 = {} & {
|
|
849
848
|
default?: (props: typeof __VLS_1$9) => any;
|
|
850
849
|
};
|
|
851
|
-
declare const __VLS_base$9: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
850
|
+
declare const __VLS_base$9: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
852
851
|
declare const __VLS_export$9: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
853
852
|
declare const _default$9: typeof __VLS_export$9;
|
|
854
853
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -921,9 +920,9 @@ declare var __VLS_1$8: {
|
|
|
921
920
|
type __VLS_Slots$8 = {} & {
|
|
922
921
|
default?: (props: typeof __VLS_1$8) => any;
|
|
923
922
|
};
|
|
924
|
-
declare const __VLS_base$8: vue.DefineComponent<UploadDropZoneProps, {
|
|
925
|
-
inputRef: vue.Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
926
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UploadDropZoneProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
923
|
+
declare const __VLS_base$8: import("vue").DefineComponent<UploadDropZoneProps, {
|
|
924
|
+
inputRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
925
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UploadDropZoneProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
927
926
|
declare const __VLS_export$8: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
928
927
|
declare const _default$8: typeof __VLS_export$8;
|
|
929
928
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -955,7 +954,7 @@ declare var __VLS_1$7: {
|
|
|
955
954
|
type __VLS_Slots$7 = {} & {
|
|
956
955
|
default?: (props: typeof __VLS_1$7) => any;
|
|
957
956
|
};
|
|
958
|
-
declare const __VLS_base$7: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
957
|
+
declare const __VLS_base$7: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
959
958
|
declare const __VLS_export$7: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
960
959
|
declare const _default$7: typeof __VLS_export$7;
|
|
961
960
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -1038,7 +1037,7 @@ declare var __VLS_1$6: {
|
|
|
1038
1037
|
type __VLS_Slots$6 = {} & {
|
|
1039
1038
|
default?: (props: typeof __VLS_1$6) => any;
|
|
1040
1039
|
};
|
|
1041
|
-
declare const __VLS_base$6: vue.DefineComponent<UploadItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UploadItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1040
|
+
declare const __VLS_base$6: import("vue").DefineComponent<UploadItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UploadItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1042
1041
|
declare const __VLS_export$6: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
1043
1042
|
declare const _default$6: typeof __VLS_export$6;
|
|
1044
1043
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -1067,7 +1066,7 @@ declare var __VLS_1$5: {
|
|
|
1067
1066
|
type __VLS_Slots$5 = {} & {
|
|
1068
1067
|
default?: (props: typeof __VLS_1$5) => any;
|
|
1069
1068
|
};
|
|
1070
|
-
declare const __VLS_base$5: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1069
|
+
declare const __VLS_base$5: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1071
1070
|
declare const __VLS_export$5: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
1072
1071
|
declare const _default$5: typeof __VLS_export$5;
|
|
1073
1072
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -1099,7 +1098,7 @@ declare var __VLS_1$4: {
|
|
|
1099
1098
|
type __VLS_Slots$4 = {} & {
|
|
1100
1099
|
default?: (props: typeof __VLS_1$4) => any;
|
|
1101
1100
|
};
|
|
1102
|
-
declare const __VLS_base$4: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1101
|
+
declare const __VLS_base$4: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1103
1102
|
declare const __VLS_export$4: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
1104
1103
|
declare const _default$4: typeof __VLS_export$4;
|
|
1105
1104
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -1113,7 +1112,7 @@ declare var __VLS_1$3: {};
|
|
|
1113
1112
|
type __VLS_Slots$3 = {} & {
|
|
1114
1113
|
default?: (props: typeof __VLS_1$3) => any;
|
|
1115
1114
|
};
|
|
1116
|
-
declare const __VLS_base$3: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1115
|
+
declare const __VLS_base$3: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1117
1116
|
declare const __VLS_export$3: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
1118
1117
|
declare const _default$3: typeof __VLS_export$3;
|
|
1119
1118
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -1127,7 +1126,7 @@ declare var __VLS_1$2: {};
|
|
|
1127
1126
|
type __VLS_Slots$2 = {} & {
|
|
1128
1127
|
default?: (props: typeof __VLS_1$2) => any;
|
|
1129
1128
|
};
|
|
1130
|
-
declare const __VLS_base$2: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1129
|
+
declare const __VLS_base$2: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1131
1130
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
1132
1131
|
declare const _default$2: typeof __VLS_export$2;
|
|
1133
1132
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -1141,7 +1140,7 @@ declare var __VLS_1$1: {};
|
|
|
1141
1140
|
type __VLS_Slots$1 = {} & {
|
|
1142
1141
|
default?: (props: typeof __VLS_1$1) => any;
|
|
1143
1142
|
};
|
|
1144
|
-
declare const __VLS_base$1: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1143
|
+
declare const __VLS_base$1: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1145
1144
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
1146
1145
|
declare const _default$1: typeof __VLS_export$1;
|
|
1147
1146
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -1191,7 +1190,7 @@ declare var __VLS_1: {
|
|
|
1191
1190
|
type __VLS_Slots = {} & {
|
|
1192
1191
|
default?: (props: typeof __VLS_1) => any;
|
|
1193
1192
|
};
|
|
1194
|
-
declare const __VLS_base: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1193
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1195
1194
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
1196
1195
|
declare const _default: typeof __VLS_export;
|
|
1197
1196
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1201,4 +1200,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
1201
1200
|
}; //# sourceMappingURL=UploadStatus.vue.d.ts.map
|
|
1202
1201
|
//#endregion
|
|
1203
1202
|
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, _default$26 as at, UploadDropZoneProps as b, UploadItemsSlotProps as c, FlowProps 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, _default$28 as lt, UPLOAD_ITEM_CONTEXT_KEY as m, _default as n, FlowDropZoneSlotProps as nt, UploadProgressSlotProps as o, _default$27 as ot, UPLOAD_CONTEXT_KEY as p, _default$22 as q, _default$1 as r, _default$24 as rt, _default$4 as s, FlowContextValue as st, UploadStatusSlotProps as t, FlowDropZoneProps as tt, UploadItemProps as u, _default$29 as ut, UploadErrorSlotProps as v, _default$10 as w, UploadDropZoneSlotProps as x, _default$7 as y, _default$19 as z };
|
|
1204
|
-
//# sourceMappingURL=index-
|
|
1203
|
+
//# sourceMappingURL=index-DCyePMQF.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DCyePMQF.d.mts","names":[],"sources":["../src/components/FlowUploadList.vue","../src/components/flow/Flow.vue","../src/components/flow/FlowCancel.vue","../src/components/flow/FlowPause.vue","../src/components/flow/FlowResume.vue","../src/components/flow/FlowDropZone.vue","../src/components/flow/FlowError.vue","../src/components/flow/useFlowContext.ts","../src/components/flow/FlowInput.vue","../src/components/flow/FlowInputDropZone.vue","../src/components/flow/FlowInputPreview.vue","../src/components/flow/FlowInputs.vue","../src/components/flow/FlowInputUrlField.vue","../src/components/flow/FlowProgress.vue","../src/components/flow/FlowReset.vue","../src/components/flow/FlowStatus.vue","../src/components/flow/FlowSubmit.vue","../src/components/UploadList.vue","../src/components/UploadZone.vue","../src/components/upload/Upload.vue","../src/components/upload/UploadCancel.vue","../src/components/upload/UploadClearCompleted.vue","../src/components/upload/UploadDropZone.vue","../src/components/upload/UploadError.vue","../src/components/upload/useUploadContext.ts","../src/components/upload/UploadItem.vue","../src/components/upload/UploadItems.vue","../src/components/upload/UploadProgress.vue","../src/components/upload/UploadReset.vue","../src/components/upload/UploadRetry.vue","../src/components/upload/UploadStartAll.vue","../src/components/upload/UploadStatus.vue"],"mappings":";;;;;;;;;;;;;;UA+YiB,mBAAA;EA6Bf;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BAAU,eAAA,mCAAA,qBAAA,gBAAA,qBAAA,4BAAA,WAAA,EAAA,QAAA,OAAA,QAAA,4CAAA,uBAAA;AAAA,cAEV,cAAA,EAAqB,iBAAA,QAAuB,YAAA,EAAY,aAAA;AAAA,cAAW,UAAA,SAC7C,cAAY;AAAA,KACnC,iBAAA,SAAwB,CAAA;EAAA;IAE3B,MAAA,EAAQ,CAAC;EAAA;AAAA;;;;;;UCjBM,qBAAA;;EAEf,MAAA;;EAEA,MAAA;E/BgUe;E+B9Tf,WAAA;;EAEA,SAAA;E/BgUS;E+B9TT,OAAA;E/BmUgB;E+BjUhB,UAAA;E/BuUK;E+BrUL,KAAA;E/BsUK;E+BpUL,UAAA;E/BoUmB;E+BlUnB,MAAA;E/BsTS;E+BpTT,SAAA;AAAA;AAAA,YAmDE,OAAA;E/BsQ6B,yEAK/B;mBACoB;wBACf;sBAAH;oBAAqC;uBAOR;iBACX;sBAAd;kBACN;;;K+BrRG,WAAA;EACD,OAAA,IAAW,KAAA,SAAc,OAAO;AAAA;AAAA,cAG9B,UAAA,gBAAU,eAAA,mCAAA,qBAAA,gBAAA,qBAAA,4BAAA,WAAA,EAAA,QAAA,OAAA,QAAA,4CAAA,uBAAA;AAAA,cAEV,YAAA,EAAqB,eAAA,QAAuB,UAAA,EAAY,WAAA;AAAA,cAAW,QAAA,SAC7C,YAAY;AAAA,KACnC,eAAA,SAAwB,CAAA;EAAA;IAE3B,MAAA,EAAQ,CAAC;EAAA;AAAA"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import * as vue from "vue";
|
|
2
|
-
|
|
3
1
|
//#region src/providers/FlowManagerProvider.vue.d.ts
|
|
4
2
|
declare var __VLS_1: {};
|
|
5
3
|
type __VLS_Slots$1 = {} & {
|
|
6
4
|
default?: (props: typeof __VLS_1) => any;
|
|
7
5
|
};
|
|
8
|
-
declare const __VLS_base$1: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_base$1: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
7
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
10
8
|
declare const _default$1: typeof __VLS_export$1;
|
|
11
9
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -27,13 +25,13 @@ declare var __VLS_8: {};
|
|
|
27
25
|
type __VLS_Slots = {} & {
|
|
28
26
|
default?: (props: typeof __VLS_8) => any;
|
|
29
27
|
};
|
|
30
|
-
declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
31
|
-
uploadistaBasePath: string;
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
32
29
|
storageId: string;
|
|
30
|
+
uploadistaBasePath: string;
|
|
33
31
|
chunkSize: number;
|
|
34
32
|
parallelUploads: number;
|
|
35
33
|
storeFingerprintForResuming: boolean;
|
|
36
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
36
|
declare const _default: typeof __VLS_export;
|
|
39
37
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -43,4 +41,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
43
41
|
}; //# sourceMappingURL=UploadistaProvider.vue.d.ts.map
|
|
44
42
|
//#endregion
|
|
45
43
|
export { _default$1 as n, _default as t };
|
|
46
|
-
//# sourceMappingURL=
|
|
44
|
+
//# sourceMappingURL=index-DcNYDFLL.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DcNYDFLL.d.mts","names":[],"sources":["../src/providers/FlowManagerProvider.vue","../src/providers/UploadistaProvider.vue"],"mappings":";YAuTI,OAAA;AAAA,KACC,aAAA;EACD,OAAA,IAAW,KAAA,SAAc,OAAO;AAAA;AAAA,cAC9B,YAAA,gBAAU,eAAA,mCAAA,qBAAA,gBAAA,qBAAA,4BAAA,WAAA,EAAA,QAAA,OAAA,QAAA,4CAAA,uBAAA;AAAA,cAEV,cAAA,EAAqB,iBAAA,QAAuB,YAAA,EAAY,aAAA;AAAA,cAAW,UAAA,SAC7C,cAAY;AAAA,KACnC,iBAAA,SAAwB,CAAA;EAAA;IAE3B,MAAA,EAAQ,CAAC;EAAA;AAAA;;;KCjPN,WAAA;EACD,SAAA;EACA,SAAA;EACA,kBAAA;EACA,SAAA;EACA,eAAA;EACA,2BAAA;AAAA;AAAA,YA0EA,OAAA;AAAA,KACC,WAAA;EACD,OAAA,IAAW,KAAA,SAAc,OAAO;AAAA;AAAA,cAG9B,UAAA,gBAAU,eAAA,CAAA,WAAA,gCAAA,qBAAA,gBAAA,qBAAA,4BAAA,WAAA,EAAA,QAAA,CAAA,WAAA,IAAA,QAAA;;;;;;;cAIV,YAAA,EAAqB,eAAA,QAAuB,UAAA,EAAY,WAAA;AAAA,cAAW,QAAA,SAC7C,YAAY;AAAA,KAWnC,eAAA,SAAwB,CAAA;EAAA;IAE3B,MAAA,EAAQ,CAAC;EAAA;AAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { $ as FlowErrorSlotProps, A as _default$15, B as FlowInputPreviewSlotProps, C as _default$19, D as _default$17, E as UploadProps, F as _default$11, G as FlowInputProps, H as FlowInputDropZoneProps, I as FlowInputUrlFieldProps, J as FLOW_CONTEXT_KEY, K as FlowInputSlotProps, L as _default$7, M as _default$14, N as _default$12, O as _default$30, P as FlowProgressSlotProps, Q as useFlowInputContext, R as FlowInputsSlotProps, S as _default$20, T as UploadContextValue, U as FlowInputDropZoneSlotProps, V as _default$6, W as _default$5, X as FlowInputContextValue, Y as FLOW_INPUT_CONTEXT_KEY, Z as useFlowContext, _ as useUploadItemContext, a as _default$26, at as _default$10, b as UploadDropZoneProps, c as UploadItemsSlotProps, ct as FlowProps, d as UploadItemSlotProps, et as _default$3, f as _default$22, g as useUploadContext, h as UploadItemContextValue, i as _default$27, it as _default$13, j as FlowStatusSlotProps, k as _default$24, l as _default$23, lt as _default, m as UPLOAD_ITEM_CONTEXT_KEY, n as _default$29, nt as FlowDropZoneSlotProps, o as UploadProgressSlotProps, ot as _default$1, p as UPLOAD_CONTEXT_KEY, q as _default$4, r as _default$28, rt as _default$2, s as _default$25, st as FlowContextValue, t as UploadStatusSlotProps, tt as FlowDropZoneProps, u as UploadItemProps, ut as _default$16, v as UploadErrorSlotProps, w as _default$18, x as UploadDropZoneSlotProps, y as _default$21, z as _default$8 } from "./index-
|
|
2
|
-
import { A as UseFlowEventsOptions, B as InputExecutionState, C as UploadFileEventData, D as UploadValidationWarningEventData, E as UploadValidationSuccessEventData, F as DragDropState, H as useFlow, I as useDragDrop, L as FlowInputMetadata, M as isFlowEvent, N as isUploadEvent, O as UseUploadEventsOptions, P as DragDropOptions, R as FlowUploadState, S as UploadFailedEventData, T as UploadValidationFailedEventData, V as UseFlowReturn, _ as useMultiFlowUpload, a as useUploadistaClient, b as createUploadistaPlugin, c as UploadItem, d as PerformanceInsights, f as UploadInput, g as useUpload, h as UploadStatus, i as UseUploadistaClientReturn, j as useFlowEvents, k as useUploadEvents, l as useMultiUpload, m as UploadState, n as UseUploadMetricsOptions, o as MultiUploadOptions, p as UploadSessionMetrics, r as useUploadMetrics, s as MultiUploadState, t as FileUploadMetrics, u as ChunkMetrics, v as UPLOADISTA_CLIENT_KEY, w as UploadProgressEventData, x as useUploadistaEvents, y as UploadistaPluginOptions, z as FlowUploadStatus } from "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./components/index.mjs";
|
|
5
|
-
import { n as _default$9, t as _default$31 } from "./UploadistaProvider.vue-_qDn5Gvp.mjs";
|
|
6
|
-
import "./providers/index.mjs";
|
|
1
|
+
import { $ as FlowErrorSlotProps, A as _default$15, B as FlowInputPreviewSlotProps, C as _default$19, D as _default$17, E as UploadProps, F as _default$11, G as FlowInputProps, H as FlowInputDropZoneProps, I as FlowInputUrlFieldProps, J as FLOW_CONTEXT_KEY, K as FlowInputSlotProps, L as _default$7, M as _default$14, N as _default$12, O as _default$30, P as FlowProgressSlotProps, Q as useFlowInputContext, R as FlowInputsSlotProps, S as _default$20, T as UploadContextValue, U as FlowInputDropZoneSlotProps, V as _default$6, W as _default$5, X as FlowInputContextValue, Y as FLOW_INPUT_CONTEXT_KEY, Z as useFlowContext, _ as useUploadItemContext, a as _default$26, at as _default$10, b as UploadDropZoneProps, c as UploadItemsSlotProps, ct as FlowProps, d as UploadItemSlotProps, et as _default$3, f as _default$22, g as useUploadContext, h as UploadItemContextValue, i as _default$27, it as _default$13, j as FlowStatusSlotProps, k as _default$24, l as _default$23, lt as _default, m as UPLOAD_ITEM_CONTEXT_KEY, n as _default$29, nt as FlowDropZoneSlotProps, o as UploadProgressSlotProps, ot as _default$1, p as UPLOAD_CONTEXT_KEY, q as _default$4, r as _default$28, rt as _default$2, s as _default$25, st as FlowContextValue, t as UploadStatusSlotProps, tt as FlowDropZoneProps, u as UploadItemProps, ut as _default$16, v as UploadErrorSlotProps, w as _default$18, x as UploadDropZoneSlotProps, y as _default$21, z as _default$8 } from "./index-DCyePMQF.mjs";
|
|
2
|
+
import { A as UseFlowEventsOptions, B as InputExecutionState, C as UploadFileEventData, D as UploadValidationWarningEventData, E as UploadValidationSuccessEventData, F as DragDropState, H as useFlow, I as useDragDrop, L as FlowInputMetadata, M as isFlowEvent, N as isUploadEvent, O as UseUploadEventsOptions, P as DragDropOptions, R as FlowUploadState, S as UploadFailedEventData, T as UploadValidationFailedEventData, V as UseFlowReturn, _ as useMultiFlowUpload, a as useUploadistaClient, b as createUploadistaPlugin, c as UploadItem, d as PerformanceInsights, f as UploadInput, g as useUpload, h as UploadStatus, i as UseUploadistaClientReturn, j as useFlowEvents, k as useUploadEvents, l as useMultiUpload, m as UploadState, n as UseUploadMetricsOptions, o as MultiUploadOptions, p as UploadSessionMetrics, r as useUploadMetrics, s as MultiUploadState, t as FileUploadMetrics, u as ChunkMetrics, v as UPLOADISTA_CLIENT_KEY, w as UploadProgressEventData, x as useUploadistaEvents, y as UploadistaPluginOptions, z as FlowUploadStatus } from "./index-BlM5dmy_.mjs";
|
|
3
|
+
import { n as _default$9, t as _default$31 } from "./index-DcNYDFLL.mjs";
|
|
7
4
|
import { calculateProgress, createFilePreview, formatDuration, formatFileSize, formatSpeed, generateUploadId, getFileExtension, isAudioFile, isBrowserFile, isDocumentFile, isImageFile, isVideoFile, revokeFilePreview, validateFileType } from "./utils/index.mjs";
|
|
8
|
-
export { type ChunkMetrics, type DragDropOptions, type DragDropState, FLOW_CONTEXT_KEY, FLOW_INPUT_CONTEXT_KEY, type FileUploadMetrics, _default as Flow, _default$1 as FlowCancel, FlowContextValue, _default$2 as FlowDropZone, FlowDropZoneProps, FlowDropZoneSlotProps, _default$3 as FlowError, FlowErrorSlotProps, _default$4 as FlowInput, FlowInputContextValue, _default$5 as FlowInputDropZone, FlowInputDropZoneProps, FlowInputDropZoneSlotProps, type FlowInputMetadata, _default$6 as FlowInputPreview, FlowInputPreviewSlotProps, FlowInputProps, FlowInputSlotProps, _default$7 as FlowInputUrlField, FlowInputUrlFieldProps, _default$8 as FlowInputs, FlowInputsSlotProps, _default$9 as FlowManagerProvider, _default$10 as FlowPause, _default$11 as FlowProgress, FlowProgressSlotProps, FlowProps, _default$12 as FlowReset, _default$13 as FlowResume, _default$14 as FlowStatus, FlowStatusSlotProps, _default$15 as FlowSubmit, _default$16 as FlowUploadList, type FlowUploadState, type FlowUploadStatus, type InputExecutionState, type UploadItem as MultiUploadItem, type MultiUploadOptions, type MultiUploadState, type PerformanceInsights, UPLOADISTA_CLIENT_KEY, UPLOAD_CONTEXT_KEY, UPLOAD_ITEM_CONTEXT_KEY, _default$17 as Upload, _default$18 as UploadCancel, _default$19 as UploadClearCompleted, UploadContextValue, _default$20 as UploadDropZone, UploadDropZoneProps, UploadDropZoneSlotProps, _default$21 as UploadError, UploadErrorSlotProps, type UploadFailedEventData, type UploadFileEventData, type UploadInput, _default$22 as UploadItem, UploadItemContextValue, UploadItemProps, UploadItemSlotProps, _default$23 as UploadItems, UploadItemsSlotProps, _default$24 as UploadList, _default$25 as UploadProgress, type UploadProgressEventData, UploadProgressSlotProps, UploadProps, _default$26 as UploadReset, _default$27 as UploadRetry, type UploadSessionMetrics, _default$28 as UploadStartAll, type UploadState, _default$29 as UploadStatus, UploadStatusSlotProps, type UploadStatus as UploadStatusType, type UploadValidationFailedEventData, type UploadValidationSuccessEventData, type UploadValidationWarningEventData, _default$30 as UploadZone, type UploadistaPluginOptions, _default$31 as UploadistaProvider, type UseFlowEventsOptions, type UseFlowReturn, type UseUploadEventsOptions, type UseUploadMetricsOptions, type UseUploadistaClientReturn, calculateProgress, createFilePreview, createUploadistaPlugin, formatDuration, formatFileSize, formatSpeed, generateUploadId, getFileExtension, isAudioFile, isBrowserFile, isDocumentFile, isFlowEvent, isImageFile, isUploadEvent, isVideoFile, revokeFilePreview, useDragDrop, useFlow, useFlowContext, useFlowEvents, useFlowInputContext, useMultiFlowUpload, useMultiUpload, useUpload, useUploadContext, useUploadEvents, useUploadItemContext, useUploadMetrics, useUploadistaClient, useUploadistaEvents, validateFileType };
|
|
5
|
+
export { type ChunkMetrics, type DragDropOptions, type DragDropState, FLOW_CONTEXT_KEY, FLOW_INPUT_CONTEXT_KEY, type FileUploadMetrics, _default as Flow, _default$1 as FlowCancel, type FlowContextValue, _default$2 as FlowDropZone, type FlowDropZoneProps, type FlowDropZoneSlotProps, _default$3 as FlowError, type FlowErrorSlotProps, _default$4 as FlowInput, type FlowInputContextValue, _default$5 as FlowInputDropZone, type FlowInputDropZoneProps, type FlowInputDropZoneSlotProps, type FlowInputMetadata, _default$6 as FlowInputPreview, type FlowInputPreviewSlotProps, type FlowInputProps, type FlowInputSlotProps, _default$7 as FlowInputUrlField, type FlowInputUrlFieldProps, _default$8 as FlowInputs, type FlowInputsSlotProps, _default$9 as FlowManagerProvider, _default$10 as FlowPause, _default$11 as FlowProgress, type FlowProgressSlotProps, type FlowProps, _default$12 as FlowReset, _default$13 as FlowResume, _default$14 as FlowStatus, type FlowStatusSlotProps, _default$15 as FlowSubmit, _default$16 as FlowUploadList, type FlowUploadState, type FlowUploadStatus, type InputExecutionState, type UploadItem as MultiUploadItem, type MultiUploadOptions, type MultiUploadState, type PerformanceInsights, UPLOADISTA_CLIENT_KEY, UPLOAD_CONTEXT_KEY, UPLOAD_ITEM_CONTEXT_KEY, _default$17 as Upload, _default$18 as UploadCancel, _default$19 as UploadClearCompleted, type UploadContextValue, _default$20 as UploadDropZone, type UploadDropZoneProps, type UploadDropZoneSlotProps, _default$21 as UploadError, type UploadErrorSlotProps, type UploadFailedEventData, type UploadFileEventData, type UploadInput, _default$22 as UploadItem, type UploadItemContextValue, type UploadItemProps, type UploadItemSlotProps, _default$23 as UploadItems, type UploadItemsSlotProps, _default$24 as UploadList, _default$25 as UploadProgress, type UploadProgressEventData, type UploadProgressSlotProps, type UploadProps, _default$26 as UploadReset, _default$27 as UploadRetry, type UploadSessionMetrics, _default$28 as UploadStartAll, type UploadState, _default$29 as UploadStatus, type UploadStatusSlotProps, type UploadStatus as UploadStatusType, type UploadValidationFailedEventData, type UploadValidationSuccessEventData, type UploadValidationWarningEventData, _default$30 as UploadZone, type UploadistaPluginOptions, _default$31 as UploadistaProvider, type UseFlowEventsOptions, type UseFlowReturn, type UseUploadEventsOptions, type UseUploadMetricsOptions, type UseUploadistaClientReturn, calculateProgress, createFilePreview, createUploadistaPlugin, formatDuration, formatFileSize, formatSpeed, generateUploadId, getFileExtension, isAudioFile, isBrowserFile, isDocumentFile, isFlowEvent, isImageFile, isUploadEvent, isVideoFile, revokeFilePreview, useDragDrop, useFlow, useFlowContext, useFlowEvents, useFlowInputContext, useMultiFlowUpload, useMultiUpload, useUpload, useUploadContext, useUploadEvents, useUploadItemContext, useUploadMetrics, useUploadistaClient, useUploadistaEvents, validateFileType };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{calculateProgress as e,createFilePreview as t,formatDuration as n,formatFileSize as r,formatSpeed as i,generateUploadId as a,getFileExtension as o,isAudioFile as s,isBrowserFile as c,isDocumentFile as l,isImageFile as u,isVideoFile as d,revokeFilePreview as f,validateFileType as p}from"./utils/index.mjs";import{A as m,C as h,D as g,E as _,F as v,I as y,L as b,M as x,N as S,O as C,P as w,R as T,S as E,T as D,_ as O,a as k,b as A,c as j,d as M,f as N,g as P,h as F,i as I,j as L,k as R,l as z,m as B,n as V,o as H,p as U,r as W,s as G,t as K,u as q,v as J,w as Y,x as X,y as Z}from"./components-D8w-zvVb.mjs";import{a as Q,c as $,d as ee,i as te,l as ne,n as re,o as ie,r as ae,s as oe,t as se,u as ce}from"./composables-CH4pv7yG.mjs";import{i as le,n as ue,t as de}from"./useUploadistaClient-CgabcTy6.mjs";import{n as fe,t as pe}from"./providers-Dhq5W5tR.mjs";export{S as FLOW_CONTEXT_KEY,w as FLOW_INPUT_CONTEXT_KEY,b as Flow,x as FlowCancel,R as FlowDropZone,C as FlowError,g as FlowInput,_ as FlowInputDropZone,D as FlowInputPreview,h as FlowInputUrlField,Y as FlowInputs,fe as FlowManagerProvider,L as FlowPause,E as FlowProgress,X as FlowReset,m as FlowResume,A as FlowStatus,Z as FlowSubmit,T as FlowUploadList,ue as UPLOADISTA_CLIENT_KEY,U as UPLOAD_CONTEXT_KEY,B as UPLOAD_ITEM_CONTEXT_KEY,N as Upload,M as UploadCancel,q as UploadClearCompleted,z as UploadDropZone,j as UploadError,G as UploadItem,H as UploadItems,J as UploadList,k as UploadProgress,I as UploadReset,W as UploadRetry,V as UploadStartAll,K as UploadStatus,O as UploadZone,pe as UploadistaProvider,e as calculateProgress,t as createFilePreview,le as createUploadistaPlugin,n as formatDuration,r as formatFileSize,i as formatSpeed,a as generateUploadId,o as getFileExtension,s as isAudioFile,c as isBrowserFile,l as isDocumentFile,$ as isFlowEvent,u as isImageFile,ne as isUploadEvent,d as isVideoFile,f as revokeFilePreview,ce as useDragDrop,ee as useFlow,v as useFlowContext,oe as useFlowEvents,y as useFlowInputContext,te as useMultiFlowUpload,ae as useMultiUpload,re as useUpload,F as useUploadContext,ie as useUploadEvents,P as useUploadItemContext,se as useUploadMetrics,de as useUploadistaClient,Q as useUploadistaEvents,p as validateFileType};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _default, t as _default$1 } from "../
|
|
1
|
+
import { n as _default, t as _default$1 } from "../index-DcNYDFLL.mjs";
|
|
2
2
|
export { _default as FlowManagerProvider, _default$1 as UploadistaProvider };
|
package/dist/providers/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{n as e,t}from"../providers-Dhq5W5tR.mjs";export{e as FlowManagerProvider,t as UploadistaProvider};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"./useUploadistaClient-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{n as e,r as t,t as n}from"./useUploadistaClient-CgabcTy6.mjs";import{createBlock as r,defineComponent as i,onBeforeUnmount as a,onMounted as o,openBlock as s,provide as c,ref as l,renderSlot as u,withCtx as d}from"vue";import{createUploadistaClient as f}from"@uploadista/client-browser";import{EventType as p}from"@uploadista/core/flow";import{UploadEventType as m}from"@uploadista/core/types";import{FlowManager as h}from"@uploadista/client-core";const g=i({__name:`FlowManagerProvider`,setup(e){function t(e){let t=e;return t.eventType===p.FlowStart||t.eventType===p.FlowEnd||t.eventType===p.FlowError||t.eventType===p.NodeStart||t.eventType===p.NodeEnd||t.eventType===p.NodePause||t.eventType===p.NodeResume||t.eventType===p.NodeError}let{client:r,subscribeToEvents:i}=n(),s=new Map,l=null;return o(()=>{l=i(e=>{if(t(e)){for(let t of s.values())t.manager.handleFlowEvent(e);return}if(`type`in e&&e.type===m.UPLOAD_PROGRESS&&`data`in e){let t=e;for(let e of s.values())e.manager.handleUploadProgress(t.data.id,t.data.progress,t.data.total)}})}),a(()=>{l?.();for(let e of s.values())e.manager.cleanup();s.clear()}),c(`flowManagerContext`,{getManager:(e,t,n)=>{let i=s.get(e);if(i)return i.refCount++,i.manager;let a=new h(r.uploadWithFlow,t,n,r.multiInputFlowUpload);return s.set(e,{manager:a,refCount:1,flowId:e}),a},releaseManager:e=>{let t=s.get(e);t&&(t.refCount--,t.refCount<=0&&(t.manager.cleanup(),s.delete(e)))}}),(e,t)=>u(e.$slots,`default`)}}),_=i({__name:`UploadistaProvider`,props:{serverUrl:{},storageId:{default:`local`},uploadistaBasePath:{default:`uploadista`},chunkSize:{default:1024*1024},parallelUploads:{default:1},storeFingerprintForResuming:{type:Boolean,default:!0}},setup(n){let i=n,o=l(new Set),p=f({baseUrl:i.serverUrl,storageId:i.storageId,uploadistaBasePath:i.uploadistaBasePath,chunkSize:i.chunkSize,parallelUploads:i.parallelUploads,storeFingerprintForResuming:i.storeFingerprintForResuming,onEvent:e=>{o.value.forEach(t=>{try{t(e)}catch(e){console.error(`Error in event subscriber:`,e)}})}});return c(e,p),c(t,o),a(()=>{p.closeAllWebSockets()}),(e,t)=>(s(),r(g,null,{default:d(()=>[u(e.$slots,`default`)]),_:3}))}});export{g as n,_ as t};
|
|
2
|
+
//# sourceMappingURL=providers-Dhq5W5tR.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers-Dhq5W5tR.mjs","names":[],"sources":["../src/providers/FlowManagerProvider.vue","../src/providers/UploadistaProvider.vue"],"sourcesContent":["<template>\n <slot />\n</template>\n\n<script setup lang=\"ts\">\nimport type {\n BrowserUploadInput,\n UploadistaEvent,\n} from \"@uploadista/client-browser\";\nimport {\n FlowManager,\n type FlowManagerCallbacks,\n type FlowUploadOptions,\n} from \"@uploadista/client-core\";\nimport { EventType, type FlowEvent } from \"@uploadista/core/flow\";\nimport { UploadEventType } from \"@uploadista/core/types\";\nimport { onBeforeUnmount, onMounted, provide } from \"vue\";\nimport { useUploadistaClient } from \"../composables/useUploadistaClient\";\n\n/**\n * Type guard to check if an event is a flow event\n */\nfunction isFlowEvent(event: UploadistaEvent): event is FlowEvent {\n const flowEvent = event as FlowEvent;\n return (\n flowEvent.eventType === EventType.FlowStart ||\n flowEvent.eventType === EventType.FlowEnd ||\n flowEvent.eventType === EventType.FlowError ||\n flowEvent.eventType === EventType.NodeStart ||\n flowEvent.eventType === EventType.NodeEnd ||\n flowEvent.eventType === EventType.NodePause ||\n flowEvent.eventType === EventType.NodeResume ||\n flowEvent.eventType === EventType.NodeError\n );\n}\n\n/**\n * Internal manager registry entry with ref counting\n */\ninterface ManagerEntry {\n manager: FlowManager<unknown>;\n refCount: number;\n flowId: string;\n}\n\n/**\n * Context value providing access to flow managers\n */\ninterface FlowManagerContextValue {\n getManager: (\n flowId: string,\n callbacks: FlowManagerCallbacks,\n options: FlowUploadOptions,\n ) => FlowManager<unknown>;\n releaseManager: (flowId: string) => void;\n}\n\nconst { client, subscribeToEvents } = useUploadistaClient();\nconst managers = new Map<string, ManagerEntry>();\nlet unsubscribe: (() => void) | null = null;\n\n// Subscribe to events and route to managers\nonMounted(() => {\n unsubscribe = subscribeToEvents((event: UploadistaEvent) => {\n // Route flow events to all managers (they filter by jobId internally)\n if (isFlowEvent(event)) {\n for (const entry of managers.values()) {\n entry.manager.handleFlowEvent(event);\n }\n return;\n }\n\n // Route upload progress events to all managers\n if (\n \"type\" in event &&\n event.type === UploadEventType.UPLOAD_PROGRESS &&\n \"data\" in event\n ) {\n const uploadEvent = event;\n\n for (const entry of managers.values()) {\n entry.manager.handleUploadProgress(\n uploadEvent.data.id,\n uploadEvent.data.progress,\n uploadEvent.data.total,\n );\n }\n }\n });\n});\n\n// Cleanup on unmount\nonBeforeUnmount(() => {\n unsubscribe?.();\n for (const entry of managers.values()) {\n entry.manager.cleanup();\n }\n managers.clear();\n});\n\nconst getManager = (\n flowId: string,\n callbacks: FlowManagerCallbacks,\n options: FlowUploadOptions,\n): FlowManager<unknown> => {\n const existing = managers.get(flowId);\n\n if (existing) {\n // Increment ref count for existing manager\n existing.refCount++;\n return existing.manager;\n }\n\n // Create new manager\n const manager = new FlowManager<BrowserUploadInput>(\n client.uploadWithFlow,\n callbacks,\n options,\n client.multiInputFlowUpload,\n );\n\n managers.set(flowId, {\n manager,\n refCount: 1,\n flowId,\n });\n\n return manager;\n};\n\nconst releaseManager = (flowId: string) => {\n const existing = managers.get(flowId);\n if (!existing) return;\n\n existing.refCount--;\n\n // Clean up when no more refs\n if (existing.refCount <= 0) {\n existing.manager.cleanup();\n managers.delete(flowId);\n }\n};\n\n// Provide the context\nconst flowManagerContext: FlowManagerContextValue = {\n getManager,\n releaseManager,\n};\n\nprovide(\"flowManagerContext\", flowManagerContext);\n</script>\n","<script setup lang=\"ts\">\nimport {\n createUploadistaClient,\n type UploadistaEvent,\n} from \"@uploadista/client-browser\";\nimport { onBeforeUnmount, provide, ref } from \"vue\";\nimport {\n UPLOADISTA_CLIENT_KEY,\n UPLOADISTA_EVENT_SUBSCRIBERS_KEY,\n} from \"../composables/plugin\";\nimport FlowManagerProvider from \"./FlowManagerProvider.vue\";\n\nconst props = withDefaults(\n defineProps<{\n serverUrl: string;\n storageId?: string;\n uploadistaBasePath?: string;\n chunkSize?: number;\n parallelUploads?: number;\n storeFingerprintForResuming?: boolean;\n }>(),\n {\n storageId: \"local\",\n uploadistaBasePath: \"uploadista\",\n chunkSize: 1024 * 1024,\n parallelUploads: 1,\n storeFingerprintForResuming: true,\n },\n);\n\n// Create a shared set of event subscribers\nconst eventSubscribers = ref(new Set<(event: UploadistaEvent) => void>());\n\nconst client = createUploadistaClient({\n baseUrl: props.serverUrl,\n storageId: props.storageId,\n uploadistaBasePath: props.uploadistaBasePath,\n chunkSize: props.chunkSize,\n parallelUploads: props.parallelUploads,\n storeFingerprintForResuming: props.storeFingerprintForResuming,\n onEvent: (event) => {\n // Dispatch to all subscribers registered via subscribeToEvents\n eventSubscribers.value.forEach((subscriber) => {\n try {\n subscriber(event);\n } catch (err) {\n console.error(\"Error in event subscriber:\", err);\n }\n });\n },\n});\n\nprovide(UPLOADISTA_CLIENT_KEY, client);\nprovide(UPLOADISTA_EVENT_SUBSCRIBERS_KEY, eventSubscribers);\n\nonBeforeUnmount(() => {\n client.closeAllWebSockets();\n});\n</script>\n\n<template>\n <FlowManagerProvider>\n <slot />\n </FlowManagerProvider>\n</template>\n"],"mappings":"wfAsBA,SAAS,EAAY,EAA4C,CAC/D,IAAM,EAAY,EAClB,OACE,EAAU,YAAc,EAAU,WAClC,EAAU,YAAc,EAAU,SAClC,EAAU,YAAc,EAAU,WAClC,EAAU,YAAc,EAAU,WAClC,EAAU,YAAc,EAAU,SAClC,EAAU,YAAc,EAAU,WAClC,EAAU,YAAc,EAAU,YAClC,EAAU,YAAc,EAAU,SAEtC,CAuBA,GAAM,CAAE,SAAQ,qBAAsB,EAAoB,EACpD,EAAW,IAAI,IACjB,EAAmC,YAGvC,MAAgB,CACd,EAAc,EAAmB,GAA2B,CAE1D,GAAI,EAAY,CAAK,EAAG,CACtB,IAAK,IAAM,KAAS,EAAS,OAAO,EAClC,EAAM,QAAQ,gBAAgB,CAAK,EAErC,MACF,CAGA,GACE,SAAU,GACV,EAAM,OAAS,EAAgB,iBAC/B,SA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AAA,KAAA,eADZ,CAAR,EAAQ,EAAA,OAAA,SAAA,CAAA,CAAA"}
|
|
@@ -83,7 +83,6 @@
|
|
|
83
83
|
border-radius: 0.25rem;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
|
|
87
86
|
.upload-list[data-v-270204db] {
|
|
88
87
|
display: flex;
|
|
89
88
|
flex-direction: column;
|
|
@@ -153,7 +152,6 @@
|
|
|
153
152
|
border-radius: 0.25rem;
|
|
154
153
|
}
|
|
155
154
|
|
|
156
|
-
|
|
157
155
|
.upload-zone[data-v-c73032fa] {
|
|
158
156
|
cursor: pointer;
|
|
159
157
|
user-select: none;
|
|
@@ -176,6 +174,3 @@
|
|
|
176
174
|
.upload-zone__errors p[data-v-c73032fa] {
|
|
177
175
|
margin: 0.25rem 0;
|
|
178
176
|
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
/*# sourceMappingURL=upload-y0K2veej.css.map*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{inject as e,ref as t}from"vue";import{createUploadistaClient as n}from"@uploadista/client-browser";const r=Symbol(`uploadista-client`),i=Symbol(`uploadista-event-subscribers`);function a(e){return{install(a){let o=t(new Set),s=n({...e,onEvent:t=>{o.value.forEach(e=>{e(t)}),e.onEvent?.(t)}});a.provide(r,s),a.provide(i,o)}}}function o(){let t=e(r);if(!t)throw Error(`useUploadistaClient must be used within a component tree that has the Uploadista plugin or provider installed. Make sure to either use app.use(createUploadistaPlugin({ ... })) in your main app file, or wrap your component tree with <UploadistaProvider>.`);let n=e(i);return{client:t,subscribeToEvents:e=>n?(n.value.add(e),()=>{n.value.delete(e)}):(console.warn(`subscribeToEvents called but no event subscribers provided. Events will not be dispatched. Make sure to use UploadistaProvider or createUploadistaPlugin with proper configuration.`),()=>{})}}export{a as i,r as n,i as r,o as t};
|
|
2
|
-
//# sourceMappingURL=useUploadistaClient-
|
|
2
|
+
//# sourceMappingURL=useUploadistaClient-CgabcTy6.mjs.map
|