@opencloud-eu/web-pkg 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{TextEditor-CqzAOOm0.js → TextEditor-DjjOAW4z.js} +124 -70
- package/dist/assets/{worker-bk9PAyWf.js → worker-CGWVcik_.js} +28 -28
- package/dist/assets/worker-CvdOYtKy.js +50 -0
- package/dist/assets/{worker-Cgdggo8k.js → worker-DLek5ZML.js} +28 -28
- package/dist/index-R7qeOPe_.js +34105 -0
- package/dist/src/apps/index.d.ts +1 -0
- package/dist/src/apps/types.d.ts +113 -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 +438 -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 +51 -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 +18 -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 +10 -0
- package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +92 -0
- package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +134 -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 +147 -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 +202 -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 +48 -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 +165 -0
- package/dist/src/components/TextEditor/index.d.ts +161 -0
- package/dist/src/components/TextEditor/l18n.d.ts +3 -0
- package/dist/src/components/VersionCheck.vue.d.ts +2 -0
- package/dist/src/components/ViewOptions.vue.d.ts +14 -0
- package/dist/src/components/index.d.ts +29 -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 +12 -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 +21 -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 +249 -242
- package/dist/web-pkg.umd.cjs +52 -52
- package/package.json +6 -7
- package/dist/assets/worker-HJ1GIjJK.js +0 -50
- package/dist/index-Ctidv9Qe.js +0 -34023
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { App, ComponentCustomProperties, Ref } from 'vue';
|
|
2
|
+
import { RouteLocationRaw, Router, RouteRecordRaw } from 'vue-router';
|
|
3
|
+
import { Extension, ExtensionPoint } from '../composables/piniaStores';
|
|
4
|
+
import { IconFillType } from '../helpers';
|
|
5
|
+
import { Ability, Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
6
|
+
import { Language, Translations } from 'vue3-gettext';
|
|
7
|
+
import { Pinia } from 'pinia';
|
|
8
|
+
import { AppProviderService, ArchiverService, ClientService, LoadingService, PasswordPolicyService, PreviewService, UppyService } from '../services';
|
|
9
|
+
import { AuthServiceInterface } from '../composables';
|
|
10
|
+
import { Wormhole } from 'portal-vue/types/types.js';
|
|
11
|
+
export interface GlobalProperties extends ComponentCustomProperties, Language {
|
|
12
|
+
$ability: Ability;
|
|
13
|
+
$appProviderService: AppProviderService;
|
|
14
|
+
$archiverService: ArchiverService;
|
|
15
|
+
$authService: AuthServiceInterface;
|
|
16
|
+
$can: Ability['can'];
|
|
17
|
+
$clientService: ClientService;
|
|
18
|
+
$language: Language;
|
|
19
|
+
$loadingService: LoadingService;
|
|
20
|
+
$pinia: Pinia;
|
|
21
|
+
$previewService: PreviewService;
|
|
22
|
+
$router: Router;
|
|
23
|
+
$uppyService: UppyService;
|
|
24
|
+
$wormhole: Wormhole;
|
|
25
|
+
passwordPolicyService: PasswordPolicyService;
|
|
26
|
+
}
|
|
27
|
+
export interface AppReadyHookArgs {
|
|
28
|
+
globalProperties: GlobalProperties;
|
|
29
|
+
instance?: App;
|
|
30
|
+
portal?: any;
|
|
31
|
+
}
|
|
32
|
+
export interface AppNavigationItem {
|
|
33
|
+
isActive?: () => boolean;
|
|
34
|
+
activeFor?: {
|
|
35
|
+
name?: string;
|
|
36
|
+
path?: string;
|
|
37
|
+
}[];
|
|
38
|
+
isVisible?: () => boolean;
|
|
39
|
+
fillType?: IconFillType;
|
|
40
|
+
icon?: string;
|
|
41
|
+
name: string | (() => string);
|
|
42
|
+
route?: RouteLocationRaw;
|
|
43
|
+
handler?: () => void;
|
|
44
|
+
priority?: number;
|
|
45
|
+
}
|
|
46
|
+
export type AppConfigObject = Record<string, any>;
|
|
47
|
+
export interface ApplicationFileExtension {
|
|
48
|
+
app?: string;
|
|
49
|
+
extension?: string;
|
|
50
|
+
createFileHandler?: (arg: {
|
|
51
|
+
fileName: string;
|
|
52
|
+
space: SpaceResource;
|
|
53
|
+
currentFolder: Resource;
|
|
54
|
+
}) => Promise<Resource>;
|
|
55
|
+
hasPriority?: boolean;
|
|
56
|
+
label?: string | (() => string);
|
|
57
|
+
name?: string;
|
|
58
|
+
icon?: string;
|
|
59
|
+
mimeType?: string;
|
|
60
|
+
newFileMenu?: {
|
|
61
|
+
menuTitle: () => string;
|
|
62
|
+
};
|
|
63
|
+
routeName?: string;
|
|
64
|
+
secureView?: boolean;
|
|
65
|
+
}
|
|
66
|
+
/** ApplicationInformation describes required information of an application */
|
|
67
|
+
export interface ApplicationInformation {
|
|
68
|
+
color?: string;
|
|
69
|
+
id?: string;
|
|
70
|
+
name?: string;
|
|
71
|
+
icon?: string;
|
|
72
|
+
iconFillType?: IconFillType;
|
|
73
|
+
iconColor?: string;
|
|
74
|
+
img?: string;
|
|
75
|
+
meta?: {
|
|
76
|
+
fileSizeLimit?: number;
|
|
77
|
+
};
|
|
78
|
+
extensions?: ApplicationFileExtension[];
|
|
79
|
+
defaultExtension?: string;
|
|
80
|
+
translations?: Translations;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* ApplicationTranslations is a map of language keys to translations
|
|
84
|
+
*/
|
|
85
|
+
export interface ApplicationTranslations {
|
|
86
|
+
[lang: string]: {
|
|
87
|
+
[key: string]: string | string[];
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
/** ClassicApplicationScript reflects classic application script structure */
|
|
91
|
+
export interface ClassicApplicationScript {
|
|
92
|
+
appInfo?: ApplicationInformation;
|
|
93
|
+
routes?: ((args: GlobalProperties) => RouteRecordRaw[]) | RouteRecordRaw[];
|
|
94
|
+
navItems?: ((args: GlobalProperties) => AppNavigationItem[]) | AppNavigationItem[];
|
|
95
|
+
translations?: ApplicationTranslations;
|
|
96
|
+
extensions?: Ref<Extension[]>;
|
|
97
|
+
extensionPoints?: Ref<ExtensionPoint<any>[]>;
|
|
98
|
+
initialize?: () => void;
|
|
99
|
+
ready?: (args: AppReadyHookArgs) => Promise<void> | void;
|
|
100
|
+
mounted?: (args: AppReadyHookArgs) => void;
|
|
101
|
+
setup?: (args: {
|
|
102
|
+
applicationConfig: AppConfigObject;
|
|
103
|
+
}) => ClassicApplicationScript;
|
|
104
|
+
}
|
|
105
|
+
export type ApplicationSetupOptions = {
|
|
106
|
+
applicationConfig: AppConfigObject;
|
|
107
|
+
appName?: string;
|
|
108
|
+
};
|
|
109
|
+
export declare const defineWebApplication: (args: {
|
|
110
|
+
setup: (options: ApplicationSetupOptions) => ClassicApplicationScript;
|
|
111
|
+
}) => {
|
|
112
|
+
setup: (options: ApplicationSetupOptions) => ClassicApplicationScript;
|
|
113
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useGroupingSettings';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IncomingShareResource } from '@opencloud-eu/web-client';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
export declare const useGroupingSettings: ({ sortBy, sortDir }: {
|
|
4
|
+
sortBy: Ref<string>;
|
|
5
|
+
sortDir: Ref<string>;
|
|
6
|
+
}) => {
|
|
7
|
+
groupingSettings: import('vue').ComputedRef<{
|
|
8
|
+
groupingBy: string;
|
|
9
|
+
showGroupingOptions: boolean;
|
|
10
|
+
groupingFunctions: {
|
|
11
|
+
'Name alphabetically': (row: IncomingShareResource) => string;
|
|
12
|
+
'Shared on': (row: IncomingShareResource) => "Older" | "Recently" | "Last month";
|
|
13
|
+
'Share owner': (row: IncomingShareResource) => string;
|
|
14
|
+
None: () => void;
|
|
15
|
+
};
|
|
16
|
+
sortGroups: {
|
|
17
|
+
'Name alphabetically': (groups: {
|
|
18
|
+
name: string;
|
|
19
|
+
}[]) => {
|
|
20
|
+
name: string;
|
|
21
|
+
}[];
|
|
22
|
+
'Shared on': (groups: {
|
|
23
|
+
name: string;
|
|
24
|
+
}[]) => {
|
|
25
|
+
name: string;
|
|
26
|
+
}[];
|
|
27
|
+
'Share owner': (groups: {
|
|
28
|
+
name: string;
|
|
29
|
+
}[]) => {
|
|
30
|
+
name: string;
|
|
31
|
+
}[];
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './composables';
|
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
import { PropType, Ref } from 'vue';
|
|
2
|
+
import { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
3
|
+
import { FolderView } from '../../ui/types';
|
|
4
|
+
import { FileAction } from '../../composables';
|
|
5
|
+
import { BreadcrumbItem } from '@opencloud-eu/design-system/helpers';
|
|
6
|
+
import { RouteLocationRaw } from 'vue-router';
|
|
7
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
viewModeDefault: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: false;
|
|
11
|
+
default: () => "resource-tiles";
|
|
12
|
+
};
|
|
13
|
+
breadcrumbs: {
|
|
14
|
+
type: PropType<BreadcrumbItem[]>;
|
|
15
|
+
default: () => BreadcrumbItem[];
|
|
16
|
+
};
|
|
17
|
+
breadcrumbsContextActionsItems: {
|
|
18
|
+
type: PropType<Resource[]>;
|
|
19
|
+
default: () => Resource[];
|
|
20
|
+
};
|
|
21
|
+
viewModes: {
|
|
22
|
+
type: PropType<FolderView[]>;
|
|
23
|
+
default: () => FolderView[];
|
|
24
|
+
};
|
|
25
|
+
hasBulkActions: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
hasViewOptions: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
hasHiddenFiles: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
hasFileExtensions: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
hasPagination: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
showActionsOnSelection: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
isSideBarOpen: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
batchActionsLoading: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
space: {
|
|
58
|
+
type: PropType<SpaceResource>;
|
|
59
|
+
required: false;
|
|
60
|
+
default: any;
|
|
61
|
+
};
|
|
62
|
+
}>, {
|
|
63
|
+
router: import('vue-router').Router;
|
|
64
|
+
hasSharesNavigation: import('vue').ComputedRef<boolean>;
|
|
65
|
+
batchActions: import('vue').ComputedRef<FileAction[]>;
|
|
66
|
+
showBreadcrumb: import('vue').ComputedRef<boolean>;
|
|
67
|
+
showMobileNav: import('vue').ComputedRef<boolean>;
|
|
68
|
+
breadcrumbMaxWidth: Ref<number, number>;
|
|
69
|
+
breadcrumbTruncationOffset: import('vue').ComputedRef<2 | 3>;
|
|
70
|
+
fileDroppedBreadcrumb: (data: RouteLocationRaw) => void;
|
|
71
|
+
pageTitle: import('vue').ComputedRef<string>;
|
|
72
|
+
selectedResources: import('vue').ComputedRef<Resource[]>;
|
|
73
|
+
isSticky: Ref<boolean, boolean>;
|
|
74
|
+
}, {
|
|
75
|
+
resizeObserver: ResizeObserver;
|
|
76
|
+
limitedScreenSpace: boolean;
|
|
77
|
+
}, {
|
|
78
|
+
showContextActions(): boolean;
|
|
79
|
+
showBatchActions(): boolean;
|
|
80
|
+
selectedResourcesAnnouncement(): string;
|
|
81
|
+
}, {
|
|
82
|
+
onResize(): void;
|
|
83
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
84
|
+
viewModeDefault: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
required: false;
|
|
87
|
+
default: () => "resource-tiles";
|
|
88
|
+
};
|
|
89
|
+
breadcrumbs: {
|
|
90
|
+
type: PropType<BreadcrumbItem[]>;
|
|
91
|
+
default: () => BreadcrumbItem[];
|
|
92
|
+
};
|
|
93
|
+
breadcrumbsContextActionsItems: {
|
|
94
|
+
type: PropType<Resource[]>;
|
|
95
|
+
default: () => Resource[];
|
|
96
|
+
};
|
|
97
|
+
viewModes: {
|
|
98
|
+
type: PropType<FolderView[]>;
|
|
99
|
+
default: () => FolderView[];
|
|
100
|
+
};
|
|
101
|
+
hasBulkActions: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
hasViewOptions: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
hasHiddenFiles: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
hasFileExtensions: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
hasPagination: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
showActionsOnSelection: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
isSideBarOpen: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
batchActionsLoading: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
space: {
|
|
134
|
+
type: PropType<SpaceResource>;
|
|
135
|
+
required: false;
|
|
136
|
+
default: any;
|
|
137
|
+
};
|
|
138
|
+
}>> & Readonly<{}>, {
|
|
139
|
+
space: SpaceResource;
|
|
140
|
+
hasHiddenFiles: boolean;
|
|
141
|
+
hasFileExtensions: boolean;
|
|
142
|
+
hasPagination: boolean;
|
|
143
|
+
viewModeDefault: string;
|
|
144
|
+
viewModes: FolderView[];
|
|
145
|
+
isSideBarOpen: boolean;
|
|
146
|
+
breadcrumbs: BreadcrumbItem[];
|
|
147
|
+
breadcrumbsContextActionsItems: Resource[];
|
|
148
|
+
hasBulkActions: boolean;
|
|
149
|
+
hasViewOptions: boolean;
|
|
150
|
+
showActionsOnSelection: boolean;
|
|
151
|
+
batchActionsLoading: boolean;
|
|
152
|
+
}, {}, {
|
|
153
|
+
BatchActions: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
154
|
+
actions: {
|
|
155
|
+
type: PropType<import('../..').Action[]>;
|
|
156
|
+
required: true;
|
|
157
|
+
};
|
|
158
|
+
actionOptions: {
|
|
159
|
+
type: PropType<import('../..').ActionOptions>;
|
|
160
|
+
required: true;
|
|
161
|
+
};
|
|
162
|
+
limitedScreenSpace: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
required: false;
|
|
166
|
+
};
|
|
167
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
168
|
+
actions: {
|
|
169
|
+
type: PropType<import('../..').Action[]>;
|
|
170
|
+
required: true;
|
|
171
|
+
};
|
|
172
|
+
actionOptions: {
|
|
173
|
+
type: PropType<import('../..').ActionOptions>;
|
|
174
|
+
required: true;
|
|
175
|
+
};
|
|
176
|
+
limitedScreenSpace: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
required: false;
|
|
180
|
+
};
|
|
181
|
+
}>> & Readonly<{}>, {
|
|
182
|
+
limitedScreenSpace: boolean;
|
|
183
|
+
}, {}, {
|
|
184
|
+
ActionMenuItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
185
|
+
action: {
|
|
186
|
+
type: PropType<import('../..').Action>;
|
|
187
|
+
required: true;
|
|
188
|
+
};
|
|
189
|
+
actionOptions: {
|
|
190
|
+
type: PropType<import('../..').ActionOptions>;
|
|
191
|
+
required: true;
|
|
192
|
+
};
|
|
193
|
+
size: {
|
|
194
|
+
type: PropType<"small" | "medium" | "large">;
|
|
195
|
+
required: false;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
appearance: {
|
|
199
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
shortcutHint: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
default: boolean;
|
|
205
|
+
required: false;
|
|
206
|
+
};
|
|
207
|
+
showTooltip: {
|
|
208
|
+
type: BooleanConstructor;
|
|
209
|
+
default: boolean;
|
|
210
|
+
required: false;
|
|
211
|
+
};
|
|
212
|
+
buttonClasses: {
|
|
213
|
+
type: PropType<string[]>;
|
|
214
|
+
default: () => string[];
|
|
215
|
+
};
|
|
216
|
+
}>, {
|
|
217
|
+
componentType: import('vue').ComputedRef<"a" | "button" | "router-link">;
|
|
218
|
+
componentProps: import('vue').ComputedRef<{
|
|
219
|
+
target: "_blank" | "_self";
|
|
220
|
+
href: string;
|
|
221
|
+
to: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
222
|
+
id: string;
|
|
223
|
+
disabled: boolean;
|
|
224
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
225
|
+
}>;
|
|
226
|
+
}, {}, {
|
|
227
|
+
hasExternalImageIcon(): boolean;
|
|
228
|
+
componentListeners(): {
|
|
229
|
+
click?: undefined;
|
|
230
|
+
} | {
|
|
231
|
+
click: (event: Event) => void;
|
|
232
|
+
};
|
|
233
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
234
|
+
action: {
|
|
235
|
+
type: PropType<import('../..').Action>;
|
|
236
|
+
required: true;
|
|
237
|
+
};
|
|
238
|
+
actionOptions: {
|
|
239
|
+
type: PropType<import('../..').ActionOptions>;
|
|
240
|
+
required: true;
|
|
241
|
+
};
|
|
242
|
+
size: {
|
|
243
|
+
type: PropType<"small" | "medium" | "large">;
|
|
244
|
+
required: false;
|
|
245
|
+
default: string;
|
|
246
|
+
};
|
|
247
|
+
appearance: {
|
|
248
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
|
|
249
|
+
default: string;
|
|
250
|
+
};
|
|
251
|
+
shortcutHint: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: boolean;
|
|
254
|
+
required: false;
|
|
255
|
+
};
|
|
256
|
+
showTooltip: {
|
|
257
|
+
type: BooleanConstructor;
|
|
258
|
+
default: boolean;
|
|
259
|
+
required: false;
|
|
260
|
+
};
|
|
261
|
+
buttonClasses: {
|
|
262
|
+
type: PropType<string[]>;
|
|
263
|
+
default: () => string[];
|
|
264
|
+
};
|
|
265
|
+
}>> & Readonly<{}>, {
|
|
266
|
+
size: "small" | "large" | "medium";
|
|
267
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
268
|
+
shortcutHint: boolean;
|
|
269
|
+
showTooltip: boolean;
|
|
270
|
+
buttonClasses: string[];
|
|
271
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
272
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
273
|
+
ContextActions: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
274
|
+
actionOptions: {
|
|
275
|
+
type: PropType<import('../..').FileActionOptions>;
|
|
276
|
+
required: true;
|
|
277
|
+
};
|
|
278
|
+
}>, {
|
|
279
|
+
menuSections: import('vue').ComputedRef<import('..').MenuSection[]>;
|
|
280
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
281
|
+
actionOptions: {
|
|
282
|
+
type: PropType<import('../..').FileActionOptions>;
|
|
283
|
+
required: true;
|
|
284
|
+
};
|
|
285
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
286
|
+
ContextActionMenu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
287
|
+
menuSections: {
|
|
288
|
+
type: PropType<import('..').MenuSection[]>;
|
|
289
|
+
required: true;
|
|
290
|
+
};
|
|
291
|
+
appearance: {
|
|
292
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
|
|
293
|
+
default: string;
|
|
294
|
+
};
|
|
295
|
+
actionOptions: {
|
|
296
|
+
type: PropType<import('../..').ActionOptions>;
|
|
297
|
+
required: true;
|
|
298
|
+
};
|
|
299
|
+
}>, {}, {}, {}, {
|
|
300
|
+
getSectionClasses(index: number): string[];
|
|
301
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
302
|
+
menuSections: {
|
|
303
|
+
type: PropType<import('..').MenuSection[]>;
|
|
304
|
+
required: true;
|
|
305
|
+
};
|
|
306
|
+
appearance: {
|
|
307
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
|
|
308
|
+
default: string;
|
|
309
|
+
};
|
|
310
|
+
actionOptions: {
|
|
311
|
+
type: PropType<import('../..').ActionOptions>;
|
|
312
|
+
required: true;
|
|
313
|
+
};
|
|
314
|
+
}>> & Readonly<{}>, {
|
|
315
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
316
|
+
}, {}, {
|
|
317
|
+
ActionMenuDropItem: import('vue').DefineComponent<{
|
|
318
|
+
menuSectionDrop: import('..').MenuSectionDrop;
|
|
319
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
320
|
+
actionOptions: import('../..').ActionOptions;
|
|
321
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
322
|
+
menuSectionDrop: import('..').MenuSectionDrop;
|
|
323
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
324
|
+
actionOptions: import('../..').ActionOptions;
|
|
325
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
326
|
+
ActionMenuItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
327
|
+
action: {
|
|
328
|
+
type: PropType<import('../..').Action>;
|
|
329
|
+
required: true;
|
|
330
|
+
};
|
|
331
|
+
actionOptions: {
|
|
332
|
+
type: PropType<import('../..').ActionOptions>;
|
|
333
|
+
required: true;
|
|
334
|
+
};
|
|
335
|
+
size: {
|
|
336
|
+
type: PropType<"small" | "medium" | "large">;
|
|
337
|
+
required: false;
|
|
338
|
+
default: string;
|
|
339
|
+
};
|
|
340
|
+
appearance: {
|
|
341
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
|
|
342
|
+
default: string;
|
|
343
|
+
};
|
|
344
|
+
shortcutHint: {
|
|
345
|
+
type: BooleanConstructor;
|
|
346
|
+
default: boolean;
|
|
347
|
+
required: false;
|
|
348
|
+
};
|
|
349
|
+
showTooltip: {
|
|
350
|
+
type: BooleanConstructor;
|
|
351
|
+
default: boolean;
|
|
352
|
+
required: false;
|
|
353
|
+
};
|
|
354
|
+
buttonClasses: {
|
|
355
|
+
type: PropType<string[]>;
|
|
356
|
+
default: () => string[];
|
|
357
|
+
};
|
|
358
|
+
}>, {
|
|
359
|
+
componentType: import('vue').ComputedRef<"a" | "button" | "router-link">;
|
|
360
|
+
componentProps: import('vue').ComputedRef<{
|
|
361
|
+
target: "_blank" | "_self";
|
|
362
|
+
href: string;
|
|
363
|
+
to: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
364
|
+
id: string;
|
|
365
|
+
disabled: boolean;
|
|
366
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
367
|
+
}>;
|
|
368
|
+
}, {}, {
|
|
369
|
+
hasExternalImageIcon(): boolean;
|
|
370
|
+
componentListeners(): {
|
|
371
|
+
click?: undefined;
|
|
372
|
+
} | {
|
|
373
|
+
click: (event: Event) => void;
|
|
374
|
+
};
|
|
375
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
376
|
+
action: {
|
|
377
|
+
type: PropType<import('../..').Action>;
|
|
378
|
+
required: true;
|
|
379
|
+
};
|
|
380
|
+
actionOptions: {
|
|
381
|
+
type: PropType<import('../..').ActionOptions>;
|
|
382
|
+
required: true;
|
|
383
|
+
};
|
|
384
|
+
size: {
|
|
385
|
+
type: PropType<"small" | "medium" | "large">;
|
|
386
|
+
required: false;
|
|
387
|
+
default: string;
|
|
388
|
+
};
|
|
389
|
+
appearance: {
|
|
390
|
+
type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
|
|
391
|
+
default: string;
|
|
392
|
+
};
|
|
393
|
+
shortcutHint: {
|
|
394
|
+
type: BooleanConstructor;
|
|
395
|
+
default: boolean;
|
|
396
|
+
required: false;
|
|
397
|
+
};
|
|
398
|
+
showTooltip: {
|
|
399
|
+
type: BooleanConstructor;
|
|
400
|
+
default: boolean;
|
|
401
|
+
required: false;
|
|
402
|
+
};
|
|
403
|
+
buttonClasses: {
|
|
404
|
+
type: PropType<string[]>;
|
|
405
|
+
default: () => string[];
|
|
406
|
+
};
|
|
407
|
+
}>> & Readonly<{}>, {
|
|
408
|
+
size: "small" | "large" | "medium";
|
|
409
|
+
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
410
|
+
shortcutHint: boolean;
|
|
411
|
+
showTooltip: boolean;
|
|
412
|
+
buttonClasses: string[];
|
|
413
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
414
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
415
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
416
|
+
ViewOptions: import('vue').DefineComponent<{
|
|
417
|
+
perPageStoragePrefix: string;
|
|
418
|
+
hasHiddenFiles?: boolean;
|
|
419
|
+
hasFileExtensions?: boolean;
|
|
420
|
+
hasPagination?: boolean;
|
|
421
|
+
paginationOptions?: string[];
|
|
422
|
+
perPageQueryName?: string;
|
|
423
|
+
perPageDefault?: string;
|
|
424
|
+
viewModeDefault?: string;
|
|
425
|
+
viewModes?: FolderView[];
|
|
426
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
427
|
+
perPageStoragePrefix: string;
|
|
428
|
+
hasHiddenFiles?: boolean;
|
|
429
|
+
hasFileExtensions?: boolean;
|
|
430
|
+
hasPagination?: boolean;
|
|
431
|
+
paginationOptions?: string[];
|
|
432
|
+
perPageQueryName?: string;
|
|
433
|
+
perPageDefault?: string;
|
|
434
|
+
viewModeDefault?: string;
|
|
435
|
+
viewModes?: FolderView[];
|
|
436
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
437
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
438
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
showLabel: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
}>, {
|
|
7
|
+
showCreateSpaceModal: () => void;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "spaceCreated"[], "spaceCreated", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
showLabel: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
onSpaceCreated?: (...args: any[]) => any;
|
|
15
|
+
}>, {
|
|
16
|
+
showLabel: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { defineComponent } from 'vue';
|
|
2
|
+
import { UrlForResourceOptions, FileContentOptions } from '../../composables';
|
|
3
|
+
import { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
applicationId: string;
|
|
6
|
+
urlForResourceOptions?: UrlForResourceOptions;
|
|
7
|
+
fileContentOptions?: FileContentOptions;
|
|
8
|
+
wrappedComponent?: ReturnType<typeof defineComponent>;
|
|
9
|
+
importResourceWithExtension?: (resource: Resource) => string;
|
|
10
|
+
disableAutoSave?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {
|
|
16
|
+
url: string;
|
|
17
|
+
space: SpaceResource;
|
|
18
|
+
resource: Resource;
|
|
19
|
+
activeFiles: Resource[];
|
|
20
|
+
isDirty: boolean;
|
|
21
|
+
isReadOnly: boolean;
|
|
22
|
+
applicationConfig: import('../..').AppConfigObject;
|
|
23
|
+
currentFileContext: import('../..').FileContext;
|
|
24
|
+
currentContent: unknown;
|
|
25
|
+
isFolderLoading: boolean;
|
|
26
|
+
'onUpdate:resource': (value: Resource) => void;
|
|
27
|
+
'onUpdate:currentContent': (value: unknown) => void;
|
|
28
|
+
'onRegister:onDeleteResourceCallback': (value: () => void) => void;
|
|
29
|
+
'onDelete:resource': () => void;
|
|
30
|
+
onSave: () => Promise<void>;
|
|
31
|
+
onClose: () => void;
|
|
32
|
+
loadFolderForFileContext: (context: import('vue').MaybeRef<import('../..').FileContext>) => Promise<void>;
|
|
33
|
+
revokeUrl: (url: string) => void;
|
|
34
|
+
getUrlForResource: (space: SpaceResource, resource: Resource, options?: UrlForResourceOptions) => Promise<string>;
|
|
35
|
+
class: {
|
|
36
|
+
'w-[calc(100%-440px)] hidden xs:block': boolean;
|
|
37
|
+
};
|
|
38
|
+
}): any;
|
|
39
|
+
};
|
|
40
|
+
refs: {};
|
|
41
|
+
rootEl: HTMLElement;
|
|
42
|
+
};
|
|
43
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
44
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defineComponent } from 'vue';
|
|
2
|
+
import { FileContentOptions, UrlForResourceOptions } from '../../composables';
|
|
3
|
+
import { Resource } from '@opencloud-eu/web-client';
|
|
4
|
+
export declare function AppWrapperRoute(fileEditor: ReturnType<typeof defineComponent>, options: {
|
|
5
|
+
applicationId: string;
|
|
6
|
+
urlForResourceOptions?: UrlForResourceOptions;
|
|
7
|
+
fileContentOptions?: FileContentOptions;
|
|
8
|
+
importResourceWithExtension?: (resource: Resource) => string;
|
|
9
|
+
disableAutoSave?: boolean;
|
|
10
|
+
}): import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|