@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,26 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
3
|
+
import { ProcessorType } from '../../services';
|
|
4
|
+
type LoadPreviewOptions = {
|
|
5
|
+
space: SpaceResource;
|
|
6
|
+
resource: Resource;
|
|
7
|
+
dimensions?: [number, number];
|
|
8
|
+
processor?: ProcessorType;
|
|
9
|
+
/**
|
|
10
|
+
* Cancel potential running tasks before loading.
|
|
11
|
+
* Recommended when loading one preview at a time (hence not in a file list).
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
cancelRunning?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Update resource store after loading.
|
|
17
|
+
* Recommended when loading previews in a file list.
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
updateStore?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export declare const useLoadPreview: (viewMode?: Ref<string>) => {
|
|
23
|
+
loadPreview: (options: LoadPreviewOptions) => Promise<string>;
|
|
24
|
+
previewsLoading: import('vue').ComputedRef<boolean>;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export * from './useActiveApp';
|
|
3
|
+
export * from './useFileRouteReplace';
|
|
4
|
+
export * from './useRoute';
|
|
5
|
+
export * from './useRouteName';
|
|
6
|
+
export * from './useRouteMeta';
|
|
7
|
+
export * from './useRouteParam';
|
|
8
|
+
export * from './useRouteQuery';
|
|
9
|
+
export * from './useRouteQueryPersisted';
|
|
10
|
+
export * from './useRouter';
|
|
11
|
+
export * from './useActiveLocation';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RouteMeta } from 'vue-router';
|
|
2
|
+
type Dictionary<T> = {
|
|
3
|
+
[key: string]: T;
|
|
4
|
+
};
|
|
5
|
+
export type QueryValue = string | (string | null)[];
|
|
6
|
+
export type LocationQuery = Dictionary<QueryValue>;
|
|
7
|
+
export type ParamValue = string;
|
|
8
|
+
export declare const authContextValues: readonly ["anonymous", "user", "idp", "publicLink", "hybrid"];
|
|
9
|
+
export type AuthContext = (typeof authContextValues)[number];
|
|
10
|
+
export interface WebRouteMeta extends RouteMeta {
|
|
11
|
+
title?: string;
|
|
12
|
+
authContext?: AuthContext;
|
|
13
|
+
patchCleanPath?: boolean;
|
|
14
|
+
contextQueryItems?: string[];
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { ActiveRouteDirectorFunc } from '../../router';
|
|
3
|
+
/**
|
|
4
|
+
* watches the current route and re-evaluates the provided active location director
|
|
5
|
+
* on each route name update.
|
|
6
|
+
*
|
|
7
|
+
* @param director
|
|
8
|
+
* @param comparatives
|
|
9
|
+
*/
|
|
10
|
+
export declare const useActiveLocation: <T extends string>(director: ActiveRouteDirectorFunc<T>, ...comparatives: T[]) => Ref<boolean>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
2
|
+
import { Router } from 'vue-router';
|
|
3
|
+
import { ConfigStore } from '../piniaStores';
|
|
4
|
+
export interface FileRouteReplaceOptions {
|
|
5
|
+
router?: Router;
|
|
6
|
+
configStore?: ConfigStore;
|
|
7
|
+
}
|
|
8
|
+
export declare const useFileRouteReplace: (options?: FileRouteReplaceOptions) => {
|
|
9
|
+
replaceInvalidFileRoute: ({ space, resource, path, fileId }: {
|
|
10
|
+
space: SpaceResource;
|
|
11
|
+
resource: Resource;
|
|
12
|
+
path: string;
|
|
13
|
+
fileId?: string | number;
|
|
14
|
+
}) => boolean;
|
|
15
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { QueryValue } from './types';
|
|
3
|
+
export interface RouteQueryPersistedOptions {
|
|
4
|
+
name: string;
|
|
5
|
+
defaultValue: QueryValue;
|
|
6
|
+
storagePrefix?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const useRouteQueryPersisted: (options: RouteQueryPersistedOptions) => Ref<QueryValue>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useScrollTo';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Resource } from '@opencloud-eu/web-client';
|
|
2
|
+
export interface ScrollToResult {
|
|
3
|
+
scrollToResource(resourceId: Resource['id'], options?: {
|
|
4
|
+
forceScroll?: boolean;
|
|
5
|
+
topbarElement: string;
|
|
6
|
+
}): void;
|
|
7
|
+
scrollToResourceFromRoute(resources: Resource[], topbarElement: string): void;
|
|
8
|
+
}
|
|
9
|
+
export declare const useScrollTo: () => ScrollToResult;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SearchResult } from '../../components';
|
|
2
|
+
export declare const useSearch: () => {
|
|
3
|
+
search: (term: string, searchLimit?: number) => Promise<SearchResult>;
|
|
4
|
+
buildSearchTerm: ({ term, isTitleOnlySearch, tags, lastModified, mediaType, scope, useScope }: {
|
|
5
|
+
term: string;
|
|
6
|
+
isTitleOnlySearch?: boolean;
|
|
7
|
+
tags?: string;
|
|
8
|
+
lastModified?: string;
|
|
9
|
+
mediaType?: string;
|
|
10
|
+
scope?: string;
|
|
11
|
+
useScope?: boolean;
|
|
12
|
+
}) => string;
|
|
13
|
+
};
|
|
14
|
+
export type SearchFunction = ReturnType<typeof useSearch>['search'];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
3
|
+
export interface SelectedResourcesResult {
|
|
4
|
+
selectedResources: Ref<Resource[]>;
|
|
5
|
+
selectedResourcesIds: Ref<string[]>;
|
|
6
|
+
isResourceInSelection(resource: Resource): boolean;
|
|
7
|
+
selectedResourceSpace?: Ref<SpaceResource>;
|
|
8
|
+
}
|
|
9
|
+
export declare const useSelectedResources: () => SelectedResourcesResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useService';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useService: <T>(name: string) => T;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { EventBus } from '../../services/eventBus';
|
|
3
|
+
interface SideBarResult {
|
|
4
|
+
isSideBarOpen: Ref<boolean>;
|
|
5
|
+
sideBarActivePanel: Ref<string>;
|
|
6
|
+
onPanelActive: (name: string, callback: (string: any) => void) => void;
|
|
7
|
+
}
|
|
8
|
+
interface SideBarOptions {
|
|
9
|
+
bus?: EventBus;
|
|
10
|
+
}
|
|
11
|
+
export declare const useSideBar: (options?: SideBarOptions) => SideBarResult;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Ref, MaybeRef } from 'vue';
|
|
2
|
+
import { ReadOnlyRef } from '../../utils';
|
|
3
|
+
export interface SortableItem {
|
|
4
|
+
type?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare enum SortDir {
|
|
7
|
+
Desc = "desc",
|
|
8
|
+
Asc = "asc"
|
|
9
|
+
}
|
|
10
|
+
export interface SortField {
|
|
11
|
+
name: string;
|
|
12
|
+
prop?: string;
|
|
13
|
+
sortable?: MaybeRef<boolean | Function | string>;
|
|
14
|
+
sortDir?: MaybeRef<SortDir>;
|
|
15
|
+
label?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface SortOptions<T extends SortableItem> {
|
|
18
|
+
items: MaybeRef<Array<T>>;
|
|
19
|
+
fields: MaybeRef<Array<SortField>>;
|
|
20
|
+
sortBy?: MaybeRef<string>;
|
|
21
|
+
sortByQueryName?: MaybeRef<string>;
|
|
22
|
+
sortDir?: MaybeRef<SortDir>;
|
|
23
|
+
sortDirQueryName?: MaybeRef<string>;
|
|
24
|
+
routeName?: MaybeRef<string>;
|
|
25
|
+
}
|
|
26
|
+
export interface SortResult<T> {
|
|
27
|
+
items: Ref<Array<T>>;
|
|
28
|
+
sortBy: ReadOnlyRef<string>;
|
|
29
|
+
sortDir: ReadOnlyRef<SortDir>;
|
|
30
|
+
handleSort({ sortBy, sortDir }: {
|
|
31
|
+
sortBy: string;
|
|
32
|
+
sortDir: SortDir;
|
|
33
|
+
}): void;
|
|
34
|
+
}
|
|
35
|
+
export declare function useSort<T extends SortableItem>(options: SortOptions<T>): SortResult<T>;
|
|
36
|
+
export declare const sortHelper: <T extends SortableItem>(items: T[], fields: SortField[], sortBy: string, sortDir: SortDir) => T[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
2
|
+
export declare const useCreateSpace: () => {
|
|
3
|
+
createSpace: (name: string) => Promise<SpaceResource>;
|
|
4
|
+
createDefaultMetaFolder: (space: SpaceResource) => Promise<import('@opencloud-eu/web-client').FolderResource>;
|
|
5
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
type GetMatchingSpaceOptions = {
|
|
4
|
+
space?: Ref<SpaceResource>;
|
|
5
|
+
};
|
|
6
|
+
export declare const useGetMatchingSpace: (options?: GetMatchingSpaceOptions) => {
|
|
7
|
+
getInternalSpace: (storageId: string) => SpaceResource;
|
|
8
|
+
getMatchingSpace: (resource: Resource) => SpaceResource;
|
|
9
|
+
isPersonalSpaceRoot: (resource: Resource) => boolean;
|
|
10
|
+
isResourceAccessible: ({ space, path }: {
|
|
11
|
+
space: SpaceResource;
|
|
12
|
+
path: string;
|
|
13
|
+
}) => boolean;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useUpload';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const FolderViewModeConstants: {
|
|
2
|
+
readonly name: {
|
|
3
|
+
readonly table: "resource-table";
|
|
4
|
+
readonly condensedTable: "resource-table-condensed";
|
|
5
|
+
readonly tiles: "resource-tiles";
|
|
6
|
+
};
|
|
7
|
+
readonly defaultModeName: "resource-tiles";
|
|
8
|
+
readonly queryName: "view-mode";
|
|
9
|
+
readonly tilesSizeDefault: 2;
|
|
10
|
+
readonly tilesSizeMax: 6;
|
|
11
|
+
readonly tilesSizeQueryName: "tiles-size";
|
|
12
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
export declare function useViewMode(options: ComputedRef<string>): ComputedRef<string>;
|
|
3
|
+
export declare function useViewSize(options: ComputedRef<string>): ComputedRef<number>;
|
|
4
|
+
export declare function useViewSizeMax(): Ref<number>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useDeleteWorker';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HttpError, Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
2
|
+
export type DeleteWorkerReturnData = {
|
|
3
|
+
successful: Resource[];
|
|
4
|
+
failed: {
|
|
5
|
+
resource: Resource;
|
|
6
|
+
message: string;
|
|
7
|
+
statusCode: number;
|
|
8
|
+
xReqId: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
type CallbackOptions = {
|
|
12
|
+
successful: Resource[];
|
|
13
|
+
failed: {
|
|
14
|
+
resource: Resource;
|
|
15
|
+
error: HttpError;
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
18
|
+
export type DeleteWorkerTopic = 'fileListDelete' | 'trashBinDelete' | 'tokenUpdate';
|
|
19
|
+
export declare const useDeleteWorker: ({ concurrentRequests }?: {
|
|
20
|
+
concurrentRequests?: number;
|
|
21
|
+
}) => {
|
|
22
|
+
startWorker: ({ topic, space, resources }: {
|
|
23
|
+
topic: DeleteWorkerTopic;
|
|
24
|
+
space: SpaceResource;
|
|
25
|
+
resources: Resource[];
|
|
26
|
+
}, callback: (result: CallbackOptions) => void) => void;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './usePasteWorker';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HttpError, Resource } from '@opencloud-eu/web-client';
|
|
2
|
+
import { TransferData } from '../../../helpers/resource/conflictHandling';
|
|
3
|
+
export type PasteWorkerReturnData = {
|
|
4
|
+
successful: Resource[];
|
|
5
|
+
failed: {
|
|
6
|
+
resourceName: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusCode: number;
|
|
9
|
+
xReqId: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
type CallbackOptions = {
|
|
13
|
+
successful: Resource[];
|
|
14
|
+
failed: {
|
|
15
|
+
resourceName: string;
|
|
16
|
+
error: HttpError;
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Web worker for pasting copied/cut resources into another location.
|
|
21
|
+
*/
|
|
22
|
+
export declare const usePasteWorker: () => {
|
|
23
|
+
startWorker: (transferData: TransferData[], callback: (result: CallbackOptions) => void) => void;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useRestoreWorker';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HttpError, Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
2
|
+
export type RestoreWorkerReturnData = {
|
|
3
|
+
successful: Resource[];
|
|
4
|
+
failed: {
|
|
5
|
+
resource: Resource;
|
|
6
|
+
message: string;
|
|
7
|
+
statusCode: number;
|
|
8
|
+
xReqId: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
type CallbackOptions = {
|
|
12
|
+
successful: Resource[];
|
|
13
|
+
failed: {
|
|
14
|
+
resource: Resource;
|
|
15
|
+
error: HttpError;
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Web worker for restoring deleted resources from the trash bin.
|
|
20
|
+
*/
|
|
21
|
+
export declare const useRestoreWorker: () => {
|
|
22
|
+
startWorker: ({ space, resources, missingFolderPaths }: {
|
|
23
|
+
space: SpaceResource;
|
|
24
|
+
resources: Resource[];
|
|
25
|
+
missingFolderPaths: string[];
|
|
26
|
+
}, callback: (result: CallbackOptions) => void) => void;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useTokenTimerWorker';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AuthServiceInterface } from '../../authContext';
|
|
2
|
+
export type TokenTimerWorkerTopic = 'set' | 'reset';
|
|
3
|
+
export declare const useTokenTimerWorker: ({ authService }: {
|
|
4
|
+
authService: AuthServiceInterface;
|
|
5
|
+
}) => {
|
|
6
|
+
startWorker: () => void;
|
|
7
|
+
setTokenTimer: ({ expiry, expiryThreshold }: {
|
|
8
|
+
expiry: number;
|
|
9
|
+
expiryThreshold: number;
|
|
10
|
+
}) => void;
|
|
11
|
+
resetTokenTimer: () => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const EVENT_TROW_MOUNTED = "rowMounted";
|
|
2
|
+
export declare const EVENT_FILE_DROPPED = "fileDropped";
|
|
3
|
+
export declare const EVENT_TROW_CONTEXTMENU = "contextmenuClicked";
|
|
4
|
+
export declare abstract class ImageDimension {
|
|
5
|
+
static readonly Thumbnail: [number, number];
|
|
6
|
+
static readonly Tile: [number, number];
|
|
7
|
+
static readonly Preview: [number, number];
|
|
8
|
+
static readonly Avatar: number;
|
|
9
|
+
}
|
|
10
|
+
export declare abstract class ImageType {
|
|
11
|
+
static readonly Thumbnail: string;
|
|
12
|
+
static readonly Preview: string;
|
|
13
|
+
static readonly Avatar: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const AVATAR_UPLOAD_MAX_FILE_SIZE_MB = 10;
|
|
16
|
+
export declare const RESOURCE_MAX_CHARACTER_LENGTH = 63;
|
|
17
|
+
export declare const RESOURCE_NAME_MAX_BYTES = 256;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* generic error implementation which captures the stackTrace and has custom naming
|
|
3
|
+
*/
|
|
4
|
+
export declare class RuntimeError extends Error {
|
|
5
|
+
name: string;
|
|
6
|
+
constructor(message?: unknown, ...additional: unknown[]);
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* error dedicated to api type errors
|
|
10
|
+
*/
|
|
11
|
+
export declare class ApiError extends RuntimeError {
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RouteLocation } from 'vue-router';
|
|
2
|
+
import { BreadcrumbItem } from '@opencloud-eu/design-system/helpers';
|
|
3
|
+
export declare const breadcrumbsFromPath: (currentRoute: RouteLocation, resourcePath: string) => BreadcrumbItem[];
|
|
4
|
+
export declare const concatBreadcrumbs: (...items: BreadcrumbItem[]) => BreadcrumbItem[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface CacheOptions {
|
|
2
|
+
ttl?: number;
|
|
3
|
+
capacity?: number;
|
|
4
|
+
}
|
|
5
|
+
export default class Cache<K, V> {
|
|
6
|
+
private map;
|
|
7
|
+
private readonly ttl;
|
|
8
|
+
private readonly capacity;
|
|
9
|
+
constructor(options: CacheOptions);
|
|
10
|
+
set(key: K, value: V, ttl?: number): V;
|
|
11
|
+
get(key: K): V;
|
|
12
|
+
delete(key: K): boolean;
|
|
13
|
+
clear(): void;
|
|
14
|
+
entries(): [K, V][];
|
|
15
|
+
keys(): K[];
|
|
16
|
+
has(key: K): boolean;
|
|
17
|
+
values(): V[];
|
|
18
|
+
evict(): void;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Cache } from './cache';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OcDrop } from '@opencloud-eu/design-system/components';
|
|
2
|
+
import { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type ContextMenuBtnClickEventData = {
|
|
4
|
+
event: MouseEvent | KeyboardEvent;
|
|
5
|
+
dropdown: ComponentPublicInstance<typeof OcDrop>;
|
|
6
|
+
};
|
|
7
|
+
export declare const displayPositionedDropdown: (dropdown: ComponentPublicInstance<typeof OcDrop>, event: MouseEvent | KeyboardEvent, contextMenuButton: ComponentPublicInstance<unknown>) => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DateTime } from 'luxon';
|
|
2
|
+
export declare const formatDateFromDateTime: (date: DateTime, currentLanguage: string, format?: Intl.DateTimeFormatOptions) => string;
|
|
3
|
+
export declare const formatDateFromJSDate: (date: Date, currentLanguage: string, format?: Intl.DateTimeFormatOptions) => string;
|
|
4
|
+
export declare const formatDateFromHTTP: (date: string, currentLanguage: string, format?: Intl.DateTimeFormatOptions) => string;
|
|
5
|
+
export declare const formatDateFromISO: (date: string, currentLanguage: string, format?: Intl.DateTimeFormatOptions) => string;
|
|
6
|
+
export declare const formatDateFromRFC: (date: string, currentLanguage: string, format?: Intl.DateTimeFormatOptions) => string;
|
|
7
|
+
export declare const formatRelativeDateFromDateTime: (date: DateTime, currentLanguage: string) => string;
|
|
8
|
+
export declare const formatRelativeDateFromJSDate: (date: Date, currentLanguage: string) => string;
|
|
9
|
+
export declare const formatRelativeDateFromHTTP: (date: string, currentLanguage: string) => string;
|
|
10
|
+
export declare const formatRelativeDateFromISO: (date: string, currentLanguage: string) => string;
|
|
11
|
+
export declare const formatRelativeDateFromRFC: (date: string, currentLanguage: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const triggerDownloadWithFilename: (url: string, name: string) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|