@opencloud-eu/web-pkg 0.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/LICENSE +661 -0
- package/README.md +19 -0
- package/dist/TextEditor-CJlQUXAU.js +794 -0
- package/dist/assets/worker-BBQqm_-D.js +1 -0
- package/dist/assets/worker-BTxctNFM.js +50 -0
- package/dist/assets/worker-DzSy5ndr.js +50 -0
- package/dist/assets/worker-oQBkmUkg.js +50 -0
- package/dist/index-Dwxl8NsB.js +31440 -0
- package/dist/src/apps/index.d.ts +1 -0
- package/dist/src/apps/types.d.ts +118 -0
- package/dist/src/cern/composables/index.d.ts +1 -0
- package/dist/src/cern/composables/useGroupingSettings.d.ts +32 -0
- package/dist/src/cern/index.d.ts +1 -0
- package/dist/src/components/AppBar/AppBar.vue.d.ts +536 -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 +889 -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 +526 -0
- package/dist/src/components/BatchActions.vue.d.ts +125 -0
- package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +93 -0
- package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +138 -0
- package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +29 -0
- package/dist/src/components/ContextActions/index.d.ts +3 -0
- package/dist/src/components/CreateLinkModal.vue.d.ts +126 -0
- package/dist/src/components/CreateShortcutModal.vue.d.ts +603 -0
- package/dist/src/components/CustomComponentTarget.vue.d.ts +16 -0
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +148 -0
- package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +49 -0
- package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +44 -0
- package/dist/src/components/FilesList/ResourceLink.vue.d.ts +78 -0
- package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +384 -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/ResourceTable.vue.d.ts +1411 -0
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +507 -0
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +740 -0
- package/dist/src/components/FilesList/index.d.ts +10 -0
- package/dist/src/components/Filters/DateFilter.vue.d.ts +171 -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 +122 -0
- package/dist/src/components/ItemFilterToggle.vue.d.ts +26 -0
- package/dist/src/components/LinkRoleDropdown.vue.d.ts +40 -0
- package/dist/src/components/LoadingIndicator.vue.d.ts +5 -0
- package/dist/src/components/Modals/DatePickerModal.vue.d.ts +57 -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 +22 -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 +548 -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 +256 -0
- package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +136 -0
- package/dist/src/components/SideBar/Files/index.d.ts +1 -0
- package/dist/src/components/SideBar/SideBar.vue.d.ts +73 -0
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +96 -0
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +24 -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 +26 -0
- package/dist/src/components/Spaces/QuotaModal.vue.d.ts +155 -0
- package/dist/src/components/Spaces/index.d.ts +1 -0
- package/dist/src/components/TextEditor/l18n.d.ts +22 -0
- package/dist/src/components/ViewOptions.vue.d.ts +127 -0
- package/dist/src/components/index.d.ts +27 -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 +28 -0
- package/dist/src/composables/actions/files/useFileActions.d.ts +28 -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 +11 -0
- package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +10 -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 +7 -0
- package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +12 -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/helpers/index.d.ts +3 -0
- package/dist/src/composables/actions/helpers/useFileActionsDeleteResources.d.ts +5 -0
- package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -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 +11 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +6 -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 +48 -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/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 +40 -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 +1 -0
- package/dist/src/composables/keyboardActions/useKeyboardActions.d.ts +39 -0
- package/dist/src/composables/links/index.d.ts +1 -0
- package/dist/src/composables/links/useLinkTypes.d.ts +36 -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 +59 -0
- package/dist/src/composables/piniaStores/capabilities.d.ts +1731 -0
- package/dist/src/composables/piniaStores/clipboard.d.ts +658 -0
- package/dist/src/composables/piniaStores/config/config.d.ts +756 -0
- package/dist/src/composables/piniaStores/config/index.d.ts +2 -0
- package/dist/src/composables/piniaStores/config/types.d.ts +854 -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 +60 -0
- package/dist/src/composables/piniaStores/index.d.ts +14 -0
- package/dist/src/composables/piniaStores/messages.d.ts +125 -0
- package/dist/src/composables/piniaStores/modals.d.ts +1365 -0
- package/dist/src/composables/piniaStores/resources.d.ts +189 -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 +43 -0
- package/dist/src/composables/piniaStores/spaces.d.ts +9061 -0
- package/dist/src/composables/piniaStores/theme.d.ts +1368 -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 +1495 -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 +1 -0
- package/dist/src/composables/selection/useSelectedResources.d.ts +9 -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 +5 -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 +14 -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 +18 -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/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 +9 -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/statusIndicators.d.ts +9 -0
- package/dist/src/helpers/store.d.ts +8 -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 +152 -0
- package/dist/src/services/appProvider/service.d.ts +27 -0
- package/dist/src/services/archiver.d.ts +26 -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 +43 -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 +26 -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 +12 -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 +63 -0
- package/dist/src/services/preview/index.d.ts +2 -0
- package/dist/src/services/preview/previewService.d.ts +28 -0
- package/dist/src/services/preview/types.d.ts +18 -0
- package/dist/src/services/uppy/index.d.ts +1 -0
- package/dist/src/services/uppy/uppyService.d.ts +90 -0
- package/dist/src/types.d.ts +17 -0
- package/dist/src/ui/index.d.ts +1 -0
- package/dist/src/ui/types.d.ts +13 -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 +4 -0
- package/dist/src/utils/objectKeys.d.ts +1 -0
- package/dist/src/utils/types.d.ts +5 -0
- package/dist/vite.config.d.ts +2 -0
- package/dist/web-pkg.js +312 -0
- package/dist/web-pkg.umd.cjs +68 -0
- package/package.json +73 -0
- package/src/index.ts +16 -0
|
@@ -0,0 +1,794 @@
|
|
|
1
|
+
import { d as g, u as h, c as t, a as d, _ as b, r as u, b as k, o as l, e as m } from "./index-Dwxl8NsB.js";
|
|
2
|
+
import { MdPreview as T, MdEditor as L, config as f, XSSPlugin as w } from "md-editor-v3";
|
|
3
|
+
import { useGettext as v } from "vue3-gettext";
|
|
4
|
+
import "@casl/vue";
|
|
5
|
+
import "@opencloud-eu/web-client";
|
|
6
|
+
import "fuse.js";
|
|
7
|
+
import "lodash-es";
|
|
8
|
+
import "axios";
|
|
9
|
+
import "uuid";
|
|
10
|
+
import "@microsoft/fetch-event-source";
|
|
11
|
+
import "vue-concurrency";
|
|
12
|
+
import "luxon";
|
|
13
|
+
import "filesize";
|
|
14
|
+
import "qs";
|
|
15
|
+
import "password-sheriff";
|
|
16
|
+
import "@uppy/core";
|
|
17
|
+
import "@uppy/tus";
|
|
18
|
+
import "@uppy/xhr-upload";
|
|
19
|
+
import "@uppy/drop-target";
|
|
20
|
+
import "pinia";
|
|
21
|
+
import "oidc-client-ts";
|
|
22
|
+
import "p-queue";
|
|
23
|
+
import "@vueuse/core";
|
|
24
|
+
import "dompurify";
|
|
25
|
+
import "mark.js";
|
|
26
|
+
import "vue-router";
|
|
27
|
+
import "portal-vue";
|
|
28
|
+
import z from "screenfull";
|
|
29
|
+
import y from "cropperjs";
|
|
30
|
+
const P = {
|
|
31
|
+
toolbarTips: {
|
|
32
|
+
bold: "Gras",
|
|
33
|
+
underline: "Souligné",
|
|
34
|
+
italic: "Italique",
|
|
35
|
+
strikeThrough: "Barré",
|
|
36
|
+
title: "Titre",
|
|
37
|
+
sub: "Indice",
|
|
38
|
+
sup: "Exposant",
|
|
39
|
+
quote: "Citation",
|
|
40
|
+
unorderedList: "Liste",
|
|
41
|
+
orderedList: "Liste numérique",
|
|
42
|
+
task: "Liste de tâche",
|
|
43
|
+
codeRow: "Code intégré",
|
|
44
|
+
code: "Bloc de code",
|
|
45
|
+
link: "Lien",
|
|
46
|
+
image: "Image",
|
|
47
|
+
table: "Table",
|
|
48
|
+
mermaid: "Organigramme",
|
|
49
|
+
katex: "Formule",
|
|
50
|
+
revoke: "Annuler",
|
|
51
|
+
next: "Refaire",
|
|
52
|
+
save: "Sauvegarder",
|
|
53
|
+
prettier: "Sublimer",
|
|
54
|
+
pageFullscreen: "Passer en pleine page",
|
|
55
|
+
fullscreen: "Passer en plein écran",
|
|
56
|
+
preview: "Prévisualiser",
|
|
57
|
+
htmlPreview: "Prévisualiser le HTML",
|
|
58
|
+
catalog: "Table des matières",
|
|
59
|
+
github: "Code source de l'editeur"
|
|
60
|
+
},
|
|
61
|
+
titleItem: {
|
|
62
|
+
h1: "Titre niveau 1",
|
|
63
|
+
h2: "Titre niveau 2",
|
|
64
|
+
h3: "Titre niveau 3",
|
|
65
|
+
h4: "Titre niveau 4",
|
|
66
|
+
h5: "Titre niveau 5",
|
|
67
|
+
h6: "Titre niveau 6"
|
|
68
|
+
},
|
|
69
|
+
imgTitleItem: {
|
|
70
|
+
link: "Ajouter depuis une url",
|
|
71
|
+
upload: "Télécharger une image",
|
|
72
|
+
clip2upload: "Télécharger et recadrer"
|
|
73
|
+
},
|
|
74
|
+
linkModalTips: {
|
|
75
|
+
linkTitle: "Ajouter un lien",
|
|
76
|
+
imageTitle: "Ajouter une image depuis une url",
|
|
77
|
+
descLabel: "Texte : ",
|
|
78
|
+
descLabelPlaceHolder: "Entrez un texte...",
|
|
79
|
+
urlLabel: "Url : ",
|
|
80
|
+
urlLabelPlaceHolder: "Entrez une url...",
|
|
81
|
+
buttonOK: "Valider"
|
|
82
|
+
},
|
|
83
|
+
clipModalTips: {
|
|
84
|
+
title: "Télécharger et recadrer une image",
|
|
85
|
+
buttonUpload: "Valider"
|
|
86
|
+
},
|
|
87
|
+
copyCode: {
|
|
88
|
+
text: "Copier le code",
|
|
89
|
+
successTips: "Copié",
|
|
90
|
+
failTips: "La copie a échoué!"
|
|
91
|
+
},
|
|
92
|
+
mermaid: {
|
|
93
|
+
flow: "Organigramme",
|
|
94
|
+
sequence: "Chronogramme",
|
|
95
|
+
gantt: "Diagramme de Gantt",
|
|
96
|
+
class: "Diagramme de classes",
|
|
97
|
+
state: "Diagramme d'état",
|
|
98
|
+
pie: "Diagramme circulaire",
|
|
99
|
+
relationship: "Diagramme de relation",
|
|
100
|
+
journey: "Diagramme de tâches"
|
|
101
|
+
},
|
|
102
|
+
katex: {
|
|
103
|
+
inline: "Formule en ligne",
|
|
104
|
+
block: "Formule en bloc"
|
|
105
|
+
},
|
|
106
|
+
footer: {
|
|
107
|
+
markdownTotal: "Nombre de mots",
|
|
108
|
+
scrollAuto: "Défilement synchronisé"
|
|
109
|
+
}
|
|
110
|
+
}, C = {
|
|
111
|
+
toolbarTips: {
|
|
112
|
+
bold: "Fett",
|
|
113
|
+
underline: "Unterstrichen",
|
|
114
|
+
italic: "Kursiv",
|
|
115
|
+
strikeThrough: "Durchgestrichen",
|
|
116
|
+
title: "Titel",
|
|
117
|
+
sub: "Tiefgestellt",
|
|
118
|
+
sup: "Hochgestellt",
|
|
119
|
+
quote: "Zitat",
|
|
120
|
+
unorderedList: "Ungeordnete Liste",
|
|
121
|
+
orderedList: "Geordnete Liste",
|
|
122
|
+
task: "Aufgabenliste",
|
|
123
|
+
codeRow: "Eingebetteter Code",
|
|
124
|
+
code: "Codeblock",
|
|
125
|
+
link: "Link",
|
|
126
|
+
image: "Bild",
|
|
127
|
+
table: "Tabelle",
|
|
128
|
+
mermaid: "Flussdiagramm",
|
|
129
|
+
katex: "Formel",
|
|
130
|
+
revoke: "Rückgängig machen",
|
|
131
|
+
next: "Wiederherstellen",
|
|
132
|
+
save: "Speichern",
|
|
133
|
+
prettier: "Verschönern",
|
|
134
|
+
pageFullscreen: "Vollbildmodus",
|
|
135
|
+
fullscreen: "Vollbild",
|
|
136
|
+
preview: "Vorschau",
|
|
137
|
+
htmlPreview: "HTML Vorschau",
|
|
138
|
+
catalog: "Inhaltsverzeichnis",
|
|
139
|
+
github: "Quellcode des Editors"
|
|
140
|
+
},
|
|
141
|
+
titleItem: {
|
|
142
|
+
h1: "Überschrift Ebene 1",
|
|
143
|
+
h2: "Überschrift Ebene 2",
|
|
144
|
+
h3: "Überschrift Ebene 3",
|
|
145
|
+
h4: "Überschrift Ebene 4",
|
|
146
|
+
h5: "Überschrift Ebene 5",
|
|
147
|
+
h6: "Überschrift Ebene 6"
|
|
148
|
+
},
|
|
149
|
+
imgTitleItem: {
|
|
150
|
+
link: "Bildlink hinzufügen",
|
|
151
|
+
upload: "Bild hochladen",
|
|
152
|
+
clip2upload: "Bild zuschneiden und hochladen"
|
|
153
|
+
},
|
|
154
|
+
linkModalTips: {
|
|
155
|
+
linkTitle: "Link hinzufügen",
|
|
156
|
+
imageTitle: "Bild von URL hinzufügen",
|
|
157
|
+
descLabel: "Text: ",
|
|
158
|
+
descLabelPlaceHolder: "Text eingeben...",
|
|
159
|
+
urlLabel: "URL: ",
|
|
160
|
+
urlLabelPlaceHolder: "URL eingeben...",
|
|
161
|
+
buttonOK: "Bestätigen"
|
|
162
|
+
},
|
|
163
|
+
clipModalTips: {
|
|
164
|
+
title: "Bild zuschneiden und hochladen",
|
|
165
|
+
buttonUpload: "Hochladen"
|
|
166
|
+
},
|
|
167
|
+
copyCode: {
|
|
168
|
+
text: "Code kopieren",
|
|
169
|
+
successTips: "Kopiert!",
|
|
170
|
+
failTips: "Kopieren fehlgeschlagen!"
|
|
171
|
+
},
|
|
172
|
+
mermaid: {
|
|
173
|
+
flow: "Flussdiagramm",
|
|
174
|
+
sequence: "Sequenzdiagramm",
|
|
175
|
+
gantt: "Gantt-Diagramm",
|
|
176
|
+
class: "Klassendiagramm",
|
|
177
|
+
state: "Zustandsdiagramm",
|
|
178
|
+
pie: "Kreisdiagramm",
|
|
179
|
+
relationship: "Beziehungsdiagramm",
|
|
180
|
+
journey: "Reisediagramm"
|
|
181
|
+
},
|
|
182
|
+
katex: {
|
|
183
|
+
inline: "Inline-Formel",
|
|
184
|
+
block: "Blockformel"
|
|
185
|
+
},
|
|
186
|
+
footer: {
|
|
187
|
+
markdownTotal: "Zeichenanzahl",
|
|
188
|
+
scrollAuto: "Automatisches Scrollen"
|
|
189
|
+
}
|
|
190
|
+
}, D = {
|
|
191
|
+
toolbarTips: {
|
|
192
|
+
bold: "Grassetto",
|
|
193
|
+
underline: "Sottolineato",
|
|
194
|
+
italic: "Corsivo",
|
|
195
|
+
strikeThrough: "Barrato",
|
|
196
|
+
title: "Titolo",
|
|
197
|
+
sub: "Indice",
|
|
198
|
+
sup: "Esponente",
|
|
199
|
+
quote: "Citazione",
|
|
200
|
+
unorderedList: "Elenco non ordinato",
|
|
201
|
+
orderedList: "Elenco ordinato",
|
|
202
|
+
task: "Lista di compiti",
|
|
203
|
+
codeRow: "Codice incorporato",
|
|
204
|
+
code: "Blocco di codice",
|
|
205
|
+
link: "Link",
|
|
206
|
+
image: "Immagine",
|
|
207
|
+
table: "Tabella",
|
|
208
|
+
mermaid: "Diagramma",
|
|
209
|
+
katex: "Formula",
|
|
210
|
+
revoke: "Annulla",
|
|
211
|
+
next: "Ripristina",
|
|
212
|
+
save: "Salva",
|
|
213
|
+
prettier: "Formatta",
|
|
214
|
+
pageFullscreen: "Pagina a schermo intero",
|
|
215
|
+
fullscreen: "Schermo intero",
|
|
216
|
+
preview: "Anteprima",
|
|
217
|
+
htmlPreview: "Anteprima HTML",
|
|
218
|
+
catalog: "Indice",
|
|
219
|
+
github: "Codice sorgente dell'editor"
|
|
220
|
+
},
|
|
221
|
+
titleItem: {
|
|
222
|
+
h1: "Intestazione Livello 1",
|
|
223
|
+
h2: "Intestazione Livello 2",
|
|
224
|
+
h3: "Intestazione Livello 3",
|
|
225
|
+
h4: "Intestazione Livello 4",
|
|
226
|
+
h5: "Intestazione Livello 5",
|
|
227
|
+
h6: "Intestazione Livello 6"
|
|
228
|
+
},
|
|
229
|
+
imgTitleItem: {
|
|
230
|
+
link: "Aggiungi link immagine",
|
|
231
|
+
upload: "Carica immagine",
|
|
232
|
+
clip2upload: "Ritaglia e carica immagine"
|
|
233
|
+
},
|
|
234
|
+
linkModalTips: {
|
|
235
|
+
linkTitle: "Aggiungi link",
|
|
236
|
+
imageTitle: "Aggiungi immagine da URL",
|
|
237
|
+
descLabel: "Testo: ",
|
|
238
|
+
descLabelPlaceHolder: "Inserisci il testo...",
|
|
239
|
+
urlLabel: "URL: ",
|
|
240
|
+
urlLabelPlaceHolder: "Inserisci l'URL...",
|
|
241
|
+
buttonOK: "Conferma"
|
|
242
|
+
},
|
|
243
|
+
clipModalTips: {
|
|
244
|
+
title: "Ritaglia e carica immagine",
|
|
245
|
+
buttonUpload: "Carica"
|
|
246
|
+
},
|
|
247
|
+
copyCode: {
|
|
248
|
+
text: "Copia codice",
|
|
249
|
+
successTips: "Copiato!",
|
|
250
|
+
failTips: "Copia fallita!"
|
|
251
|
+
},
|
|
252
|
+
mermaid: {
|
|
253
|
+
flow: "Diagramma di flusso",
|
|
254
|
+
sequence: "Diagramma di sequenza",
|
|
255
|
+
gantt: "Diagramma di Gantt",
|
|
256
|
+
class: "Diagramma di classe",
|
|
257
|
+
state: "Diagramma di stato",
|
|
258
|
+
pie: "Diagramma a torta",
|
|
259
|
+
relationship: "Diagramma di relazione",
|
|
260
|
+
journey: "Diagramma di viaggio"
|
|
261
|
+
},
|
|
262
|
+
katex: {
|
|
263
|
+
inline: "Formula in linea",
|
|
264
|
+
block: "Formula a blocco"
|
|
265
|
+
},
|
|
266
|
+
footer: {
|
|
267
|
+
markdownTotal: "Conteggio parole",
|
|
268
|
+
scrollAuto: "Scorrimento automatico"
|
|
269
|
+
}
|
|
270
|
+
}, I = {
|
|
271
|
+
toolbarTips: {
|
|
272
|
+
bold: "Negrita",
|
|
273
|
+
underline: "Subrayado",
|
|
274
|
+
italic: "Cursiva",
|
|
275
|
+
strikeThrough: "Tachado",
|
|
276
|
+
title: "Título",
|
|
277
|
+
sub: "Subíndice",
|
|
278
|
+
sup: "Superíndice",
|
|
279
|
+
quote: "Cita",
|
|
280
|
+
unorderedList: "Lista desordenada",
|
|
281
|
+
orderedList: "Lista ordenada",
|
|
282
|
+
task: "Lista de tareas",
|
|
283
|
+
codeRow: "Código en línea",
|
|
284
|
+
code: "Bloque de código",
|
|
285
|
+
link: "Enlace",
|
|
286
|
+
image: "Imagen",
|
|
287
|
+
table: "Tabla",
|
|
288
|
+
mermaid: "Diagrama",
|
|
289
|
+
katex: "Fórmula",
|
|
290
|
+
revoke: "Deshacer",
|
|
291
|
+
next: "Rehacer",
|
|
292
|
+
save: "Guardar",
|
|
293
|
+
prettier: "Formatear",
|
|
294
|
+
pageFullscreen: "Página en pantalla completa",
|
|
295
|
+
fullscreen: "Pantalla completa",
|
|
296
|
+
preview: "Vista previa",
|
|
297
|
+
htmlPreview: "Vista previa del HTML",
|
|
298
|
+
catalog: "Índice",
|
|
299
|
+
github: "Código fuente del editor"
|
|
300
|
+
},
|
|
301
|
+
titleItem: {
|
|
302
|
+
h1: "Encabezado de nivel 1",
|
|
303
|
+
h2: "Encabezado de nivel 2",
|
|
304
|
+
h3: "Encabezado de nivel 3",
|
|
305
|
+
h4: "Encabezado de nivel 4",
|
|
306
|
+
h5: "Encabezado de nivel 5",
|
|
307
|
+
h6: "Encabezado de nivel 6"
|
|
308
|
+
},
|
|
309
|
+
imgTitleItem: {
|
|
310
|
+
link: "Agregar enlace de imagen",
|
|
311
|
+
upload: "Subir imagen",
|
|
312
|
+
clip2upload: "Recortar y subir imagen"
|
|
313
|
+
},
|
|
314
|
+
linkModalTips: {
|
|
315
|
+
linkTitle: "Agregar enlace",
|
|
316
|
+
imageTitle: "Agregar imagen desde URL",
|
|
317
|
+
descLabel: "Texto: ",
|
|
318
|
+
descLabelPlaceHolder: "Introduce el texto...",
|
|
319
|
+
urlLabel: "Enlace: ",
|
|
320
|
+
urlLabelPlaceHolder: "Introduce el enlace...",
|
|
321
|
+
buttonOK: "Confirmar"
|
|
322
|
+
},
|
|
323
|
+
clipModalTips: {
|
|
324
|
+
title: "Recortar y subir imagen",
|
|
325
|
+
buttonUpload: "Subir"
|
|
326
|
+
},
|
|
327
|
+
copyCode: {
|
|
328
|
+
text: "Copiar código",
|
|
329
|
+
successTips: "¡Copiado!",
|
|
330
|
+
failTips: "¡Copia fallida!"
|
|
331
|
+
},
|
|
332
|
+
mermaid: {
|
|
333
|
+
flow: "Diagrama de flujo",
|
|
334
|
+
sequence: "Diagrama de secuencia",
|
|
335
|
+
gantt: "Diagrama de Gantt",
|
|
336
|
+
class: "Diagrama de clase",
|
|
337
|
+
state: "Diagrama de estado",
|
|
338
|
+
pie: "Diagrama de pastel",
|
|
339
|
+
relationship: "Diagrama de relación",
|
|
340
|
+
journey: "Diagrama de viaje"
|
|
341
|
+
},
|
|
342
|
+
katex: {
|
|
343
|
+
inline: "Fórmula en línea",
|
|
344
|
+
block: "Fórmula de bloque"
|
|
345
|
+
},
|
|
346
|
+
footer: {
|
|
347
|
+
markdownTotal: "Conteo de letras",
|
|
348
|
+
scrollAuto: "Desplazamiento automático"
|
|
349
|
+
}
|
|
350
|
+
}, x = {
|
|
351
|
+
toolbarTips: {
|
|
352
|
+
bold: "Pogrubienie",
|
|
353
|
+
underline: "Podkreślenie",
|
|
354
|
+
italic: "Kursywa",
|
|
355
|
+
strikeThrough: "Przekreślenie",
|
|
356
|
+
title: "Tytuł",
|
|
357
|
+
sub: "Indeks dolny",
|
|
358
|
+
sup: "Indeks górny",
|
|
359
|
+
quote: "Cytat",
|
|
360
|
+
unorderedList: "Lista nieuporządkowana",
|
|
361
|
+
orderedList: "Lista uporządkowana",
|
|
362
|
+
task: "Lista zadań",
|
|
363
|
+
codeRow: "Wbudowany kod",
|
|
364
|
+
code: "Blok kodu",
|
|
365
|
+
link: "Link",
|
|
366
|
+
image: "Obraz",
|
|
367
|
+
table: "Tabela",
|
|
368
|
+
mermaid: "Schemat przepływu",
|
|
369
|
+
katex: "Formuła",
|
|
370
|
+
revoke: "Cofnij",
|
|
371
|
+
next: "Przywróć",
|
|
372
|
+
save: "Zapisz",
|
|
373
|
+
prettier: "Upiększ",
|
|
374
|
+
pageFullscreen: "Pełny ekran strony",
|
|
375
|
+
fullscreen: "Pełny ekran",
|
|
376
|
+
preview: "Podgląd",
|
|
377
|
+
htmlPreview: "Podgląd HTML",
|
|
378
|
+
catalog: "Spis treści",
|
|
379
|
+
github: "Kod źródłowy edytora"
|
|
380
|
+
},
|
|
381
|
+
titleItem: {
|
|
382
|
+
h1: "Nagłówek poziom 1",
|
|
383
|
+
h2: "Nagłówek poziom 2",
|
|
384
|
+
h3: "Nagłówek poziom 3",
|
|
385
|
+
h4: "Nagłówek poziom 4",
|
|
386
|
+
h5: "Nagłówek poziom 5",
|
|
387
|
+
h6: "Nagłówek poziom 6"
|
|
388
|
+
},
|
|
389
|
+
imgTitleItem: {
|
|
390
|
+
link: "Dodaj link do obrazu",
|
|
391
|
+
upload: "Prześlij obraz",
|
|
392
|
+
clip2upload: "Przytnij i prześlij obraz"
|
|
393
|
+
},
|
|
394
|
+
linkModalTips: {
|
|
395
|
+
linkTitle: "Dodaj link",
|
|
396
|
+
imageTitle: "Dodaj obraz z URL",
|
|
397
|
+
descLabel: "Tekst: ",
|
|
398
|
+
descLabelPlaceHolder: "Wpisz tekst...",
|
|
399
|
+
urlLabel: "URL: ",
|
|
400
|
+
urlLabelPlaceHolder: "Wpisz URL...",
|
|
401
|
+
buttonOK: "Potwierdź"
|
|
402
|
+
},
|
|
403
|
+
clipModalTips: {
|
|
404
|
+
title: "Przytnij i prześlij obraz",
|
|
405
|
+
buttonUpload: "Prześlij"
|
|
406
|
+
},
|
|
407
|
+
copyCode: {
|
|
408
|
+
text: "Skopiuj kod",
|
|
409
|
+
successTips: "Skopiowano!",
|
|
410
|
+
failTips: "Nie udało się skopiować!"
|
|
411
|
+
},
|
|
412
|
+
mermaid: {
|
|
413
|
+
flow: "Schemat przepływu",
|
|
414
|
+
sequence: "Schemat sekwencji",
|
|
415
|
+
gantt: "Wykres Gantta",
|
|
416
|
+
class: "Diagram klas",
|
|
417
|
+
state: "Diagram stanów",
|
|
418
|
+
pie: "Diagram kołowy",
|
|
419
|
+
relationship: "Diagram relacji",
|
|
420
|
+
journey: "Diagram podróży"
|
|
421
|
+
},
|
|
422
|
+
katex: {
|
|
423
|
+
inline: "Formuła inline",
|
|
424
|
+
block: "Formuła blokowa"
|
|
425
|
+
},
|
|
426
|
+
footer: {
|
|
427
|
+
markdownTotal: "Liczba znaków",
|
|
428
|
+
scrollAuto: "Automatyczne przewijanie"
|
|
429
|
+
}
|
|
430
|
+
}, j = {
|
|
431
|
+
toolbarTips: {
|
|
432
|
+
bold: "жирный",
|
|
433
|
+
underline: "подчёркнутый",
|
|
434
|
+
italic: "курсив",
|
|
435
|
+
strikeThrough: "зачёркнутый",
|
|
436
|
+
title: "заголовок",
|
|
437
|
+
sub: "нижний индекс",
|
|
438
|
+
sup: "верхний индекс",
|
|
439
|
+
quote: "цитата",
|
|
440
|
+
unorderedList: "неупорядоченный список",
|
|
441
|
+
orderedList: "упорядоченный список",
|
|
442
|
+
task: "список задач",
|
|
443
|
+
codeRow: "встроенный код",
|
|
444
|
+
code: "блочный код",
|
|
445
|
+
link: "ссылка",
|
|
446
|
+
image: "изображение",
|
|
447
|
+
table: "таблица",
|
|
448
|
+
mermaid: "диаграмма",
|
|
449
|
+
katex: "формула",
|
|
450
|
+
revoke: "отмена",
|
|
451
|
+
next: "вернуть",
|
|
452
|
+
save: "сохранить",
|
|
453
|
+
prettier: "форматировать",
|
|
454
|
+
pageFullscreen: "на всю страницу",
|
|
455
|
+
fullscreen: "на весь экран",
|
|
456
|
+
preview: "превью",
|
|
457
|
+
previewOnly: "только превью",
|
|
458
|
+
htmlPreview: "превью html",
|
|
459
|
+
catalog: "каталог",
|
|
460
|
+
github: "исходный код"
|
|
461
|
+
},
|
|
462
|
+
titleItem: {
|
|
463
|
+
h1: "Заголовок 1-го ур.",
|
|
464
|
+
h2: "Заголовок 2-го ур.",
|
|
465
|
+
h3: "Заголовок 3-го ур.",
|
|
466
|
+
h4: "Заголовок 4-го ур.",
|
|
467
|
+
h5: "Заголовок 5-го ур.",
|
|
468
|
+
h6: "Заголовок 6-го ур."
|
|
469
|
+
},
|
|
470
|
+
imgTitleItem: {
|
|
471
|
+
link: "Добавить ссылку на изображение",
|
|
472
|
+
upload: "Загрузить изображение",
|
|
473
|
+
clip2upload: "Из буфера обмена"
|
|
474
|
+
},
|
|
475
|
+
linkModalTips: {
|
|
476
|
+
linkTitle: "Добавить ссылку",
|
|
477
|
+
imageTitle: "Добавить изображение",
|
|
478
|
+
descLabel: "Описание:",
|
|
479
|
+
descLabelPlaceHolder: "Введите описание...",
|
|
480
|
+
urlLabel: "Ссылка:",
|
|
481
|
+
urlLabelPlaceHolder: "Введите ссылку...",
|
|
482
|
+
buttonOK: "ОК"
|
|
483
|
+
},
|
|
484
|
+
clipModalTips: {
|
|
485
|
+
title: "Обрезать изображение",
|
|
486
|
+
buttonUpload: "Загрузить"
|
|
487
|
+
},
|
|
488
|
+
copyCode: {
|
|
489
|
+
text: "Скопировать",
|
|
490
|
+
successTips: "Скопировано!",
|
|
491
|
+
failTips: "Не удалось скопировать!"
|
|
492
|
+
},
|
|
493
|
+
mermaid: {
|
|
494
|
+
flow: "цепная",
|
|
495
|
+
sequence: "последовательная",
|
|
496
|
+
gantt: "временная",
|
|
497
|
+
class: "структурная",
|
|
498
|
+
state: "статусная",
|
|
499
|
+
pie: "круговая",
|
|
500
|
+
relationship: "реляционная",
|
|
501
|
+
journey: "путешествия"
|
|
502
|
+
},
|
|
503
|
+
katex: {
|
|
504
|
+
inline: "встроенная",
|
|
505
|
+
block: "блочная"
|
|
506
|
+
},
|
|
507
|
+
footer: {
|
|
508
|
+
markdownTotal: "Кол-во символов",
|
|
509
|
+
scrollAuto: "Автопрокрутка"
|
|
510
|
+
}
|
|
511
|
+
}, E = {
|
|
512
|
+
toolbarTips: {
|
|
513
|
+
bold: "太字",
|
|
514
|
+
underline: "下線",
|
|
515
|
+
italic: "斜体",
|
|
516
|
+
strikeThrough: "取り消し線",
|
|
517
|
+
title: "タイトル",
|
|
518
|
+
sub: "下付き文字",
|
|
519
|
+
sup: "上付き文字",
|
|
520
|
+
quote: "引用",
|
|
521
|
+
unorderedList: "番号なし箇条書き",
|
|
522
|
+
orderedList: "番号付の箇条書き",
|
|
523
|
+
task: "タスクリスト",
|
|
524
|
+
codeRow: "インラインコード",
|
|
525
|
+
code: "ブロックコード",
|
|
526
|
+
link: "リンク",
|
|
527
|
+
image: "イメージ",
|
|
528
|
+
table: "テーブル",
|
|
529
|
+
mermaid: "mermaid図",
|
|
530
|
+
katex: "katex数式",
|
|
531
|
+
revoke: "後退",
|
|
532
|
+
next: "前進",
|
|
533
|
+
save: "保存",
|
|
534
|
+
prettier: "フォーマット",
|
|
535
|
+
pageFullscreen: "ブラウザのフルスクリーン",
|
|
536
|
+
fullscreen: "フルスクリーン",
|
|
537
|
+
preview: "プレビュー",
|
|
538
|
+
htmlPreview: "htmlプレビュー",
|
|
539
|
+
catalog: "目次",
|
|
540
|
+
github: "ギットハブ"
|
|
541
|
+
},
|
|
542
|
+
titleItem: {
|
|
543
|
+
h1: "見出し1",
|
|
544
|
+
h2: "見出し2",
|
|
545
|
+
h3: "見出し3",
|
|
546
|
+
h4: "見出し4",
|
|
547
|
+
h5: "見出し5",
|
|
548
|
+
h6: "見出し6"
|
|
549
|
+
},
|
|
550
|
+
imgTitleItem: {
|
|
551
|
+
link: "リンク",
|
|
552
|
+
upload: "アップロード",
|
|
553
|
+
clip2upload: "トリミングアップロード"
|
|
554
|
+
},
|
|
555
|
+
linkModalTips: {
|
|
556
|
+
linkTitle: "追加",
|
|
557
|
+
imageTitle: "イメージ追加",
|
|
558
|
+
descLabel: "リンクの説明:",
|
|
559
|
+
descLabelPlaceHolder: "説明を入力してください...",
|
|
560
|
+
urlLabel: "リンクアドレス:",
|
|
561
|
+
urlLabelPlaceHolder: "リンクを入力してください...",
|
|
562
|
+
buttonOK: "確定"
|
|
563
|
+
},
|
|
564
|
+
clipModalTips: {
|
|
565
|
+
title: "トリミング画像のアップロード",
|
|
566
|
+
buttonUpload: "アップロード"
|
|
567
|
+
},
|
|
568
|
+
copyCode: {
|
|
569
|
+
text: "コードをコピー",
|
|
570
|
+
successTips: "コピー成功!",
|
|
571
|
+
failTips: "コピー失敗!"
|
|
572
|
+
},
|
|
573
|
+
mermaid: {
|
|
574
|
+
flow: "フローチャート",
|
|
575
|
+
sequence: "タイミング図",
|
|
576
|
+
gantt: "ガントチャート",
|
|
577
|
+
class: "クラス図",
|
|
578
|
+
state: "状態図",
|
|
579
|
+
pie: "円グラフ",
|
|
580
|
+
relationship: "関係図",
|
|
581
|
+
journey: "旅路図"
|
|
582
|
+
},
|
|
583
|
+
katex: {
|
|
584
|
+
inline: "インライン数式",
|
|
585
|
+
block: "ブロック数式"
|
|
586
|
+
},
|
|
587
|
+
footer: {
|
|
588
|
+
markdownTotal: "単語数",
|
|
589
|
+
scrollAuto: "同期スクロール"
|
|
590
|
+
}
|
|
591
|
+
}, R = {
|
|
592
|
+
toolbarTips: {
|
|
593
|
+
bold: "tebal",
|
|
594
|
+
underline: "garis bawah",
|
|
595
|
+
italic: "miring",
|
|
596
|
+
strikeThrough: "coret sambung",
|
|
597
|
+
title: "judul",
|
|
598
|
+
sub: "subscript",
|
|
599
|
+
sup: "superscript",
|
|
600
|
+
quote: "quote",
|
|
601
|
+
unorderedList: "daftar tak berurutan",
|
|
602
|
+
orderedList: "daftar berurutan",
|
|
603
|
+
task: "daftar tugas",
|
|
604
|
+
codeRow: "kode inline",
|
|
605
|
+
code: "kode blok",
|
|
606
|
+
link: "tautan",
|
|
607
|
+
image: "gambar",
|
|
608
|
+
table: "tabel",
|
|
609
|
+
mermaid: "mermaid",
|
|
610
|
+
katex: "rumus",
|
|
611
|
+
revoke: "membatalkan",
|
|
612
|
+
next: "membatalkan pembatalan",
|
|
613
|
+
save: "simpan",
|
|
614
|
+
prettier: "penataan",
|
|
615
|
+
pageFullscreen: "layar penuh di halaman",
|
|
616
|
+
fullscreen: "layar penuh",
|
|
617
|
+
preview: "pratinjau",
|
|
618
|
+
htmlPreview: "pratinjau html",
|
|
619
|
+
catalog: "daftar isi",
|
|
620
|
+
github: "kode sumber"
|
|
621
|
+
},
|
|
622
|
+
titleItem: {
|
|
623
|
+
h1: "Judul 1",
|
|
624
|
+
h2: "Judul 2",
|
|
625
|
+
h3: "Judul 3",
|
|
626
|
+
h4: "Judul 4",
|
|
627
|
+
h5: "Judul 5",
|
|
628
|
+
h6: "Judul 6"
|
|
629
|
+
},
|
|
630
|
+
imgTitleItem: {
|
|
631
|
+
link: "Tambahkan Tautan Gambar",
|
|
632
|
+
upload: "Unggah Gambar",
|
|
633
|
+
clip2upload: "Potong dan Unggah"
|
|
634
|
+
},
|
|
635
|
+
linkModalTips: {
|
|
636
|
+
linkTitle: "Tambahkan Tautan",
|
|
637
|
+
imageTitle: "Tambahkan Gambar",
|
|
638
|
+
descLabel: "Deskripsi:",
|
|
639
|
+
descLabelPlaceHolder: "Masukkan deskripsi...",
|
|
640
|
+
urlLabel: "Tautan:",
|
|
641
|
+
urlLabelPlaceHolder: "Masukkan tautan...",
|
|
642
|
+
buttonOK: "OK"
|
|
643
|
+
},
|
|
644
|
+
clipModalTips: {
|
|
645
|
+
title: "Potong dan Unggah Gambar",
|
|
646
|
+
buttonUpload: "Unggah"
|
|
647
|
+
},
|
|
648
|
+
copyCode: {
|
|
649
|
+
text: "Salin",
|
|
650
|
+
successTips: "Tersalin!",
|
|
651
|
+
failTips: "Gagal menyalin!"
|
|
652
|
+
},
|
|
653
|
+
mermaid: {
|
|
654
|
+
flow: "diagram aliran",
|
|
655
|
+
sequence: "diagram urutan",
|
|
656
|
+
gantt: "diagram gantt",
|
|
657
|
+
class: "diagram kelas",
|
|
658
|
+
state: "diagram status",
|
|
659
|
+
pie: "diagram pie",
|
|
660
|
+
relationship: "diagram hubungan",
|
|
661
|
+
journey: "diagram perjalanan"
|
|
662
|
+
},
|
|
663
|
+
katex: {
|
|
664
|
+
inline: "rumus inline",
|
|
665
|
+
block: "rumus blok"
|
|
666
|
+
},
|
|
667
|
+
footer: {
|
|
668
|
+
markdownTotal: "Jumlah Kata",
|
|
669
|
+
scrollAuto: "Gulir Otomatis"
|
|
670
|
+
}
|
|
671
|
+
}, S = {
|
|
672
|
+
zh: "zh-CN",
|
|
673
|
+
fr: "fr-FR",
|
|
674
|
+
ja: "jp-JP",
|
|
675
|
+
id: "id-ID",
|
|
676
|
+
ru: "ru",
|
|
677
|
+
de: "de-DE",
|
|
678
|
+
it: "it-IT",
|
|
679
|
+
es: "es-ES",
|
|
680
|
+
pl: "pl-PL",
|
|
681
|
+
en: "en-US"
|
|
682
|
+
}, F = {
|
|
683
|
+
"fr-FR": P,
|
|
684
|
+
"de-DE": C,
|
|
685
|
+
"it-IT": D,
|
|
686
|
+
"es-ES": I,
|
|
687
|
+
"pl-PL": x,
|
|
688
|
+
ru: j,
|
|
689
|
+
"jp-JP": E,
|
|
690
|
+
"id-ID": R
|
|
691
|
+
}, M = g({
|
|
692
|
+
name: "TextEditor",
|
|
693
|
+
components: { MdEditor: L, MdPreview: T },
|
|
694
|
+
props: {
|
|
695
|
+
applicationConfig: { type: Object, required: !1 },
|
|
696
|
+
currentContent: {
|
|
697
|
+
type: String,
|
|
698
|
+
required: !0
|
|
699
|
+
},
|
|
700
|
+
markdownMode: { type: Boolean, required: !1, default: !1 },
|
|
701
|
+
isReadOnly: { type: Boolean, required: !1, default: !1 },
|
|
702
|
+
resource: { type: Object, required: !1 }
|
|
703
|
+
},
|
|
704
|
+
emits: ["update:currentContent"],
|
|
705
|
+
setup(e) {
|
|
706
|
+
const i = v(), { currentTheme: o } = h(), r = t(() => {
|
|
707
|
+
const { showPreviewOnlyMd: a = !0 } = e.applicationConfig;
|
|
708
|
+
return { showPreviewOnlyMd: a };
|
|
709
|
+
}), n = t(() => {
|
|
710
|
+
var a;
|
|
711
|
+
return e.markdownMode || ["md", "markdown"].includes((a = e.resource) == null ? void 0 : a.extension) || !d(r).showPreviewOnlyMd;
|
|
712
|
+
}), s = t(() => d(o).isDark ? "dark" : "light");
|
|
713
|
+
return f({
|
|
714
|
+
editorConfig: {
|
|
715
|
+
languageUserDefined: F
|
|
716
|
+
},
|
|
717
|
+
editorExtensions: {
|
|
718
|
+
screenfull: {
|
|
719
|
+
instance: z
|
|
720
|
+
},
|
|
721
|
+
cropper: {
|
|
722
|
+
instance: y
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
markdownItPlugins(a) {
|
|
726
|
+
return [
|
|
727
|
+
...a,
|
|
728
|
+
{
|
|
729
|
+
type: "xss",
|
|
730
|
+
plugin: w,
|
|
731
|
+
options: {}
|
|
732
|
+
}
|
|
733
|
+
];
|
|
734
|
+
}
|
|
735
|
+
}), {
|
|
736
|
+
isMarkdown: n,
|
|
737
|
+
theme: s,
|
|
738
|
+
language: i,
|
|
739
|
+
languages: S
|
|
740
|
+
};
|
|
741
|
+
}
|
|
742
|
+
}), U = {
|
|
743
|
+
id: "text-editor-container",
|
|
744
|
+
class: "oc-height-1-1"
|
|
745
|
+
};
|
|
746
|
+
function q(e, i, o, r, n, s) {
|
|
747
|
+
const a = u("md-preview"), c = u("md-editor");
|
|
748
|
+
return l(), k("div", U, [
|
|
749
|
+
e.isReadOnly ? (l(), m(a, {
|
|
750
|
+
key: 0,
|
|
751
|
+
id: "text-editor-preview-component",
|
|
752
|
+
"model-value": e.currentContent,
|
|
753
|
+
"no-katex": "",
|
|
754
|
+
"no-mermaid": "",
|
|
755
|
+
"no-prettier": "",
|
|
756
|
+
"no-upload-img": "",
|
|
757
|
+
"no-highlight": "",
|
|
758
|
+
language: e.languages[e.language.current] || "en-US",
|
|
759
|
+
theme: e.theme,
|
|
760
|
+
"read-only": "",
|
|
761
|
+
toolbars: []
|
|
762
|
+
}, null, 8, ["model-value", "language", "theme"])) : (l(), m(c, {
|
|
763
|
+
key: 1,
|
|
764
|
+
id: "text-editor-component",
|
|
765
|
+
"model-value": e.currentContent,
|
|
766
|
+
"no-katex": "",
|
|
767
|
+
"no-mermaid": "",
|
|
768
|
+
"no-prettier": "",
|
|
769
|
+
"no-upload-img": "",
|
|
770
|
+
"no-highlight": "",
|
|
771
|
+
language: e.languages[e.language.current] || "en-US",
|
|
772
|
+
theme: e.theme,
|
|
773
|
+
preview: e.isMarkdown,
|
|
774
|
+
toolbars: e.isMarkdown ? void 0 : [],
|
|
775
|
+
"toolbars-exclude": [
|
|
776
|
+
"save",
|
|
777
|
+
"katex",
|
|
778
|
+
"github",
|
|
779
|
+
"catalog",
|
|
780
|
+
"mermaid",
|
|
781
|
+
"prettier",
|
|
782
|
+
"fullscreen",
|
|
783
|
+
"htmlPreview",
|
|
784
|
+
"pageFullscreen"
|
|
785
|
+
],
|
|
786
|
+
"read-only": e.isReadOnly,
|
|
787
|
+
onOnChange: i[0] || (i[0] = (p) => e.$emit("update:currentContent", p))
|
|
788
|
+
}, null, 8, ["model-value", "language", "theme", "preview", "toolbars", "read-only"]))
|
|
789
|
+
]);
|
|
790
|
+
}
|
|
791
|
+
const pe = /* @__PURE__ */ b(M, [["render", q]]);
|
|
792
|
+
export {
|
|
793
|
+
pe as default
|
|
794
|
+
};
|