@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,147 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ActionOptions } from '../../composables';
|
|
3
|
+
import { AppearanceType, NestedDrop } from '@opencloud-eu/design-system/helpers';
|
|
4
|
+
import { MenuSection } from './types';
|
|
5
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
menuSections: {
|
|
7
|
+
type: PropType<MenuSection[]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
appearance: {
|
|
11
|
+
type: PropType<AppearanceType>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
actionOptions: {
|
|
15
|
+
type: PropType<ActionOptions>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
dropRef: {
|
|
19
|
+
type: PropType<NestedDrop>;
|
|
20
|
+
required: false;
|
|
21
|
+
default: any;
|
|
22
|
+
};
|
|
23
|
+
}>, {}, {}, {}, {
|
|
24
|
+
getSectionClasses(index: number): string[];
|
|
25
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
+
menuSections: {
|
|
27
|
+
type: PropType<MenuSection[]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
appearance: {
|
|
31
|
+
type: PropType<AppearanceType>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
actionOptions: {
|
|
35
|
+
type: PropType<ActionOptions>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
dropRef: {
|
|
39
|
+
type: PropType<NestedDrop>;
|
|
40
|
+
required: false;
|
|
41
|
+
default: any;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{}>, {
|
|
44
|
+
appearance: AppearanceType;
|
|
45
|
+
dropRef: NestedDrop;
|
|
46
|
+
}, {}, {
|
|
47
|
+
ActionMenuDropItem: import('vue').DefineComponent<{
|
|
48
|
+
menuSectionDrop: import('./types').MenuSectionDrop;
|
|
49
|
+
appearance: AppearanceType;
|
|
50
|
+
actionOptions: ActionOptions;
|
|
51
|
+
parentDropRef?: NestedDrop | null;
|
|
52
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
53
|
+
menuSectionDrop: import('./types').MenuSectionDrop;
|
|
54
|
+
appearance: AppearanceType;
|
|
55
|
+
actionOptions: ActionOptions;
|
|
56
|
+
parentDropRef?: NestedDrop | null;
|
|
57
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
58
|
+
ActionMenuItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
59
|
+
action: {
|
|
60
|
+
type: PropType<import('../..').Action>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
actionOptions: {
|
|
64
|
+
type: PropType<ActionOptions>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
size: {
|
|
68
|
+
type: PropType<"small" | "medium" | "large">;
|
|
69
|
+
required: false;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
appearance: {
|
|
73
|
+
type: PropType<AppearanceType>;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
shortcutHint: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
required: false;
|
|
80
|
+
};
|
|
81
|
+
showTooltip: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
required: false;
|
|
85
|
+
};
|
|
86
|
+
buttonClasses: {
|
|
87
|
+
type: PropType<string[]>;
|
|
88
|
+
default: () => string[];
|
|
89
|
+
};
|
|
90
|
+
}>, {
|
|
91
|
+
componentType: import('vue').ComputedRef<"a" | "button" | "router-link">;
|
|
92
|
+
componentProps: import('vue').ComputedRef<{
|
|
93
|
+
target: "_blank" | "_self";
|
|
94
|
+
href: string;
|
|
95
|
+
to: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
96
|
+
id: string;
|
|
97
|
+
disabled: boolean;
|
|
98
|
+
appearance: AppearanceType;
|
|
99
|
+
}>;
|
|
100
|
+
}, {}, {
|
|
101
|
+
hasExternalImageIcon(): boolean;
|
|
102
|
+
componentListeners(): {
|
|
103
|
+
click?: undefined;
|
|
104
|
+
} | {
|
|
105
|
+
click: (event: Event) => void;
|
|
106
|
+
};
|
|
107
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
108
|
+
action: {
|
|
109
|
+
type: PropType<import('../..').Action>;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
actionOptions: {
|
|
113
|
+
type: PropType<ActionOptions>;
|
|
114
|
+
required: true;
|
|
115
|
+
};
|
|
116
|
+
size: {
|
|
117
|
+
type: PropType<"small" | "medium" | "large">;
|
|
118
|
+
required: false;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
appearance: {
|
|
122
|
+
type: PropType<AppearanceType>;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
shortcutHint: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
required: false;
|
|
129
|
+
};
|
|
130
|
+
showTooltip: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
required: false;
|
|
134
|
+
};
|
|
135
|
+
buttonClasses: {
|
|
136
|
+
type: PropType<string[]>;
|
|
137
|
+
default: () => string[];
|
|
138
|
+
};
|
|
139
|
+
}>> & Readonly<{}>, {
|
|
140
|
+
size: "small" | "large" | "medium";
|
|
141
|
+
appearance: AppearanceType;
|
|
142
|
+
shortcutHint: boolean;
|
|
143
|
+
showTooltip: boolean;
|
|
144
|
+
buttonClasses: string[];
|
|
145
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
146
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
147
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Resource } from '@opencloud-eu/web-client';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
item: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
resourceDomSelector: {
|
|
8
|
+
type: FunctionConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
default: (resource: Resource) => string;
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
}>, {
|
|
18
|
+
contextMenuLabel: import('vue').ComputedRef<string>;
|
|
19
|
+
isOpen: import('vue').Ref<boolean, boolean>;
|
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "quickActionClicked"[], "quickActionClicked", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
item: {
|
|
22
|
+
type: ObjectConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
resourceDomSelector: {
|
|
26
|
+
type: FunctionConstructor;
|
|
27
|
+
required: false;
|
|
28
|
+
default: (resource: Resource) => string;
|
|
29
|
+
};
|
|
30
|
+
title: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
required: false;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{
|
|
36
|
+
onQuickActionClicked?: (...args: any[]) => any;
|
|
37
|
+
}>, {
|
|
38
|
+
title: string;
|
|
39
|
+
resourceDomSelector: Function;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as ActionMenuItem } from './ActionMenuItem.vue';
|
|
2
|
+
export { default as ContextActionMenu } from './ContextActionMenu.vue';
|
|
3
|
+
export { default as ContextMenuQuickAction } from './ContextMenuQuickAction.vue';
|
|
4
|
+
export { default as ActionMenuDropItem } from './ActionMenuDropItem.vue';
|
|
5
|
+
export * from './types';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Action } from '../../composables';
|
|
2
|
+
export type MenuSectionDrop = {
|
|
3
|
+
label: string;
|
|
4
|
+
name: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
items?: Action[];
|
|
7
|
+
emptyMessage?: string;
|
|
8
|
+
};
|
|
9
|
+
export type MenuSection = {
|
|
10
|
+
name: string;
|
|
11
|
+
items?: Action[];
|
|
12
|
+
dropItems?: MenuSectionDrop[];
|
|
13
|
+
};
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { DateTime } from 'luxon';
|
|
2
|
+
import { ComponentPublicInstance, PropType } from 'vue';
|
|
3
|
+
import { Modal } from '../composables';
|
|
4
|
+
import { LinkShare, SpaceResource, Resource } from '@opencloud-eu/web-client';
|
|
5
|
+
import { OcButton } from '@opencloud-eu/design-system/components';
|
|
6
|
+
import { SharingLinkType } from '@opencloud-eu/web-client/graph/generated';
|
|
7
|
+
type RoleRef = ComponentPublicInstance<typeof OcButton>;
|
|
8
|
+
interface CallbackArgs {
|
|
9
|
+
result: PromiseSettledResult<LinkShare>[];
|
|
10
|
+
password: string;
|
|
11
|
+
options?: {
|
|
12
|
+
copyPassword?: boolean;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
16
|
+
modal: {
|
|
17
|
+
type: PropType<Modal>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
resources: {
|
|
21
|
+
type: PropType<Resource[]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
space: {
|
|
25
|
+
type: PropType<SpaceResource>;
|
|
26
|
+
default: any;
|
|
27
|
+
};
|
|
28
|
+
callbackFn: {
|
|
29
|
+
type: PropType<(args: CallbackArgs) => Promise<void> | void>;
|
|
30
|
+
default: any;
|
|
31
|
+
};
|
|
32
|
+
}>, {
|
|
33
|
+
roleRefs: import('vue').Ref<Record<string, RoleRef>, Record<string, RoleRef>>;
|
|
34
|
+
password: {
|
|
35
|
+
value: string;
|
|
36
|
+
error: any;
|
|
37
|
+
};
|
|
38
|
+
passwordEnforced: import('vue').ComputedRef<boolean>;
|
|
39
|
+
passwordPolicy: PasswordPolicy;
|
|
40
|
+
generatePasswordMethod: () => string;
|
|
41
|
+
passwordInputKey: import('vue').Ref<string, string>;
|
|
42
|
+
selectedExpiry: import('vue').Ref<DateTime<boolean>, DateTime<boolean>>;
|
|
43
|
+
availableLinkTypes: import('vue').ComputedRef<SharingLinkType[]>;
|
|
44
|
+
selectedType: import('vue').Ref<SharingLinkType, SharingLinkType>;
|
|
45
|
+
selectedTypeIcon: import('vue').ComputedRef<string>;
|
|
46
|
+
selectedTypeDisplayName: import('vue').ComputedRef<string>;
|
|
47
|
+
selectedTypeDescription: import('vue').ComputedRef<string>;
|
|
48
|
+
isSelectedLinkType: (type: SharingLinkType) => boolean;
|
|
49
|
+
updateSelectedLinkType: (type: SharingLinkType) => void;
|
|
50
|
+
updatePassword: (value: string) => void;
|
|
51
|
+
getLinkRoleByType: (type: SharingLinkType) => import('@opencloud-eu/web-client').ShareRole;
|
|
52
|
+
confirmButtonText: import('vue').ComputedRef<string>;
|
|
53
|
+
isAdvancedMode: import('vue').Ref<boolean, boolean>;
|
|
54
|
+
setAdvancedMode: () => void;
|
|
55
|
+
onExpiryDateChanged: ({ date, error }: {
|
|
56
|
+
date: DateTime;
|
|
57
|
+
error: boolean;
|
|
58
|
+
}) => void;
|
|
59
|
+
confirmButtonDisabled: import('vue').ComputedRef<boolean>;
|
|
60
|
+
DateTime: typeof DateTime;
|
|
61
|
+
currentTheme: import('vue').Ref<{
|
|
62
|
+
isDark: boolean;
|
|
63
|
+
label: string;
|
|
64
|
+
name?: string;
|
|
65
|
+
slogan?: string;
|
|
66
|
+
logo?: string;
|
|
67
|
+
logoMobile?: string;
|
|
68
|
+
urls?: {
|
|
69
|
+
accessDeniedHelp?: string;
|
|
70
|
+
imprint?: string;
|
|
71
|
+
privacy?: string;
|
|
72
|
+
accessibility?: string;
|
|
73
|
+
};
|
|
74
|
+
shareRoles?: Record<string, {
|
|
75
|
+
iconName: string;
|
|
76
|
+
}>;
|
|
77
|
+
designTokens?: {
|
|
78
|
+
roles?: Record<string, string>;
|
|
79
|
+
colorPalette?: Record<string, string>;
|
|
80
|
+
fontFamily?: string;
|
|
81
|
+
};
|
|
82
|
+
favicon?: string;
|
|
83
|
+
background?: string;
|
|
84
|
+
}, {
|
|
85
|
+
isDark: boolean;
|
|
86
|
+
label: string;
|
|
87
|
+
name?: string;
|
|
88
|
+
slogan?: string;
|
|
89
|
+
logo?: string;
|
|
90
|
+
logoMobile?: string;
|
|
91
|
+
urls?: {
|
|
92
|
+
accessDeniedHelp?: string;
|
|
93
|
+
imprint?: string;
|
|
94
|
+
privacy?: string;
|
|
95
|
+
accessibility?: string;
|
|
96
|
+
};
|
|
97
|
+
shareRoles?: Record<string, {
|
|
98
|
+
iconName: string;
|
|
99
|
+
}>;
|
|
100
|
+
designTokens?: {
|
|
101
|
+
roles?: Record<string, string>;
|
|
102
|
+
colorPalette?: Record<string, string>;
|
|
103
|
+
fontFamily?: string;
|
|
104
|
+
};
|
|
105
|
+
favicon?: string;
|
|
106
|
+
background?: string;
|
|
107
|
+
}>;
|
|
108
|
+
onConfirm: (options?: {
|
|
109
|
+
copyPassword?: boolean;
|
|
110
|
+
}) => Promise<never>;
|
|
111
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
112
|
+
modal: {
|
|
113
|
+
type: PropType<Modal>;
|
|
114
|
+
required: true;
|
|
115
|
+
};
|
|
116
|
+
resources: {
|
|
117
|
+
type: PropType<Resource[]>;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
space: {
|
|
121
|
+
type: PropType<SpaceResource>;
|
|
122
|
+
default: any;
|
|
123
|
+
};
|
|
124
|
+
callbackFn: {
|
|
125
|
+
type: PropType<(args: CallbackArgs) => Promise<void> | void>;
|
|
126
|
+
default: any;
|
|
127
|
+
};
|
|
128
|
+
}>> & Readonly<{
|
|
129
|
+
onCancel?: (...args: any[]) => any;
|
|
130
|
+
onConfirm?: (...args: any[]) => any;
|
|
131
|
+
}>, {
|
|
132
|
+
space: SpaceResource;
|
|
133
|
+
callbackFn: (args: CallbackArgs) => Promise<void> | void;
|
|
134
|
+
}, {}, {
|
|
135
|
+
LinkRoleDropdown: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
136
|
+
modelValue: {
|
|
137
|
+
type: PropType<SharingLinkType>;
|
|
138
|
+
required: true;
|
|
139
|
+
};
|
|
140
|
+
availableLinkTypeOptions: {
|
|
141
|
+
type: PropType<SharingLinkType[]>;
|
|
142
|
+
required: true;
|
|
143
|
+
};
|
|
144
|
+
}>, {
|
|
145
|
+
isSelectedType: (type: SharingLinkType) => boolean;
|
|
146
|
+
updateSelectedType: (type: SharingLinkType) => void;
|
|
147
|
+
currentLinkRoleLabel: import('vue').ComputedRef<string>;
|
|
148
|
+
dropUuid: string;
|
|
149
|
+
getLinkRoleByType: (type: SharingLinkType) => import('@opencloud-eu/web-client').ShareRole;
|
|
150
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
151
|
+
modelValue: {
|
|
152
|
+
type: PropType<SharingLinkType>;
|
|
153
|
+
required: true;
|
|
154
|
+
};
|
|
155
|
+
availableLinkTypeOptions: {
|
|
156
|
+
type: PropType<SharingLinkType[]>;
|
|
157
|
+
required: true;
|
|
158
|
+
};
|
|
159
|
+
}>> & Readonly<{
|
|
160
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
161
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
162
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
163
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { CustomComponentExtension, ExtensionPoint } from '../composables';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
extensionPoint: {
|
|
5
|
+
type: PropType<ExtensionPoint<CustomComponentExtension>>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {
|
|
9
|
+
extensions: import('vue').ComputedRef<CustomComponentExtension[]>;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
extensionPoint: {
|
|
12
|
+
type: PropType<ExtensionPoint<CustomComponentExtension>>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { FileActionOptions } from '../../composables';
|
|
3
|
+
import { MenuSection } from '../ContextActions';
|
|
4
|
+
import { NestedDrop } from '@opencloud-eu/design-system/helpers';
|
|
5
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
actionOptions: {
|
|
7
|
+
type: PropType<FileActionOptions>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
dropRef: {
|
|
11
|
+
type: PropType<NestedDrop>;
|
|
12
|
+
required: false;
|
|
13
|
+
default: any;
|
|
14
|
+
};
|
|
15
|
+
}>, {
|
|
16
|
+
menuSections: import('vue').ComputedRef<MenuSection[]>;
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
actionOptions: {
|
|
19
|
+
type: PropType<FileActionOptions>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
dropRef: {
|
|
23
|
+
type: PropType<NestedDrop>;
|
|
24
|
+
required: false;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
dropRef: NestedDrop;
|
|
29
|
+
}, {}, {
|
|
30
|
+
ContextActionMenu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
31
|
+
menuSections: {
|
|
32
|
+
type: PropType<MenuSection[]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
appearance: {
|
|
36
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
actionOptions: {
|
|
40
|
+
type: PropType<import('../..').ActionOptions>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
dropRef: {
|
|
44
|
+
type: PropType<NestedDrop>;
|
|
45
|
+
required: false;
|
|
46
|
+
default: any;
|
|
47
|
+
};
|
|
48
|
+
}>, {}, {}, {}, {
|
|
49
|
+
getSectionClasses(index: number): string[];
|
|
50
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
51
|
+
menuSections: {
|
|
52
|
+
type: PropType<MenuSection[]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
appearance: {
|
|
56
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
actionOptions: {
|
|
60
|
+
type: PropType<import('../..').ActionOptions>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
dropRef: {
|
|
64
|
+
type: PropType<NestedDrop>;
|
|
65
|
+
required: false;
|
|
66
|
+
default: any;
|
|
67
|
+
};
|
|
68
|
+
}>> & Readonly<{}>, {
|
|
69
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
70
|
+
dropRef: NestedDrop;
|
|
71
|
+
}, {}, {
|
|
72
|
+
ActionMenuDropItem: import('vue').DefineComponent<{
|
|
73
|
+
menuSectionDrop: import('..').MenuSectionDrop;
|
|
74
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
75
|
+
actionOptions: import('../..').ActionOptions;
|
|
76
|
+
parentDropRef?: NestedDrop | null;
|
|
77
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
78
|
+
menuSectionDrop: import('..').MenuSectionDrop;
|
|
79
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
80
|
+
actionOptions: import('../..').ActionOptions;
|
|
81
|
+
parentDropRef?: NestedDrop | null;
|
|
82
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
83
|
+
ActionMenuItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
84
|
+
action: {
|
|
85
|
+
type: PropType<import('../..').Action>;
|
|
86
|
+
required: true;
|
|
87
|
+
};
|
|
88
|
+
actionOptions: {
|
|
89
|
+
type: PropType<import('../..').ActionOptions>;
|
|
90
|
+
required: true;
|
|
91
|
+
};
|
|
92
|
+
size: {
|
|
93
|
+
type: PropType<"small" | "medium" | "large">;
|
|
94
|
+
required: false;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
appearance: {
|
|
98
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
shortcutHint: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
required: false;
|
|
105
|
+
};
|
|
106
|
+
showTooltip: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: boolean;
|
|
109
|
+
required: false;
|
|
110
|
+
};
|
|
111
|
+
buttonClasses: {
|
|
112
|
+
type: PropType<string[]>;
|
|
113
|
+
default: () => string[];
|
|
114
|
+
};
|
|
115
|
+
}>, {
|
|
116
|
+
componentType: import('vue').ComputedRef<"a" | "button" | "router-link">;
|
|
117
|
+
componentProps: import('vue').ComputedRef<{
|
|
118
|
+
target: "_blank" | "_self";
|
|
119
|
+
href: string;
|
|
120
|
+
to: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
121
|
+
id: string;
|
|
122
|
+
disabled: boolean;
|
|
123
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
124
|
+
}>;
|
|
125
|
+
}, {}, {
|
|
126
|
+
hasExternalImageIcon(): boolean;
|
|
127
|
+
componentListeners(): {
|
|
128
|
+
click?: undefined;
|
|
129
|
+
} | {
|
|
130
|
+
click: (event: Event) => void;
|
|
131
|
+
};
|
|
132
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
133
|
+
action: {
|
|
134
|
+
type: PropType<import('../..').Action>;
|
|
135
|
+
required: true;
|
|
136
|
+
};
|
|
137
|
+
actionOptions: {
|
|
138
|
+
type: PropType<import('../..').ActionOptions>;
|
|
139
|
+
required: true;
|
|
140
|
+
};
|
|
141
|
+
size: {
|
|
142
|
+
type: PropType<"small" | "medium" | "large">;
|
|
143
|
+
required: false;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
appearance: {
|
|
147
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
shortcutHint: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
required: false;
|
|
154
|
+
};
|
|
155
|
+
showTooltip: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: boolean;
|
|
158
|
+
required: false;
|
|
159
|
+
};
|
|
160
|
+
buttonClasses: {
|
|
161
|
+
type: PropType<string[]>;
|
|
162
|
+
default: () => string[];
|
|
163
|
+
};
|
|
164
|
+
}>> & Readonly<{}>, {
|
|
165
|
+
size: "small" | "large" | "medium";
|
|
166
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
167
|
+
shortcutHint: boolean;
|
|
168
|
+
showTooltip: boolean;
|
|
169
|
+
buttonClasses: string[];
|
|
170
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
171
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
172
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
173
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Resource } from '@opencloud-eu/web-client';
|
|
3
|
+
/**
|
|
4
|
+
* Please head to the OpenCloud web ResourceTable component (https://github.com/opencloud-eu/web/blob/main/packages/web-app-files/src/components/FilesList/ResourceTable.vue) for a demo of the Ghost Element.
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
+
previewItems: {
|
|
8
|
+
type: PropType<Resource[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {
|
|
12
|
+
layerCount(): number;
|
|
13
|
+
showSecondLayer(): boolean;
|
|
14
|
+
showThirdLayer(): boolean;
|
|
15
|
+
itemCount(): number;
|
|
16
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
previewItems: {
|
|
18
|
+
type: PropType<Resource[]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
22
|
+
ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
23
|
+
resource: {
|
|
24
|
+
type: PropType<Resource | import('@opencloud-eu/web-client').SpaceResource>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
size: {
|
|
28
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (value: string) => boolean;
|
|
31
|
+
};
|
|
32
|
+
}>, {
|
|
33
|
+
icon: import('vue').ComputedRef<import('../..').IconType>;
|
|
34
|
+
isSpace: import('vue').ComputedRef<boolean>;
|
|
35
|
+
isFolder: import('vue').ComputedRef<boolean>;
|
|
36
|
+
isDisabledSpace: import('vue').ComputedRef<boolean>;
|
|
37
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
38
|
+
resource: {
|
|
39
|
+
type: PropType<Resource | import('@opencloud-eu/web-client').SpaceResource>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
|
|
44
|
+
default: string;
|
|
45
|
+
validator: (value: string) => boolean;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{}>, {
|
|
48
|
+
size: import('@opencloud-eu/design-system/helpers').SizeType;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
3
|
+
import { SizeType } from '@opencloud-eu/design-system/helpers';
|
|
4
|
+
import { IconType } from '../../helpers/resource/icon';
|
|
5
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
/**
|
|
7
|
+
* The resource to be displayed
|
|
8
|
+
*/
|
|
9
|
+
resource: {
|
|
10
|
+
type: PropType<Resource | SpaceResource>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* The size of the icon. Defaults to large.
|
|
15
|
+
* `xsmall, small, medium, large, xlarge, xxlarge`
|
|
16
|
+
*/
|
|
17
|
+
size: {
|
|
18
|
+
type: PropType<SizeType>;
|
|
19
|
+
default: string;
|
|
20
|
+
validator: (value: string) => boolean;
|
|
21
|
+
};
|
|
22
|
+
}>, {
|
|
23
|
+
icon: import('vue').ComputedRef<IconType>;
|
|
24
|
+
isSpace: import('vue').ComputedRef<boolean>;
|
|
25
|
+
isFolder: import('vue').ComputedRef<boolean>;
|
|
26
|
+
isDisabledSpace: import('vue').ComputedRef<boolean>;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
28
|
+
/**
|
|
29
|
+
* The resource to be displayed
|
|
30
|
+
*/
|
|
31
|
+
resource: {
|
|
32
|
+
type: PropType<Resource | SpaceResource>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The size of the icon. Defaults to large.
|
|
37
|
+
* `xsmall, small, medium, large, xlarge, xxlarge`
|
|
38
|
+
*/
|
|
39
|
+
size: {
|
|
40
|
+
type: PropType<SizeType>;
|
|
41
|
+
default: string;
|
|
42
|
+
validator: (value: string) => boolean;
|
|
43
|
+
};
|
|
44
|
+
}>> & Readonly<{}>, {
|
|
45
|
+
size: SizeType;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
export default _default;
|