@opencloud-eu/web-pkg 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{TextEditor-CqzAOOm0.js → TextEditor-QVYD64f0.js} +2 -1
- package/dist/assets/{worker-Cgdggo8k.js → worker-BJJcEMnx.js} +30 -30
- package/dist/assets/{worker-HJ1GIjJK.js → worker-C9GzAwNf.js} +30 -30
- package/dist/assets/{worker-bk9PAyWf.js → worker-DIwRVmuf.js} +28 -28
- package/dist/index-zEQVUjcV.js +34130 -0
- package/dist/src/apps/index.d.ts +1 -0
- package/dist/src/apps/types.d.ts +114 -0
- package/dist/src/cern/composables/index.d.ts +1 -0
- package/dist/src/cern/composables/useGroupingSettings.d.ts +34 -0
- package/dist/src/cern/index.d.ts +1 -0
- package/dist/src/components/AppBar/AppBar.vue.d.ts +582 -0
- package/dist/src/components/AppBar/CreateSpace.vue.d.ts +18 -0
- package/dist/src/components/AppBar/index.d.ts +2 -0
- package/dist/src/components/AppLoadingSpinner.vue.d.ts +2 -0
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +251 -0
- package/dist/src/components/AppTemplates/AppWrapperRoute.d.ts +10 -0
- package/dist/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +22 -0
- package/dist/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +2 -0
- package/dist/src/components/AppTemplates/index.d.ts +3 -0
- package/dist/src/components/AppTemplates/types.d.ts +11 -0
- package/dist/src/components/AppTopBar.vue.d.ts +17 -0
- package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +5 -0
- package/dist/src/components/Avatars/UserAvatar.vue.d.ts +6 -0
- package/dist/src/components/Avatars/index.d.ts +2 -0
- package/dist/src/components/BatchActions.vue.d.ts +123 -0
- package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +11 -0
- package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +92 -0
- package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +147 -0
- package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +41 -0
- package/dist/src/components/ContextActions/index.d.ts +5 -0
- package/dist/src/components/ContextActions/types.d.ts +13 -0
- package/dist/src/components/CreateLinkModal.vue.d.ts +163 -0
- package/dist/src/components/CustomComponentTarget.vue.d.ts +16 -0
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +173 -0
- package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +51 -0
- package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +47 -0
- package/dist/src/components/FilesList/ResourceLink.vue.d.ts +67 -0
- package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +21 -0
- package/dist/src/components/FilesList/ResourceName.vue.d.ts +140 -0
- package/dist/src/components/FilesList/ResourceSize.vue.d.ts +25 -0
- package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +9 -0
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +1538 -0
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +177 -0
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +204 -0
- package/dist/src/components/FilesList/index.d.ts +10 -0
- package/dist/src/components/Filters/ItemFilterInline.vue.d.ts +28 -0
- package/dist/src/components/Filters/index.d.ts +3 -0
- package/dist/src/components/Filters/types.d.ts +4 -0
- package/dist/src/components/ItemFilter.vue.d.ts +223 -0
- package/dist/src/components/ItemFilterToggle.vue.d.ts +26 -0
- package/dist/src/components/LinkRoleDropdown.vue.d.ts +30 -0
- package/dist/src/components/LoadingIndicator.vue.d.ts +5 -0
- package/dist/src/components/Modals/DatePickerModal.vue.d.ts +104 -0
- package/dist/src/components/Modals/EmojiPickerModal.vue.d.ts +19 -0
- package/dist/src/components/Modals/FilePickerModal.vue.d.ts +41 -0
- package/dist/src/components/Modals/ResourceConflictModal.vue.d.ts +76 -0
- package/dist/src/components/Modals/SaveAsModal.vue.d.ts +49 -0
- package/dist/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +14 -0
- package/dist/src/components/Modals/UnsavedChangesModal.vue.d.ts +27 -0
- package/dist/src/components/Modals/index.d.ts +7 -0
- package/dist/src/components/NoContentMessage.vue.d.ts +23 -0
- package/dist/src/components/Pagination.vue.d.ts +20 -0
- package/dist/src/components/PortalTarget.vue.d.ts +41 -0
- package/dist/src/components/QuotaSelect.vue.d.ts +74 -0
- package/dist/src/components/Search/ResourcePreview.vue.d.ts +48 -0
- package/dist/src/components/Search/index.d.ts +2 -0
- package/dist/src/components/Search/types.d.ts +29 -0
- package/dist/src/components/SearchBarFilter.vue.d.ts +27 -0
- package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +38 -0
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +115 -0
- package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +5 -0
- package/dist/src/components/SideBar/Files/index.d.ts +1 -0
- package/dist/src/components/SideBar/SideBar.vue.d.ts +41 -0
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +5 -0
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +6 -0
- package/dist/src/components/SideBar/Spaces/Details/index.d.ts +2 -0
- package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +5 -0
- package/dist/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +2 -0
- package/dist/src/components/SideBar/Spaces/index.d.ts +3 -0
- package/dist/src/components/SideBar/WebDavDetails.vue.d.ts +21 -0
- package/dist/src/components/SideBar/index.d.ts +7 -0
- package/dist/src/components/SideBar/types.d.ts +22 -0
- package/dist/src/components/SpaceQuota.vue.d.ts +6 -0
- package/dist/src/components/Spaces/QuotaModal.vue.d.ts +18 -0
- package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +13 -0
- package/dist/src/components/Spaces/index.d.ts +2 -0
- package/dist/src/components/TextEditor/TextEditor.vue.d.ts +162 -0
- package/dist/src/components/TextEditor/index.d.ts +158 -0
- package/dist/src/components/TextEditor/l18n.d.ts +3 -0
- package/dist/src/components/ViewOptions.vue.d.ts +143 -0
- package/dist/src/components/index.d.ts +28 -0
- package/dist/src/composables/ability/index.d.ts +1 -0
- package/dist/src/composables/ability/useAbility.d.ts +2 -0
- package/dist/src/composables/actions/files/index.d.ts +29 -0
- package/dist/src/composables/actions/files/useFileActions.d.ts +32 -0
- package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +6 -0
- package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +10 -0
- package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +9 -0
- package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +8 -0
- package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsDelete.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +5 -0
- package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsDownloadFile.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +8 -0
- package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +5 -0
- package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsMove.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsNavigate.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +5 -0
- package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +6 -0
- package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsRename.d.ts +6 -0
- package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +15 -0
- package/dist/src/composables/actions/files/useFileActionsSaveAs.d.ts +7 -0
- package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +4 -0
- package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +5 -0
- package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +5 -0
- package/dist/src/composables/actions/files/useFileActionsUndoDelete.d.ts +8 -0
- package/dist/src/composables/actions/helpers/index.d.ts +5 -0
- package/dist/src/composables/actions/helpers/useFileActionsDeleteResources.d.ts +5 -0
- package/dist/src/composables/actions/helpers/useIsAppActive.d.ts +1 -0
- package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -0
- package/dist/src/composables/actions/helpers/useIsResourceNameValid.d.ts +11 -0
- package/dist/src/composables/actions/helpers/useIsSearchActive.d.ts +1 -0
- package/dist/src/composables/actions/index.d.ts +8 -0
- package/dist/src/composables/actions/spaces/index.d.ts +12 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +6 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +8 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +6 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +6 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +6 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +4 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +4 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +4 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +6 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +6 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +6 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +4 -0
- package/dist/src/composables/actions/types.d.ts +47 -0
- package/dist/src/composables/actions/useActionsShowDetails.d.ts +4 -0
- package/dist/src/composables/actions/useOpenEmptyEditor.d.ts +3 -0
- package/dist/src/composables/actions/useOpenWithDefaultApp.d.ts +7 -0
- package/dist/src/composables/actions/useWindowOpen.d.ts +3 -0
- package/dist/src/composables/appDefaults/index.d.ts +8 -0
- package/dist/src/composables/appDefaults/types.d.ts +15 -0
- package/dist/src/composables/appDefaults/useAppConfig.d.ts +11 -0
- package/dist/src/composables/appDefaults/useAppDefaults.d.ts +20 -0
- package/dist/src/composables/appDefaults/useAppDocumentTitle.d.ts +13 -0
- package/dist/src/composables/appDefaults/useAppFileHandling.d.ts +24 -0
- package/dist/src/composables/appDefaults/useAppFolderHandling.d.ts +16 -0
- package/dist/src/composables/appDefaults/useAppMeta.d.ts +9 -0
- package/dist/src/composables/appDefaults/useAppNavigation.d.ts +27 -0
- package/dist/src/composables/appDefaults/useDocumentTitle.d.ts +8 -0
- package/dist/src/composables/appProviderService/index.d.ts +1 -0
- package/dist/src/composables/appProviderService/useAppProviderService.d.ts +2 -0
- package/dist/src/composables/archiverService/index.d.ts +1 -0
- package/dist/src/composables/archiverService/useArchiverService.d.ts +2 -0
- package/dist/src/composables/authContext/index.d.ts +2 -0
- package/dist/src/composables/authContext/useAuthService.d.ts +10 -0
- package/dist/src/composables/authContext/useRequest.d.ts +15 -0
- package/dist/src/composables/avatars/index.d.ts +1 -0
- package/dist/src/composables/avatars/useLoadAvatars.d.ts +3 -0
- package/dist/src/composables/breadcrumbs/index.d.ts +1 -0
- package/dist/src/composables/breadcrumbs/useBreadcrumbsFromPath.d.ts +14 -0
- package/dist/src/composables/clientService/index.d.ts +1 -0
- package/dist/src/composables/clientService/useClientService.d.ts +2 -0
- package/dist/src/composables/clipboard/index.d.ts +1 -0
- package/dist/src/composables/clipboard/useClipboard.d.ts +3 -0
- package/dist/src/composables/download/index.d.ts +1 -0
- package/dist/src/composables/download/useDownloadFile.d.ts +8 -0
- package/dist/src/composables/driveResolver/index.d.ts +2 -0
- package/dist/src/composables/driveResolver/useDriveResolver.d.ts +13 -0
- package/dist/src/composables/driveResolver/useSpacesLoading.d.ts +3 -0
- package/dist/src/composables/embedMode/index.d.ts +1 -0
- package/dist/src/composables/embedMode/useEmbedMode.d.ts +23 -0
- package/dist/src/composables/eventBus/index.d.ts +1 -0
- package/dist/src/composables/eventBus/useEventBus.d.ts +1 -0
- package/dist/src/composables/fileListHeaderPosition/index.d.ts +1 -0
- package/dist/src/composables/fileListHeaderPosition/useFileListHeaderPosition.d.ts +5 -0
- package/dist/src/composables/filesList/index.d.ts +1 -0
- package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +13 -0
- package/dist/src/composables/folderLink/index.d.ts +1 -0
- package/dist/src/composables/folderLink/useFolderLink.d.ts +15 -0
- package/dist/src/composables/index.d.ts +41 -0
- package/dist/src/composables/isTopBarSticky/index.d.ts +1 -0
- package/dist/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +8 -0
- package/dist/src/composables/keyboardActions/index.d.ts +3 -0
- package/dist/src/composables/keyboardActions/useCropperKeyboardActions.d.ts +4 -0
- package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +4 -0
- package/dist/src/composables/keyboardActions/useKeyboardActions.d.ts +47 -0
- package/dist/src/composables/links/index.d.ts +1 -0
- package/dist/src/composables/links/useLinkTypes.d.ts +31 -0
- package/dist/src/composables/loadingService/index.d.ts +1 -0
- package/dist/src/composables/loadingService/useLoadingService.d.ts +2 -0
- package/dist/src/composables/localStorage/index.d.ts +1 -0
- package/dist/src/composables/localStorage/useLocalStorage.d.ts +2 -0
- package/dist/src/composables/pagination/constants.d.ts +5 -0
- package/dist/src/composables/pagination/index.d.ts +2 -0
- package/dist/src/composables/pagination/usePagination.d.ts +17 -0
- package/dist/src/composables/passwordPolicyService/index.d.ts +1 -0
- package/dist/src/composables/passwordPolicyService/usePasswordPolicyService.d.ts +2 -0
- package/dist/src/composables/piniaStores/apps.d.ts +157 -0
- package/dist/src/composables/piniaStores/auth.d.ts +60 -0
- package/dist/src/composables/piniaStores/avatars.d.ts +27 -0
- package/dist/src/composables/piniaStores/capabilities.d.ts +1722 -0
- package/dist/src/composables/piniaStores/clipboard.d.ts +598 -0
- package/dist/src/composables/piniaStores/config/config.d.ts +759 -0
- package/dist/src/composables/piniaStores/config/index.d.ts +2 -0
- package/dist/src/composables/piniaStores/config/types.d.ts +194 -0
- package/dist/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +22 -0
- package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +37 -0
- package/dist/src/composables/piniaStores/extensionRegistry/index.d.ts +3 -0
- package/dist/src/composables/piniaStores/extensionRegistry/types.d.ts +66 -0
- package/dist/src/composables/piniaStores/index.d.ts +16 -0
- package/dist/src/composables/piniaStores/messages.d.ts +866 -0
- package/dist/src/composables/piniaStores/modals.d.ts +1373 -0
- package/dist/src/composables/piniaStores/resources.d.ts +198 -0
- package/dist/src/composables/piniaStores/shares/index.d.ts +2 -0
- package/dist/src/composables/piniaStores/shares/shares.d.ts +57 -0
- package/dist/src/composables/piniaStores/shares/types.d.ts +41 -0
- package/dist/src/composables/piniaStores/spaces.d.ts +9045 -0
- package/dist/src/composables/piniaStores/theme.d.ts +514 -0
- package/dist/src/composables/piniaStores/updates.d.ts +24 -0
- package/dist/src/composables/piniaStores/user.d.ts +15 -0
- package/dist/src/composables/piniaStores/webWorkers.d.ts +29 -0
- package/dist/src/composables/portalTarget/eventTopics.d.ts +3 -0
- package/dist/src/composables/portalTarget/index.d.ts +2 -0
- package/dist/src/composables/portalTarget/usePortalTarget.d.ts +4 -0
- package/dist/src/composables/previewService/index.d.ts +1 -0
- package/dist/src/composables/previewService/usePreviewService.d.ts +2 -0
- package/dist/src/composables/requestHeaders/index.d.ts +1 -0
- package/dist/src/composables/requestHeaders/useRequestHeaders.d.ts +3 -0
- package/dist/src/composables/resources/index.d.ts +5 -0
- package/dist/src/composables/resources/useCanBeOpenedWithSecureView.d.ts +4 -0
- package/dist/src/composables/resources/useCanListVersions.d.ts +7 -0
- package/dist/src/composables/resources/useGetResourceContext.d.ts +1485 -0
- package/dist/src/composables/resources/useLoadPreview.d.ts +26 -0
- package/dist/src/composables/resources/useResourceContents.d.ts +5 -0
- package/dist/src/composables/router/index.d.ts +11 -0
- package/dist/src/composables/router/types.d.ts +16 -0
- package/dist/src/composables/router/useActiveApp.d.ts +4 -0
- package/dist/src/composables/router/useActiveLocation.d.ts +10 -0
- package/dist/src/composables/router/useFileRouteReplace.d.ts +15 -0
- package/dist/src/composables/router/useRoute.d.ts +3 -0
- package/dist/src/composables/router/useRouteMeta.d.ts +2 -0
- package/dist/src/composables/router/useRouteName.d.ts +2 -0
- package/dist/src/composables/router/useRouteParam.d.ts +3 -0
- package/dist/src/composables/router/useRouteQuery.d.ts +3 -0
- package/dist/src/composables/router/useRouteQueryPersisted.d.ts +8 -0
- package/dist/src/composables/router/useRouter.d.ts +2 -0
- package/dist/src/composables/scrollTo/index.d.ts +1 -0
- package/dist/src/composables/scrollTo/useScrollTo.d.ts +9 -0
- package/dist/src/composables/search/constants.d.ts +4 -0
- package/dist/src/composables/search/index.d.ts +2 -0
- package/dist/src/composables/search/useSearch.d.ts +14 -0
- package/dist/src/composables/selection/index.d.ts +2 -0
- package/dist/src/composables/selection/useSelectedResources.d.ts +9 -0
- package/dist/src/composables/selection/useToggleTile.d.ts +4 -0
- package/dist/src/composables/service/index.d.ts +1 -0
- package/dist/src/composables/service/useService.d.ts +1 -0
- package/dist/src/composables/shares/index.d.ts +2 -0
- package/dist/src/composables/shares/useCanListShares.d.ts +7 -0
- package/dist/src/composables/shares/useCanShare.d.ts +7 -0
- package/dist/src/composables/sideBar/eventTopics.d.ts +7 -0
- package/dist/src/composables/sideBar/index.d.ts +2 -0
- package/dist/src/composables/sideBar/useSideBar.d.ts +12 -0
- package/dist/src/composables/sort/constants.d.ts +4 -0
- package/dist/src/composables/sort/index.d.ts +2 -0
- package/dist/src/composables/sort/useSort.d.ts +36 -0
- package/dist/src/composables/spaces/index.d.ts +3 -0
- package/dist/src/composables/spaces/useCreateSpace.d.ts +5 -0
- package/dist/src/composables/spaces/useGetMatchingSpace.d.ts +15 -0
- package/dist/src/composables/spaces/useSpaceHelpers.d.ts +4 -0
- package/dist/src/composables/upload/index.d.ts +1 -0
- package/dist/src/composables/upload/useUpload.d.ts +6 -0
- package/dist/src/composables/viewMode/constants.d.ts +12 -0
- package/dist/src/composables/viewMode/index.d.ts +3 -0
- package/dist/src/composables/viewMode/useTileSize.d.ts +4 -0
- package/dist/src/composables/viewMode/useViewMode.d.ts +4 -0
- package/dist/src/composables/webWorkers/deleteWorker/index.d.ts +1 -0
- package/dist/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +28 -0
- package/dist/src/composables/webWorkers/deleteWorker/worker.d.ts +1 -0
- package/dist/src/composables/webWorkers/index.d.ts +4 -0
- package/dist/src/composables/webWorkers/pasteWorker/index.d.ts +1 -0
- package/dist/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +25 -0
- package/dist/src/composables/webWorkers/pasteWorker/worker.d.ts +1 -0
- package/dist/src/composables/webWorkers/restoreWorker/index.d.ts +1 -0
- package/dist/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +28 -0
- package/dist/src/composables/webWorkers/restoreWorker/worker.d.ts +1 -0
- package/dist/src/composables/webWorkers/tokenTimerWorker/index.d.ts +1 -0
- package/dist/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +12 -0
- package/dist/src/composables/webWorkers/tokenTimerWorker/worker.d.ts +1 -0
- package/dist/src/constants.d.ts +17 -0
- package/dist/src/errors/index.d.ts +1 -0
- package/dist/src/errors/types.d.ts +13 -0
- package/dist/src/helpers/binary.d.ts +2 -0
- package/dist/src/helpers/breadcrumbs.d.ts +4 -0
- package/dist/src/helpers/cache/cache.d.ts +20 -0
- package/dist/src/helpers/cache/index.d.ts +1 -0
- package/dist/src/helpers/clipboardActions.d.ts +4 -0
- package/dist/src/helpers/contextMenuDropdown.d.ts +7 -0
- package/dist/src/helpers/datetime.d.ts +11 -0
- package/dist/src/helpers/download.d.ts +1 -0
- package/dist/src/helpers/filesize.d.ts +8 -0
- package/dist/src/helpers/folderLink/index.d.ts +1 -0
- package/dist/src/helpers/folderLink/types.d.ts +6 -0
- package/dist/src/helpers/fuse.d.ts +5 -0
- package/dist/src/helpers/index.d.ts +21 -0
- package/dist/src/helpers/locale.d.ts +1 -0
- package/dist/src/helpers/path.d.ts +13 -0
- package/dist/src/helpers/permissions.d.ts +8 -0
- package/dist/src/helpers/platform.d.ts +1 -0
- package/dist/src/helpers/resource/conflictHandling/conflictDialog.d.ts +15 -0
- package/dist/src/helpers/resource/conflictHandling/conflictUtils.d.ts +3 -0
- package/dist/src/helpers/resource/conflictHandling/index.d.ts +4 -0
- package/dist/src/helpers/resource/conflictHandling/transfer.d.ts +27 -0
- package/dist/src/helpers/resource/conflictHandling/types.d.ts +24 -0
- package/dist/src/helpers/resource/filter.d.ts +2 -0
- package/dist/src/helpers/resource/icon.d.ts +10 -0
- package/dist/src/helpers/resource/index.d.ts +5 -0
- package/dist/src/helpers/resource/renameResource.d.ts +2 -0
- package/dist/src/helpers/resource/sameResource.d.ts +2 -0
- package/dist/src/helpers/router/buildUrl.d.ts +2 -0
- package/dist/src/helpers/router/index.d.ts +2 -0
- package/dist/src/helpers/router/routeOptions.d.ts +24 -0
- package/dist/src/helpers/share/driveItem.d.ts +12 -0
- package/dist/src/helpers/share/index.d.ts +2 -0
- package/dist/src/helpers/share/sharedAncestorRoute.d.ts +7 -0
- package/dist/src/helpers/spaces/index.d.ts +1 -0
- package/dist/src/helpers/spaces/permissions.d.ts +13 -0
- package/dist/src/helpers/statusIndicators.d.ts +23 -0
- package/dist/src/helpers/store.d.ts +8 -0
- package/dist/src/helpers/textByteSize.d.ts +1 -0
- package/dist/src/helpers/ui/index.d.ts +3 -0
- package/dist/src/helpers/ui/resourceCheckbox.d.ts +1 -0
- package/dist/src/helpers/ui/resourceTable.d.ts +3 -0
- package/dist/src/helpers/ui/resourceTiles.d.ts +6 -0
- package/dist/src/http/client.d.ts +23 -0
- package/dist/src/http/index.d.ts +1 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/observer/index.d.ts +1 -0
- package/dist/src/observer/visibility.d.ts +26 -0
- package/dist/src/router/common.d.ts +9 -0
- package/dist/src/router/deprecated.d.ts +12 -0
- package/dist/src/router/index.d.ts +12 -0
- package/dist/src/router/public.d.ts +9 -0
- package/dist/src/router/router.d.ts +27 -0
- package/dist/src/router/shares.d.ts +10 -0
- package/dist/src/router/spaces.d.ts +9 -0
- package/dist/src/router/trash.d.ts +9 -0
- package/dist/src/router/utils.d.ts +32 -0
- package/dist/src/services/appProvider/index.d.ts +2 -0
- package/dist/src/services/appProvider/schemas.d.ts +40 -0
- package/dist/src/services/appProvider/service.d.ts +27 -0
- package/dist/src/services/archiver.d.ts +25 -0
- package/dist/src/services/cache.d.ts +14 -0
- package/dist/src/services/client/auth.d.ts +12 -0
- package/dist/src/services/client/client.d.ts +48 -0
- package/dist/src/services/client/index.d.ts +2 -0
- package/dist/src/services/eventBus.d.ts +8 -0
- package/dist/src/services/folder/folderService.d.ts +27 -0
- package/dist/src/services/folder/index.d.ts +2 -0
- package/dist/src/services/folder/loaders/index.d.ts +7 -0
- package/dist/src/services/folder/loaders/loaderFavorites.d.ts +7 -0
- package/dist/src/services/folder/loaders/loaderSharedViaLink.d.ts +7 -0
- package/dist/src/services/folder/loaders/loaderSharedWithMe.d.ts +7 -0
- package/dist/src/services/folder/loaders/loaderSharedWithOthers.d.ts +7 -0
- package/dist/src/services/folder/loaders/loaderSpace.d.ts +7 -0
- package/dist/src/services/folder/loaders/loaderTrashbin.d.ts +7 -0
- package/dist/src/services/folder/loaders/types.d.ts +3 -0
- package/dist/src/services/index.d.ts +10 -0
- package/dist/src/services/loadingService.d.ts +33 -0
- package/dist/src/services/passwordPolicy/index.d.ts +1 -0
- package/dist/src/services/passwordPolicy/passwordPolicy.d.ts +20 -0
- package/dist/src/services/passwordPolicy/rules.d.ts +69 -0
- package/dist/src/services/preview/index.d.ts +2 -0
- package/dist/src/services/preview/previewService.d.ts +21 -0
- package/dist/src/services/preview/types.d.ts +23 -0
- package/dist/src/services/uppy/DropTarget/getDroppedFiles.d.ts +1 -0
- package/dist/src/services/uppy/DropTarget/plugin.d.ts +21 -0
- package/dist/src/services/uppy/DropTarget/types.d.ts +9 -0
- package/dist/src/services/uppy/index.d.ts +2 -0
- package/dist/src/services/uppy/uppyService.d.ts +91 -0
- package/dist/src/services/uppy/utils.d.ts +11 -0
- package/dist/src/types.d.ts +24 -0
- package/dist/src/ui/index.d.ts +1 -0
- package/dist/src/ui/types.d.ts +14 -0
- package/dist/src/utils/dirname.d.ts +1 -0
- package/dist/src/utils/encodePath.d.ts +1 -0
- package/dist/src/utils/index.d.ts +5 -0
- package/dist/src/utils/objectKeys.d.ts +1 -0
- package/dist/src/utils/semver.d.ts +14 -0
- package/dist/src/utils/types.d.ts +5 -0
- package/dist/web-pkg.js +226 -220
- package/dist/web-pkg.umd.cjs +49 -49
- package/package.json +5 -7
- package/dist/index-Ctidv9Qe.js +0 -34023
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ShareRole } from '@opencloud-eu/web-client';
|
|
3
|
+
declare const WebTheme: z.ZodObject<{
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
slogan: z.ZodOptional<z.ZodString>;
|
|
6
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
7
|
+
logoMobile: z.ZodOptional<z.ZodString>;
|
|
8
|
+
urls: z.ZodOptional<z.ZodObject<{
|
|
9
|
+
accessDeniedHelp: z.ZodOptional<z.ZodString>;
|
|
10
|
+
imprint: z.ZodOptional<z.ZodString>;
|
|
11
|
+
privacy: z.ZodOptional<z.ZodString>;
|
|
12
|
+
accessibility: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
shareRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
15
|
+
iconName: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
designTokens: z.ZodOptional<z.ZodObject<{
|
|
18
|
+
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
19
|
+
colorPalette: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
23
|
+
background: z.ZodOptional<z.ZodString>;
|
|
24
|
+
isDark: z.ZodBoolean;
|
|
25
|
+
label: z.ZodString;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
export declare const WebThemeConfig: z.ZodObject<{
|
|
28
|
+
defaults: z.ZodObject<{
|
|
29
|
+
name: z.ZodOptional<z.ZodString>;
|
|
30
|
+
slogan: z.ZodOptional<z.ZodString>;
|
|
31
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
32
|
+
logoMobile: z.ZodOptional<z.ZodString>;
|
|
33
|
+
urls: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
accessDeniedHelp: z.ZodOptional<z.ZodString>;
|
|
35
|
+
imprint: z.ZodOptional<z.ZodString>;
|
|
36
|
+
privacy: z.ZodOptional<z.ZodString>;
|
|
37
|
+
accessibility: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
shareRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
40
|
+
iconName: z.ZodString;
|
|
41
|
+
}, z.core.$strip>>>;
|
|
42
|
+
designTokens: z.ZodOptional<z.ZodObject<{
|
|
43
|
+
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
44
|
+
colorPalette: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
45
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
48
|
+
background: z.ZodOptional<z.ZodString>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
themes: z.ZodArray<z.ZodObject<{
|
|
51
|
+
name: z.ZodOptional<z.ZodString>;
|
|
52
|
+
slogan: z.ZodOptional<z.ZodString>;
|
|
53
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
54
|
+
logoMobile: z.ZodOptional<z.ZodString>;
|
|
55
|
+
urls: z.ZodOptional<z.ZodObject<{
|
|
56
|
+
accessDeniedHelp: z.ZodOptional<z.ZodString>;
|
|
57
|
+
imprint: z.ZodOptional<z.ZodString>;
|
|
58
|
+
privacy: z.ZodOptional<z.ZodString>;
|
|
59
|
+
accessibility: z.ZodOptional<z.ZodString>;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
shareRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
62
|
+
iconName: z.ZodString;
|
|
63
|
+
}, z.core.$strip>>>;
|
|
64
|
+
designTokens: z.ZodOptional<z.ZodObject<{
|
|
65
|
+
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
66
|
+
colorPalette: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
67
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
70
|
+
background: z.ZodOptional<z.ZodString>;
|
|
71
|
+
isDark: z.ZodBoolean;
|
|
72
|
+
label: z.ZodString;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
export declare const ThemeConfig: z.ZodObject<{
|
|
76
|
+
common: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
name: z.ZodOptional<z.ZodString>;
|
|
78
|
+
slogan: z.ZodOptional<z.ZodString>;
|
|
79
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
80
|
+
logoMobile: z.ZodOptional<z.ZodString>;
|
|
81
|
+
urls: z.ZodOptional<z.ZodObject<{
|
|
82
|
+
accessDeniedHelp: z.ZodOptional<z.ZodString>;
|
|
83
|
+
imprint: z.ZodOptional<z.ZodString>;
|
|
84
|
+
privacy: z.ZodOptional<z.ZodString>;
|
|
85
|
+
accessibility: z.ZodOptional<z.ZodString>;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
shareRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
88
|
+
iconName: z.ZodString;
|
|
89
|
+
}, z.core.$strip>>>;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
clients: z.ZodObject<{
|
|
92
|
+
web: z.ZodObject<{
|
|
93
|
+
defaults: z.ZodObject<{
|
|
94
|
+
name: z.ZodOptional<z.ZodString>;
|
|
95
|
+
slogan: z.ZodOptional<z.ZodString>;
|
|
96
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
97
|
+
logoMobile: z.ZodOptional<z.ZodString>;
|
|
98
|
+
urls: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
accessDeniedHelp: z.ZodOptional<z.ZodString>;
|
|
100
|
+
imprint: z.ZodOptional<z.ZodString>;
|
|
101
|
+
privacy: z.ZodOptional<z.ZodString>;
|
|
102
|
+
accessibility: z.ZodOptional<z.ZodString>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
shareRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
105
|
+
iconName: z.ZodString;
|
|
106
|
+
}, z.core.$strip>>>;
|
|
107
|
+
designTokens: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
109
|
+
colorPalette: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
110
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
113
|
+
background: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
themes: z.ZodArray<z.ZodObject<{
|
|
116
|
+
name: z.ZodOptional<z.ZodString>;
|
|
117
|
+
slogan: z.ZodOptional<z.ZodString>;
|
|
118
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
119
|
+
logoMobile: z.ZodOptional<z.ZodString>;
|
|
120
|
+
urls: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
accessDeniedHelp: z.ZodOptional<z.ZodString>;
|
|
122
|
+
imprint: z.ZodOptional<z.ZodString>;
|
|
123
|
+
privacy: z.ZodOptional<z.ZodString>;
|
|
124
|
+
accessibility: z.ZodOptional<z.ZodString>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
shareRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
127
|
+
iconName: z.ZodString;
|
|
128
|
+
}, z.core.$strip>>>;
|
|
129
|
+
designTokens: z.ZodOptional<z.ZodObject<{
|
|
130
|
+
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
131
|
+
colorPalette: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
132
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
favicon: z.ZodOptional<z.ZodString>;
|
|
135
|
+
background: z.ZodOptional<z.ZodString>;
|
|
136
|
+
isDark: z.ZodBoolean;
|
|
137
|
+
label: z.ZodString;
|
|
138
|
+
}, z.core.$strip>>;
|
|
139
|
+
}, z.core.$strip>;
|
|
140
|
+
}, z.core.$strip>;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
export type WebThemeType = z.infer<typeof WebTheme>;
|
|
143
|
+
export type ThemeConfigType = z.infer<typeof ThemeConfig>;
|
|
144
|
+
export declare const useThemeStore: import('pinia').StoreDefinition<"theme", Pick<{
|
|
145
|
+
availableThemes: import('vue').Ref<{
|
|
146
|
+
isDark: boolean;
|
|
147
|
+
label: string;
|
|
148
|
+
name?: string;
|
|
149
|
+
slogan?: string;
|
|
150
|
+
logo?: string;
|
|
151
|
+
logoMobile?: string;
|
|
152
|
+
urls?: {
|
|
153
|
+
accessDeniedHelp?: string;
|
|
154
|
+
imprint?: string;
|
|
155
|
+
privacy?: string;
|
|
156
|
+
accessibility?: string;
|
|
157
|
+
};
|
|
158
|
+
shareRoles?: Record<string, {
|
|
159
|
+
iconName: string;
|
|
160
|
+
}>;
|
|
161
|
+
designTokens?: {
|
|
162
|
+
roles?: Record<string, string>;
|
|
163
|
+
colorPalette?: Record<string, string>;
|
|
164
|
+
fontFamily?: string;
|
|
165
|
+
};
|
|
166
|
+
favicon?: string;
|
|
167
|
+
background?: string;
|
|
168
|
+
}[], {
|
|
169
|
+
isDark: boolean;
|
|
170
|
+
label: string;
|
|
171
|
+
name?: string;
|
|
172
|
+
slogan?: string;
|
|
173
|
+
logo?: string;
|
|
174
|
+
logoMobile?: string;
|
|
175
|
+
urls?: {
|
|
176
|
+
accessDeniedHelp?: string;
|
|
177
|
+
imprint?: string;
|
|
178
|
+
privacy?: string;
|
|
179
|
+
accessibility?: string;
|
|
180
|
+
};
|
|
181
|
+
shareRoles?: Record<string, {
|
|
182
|
+
iconName: string;
|
|
183
|
+
}>;
|
|
184
|
+
designTokens?: {
|
|
185
|
+
roles?: Record<string, string>;
|
|
186
|
+
colorPalette?: Record<string, string>;
|
|
187
|
+
fontFamily?: string;
|
|
188
|
+
};
|
|
189
|
+
favicon?: string;
|
|
190
|
+
background?: string;
|
|
191
|
+
}[] | {
|
|
192
|
+
isDark: boolean;
|
|
193
|
+
label: string;
|
|
194
|
+
name?: string;
|
|
195
|
+
slogan?: string;
|
|
196
|
+
logo?: string;
|
|
197
|
+
logoMobile?: string;
|
|
198
|
+
urls?: {
|
|
199
|
+
accessDeniedHelp?: string;
|
|
200
|
+
imprint?: string;
|
|
201
|
+
privacy?: string;
|
|
202
|
+
accessibility?: string;
|
|
203
|
+
};
|
|
204
|
+
shareRoles?: Record<string, {
|
|
205
|
+
iconName: string;
|
|
206
|
+
}>;
|
|
207
|
+
designTokens?: {
|
|
208
|
+
roles?: Record<string, string>;
|
|
209
|
+
colorPalette?: Record<string, string>;
|
|
210
|
+
fontFamily?: string;
|
|
211
|
+
};
|
|
212
|
+
favicon?: string;
|
|
213
|
+
background?: string;
|
|
214
|
+
}[]>;
|
|
215
|
+
currentTheme: import('vue').Ref<{
|
|
216
|
+
isDark: boolean;
|
|
217
|
+
label: string;
|
|
218
|
+
name?: string;
|
|
219
|
+
slogan?: string;
|
|
220
|
+
logo?: string;
|
|
221
|
+
logoMobile?: string;
|
|
222
|
+
urls?: {
|
|
223
|
+
accessDeniedHelp?: string;
|
|
224
|
+
imprint?: string;
|
|
225
|
+
privacy?: string;
|
|
226
|
+
accessibility?: string;
|
|
227
|
+
};
|
|
228
|
+
shareRoles?: Record<string, {
|
|
229
|
+
iconName: string;
|
|
230
|
+
}>;
|
|
231
|
+
designTokens?: {
|
|
232
|
+
roles?: Record<string, string>;
|
|
233
|
+
colorPalette?: Record<string, string>;
|
|
234
|
+
fontFamily?: string;
|
|
235
|
+
};
|
|
236
|
+
favicon?: string;
|
|
237
|
+
background?: string;
|
|
238
|
+
}, {
|
|
239
|
+
isDark: boolean;
|
|
240
|
+
label: string;
|
|
241
|
+
name?: string;
|
|
242
|
+
slogan?: string;
|
|
243
|
+
logo?: string;
|
|
244
|
+
logoMobile?: string;
|
|
245
|
+
urls?: {
|
|
246
|
+
accessDeniedHelp?: string;
|
|
247
|
+
imprint?: string;
|
|
248
|
+
privacy?: string;
|
|
249
|
+
accessibility?: string;
|
|
250
|
+
};
|
|
251
|
+
shareRoles?: Record<string, {
|
|
252
|
+
iconName: string;
|
|
253
|
+
}>;
|
|
254
|
+
designTokens?: {
|
|
255
|
+
roles?: Record<string, string>;
|
|
256
|
+
colorPalette?: Record<string, string>;
|
|
257
|
+
fontFamily?: string;
|
|
258
|
+
};
|
|
259
|
+
favicon?: string;
|
|
260
|
+
background?: string;
|
|
261
|
+
}>;
|
|
262
|
+
initializeThemes: (themeConfig: ThemeConfigType) => void;
|
|
263
|
+
setAndApplyTheme: (theme: WebThemeType, updateStorage?: boolean) => void;
|
|
264
|
+
setAutoSystemTheme: () => void;
|
|
265
|
+
isCurrentThemeAutoSystem: import('vue').ComputedRef<boolean>;
|
|
266
|
+
getRoleIcon: (role: ShareRole) => string;
|
|
267
|
+
}, "availableThemes" | "currentTheme">, Pick<{
|
|
268
|
+
availableThemes: import('vue').Ref<{
|
|
269
|
+
isDark: boolean;
|
|
270
|
+
label: string;
|
|
271
|
+
name?: string;
|
|
272
|
+
slogan?: string;
|
|
273
|
+
logo?: string;
|
|
274
|
+
logoMobile?: string;
|
|
275
|
+
urls?: {
|
|
276
|
+
accessDeniedHelp?: string;
|
|
277
|
+
imprint?: string;
|
|
278
|
+
privacy?: string;
|
|
279
|
+
accessibility?: string;
|
|
280
|
+
};
|
|
281
|
+
shareRoles?: Record<string, {
|
|
282
|
+
iconName: string;
|
|
283
|
+
}>;
|
|
284
|
+
designTokens?: {
|
|
285
|
+
roles?: Record<string, string>;
|
|
286
|
+
colorPalette?: Record<string, string>;
|
|
287
|
+
fontFamily?: string;
|
|
288
|
+
};
|
|
289
|
+
favicon?: string;
|
|
290
|
+
background?: string;
|
|
291
|
+
}[], {
|
|
292
|
+
isDark: boolean;
|
|
293
|
+
label: string;
|
|
294
|
+
name?: string;
|
|
295
|
+
slogan?: string;
|
|
296
|
+
logo?: string;
|
|
297
|
+
logoMobile?: string;
|
|
298
|
+
urls?: {
|
|
299
|
+
accessDeniedHelp?: string;
|
|
300
|
+
imprint?: string;
|
|
301
|
+
privacy?: string;
|
|
302
|
+
accessibility?: string;
|
|
303
|
+
};
|
|
304
|
+
shareRoles?: Record<string, {
|
|
305
|
+
iconName: string;
|
|
306
|
+
}>;
|
|
307
|
+
designTokens?: {
|
|
308
|
+
roles?: Record<string, string>;
|
|
309
|
+
colorPalette?: Record<string, string>;
|
|
310
|
+
fontFamily?: string;
|
|
311
|
+
};
|
|
312
|
+
favicon?: string;
|
|
313
|
+
background?: string;
|
|
314
|
+
}[] | {
|
|
315
|
+
isDark: boolean;
|
|
316
|
+
label: string;
|
|
317
|
+
name?: string;
|
|
318
|
+
slogan?: string;
|
|
319
|
+
logo?: string;
|
|
320
|
+
logoMobile?: string;
|
|
321
|
+
urls?: {
|
|
322
|
+
accessDeniedHelp?: string;
|
|
323
|
+
imprint?: string;
|
|
324
|
+
privacy?: string;
|
|
325
|
+
accessibility?: string;
|
|
326
|
+
};
|
|
327
|
+
shareRoles?: Record<string, {
|
|
328
|
+
iconName: string;
|
|
329
|
+
}>;
|
|
330
|
+
designTokens?: {
|
|
331
|
+
roles?: Record<string, string>;
|
|
332
|
+
colorPalette?: Record<string, string>;
|
|
333
|
+
fontFamily?: string;
|
|
334
|
+
};
|
|
335
|
+
favicon?: string;
|
|
336
|
+
background?: string;
|
|
337
|
+
}[]>;
|
|
338
|
+
currentTheme: import('vue').Ref<{
|
|
339
|
+
isDark: boolean;
|
|
340
|
+
label: string;
|
|
341
|
+
name?: string;
|
|
342
|
+
slogan?: string;
|
|
343
|
+
logo?: string;
|
|
344
|
+
logoMobile?: string;
|
|
345
|
+
urls?: {
|
|
346
|
+
accessDeniedHelp?: string;
|
|
347
|
+
imprint?: string;
|
|
348
|
+
privacy?: string;
|
|
349
|
+
accessibility?: string;
|
|
350
|
+
};
|
|
351
|
+
shareRoles?: Record<string, {
|
|
352
|
+
iconName: string;
|
|
353
|
+
}>;
|
|
354
|
+
designTokens?: {
|
|
355
|
+
roles?: Record<string, string>;
|
|
356
|
+
colorPalette?: Record<string, string>;
|
|
357
|
+
fontFamily?: string;
|
|
358
|
+
};
|
|
359
|
+
favicon?: string;
|
|
360
|
+
background?: string;
|
|
361
|
+
}, {
|
|
362
|
+
isDark: boolean;
|
|
363
|
+
label: string;
|
|
364
|
+
name?: string;
|
|
365
|
+
slogan?: string;
|
|
366
|
+
logo?: string;
|
|
367
|
+
logoMobile?: string;
|
|
368
|
+
urls?: {
|
|
369
|
+
accessDeniedHelp?: string;
|
|
370
|
+
imprint?: string;
|
|
371
|
+
privacy?: string;
|
|
372
|
+
accessibility?: string;
|
|
373
|
+
};
|
|
374
|
+
shareRoles?: Record<string, {
|
|
375
|
+
iconName: string;
|
|
376
|
+
}>;
|
|
377
|
+
designTokens?: {
|
|
378
|
+
roles?: Record<string, string>;
|
|
379
|
+
colorPalette?: Record<string, string>;
|
|
380
|
+
fontFamily?: string;
|
|
381
|
+
};
|
|
382
|
+
favicon?: string;
|
|
383
|
+
background?: string;
|
|
384
|
+
}>;
|
|
385
|
+
initializeThemes: (themeConfig: ThemeConfigType) => void;
|
|
386
|
+
setAndApplyTheme: (theme: WebThemeType, updateStorage?: boolean) => void;
|
|
387
|
+
setAutoSystemTheme: () => void;
|
|
388
|
+
isCurrentThemeAutoSystem: import('vue').ComputedRef<boolean>;
|
|
389
|
+
getRoleIcon: (role: ShareRole) => string;
|
|
390
|
+
}, "isCurrentThemeAutoSystem">, Pick<{
|
|
391
|
+
availableThemes: import('vue').Ref<{
|
|
392
|
+
isDark: boolean;
|
|
393
|
+
label: string;
|
|
394
|
+
name?: string;
|
|
395
|
+
slogan?: string;
|
|
396
|
+
logo?: string;
|
|
397
|
+
logoMobile?: string;
|
|
398
|
+
urls?: {
|
|
399
|
+
accessDeniedHelp?: string;
|
|
400
|
+
imprint?: string;
|
|
401
|
+
privacy?: string;
|
|
402
|
+
accessibility?: string;
|
|
403
|
+
};
|
|
404
|
+
shareRoles?: Record<string, {
|
|
405
|
+
iconName: string;
|
|
406
|
+
}>;
|
|
407
|
+
designTokens?: {
|
|
408
|
+
roles?: Record<string, string>;
|
|
409
|
+
colorPalette?: Record<string, string>;
|
|
410
|
+
fontFamily?: string;
|
|
411
|
+
};
|
|
412
|
+
favicon?: string;
|
|
413
|
+
background?: string;
|
|
414
|
+
}[], {
|
|
415
|
+
isDark: boolean;
|
|
416
|
+
label: string;
|
|
417
|
+
name?: string;
|
|
418
|
+
slogan?: string;
|
|
419
|
+
logo?: string;
|
|
420
|
+
logoMobile?: string;
|
|
421
|
+
urls?: {
|
|
422
|
+
accessDeniedHelp?: string;
|
|
423
|
+
imprint?: string;
|
|
424
|
+
privacy?: string;
|
|
425
|
+
accessibility?: string;
|
|
426
|
+
};
|
|
427
|
+
shareRoles?: Record<string, {
|
|
428
|
+
iconName: string;
|
|
429
|
+
}>;
|
|
430
|
+
designTokens?: {
|
|
431
|
+
roles?: Record<string, string>;
|
|
432
|
+
colorPalette?: Record<string, string>;
|
|
433
|
+
fontFamily?: string;
|
|
434
|
+
};
|
|
435
|
+
favicon?: string;
|
|
436
|
+
background?: string;
|
|
437
|
+
}[] | {
|
|
438
|
+
isDark: boolean;
|
|
439
|
+
label: string;
|
|
440
|
+
name?: string;
|
|
441
|
+
slogan?: string;
|
|
442
|
+
logo?: string;
|
|
443
|
+
logoMobile?: string;
|
|
444
|
+
urls?: {
|
|
445
|
+
accessDeniedHelp?: string;
|
|
446
|
+
imprint?: string;
|
|
447
|
+
privacy?: string;
|
|
448
|
+
accessibility?: string;
|
|
449
|
+
};
|
|
450
|
+
shareRoles?: Record<string, {
|
|
451
|
+
iconName: string;
|
|
452
|
+
}>;
|
|
453
|
+
designTokens?: {
|
|
454
|
+
roles?: Record<string, string>;
|
|
455
|
+
colorPalette?: Record<string, string>;
|
|
456
|
+
fontFamily?: string;
|
|
457
|
+
};
|
|
458
|
+
favicon?: string;
|
|
459
|
+
background?: string;
|
|
460
|
+
}[]>;
|
|
461
|
+
currentTheme: import('vue').Ref<{
|
|
462
|
+
isDark: boolean;
|
|
463
|
+
label: string;
|
|
464
|
+
name?: string;
|
|
465
|
+
slogan?: string;
|
|
466
|
+
logo?: string;
|
|
467
|
+
logoMobile?: string;
|
|
468
|
+
urls?: {
|
|
469
|
+
accessDeniedHelp?: string;
|
|
470
|
+
imprint?: string;
|
|
471
|
+
privacy?: string;
|
|
472
|
+
accessibility?: string;
|
|
473
|
+
};
|
|
474
|
+
shareRoles?: Record<string, {
|
|
475
|
+
iconName: string;
|
|
476
|
+
}>;
|
|
477
|
+
designTokens?: {
|
|
478
|
+
roles?: Record<string, string>;
|
|
479
|
+
colorPalette?: Record<string, string>;
|
|
480
|
+
fontFamily?: string;
|
|
481
|
+
};
|
|
482
|
+
favicon?: string;
|
|
483
|
+
background?: string;
|
|
484
|
+
}, {
|
|
485
|
+
isDark: boolean;
|
|
486
|
+
label: string;
|
|
487
|
+
name?: string;
|
|
488
|
+
slogan?: string;
|
|
489
|
+
logo?: string;
|
|
490
|
+
logoMobile?: string;
|
|
491
|
+
urls?: {
|
|
492
|
+
accessDeniedHelp?: string;
|
|
493
|
+
imprint?: string;
|
|
494
|
+
privacy?: string;
|
|
495
|
+
accessibility?: string;
|
|
496
|
+
};
|
|
497
|
+
shareRoles?: Record<string, {
|
|
498
|
+
iconName: string;
|
|
499
|
+
}>;
|
|
500
|
+
designTokens?: {
|
|
501
|
+
roles?: Record<string, string>;
|
|
502
|
+
colorPalette?: Record<string, string>;
|
|
503
|
+
fontFamily?: string;
|
|
504
|
+
};
|
|
505
|
+
favicon?: string;
|
|
506
|
+
background?: string;
|
|
507
|
+
}>;
|
|
508
|
+
initializeThemes: (themeConfig: ThemeConfigType) => void;
|
|
509
|
+
setAndApplyTheme: (theme: WebThemeType, updateStorage?: boolean) => void;
|
|
510
|
+
setAutoSystemTheme: () => void;
|
|
511
|
+
isCurrentThemeAutoSystem: import('vue').ComputedRef<boolean>;
|
|
512
|
+
getRoleIcon: (role: ShareRole) => string;
|
|
513
|
+
}, "initializeThemes" | "setAndApplyTheme" | "setAutoSystemTheme" | "getRoleIcon">>;
|
|
514
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Updates } from '../../types';
|
|
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
|
+
setUpdates: (data: Updates) => void;
|
|
7
|
+
setHasError: (value: boolean) => void;
|
|
8
|
+
setIsLoading: (value: boolean) => void;
|
|
9
|
+
}, "hasError" | "isLoading" | "updates">, Pick<{
|
|
10
|
+
updates: import('vue').Ref<Updates, Updates>;
|
|
11
|
+
isLoading: import('vue').Ref<boolean, boolean>;
|
|
12
|
+
hasError: import('vue').Ref<boolean, boolean>;
|
|
13
|
+
setUpdates: (data: Updates) => void;
|
|
14
|
+
setHasError: (value: boolean) => void;
|
|
15
|
+
setIsLoading: (value: boolean) => void;
|
|
16
|
+
}, never>, Pick<{
|
|
17
|
+
updates: import('vue').Ref<Updates, Updates>;
|
|
18
|
+
isLoading: import('vue').Ref<boolean, boolean>;
|
|
19
|
+
hasError: import('vue').Ref<boolean, boolean>;
|
|
20
|
+
setUpdates: (data: Updates) => void;
|
|
21
|
+
setHasError: (value: boolean) => void;
|
|
22
|
+
setIsLoading: (value: boolean) => void;
|
|
23
|
+
}, "setUpdates" | "setHasError" | "setIsLoading">>;
|
|
24
|
+
export type UpdatesStore = ReturnType<typeof useUpdatesStore>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { User } from '@opencloud-eu/web-client/graph/generated';
|
|
2
|
+
export declare const useUserStore: import('pinia').StoreDefinition<"user", Pick<{
|
|
3
|
+
user: import('vue').Ref<User, User>;
|
|
4
|
+
setUser: (data: User) => void;
|
|
5
|
+
reset: () => void;
|
|
6
|
+
}, "user">, Pick<{
|
|
7
|
+
user: import('vue').Ref<User, User>;
|
|
8
|
+
setUser: (data: User) => void;
|
|
9
|
+
reset: () => void;
|
|
10
|
+
}, never>, Pick<{
|
|
11
|
+
user: import('vue').Ref<User, User>;
|
|
12
|
+
setUser: (data: User) => void;
|
|
13
|
+
reset: () => void;
|
|
14
|
+
}, "setUser" | "reset">>;
|
|
15
|
+
export type UserStore = ReturnType<typeof useUserStore>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseWebWorkerReturn } from '@vueuse/core';
|
|
2
|
+
export interface WebWorker<T = any> extends UseWebWorkerReturn<T> {
|
|
3
|
+
id: string;
|
|
4
|
+
needsTokenRenewal: boolean;
|
|
5
|
+
}
|
|
6
|
+
export type WorkerTopic = 'startProcess' | 'tokenUpdate';
|
|
7
|
+
export declare const useWebWorkersStore: import('pinia').StoreDefinition<"webWorkers", Pick<{
|
|
8
|
+
createWorker: <T = any>(workerUrl: string, { needsTokenRenewal }?: {
|
|
9
|
+
needsTokenRenewal?: boolean;
|
|
10
|
+
}) => WebWorker<T>;
|
|
11
|
+
terminateWorker: (id: string) => void;
|
|
12
|
+
terminateAllWorkers: () => void;
|
|
13
|
+
updateAccessTokens: (accessToken: string) => void;
|
|
14
|
+
}, never>, Pick<{
|
|
15
|
+
createWorker: <T = any>(workerUrl: string, { needsTokenRenewal }?: {
|
|
16
|
+
needsTokenRenewal?: boolean;
|
|
17
|
+
}) => WebWorker<T>;
|
|
18
|
+
terminateWorker: (id: string) => void;
|
|
19
|
+
terminateAllWorkers: () => void;
|
|
20
|
+
updateAccessTokens: (accessToken: string) => void;
|
|
21
|
+
}, never>, Pick<{
|
|
22
|
+
createWorker: <T = any>(workerUrl: string, { needsTokenRenewal }?: {
|
|
23
|
+
needsTokenRenewal?: boolean;
|
|
24
|
+
}) => WebWorker<T>;
|
|
25
|
+
terminateWorker: (id: string) => void;
|
|
26
|
+
terminateAllWorkers: () => void;
|
|
27
|
+
updateAccessTokens: (accessToken: string) => void;
|
|
28
|
+
}, "createWorker" | "terminateWorker" | "terminateAllWorkers" | "updateAccessTokens">>;
|
|
29
|
+
export type WebWorkersStore = ReturnType<typeof useWebWorkersStore>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './usePreviewService';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useRequestHeaders';
|