@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,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Determines if the topbar (including table headers) should be sticky or not.
|
|
3
|
+
* With a vertical height less than 500px, the topbar should not be sticky because
|
|
4
|
+
* it takes up too much space and overflows content.
|
|
5
|
+
*/
|
|
6
|
+
export declare const useIsTopBarSticky: () => {
|
|
7
|
+
isSticky: import('vue').Ref<boolean, boolean>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
interface KeyboardActionsOptions {
|
|
3
|
+
skipDisabledKeyBindingsCheck?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare enum Key {
|
|
6
|
+
C = "c",
|
|
7
|
+
V = "v",
|
|
8
|
+
X = "x",
|
|
9
|
+
A = "a",
|
|
10
|
+
S = "s",
|
|
11
|
+
Z = "z",
|
|
12
|
+
Plus = "+",
|
|
13
|
+
Minus = "-",
|
|
14
|
+
Space = " ",
|
|
15
|
+
ArrowUp = "ArrowUp",
|
|
16
|
+
ArrowDown = "ArrowDown",
|
|
17
|
+
ArrowLeft = "ArrowLeft",
|
|
18
|
+
ArrowRight = "ArrowRight",
|
|
19
|
+
Esc = "Escape",
|
|
20
|
+
Backspace = "Backspace",
|
|
21
|
+
Delete = "Delete"
|
|
22
|
+
}
|
|
23
|
+
export declare enum Modifier {
|
|
24
|
+
Ctrl = "Control",
|
|
25
|
+
Shift = "Shift"
|
|
26
|
+
}
|
|
27
|
+
export interface KeyboardActions {
|
|
28
|
+
actions: Ref<Array<KeyboardAction>>;
|
|
29
|
+
selectionCursor: Ref<number>;
|
|
30
|
+
removeKeyAction: (id: string) => void;
|
|
31
|
+
resetSelectionCursor: () => void;
|
|
32
|
+
bindKeyAction: (keys: {
|
|
33
|
+
primary: Key;
|
|
34
|
+
modifier?: Modifier;
|
|
35
|
+
}, callback: (event: KeyboardEvent) => void, options?: {
|
|
36
|
+
preventDefault?: boolean;
|
|
37
|
+
}) => string;
|
|
38
|
+
}
|
|
39
|
+
export interface KeyboardAction {
|
|
40
|
+
id: string;
|
|
41
|
+
primary: Key;
|
|
42
|
+
modifier: Modifier | null;
|
|
43
|
+
preventDefault: boolean;
|
|
44
|
+
callback: (event: KeyboardEvent) => void;
|
|
45
|
+
}
|
|
46
|
+
export declare const useKeyboardActions: (options?: KeyboardActionsOptions) => KeyboardActions;
|
|
47
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useLinkTypes';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SharingLinkType } from '@opencloud-eu/web-client/graph/generated';
|
|
2
|
+
import { ShareRole } from '@opencloud-eu/web-client';
|
|
3
|
+
export declare const useLinkTypes: () => {
|
|
4
|
+
defaultLinkType: import('vue').ComputedRef<SharingLinkType>;
|
|
5
|
+
isPasswordEnforcedForLinkType: (type: SharingLinkType) => boolean;
|
|
6
|
+
getAvailableLinkTypes: ({ isFolder }: {
|
|
7
|
+
isFolder: boolean;
|
|
8
|
+
}) => SharingLinkType[];
|
|
9
|
+
linkShareRoles: ({
|
|
10
|
+
id: "view";
|
|
11
|
+
displayName: string;
|
|
12
|
+
description: string;
|
|
13
|
+
icon: string;
|
|
14
|
+
} | {
|
|
15
|
+
id: "upload";
|
|
16
|
+
displayName: string;
|
|
17
|
+
description: string;
|
|
18
|
+
icon: string;
|
|
19
|
+
} | {
|
|
20
|
+
id: "edit";
|
|
21
|
+
displayName: string;
|
|
22
|
+
description: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
} | {
|
|
25
|
+
id: "createOnly";
|
|
26
|
+
displayName: string;
|
|
27
|
+
description: string;
|
|
28
|
+
icon: string;
|
|
29
|
+
})[];
|
|
30
|
+
getLinkRoleByType: (type: SharingLinkType) => ShareRole;
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useLoadingService';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useLocalStorage';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComputedRef, MaybeRef } from 'vue';
|
|
2
|
+
interface PaginationOptions<T> {
|
|
3
|
+
items: MaybeRef<Array<T>>;
|
|
4
|
+
page?: MaybeRef<number>;
|
|
5
|
+
perPage?: MaybeRef<number>;
|
|
6
|
+
perPageDefault?: string;
|
|
7
|
+
perPageQueryName?: string;
|
|
8
|
+
perPageStoragePrefix: string;
|
|
9
|
+
}
|
|
10
|
+
interface PaginationResult<T> {
|
|
11
|
+
items: ComputedRef<Array<T>>;
|
|
12
|
+
total: ComputedRef<number>;
|
|
13
|
+
page: ComputedRef<number>;
|
|
14
|
+
perPage: ComputedRef<number>;
|
|
15
|
+
}
|
|
16
|
+
export declare function usePagination<T>(options: PaginationOptions<T>): PaginationResult<T>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './usePasswordPolicyService';
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { AppConfigObject, ApplicationInformation, ApplicationFileExtension } from '../../apps';
|
|
2
|
+
import { Translations } from 'vue3-gettext';
|
|
3
|
+
export declare const useAppsStore: import('pinia').StoreDefinition<"apps", Pick<{
|
|
4
|
+
apps: import('vue').Ref<Record<string, ApplicationInformation>, Record<string, ApplicationInformation>>;
|
|
5
|
+
externalAppConfig: import('vue').Ref<Record<string, AppConfigObject>, Record<string, AppConfigObject>>;
|
|
6
|
+
appIds: import('vue').ComputedRef<string[]>;
|
|
7
|
+
fileExtensions: import('vue').Ref<{
|
|
8
|
+
app?: string;
|
|
9
|
+
extension?: string;
|
|
10
|
+
createFileHandler?: (arg: {
|
|
11
|
+
fileName: string;
|
|
12
|
+
space: import('@opencloud-eu/web-client').SpaceResource;
|
|
13
|
+
currentFolder: import('@opencloud-eu/web-client').Resource;
|
|
14
|
+
}) => Promise<import('@opencloud-eu/web-client').Resource>;
|
|
15
|
+
hasPriority?: boolean;
|
|
16
|
+
label?: string | (() => string);
|
|
17
|
+
name?: string;
|
|
18
|
+
icon?: string;
|
|
19
|
+
mimeType?: string;
|
|
20
|
+
newFileMenu?: {
|
|
21
|
+
menuTitle: () => string;
|
|
22
|
+
};
|
|
23
|
+
routeName?: string;
|
|
24
|
+
secureView?: boolean;
|
|
25
|
+
}[], ApplicationFileExtension[] | {
|
|
26
|
+
app?: string;
|
|
27
|
+
extension?: string;
|
|
28
|
+
createFileHandler?: (arg: {
|
|
29
|
+
fileName: string;
|
|
30
|
+
space: import('@opencloud-eu/web-client').SpaceResource;
|
|
31
|
+
currentFolder: import('@opencloud-eu/web-client').Resource;
|
|
32
|
+
}) => Promise<import('@opencloud-eu/web-client').Resource>;
|
|
33
|
+
hasPriority?: boolean;
|
|
34
|
+
label?: string | (() => string);
|
|
35
|
+
name?: string;
|
|
36
|
+
icon?: string;
|
|
37
|
+
mimeType?: string;
|
|
38
|
+
newFileMenu?: {
|
|
39
|
+
menuTitle: () => string;
|
|
40
|
+
};
|
|
41
|
+
routeName?: string;
|
|
42
|
+
secureView?: boolean;
|
|
43
|
+
}[]>;
|
|
44
|
+
registerApp: (appInfo: ApplicationInformation, translations?: Translations) => void;
|
|
45
|
+
registerFileExtension: ({ appId, data }: {
|
|
46
|
+
appId: string;
|
|
47
|
+
data: ApplicationFileExtension;
|
|
48
|
+
}) => void;
|
|
49
|
+
loadExternalAppConfig: ({ appId, config }: {
|
|
50
|
+
appId: string;
|
|
51
|
+
config: AppConfigObject;
|
|
52
|
+
}) => void;
|
|
53
|
+
isAppEnabled: (appId: string) => boolean;
|
|
54
|
+
}, "apps" | "externalAppConfig" | "fileExtensions">, Pick<{
|
|
55
|
+
apps: import('vue').Ref<Record<string, ApplicationInformation>, Record<string, ApplicationInformation>>;
|
|
56
|
+
externalAppConfig: import('vue').Ref<Record<string, AppConfigObject>, Record<string, AppConfigObject>>;
|
|
57
|
+
appIds: import('vue').ComputedRef<string[]>;
|
|
58
|
+
fileExtensions: import('vue').Ref<{
|
|
59
|
+
app?: string;
|
|
60
|
+
extension?: string;
|
|
61
|
+
createFileHandler?: (arg: {
|
|
62
|
+
fileName: string;
|
|
63
|
+
space: import('@opencloud-eu/web-client').SpaceResource;
|
|
64
|
+
currentFolder: import('@opencloud-eu/web-client').Resource;
|
|
65
|
+
}) => Promise<import('@opencloud-eu/web-client').Resource>;
|
|
66
|
+
hasPriority?: boolean;
|
|
67
|
+
label?: string | (() => string);
|
|
68
|
+
name?: string;
|
|
69
|
+
icon?: string;
|
|
70
|
+
mimeType?: string;
|
|
71
|
+
newFileMenu?: {
|
|
72
|
+
menuTitle: () => string;
|
|
73
|
+
};
|
|
74
|
+
routeName?: string;
|
|
75
|
+
secureView?: boolean;
|
|
76
|
+
}[], ApplicationFileExtension[] | {
|
|
77
|
+
app?: string;
|
|
78
|
+
extension?: string;
|
|
79
|
+
createFileHandler?: (arg: {
|
|
80
|
+
fileName: string;
|
|
81
|
+
space: import('@opencloud-eu/web-client').SpaceResource;
|
|
82
|
+
currentFolder: import('@opencloud-eu/web-client').Resource;
|
|
83
|
+
}) => Promise<import('@opencloud-eu/web-client').Resource>;
|
|
84
|
+
hasPriority?: boolean;
|
|
85
|
+
label?: string | (() => string);
|
|
86
|
+
name?: string;
|
|
87
|
+
icon?: string;
|
|
88
|
+
mimeType?: string;
|
|
89
|
+
newFileMenu?: {
|
|
90
|
+
menuTitle: () => string;
|
|
91
|
+
};
|
|
92
|
+
routeName?: string;
|
|
93
|
+
secureView?: boolean;
|
|
94
|
+
}[]>;
|
|
95
|
+
registerApp: (appInfo: ApplicationInformation, translations?: Translations) => void;
|
|
96
|
+
registerFileExtension: ({ appId, data }: {
|
|
97
|
+
appId: string;
|
|
98
|
+
data: ApplicationFileExtension;
|
|
99
|
+
}) => void;
|
|
100
|
+
loadExternalAppConfig: ({ appId, config }: {
|
|
101
|
+
appId: string;
|
|
102
|
+
config: AppConfigObject;
|
|
103
|
+
}) => void;
|
|
104
|
+
isAppEnabled: (appId: string) => boolean;
|
|
105
|
+
}, "appIds">, Pick<{
|
|
106
|
+
apps: import('vue').Ref<Record<string, ApplicationInformation>, Record<string, ApplicationInformation>>;
|
|
107
|
+
externalAppConfig: import('vue').Ref<Record<string, AppConfigObject>, Record<string, AppConfigObject>>;
|
|
108
|
+
appIds: import('vue').ComputedRef<string[]>;
|
|
109
|
+
fileExtensions: import('vue').Ref<{
|
|
110
|
+
app?: string;
|
|
111
|
+
extension?: string;
|
|
112
|
+
createFileHandler?: (arg: {
|
|
113
|
+
fileName: string;
|
|
114
|
+
space: import('@opencloud-eu/web-client').SpaceResource;
|
|
115
|
+
currentFolder: import('@opencloud-eu/web-client').Resource;
|
|
116
|
+
}) => Promise<import('@opencloud-eu/web-client').Resource>;
|
|
117
|
+
hasPriority?: boolean;
|
|
118
|
+
label?: string | (() => string);
|
|
119
|
+
name?: string;
|
|
120
|
+
icon?: string;
|
|
121
|
+
mimeType?: string;
|
|
122
|
+
newFileMenu?: {
|
|
123
|
+
menuTitle: () => string;
|
|
124
|
+
};
|
|
125
|
+
routeName?: string;
|
|
126
|
+
secureView?: boolean;
|
|
127
|
+
}[], ApplicationFileExtension[] | {
|
|
128
|
+
app?: string;
|
|
129
|
+
extension?: string;
|
|
130
|
+
createFileHandler?: (arg: {
|
|
131
|
+
fileName: string;
|
|
132
|
+
space: import('@opencloud-eu/web-client').SpaceResource;
|
|
133
|
+
currentFolder: import('@opencloud-eu/web-client').Resource;
|
|
134
|
+
}) => Promise<import('@opencloud-eu/web-client').Resource>;
|
|
135
|
+
hasPriority?: boolean;
|
|
136
|
+
label?: string | (() => string);
|
|
137
|
+
name?: string;
|
|
138
|
+
icon?: string;
|
|
139
|
+
mimeType?: string;
|
|
140
|
+
newFileMenu?: {
|
|
141
|
+
menuTitle: () => string;
|
|
142
|
+
};
|
|
143
|
+
routeName?: string;
|
|
144
|
+
secureView?: boolean;
|
|
145
|
+
}[]>;
|
|
146
|
+
registerApp: (appInfo: ApplicationInformation, translations?: Translations) => void;
|
|
147
|
+
registerFileExtension: ({ appId, data }: {
|
|
148
|
+
appId: string;
|
|
149
|
+
data: ApplicationFileExtension;
|
|
150
|
+
}) => void;
|
|
151
|
+
loadExternalAppConfig: ({ appId, config }: {
|
|
152
|
+
appId: string;
|
|
153
|
+
config: AppConfigObject;
|
|
154
|
+
}) => void;
|
|
155
|
+
isAppEnabled: (appId: string) => boolean;
|
|
156
|
+
}, "registerApp" | "registerFileExtension" | "loadExternalAppConfig" | "isAppEnabled">>;
|
|
157
|
+
export type AppsStore = ReturnType<typeof useAppsStore>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { PublicLinkType } from '@opencloud-eu/web-client';
|
|
2
|
+
export declare const useAuthStore: import('pinia').StoreDefinition<"auth", Pick<{
|
|
3
|
+
accessToken: import('vue').Ref<string, string>;
|
|
4
|
+
idpContextReady: import('vue').Ref<boolean, boolean>;
|
|
5
|
+
userContextReady: import('vue').Ref<boolean, boolean>;
|
|
6
|
+
publicLinkToken: import('vue').Ref<string, string>;
|
|
7
|
+
publicLinkPassword: import('vue').Ref<string, string>;
|
|
8
|
+
publicLinkType: import('vue').Ref<PublicLinkType, PublicLinkType>;
|
|
9
|
+
publicLinkContextReady: import('vue').Ref<boolean, boolean>;
|
|
10
|
+
setAccessToken: (value: string) => void;
|
|
11
|
+
setIdpContextReady: (value: boolean) => void;
|
|
12
|
+
setUserContextReady: (value: boolean) => void;
|
|
13
|
+
setPublicLinkContext: (context: {
|
|
14
|
+
publicLinkToken: string;
|
|
15
|
+
publicLinkPassword: string;
|
|
16
|
+
publicLinkType: PublicLinkType;
|
|
17
|
+
publicLinkContextReady: boolean;
|
|
18
|
+
}) => void;
|
|
19
|
+
clearUserContext: () => void;
|
|
20
|
+
clearPublicLinkContext: () => void;
|
|
21
|
+
}, "publicLinkPassword" | "publicLinkType" | "accessToken" | "idpContextReady" | "userContextReady" | "publicLinkToken" | "publicLinkContextReady">, Pick<{
|
|
22
|
+
accessToken: import('vue').Ref<string, string>;
|
|
23
|
+
idpContextReady: import('vue').Ref<boolean, boolean>;
|
|
24
|
+
userContextReady: import('vue').Ref<boolean, boolean>;
|
|
25
|
+
publicLinkToken: import('vue').Ref<string, string>;
|
|
26
|
+
publicLinkPassword: import('vue').Ref<string, string>;
|
|
27
|
+
publicLinkType: import('vue').Ref<PublicLinkType, PublicLinkType>;
|
|
28
|
+
publicLinkContextReady: import('vue').Ref<boolean, boolean>;
|
|
29
|
+
setAccessToken: (value: string) => void;
|
|
30
|
+
setIdpContextReady: (value: boolean) => void;
|
|
31
|
+
setUserContextReady: (value: boolean) => void;
|
|
32
|
+
setPublicLinkContext: (context: {
|
|
33
|
+
publicLinkToken: string;
|
|
34
|
+
publicLinkPassword: string;
|
|
35
|
+
publicLinkType: PublicLinkType;
|
|
36
|
+
publicLinkContextReady: boolean;
|
|
37
|
+
}) => void;
|
|
38
|
+
clearUserContext: () => void;
|
|
39
|
+
clearPublicLinkContext: () => void;
|
|
40
|
+
}, never>, Pick<{
|
|
41
|
+
accessToken: import('vue').Ref<string, string>;
|
|
42
|
+
idpContextReady: import('vue').Ref<boolean, boolean>;
|
|
43
|
+
userContextReady: import('vue').Ref<boolean, boolean>;
|
|
44
|
+
publicLinkToken: import('vue').Ref<string, string>;
|
|
45
|
+
publicLinkPassword: import('vue').Ref<string, string>;
|
|
46
|
+
publicLinkType: import('vue').Ref<PublicLinkType, PublicLinkType>;
|
|
47
|
+
publicLinkContextReady: import('vue').Ref<boolean, boolean>;
|
|
48
|
+
setAccessToken: (value: string) => void;
|
|
49
|
+
setIdpContextReady: (value: boolean) => void;
|
|
50
|
+
setUserContextReady: (value: boolean) => void;
|
|
51
|
+
setPublicLinkContext: (context: {
|
|
52
|
+
publicLinkToken: string;
|
|
53
|
+
publicLinkPassword: string;
|
|
54
|
+
publicLinkType: PublicLinkType;
|
|
55
|
+
publicLinkContextReady: boolean;
|
|
56
|
+
}) => void;
|
|
57
|
+
clearUserContext: () => void;
|
|
58
|
+
clearPublicLinkContext: () => void;
|
|
59
|
+
}, "setAccessToken" | "setIdpContextReady" | "setUserContextReady" | "setPublicLinkContext" | "clearUserContext" | "clearPublicLinkContext">>;
|
|
60
|
+
export type AuthStore = ReturnType<typeof useAuthStore>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as PQueue } from 'p-queue';
|
|
2
|
+
export declare const useAvatarsStore: import('pinia').StoreDefinition<"avatars", Pick<{
|
|
3
|
+
avatarMap: import('vue').Ref<Record<string, string>, Record<string, string>>;
|
|
4
|
+
getAvatar: (userId: string) => string;
|
|
5
|
+
addAvatar: (userId: string, avatar: string) => void;
|
|
6
|
+
removeAvatar: (userId: string) => void;
|
|
7
|
+
reset: () => void;
|
|
8
|
+
avatarsQueue: import('vue').Raw<PQueue<import('node_modules/p-queue/dist/priority-queue').default, import('p-queue').QueueAddOptions>>;
|
|
9
|
+
pendingAvatarsRequests: Map<string, Promise<any>>;
|
|
10
|
+
}, "avatarMap" | "avatarsQueue" | "pendingAvatarsRequests">, Pick<{
|
|
11
|
+
avatarMap: import('vue').Ref<Record<string, string>, Record<string, string>>;
|
|
12
|
+
getAvatar: (userId: string) => string;
|
|
13
|
+
addAvatar: (userId: string, avatar: string) => void;
|
|
14
|
+
removeAvatar: (userId: string) => void;
|
|
15
|
+
reset: () => void;
|
|
16
|
+
avatarsQueue: import('vue').Raw<PQueue<import('node_modules/p-queue/dist/priority-queue').default, import('p-queue').QueueAddOptions>>;
|
|
17
|
+
pendingAvatarsRequests: Map<string, Promise<any>>;
|
|
18
|
+
}, never>, Pick<{
|
|
19
|
+
avatarMap: import('vue').Ref<Record<string, string>, Record<string, string>>;
|
|
20
|
+
getAvatar: (userId: string) => string;
|
|
21
|
+
addAvatar: (userId: string, avatar: string) => void;
|
|
22
|
+
removeAvatar: (userId: string) => void;
|
|
23
|
+
reset: () => void;
|
|
24
|
+
avatarsQueue: import('vue').Raw<PQueue<import('node_modules/p-queue/dist/priority-queue').default, import('p-queue').QueueAddOptions>>;
|
|
25
|
+
pendingAvatarsRequests: Map<string, Promise<any>>;
|
|
26
|
+
}, "reset" | "getAvatar" | "addAvatar" | "removeAvatar">>;
|
|
27
|
+
export type AvatarsStore = ReturnType<typeof useAvatarsStore>;
|