@opencloud-eu/web-pkg 6.0.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/TextEditor-CTRIgoeG.js +819 -0
- package/dist/assets/worker-BVTM6bn-.js +1 -0
- package/dist/assets/worker-Bv-mZ-VL.js +25 -0
- package/dist/assets/worker-Dx2ttEp-.js +25 -0
- package/dist/assets/worker-nUcRt7qV.js +25 -0
- package/dist/composables-CAlEpA5b.js +20172 -0
- package/dist/src/apps/types.d.ts +9 -9
- package/dist/src/components/AppBar/AppBar.vue.d.ts +82 -82
- package/dist/src/components/AppLoadingSpinner.vue.d.ts +2 -1
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +29 -33
- package/dist/src/components/AppTemplates/AppWrapperRoute.d.ts +1 -1
- package/dist/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +5 -4
- package/dist/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +2 -1
- package/dist/src/components/AppTopBar.vue.d.ts +4 -3
- package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +3 -4
- package/dist/src/components/Avatars/UserAvatar.vue.d.ts +3 -1
- package/dist/src/components/BatchActions.vue.d.ts +16 -15
- package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +3 -2
- package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +9 -8
- package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +19 -18
- package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +30 -385
- package/dist/src/components/CreateLinkModal.vue.d.ts +7 -5
- package/dist/src/components/CreateShortcutModal.vue.d.ts +36 -139
- package/dist/src/components/CustomComponentTarget.vue.d.ts +2 -1
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +38 -37
- package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +12 -11
- package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +2 -1
- package/dist/src/components/FilesList/ResourceLink.vue.d.ts +7 -6
- package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +5 -3
- package/dist/src/components/FilesList/ResourceName.vue.d.ts +4 -1
- package/dist/src/components/FilesList/ResourceSize.vue.d.ts +6 -5
- package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +2 -1
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +38 -149
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +25 -149
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +21 -114
- package/dist/src/components/Filters/DateFilter.vue.d.ts +26 -497
- package/dist/src/components/Filters/ItemFilterInline.vue.d.ts +6 -5
- package/dist/src/components/Groupware/Accounts/AccountsSwitch.vue.d.ts +3 -0
- package/dist/src/components/Groupware/Accounts/index.d.ts +1 -0
- package/dist/src/components/Groupware/index.d.ts +1 -0
- package/dist/src/components/ItemFilter.vue.d.ts +10 -203
- package/dist/src/components/ItemFilterToggle.vue.d.ts +6 -5
- package/dist/src/components/LinkRoleDropdown.vue.d.ts +7 -6
- package/dist/src/components/LoadingIndicator.vue.d.ts +5 -4
- package/dist/src/components/Modals/DatePickerModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/EmojiPickerModal.vue.d.ts +6 -5
- package/dist/src/components/Modals/FilePickerModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/ResourceConflictModal.vue.d.ts +9 -8
- package/dist/src/components/Modals/SaveAsModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +5 -4
- package/dist/src/components/Modals/UnsavedChangesModal.vue.d.ts +5 -4
- package/dist/src/components/NoContentMessage.vue.d.ts +9 -12
- package/dist/src/components/Pagination.vue.d.ts +5 -4
- package/dist/src/components/QuotaSelect.vue.d.ts +7 -6
- package/dist/src/components/Search/ResourcePreview.vue.d.ts +2 -41
- package/dist/src/components/SearchBarFilter.vue.d.ts +7 -6
- package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +6 -5
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +2 -76
- package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +2 -1
- package/dist/src/components/SideBar/SideBar.vue.d.ts +10 -19
- package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +10 -19
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +2 -1
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +2 -1
- package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +6 -1
- package/dist/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +2 -1
- package/dist/src/components/SideBar/WebDavDetails.vue.d.ts +7 -6
- package/dist/src/components/SpaceQuota.vue.d.ts +2 -1
- package/dist/src/components/Spaces/QuotaModal.vue.d.ts +5 -4
- package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +4 -4
- package/dist/src/components/TextEditor/TextEditor.vue.d.ts +18 -0
- package/dist/src/components/TextEditor/index.d.ts +17 -0
- package/dist/src/components/VersionCheck.vue.d.ts +2 -1
- package/dist/src/components/ViewOptions.vue.d.ts +2 -1
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionFallbackToDownload.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActions.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDelete.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDownloadFile.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsMove.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsNavigate.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsRename.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsSaveAs.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsUndoDelete.d.ts +2 -2
- package/dist/src/composables/actions/helpers/useIsAppActive.d.ts +1 -1
- package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -1
- package/dist/src/composables/actions/helpers/useIsSearchActive.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsCreate.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +1 -1
- package/dist/src/composables/actions/types.d.ts +92 -2
- package/dist/src/composables/actions/useActionsShowDetails.d.ts +1 -1
- package/dist/src/composables/appDefaults/useAppConfig.d.ts +1 -1
- package/dist/src/composables/appDefaults/useAppDocumentTitle.d.ts +2 -1
- package/dist/src/composables/appDefaults/useAppFileHandling.d.ts +4 -2
- package/dist/src/composables/appDefaults/useAppMeta.d.ts +1 -1
- package/dist/src/composables/authContext/useAuthService.d.ts +3 -1
- package/dist/src/composables/authContext/useRequest.d.ts +2 -2
- package/dist/src/composables/driveResolver/useSpacesLoading.d.ts +1 -1
- package/dist/src/composables/embedMode/useEmbedMode.d.ts +8 -8
- package/dist/src/composables/eventBus/useEventBus.d.ts +1 -1
- package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +1 -1
- package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
- package/dist/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +1 -1
- package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
- package/dist/src/composables/keyboardActions/useKeyboardActions.d.ts +1 -0
- package/dist/src/composables/links/useLinkTypes.d.ts +1 -1
- package/dist/src/composables/localStorage/useLocalStorage.d.ts +1 -1
- package/dist/src/composables/navItems/useNavItems.d.ts +1 -1
- package/dist/src/composables/piniaStores/apps.d.ts +31 -31
- package/dist/src/composables/piniaStores/auth.d.ts +25 -25
- package/dist/src/composables/piniaStores/avatars.d.ts +9 -9
- package/dist/src/composables/piniaStores/capabilities.d.ts +160 -160
- package/dist/src/composables/piniaStores/clipboard.d.ts +49 -49
- package/dist/src/composables/piniaStores/config/config.d.ts +135 -141
- package/dist/src/composables/piniaStores/config/types.d.ts +6 -20
- package/dist/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +4 -4
- package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +1 -1
- package/dist/src/composables/piniaStores/groupware/accounts.d.ts +511 -0
- package/dist/src/composables/piniaStores/{groupwareConfig/groupwareConfig.d.ts → groupware/config.d.ts} +107 -80
- package/dist/src/composables/piniaStores/groupware/index.d.ts +3 -0
- package/dist/src/composables/piniaStores/{groupwareConfig → groupware}/types.d.ts +30 -18
- package/dist/src/composables/piniaStores/index.d.ts +1 -1
- package/dist/src/composables/piniaStores/messages.d.ts +34 -616
- package/dist/src/composables/piniaStores/modals.d.ts +197 -209
- package/dist/src/composables/piniaStores/resources.d.ts +11 -11
- package/dist/src/composables/piniaStores/shares/shares.d.ts +1 -1
- package/dist/src/composables/piniaStores/shares/types.d.ts +2 -1
- package/dist/src/composables/piniaStores/sideBar.d.ts +7 -7
- package/dist/src/composables/piniaStores/spaces.d.ts +189 -188
- package/dist/src/composables/piniaStores/theme.d.ts +10 -10
- package/dist/src/composables/piniaStores/updates.d.ts +10 -10
- package/dist/src/composables/piniaStores/user.d.ts +5 -5
- package/dist/src/composables/piniaStores/webWorkers.d.ts +1 -1
- package/dist/src/composables/requestHeaders/useRequestHeaders.d.ts +1 -1
- package/dist/src/composables/resources/useGetResourceContext.d.ts +26 -26
- package/dist/src/composables/resources/useLoadPreview.d.ts +1 -1
- package/dist/src/composables/resources/useResourceContents.d.ts +1 -1
- package/dist/src/composables/resources/useResourceIndicators.d.ts +12 -1
- package/dist/src/composables/resources/useResourceViewDrag.d.ts +13 -13
- package/dist/src/composables/resources/useResourceViewHelpers.d.ts +18 -18
- package/dist/src/composables/resources/useResourceViewSelection.d.ts +2 -2
- package/dist/src/composables/selection/useSelectedResources.d.ts +2 -1
- package/dist/src/composables/spaces/useCreateSpace.d.ts +1 -1
- package/dist/src/composables/spaces/useSpaceHelpers.d.ts +1 -1
- package/dist/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +1 -1
- package/dist/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +2 -2
- package/dist/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +1 -1
- package/dist/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +3 -1
- package/dist/src/extensionPoints.d.ts +1 -1
- package/dist/src/helpers/resource/conflictHandling/conflictDialog.d.ts +1 -1
- package/dist/src/helpers/resource/conflictHandling/transfer.d.ts +4 -4
- package/dist/src/helpers/resource/conflictHandling/types.d.ts +1 -1
- package/dist/src/helpers/share/driveItem.d.ts +1 -1
- package/dist/src/router/common.d.ts +1 -1
- package/dist/src/router/index.d.ts +2 -1
- package/dist/src/router/public.d.ts +1 -1
- package/dist/src/router/shares.d.ts +1 -1
- package/dist/src/router/spaces.d.ts +1 -1
- package/dist/src/router/trash.d.ts +1 -1
- package/dist/src/services/passwordPolicy/rules.d.ts +63 -0
- package/dist/src/services/preview/types.d.ts +1 -1
- package/dist/src/services/uppy/DropTarget/plugin.d.ts +2 -1
- package/dist/src/services/uppy/uppyService.d.ts +3 -3
- package/dist/web-pkg.js +4181 -352
- package/package.json +37 -38
- package/dist/TextEditor-D-HQDUkm.js +0 -865
- package/dist/assets/worker-BBQqm_-D.js +0 -1
- package/dist/assets/worker-CVwKToFD.js +0 -21
- package/dist/assets/worker-DJbU-qfq.js +0 -21
- package/dist/assets/worker-DyU7W9CZ.js +0 -21
- package/dist/index-OU30YA6H.js +0 -25032
- package/dist/src/components/Navigation/MobileNav.vue.d.ts +0 -2
- package/dist/src/components/Navigation/index.d.ts +0 -1
- package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +0 -2
- package/dist/web-pkg.umd.cjs +0 -16
|
@@ -141,8 +141,8 @@ export declare const ThemeConfig: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strip>;
|
|
142
142
|
export type WebThemeType = z.infer<typeof WebTheme>;
|
|
143
143
|
export type ThemeConfigType = z.infer<typeof ThemeConfig>;
|
|
144
|
-
export declare const useThemeStore: import(
|
|
145
|
-
availableThemes: import(
|
|
144
|
+
export declare const useThemeStore: import("pinia").StoreDefinition<"theme", Pick<{
|
|
145
|
+
availableThemes: import("vue").Ref<{
|
|
146
146
|
isDark: boolean;
|
|
147
147
|
label: string;
|
|
148
148
|
name?: string;
|
|
@@ -212,7 +212,7 @@ export declare const useThemeStore: import('pinia').StoreDefinition<"theme", Pic
|
|
|
212
212
|
favicon?: string;
|
|
213
213
|
background?: string;
|
|
214
214
|
}[]>;
|
|
215
|
-
currentTheme: import(
|
|
215
|
+
currentTheme: import("vue").Ref<{
|
|
216
216
|
isDark: boolean;
|
|
217
217
|
label: string;
|
|
218
218
|
name?: string;
|
|
@@ -262,10 +262,10 @@ export declare const useThemeStore: import('pinia').StoreDefinition<"theme", Pic
|
|
|
262
262
|
initializeThemes: (themeConfig: ThemeConfigType) => void;
|
|
263
263
|
setAndApplyTheme: (theme: WebThemeType, updateStorage?: boolean) => void;
|
|
264
264
|
setAutoSystemTheme: () => void;
|
|
265
|
-
isCurrentThemeAutoSystem: import(
|
|
265
|
+
isCurrentThemeAutoSystem: import("vue").ComputedRef<boolean>;
|
|
266
266
|
getRoleIcon: (role: ShareRole) => string;
|
|
267
267
|
}, "availableThemes" | "currentTheme">, Pick<{
|
|
268
|
-
availableThemes: import(
|
|
268
|
+
availableThemes: import("vue").Ref<{
|
|
269
269
|
isDark: boolean;
|
|
270
270
|
label: string;
|
|
271
271
|
name?: string;
|
|
@@ -335,7 +335,7 @@ export declare const useThemeStore: import('pinia').StoreDefinition<"theme", Pic
|
|
|
335
335
|
favicon?: string;
|
|
336
336
|
background?: string;
|
|
337
337
|
}[]>;
|
|
338
|
-
currentTheme: import(
|
|
338
|
+
currentTheme: import("vue").Ref<{
|
|
339
339
|
isDark: boolean;
|
|
340
340
|
label: string;
|
|
341
341
|
name?: string;
|
|
@@ -385,10 +385,10 @@ export declare const useThemeStore: import('pinia').StoreDefinition<"theme", Pic
|
|
|
385
385
|
initializeThemes: (themeConfig: ThemeConfigType) => void;
|
|
386
386
|
setAndApplyTheme: (theme: WebThemeType, updateStorage?: boolean) => void;
|
|
387
387
|
setAutoSystemTheme: () => void;
|
|
388
|
-
isCurrentThemeAutoSystem: import(
|
|
388
|
+
isCurrentThemeAutoSystem: import("vue").ComputedRef<boolean>;
|
|
389
389
|
getRoleIcon: (role: ShareRole) => string;
|
|
390
390
|
}, "isCurrentThemeAutoSystem">, Pick<{
|
|
391
|
-
availableThemes: import(
|
|
391
|
+
availableThemes: import("vue").Ref<{
|
|
392
392
|
isDark: boolean;
|
|
393
393
|
label: string;
|
|
394
394
|
name?: string;
|
|
@@ -458,7 +458,7 @@ export declare const useThemeStore: import('pinia').StoreDefinition<"theme", Pic
|
|
|
458
458
|
favicon?: string;
|
|
459
459
|
background?: string;
|
|
460
460
|
}[]>;
|
|
461
|
-
currentTheme: import(
|
|
461
|
+
currentTheme: import("vue").Ref<{
|
|
462
462
|
isDark: boolean;
|
|
463
463
|
label: string;
|
|
464
464
|
name?: string;
|
|
@@ -508,7 +508,7 @@ export declare const useThemeStore: import('pinia').StoreDefinition<"theme", Pic
|
|
|
508
508
|
initializeThemes: (themeConfig: ThemeConfigType) => void;
|
|
509
509
|
setAndApplyTheme: (theme: WebThemeType, updateStorage?: boolean) => void;
|
|
510
510
|
setAutoSystemTheme: () => void;
|
|
511
|
-
isCurrentThemeAutoSystem: import(
|
|
511
|
+
isCurrentThemeAutoSystem: import("vue").ComputedRef<boolean>;
|
|
512
512
|
getRoleIcon: (role: ShareRole) => string;
|
|
513
513
|
}, "initializeThemes" | "setAndApplyTheme" | "setAutoSystemTheme" | "getRoleIcon">>;
|
|
514
514
|
export {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { Updates } from '../../types';
|
|
2
|
-
export declare const useUpdatesStore: import(
|
|
3
|
-
updates: import(
|
|
4
|
-
isLoading: import(
|
|
5
|
-
hasError: import(
|
|
2
|
+
export declare const useUpdatesStore: import("pinia").StoreDefinition<"updates", Pick<{
|
|
3
|
+
updates: import("vue").Ref<Updates, Updates>;
|
|
4
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
5
|
+
hasError: import("vue").Ref<boolean, boolean>;
|
|
6
6
|
setUpdates: (data: Updates) => void;
|
|
7
7
|
setHasError: (value: boolean) => void;
|
|
8
8
|
setIsLoading: (value: boolean) => void;
|
|
9
9
|
}, "hasError" | "isLoading" | "updates">, Pick<{
|
|
10
|
-
updates: import(
|
|
11
|
-
isLoading: import(
|
|
12
|
-
hasError: import(
|
|
10
|
+
updates: import("vue").Ref<Updates, Updates>;
|
|
11
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
12
|
+
hasError: import("vue").Ref<boolean, boolean>;
|
|
13
13
|
setUpdates: (data: Updates) => void;
|
|
14
14
|
setHasError: (value: boolean) => void;
|
|
15
15
|
setIsLoading: (value: boolean) => void;
|
|
16
16
|
}, never>, Pick<{
|
|
17
|
-
updates: import(
|
|
18
|
-
isLoading: import(
|
|
19
|
-
hasError: import(
|
|
17
|
+
updates: import("vue").Ref<Updates, Updates>;
|
|
18
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
19
|
+
hasError: import("vue").Ref<boolean, boolean>;
|
|
20
20
|
setUpdates: (data: Updates) => void;
|
|
21
21
|
setHasError: (value: boolean) => void;
|
|
22
22
|
setIsLoading: (value: boolean) => void;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { User } from '@opencloud-eu/web-client/graph/generated';
|
|
2
|
-
export declare const useUserStore: import(
|
|
3
|
-
user: import(
|
|
2
|
+
export declare const useUserStore: import("pinia").StoreDefinition<"user", Pick<{
|
|
3
|
+
user: import("vue").Ref<User, User>;
|
|
4
4
|
setUser: (data: User) => void;
|
|
5
5
|
reset: () => void;
|
|
6
6
|
}, "user">, Pick<{
|
|
7
|
-
user: import(
|
|
7
|
+
user: import("vue").Ref<User, User>;
|
|
8
8
|
setUser: (data: User) => void;
|
|
9
9
|
reset: () => void;
|
|
10
10
|
}, never>, Pick<{
|
|
11
|
-
user: import(
|
|
11
|
+
user: import("vue").Ref<User, User>;
|
|
12
12
|
setUser: (data: User) => void;
|
|
13
13
|
reset: () => void;
|
|
14
|
-
}, "
|
|
14
|
+
}, "setUser" | "reset">>;
|
|
15
15
|
export type UserStore = ReturnType<typeof useUserStore>;
|
|
@@ -4,7 +4,7 @@ export interface WebWorker<T = any> extends UseWebWorkerReturn<T> {
|
|
|
4
4
|
needsTokenRenewal: boolean;
|
|
5
5
|
}
|
|
6
6
|
export type WorkerTopic = 'startProcess' | 'tokenUpdate';
|
|
7
|
-
export declare const useWebWorkersStore: import(
|
|
7
|
+
export declare const useWebWorkersStore: import("pinia").StoreDefinition<"webWorkers", Pick<{
|
|
8
8
|
createWorker: <T = any>(workerUrl: string, { needsTokenRenewal }?: {
|
|
9
9
|
needsTokenRenewal?: boolean;
|
|
10
10
|
}) => WebWorker<T>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource } from '@opencloud-eu/web-client';
|
|
2
2
|
export declare const useGetResourceContext: () => {
|
|
3
|
-
getResourceContext: (id: string) => import(
|
|
3
|
+
getResourceContext: (id: string) => import("vue-concurrency").TaskInstance<{
|
|
4
4
|
space: {
|
|
5
5
|
description: string;
|
|
6
6
|
disabled: boolean;
|
|
@@ -279,7 +279,7 @@ export declare const useGetResourceContext: () => {
|
|
|
279
279
|
};
|
|
280
280
|
};
|
|
281
281
|
link?: {
|
|
282
|
-
type?: import(
|
|
282
|
+
type?: import("@opencloud-eu/web-client/graph/generated").SharingLinkType;
|
|
283
283
|
preventsDownload?: boolean;
|
|
284
284
|
webUrl?: string;
|
|
285
285
|
'@libre.graph.displayName'?: string;
|
|
@@ -362,7 +362,7 @@ export declare const useGetResourceContext: () => {
|
|
|
362
362
|
};
|
|
363
363
|
};
|
|
364
364
|
link?: {
|
|
365
|
-
type?: import(
|
|
365
|
+
type?: import("@opencloud-eu/web-client/graph/generated").SharingLinkType;
|
|
366
366
|
preventsDownload?: boolean;
|
|
367
367
|
webUrl?: string;
|
|
368
368
|
'@libre.graph.displayName'?: string;
|
|
@@ -730,7 +730,7 @@ export declare const useGetResourceContext: () => {
|
|
|
730
730
|
};
|
|
731
731
|
};
|
|
732
732
|
link?: {
|
|
733
|
-
type?: import(
|
|
733
|
+
type?: import("@opencloud-eu/web-client/graph/generated").SharingLinkType;
|
|
734
734
|
preventsDownload?: boolean;
|
|
735
735
|
webUrl?: string;
|
|
736
736
|
'@libre.graph.displayName'?: string;
|
|
@@ -813,7 +813,7 @@ export declare const useGetResourceContext: () => {
|
|
|
813
813
|
};
|
|
814
814
|
};
|
|
815
815
|
link?: {
|
|
816
|
-
type?: import(
|
|
816
|
+
type?: import("@opencloud-eu/web-client/graph/generated").SharingLinkType;
|
|
817
817
|
preventsDownload?: boolean;
|
|
818
818
|
webUrl?: string;
|
|
819
819
|
'@libre.graph.displayName'?: string;
|
|
@@ -1174,7 +1174,7 @@ export declare const useGetResourceContext: () => {
|
|
|
1174
1174
|
};
|
|
1175
1175
|
};
|
|
1176
1176
|
link?: {
|
|
1177
|
-
type?: import(
|
|
1177
|
+
type?: import("@opencloud-eu/web-client/graph/generated").SharingLinkType;
|
|
1178
1178
|
preventsDownload?: boolean;
|
|
1179
1179
|
webUrl?: string;
|
|
1180
1180
|
'@libre.graph.displayName'?: string;
|
|
@@ -1257,7 +1257,7 @@ export declare const useGetResourceContext: () => {
|
|
|
1257
1257
|
};
|
|
1258
1258
|
};
|
|
1259
1259
|
link?: {
|
|
1260
|
-
type?: import(
|
|
1260
|
+
type?: import("@opencloud-eu/web-client/graph/generated").SharingLinkType;
|
|
1261
1261
|
preventsDownload?: boolean;
|
|
1262
1262
|
webUrl?: string;
|
|
1263
1263
|
'@libre.graph.displayName'?: string;
|
|
@@ -1349,31 +1349,31 @@ export declare const useGetResourceContext: () => {
|
|
|
1349
1349
|
webDavTrashPath: string;
|
|
1350
1350
|
graphPermissions?: string[];
|
|
1351
1351
|
canDisable: (args?: {
|
|
1352
|
-
user?: import(
|
|
1353
|
-
ability?: import(
|
|
1352
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1353
|
+
ability?: import("@opencloud-eu/web-client").Ability;
|
|
1354
1354
|
}) => boolean;
|
|
1355
1355
|
canEditDescription: (args?: {
|
|
1356
|
-
user?: import(
|
|
1357
|
-
ability?: import(
|
|
1356
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1357
|
+
ability?: import("@opencloud-eu/web-client").Ability;
|
|
1358
1358
|
}) => boolean;
|
|
1359
1359
|
canEditImage: (args?: {
|
|
1360
|
-
user?: import(
|
|
1360
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1361
1361
|
}) => boolean;
|
|
1362
1362
|
canEditReadme: (args?: {
|
|
1363
|
-
user?: import(
|
|
1363
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1364
1364
|
}) => boolean;
|
|
1365
1365
|
canRestore: (args?: {
|
|
1366
|
-
user?: import(
|
|
1367
|
-
ability?: import(
|
|
1366
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1367
|
+
ability?: import("@opencloud-eu/web-client").Ability;
|
|
1368
1368
|
}) => boolean;
|
|
1369
1369
|
canDeleteFromTrashBin: (args?: {
|
|
1370
|
-
user?: import(
|
|
1370
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1371
1371
|
}) => boolean;
|
|
1372
1372
|
canRestoreFromTrashbin: (args?: {
|
|
1373
|
-
user?: import(
|
|
1373
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1374
1374
|
}) => boolean;
|
|
1375
1375
|
canListVersions: (args?: {
|
|
1376
|
-
user?: import(
|
|
1376
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1377
1377
|
}) => boolean;
|
|
1378
1378
|
getWebDavUrl: ({ path }: {
|
|
1379
1379
|
path: string;
|
|
@@ -1382,7 +1382,7 @@ export declare const useGetResourceContext: () => {
|
|
|
1382
1382
|
path: string;
|
|
1383
1383
|
}) => string;
|
|
1384
1384
|
getDriveAliasAndItem: (resource: Resource) => string;
|
|
1385
|
-
isOwner: (user: import(
|
|
1385
|
+
isOwner: (user: import("@opencloud-eu/web-client/graph/generated").User) => boolean;
|
|
1386
1386
|
id: string;
|
|
1387
1387
|
fileId?: string;
|
|
1388
1388
|
parentFolderId?: string;
|
|
@@ -1458,20 +1458,20 @@ export declare const useGetResourceContext: () => {
|
|
|
1458
1458
|
hasPreview?: () => boolean;
|
|
1459
1459
|
canCreate?: () => boolean;
|
|
1460
1460
|
canUpload?: ({ user }: {
|
|
1461
|
-
user?: import(
|
|
1461
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1462
1462
|
}) => boolean;
|
|
1463
1463
|
canDownload?: () => boolean;
|
|
1464
1464
|
canShare?: (args?: {
|
|
1465
|
-
user?: import(
|
|
1466
|
-
ability?: import(
|
|
1465
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1466
|
+
ability?: import("@opencloud-eu/web-client").Ability;
|
|
1467
1467
|
}) => boolean;
|
|
1468
1468
|
canRename?: (args?: {
|
|
1469
|
-
user?: import(
|
|
1470
|
-
ability?: import(
|
|
1469
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1470
|
+
ability?: import("@opencloud-eu/web-client").Ability;
|
|
1471
1471
|
}) => boolean;
|
|
1472
1472
|
canBeDeleted?: (args?: {
|
|
1473
|
-
user?: import(
|
|
1474
|
-
ability?: import(
|
|
1473
|
+
user?: import("@opencloud-eu/web-client/graph/generated").User;
|
|
1474
|
+
ability?: import("@opencloud-eu/web-client").Ability;
|
|
1475
1475
|
}) => boolean;
|
|
1476
1476
|
canEditTags?: () => boolean;
|
|
1477
1477
|
getDomSelector?: () => string;
|
|
@@ -21,6 +21,6 @@ type LoadPreviewOptions = {
|
|
|
21
21
|
};
|
|
22
22
|
export declare const useLoadPreview: (viewMode?: Ref<string>) => {
|
|
23
23
|
loadPreview: (options: LoadPreviewOptions) => Promise<string>;
|
|
24
|
-
previewsLoading: import(
|
|
24
|
+
previewsLoading: import("vue").ComputedRef<boolean>;
|
|
25
25
|
};
|
|
26
26
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { IconFillType } from '../../helpers';
|
|
3
3
|
export type ResourceIndicatorCategory = 'system' | 'sharing' | 'space';
|
|
4
|
-
export interface
|
|
4
|
+
export interface ResourceIndicatorIcon {
|
|
5
5
|
id: string;
|
|
6
6
|
accessibleDescription: string;
|
|
7
7
|
label: string;
|
|
@@ -10,7 +10,18 @@ export interface ResourceIndicator {
|
|
|
10
10
|
type: string;
|
|
11
11
|
category: ResourceIndicatorCategory;
|
|
12
12
|
handler?: (resource: Resource, event?: MouseEvent) => void;
|
|
13
|
+
kind: 'icon';
|
|
13
14
|
}
|
|
15
|
+
export interface ResourceIndicatorTag {
|
|
16
|
+
id: string;
|
|
17
|
+
accessibleDescription: string;
|
|
18
|
+
label: string;
|
|
19
|
+
type: string;
|
|
20
|
+
category: ResourceIndicatorCategory;
|
|
21
|
+
class?: string;
|
|
22
|
+
kind: 'tag';
|
|
23
|
+
}
|
|
24
|
+
export type ResourceIndicator = ResourceIndicatorIcon | ResourceIndicatorTag;
|
|
14
25
|
export declare const useResourceIndicators: () => {
|
|
15
26
|
getIndicators: ({ space, resource }: {
|
|
16
27
|
space: SpaceResource;
|
|
@@ -5,9 +5,9 @@ export declare const useResourceViewDrag: ({ selectedIds, selectedResources, emi
|
|
|
5
5
|
selectedResources: Ref<Resource[]>;
|
|
6
6
|
emit: ReturnType<typeof defineEmits>;
|
|
7
7
|
}) => {
|
|
8
|
-
ghostElement: Readonly<import(
|
|
8
|
+
ghostElement: Readonly<import("vue").ShallowRef<ComponentPublicInstance<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
9
|
previewItems: {
|
|
10
|
-
type: import(
|
|
10
|
+
type: import("vue").PropType<Resource[]>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
}>, {}, {}, {
|
|
@@ -15,22 +15,22 @@ export declare const useResourceViewDrag: ({ selectedIds, selectedResources, emi
|
|
|
15
15
|
showSecondLayer(): boolean;
|
|
16
16
|
showThirdLayer(): boolean;
|
|
17
17
|
itemCount(): number;
|
|
18
|
-
}, {}, import(
|
|
18
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
previewItems: {
|
|
20
|
-
type: import(
|
|
20
|
+
type: import("vue").PropType<Resource[]>;
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
23
|
}>> & Readonly<{}>, {}, {}, {
|
|
24
|
-
ResourceIcon: import(
|
|
25
|
-
resource: Resource | import(
|
|
26
|
-
size?: import(
|
|
27
|
-
}, {}, {}, {}, {}, import(
|
|
28
|
-
resource: Resource | import(
|
|
29
|
-
size?: import(
|
|
30
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
31
|
-
}, {}, string, import(
|
|
24
|
+
ResourceIcon: import("vue").DefineComponent<{
|
|
25
|
+
resource: Resource | import("@opencloud-eu/web-client").SpaceResource;
|
|
26
|
+
size?: import("@opencloud-eu/design-system/helpers").SizeType;
|
|
27
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
28
|
+
resource: Resource | import("@opencloud-eu/web-client").SpaceResource;
|
|
29
|
+
size?: import("@opencloud-eu/design-system/helpers").SizeType;
|
|
30
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>>>;
|
|
32
32
|
dragItem: Ref<Resource, Resource>;
|
|
33
|
-
dragSelection: import(
|
|
33
|
+
dragSelection: import("vue").ComputedRef<Resource[]>;
|
|
34
34
|
dragStart: (resource: Resource, event: DragEvent) => Promise<void>;
|
|
35
35
|
fileDropped: (resource: Resource, event: DragEvent) => void;
|
|
36
36
|
setDropStyling: (resource: Resource, leaving: boolean, event: DragEvent) => void;
|
|
@@ -10,15 +10,15 @@ export declare const useResourceViewHelpers: ({ space, resources, selectedIds, e
|
|
|
10
10
|
emit: ReturnType<typeof defineEmits>;
|
|
11
11
|
}) => {
|
|
12
12
|
getResourceCheckboxLabel: (resource: Resource) => string;
|
|
13
|
-
areAllResourcesSelected: import(
|
|
14
|
-
selectAllCheckboxLabel: import(
|
|
13
|
+
areAllResourcesSelected: import("vue").ComputedRef<boolean>;
|
|
14
|
+
selectAllCheckboxLabel: import("vue").ComputedRef<string>;
|
|
15
15
|
toggleSelectionAll: () => void;
|
|
16
16
|
shouldShowContextDrop: (item: Resource) => boolean;
|
|
17
|
-
showContextMenuOnBtnClick: (event: MouseEvent | KeyboardEvent, item: Resource, drop: import(
|
|
18
|
-
showContextMenuOnRightClick: (event: MouseEvent | KeyboardEvent, item: Resource, drop: import(
|
|
19
|
-
ghostElement: Readonly<import(
|
|
17
|
+
showContextMenuOnBtnClick: (event: MouseEvent | KeyboardEvent, item: Resource, drop: import("vue").ComponentPublicInstance<typeof import("@opencloud-eu/design-system/components").OcDrop>) => void;
|
|
18
|
+
showContextMenuOnRightClick: (event: MouseEvent | KeyboardEvent, item: Resource, drop: import("vue").ComponentPublicInstance<typeof import("@opencloud-eu/design-system/components").OcDrop>) => void;
|
|
19
|
+
ghostElement: Readonly<import("vue").ShallowRef<import("vue").ComponentPublicInstance<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
20
20
|
previewItems: {
|
|
21
|
-
type: import(
|
|
21
|
+
type: import("vue").PropType<Resource[]>;
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
24
|
}>, {}, {}, {
|
|
@@ -26,27 +26,27 @@ export declare const useResourceViewHelpers: ({ space, resources, selectedIds, e
|
|
|
26
26
|
showSecondLayer(): boolean;
|
|
27
27
|
showThirdLayer(): boolean;
|
|
28
28
|
itemCount(): number;
|
|
29
|
-
}, {}, import(
|
|
29
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
30
|
previewItems: {
|
|
31
|
-
type: import(
|
|
31
|
+
type: import("vue").PropType<Resource[]>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
34
|
}>> & Readonly<{}>, {}, {}, {
|
|
35
|
-
ResourceIcon: import(
|
|
35
|
+
ResourceIcon: import("vue").DefineComponent<{
|
|
36
36
|
resource: Resource | SpaceResource;
|
|
37
|
-
size?: import(
|
|
38
|
-
}, {}, {}, {}, {}, import(
|
|
37
|
+
size?: import("@opencloud-eu/design-system/helpers").SizeType;
|
|
38
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
39
39
|
resource: Resource | SpaceResource;
|
|
40
|
-
size?: import(
|
|
41
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
42
|
-
}, {}, string, import(
|
|
40
|
+
size?: import("@opencloud-eu/design-system/helpers").SizeType;
|
|
41
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>>>;
|
|
43
43
|
dragItem: Ref<Resource, Resource>;
|
|
44
|
-
dragSelection: import(
|
|
44
|
+
dragSelection: import("vue").ComputedRef<Resource[]>;
|
|
45
45
|
dragStart: (resource: Resource, event: DragEvent) => Promise<void>;
|
|
46
46
|
fileDropped: (resource: Resource, event: DragEvent) => void;
|
|
47
47
|
setDropStyling: (resource: Resource, leaving: boolean, event: DragEvent) => void;
|
|
48
|
-
selectedResources: import(
|
|
49
|
-
disabledResources: import(
|
|
48
|
+
selectedResources: import("vue").ComputedRef<Resource[]>;
|
|
49
|
+
disabledResources: import("vue").ComputedRef<string[]>;
|
|
50
50
|
isResourceSelected: (item: Resource) => boolean;
|
|
51
51
|
isResourceInDeleteQueue: (id: string) => boolean;
|
|
52
52
|
isResourceDisabled: (resource: Resource) => boolean;
|
|
@@ -64,5 +64,5 @@ export declare const useResourceViewHelpers: ({ space, resources, selectedIds, e
|
|
|
64
64
|
resource: Resource;
|
|
65
65
|
event: MouseEvent | KeyboardEvent;
|
|
66
66
|
}) => void;
|
|
67
|
-
getResourceLink: (resource: Resource) => string | import(
|
|
67
|
+
getResourceLink: (resource: Resource) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
68
68
|
};
|
|
@@ -7,7 +7,7 @@ export declare const useResourceViewSelection: ({ resources, disabledResources,
|
|
|
7
7
|
emit: ReturnType<typeof defineEmits>;
|
|
8
8
|
}) => {
|
|
9
9
|
getResourceCheckboxLabel: (resource: Resource) => string;
|
|
10
|
-
areAllResourcesSelected: import(
|
|
11
|
-
selectAllCheckboxLabel: import(
|
|
10
|
+
areAllResourcesSelected: import("vue").ComputedRef<boolean>;
|
|
11
|
+
selectAllCheckboxLabel: import("vue").ComputedRef<string>;
|
|
12
12
|
toggleSelectionAll: () => void;
|
|
13
13
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { Resource
|
|
2
|
+
import { Resource } from '@opencloud-eu/web-client';
|
|
3
|
+
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
3
4
|
export interface SelectedResourcesResult {
|
|
4
5
|
selectedResources: Ref<Resource[]>;
|
|
5
6
|
selectedResourcesIds: Ref<string[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
2
2
|
export declare const useCreateSpace: () => {
|
|
3
3
|
createSpace: (name: string) => Promise<SpaceResource>;
|
|
4
|
-
createDefaultMetaFolder: (space: SpaceResource) => Promise<import(
|
|
4
|
+
createDefaultMetaFolder: (space: SpaceResource) => Promise<import("@opencloud-eu/web-client").FolderResource>;
|
|
5
5
|
addNewSpace: (name: string) => Promise<SpaceResource>;
|
|
6
6
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
2
2
|
export declare const useSpaceHelpers: () => {
|
|
3
|
-
getDefaultMetaFolder: (space: SpaceResource) => Promise<import(
|
|
3
|
+
getDefaultMetaFolder: (space: SpaceResource) => Promise<import("@opencloud-eu/web-client").Resource>;
|
|
4
4
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpError, Resource } from '@opencloud-eu/web-client';
|
|
2
|
-
import { TransferData } from '../../../helpers/resource/conflictHandling';
|
|
1
|
+
import { type HttpError, type Resource } from '@opencloud-eu/web-client';
|
|
2
|
+
import type { TransferData } from '../../../helpers/resource/conflictHandling';
|
|
3
3
|
export type PasteWorkerReturnData = {
|
|
4
4
|
successful: Resource[];
|
|
5
5
|
failed: {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AuthServiceInterface } from '../../authContext';
|
|
2
|
+
import { Router } from 'vue-router';
|
|
2
3
|
export type TokenTimerWorkerTopic = 'set' | 'reset';
|
|
3
|
-
export declare const useTokenTimerWorker: ({ authService }: {
|
|
4
|
+
export declare const useTokenTimerWorker: ({ authService, router }: {
|
|
4
5
|
authService: AuthServiceInterface;
|
|
6
|
+
router: Router;
|
|
5
7
|
}) => {
|
|
6
8
|
startWorker: () => void;
|
|
7
9
|
setTokenTimer: ({ expiry, expiryThreshold }: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CustomComponentExtension, ExtensionPoint } from './composables';
|
|
2
2
|
export declare const fileSideBarSpaceDetailsTableExtensionPoint: ExtensionPoint<CustomComponentExtension>;
|
|
3
|
-
export declare const extensionPoints: () => import(
|
|
3
|
+
export declare const extensionPoints: () => import("vue").ComputedRef<ExtensionPoint<any>[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { ResolveConflict, ResolveStrategy } from './types';
|
|
3
|
-
import { Language } from 'vue3-gettext';
|
|
3
|
+
import type { Language } from 'vue3-gettext';
|
|
4
4
|
export interface FileConflict {
|
|
5
5
|
resource: Resource;
|
|
6
6
|
strategy?: ResolveStrategy;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
2
|
-
import { TransferType, TransferData } from './types';
|
|
1
|
+
import type { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
2
|
+
import { TransferType, type TransferData } from './types';
|
|
3
3
|
import { ConflictDialog } from './conflictDialog';
|
|
4
|
-
import { ClientService } from '../../../services';
|
|
4
|
+
import type { ClientService } from '../../../services';
|
|
5
5
|
import { Ref } from 'vue';
|
|
6
|
-
import { Language } from 'vue3-gettext';
|
|
6
|
+
import type { Language } from 'vue3-gettext';
|
|
7
7
|
export declare class ResourceTransfer extends ConflictDialog {
|
|
8
8
|
private sourceSpace;
|
|
9
9
|
private resourcesToMove;
|
|
@@ -9,4 +9,4 @@ export declare const getSharedDriveItem: ({ graphClient, spacesStore, space, sig
|
|
|
9
9
|
spacesStore: SpacesStore;
|
|
10
10
|
space: SpaceResource;
|
|
11
11
|
signal?: AbortSignal;
|
|
12
|
-
}) => Promise<import(
|
|
12
|
+
}) => Promise<import("@opencloud-eu/web-client/graph/generated").DriveItem>;
|
|
@@ -4,6 +4,6 @@ type commonTypes = 'files-common-favorites' | 'files-common-search';
|
|
|
4
4
|
export declare const createLocationCommon: (name: commonTypes, location?: {}) => RouteLocationNamedRaw;
|
|
5
5
|
export declare const locationFavorites: RouteLocationNamedRaw;
|
|
6
6
|
export declare const locationSearch: RouteLocationNamedRaw;
|
|
7
|
-
export declare const isLocationCommonActive: import(
|
|
7
|
+
export declare const isLocationCommonActive: import("./utils").ActiveRouteDirectorFunc<commonTypes>;
|
|
8
8
|
export declare const buildRoutes: (components: RouteComponents) => RouteRecordRaw[];
|
|
9
9
|
export {};
|
|
@@ -6,7 +6,8 @@ import { RouteComponents } from './router';
|
|
|
6
6
|
import { isLocationSharesActive, createLocationShares, locationSharesViaLink, locationSharesWithMe, locationSharesWithOthers, RouteShareTypes } from './shares';
|
|
7
7
|
import { isLocationSpacesActive, createLocationSpaces, locationSpacesGeneric } from './spaces';
|
|
8
8
|
import { isLocationTrashActive, createLocationTrash } from './trash';
|
|
9
|
-
import { isLocationActiveDirector, createLocation
|
|
9
|
+
import { isLocationActiveDirector, createLocation } from './utils';
|
|
10
|
+
import type { ActiveRouteDirectorFunc } from './utils';
|
|
10
11
|
declare const buildRoutes: (components: RouteComponents) => RouteRecordRaw[];
|
|
11
12
|
export { createLocation, createLocationCommon, createLocationShares, createLocationSpaces, createLocationPublic, isLocationCommonActive, isLocationSharesActive, isLocationSpacesActive, isLocationPublicActive, isLocationActive, isLocationActiveDirector, isLocationTrashActive, createLocationTrash, locationPublicLink, locationPublicUpload, locationSpacesGeneric, locationSharesViaLink, locationSharesWithMe, locationSharesWithOthers, buildRoutes, ActiveRouteDirectorFunc };
|
|
12
13
|
export type { RouteShareTypes };
|
|
@@ -4,6 +4,6 @@ type shareTypes = 'files-public-link' | 'files-public-upload';
|
|
|
4
4
|
export declare const createLocationPublic: (name: shareTypes, location?: {}) => RouteLocationNamedRaw;
|
|
5
5
|
export declare const locationPublicLink: RouteLocationNamedRaw;
|
|
6
6
|
export declare const locationPublicUpload: RouteLocationNamedRaw;
|
|
7
|
-
export declare const isLocationPublicActive: import(
|
|
7
|
+
export declare const isLocationPublicActive: import("./utils").ActiveRouteDirectorFunc<shareTypes>;
|
|
8
8
|
export declare const buildRoutes: (components: RouteComponents) => RouteRecordRaw[];
|
|
9
9
|
export {};
|
|
@@ -6,5 +6,5 @@ export declare const locationShares: RouteLocationNamedRaw;
|
|
|
6
6
|
export declare const locationSharesWithMe: RouteLocationNamedRaw;
|
|
7
7
|
export declare const locationSharesWithOthers: RouteLocationNamedRaw;
|
|
8
8
|
export declare const locationSharesViaLink: RouteLocationNamedRaw;
|
|
9
|
-
export declare const isLocationSharesActive: import(
|
|
9
|
+
export declare const isLocationSharesActive: import("./utils").ActiveRouteDirectorFunc<RouteShareTypes>;
|
|
10
10
|
export declare const buildRoutes: (components: RouteComponents) => RouteRecordRaw[];
|