@useupup/vue 3.3.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/LICENSE +21 -0
- package/README.md +67 -0
- package/dist/AudioUploader-6ZMGQ3GT.cjs +376 -0
- package/dist/AudioUploader-6ZMGQ3GT.cjs.map +1 -0
- package/dist/AudioUploader-IEWPI3TS.js +376 -0
- package/dist/AudioUploader-IEWPI3TS.js.map +1 -0
- package/dist/BoxUploader-S6CGJLO7.cjs +214 -0
- package/dist/BoxUploader-S6CGJLO7.cjs.map +1 -0
- package/dist/BoxUploader-TIDCYWMC.js +214 -0
- package/dist/BoxUploader-TIDCYWMC.js.map +1 -0
- package/dist/CameraUploader-575RARRY.js +258 -0
- package/dist/CameraUploader-575RARRY.js.map +1 -0
- package/dist/CameraUploader-LBIVBECB.cjs +258 -0
- package/dist/CameraUploader-LBIVBECB.cjs.map +1 -0
- package/dist/DropboxUploader-HTGDBDTB.cjs +216 -0
- package/dist/DropboxUploader-HTGDBDTB.cjs.map +1 -0
- package/dist/DropboxUploader-M2LY2Q32.js +216 -0
- package/dist/DropboxUploader-M2LY2Q32.js.map +1 -0
- package/dist/GoogleDriveUploader-R3WJYLW7.cjs +220 -0
- package/dist/GoogleDriveUploader-R3WJYLW7.cjs.map +1 -0
- package/dist/GoogleDriveUploader-SAY4C2QY.js +220 -0
- package/dist/GoogleDriveUploader-SAY4C2QY.js.map +1 -0
- package/dist/OneDriveUploader-EDB3RJA4.js +219 -0
- package/dist/OneDriveUploader-EDB3RJA4.js.map +1 -0
- package/dist/OneDriveUploader-WYALTOCQ.cjs +219 -0
- package/dist/OneDriveUploader-WYALTOCQ.cjs.map +1 -0
- package/dist/ScreenCaptureUploader-F65CM6OA.js +334 -0
- package/dist/ScreenCaptureUploader-F65CM6OA.js.map +1 -0
- package/dist/ScreenCaptureUploader-TZ74W7WQ.cjs +334 -0
- package/dist/ScreenCaptureUploader-TZ74W7WQ.cjs.map +1 -0
- package/dist/UrlUploader-PXEGUBQ4.js +143 -0
- package/dist/UrlUploader-PXEGUBQ4.js.map +1 -0
- package/dist/UrlUploader-TLYGV433.cjs +143 -0
- package/dist/UrlUploader-TLYGV433.cjs.map +1 -0
- package/dist/assets/logos.d.ts +5 -0
- package/dist/assets/logos.d.ts.map +1 -0
- package/dist/chunk-D32QOALR.cjs +1083 -0
- package/dist/chunk-D32QOALR.cjs.map +1 -0
- package/dist/chunk-GG4ABGXB.cjs +62 -0
- package/dist/chunk-GG4ABGXB.cjs.map +1 -0
- package/dist/chunk-GVB7IFRP.cjs +0 -0
- package/dist/chunk-GVB7IFRP.cjs.map +1 -0
- package/dist/chunk-IXLKUMV2.cjs +55 -0
- package/dist/chunk-IXLKUMV2.cjs.map +1 -0
- package/dist/chunk-M6AHIQ3M.js +62 -0
- package/dist/chunk-M6AHIQ3M.js.map +1 -0
- package/dist/chunk-PPPFIWFQ.js +1083 -0
- package/dist/chunk-PPPFIWFQ.js.map +1 -0
- package/dist/chunk-RZ7RTSRZ.js +55 -0
- package/dist/chunk-RZ7RTSRZ.js.map +1 -0
- package/dist/chunk-X6FZTCNT.js +0 -0
- package/dist/chunk-X6FZTCNT.js.map +1 -0
- package/dist/components/AudioUploader.vue.d.ts +3 -0
- package/dist/components/AudioUploader.vue.d.ts.map +1 -0
- package/dist/components/AudioWaveform.vue.d.ts +16 -0
- package/dist/components/AudioWaveform.vue.d.ts.map +1 -0
- package/dist/components/BoxUploader.vue.d.ts +3 -0
- package/dist/components/BoxUploader.vue.d.ts.map +1 -0
- package/dist/components/CameraUploader.vue.d.ts +3 -0
- package/dist/components/CameraUploader.vue.d.ts.map +1 -0
- package/dist/components/ClientBoxUploader.vue.d.ts +3 -0
- package/dist/components/ClientBoxUploader.vue.d.ts.map +1 -0
- package/dist/components/ClientDropboxUploader.vue.d.ts +3 -0
- package/dist/components/ClientDropboxUploader.vue.d.ts.map +1 -0
- package/dist/components/ClientGoogleDriveUploader.vue.d.ts +3 -0
- package/dist/components/ClientGoogleDriveUploader.vue.d.ts.map +1 -0
- package/dist/components/ClientOneDriveUploader.vue.d.ts +3 -0
- package/dist/components/ClientOneDriveUploader.vue.d.ts.map +1 -0
- package/dist/components/DefaultLoaderIcon.vue.d.ts +3 -0
- package/dist/components/DefaultLoaderIcon.vue.d.ts.map +1 -0
- package/dist/components/DropboxUploader.vue.d.ts +3 -0
- package/dist/components/DropboxUploader.vue.d.ts.map +1 -0
- package/dist/components/FileHero.vue.d.ts +13 -0
- package/dist/components/FileHero.vue.d.ts.map +1 -0
- package/dist/components/FileIcon.vue.d.ts +9 -0
- package/dist/components/FileIcon.vue.d.ts.map +1 -0
- package/dist/components/FileItem.vue.d.ts +14 -0
- package/dist/components/FileItem.vue.d.ts.map +1 -0
- package/dist/components/FileList.vue.d.ts +3 -0
- package/dist/components/FileList.vue.d.ts.map +1 -0
- package/dist/components/FilePreview.vue.d.ts +22 -0
- package/dist/components/FilePreview.vue.d.ts.map +1 -0
- package/dist/components/FilePreviewPortal.vue.d.ts +15 -0
- package/dist/components/FilePreviewPortal.vue.d.ts.map +1 -0
- package/dist/components/FilePreviewThumbnail.vue.d.ts +19 -0
- package/dist/components/FilePreviewThumbnail.vue.d.ts.map +1 -0
- package/dist/components/FileRow.vue.d.ts +17 -0
- package/dist/components/FileRow.vue.d.ts.map +1 -0
- package/dist/components/GoogleDriveUploader.vue.d.ts +3 -0
- package/dist/components/GoogleDriveUploader.vue.d.ts.map +1 -0
- package/dist/components/Icon.d.ts +36 -0
- package/dist/components/Icon.d.ts.map +1 -0
- package/dist/components/Icons.d.ts +10 -0
- package/dist/components/Icons.d.ts.map +1 -0
- package/dist/components/ImageEditorStub.vue.d.ts +3 -0
- package/dist/components/ImageEditorStub.vue.d.ts.map +1 -0
- package/dist/components/OneDriveUploader.vue.d.ts +3 -0
- package/dist/components/OneDriveUploader.vue.d.ts.map +1 -0
- package/dist/components/ScreenCaptureUploader.vue.d.ts +3 -0
- package/dist/components/ScreenCaptureUploader.vue.d.ts.map +1 -0
- package/dist/components/ServerModeDriveUploader.vue.d.ts +9 -0
- package/dist/components/ServerModeDriveUploader.vue.d.ts.map +1 -0
- package/dist/components/SourceSelector.vue.d.ts +3 -0
- package/dist/components/SourceSelector.vue.d.ts.map +1 -0
- package/dist/components/SourceView.vue.d.ts +3 -0
- package/dist/components/SourceView.vue.d.ts.map +1 -0
- package/dist/components/UploaderPanel.vue.d.ts +3 -0
- package/dist/components/UploaderPanel.vue.d.ts.map +1 -0
- package/dist/components/UrlUploader.vue.d.ts +3 -0
- package/dist/components/UrlUploader.vue.d.ts.map +1 -0
- package/dist/components/shared/DriveAuthFallback.vue.d.ts +12 -0
- package/dist/components/shared/DriveAuthFallback.vue.d.ts.map +1 -0
- package/dist/components/shared/DriveBrowser.vue.d.ts +28 -0
- package/dist/components/shared/DriveBrowser.vue.d.ts.map +1 -0
- package/dist/components/shared/DriveBrowserHeader.vue.d.ts +13 -0
- package/dist/components/shared/DriveBrowserHeader.vue.d.ts.map +1 -0
- package/dist/components/shared/DriveBrowserIcon.vue.d.ts +7 -0
- package/dist/components/shared/DriveBrowserIcon.vue.d.ts.map +1 -0
- package/dist/components/shared/DriveBrowserItem.vue.d.ts +9 -0
- package/dist/components/shared/DriveBrowserItem.vue.d.ts.map +1 -0
- package/dist/components/shared/FileSuccessCheck.vue.d.ts +20 -0
- package/dist/components/shared/FileSuccessCheck.vue.d.ts.map +1 -0
- package/dist/components/shared/ProgressBar.vue.d.ts +11 -0
- package/dist/components/shared/ProgressBar.vue.d.ts.map +1 -0
- package/dist/components/shared/SourceViewContainer.vue.d.ts +18 -0
- package/dist/components/shared/SourceViewContainer.vue.d.ts.map +1 -0
- package/dist/components/shared/UploaderHeader.vue.d.ts +15 -0
- package/dist/components/shared/UploaderHeader.vue.d.ts.map +1 -0
- package/dist/composables/use-tiles-per-row.d.ts +10 -0
- package/dist/composables/use-tiles-per-row.d.ts.map +1 -0
- package/dist/composables/useBox.d.ts +28 -0
- package/dist/composables/useBox.d.ts.map +1 -0
- package/dist/composables/useCameraUploader.d.ts +25 -0
- package/dist/composables/useCameraUploader.d.ts.map +1 -0
- package/dist/composables/useDropbox.d.ts +28 -0
- package/dist/composables/useDropbox.d.ts.map +1 -0
- package/dist/composables/useFetchFileByUrl.d.ts +8 -0
- package/dist/composables/useFetchFileByUrl.d.ts.map +1 -0
- package/dist/composables/useGoogleDrive.d.ts +28 -0
- package/dist/composables/useGoogleDrive.d.ts.map +1 -0
- package/dist/composables/useOneDrive.d.ts +29 -0
- package/dist/composables/useOneDrive.d.ts.map +1 -0
- package/dist/composables/useSSEProcessing.d.ts +19 -0
- package/dist/composables/useSSEProcessing.d.ts.map +1 -0
- package/dist/composables/useServerModeDrive.d.ts +17 -0
- package/dist/composables/useServerModeDrive.d.ts.map +1 -0
- package/dist/composables/useSourceSelector.d.ts +13 -0
- package/dist/composables/useSourceSelector.d.ts.map +1 -0
- package/dist/composables/useUploaderController.d.ts +4 -0
- package/dist/composables/useUploaderController.d.ts.map +1 -0
- package/dist/composables/useUploaderPanel.d.ts +13 -0
- package/dist/composables/useUploaderPanel.d.ts.map +1 -0
- package/dist/context/source-view-header-extra.d.ts +4 -0
- package/dist/context/source-view-header-extra.d.ts.map +1 -0
- package/dist/context/uploader-context.d.ts +95 -0
- package/dist/context/uploader-context.d.ts.map +1 -0
- package/dist/index.cjs +4405 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4405 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/constants.d.ts +11 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/lib/view-mode.d.ts +24 -0
- package/dist/lib/view-mode.d.ts.map +1 -0
- package/dist/shared/types.d.ts +15 -0
- package/dist/shared/types.d.ts.map +1 -0
- package/dist/styles.d.ts +4 -0
- package/dist/tailwind-prefixed.css +2508 -0
- package/dist/upup-uploader.vue.d.ts +18 -0
- package/dist/upup-uploader.vue.d.ts.map +1 -0
- package/dist/use-upup-upload.d.ts +38 -0
- package/dist/use-upup-upload.d.ts.map +1 -0
- package/package.json +100 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type UploadFile } from '@useupup/core';
|
|
2
|
+
/**
|
|
3
|
+
* Compact list-mode row (spec §4 state 3, states-tour-v2.html "multiple files").
|
|
4
|
+
* A horizontal card: thumbnail · name/size · remove. The grid-mode tile
|
|
5
|
+
* (FilePreview) keeps the richer affordances (edit, click-to-preview); the row
|
|
6
|
+
* is the dense overview and matches the mockup exactly.
|
|
7
|
+
*/
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
file: UploadFile;
|
|
10
|
+
/** Position in the sorted list — drives the completion-check stagger. */
|
|
11
|
+
index?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
index: number;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=FileRow.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileRow.vue.d.ts","sourceRoot":"","sources":["../../src/components/FileRow.vue"],"names":[],"mappings":"AAmOA,OAAO,EAIH,KAAK,UAAU,EAElB,MAAM,eAAe,CAAA;AAuDtB;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IACX,IAAI,EAAE,UAAU,CAAA;IAChB,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB,CAAC;;WADU,MAAM;;AAkPtB,wBAOG"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=GoogleDriveUploader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoogleDriveUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/GoogleDriveUploader.vue"],"names":[],"mappings":";AAiFA,wBAKG"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type IconName } from '@useupup/core';
|
|
3
|
+
export declare const Icon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
name: {
|
|
5
|
+
type: PropType<IconName>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
type: PropType<number | undefined>;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
class: {
|
|
13
|
+
type: PropType<string | undefined>;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
name: {
|
|
20
|
+
type: PropType<IconName>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
type: PropType<number | undefined>;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
class: {
|
|
28
|
+
type: PropType<string | undefined>;
|
|
29
|
+
default: undefined;
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{}>, {
|
|
32
|
+
size: number | undefined;
|
|
33
|
+
class: string | undefined;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
35
|
+
export default Icon;
|
|
36
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../src/components/Icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AACvD,OAAO,EAAS,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAA;AAGpD,eAAO,MAAM,IAAI;;cAGe,QAAQ,CAAC,QAAQ,CAAC;;;;cAEtB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;cAI5B,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;;;cANxB,QAAQ,CAAC,QAAQ,CAAC;;;;cAEtB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;cAI5B,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;;4EAmBtD,CAAA;AAEF,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const MyDeviceIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export declare const BoxIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export declare const DropboxIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export declare const GoogleDriveIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
export declare const OneDriveIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export declare const LinkIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export declare const CameraIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export declare const AudioIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export declare const ScreenCaptureIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
//# sourceMappingURL=Icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../src/components/Icons.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,+QAGvB,CAAA;AACF,eAAO,MAAM,OAAO,+QAGlB,CAAA;AACF,eAAO,MAAM,WAAW,+QAGtB,CAAA;AACF,eAAO,MAAM,eAAe,+QAG1B,CAAA;AACF,eAAO,MAAM,YAAY,+QAGvB,CAAA;AACF,eAAO,MAAM,QAAQ,+QAGnB,CAAA;AACF,eAAO,MAAM,UAAU,+QAGrB,CAAA;AACF,eAAO,MAAM,SAAS,+QAGpB,CAAA;AACF,eAAO,MAAM,iBAAiB,+QAG5B,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=ImageEditorStub.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageEditorStub.vue.d.ts","sourceRoot":"","sources":["../../src/components/ImageEditorStub.vue"],"names":[],"mappings":";AAyIA,wBAKG"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=OneDriveUploader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OneDriveUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/OneDriveUploader.vue"],"names":[],"mappings":";AAiFA,wBAKG"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=ScreenCaptureUploader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenCaptureUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScreenCaptureUploader.vue"],"names":[],"mappings":";AAqoBA,wBAKG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ServerModeProvider } from '../composables/useServerModeDrive';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
provider: ServerModeProvider;
|
|
4
|
+
onBack?: () => void;
|
|
5
|
+
dataUpupSlot?: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=ServerModeDriveUploader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServerModeDriveUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/ServerModeDriveUploader.vue"],"names":[],"mappings":"AA+OA,OAAO,EAGH,KAAK,kBAAkB,EAC1B,MAAM,mCAAmC,CAAA;AAM1C,KAAK,WAAW,GAAG;IACf,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACpC,CAAC;;AAmVF,wBAMG"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=SourceSelector.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceSelector.vue.d.ts","sourceRoot":"","sources":["../../src/components/SourceSelector.vue"],"names":[],"mappings":";AAm3BA,wBAKG"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=SourceView.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceView.vue.d.ts","sourceRoot":"","sources":["../../src/components/SourceView.vue"],"names":[],"mappings":";AA0SA,wBAKG"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=UploaderPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploaderPanel.vue.d.ts","sourceRoot":"","sources":["../../src/components/UploaderPanel.vue"],"names":[],"mappings":";AAkhCA,wBAKG"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=UrlUploader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UrlUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/UrlUploader.vue"],"names":[],"mappings":";AAsMA,wBAKG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type DriveBrowserError } from '@useupup/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
providerName: string;
|
|
4
|
+
onRetry: () => void;
|
|
5
|
+
error?: DriveBrowserError | undefined;
|
|
6
|
+
dataUpupSlot?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
dataUpupSlot: string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=DriveAuthFallback.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DriveAuthFallback.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/DriveAuthFallback.vue"],"names":[],"mappings":"AA2DA,OAAO,EAAE,KAAK,iBAAiB,EAAwB,MAAM,eAAe,CAAA;AAK5E,KAAK,WAAW,GAAG;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAA;IACrC,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB,CAAC;;kBADiB,MAAM;;AAuGzB,wBAOG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type DriveBrowserError, type DriveFile, type DriveFolder, type DriveUser } from '@useupup/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
isClickLoading?: boolean;
|
|
4
|
+
driveFiles?: DriveFolder | undefined;
|
|
5
|
+
path: DriveFolder[];
|
|
6
|
+
setPath: (newPath: DriveFolder[]) => void;
|
|
7
|
+
user?: DriveUser | undefined;
|
|
8
|
+
handleSignOut: () => Promise<void>;
|
|
9
|
+
handleClick: (file: DriveFile) => void | Promise<void>;
|
|
10
|
+
selectedFiles: DriveFile[];
|
|
11
|
+
showLoader: boolean;
|
|
12
|
+
handleSubmit: () => Promise<void>;
|
|
13
|
+
handleCancelDownload: () => void;
|
|
14
|
+
onSelectCurrentFolder?: () => Promise<void> | void;
|
|
15
|
+
error?: DriveBrowserError | undefined;
|
|
16
|
+
hasMore?: boolean;
|
|
17
|
+
isLoadingMore?: boolean;
|
|
18
|
+
loadMore?: () => void | Promise<void>;
|
|
19
|
+
dataUpupSlot?: string;
|
|
20
|
+
};
|
|
21
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
+
dataUpupSlot: string;
|
|
23
|
+
isClickLoading: boolean;
|
|
24
|
+
hasMore: boolean;
|
|
25
|
+
isLoadingMore: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=DriveBrowser.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DriveBrowser.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/DriveBrowser.vue"],"names":[],"mappings":"AAqNA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,SAAS,EAGjB,MAAM,eAAe,CAAA;AAYtB,KAAK,WAAW,GAAG;IACf,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,UAAU,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IACpC,IAAI,EAAE,WAAW,EAAE,CAAA;IACnB,OAAO,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IAC5B,aAAa,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAClC,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACtD,aAAa,EAAE,SAAS,EAAE,CAAA;IAC1B,UAAU,EAAE,OAAO,CAAA;IACnB,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACjC,oBAAoB,EAAE,MAAM,IAAI,CAAA;IAChC,qBAAqB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAClD,KAAK,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAA;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACrC,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB,CAAC;;kBADiB,MAAM;oBAhBJ,OAAO;aAad,OAAO;mBACD,OAAO;;AA2S3B,wBAOG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type DriveFolder, type DriveUser } from '@useupup/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
path: DriveFolder[];
|
|
4
|
+
setPath: (newPath: DriveFolder[]) => void;
|
|
5
|
+
handleSignOut: () => Promise<void>;
|
|
6
|
+
showSearch: boolean;
|
|
7
|
+
searchTerm: string;
|
|
8
|
+
onSearch: (value: string) => void;
|
|
9
|
+
user?: DriveUser | undefined;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=DriveBrowserHeader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DriveBrowserHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/DriveBrowserHeader.vue"],"names":[],"mappings":"AAuMA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAA;AAUhE,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,WAAW,EAAE,CAAA;IACnB,OAAO,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,aAAa,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;CAC/B,CAAC;;AA6SF,wBAMG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type DriveFile } from '@useupup/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
file: DriveFile;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=DriveBrowserIcon.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DriveBrowserIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/DriveBrowserIcon.vue"],"names":[],"mappings":"AAyCA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAA;AAK9C,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC;;AAkGvC,wBAMG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type DriveFile } from '@useupup/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
file: DriveFile;
|
|
4
|
+
handleClick: (file: DriveFile) => void | Promise<void>;
|
|
5
|
+
selectedFiles: DriveFile[];
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=DriveBrowserItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DriveBrowserItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/DriveBrowserItem.vue"],"names":[],"mappings":"AAuEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAA;AAK9C,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,SAAS,CAAA;IACf,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACtD,aAAa,EAAE,SAAS,EAAE,CAAA;CAC7B,CAAC;;AA8FF,wBAMG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Completion checkmark (states-tour.html state E): a sky ring with a tick that
|
|
3
|
+
* DRAWS in and a wrapper that POPS, shown when a file reaches
|
|
4
|
+
* UploadStatus.SUCCESSFUL. Hosts (FilePreview tile, FileRow, FileHero) gate it
|
|
5
|
+
* on status; the fx classes render UNCONDITIONALLY — the shared CSS
|
|
6
|
+
* `data-motion="off"` kill rule is the one gate, so under motion-off the mark
|
|
7
|
+
* simply appears drawn (no draw/pop). aria-hidden: completion is already
|
|
8
|
+
* conveyed textually by the file list's live region + the upload announcement.
|
|
9
|
+
*/
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
/** Position in the sorted list — drives the draw/pop stagger (capped at 8). */
|
|
12
|
+
index?: number;
|
|
13
|
+
size?: number;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
size: number;
|
|
17
|
+
index: number;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=FileSuccessCheck.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileSuccessCheck.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/FileSuccessCheck.vue"],"names":[],"mappings":"AAyDA;;;;;;;;GAQG;AACH,KAAK,WAAW,GAAG;IACX,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;;UADS,MAAM;WADL,MAAM;;AA0EtB,wBAOG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
progress: number;
|
|
3
|
+
showValue?: boolean;
|
|
4
|
+
progressBarClassName?: string;
|
|
5
|
+
class?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
showValue: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=ProgressBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/ProgressBar.vue"],"names":[],"mappings":"AA6FA,KAAK,WAAW,GAAG;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB,CAAC;;eAHc,OAAO;;AA+G3B,wBAOG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
isLoading?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=SourceViewContainer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceViewContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/SourceViewContainer.vue"],"names":[],"mappings":"AAsCA,KAAK,WAAW,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAoC3C,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAwB/C,QAAA,MAAM,eAAe;eA9DY,OAAO;6EAqEtC,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
handleCancel: () => void;
|
|
3
|
+
/** True when the panel forces the row list (tiles don't fit one row) —
|
|
4
|
+
* the grid/list toggle is hidden in that state. */
|
|
5
|
+
forcedList?: boolean;
|
|
6
|
+
/** True in quiet-completion mode after success — hides the add-more
|
|
7
|
+
* control so the completed panel offers no further CTAs. */
|
|
8
|
+
hideAddMore?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
forcedList: boolean;
|
|
12
|
+
hideAddMore: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=UploaderHeader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploaderHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/UploaderHeader.vue"],"names":[],"mappings":"AA6LA,KAAK,WAAW,GAAG;IACX,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB;wDACoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;iEAC6D;IAC7D,WAAW,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;;gBAJe,OAAO;iBAGN,OAAO;;AA2O7B,wBAOG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Measure `elRef`'s content-box width with a ResizeObserver and derive how many
|
|
4
|
+
* 160px grid tiles fit one row (see view-mode.ts). Returns 0 until measured
|
|
5
|
+
* (SSR / jsdom / pre-paint), which isListViewForced reads as "unknown — don't
|
|
6
|
+
* force list yet". Isolated in its own module so tests can mock the measurement
|
|
7
|
+
* seam without a real layout engine. Mirrors React's lib/use-tiles-per-row.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useTilesPerRow(elRef: Ref<HTMLElement | null>): Ref<number>;
|
|
10
|
+
//# sourceMappingURL=use-tiles-per-row.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-tiles-per-row.d.ts","sourceRoot":"","sources":["../../src/composables/use-tiles-per-row.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAGlE;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CA6B1E"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
|
+
import { type DriveFile, type DriveFolder } from '@useupup/core';
|
|
3
|
+
import { type DriveBrowserState } from '@useupup/core/internal';
|
|
4
|
+
interface UseBoxReturn {
|
|
5
|
+
user: ComputedRef<DriveBrowserState['user']>;
|
|
6
|
+
boxFiles: ComputedRef<DriveBrowserState['folder']>;
|
|
7
|
+
logout: () => void;
|
|
8
|
+
authenticate: () => void;
|
|
9
|
+
token: ComputedRef<'active' | undefined>;
|
|
10
|
+
isAuthenticated: ComputedRef<DriveBrowserState['isAuthenticated']>;
|
|
11
|
+
isLoading: ComputedRef<DriveBrowserState['isLoading']>;
|
|
12
|
+
path: ComputedRef<DriveBrowserState['path']>;
|
|
13
|
+
setPath: (newPath: DriveFolder[]) => void;
|
|
14
|
+
handleClick: (file: DriveFile) => void;
|
|
15
|
+
selectedFiles: ComputedRef<DriveBrowserState['selectedFiles']>;
|
|
16
|
+
showLoader: ComputedRef<DriveBrowserState['showLoader']>;
|
|
17
|
+
handleSubmit: () => Promise<void>;
|
|
18
|
+
handleCancelDownload: () => void;
|
|
19
|
+
onSelectCurrentFolder: () => Promise<void>;
|
|
20
|
+
isClickLoading: ComputedRef<DriveBrowserState['isClickLoading']>;
|
|
21
|
+
error: ComputedRef<DriveBrowserState['error']>;
|
|
22
|
+
hasMore: ComputedRef<DriveBrowserState['hasMore']>;
|
|
23
|
+
isLoadingMore: ComputedRef<DriveBrowserState['isLoadingMore']>;
|
|
24
|
+
loadMore: () => Promise<void>;
|
|
25
|
+
}
|
|
26
|
+
export declare function useBox(): UseBoxReturn;
|
|
27
|
+
export default useBox;
|
|
28
|
+
//# sourceMappingURL=useBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBox.d.ts","sourceRoot":"","sources":["../../src/composables/useBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,WAAW,EACnB,MAAM,KAAK,CAAA;AACZ,OAAO,EAAkB,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAA;AAChF,OAAO,EAEH,KAAK,iBAAiB,EACzB,MAAM,wBAAwB,CAAA;AAO/B,UAAU,YAAY;IAClB,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;IAC5C,QAAQ,EAAE,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAA;IAClD,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,KAAK,EAAE,WAAW,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAA;IACxC,eAAe,EAAE,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAA;IAClE,SAAS,EAAE,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAA;IACtD,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;IAC5C,OAAO,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACtC,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;IAC9D,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC,CAAA;IACxD,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACjC,oBAAoB,EAAE,MAAM,IAAI,CAAA;IAChC,qBAAqB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC1C,cAAc,EAAE,WAAW,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAA;IAChE,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAA;IAC9C,OAAO,EAAE,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAA;IAClD,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;IAC9D,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAChC;AAED,wBAAgB,MAAM,IAAI,YAAY,CAkErC;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type Ref, type ComputedRef } from 'vue';
|
|
2
|
+
import type { Translations } from '@useupup/core';
|
|
3
|
+
import type { ContextProps, ContextTheme } from '../context/uploader-context';
|
|
4
|
+
export declare enum FacingMode {
|
|
5
|
+
Environment = "environment",
|
|
6
|
+
User = "user"
|
|
7
|
+
}
|
|
8
|
+
interface UseCameraUploaderReturn {
|
|
9
|
+
videoRef: Ref<HTMLVideoElement | null>;
|
|
10
|
+
capturedUrl: Ref<string>;
|
|
11
|
+
facingMode: Ref<FacingMode>;
|
|
12
|
+
newCameraSide: ComputedRef<'front' | 'back'>;
|
|
13
|
+
startCamera: () => Promise<void>;
|
|
14
|
+
stopCamera: () => void;
|
|
15
|
+
capture: () => void;
|
|
16
|
+
clearUrl: () => void;
|
|
17
|
+
handleFetchImage: () => Promise<void>;
|
|
18
|
+
handleCameraSwitch: () => void;
|
|
19
|
+
translations: Translations;
|
|
20
|
+
props: ContextProps;
|
|
21
|
+
theme: ContextTheme;
|
|
22
|
+
}
|
|
23
|
+
export default function useCameraUploader(): UseCameraUploaderReturn;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=useCameraUploader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCameraUploader.d.ts","sourceRoot":"","sources":["../../src/composables/useCameraUploader.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,GAAG,EAAE,KAAK,WAAW,EAAE,MAAM,KAAK,CAAA;AAC5E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AASjD,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE7E,oBAAY,UAAU;IAClB,WAAW,gBAAgB;IAC3B,IAAI,SAAS;CAChB;AAED,UAAU,uBAAuB;IAC7B,QAAQ,EAAE,GAAG,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;IACtC,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACxB,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,CAAA;IAC3B,aAAa,EAAE,WAAW,CAAC,OAAO,GAAG,MAAM,CAAC,CAAA;IAC5C,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAChC,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,gBAAgB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACrC,kBAAkB,EAAE,MAAM,IAAI,CAAA;IAC9B,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,IAAI,uBAAuB,CA4GnE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
|
+
import { type DriveFile, type DriveFolder } from '@useupup/core';
|
|
3
|
+
import { type DriveBrowserState } from '@useupup/core/internal';
|
|
4
|
+
interface UseDropboxReturn {
|
|
5
|
+
user: ComputedRef<DriveBrowserState['user']>;
|
|
6
|
+
dropboxFiles: ComputedRef<DriveBrowserState['folder']>;
|
|
7
|
+
logout: () => void;
|
|
8
|
+
authenticate: () => void;
|
|
9
|
+
token: ComputedRef<'active' | undefined>;
|
|
10
|
+
isAuthenticated: ComputedRef<DriveBrowserState['isAuthenticated']>;
|
|
11
|
+
isLoading: ComputedRef<DriveBrowserState['isLoading']>;
|
|
12
|
+
path: ComputedRef<DriveBrowserState['path']>;
|
|
13
|
+
setPath: (newPath: DriveFolder[]) => void;
|
|
14
|
+
handleClick: (file: DriveFile) => void;
|
|
15
|
+
selectedFiles: ComputedRef<DriveBrowserState['selectedFiles']>;
|
|
16
|
+
showLoader: ComputedRef<DriveBrowserState['showLoader']>;
|
|
17
|
+
handleSubmit: () => Promise<void>;
|
|
18
|
+
handleCancelDownload: () => void;
|
|
19
|
+
onSelectCurrentFolder: () => Promise<void>;
|
|
20
|
+
isClickLoading: ComputedRef<DriveBrowserState['isClickLoading']>;
|
|
21
|
+
error: ComputedRef<DriveBrowserState['error']>;
|
|
22
|
+
hasMore: ComputedRef<DriveBrowserState['hasMore']>;
|
|
23
|
+
isLoadingMore: ComputedRef<DriveBrowserState['isLoadingMore']>;
|
|
24
|
+
loadMore: () => Promise<void>;
|
|
25
|
+
}
|
|
26
|
+
export declare function useDropbox(): UseDropboxReturn;
|
|
27
|
+
export default useDropbox;
|
|
28
|
+
//# sourceMappingURL=useDropbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDropbox.d.ts","sourceRoot":"","sources":["../../src/composables/useDropbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,WAAW,EACnB,MAAM,KAAK,CAAA;AACZ,OAAO,EAEH,KAAK,SAAS,EACd,KAAK,WAAW,EACnB,MAAM,eAAe,CAAA;AACtB,OAAO,EAEH,KAAK,iBAAiB,EACzB,MAAM,wBAAwB,CAAA;AAO/B,UAAU,gBAAgB;IACtB,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;IAC5C,YAAY,EAAE,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAA;IACtD,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,KAAK,EAAE,WAAW,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAA;IACxC,eAAe,EAAE,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAA;IAClE,SAAS,EAAE,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAA;IACtD,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;IAC5C,OAAO,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACtC,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;IAC9D,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC,CAAA;IACxD,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACjC,oBAAoB,EAAE,MAAM,IAAI,CAAA;IAChC,qBAAqB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC1C,cAAc,EAAE,WAAW,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAA;IAChE,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAA;IAC9C,OAAO,EAAE,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAA;IAClD,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;IAC9D,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAChC;AAED,wBAAgB,UAAU,IAAI,gBAAgB,CAkE7C;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import { deriveFetchedFileName } from '@useupup/core/internal';
|
|
3
|
+
export { deriveFetchedFileName };
|
|
4
|
+
export default function useFetchFileByUrl(): {
|
|
5
|
+
loading: Ref<boolean>;
|
|
6
|
+
fetchImage: (url: string) => Promise<File | undefined>;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=useFetchFileByUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFetchFileByUrl.d.ts","sourceRoot":"","sources":["../../src/composables/useFetchFileByUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAM9D,OAAO,EAAE,qBAAqB,EAAE,CAAA;AAEhC,MAAM,CAAC,OAAO,UAAU,iBAAiB,IAAI;IACzC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAA;CACzD,CA8BA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
|
+
import { type DriveFile, type DriveFolder } from '@useupup/core';
|
|
3
|
+
import { type DriveBrowserState } from '@useupup/core/internal';
|
|
4
|
+
interface UseGoogleDriveReturn {
|
|
5
|
+
user: ComputedRef<DriveBrowserState['user']>;
|
|
6
|
+
googleFiles: ComputedRef<DriveBrowserState['folder']>;
|
|
7
|
+
token: ComputedRef<DriveBrowserState['token']>;
|
|
8
|
+
authCancelled: ComputedRef<DriveBrowserState['authCancelled']>;
|
|
9
|
+
isAuthReady: ComputedRef<DriveBrowserState['isAuthReady']>;
|
|
10
|
+
retryAuth: () => void;
|
|
11
|
+
handleSignOut: () => Promise<void>;
|
|
12
|
+
path: ComputedRef<DriveBrowserState['path']>;
|
|
13
|
+
setPath: (newPath: DriveFolder[]) => void;
|
|
14
|
+
handleClick: (file: DriveFile) => void;
|
|
15
|
+
selectedFiles: ComputedRef<DriveBrowserState['selectedFiles']>;
|
|
16
|
+
showLoader: ComputedRef<DriveBrowserState['showLoader']>;
|
|
17
|
+
handleSubmit: () => Promise<void>;
|
|
18
|
+
handleCancelDownload: () => void;
|
|
19
|
+
onSelectCurrentFolder: () => Promise<void>;
|
|
20
|
+
isClickLoading: ComputedRef<DriveBrowserState['isClickLoading']>;
|
|
21
|
+
error: ComputedRef<DriveBrowserState['error']>;
|
|
22
|
+
hasMore: ComputedRef<DriveBrowserState['hasMore']>;
|
|
23
|
+
isLoadingMore: ComputedRef<DriveBrowserState['isLoadingMore']>;
|
|
24
|
+
loadMore: () => Promise<void>;
|
|
25
|
+
}
|
|
26
|
+
export declare function useGoogleDrive(): UseGoogleDriveReturn;
|
|
27
|
+
export default useGoogleDrive;
|
|
28
|
+
//# sourceMappingURL=useGoogleDrive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGoogleDrive.d.ts","sourceRoot":"","sources":["../../src/composables/useGoogleDrive.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,WAAW,EACnB,MAAM,KAAK,CAAA;AACZ,OAAO,EAEH,KAAK,SAAS,EACd,KAAK,WAAW,EACnB,MAAM,eAAe,CAAA;AACtB,OAAO,EAEH,KAAK,iBAAiB,EACzB,MAAM,wBAAwB,CAAA;AAO/B,UAAU,oBAAoB;IAC1B,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;IAC5C,WAAW,EAAE,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAA;IACrD,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAA;IAC9C,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;IAC9D,WAAW,EAAE,WAAW,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC,CAAA;IAC1D,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,aAAa,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAClC,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;IAC5C,OAAO,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACtC,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;IAC9D,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC,CAAA;IACxD,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACjC,oBAAoB,EAAE,MAAM,IAAI,CAAA;IAChC,qBAAqB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC1C,cAAc,EAAE,WAAW,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAA;IAChE,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAA;IAC9C,OAAO,EAAE,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAA;IAClD,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;IAC9D,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAChC;AAED,wBAAgB,cAAc,IAAI,oBAAoB,CAuErD;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
|
+
import { type DriveFile, type DriveFolder } from '@useupup/core';
|
|
3
|
+
import { type DriveBrowserState } from '@useupup/core/internal';
|
|
4
|
+
interface UseOneDriveReturn {
|
|
5
|
+
user: ComputedRef<DriveBrowserState['user']>;
|
|
6
|
+
oneDriveFiles: ComputedRef<DriveBrowserState['folder']>;
|
|
7
|
+
signOut: () => void;
|
|
8
|
+
signIn: () => void;
|
|
9
|
+
authenticate: () => void;
|
|
10
|
+
token: ComputedRef<'active' | undefined>;
|
|
11
|
+
isAuthenticated: ComputedRef<DriveBrowserState['isAuthenticated']>;
|
|
12
|
+
isLoading: ComputedRef<DriveBrowserState['isLoading']>;
|
|
13
|
+
path: ComputedRef<DriveBrowserState['path']>;
|
|
14
|
+
setPath: (newPath: DriveFolder[]) => void;
|
|
15
|
+
handleClick: (file: DriveFile) => void;
|
|
16
|
+
selectedFiles: ComputedRef<DriveBrowserState['selectedFiles']>;
|
|
17
|
+
showLoader: ComputedRef<DriveBrowserState['showLoader']>;
|
|
18
|
+
handleSubmit: () => Promise<void>;
|
|
19
|
+
handleCancelDownload: () => void;
|
|
20
|
+
onSelectCurrentFolder: () => Promise<void>;
|
|
21
|
+
isClickLoading: ComputedRef<DriveBrowserState['isClickLoading']>;
|
|
22
|
+
error: ComputedRef<DriveBrowserState['error']>;
|
|
23
|
+
hasMore: ComputedRef<DriveBrowserState['hasMore']>;
|
|
24
|
+
isLoadingMore: ComputedRef<DriveBrowserState['isLoadingMore']>;
|
|
25
|
+
loadMore: () => Promise<void>;
|
|
26
|
+
}
|
|
27
|
+
export declare function useOneDrive(): UseOneDriveReturn;
|
|
28
|
+
export default useOneDrive;
|
|
29
|
+
//# sourceMappingURL=useOneDrive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOneDrive.d.ts","sourceRoot":"","sources":["../../src/composables/useOneDrive.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,WAAW,EACnB,MAAM,KAAK,CAAA;AACZ,OAAO,EAEH,KAAK,SAAS,EACd,KAAK,WAAW,EACnB,MAAM,eAAe,CAAA;AACtB,OAAO,EAEH,KAAK,iBAAiB,EACzB,MAAM,wBAAwB,CAAA;AAO/B,UAAU,iBAAiB;IACvB,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;IAC5C,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAA;IACvD,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,KAAK,EAAE,WAAW,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAA;IACxC,eAAe,EAAE,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAA;IAClE,SAAS,EAAE,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAA;IACtD,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;IAC5C,OAAO,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACtC,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;IAC9D,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC,CAAA;IACxD,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACjC,oBAAoB,EAAE,MAAM,IAAI,CAAA;IAChC,qBAAqB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC1C,cAAc,EAAE,WAAW,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAA;IAChE,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAA;IAC9C,OAAO,EAAE,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAA;IAClD,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;IAC9D,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAChC;AAED,wBAAgB,WAAW,IAAI,iBAAiB,CAqE/C;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { UploadFile } from '@useupup/core';
|
|
2
|
+
type Options = {
|
|
3
|
+
processingEndpoint?: string | undefined;
|
|
4
|
+
onFileProcessed?: ((file: UploadFile, data: Record<string, unknown>) => void) | undefined;
|
|
5
|
+
onError?: ((error: Error) => void) | undefined;
|
|
6
|
+
processingTimeout?: number | undefined;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Manages server-sent event connections opened after each file upload.
|
|
10
|
+
* When `processingEndpoint` is set, calling `connectSSE(file)` opens an
|
|
11
|
+
* EventSource at `${processingEndpoint}?key=${file.key}`. The first message
|
|
12
|
+
* received is parsed as JSON and forwarded to `onFileProcessed`. The
|
|
13
|
+
* connection is closed automatically on message, error, or timeout.
|
|
14
|
+
*/
|
|
15
|
+
export declare function useSSEProcessing({ processingEndpoint, onFileProcessed, onError, processingTimeout, }: Options): {
|
|
16
|
+
connectSSE: (file: UploadFile) => void;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=useSSEProcessing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSSEProcessing.d.ts","sourceRoot":"","sources":["../../src/composables/useSSEProcessing.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAG/C,KAAK,OAAO,GAAG;IACX,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvC,eAAe,CAAC,EACZ,CAAC,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC,GAAG,SAAS,CAAA;IAC3E,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,SAAS,CAAA;IAC9C,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACzC,CAAA;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC7B,kBAAkB,EAClB,eAAe,EACf,OAAO,EACP,iBAA0B,GAC7B,EAAE,OAAO,GAAG;IAAE,UAAU,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAA;CAAE,CAuBtD"}
|