@pristy/pristy-libvue 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActivityHistory-BLsSFzfP.js +235 -0
- package/dist/ActivityHistory-BLsSFzfP.js.map +1 -0
- package/dist/AlfrescoApi.d.ts.map +1 -0
- package/dist/BookmarksComponent-i6mFff8y.js +44 -0
- package/dist/BookmarksComponent-i6mFff8y.js.map +1 -0
- package/dist/ChartWrapper-8nl96UQq.js +59 -0
- package/dist/ChartWrapper-8nl96UQq.js.map +1 -0
- package/dist/DisplayFileInDashboardComponent-YSKmRXrK.js +105 -0
- package/dist/DisplayFileInDashboardComponent-YSKmRXrK.js.map +1 -0
- package/dist/ExternalApps-B30MYLdt.js +90 -0
- package/dist/ExternalApps-B30MYLdt.js.map +1 -0
- package/dist/FavoriteList-9cXLdtMh.js +380 -0
- package/dist/FavoriteList-9cXLdtMh.js.map +1 -0
- package/dist/MarkdownComponent-vN01MbFM.js +55 -0
- package/dist/MarkdownComponent-vN01MbFM.js.map +1 -0
- package/dist/PDFComponent-DjEBu0cQ.js +1077 -0
- package/dist/PDFComponent-DjEBu0cQ.js.map +1 -0
- package/dist/PdfCommentService-D5m9OkWV.js +200 -0
- package/dist/PdfCommentService-D5m9OkWV.js.map +1 -0
- package/dist/PdfConfigService-9q_fMJP1.js +17 -0
- package/dist/PdfConfigService-9q_fMJP1.js.map +1 -0
- package/dist/PdfInfoWriter-Bvp327Pn.js +80 -0
- package/dist/PdfInfoWriter-Bvp327Pn.js.map +1 -0
- package/dist/PdfToolsComponent-nHHo5LtF.js +1948 -0
- package/dist/PdfToolsComponent-nHHo5LtF.js.map +1 -0
- package/dist/PlanTreePdfService-r8f9ERs2.js +76 -0
- package/dist/PlanTreePdfService-r8f9ERs2.js.map +1 -0
- package/dist/SearchInput-Dp0N7yZE.js +58 -0
- package/dist/SearchInput-Dp0N7yZE.js.map +1 -0
- package/dist/UnknownBlockType-4VLPDRkN.js +22 -0
- package/dist/UnknownBlockType-4VLPDRkN.js.map +1 -0
- package/dist/components/CodeMirrorBase.vue.d.ts +43 -0
- package/dist/components/CodeMirrorBase.vue.d.ts.map +1 -0
- package/dist/components/CodeMirrorEditor.vue.d.ts +145 -0
- package/dist/components/CodeMirrorEditor.vue.d.ts.map +1 -0
- package/dist/components/DiffViewer.vue.d.ts +37 -0
- package/dist/components/DiffViewer.vue.d.ts.map +1 -0
- package/dist/components/DiffViewerDialog.vue.d.ts +103 -0
- package/dist/components/DiffViewerDialog.vue.d.ts.map +1 -0
- package/dist/components/EditorAppearanceSettings.vue.d.ts +24 -0
- package/dist/components/EditorAppearanceSettings.vue.d.ts.map +1 -0
- package/dist/components/ErrorComponent.vue.d.ts +58 -0
- package/dist/components/ErrorComponent.vue.d.ts.map +1 -0
- package/dist/components/FolderUpload.vue.d.ts +89 -0
- package/dist/components/FolderUpload.vue.d.ts.map +1 -0
- package/dist/components/HelpKeyMessage.vue.d.ts +36 -0
- package/dist/components/HelpKeyMessage.vue.d.ts.map +1 -0
- package/dist/components/IconPickerDialog.vue.d.ts +99 -0
- package/dist/components/IconPickerDialog.vue.d.ts.map +1 -0
- package/dist/components/IndexAwaitOverlay.vue.d.ts +31 -0
- package/dist/components/IndexAwaitOverlay.vue.d.ts.map +1 -0
- package/dist/components/PristyIcon.vue.d.ts +34 -0
- package/dist/components/PristyIcon.vue.d.ts.map +1 -0
- package/dist/components/SelectionStatus.vue.d.ts +56 -0
- package/dist/components/SelectionStatus.vue.d.ts.map +1 -0
- package/dist/components/TreeExplorer.vue.d.ts +93 -0
- package/dist/components/TreeExplorer.vue.d.ts.map +1 -0
- package/dist/components/UploadStatus.vue.d.ts +106 -0
- package/dist/components/UploadStatus.vue.d.ts.map +1 -0
- package/dist/components/UploadTargetInfo.vue.d.ts +14 -0
- package/dist/components/UploadTargetInfo.vue.d.ts.map +1 -0
- package/dist/components/auth/OidcCallback.vue.d.ts +8 -0
- package/dist/components/auth/OidcCallback.vue.d.ts.map +1 -0
- package/dist/components/breadcrumb/BreadCrumbAlfresco.vue.d.ts +119 -0
- package/dist/components/breadcrumb/BreadCrumbAlfresco.vue.d.ts.map +1 -0
- package/dist/components/breadcrumb/ComplexBreadcrumb.vue.d.ts +279 -0
- package/dist/components/breadcrumb/ComplexBreadcrumb.vue.d.ts.map +1 -0
- package/dist/components/breadcrumb/EllipsisBreadcrumb.vue.d.ts +155 -0
- package/dist/components/breadcrumb/EllipsisBreadcrumb.vue.d.ts.map +1 -0
- package/dist/components/chat/ChatInput.vue.d.ts +77 -0
- package/dist/components/chat/ChatInput.vue.d.ts.map +1 -0
- package/dist/components/chat/ChatMessage.vue.d.ts +75 -0
- package/dist/components/chat/ChatMessage.vue.d.ts.map +1 -0
- package/dist/components/chat/ChatPanel.vue.d.ts +481 -0
- package/dist/components/chat/ChatPanel.vue.d.ts.map +1 -0
- package/dist/components/chat/ChatRoomList.vue.d.ts +85 -0
- package/dist/components/chat/ChatRoomList.vue.d.ts.map +1 -0
- package/dist/components/classification/AdminClassificationLauncher.vue.d.ts +19 -0
- package/dist/components/classification/AdminClassificationLauncher.vue.d.ts.map +1 -0
- package/dist/components/classification/AdminClassificationPage.vue.d.ts +827 -0
- package/dist/components/classification/AdminClassificationPage.vue.d.ts.map +1 -0
- package/dist/components/classification/AiLearningPanel.vue.d.ts +41 -0
- package/dist/components/classification/AiLearningPanel.vue.d.ts.map +1 -0
- package/dist/components/classification/AiProcessingBadge.vue.d.ts +29 -0
- package/dist/components/classification/AiProcessingBadge.vue.d.ts.map +1 -0
- package/dist/components/classification/AiSuggestionsPanel.vue.d.ts +93 -0
- package/dist/components/classification/AiSuggestionsPanel.vue.d.ts.map +1 -0
- package/dist/components/classification/ClassificationPlanCreate.vue.d.ts +28 -0
- package/dist/components/classification/ClassificationPlanCreate.vue.d.ts.map +1 -0
- package/dist/components/classification/ClassificationPlanList.vue.d.ts +74 -0
- package/dist/components/classification/ClassificationPlanList.vue.d.ts.map +1 -0
- package/dist/components/classification/DictionaryForm.vue.d.ts +66 -0
- package/dist/components/classification/DictionaryForm.vue.d.ts.map +1 -0
- package/dist/components/classification/EmplacementForm.vue.d.ts +107 -0
- package/dist/components/classification/EmplacementForm.vue.d.ts.map +1 -0
- package/dist/components/classification/FieldForm.vue.d.ts +152 -0
- package/dist/components/classification/FieldForm.vue.d.ts.map +1 -0
- package/dist/components/classification/LexiconForm.vue.d.ts +67 -0
- package/dist/components/classification/LexiconForm.vue.d.ts.map +1 -0
- package/dist/components/classification/MetadataFormFields.vue.d.ts +273 -0
- package/dist/components/classification/MetadataFormFields.vue.d.ts.map +1 -0
- package/dist/components/classification/NatureForm.vue.d.ts +153 -0
- package/dist/components/classification/NatureForm.vue.d.ts.map +1 -0
- package/dist/components/classification/NatureSelector.vue.d.ts +197 -0
- package/dist/components/classification/NatureSelector.vue.d.ts.map +1 -0
- package/dist/components/classification/PlanInformationPanel.vue.d.ts +89 -0
- package/dist/components/classification/PlanInformationPanel.vue.d.ts.map +1 -0
- package/dist/components/classification/PlanSuggestInput.vue.d.ts +84 -0
- package/dist/components/classification/PlanSuggestInput.vue.d.ts.map +1 -0
- package/dist/components/classification/PlanTreePanel.vue.d.ts +79 -0
- package/dist/components/classification/PlanTreePanel.vue.d.ts.map +1 -0
- package/dist/components/classification/UploadPlanPopup.vue.d.ts +354 -0
- package/dist/components/classification/UploadPlanPopup.vue.d.ts.map +1 -0
- package/dist/components/classification/ViewSelectorPopup.vue.d.ts +122 -0
- package/dist/components/classification/ViewSelectorPopup.vue.d.ts.map +1 -0
- package/dist/components/config/AddPairInConfigDialog.vue.d.ts +60 -0
- package/dist/components/config/AddPairInConfigDialog.vue.d.ts.map +1 -0
- package/dist/components/config/ArrayEditor.vue.d.ts +68 -0
- package/dist/components/config/ArrayEditor.vue.d.ts.map +1 -0
- package/dist/components/config/ConfigDatatable.vue.d.ts +77 -0
- package/dist/components/config/ConfigDatatable.vue.d.ts.map +1 -0
- package/dist/components/config/ConfigHealthBanner.vue.d.ts +25 -0
- package/dist/components/config/ConfigHealthBanner.vue.d.ts.map +1 -0
- package/dist/components/config/ConfigItemEditor.vue.d.ts +80 -0
- package/dist/components/config/ConfigItemEditor.vue.d.ts.map +1 -0
- package/dist/components/config/ConfigRawEditor.vue.d.ts +100 -0
- package/dist/components/config/ConfigRawEditor.vue.d.ts.map +1 -0
- package/dist/components/config/ConfigSplitView.vue.d.ts +89 -0
- package/dist/components/config/ConfigSplitView.vue.d.ts.map +1 -0
- package/dist/components/config/ConfigUpload.vue.d.ts +40 -0
- package/dist/components/config/ConfigUpload.vue.d.ts.map +1 -0
- package/dist/components/config/ListVersionConfig.vue.d.ts +130 -0
- package/dist/components/config/ListVersionConfig.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardAdminPage.vue.d.ts +2244 -0
- package/dist/components/dashboard/DashboardAdminPage.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardComponent.vue.d.ts +1498 -0
- package/dist/components/dashboard/DashboardComponent.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardSkeleton.vue.d.ts +17 -0
- package/dist/components/dashboard/DashboardSkeleton.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/BlockConfigEditor.vue.d.ts +1060 -0
- package/dist/components/dashboard/editor/BlockConfigEditor.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/DashboardEditor.vue.d.ts +2095 -0
- package/dist/components/dashboard/editor/DashboardEditor.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/FieldLabel.vue.d.ts +55 -0
- package/dist/components/dashboard/editor/FieldLabel.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/JsonEditorDialog.vue.d.ts +93 -0
- package/dist/components/dashboard/editor/JsonEditorDialog.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/MarkdownEditorDialog.vue.d.ts +102 -0
- package/dist/components/dashboard/editor/MarkdownEditorDialog.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/VersionHistoryDialog.vue.d.ts +101 -0
- package/dist/components/dashboard/editor/VersionHistoryDialog.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/block-configs/BookmarksConfig.vue.d.ts +77 -0
- package/dist/components/dashboard/editor/block-configs/BookmarksConfig.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/block-configs/ChartConfig.vue.d.ts +95 -0
- package/dist/components/dashboard/editor/block-configs/ChartConfig.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/block-configs/ExternalAppsConfig.vue.d.ts +300 -0
- package/dist/components/dashboard/editor/block-configs/ExternalAppsConfig.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/block-configs/FavoritesConfig.vue.d.ts +99 -0
- package/dist/components/dashboard/editor/block-configs/FavoritesConfig.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/block-configs/MarkdownConfig.vue.d.ts +98 -0
- package/dist/components/dashboard/editor/block-configs/MarkdownConfig.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/block-configs/MyActivityConfig.vue.d.ts +80 -0
- package/dist/components/dashboard/editor/block-configs/MyActivityConfig.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/block-configs/NoConfig.vue.d.ts +11 -0
- package/dist/components/dashboard/editor/block-configs/NoConfig.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/block-configs/PdfImageConfig.vue.d.ts +78 -0
- package/dist/components/dashboard/editor/block-configs/PdfImageConfig.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/blockDraft.d.ts.map +1 -0
- package/dist/components/dashboard/editor/grid/BasketPanel.vue.d.ts +80 -0
- package/dist/components/dashboard/editor/grid/BasketPanel.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/grid/BlockTypeSelector.vue.d.ts +56 -0
- package/dist/components/dashboard/editor/grid/BlockTypeSelector.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/grid/GridBlock.vue.d.ts +112 -0
- package/dist/components/dashboard/editor/grid/GridBlock.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/grid/GridEditor.vue.d.ts +164 -0
- package/dist/components/dashboard/editor/grid/GridEditor.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/grid/MinimapPanel.vue.d.ts +72 -0
- package/dist/components/dashboard/editor/grid/MinimapPanel.vue.d.ts.map +1 -0
- package/dist/components/dashboard/editor/validators.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/ActivityHistory.vue.d.ts +86 -0
- package/dist/components/dashboard/widgets/ActivityHistory.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/BookmarksComponent.vue.d.ts +42 -0
- package/dist/components/dashboard/widgets/BookmarksComponent.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/ChartWrapper.vue.d.ts +53 -0
- package/dist/components/dashboard/widgets/ChartWrapper.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/DisplayFileInDashboardComponent.vue.d.ts +351 -0
- package/dist/components/dashboard/widgets/DisplayFileInDashboardComponent.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/ExternalApps.vue.d.ts +47 -0
- package/dist/components/dashboard/widgets/ExternalApps.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/FavoriteFileList.vue.d.ts +68 -0
- package/dist/components/dashboard/widgets/FavoriteFileList.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/FavoriteFolderList.vue.d.ts +65 -0
- package/dist/components/dashboard/widgets/FavoriteFolderList.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/FavoriteList.vue.d.ts +182 -0
- package/dist/components/dashboard/widgets/FavoriteList.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/FavoriteSiteList.vue.d.ts +66 -0
- package/dist/components/dashboard/widgets/FavoriteSiteList.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/MarkdownComponent.vue.d.ts +35 -0
- package/dist/components/dashboard/widgets/MarkdownComponent.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/OnlyImageDisplayed.vue.d.ts +36 -0
- package/dist/components/dashboard/widgets/OnlyImageDisplayed.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/SearchInput.vue.d.ts +42 -0
- package/dist/components/dashboard/widgets/SearchInput.vue.d.ts.map +1 -0
- package/dist/components/dashboard/widgets/UnknownBlockType.vue.d.ts +23 -0
- package/dist/components/dashboard/widgets/UnknownBlockType.vue.d.ts.map +1 -0
- package/dist/components/layouts/AppFooter.vue.d.ts +138 -0
- package/dist/components/layouts/AppFooter.vue.d.ts.map +1 -0
- package/dist/components/layouts/AppLayout.vue.d.ts +927 -0
- package/dist/components/layouts/AppLayout.vue.d.ts.map +1 -0
- package/dist/components/layouts/AppMobileLayout.vue.d.ts +271 -0
- package/dist/components/layouts/AppMobileLayout.vue.d.ts.map +1 -0
- package/dist/components/layouts/AppSidebar.vue.d.ts +223 -0
- package/dist/components/layouts/AppSidebar.vue.d.ts.map +1 -0
- package/dist/components/layouts/AppSubmenu.vue.d.ts +119 -0
- package/dist/components/layouts/AppSubmenu.vue.d.ts.map +1 -0
- package/dist/components/layouts/AppSwitcher.vue.d.ts +87 -0
- package/dist/components/layouts/AppSwitcher.vue.d.ts.map +1 -0
- package/dist/components/layouts/AppTopbar.vue.d.ts +329 -0
- package/dist/components/layouts/AppTopbar.vue.d.ts.map +1 -0
- package/dist/components/layouts/SidebarProfileSection.vue.d.ts +108 -0
- package/dist/components/layouts/SidebarProfileSection.vue.d.ts.map +1 -0
- package/dist/components/menu/ActionMenu.vue.d.ts +35 -0
- package/dist/components/menu/ActionMenu.vue.d.ts.map +1 -0
- package/dist/components/navigation/CardMetadataLines.vue.d.ts +41 -0
- package/dist/components/navigation/CardMetadataLines.vue.d.ts.map +1 -0
- package/dist/components/navigation/ColumnTogglePanel.vue.d.ts +121 -0
- package/dist/components/navigation/ColumnTogglePanel.vue.d.ts.map +1 -0
- package/dist/components/navigation/ContentCompactTableView.vue.d.ts +509 -0
- package/dist/components/navigation/ContentCompactTableView.vue.d.ts.map +1 -0
- package/dist/components/navigation/ContentFiltersHeader.vue.d.ts +100 -0
- package/dist/components/navigation/ContentFiltersHeader.vue.d.ts.map +1 -0
- package/dist/components/navigation/ContentGridView.vue.d.ts +291 -0
- package/dist/components/navigation/ContentGridView.vue.d.ts.map +1 -0
- package/dist/components/navigation/ContentListView.vue.d.ts +242 -0
- package/dist/components/navigation/ContentListView.vue.d.ts.map +1 -0
- package/dist/components/navigation/ContentTableView.vue.d.ts +541 -0
- package/dist/components/navigation/ContentTableView.vue.d.ts.map +1 -0
- package/dist/components/navigation/ContentToolbar.vue.d.ts +51 -0
- package/dist/components/navigation/ContentToolbar.vue.d.ts.map +1 -0
- package/dist/components/navigation/DynamicContentView.vue.d.ts +2026 -0
- package/dist/components/navigation/DynamicContentView.vue.d.ts.map +1 -0
- package/dist/components/navigation/GhostNodeRow.vue.d.ts +68 -0
- package/dist/components/navigation/GhostNodeRow.vue.d.ts.map +1 -0
- package/dist/components/navigation/LayoutSelector.vue.d.ts +35 -0
- package/dist/components/navigation/LayoutSelector.vue.d.ts.map +1 -0
- package/dist/components/navigation/PreviewPanel.vue.d.ts +842 -0
- package/dist/components/navigation/PreviewPanel.vue.d.ts.map +1 -0
- package/dist/components/navigation/SelectionBar.vue.d.ts +149 -0
- package/dist/components/navigation/SelectionBar.vue.d.ts.map +1 -0
- package/dist/components/pagination/PaginatorComponent.vue.d.ts +52 -0
- package/dist/components/pagination/PaginatorComponent.vue.d.ts.map +1 -0
- package/dist/components/pdfTools/PdfToolsComponent.vue.d.ts +259 -0
- package/dist/components/pdfTools/PdfToolsComponent.vue.d.ts.map +1 -0
- package/dist/components/pdfTools/PdfToolsLoading.vue.d.ts +14 -0
- package/dist/components/pdfTools/PdfToolsLoading.vue.d.ts.map +1 -0
- package/dist/components/pdfTools/SaveAsPopup.vue.d.ts +62 -0
- package/dist/components/pdfTools/SaveAsPopup.vue.d.ts.map +1 -0
- package/dist/components/popup/CopyOrMovePopup.vue.d.ts +176 -0
- package/dist/components/popup/CopyOrMovePopup.vue.d.ts.map +1 -0
- package/dist/components/popup/CreateWorkflowPopup.vue.d.ts +104 -0
- package/dist/components/popup/CreateWorkflowPopup.vue.d.ts.map +1 -0
- package/dist/components/popup/ImportNewVersionPopup.vue.d.ts +43 -0
- package/dist/components/popup/ImportNewVersionPopup.vue.d.ts.map +1 -0
- package/dist/components/popup/ImportPopupWithWorker.vue.d.ts +186 -0
- package/dist/components/popup/ImportPopupWithWorker.vue.d.ts.map +1 -0
- package/dist/components/popup/MemberListPopup.vue.d.ts +196 -0
- package/dist/components/popup/MemberListPopup.vue.d.ts.map +1 -0
- package/dist/components/popup/SendMailPopup.vue.d.ts +105 -0
- package/dist/components/popup/SendMailPopup.vue.d.ts.map +1 -0
- package/dist/components/popup/ShareLinkPopup.vue.d.ts +69 -0
- package/dist/components/popup/ShareLinkPopup.vue.d.ts.map +1 -0
- package/dist/components/search/AddCriterionPopup.vue.d.ts +135 -0
- package/dist/components/search/AddCriterionPopup.vue.d.ts.map +1 -0
- package/dist/components/search/AdvancedSearchPanel.vue.d.ts +756 -0
- package/dist/components/search/AdvancedSearchPanel.vue.d.ts.map +1 -0
- package/dist/components/search/AdvancedViewPanel.vue.d.ts +886 -0
- package/dist/components/search/AdvancedViewPanel.vue.d.ts.map +1 -0
- package/dist/components/search/ExactSearch.vue.d.ts +49 -0
- package/dist/components/search/ExactSearch.vue.d.ts.map +1 -0
- package/dist/components/search/FavoriteViewMenu.vue.d.ts +45 -0
- package/dist/components/search/FavoriteViewMenu.vue.d.ts.map +1 -0
- package/dist/components/search/SaveViewPopup.vue.d.ts +127 -0
- package/dist/components/search/SaveViewPopup.vue.d.ts.map +1 -0
- package/dist/components/search/UserViewsFavoritesPanel.vue.d.ts +62 -0
- package/dist/components/search/UserViewsFavoritesPanel.vue.d.ts.map +1 -0
- package/dist/components/search/ViewResultsPanel.vue.d.ts +327 -0
- package/dist/components/search/ViewResultsPanel.vue.d.ts.map +1 -0
- package/dist/components/toast/CustomToastContent.vue.d.ts +76 -0
- package/dist/components/toast/CustomToastContent.vue.d.ts.map +1 -0
- package/dist/components/users/MemberList.vue.d.ts +177 -0
- package/dist/components/users/MemberList.vue.d.ts.map +1 -0
- package/dist/components/viewer/ArchiveViewer.vue.d.ts +117 -0
- package/dist/components/viewer/ArchiveViewer.vue.d.ts.map +1 -0
- package/dist/components/viewer/ArchiveViewerSkeleton.vue.d.ts +17 -0
- package/dist/components/viewer/ArchiveViewerSkeleton.vue.d.ts.map +1 -0
- package/dist/components/viewer/AudioPlayer.vue.d.ts +58 -0
- package/dist/components/viewer/AudioPlayer.vue.d.ts.map +1 -0
- package/dist/components/viewer/CodeMirrorViewer.vue.d.ts +42 -0
- package/dist/components/viewer/CodeMirrorViewer.vue.d.ts.map +1 -0
- package/dist/components/viewer/ImageViewer.vue.d.ts +164 -0
- package/dist/components/viewer/ImageViewer.vue.d.ts.map +1 -0
- package/dist/components/viewer/PDFComponent.vue.d.ts +584 -0
- package/dist/components/viewer/PDFComponent.vue.d.ts.map +1 -0
- package/dist/components/viewer/PdfSignaturePanel.vue.d.ts +40 -0
- package/dist/components/viewer/PdfSignaturePanel.vue.d.ts.map +1 -0
- package/dist/components/viewer/PdfViewerSkeleton.vue.d.ts +17 -0
- package/dist/components/viewer/PdfViewerSkeleton.vue.d.ts.map +1 -0
- package/dist/components/viewer/VideoPlayer.vue.d.ts +116 -0
- package/dist/components/viewer/VideoPlayer.vue.d.ts.map +1 -0
- package/dist/components/viewer/ViewerSkeleton.vue.d.ts +37 -0
- package/dist/components/viewer/ViewerSkeleton.vue.d.ts.map +1 -0
- package/dist/components/viewer/lazyPdfComponents.d.ts +528 -0
- package/dist/components/viewer/lazyPdfComponents.d.ts.map +1 -0
- package/dist/components/views/PredefinedViewsPanel.vue.d.ts +132 -0
- package/dist/components/views/PredefinedViewsPanel.vue.d.ts.map +1 -0
- package/dist/components/views/ViewList.vue.d.ts +78 -0
- package/dist/components/views/ViewList.vue.d.ts.map +1 -0
- package/dist/components/workspace/WorkspaceCard.vue.d.ts +466 -0
- package/dist/components/workspace/WorkspaceCard.vue.d.ts.map +1 -0
- package/dist/components/workspace/WorkspaceList.vue.d.ts +555 -0
- package/dist/components/workspace/WorkspaceList.vue.d.ts.map +1 -0
- package/dist/composables/collabProtocol.d.ts.map +1 -0
- package/dist/composables/editorAppearance.d.ts +65 -0
- package/dist/composables/editorAppearance.d.ts.map +1 -0
- package/dist/composables/editorThemes/buildEditorTheme.d.ts +56 -0
- package/dist/composables/editorThemes/buildEditorTheme.d.ts.map +1 -0
- package/dist/composables/editorThemes/dracula.d.ts +5 -0
- package/dist/composables/editorThemes/dracula.d.ts.map +1 -0
- package/dist/composables/editorThemes/github.d.ts +6 -0
- package/dist/composables/editorThemes/github.d.ts.map +1 -0
- package/dist/composables/editorThemes/nord.d.ts +5 -0
- package/dist/composables/editorThemes/nord.d.ts.map +1 -0
- package/dist/composables/editorThemes/one.d.ts +7 -0
- package/dist/composables/editorThemes/one.d.ts.map +1 -0
- package/dist/composables/editorThemes/pristy.d.ts +6 -0
- package/dist/composables/editorThemes/pristy.d.ts.map +1 -0
- package/dist/composables/editorThemes/solarized.d.ts +6 -0
- package/dist/composables/editorThemes/solarized.d.ts.map +1 -0
- package/dist/composables/useAuth.d.ts.map +1 -0
- package/dist/composables/useChatWebSocket.d.ts.map +1 -0
- package/dist/composables/useClassificationPlan.d.ts.map +1 -0
- package/dist/composables/useCodeMirror.d.ts +57 -0
- package/dist/composables/useCodeMirror.d.ts.map +1 -0
- package/dist/composables/useCollabEditor.d.ts.map +1 -0
- package/dist/composables/useCollabWebSocket.d.ts.map +1 -0
- package/dist/composables/useColumnFilter.d.ts.map +1 -0
- package/dist/composables/useDelayedVisibility.d.ts +29 -0
- package/dist/composables/useDelayedVisibility.d.ts.map +1 -0
- package/dist/composables/useDragDrop.d.ts.map +1 -0
- package/dist/composables/useGhostNodes.d.ts.map +1 -0
- package/dist/composables/useGridValidation.d.ts.map +1 -0
- package/dist/composables/useLayout.d.ts.map +1 -0
- package/dist/composables/useMarkdownPreview.d.ts +77 -0
- package/dist/composables/useMarkdownPreview.d.ts.map +1 -0
- package/dist/composables/useResize.d.ts.map +1 -0
- package/dist/composables/useTheme.d.ts.map +1 -0
- package/dist/directives/assert.d.ts.map +1 -0
- package/dist/dracula-DZ4d0UAj.js +32 -0
- package/dist/dracula-DZ4d0UAj.js.map +1 -0
- package/dist/github-WL9tKr_4.js +57 -0
- package/dist/github-WL9tKr_4.js.map +1 -0
- package/dist/httpClientPatch.d.ts.map +1 -0
- package/dist/i18n/index.d.ts +4423 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/locales/index.d.ts.map +1 -0
- package/dist/index-DJEkd3cy.js +47201 -0
- package/dist/index-DJEkd3cy.js.map +1 -0
- package/dist/index.d.ts +195 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/nord-FqRawSxu.js +32 -0
- package/dist/nord-FqRawSxu.js.map +1 -0
- package/dist/one-CTKKLi-H.js +34 -0
- package/dist/one-CTKKLi-H.js.map +1 -0
- package/dist/pages/ErrorPage.vue.d.ts +29 -0
- package/dist/pages/ErrorPage.vue.d.ts.map +1 -0
- package/dist/pages/LoginPage.vue.d.ts +71 -0
- package/dist/pages/LoginPage.vue.d.ts.map +1 -0
- package/dist/pages/NotFoundPages.vue.d.ts +58 -0
- package/dist/pages/NotFoundPages.vue.d.ts.map +1 -0
- package/dist/plugins/KeycloakPlugin.d.ts.map +1 -0
- package/dist/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +260 -217
- package/dist/pristy-libvue.umd.js +147 -25
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/services/AftsQueryBuilder.d.ts.map +1 -0
- package/dist/services/AiContextService.d.ts +101 -0
- package/dist/services/AiContextService.d.ts.map +1 -0
- package/dist/services/AiImportService.d.ts +208 -0
- package/dist/services/AiImportService.d.ts.map +1 -0
- package/dist/services/AiLearningService.d.ts +79 -0
- package/dist/services/AiLearningService.d.ts.map +1 -0
- package/dist/services/AiMetadataService.d.ts +86 -0
- package/dist/services/AiMetadataService.d.ts.map +1 -0
- package/dist/services/AlfrescoFileService.d.ts.map +1 -0
- package/dist/services/AlfrescoModelService.d.ts.map +1 -0
- package/dist/services/AlfrescoNodeService.d.ts.map +1 -0
- package/dist/services/AlfrescoPermissionService.d.ts.map +1 -0
- package/dist/services/AlfrescoProxyService.d.ts.map +1 -0
- package/dist/services/AppSwitcherService.d.ts.map +1 -0
- package/dist/services/ArchiveService.d.ts +109 -0
- package/dist/services/ArchiveService.d.ts.map +1 -0
- package/dist/services/CapabilitiesService.d.ts.map +1 -0
- package/dist/services/CardMetadataService.d.ts +40 -0
- package/dist/services/CardMetadataService.d.ts.map +1 -0
- package/dist/services/ChatBackendService.d.ts.map +1 -0
- package/dist/services/ClassificationFileService.d.ts.map +1 -0
- package/dist/services/ClassificationFilingService.d.ts +43 -0
- package/dist/services/ClassificationFilingService.d.ts.map +1 -0
- package/dist/services/ClassificationService.d.ts.map +1 -0
- package/dist/services/CollabBackupService.d.ts.map +1 -0
- package/dist/services/CollabService.d.ts.map +1 -0
- package/dist/services/CollaboraAccessService.d.ts.map +1 -0
- package/dist/services/ColumnPreferenceService.d.ts +29 -0
- package/dist/services/ColumnPreferenceService.d.ts.map +1 -0
- package/dist/services/ConfigHealthService.d.ts.map +1 -0
- package/dist/services/ConfigService.d.ts.map +1 -0
- package/dist/services/DashboardService.d.ts +111 -0
- package/dist/services/DashboardService.d.ts.map +1 -0
- package/dist/services/DiffusionService.d.ts.map +1 -0
- package/dist/services/EditorAppearanceService.d.ts +75 -0
- package/dist/services/EditorAppearanceService.d.ts.map +1 -0
- package/dist/services/ErrorService.d.ts.map +1 -0
- package/dist/services/FavoriteService.d.ts.map +1 -0
- package/dist/services/FilingPlanService.d.ts.map +1 -0
- package/dist/services/FormatService.d.ts.map +1 -0
- package/dist/services/GhostMatcher.d.ts.map +1 -0
- package/dist/services/IconeService.d.ts.map +1 -0
- package/dist/services/IndexAwaitService.d.ts +61 -0
- package/dist/services/IndexAwaitService.d.ts.map +1 -0
- package/dist/services/KeyboardShortcutsService.d.ts.map +1 -0
- package/dist/services/LibVueActionService.d.ts.map +1 -0
- package/dist/services/MenuService.d.ts.map +1 -0
- package/dist/services/NodeDragService.d.ts.map +1 -0
- package/dist/services/NodeToMenuItemService.d.ts.map +1 -0
- package/dist/services/PdfCommentService.d.ts +67 -0
- package/dist/services/PdfCommentService.d.ts.map +1 -0
- package/dist/services/PdfConfigService.d.ts.map +1 -0
- package/dist/services/PdfDocumentService.d.ts +81 -0
- package/dist/services/PdfDocumentService.d.ts.map +1 -0
- package/dist/services/PdfFormService.d.ts.map +1 -0
- package/dist/services/PdfInfoWriter.d.ts +19 -0
- package/dist/services/PdfInfoWriter.d.ts.map +1 -0
- package/dist/services/PdfInsertService.d.ts.map +1 -0
- package/dist/services/PdfLinkService.d.ts.map +1 -0
- package/dist/services/PdfRedactionService.d.ts.map +1 -0
- package/dist/services/PdfSearchService.d.ts +69 -0
- package/dist/services/PdfSearchService.d.ts.map +1 -0
- package/dist/services/PdfSignatureService.d.ts.map +1 -0
- package/dist/services/PdfTextService.d.ts.map +1 -0
- package/dist/services/PeopleService.d.ts.map +1 -0
- package/dist/services/PlanSuggestService.d.ts.map +1 -0
- package/dist/services/PlanTreePdfService.d.ts.map +1 -0
- package/dist/services/PreviewService.d.ts.map +1 -0
- package/dist/services/RocketChatAuthService.d.ts.map +1 -0
- package/dist/services/RocketChatService.d.ts.map +1 -0
- package/dist/services/TranslationService.d.ts.map +1 -0
- package/dist/services/UserViewService.d.ts.map +1 -0
- package/dist/services/ViewConfigService.d.ts.map +1 -0
- package/dist/services/WorkflowService.d.ts.map +1 -0
- package/dist/services/WorkspaceConfigService.d.ts +30 -0
- package/dist/services/WorkspaceConfigService.d.ts.map +1 -0
- package/dist/services/WorkspaceService.d.ts.map +1 -0
- package/dist/services/ZipShareService.d.ts +105 -0
- package/dist/services/ZipShareService.d.ts.map +1 -0
- package/dist/services/aliasMap.d.ts.map +1 -0
- package/dist/services/auth/KeycloakAuthProvider.d.ts.map +1 -0
- package/dist/services/auth/OidcAuthProvider.d.ts.map +1 -0
- package/dist/services/auth/__tests__/FakeAuthProvider.d.ts.map +1 -0
- package/dist/services/auth/authProvider.d.ts.map +1 -0
- package/dist/services/auth/buildOidcSettings.d.ts.map +1 -0
- package/dist/services/criteriaLogic.d.ts.map +1 -0
- package/dist/services/userSearchQuery.d.ts.map +1 -0
- package/dist/solarized-B1Axyuuz.js +47 -0
- package/dist/solarized-B1Axyuuz.js.map +1 -0
- package/dist/stores/aiImport.d.ts +43 -0
- package/dist/stores/aiImport.d.ts.map +1 -0
- package/dist/stores/chat.d.ts.map +1 -0
- package/dist/stores/collab.d.ts.map +1 -0
- package/dist/stores/collabora.d.ts.map +1 -0
- package/dist/stores/config.d.ts +344 -0
- package/dist/stores/config.d.ts.map +1 -0
- package/dist/stores/editorAppearance.d.ts +32 -0
- package/dist/stores/editorAppearance.d.ts.map +1 -0
- package/dist/stores/favorites.d.ts.map +1 -0
- package/dist/stores/filingPlan.d.ts.map +1 -0
- package/dist/stores/indexAwait.d.ts.map +1 -0
- package/dist/stores/markdownDocument.d.ts +30 -0
- package/dist/stores/markdownDocument.d.ts.map +1 -0
- package/dist/stores/menu.d.ts.map +1 -0
- package/dist/stores/navigation.d.ts.map +1 -0
- package/dist/stores/paginator.d.ts.map +1 -0
- package/dist/stores/pdfDocument.d.ts +89 -0
- package/dist/stores/pdfDocument.d.ts.map +1 -0
- package/dist/stores/screen.d.ts.map +1 -0
- package/dist/stores/search.d.ts.map +1 -0
- package/dist/stores/selection.d.ts.map +1 -0
- package/dist/stores/taskNotification.d.ts.map +1 -0
- package/dist/stores/upload.d.ts.map +1 -0
- package/dist/stores/user.d.ts.map +1 -0
- package/dist/stores/userPreferences.d.ts.map +1 -0
- package/dist/stores/userView.d.ts.map +1 -0
- package/dist/stores/zipShare.d.ts +54 -0
- package/dist/stores/zipShare.d.ts.map +1 -0
- package/dist/typedef.d.ts.map +1 -0
- package/dist/utils/classificationPlanUtils.d.ts.map +1 -0
- package/dist/utils/indexAwaitReducer.d.ts.map +1 -0
- package/dist/utils/overflowUtils.d.ts.map +1 -0
- package/dist/utils/planTree.d.ts.map +1 -0
- package/dist/utils/treeA11y.d.ts.map +1 -0
- package/dist/utils/workspaceAppearance.d.ts.map +1 -0
- package/dist/workers/upload.worker.d.ts.map +1 -0
- package/package.json +15 -6
- package/dist/ActivityHistory-CSXt9uFw.js +0 -235
- package/dist/ActivityHistory-CSXt9uFw.js.map +0 -1
- package/dist/BookmarksComponent-DqfEIox4.js +0 -44
- package/dist/BookmarksComponent-DqfEIox4.js.map +0 -1
- package/dist/ChartWrapper-B7VmrsEX.js +0 -59
- package/dist/ChartWrapper-B7VmrsEX.js.map +0 -1
- package/dist/DisplayFileInDashboardComponent-BAdDKnJN.js +0 -105
- package/dist/DisplayFileInDashboardComponent-BAdDKnJN.js.map +0 -1
- package/dist/ExternalApps-CQZwIifu.js +0 -90
- package/dist/ExternalApps-CQZwIifu.js.map +0 -1
- package/dist/FavoriteList-CTY_2bWP.js +0 -380
- package/dist/FavoriteList-CTY_2bWP.js.map +0 -1
- package/dist/MarkdownComponent-DWluCXX2.js +0 -56
- package/dist/MarkdownComponent-DWluCXX2.js.map +0 -1
- package/dist/PDFComponent-DhmdtX95.js +0 -987
- package/dist/PDFComponent-DhmdtX95.js.map +0 -1
- package/dist/PdfConfigService-huVsU23i.js +0 -17
- package/dist/PdfConfigService-huVsU23i.js.map +0 -1
- package/dist/PdfToolsComponent-CXuz7xuL.js +0 -1975
- package/dist/PdfToolsComponent-CXuz7xuL.js.map +0 -1
- package/dist/PlanTreePdfService-Ck4hUN2b.js +0 -76
- package/dist/PlanTreePdfService-Ck4hUN2b.js.map +0 -1
- package/dist/SearchInput-57Z8q77p.js +0 -58
- package/dist/SearchInput-57Z8q77p.js.map +0 -1
- package/dist/UnknownBlockType-BtnOApwP.js +0 -22
- package/dist/UnknownBlockType-BtnOApwP.js.map +0 -1
- package/dist/index-Coh4LtRJ.js +0 -44006
- package/dist/index-Coh4LtRJ.js.map +0 -1
- package/dist/src/AlfrescoApi.d.ts.map +0 -1
- package/dist/src/components/CodeMirrorBase.vue.d.ts +0 -34
- package/dist/src/components/CodeMirrorBase.vue.d.ts.map +0 -1
- package/dist/src/components/CodeMirrorEditor.vue.d.ts +0 -21
- package/dist/src/components/CodeMirrorEditor.vue.d.ts.map +0 -1
- package/dist/src/components/DiffViewerDialog.vue.d.ts +0 -18
- package/dist/src/components/DiffViewerDialog.vue.d.ts.map +0 -1
- package/dist/src/components/ErrorComponent.vue.d.ts +0 -34
- package/dist/src/components/ErrorComponent.vue.d.ts.map +0 -1
- package/dist/src/components/FolderUpload.vue.d.ts +0 -69
- package/dist/src/components/FolderUpload.vue.d.ts.map +0 -1
- package/dist/src/components/HelpKeyMessage.vue.d.ts +0 -24
- package/dist/src/components/HelpKeyMessage.vue.d.ts.map +0 -1
- package/dist/src/components/IconPickerDialog.vue.d.ts +0 -63
- package/dist/src/components/IconPickerDialog.vue.d.ts.map +0 -1
- package/dist/src/components/IndexAwaitOverlay.vue.d.ts +0 -12
- package/dist/src/components/IndexAwaitOverlay.vue.d.ts.map +0 -1
- package/dist/src/components/PristyIcon.vue.d.ts +0 -18
- package/dist/src/components/PristyIcon.vue.d.ts.map +0 -1
- package/dist/src/components/SelectionStatus.vue.d.ts +0 -38
- package/dist/src/components/SelectionStatus.vue.d.ts.map +0 -1
- package/dist/src/components/TreeExplorer.vue.d.ts +0 -81
- package/dist/src/components/TreeExplorer.vue.d.ts.map +0 -1
- package/dist/src/components/UploadStatus.vue.d.ts +0 -73
- package/dist/src/components/UploadStatus.vue.d.ts.map +0 -1
- package/dist/src/components/UploadTargetInfo.vue.d.ts +0 -7
- package/dist/src/components/UploadTargetInfo.vue.d.ts.map +0 -1
- package/dist/src/components/auth/OidcCallback.vue.d.ts +0 -4
- package/dist/src/components/auth/OidcCallback.vue.d.ts.map +0 -1
- package/dist/src/components/breadcrumb/BreadCrumbAlfresco.vue.d.ts +0 -84
- package/dist/src/components/breadcrumb/BreadCrumbAlfresco.vue.d.ts.map +0 -1
- package/dist/src/components/breadcrumb/ComplexBreadcrumb.vue.d.ts +0 -234
- package/dist/src/components/breadcrumb/ComplexBreadcrumb.vue.d.ts.map +0 -1
- package/dist/src/components/breadcrumb/EllipsisBreadcrumb.vue.d.ts +0 -122
- package/dist/src/components/breadcrumb/EllipsisBreadcrumb.vue.d.ts.map +0 -1
- package/dist/src/components/chat/ChatInput.vue.d.ts +0 -50
- package/dist/src/components/chat/ChatInput.vue.d.ts.map +0 -1
- package/dist/src/components/chat/ChatMessage.vue.d.ts +0 -41
- package/dist/src/components/chat/ChatMessage.vue.d.ts.map +0 -1
- package/dist/src/components/chat/ChatPanel.vue.d.ts +0 -434
- package/dist/src/components/chat/ChatPanel.vue.d.ts.map +0 -1
- package/dist/src/components/chat/ChatRoomList.vue.d.ts +0 -52
- package/dist/src/components/chat/ChatRoomList.vue.d.ts.map +0 -1
- package/dist/src/components/classification/AdminClassificationLauncher.vue.d.ts +0 -6
- package/dist/src/components/classification/AdminClassificationLauncher.vue.d.ts.map +0 -1
- package/dist/src/components/classification/AdminClassificationPage.vue.d.ts +0 -783
- package/dist/src/components/classification/AdminClassificationPage.vue.d.ts.map +0 -1
- package/dist/src/components/classification/AiSuggestionsPanel.vue.d.ts +0 -12
- package/dist/src/components/classification/AiSuggestionsPanel.vue.d.ts.map +0 -1
- package/dist/src/components/classification/ClassificationPlanCreate.vue.d.ts +0 -6
- package/dist/src/components/classification/ClassificationPlanCreate.vue.d.ts.map +0 -1
- package/dist/src/components/classification/ClassificationPlanList.vue.d.ts +0 -20
- package/dist/src/components/classification/ClassificationPlanList.vue.d.ts.map +0 -1
- package/dist/src/components/classification/DictionaryForm.vue.d.ts +0 -49
- package/dist/src/components/classification/DictionaryForm.vue.d.ts.map +0 -1
- package/dist/src/components/classification/EmplacementForm.vue.d.ts +0 -76
- package/dist/src/components/classification/EmplacementForm.vue.d.ts.map +0 -1
- package/dist/src/components/classification/FieldForm.vue.d.ts +0 -122
- package/dist/src/components/classification/FieldForm.vue.d.ts.map +0 -1
- package/dist/src/components/classification/LexiconForm.vue.d.ts +0 -50
- package/dist/src/components/classification/LexiconForm.vue.d.ts.map +0 -1
- package/dist/src/components/classification/MetadataFormFields.vue.d.ts +0 -188
- package/dist/src/components/classification/MetadataFormFields.vue.d.ts.map +0 -1
- package/dist/src/components/classification/NatureForm.vue.d.ts +0 -125
- package/dist/src/components/classification/NatureForm.vue.d.ts.map +0 -1
- package/dist/src/components/classification/NatureSelector.vue.d.ts +0 -139
- package/dist/src/components/classification/NatureSelector.vue.d.ts.map +0 -1
- package/dist/src/components/classification/PlanInformationPanel.vue.d.ts +0 -58
- package/dist/src/components/classification/PlanInformationPanel.vue.d.ts.map +0 -1
- package/dist/src/components/classification/PlanSuggestInput.vue.d.ts +0 -22
- package/dist/src/components/classification/PlanSuggestInput.vue.d.ts.map +0 -1
- package/dist/src/components/classification/PlanTreePanel.vue.d.ts +0 -47
- package/dist/src/components/classification/PlanTreePanel.vue.d.ts.map +0 -1
- package/dist/src/components/classification/UploadPlanPopup.vue.d.ts +0 -36
- package/dist/src/components/classification/UploadPlanPopup.vue.d.ts.map +0 -1
- package/dist/src/components/classification/ViewSelectorPopup.vue.d.ts +0 -85
- package/dist/src/components/classification/ViewSelectorPopup.vue.d.ts.map +0 -1
- package/dist/src/components/config/AddPairInConfigDialog.vue.d.ts +0 -50
- package/dist/src/components/config/AddPairInConfigDialog.vue.d.ts.map +0 -1
- package/dist/src/components/config/ArrayEditor.vue.d.ts +0 -12
- package/dist/src/components/config/ArrayEditor.vue.d.ts.map +0 -1
- package/dist/src/components/config/ConfigDatatable.vue.d.ts +0 -14
- package/dist/src/components/config/ConfigDatatable.vue.d.ts.map +0 -1
- package/dist/src/components/config/ConfigHealthBanner.vue.d.ts +0 -16
- package/dist/src/components/config/ConfigHealthBanner.vue.d.ts.map +0 -1
- package/dist/src/components/config/ConfigItemEditor.vue.d.ts +0 -12
- package/dist/src/components/config/ConfigItemEditor.vue.d.ts.map +0 -1
- package/dist/src/components/config/ConfigRawEditor.vue.d.ts +0 -80
- package/dist/src/components/config/ConfigRawEditor.vue.d.ts.map +0 -1
- package/dist/src/components/config/ConfigSplitView.vue.d.ts +0 -14
- package/dist/src/components/config/ConfigSplitView.vue.d.ts.map +0 -1
- package/dist/src/components/config/ConfigUpload.vue.d.ts +0 -24
- package/dist/src/components/config/ConfigUpload.vue.d.ts.map +0 -1
- package/dist/src/components/config/ListVersionConfig.vue.d.ts +0 -75
- package/dist/src/components/config/ListVersionConfig.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/DashboardAdminPage.vue.d.ts +0 -2152
- package/dist/src/components/dashboard/DashboardAdminPage.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/DashboardComponent.vue.d.ts +0 -771
- package/dist/src/components/dashboard/DashboardComponent.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/BlockConfigEditor.vue.d.ts +0 -946
- package/dist/src/components/dashboard/editor/BlockConfigEditor.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/DashboardEditor.vue.d.ts +0 -2038
- package/dist/src/components/dashboard/editor/DashboardEditor.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/FieldLabel.vue.d.ts +0 -42
- package/dist/src/components/dashboard/editor/FieldLabel.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/JsonEditorDialog.vue.d.ts +0 -80
- package/dist/src/components/dashboard/editor/JsonEditorDialog.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/MarkdownEditorDialog.vue.d.ts +0 -77
- package/dist/src/components/dashboard/editor/MarkdownEditorDialog.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/VersionHistoryDialog.vue.d.ts +0 -53
- package/dist/src/components/dashboard/editor/VersionHistoryDialog.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/block-configs/BookmarksConfig.vue.d.ts +0 -61
- package/dist/src/components/dashboard/editor/block-configs/BookmarksConfig.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/block-configs/ChartConfig.vue.d.ts +0 -76
- package/dist/src/components/dashboard/editor/block-configs/ChartConfig.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/block-configs/ExternalAppsConfig.vue.d.ts +0 -221
- package/dist/src/components/dashboard/editor/block-configs/ExternalAppsConfig.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/block-configs/FavoritesConfig.vue.d.ts +0 -78
- package/dist/src/components/dashboard/editor/block-configs/FavoritesConfig.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/block-configs/MarkdownConfig.vue.d.ts +0 -72
- package/dist/src/components/dashboard/editor/block-configs/MarkdownConfig.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/block-configs/MyActivityConfig.vue.d.ts +0 -66
- package/dist/src/components/dashboard/editor/block-configs/MyActivityConfig.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/block-configs/NoConfig.vue.d.ts +0 -4
- package/dist/src/components/dashboard/editor/block-configs/NoConfig.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/block-configs/PdfImageConfig.vue.d.ts +0 -60
- package/dist/src/components/dashboard/editor/block-configs/PdfImageConfig.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/blockDraft.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/grid/BasketPanel.vue.d.ts +0 -38
- package/dist/src/components/dashboard/editor/grid/BasketPanel.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/grid/BlockTypeSelector.vue.d.ts +0 -36
- package/dist/src/components/dashboard/editor/grid/BlockTypeSelector.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/grid/GridBlock.vue.d.ts +0 -73
- package/dist/src/components/dashboard/editor/grid/GridBlock.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/grid/GridEditor.vue.d.ts +0 -141
- package/dist/src/components/dashboard/editor/grid/GridEditor.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/grid/MinimapPanel.vue.d.ts +0 -44
- package/dist/src/components/dashboard/editor/grid/MinimapPanel.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/editor/validators.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/ActivityHistory.vue.d.ts +0 -56
- package/dist/src/components/dashboard/widgets/ActivityHistory.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/BookmarksComponent.vue.d.ts +0 -27
- package/dist/src/components/dashboard/widgets/BookmarksComponent.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/ChartWrapper.vue.d.ts +0 -41
- package/dist/src/components/dashboard/widgets/ChartWrapper.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/DisplayFileInDashboardComponent.vue.d.ts +0 -337
- package/dist/src/components/dashboard/widgets/DisplayFileInDashboardComponent.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/ExternalApps.vue.d.ts +0 -32
- package/dist/src/components/dashboard/widgets/ExternalApps.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/FavoriteFileList.vue.d.ts +0 -45
- package/dist/src/components/dashboard/widgets/FavoriteFileList.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/FavoriteFolderList.vue.d.ts +0 -44
- package/dist/src/components/dashboard/widgets/FavoriteFolderList.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/FavoriteList.vue.d.ts +0 -167
- package/dist/src/components/dashboard/widgets/FavoriteList.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/FavoriteSiteList.vue.d.ts +0 -37
- package/dist/src/components/dashboard/widgets/FavoriteSiteList.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/MarkdownComponent.vue.d.ts +0 -31
- package/dist/src/components/dashboard/widgets/MarkdownComponent.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/OnlyImageDisplayed.vue.d.ts +0 -26
- package/dist/src/components/dashboard/widgets/OnlyImageDisplayed.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/SearchInput.vue.d.ts +0 -30
- package/dist/src/components/dashboard/widgets/SearchInput.vue.d.ts.map +0 -1
- package/dist/src/components/dashboard/widgets/UnknownBlockType.vue.d.ts +0 -14
- package/dist/src/components/dashboard/widgets/UnknownBlockType.vue.d.ts.map +0 -1
- package/dist/src/components/layouts/AppFooter.vue.d.ts +0 -115
- package/dist/src/components/layouts/AppFooter.vue.d.ts.map +0 -1
- package/dist/src/components/layouts/AppLayout.vue.d.ts +0 -866
- package/dist/src/components/layouts/AppLayout.vue.d.ts.map +0 -1
- package/dist/src/components/layouts/AppMobileLayout.vue.d.ts +0 -220
- package/dist/src/components/layouts/AppMobileLayout.vue.d.ts.map +0 -1
- package/dist/src/components/layouts/AppSidebar.vue.d.ts +0 -183
- package/dist/src/components/layouts/AppSidebar.vue.d.ts.map +0 -1
- package/dist/src/components/layouts/AppSubmenu.vue.d.ts +0 -66
- package/dist/src/components/layouts/AppSubmenu.vue.d.ts.map +0 -1
- package/dist/src/components/layouts/AppSwitcher.vue.d.ts +0 -63
- package/dist/src/components/layouts/AppSwitcher.vue.d.ts.map +0 -1
- package/dist/src/components/layouts/AppTopbar.vue.d.ts +0 -285
- package/dist/src/components/layouts/AppTopbar.vue.d.ts.map +0 -1
- package/dist/src/components/layouts/SidebarProfileSection.vue.d.ts +0 -64
- package/dist/src/components/layouts/SidebarProfileSection.vue.d.ts.map +0 -1
- package/dist/src/components/menu/ActionMenu.vue.d.ts +0 -26
- package/dist/src/components/menu/ActionMenu.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/ColumnTogglePanel.vue.d.ts +0 -63
- package/dist/src/components/navigation/ColumnTogglePanel.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/ContentCompactTableView.vue.d.ts +0 -378
- package/dist/src/components/navigation/ContentCompactTableView.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/ContentFiltersHeader.vue.d.ts +0 -75
- package/dist/src/components/navigation/ContentFiltersHeader.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/ContentGridView.vue.d.ts +0 -169
- package/dist/src/components/navigation/ContentGridView.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/ContentListView.vue.d.ts +0 -156
- package/dist/src/components/navigation/ContentListView.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/ContentTableView.vue.d.ts +0 -423
- package/dist/src/components/navigation/ContentTableView.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/ContentToolbar.vue.d.ts +0 -19
- package/dist/src/components/navigation/ContentToolbar.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/DynamicContentView.vue.d.ts +0 -1783
- package/dist/src/components/navigation/DynamicContentView.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/GhostNodeRow.vue.d.ts +0 -34
- package/dist/src/components/navigation/GhostNodeRow.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/LayoutSelector.vue.d.ts +0 -16
- package/dist/src/components/navigation/LayoutSelector.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/PreviewPanel.vue.d.ts +0 -646
- package/dist/src/components/navigation/PreviewPanel.vue.d.ts.map +0 -1
- package/dist/src/components/navigation/SelectionBar.vue.d.ts +0 -90
- package/dist/src/components/navigation/SelectionBar.vue.d.ts.map +0 -1
- package/dist/src/components/pagination/PaginatorComponent.vue.d.ts +0 -43
- package/dist/src/components/pagination/PaginatorComponent.vue.d.ts.map +0 -1
- package/dist/src/components/pdfTools/PdfToolsComponent.vue.d.ts +0 -21
- package/dist/src/components/pdfTools/PdfToolsComponent.vue.d.ts.map +0 -1
- package/dist/src/components/pdfTools/PdfToolsLoading.vue.d.ts +0 -4
- package/dist/src/components/pdfTools/PdfToolsLoading.vue.d.ts.map +0 -1
- package/dist/src/components/pdfTools/SaveAsPopup.vue.d.ts +0 -14
- package/dist/src/components/pdfTools/SaveAsPopup.vue.d.ts.map +0 -1
- package/dist/src/components/popup/CopyOrMovePopup.vue.d.ts +0 -143
- package/dist/src/components/popup/CopyOrMovePopup.vue.d.ts.map +0 -1
- package/dist/src/components/popup/CreateWorkflowPopup.vue.d.ts +0 -79
- package/dist/src/components/popup/CreateWorkflowPopup.vue.d.ts.map +0 -1
- package/dist/src/components/popup/ImportNewVersionPopup.vue.d.ts +0 -28
- package/dist/src/components/popup/ImportNewVersionPopup.vue.d.ts.map +0 -1
- package/dist/src/components/popup/ImportPopupWithWorker.vue.d.ts +0 -171
- package/dist/src/components/popup/ImportPopupWithWorker.vue.d.ts.map +0 -1
- package/dist/src/components/popup/MemberListPopup.vue.d.ts +0 -183
- package/dist/src/components/popup/MemberListPopup.vue.d.ts.map +0 -1
- package/dist/src/components/popup/SendMailPopup.vue.d.ts +0 -69
- package/dist/src/components/popup/SendMailPopup.vue.d.ts.map +0 -1
- package/dist/src/components/popup/ShareLinkPopup.vue.d.ts +0 -39
- package/dist/src/components/popup/ShareLinkPopup.vue.d.ts.map +0 -1
- package/dist/src/components/search/AddCriterionPopup.vue.d.ts +0 -118
- package/dist/src/components/search/AddCriterionPopup.vue.d.ts.map +0 -1
- package/dist/src/components/search/AdvancedSearchPanel.vue.d.ts +0 -732
- package/dist/src/components/search/AdvancedSearchPanel.vue.d.ts.map +0 -1
- package/dist/src/components/search/AdvancedViewPanel.vue.d.ts +0 -863
- package/dist/src/components/search/AdvancedViewPanel.vue.d.ts.map +0 -1
- package/dist/src/components/search/ExactSearch.vue.d.ts +0 -41
- package/dist/src/components/search/ExactSearch.vue.d.ts.map +0 -1
- package/dist/src/components/search/FavoriteViewMenu.vue.d.ts +0 -36
- package/dist/src/components/search/FavoriteViewMenu.vue.d.ts.map +0 -1
- package/dist/src/components/search/SaveViewPopup.vue.d.ts +0 -109
- package/dist/src/components/search/SaveViewPopup.vue.d.ts.map +0 -1
- package/dist/src/components/search/UserViewsFavoritesPanel.vue.d.ts +0 -52
- package/dist/src/components/search/UserViewsFavoritesPanel.vue.d.ts.map +0 -1
- package/dist/src/components/search/ViewResultsPanel.vue.d.ts +0 -275
- package/dist/src/components/search/ViewResultsPanel.vue.d.ts.map +0 -1
- package/dist/src/components/toast/CustomToastContent.vue.d.ts +0 -72
- package/dist/src/components/toast/CustomToastContent.vue.d.ts.map +0 -1
- package/dist/src/components/users/MemberList.vue.d.ts +0 -142
- package/dist/src/components/users/MemberList.vue.d.ts.map +0 -1
- package/dist/src/components/viewer/ArchiveViewer.vue.d.ts +0 -14
- package/dist/src/components/viewer/ArchiveViewer.vue.d.ts.map +0 -1
- package/dist/src/components/viewer/AudioPlayer.vue.d.ts +0 -39
- package/dist/src/components/viewer/AudioPlayer.vue.d.ts.map +0 -1
- package/dist/src/components/viewer/CodeMirrorViewer.vue.d.ts +0 -13
- package/dist/src/components/viewer/CodeMirrorViewer.vue.d.ts.map +0 -1
- package/dist/src/components/viewer/ImageViewer.vue.d.ts +0 -85
- package/dist/src/components/viewer/ImageViewer.vue.d.ts.map +0 -1
- package/dist/src/components/viewer/PDFComponent.vue.d.ts +0 -449
- package/dist/src/components/viewer/PDFComponent.vue.d.ts.map +0 -1
- package/dist/src/components/viewer/PdfSignaturePanel.vue.d.ts +0 -9
- package/dist/src/components/viewer/PdfSignaturePanel.vue.d.ts.map +0 -1
- package/dist/src/components/viewer/VideoPlayer.vue.d.ts +0 -51
- package/dist/src/components/viewer/VideoPlayer.vue.d.ts.map +0 -1
- package/dist/src/components/viewer/lazyPdfComponents.d.ts +0 -444
- package/dist/src/components/viewer/lazyPdfComponents.d.ts.map +0 -1
- package/dist/src/components/views/PredefinedViewsPanel.vue.d.ts +0 -105
- package/dist/src/components/views/PredefinedViewsPanel.vue.d.ts.map +0 -1
- package/dist/src/components/views/ViewList.vue.d.ts +0 -14
- package/dist/src/components/views/ViewList.vue.d.ts.map +0 -1
- package/dist/src/components/workspace/WorkspaceCard.vue.d.ts +0 -331
- package/dist/src/components/workspace/WorkspaceCard.vue.d.ts.map +0 -1
- package/dist/src/components/workspace/WorkspaceList.vue.d.ts +0 -473
- package/dist/src/components/workspace/WorkspaceList.vue.d.ts.map +0 -1
- package/dist/src/composables/collabProtocol.d.ts.map +0 -1
- package/dist/src/composables/useAuth.d.ts.map +0 -1
- package/dist/src/composables/useChatWebSocket.d.ts.map +0 -1
- package/dist/src/composables/useClassificationPlan.d.ts.map +0 -1
- package/dist/src/composables/useCodeMirror.d.ts +0 -57
- package/dist/src/composables/useCodeMirror.d.ts.map +0 -1
- package/dist/src/composables/useCollabEditor.d.ts.map +0 -1
- package/dist/src/composables/useCollabWebSocket.d.ts.map +0 -1
- package/dist/src/composables/useColumnFilter.d.ts.map +0 -1
- package/dist/src/composables/useDragDrop.d.ts.map +0 -1
- package/dist/src/composables/useGhostNodes.d.ts.map +0 -1
- package/dist/src/composables/useGridValidation.d.ts.map +0 -1
- package/dist/src/composables/useLayout.d.ts.map +0 -1
- package/dist/src/composables/useMarkdownPreview.d.ts +0 -44
- package/dist/src/composables/useMarkdownPreview.d.ts.map +0 -1
- package/dist/src/composables/useResize.d.ts.map +0 -1
- package/dist/src/composables/useTheme.d.ts.map +0 -1
- package/dist/src/directives/assert.d.ts.map +0 -1
- package/dist/src/httpClientPatch.d.ts.map +0 -1
- package/dist/src/i18n/index.d.ts +0 -4305
- package/dist/src/i18n/index.d.ts.map +0 -1
- package/dist/src/i18n/locales/index.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -175
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/pages/ErrorPage.vue.d.ts +0 -6
- package/dist/src/pages/ErrorPage.vue.d.ts.map +0 -1
- package/dist/src/pages/LoginPage.vue.d.ts +0 -29
- package/dist/src/pages/LoginPage.vue.d.ts.map +0 -1
- package/dist/src/pages/NotFoundPages.vue.d.ts +0 -50
- package/dist/src/pages/NotFoundPages.vue.d.ts.map +0 -1
- package/dist/src/plugins/KeycloakPlugin.d.ts.map +0 -1
- package/dist/src/services/AftsQueryBuilder.d.ts.map +0 -1
- package/dist/src/services/AiImportService.d.ts +0 -125
- package/dist/src/services/AiImportService.d.ts.map +0 -1
- package/dist/src/services/AiMetadataService.d.ts +0 -81
- package/dist/src/services/AiMetadataService.d.ts.map +0 -1
- package/dist/src/services/AlfrescoFileService.d.ts.map +0 -1
- package/dist/src/services/AlfrescoModelService.d.ts.map +0 -1
- package/dist/src/services/AlfrescoNodeService.d.ts.map +0 -1
- package/dist/src/services/AlfrescoPermissionService.d.ts.map +0 -1
- package/dist/src/services/AlfrescoProxyService.d.ts.map +0 -1
- package/dist/src/services/AppSwitcherService.d.ts.map +0 -1
- package/dist/src/services/ArchiveService.d.ts +0 -49
- package/dist/src/services/ArchiveService.d.ts.map +0 -1
- package/dist/src/services/CapabilitiesService.d.ts.map +0 -1
- package/dist/src/services/ChatBackendService.d.ts.map +0 -1
- package/dist/src/services/ClassificationFileService.d.ts.map +0 -1
- package/dist/src/services/ClassificationService.d.ts.map +0 -1
- package/dist/src/services/CollabBackupService.d.ts.map +0 -1
- package/dist/src/services/CollabService.d.ts.map +0 -1
- package/dist/src/services/CollaboraAccessService.d.ts.map +0 -1
- package/dist/src/services/ConfigHealthService.d.ts.map +0 -1
- package/dist/src/services/ConfigService.d.ts.map +0 -1
- package/dist/src/services/DashboardService.d.ts +0 -77
- package/dist/src/services/DashboardService.d.ts.map +0 -1
- package/dist/src/services/DiffusionService.d.ts.map +0 -1
- package/dist/src/services/ErrorService.d.ts.map +0 -1
- package/dist/src/services/FavoriteService.d.ts.map +0 -1
- package/dist/src/services/FilingPlanService.d.ts.map +0 -1
- package/dist/src/services/FormatService.d.ts.map +0 -1
- package/dist/src/services/GhostMatcher.d.ts.map +0 -1
- package/dist/src/services/IconeService.d.ts.map +0 -1
- package/dist/src/services/IndexAwaitService.d.ts +0 -61
- package/dist/src/services/IndexAwaitService.d.ts.map +0 -1
- package/dist/src/services/KeyboardShortcutsService.d.ts.map +0 -1
- package/dist/src/services/LibVueActionService.d.ts.map +0 -1
- package/dist/src/services/MenuService.d.ts.map +0 -1
- package/dist/src/services/NodeDragService.d.ts.map +0 -1
- package/dist/src/services/NodeToMenuItemService.d.ts.map +0 -1
- package/dist/src/services/PdfCommentService.d.ts +0 -30
- package/dist/src/services/PdfCommentService.d.ts.map +0 -1
- package/dist/src/services/PdfConfigService.d.ts.map +0 -1
- package/dist/src/services/PdfFormService.d.ts.map +0 -1
- package/dist/src/services/PdfInsertService.d.ts.map +0 -1
- package/dist/src/services/PdfLinkService.d.ts.map +0 -1
- package/dist/src/services/PdfRedactionService.d.ts.map +0 -1
- package/dist/src/services/PdfSignatureService.d.ts.map +0 -1
- package/dist/src/services/PdfTextService.d.ts.map +0 -1
- package/dist/src/services/PeopleService.d.ts.map +0 -1
- package/dist/src/services/PlanSuggestService.d.ts.map +0 -1
- package/dist/src/services/PlanTreePdfService.d.ts.map +0 -1
- package/dist/src/services/PreviewService.d.ts.map +0 -1
- package/dist/src/services/RocketChatAuthService.d.ts.map +0 -1
- package/dist/src/services/RocketChatService.d.ts.map +0 -1
- package/dist/src/services/TranslationService.d.ts.map +0 -1
- package/dist/src/services/UserViewService.d.ts.map +0 -1
- package/dist/src/services/ViewConfigService.d.ts.map +0 -1
- package/dist/src/services/WorkflowService.d.ts.map +0 -1
- package/dist/src/services/WorkspaceService.d.ts.map +0 -1
- package/dist/src/services/aliasMap.d.ts.map +0 -1
- package/dist/src/services/auth/KeycloakAuthProvider.d.ts.map +0 -1
- package/dist/src/services/auth/OidcAuthProvider.d.ts.map +0 -1
- package/dist/src/services/auth/__tests__/FakeAuthProvider.d.ts.map +0 -1
- package/dist/src/services/auth/authProvider.d.ts.map +0 -1
- package/dist/src/services/auth/buildOidcSettings.d.ts.map +0 -1
- package/dist/src/services/criteriaLogic.d.ts.map +0 -1
- package/dist/src/services/userSearchQuery.d.ts.map +0 -1
- package/dist/src/stores/aiImport.d.ts +0 -43
- package/dist/src/stores/aiImport.d.ts.map +0 -1
- package/dist/src/stores/chat.d.ts.map +0 -1
- package/dist/src/stores/collab.d.ts.map +0 -1
- package/dist/src/stores/collabora.d.ts.map +0 -1
- package/dist/src/stores/config.d.ts +0 -341
- package/dist/src/stores/config.d.ts.map +0 -1
- package/dist/src/stores/favorites.d.ts.map +0 -1
- package/dist/src/stores/filingPlan.d.ts.map +0 -1
- package/dist/src/stores/indexAwait.d.ts.map +0 -1
- package/dist/src/stores/menu.d.ts.map +0 -1
- package/dist/src/stores/navigation.d.ts.map +0 -1
- package/dist/src/stores/paginator.d.ts.map +0 -1
- package/dist/src/stores/screen.d.ts.map +0 -1
- package/dist/src/stores/search.d.ts.map +0 -1
- package/dist/src/stores/selection.d.ts.map +0 -1
- package/dist/src/stores/taskNotification.d.ts.map +0 -1
- package/dist/src/stores/upload.d.ts.map +0 -1
- package/dist/src/stores/user.d.ts.map +0 -1
- package/dist/src/stores/userPreferences.d.ts.map +0 -1
- package/dist/src/stores/userView.d.ts.map +0 -1
- package/dist/src/typedef.d.ts.map +0 -1
- package/dist/src/utils/classificationPlanUtils.d.ts.map +0 -1
- package/dist/src/utils/indexAwaitReducer.d.ts.map +0 -1
- package/dist/src/utils/overflowUtils.d.ts.map +0 -1
- package/dist/src/utils/planTree.d.ts.map +0 -1
- package/dist/src/utils/treeA11y.d.ts.map +0 -1
- package/dist/src/utils/workspaceAppearance.d.ts.map +0 -1
- package/dist/src/workers/upload.worker.d.ts.map +0 -1
- /package/dist/{src/AlfrescoApi.d.ts → AlfrescoApi.d.ts} +0 -0
- /package/dist/{src/components → components}/dashboard/editor/blockDraft.d.ts +0 -0
- /package/dist/{src/components → components}/dashboard/editor/validators.d.ts +0 -0
- /package/dist/{src/composables → composables}/collabProtocol.d.ts +0 -0
- /package/dist/{src/composables → composables}/useAuth.d.ts +0 -0
- /package/dist/{src/composables → composables}/useChatWebSocket.d.ts +0 -0
- /package/dist/{src/composables → composables}/useClassificationPlan.d.ts +0 -0
- /package/dist/{src/composables → composables}/useCollabEditor.d.ts +0 -0
- /package/dist/{src/composables → composables}/useCollabWebSocket.d.ts +0 -0
- /package/dist/{src/composables → composables}/useColumnFilter.d.ts +0 -0
- /package/dist/{src/composables → composables}/useDragDrop.d.ts +0 -0
- /package/dist/{src/composables → composables}/useGhostNodes.d.ts +0 -0
- /package/dist/{src/composables → composables}/useGridValidation.d.ts +0 -0
- /package/dist/{src/composables → composables}/useLayout.d.ts +0 -0
- /package/dist/{src/composables → composables}/useResize.d.ts +0 -0
- /package/dist/{src/composables → composables}/useTheme.d.ts +0 -0
- /package/dist/{src/directives → directives}/assert.d.ts +0 -0
- /package/dist/{src/httpClientPatch.d.ts → httpClientPatch.d.ts} +0 -0
- /package/dist/{src/i18n → i18n}/locales/index.d.ts +0 -0
- /package/dist/{src/plugins → plugins}/KeycloakPlugin.d.ts +0 -0
- /package/dist/{src/services → services}/AftsQueryBuilder.d.ts +0 -0
- /package/dist/{src/services → services}/AlfrescoFileService.d.ts +0 -0
- /package/dist/{src/services → services}/AlfrescoModelService.d.ts +0 -0
- /package/dist/{src/services → services}/AlfrescoNodeService.d.ts +0 -0
- /package/dist/{src/services → services}/AlfrescoPermissionService.d.ts +0 -0
- /package/dist/{src/services → services}/AlfrescoProxyService.d.ts +0 -0
- /package/dist/{src/services → services}/AppSwitcherService.d.ts +0 -0
- /package/dist/{src/services → services}/CapabilitiesService.d.ts +0 -0
- /package/dist/{src/services → services}/ChatBackendService.d.ts +0 -0
- /package/dist/{src/services → services}/ClassificationFileService.d.ts +0 -0
- /package/dist/{src/services → services}/ClassificationService.d.ts +0 -0
- /package/dist/{src/services → services}/CollabBackupService.d.ts +0 -0
- /package/dist/{src/services → services}/CollabService.d.ts +0 -0
- /package/dist/{src/services → services}/CollaboraAccessService.d.ts +0 -0
- /package/dist/{src/services → services}/ConfigHealthService.d.ts +0 -0
- /package/dist/{src/services → services}/ConfigService.d.ts +0 -0
- /package/dist/{src/services → services}/DiffusionService.d.ts +0 -0
- /package/dist/{src/services → services}/ErrorService.d.ts +0 -0
- /package/dist/{src/services → services}/FavoriteService.d.ts +0 -0
- /package/dist/{src/services → services}/FilingPlanService.d.ts +0 -0
- /package/dist/{src/services → services}/FormatService.d.ts +0 -0
- /package/dist/{src/services → services}/GhostMatcher.d.ts +0 -0
- /package/dist/{src/services → services}/IconeService.d.ts +0 -0
- /package/dist/{src/services → services}/KeyboardShortcutsService.d.ts +0 -0
- /package/dist/{src/services → services}/LibVueActionService.d.ts +0 -0
- /package/dist/{src/services → services}/MenuService.d.ts +0 -0
- /package/dist/{src/services → services}/NodeDragService.d.ts +0 -0
- /package/dist/{src/services → services}/NodeToMenuItemService.d.ts +0 -0
- /package/dist/{src/services → services}/PdfConfigService.d.ts +0 -0
- /package/dist/{src/services → services}/PdfFormService.d.ts +0 -0
- /package/dist/{src/services → services}/PdfInsertService.d.ts +0 -0
- /package/dist/{src/services → services}/PdfLinkService.d.ts +0 -0
- /package/dist/{src/services → services}/PdfRedactionService.d.ts +0 -0
- /package/dist/{src/services → services}/PdfSignatureService.d.ts +0 -0
- /package/dist/{src/services → services}/PdfTextService.d.ts +0 -0
- /package/dist/{src/services → services}/PeopleService.d.ts +0 -0
- /package/dist/{src/services → services}/PlanSuggestService.d.ts +0 -0
- /package/dist/{src/services → services}/PlanTreePdfService.d.ts +0 -0
- /package/dist/{src/services → services}/PreviewService.d.ts +0 -0
- /package/dist/{src/services → services}/RocketChatAuthService.d.ts +0 -0
- /package/dist/{src/services → services}/RocketChatService.d.ts +0 -0
- /package/dist/{src/services → services}/TranslationService.d.ts +0 -0
- /package/dist/{src/services → services}/UserViewService.d.ts +0 -0
- /package/dist/{src/services → services}/ViewConfigService.d.ts +0 -0
- /package/dist/{src/services → services}/WorkflowService.d.ts +0 -0
- /package/dist/{src/services → services}/WorkspaceService.d.ts +0 -0
- /package/dist/{src/services → services}/aliasMap.d.ts +0 -0
- /package/dist/{src/services → services}/auth/KeycloakAuthProvider.d.ts +0 -0
- /package/dist/{src/services → services}/auth/OidcAuthProvider.d.ts +0 -0
- /package/dist/{src/services → services}/auth/__tests__/FakeAuthProvider.d.ts +0 -0
- /package/dist/{src/services → services}/auth/authProvider.d.ts +0 -0
- /package/dist/{src/services → services}/auth/buildOidcSettings.d.ts +0 -0
- /package/dist/{src/services → services}/criteriaLogic.d.ts +0 -0
- /package/dist/{src/services → services}/userSearchQuery.d.ts +0 -0
- /package/dist/{src/stores → stores}/chat.d.ts +0 -0
- /package/dist/{src/stores → stores}/collab.d.ts +0 -0
- /package/dist/{src/stores → stores}/collabora.d.ts +0 -0
- /package/dist/{src/stores → stores}/favorites.d.ts +0 -0
- /package/dist/{src/stores → stores}/filingPlan.d.ts +0 -0
- /package/dist/{src/stores → stores}/indexAwait.d.ts +0 -0
- /package/dist/{src/stores → stores}/menu.d.ts +0 -0
- /package/dist/{src/stores → stores}/navigation.d.ts +0 -0
- /package/dist/{src/stores → stores}/paginator.d.ts +0 -0
- /package/dist/{src/stores → stores}/screen.d.ts +0 -0
- /package/dist/{src/stores → stores}/search.d.ts +0 -0
- /package/dist/{src/stores → stores}/selection.d.ts +0 -0
- /package/dist/{src/stores → stores}/taskNotification.d.ts +0 -0
- /package/dist/{src/stores → stores}/upload.d.ts +0 -0
- /package/dist/{src/stores → stores}/user.d.ts +0 -0
- /package/dist/{src/stores → stores}/userPreferences.d.ts +0 -0
- /package/dist/{src/stores → stores}/userView.d.ts +0 -0
- /package/dist/{src/typedef.d.ts → typedef.d.ts} +0 -0
- /package/dist/{src/utils → utils}/classificationPlanUtils.d.ts +0 -0
- /package/dist/{src/utils → utils}/indexAwaitReducer.d.ts +0 -0
- /package/dist/{src/utils → utils}/overflowUtils.d.ts +0 -0
- /package/dist/{src/utils → utils}/planTree.d.ts +0 -0
- /package/dist/{src/utils → utils}/treeA11y.d.ts +0 -0
- /package/dist/{src/utils → utils}/workspaceAppearance.d.ts +0 -0
- /package/dist/{src/workers → workers}/upload.worker.d.ts +0 -0
|
@@ -1,1975 +0,0 @@
|
|
|
1
|
-
import { ref as v, openBlock as g, createBlock as He, unref as r, withCtx as A, createElementVNode as s, toDisplayString as f, createVNode as c, createElementBlock as b, createCommentVNode as D, computed as Te, onMounted as xo, watch as xe, onUnmounted as Eo, resolveDirective as Po, createTextVNode as le, Fragment as Ze, renderList as Qe, withModifiers as ue, normalizeClass as q, normalizeStyle as nt, withDirectives as De, vModelText as rt, withKeys as it, nextTick as ct } from "vue";
|
|
2
|
-
import { PDFName as Pe, PDFHexString as dt, PDFDocument as z, degrees as Co, rgb as xl, RotationTypes as ko, StandardFonts as El } from "pdf-lib";
|
|
3
|
-
import { usePDF as ut, VuePDF as el } from "@tato30/vue-pdf";
|
|
4
|
-
import { a as vt } from "./PdfConfigService-huVsU23i.js";
|
|
5
|
-
/* empty css */
|
|
6
|
-
import { VueDraggableNext as Io } from "vue-draggable-next";
|
|
7
|
-
import { useI18n as ht } from "vue-i18n";
|
|
8
|
-
import Ue from "primevue/progressspinner";
|
|
9
|
-
import So from "primevue/message";
|
|
10
|
-
import w from "primevue/button";
|
|
11
|
-
import $o from "primevue/checkbox";
|
|
12
|
-
import Be from "primevue/inputtext";
|
|
13
|
-
import ft from "primevue/inputnumber";
|
|
14
|
-
import Ao from "primevue/slider";
|
|
15
|
-
import pt from "primevue/fileupload";
|
|
16
|
-
import mt from "primevue/divider";
|
|
17
|
-
import _o from "primevue/select";
|
|
18
|
-
import ol from "primevue/dialog";
|
|
19
|
-
import Mo from "primevue/tabs";
|
|
20
|
-
import Fo from "primevue/tablist";
|
|
21
|
-
import ll from "primevue/tab";
|
|
22
|
-
import No from "primevue/tabpanels";
|
|
23
|
-
import tl from "primevue/tabpanel";
|
|
24
|
-
import { _ as bt, T as wt, a as Ee, b as Pl, c as Ro, d as Lo } from "./index-Coh4LtRJ.js";
|
|
25
|
-
const Do = { class: "save-as-form" }, Uo = { class: "form-field" }, Ho = { for: "filename" }, Bo = { class: "form-field" }, Oo = { for: "location" }, Vo = { class: "input-group" }, zo = {
|
|
26
|
-
key: 0,
|
|
27
|
-
class: "explorer-container"
|
|
28
|
-
}, Wo = {
|
|
29
|
-
__name: "SaveAsPopup",
|
|
30
|
-
props: {
|
|
31
|
-
visible: Boolean,
|
|
32
|
-
defaultFilename: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: null
|
|
35
|
-
},
|
|
36
|
-
parentFolderNode: {
|
|
37
|
-
type: Object,
|
|
38
|
-
default: null
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
emits: ["close", "save"],
|
|
42
|
-
setup(P, { emit: T }) {
|
|
43
|
-
const { t: i } = ht(), y = P, U = T, I = v(""), Y = v(null), R = v(!1), h = v(null), F = v(""), x = () => {
|
|
44
|
-
I.value = y.defaultFilename || i("pdfTools.saveAs.defaultFilename"), Y.value = y.parentFolderNode, h.value = y.parentFolderNode?.id, F.value = y.parentFolderNode?.name, R.value = !1;
|
|
45
|
-
}, S = async (m) => {
|
|
46
|
-
if (!(!m || !m.isFolder)) {
|
|
47
|
-
if (m.name === "documentLibrary")
|
|
48
|
-
if (h.value = m.id, m.parentId)
|
|
49
|
-
try {
|
|
50
|
-
const N = await Ee.getNode(m.parentId);
|
|
51
|
-
F.value = N.properties["cm:title"] || N.name;
|
|
52
|
-
} catch (N) {
|
|
53
|
-
console.error("Could not fetch parent node name", N), F.value = m.name;
|
|
54
|
-
}
|
|
55
|
-
else
|
|
56
|
-
F.value = m.name;
|
|
57
|
-
else
|
|
58
|
-
h.value = m.id, F.value = m.name;
|
|
59
|
-
R.value = !1;
|
|
60
|
-
}
|
|
61
|
-
}, O = () => {
|
|
62
|
-
h.value && U("save", {
|
|
63
|
-
filename: I.value,
|
|
64
|
-
folderId: h.value
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
return (m, N) => (g(), He(r(ol), {
|
|
68
|
-
visible: P.visible,
|
|
69
|
-
modal: "",
|
|
70
|
-
header: m.$t("pdfTools.saveAs.title"),
|
|
71
|
-
class: "dialog-save-as",
|
|
72
|
-
"onUpdate:visible": N[3] || (N[3] = (H) => m.$emit("close")),
|
|
73
|
-
onShow: x
|
|
74
|
-
}, {
|
|
75
|
-
footer: A(() => [
|
|
76
|
-
c(r(w), {
|
|
77
|
-
label: m.$t("pdfTools.common.cancel"),
|
|
78
|
-
icon: "ri-close-line",
|
|
79
|
-
text: "",
|
|
80
|
-
onClick: N[2] || (N[2] = (H) => m.$emit("close"))
|
|
81
|
-
}, null, 8, ["label"]),
|
|
82
|
-
c(r(w), {
|
|
83
|
-
label: m.$t("pdfTools.common.save"),
|
|
84
|
-
icon: "ri-check-line",
|
|
85
|
-
onClick: O,
|
|
86
|
-
disabled: !I.value || !h.value
|
|
87
|
-
}, null, 8, ["label", "disabled"])
|
|
88
|
-
]),
|
|
89
|
-
default: A(() => [
|
|
90
|
-
s("div", Do, [
|
|
91
|
-
s("div", Uo, [
|
|
92
|
-
s("label", Ho, f(m.$t("pdfTools.saveAs.filenameLabel")), 1),
|
|
93
|
-
c(r(Be), {
|
|
94
|
-
id: "filename",
|
|
95
|
-
modelValue: I.value,
|
|
96
|
-
"onUpdate:modelValue": N[0] || (N[0] = (H) => I.value = H)
|
|
97
|
-
}, null, 8, ["modelValue"])
|
|
98
|
-
]),
|
|
99
|
-
s("div", Bo, [
|
|
100
|
-
s("label", Oo, f(m.$t("pdfTools.saveAs.folderLabel")), 1),
|
|
101
|
-
s("div", Vo, [
|
|
102
|
-
c(r(Be), {
|
|
103
|
-
id: "location",
|
|
104
|
-
readonly: "",
|
|
105
|
-
value: F.value
|
|
106
|
-
}, null, 8, ["value"]),
|
|
107
|
-
c(r(w), {
|
|
108
|
-
icon: R.value ? "ri-arrow-up-s-line" : "ri-arrow-down-s-line",
|
|
109
|
-
label: m.$t("pdfTools.saveAs.browse"),
|
|
110
|
-
onClick: N[1] || (N[1] = (H) => R.value = !R.value)
|
|
111
|
-
}, null, 8, ["icon", "label"])
|
|
112
|
-
])
|
|
113
|
-
]),
|
|
114
|
-
R.value ? (g(), b("div", zo, [
|
|
115
|
-
c(wt, {
|
|
116
|
-
"current-node": Y.value,
|
|
117
|
-
"show-user-home": "",
|
|
118
|
-
"show-files": !1,
|
|
119
|
-
onSelectNode: S
|
|
120
|
-
}, null, 8, ["current-node"])
|
|
121
|
-
])) : D("", !0)
|
|
122
|
-
])
|
|
123
|
-
]),
|
|
124
|
-
_: 1
|
|
125
|
-
}, 8, ["visible", "header"]));
|
|
126
|
-
}
|
|
127
|
-
}, Go = /* @__PURE__ */ bt(Wo, [["__scopeId", "data-v-c9e02fa9"]]), Xo = [1, 0.92, 0.23], Yo = 4, jo = ({ doc: P, page: T, rect: i, text: y, title: U }) => {
|
|
128
|
-
const I = String(y ?? "");
|
|
129
|
-
if (!I.trim())
|
|
130
|
-
return;
|
|
131
|
-
const Y = P.context.obj({
|
|
132
|
-
Type: "Annot",
|
|
133
|
-
Subtype: "Text",
|
|
134
|
-
// Icon used by the viewer for this note
|
|
135
|
-
Name: "Comment",
|
|
136
|
-
Rect: [i.x, i.y, i.x + i.size, i.y + i.size],
|
|
137
|
-
// fromText encodes as UTF-16BE: a plain string would break accents
|
|
138
|
-
Contents: dt.fromText(I),
|
|
139
|
-
T: dt.fromText(String(U ?? "")),
|
|
140
|
-
C: Xo,
|
|
141
|
-
F: Yo
|
|
142
|
-
});
|
|
143
|
-
T.node.addAnnot(P.context.register(Y));
|
|
144
|
-
}, Ko = (P) => {
|
|
145
|
-
const T = P.node.Annots();
|
|
146
|
-
if (!T)
|
|
147
|
-
return [];
|
|
148
|
-
const i = [];
|
|
149
|
-
for (let y = 0; y < T.size(); y++) {
|
|
150
|
-
const U = T.lookup(y);
|
|
151
|
-
if (U?.get(Pe.of("Subtype")) !== Pe.of("Text"))
|
|
152
|
-
continue;
|
|
153
|
-
const I = U.get(Pe.of("Rect"))?.asRectangle();
|
|
154
|
-
if (!I)
|
|
155
|
-
continue;
|
|
156
|
-
const Y = U.get(Pe.of("Contents"));
|
|
157
|
-
i.push({
|
|
158
|
-
x: I.x,
|
|
159
|
-
y: I.y,
|
|
160
|
-
size: Math.max(I.width, I.height),
|
|
161
|
-
text: typeof Y?.decodeText == "function" ? Y.decodeText() : ""
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
return i;
|
|
165
|
-
}, qo = (P) => {
|
|
166
|
-
const T = P.node.Annots();
|
|
167
|
-
if (T)
|
|
168
|
-
for (let i = T.size() - 1; i >= 0; i--)
|
|
169
|
-
T.lookup(i)?.get(Pe.of("Subtype")) === Pe.of("Text") && T.remove(i);
|
|
170
|
-
}, gt = (P) => {
|
|
171
|
-
if (!P)
|
|
172
|
-
return null;
|
|
173
|
-
const T = P.trim();
|
|
174
|
-
if (/^[0-9a-fA-F-]{20,}$/.test(T))
|
|
175
|
-
return T;
|
|
176
|
-
const i = T.match(/workspace:\/\/SpacesStore\/([0-9a-fA-F-]{20,})/);
|
|
177
|
-
if (i && i[1])
|
|
178
|
-
return i[1];
|
|
179
|
-
const y = T.match(
|
|
180
|
-
/\b(nodes|preview|renditions|content)\/?([0-9a-fA-F-]{20,})\b/
|
|
181
|
-
);
|
|
182
|
-
if (y && y[2])
|
|
183
|
-
return y[2];
|
|
184
|
-
const U = T.match(
|
|
185
|
-
/#\/(?:pdf-tools|consultation-pdf|edit-collabora)\/([0-9a-fA-F-]{20,})/
|
|
186
|
-
);
|
|
187
|
-
if (U && U[1])
|
|
188
|
-
return U[1];
|
|
189
|
-
const I = T.match(/([0-9a-fA-F]{20,})/);
|
|
190
|
-
return I && I[1] ? I[1] : null;
|
|
191
|
-
}, Jo = 72, Zo = 200, Qo = 16e6, ea = async ({
|
|
192
|
-
pdfPage: P,
|
|
193
|
-
redactions: T = [],
|
|
194
|
-
dpi: i = Zo,
|
|
195
|
-
quality: y = 0.85,
|
|
196
|
-
mimeType: U = "image/jpeg",
|
|
197
|
-
maxPixels: I = Qo,
|
|
198
|
-
createCanvas: Y = () => document.createElement("canvas")
|
|
199
|
-
}) => {
|
|
200
|
-
let R = i / Jo;
|
|
201
|
-
const h = P.getViewport({ scale: R }), F = h.width * h.height;
|
|
202
|
-
F > I && (R = Math.floor(R * Math.sqrt(I / F) * 1e4) / 1e4);
|
|
203
|
-
const x = P.getViewport({ scale: R }), S = Y();
|
|
204
|
-
S.width = Math.floor(x.width), S.height = Math.floor(x.height);
|
|
205
|
-
const O = S.getContext("2d");
|
|
206
|
-
if (await P.render({ canvasContext: O, viewport: x }).promise, T.length > 0) {
|
|
207
|
-
O.fillStyle = "#000000";
|
|
208
|
-
for (const m of T)
|
|
209
|
-
O.fillRect(
|
|
210
|
-
m.x * S.width,
|
|
211
|
-
m.y * S.height,
|
|
212
|
-
m.w * S.width,
|
|
213
|
-
m.h * S.height
|
|
214
|
-
);
|
|
215
|
-
}
|
|
216
|
-
return S.toDataURL(U, y);
|
|
217
|
-
}, al = 1.2, la = 8, ta = ({ overlayWidth: P, pageWidthPt: T }) => !T || !P ? 1 : P / T, Cl = (P) => String(P ?? "").split(/\r?\n/), oa = ({ lines: P, fontSize: T, measureLine: i }) => {
|
|
218
|
-
const y = P.map((U) => i(U));
|
|
219
|
-
return {
|
|
220
|
-
w: Math.max(la, ...y),
|
|
221
|
-
h: P.length * T * al
|
|
222
|
-
};
|
|
223
|
-
}, aa = ({ topY: P, lineIndex: T, fontSize: i, ascentPt: y }) => P - T * i * al - y, sa = { class: "pdf-tools-page" }, na = { class: "pdf-tools-header" }, ra = { key: 0 }, ia = {
|
|
224
|
-
key: 0,
|
|
225
|
-
class: "loading-container"
|
|
226
|
-
}, ca = {
|
|
227
|
-
key: 1,
|
|
228
|
-
class: "error-container"
|
|
229
|
-
}, da = {
|
|
230
|
-
key: 2,
|
|
231
|
-
class: "pdf-editor-layout"
|
|
232
|
-
}, ua = { class: "pdf-tools-sidebar" }, va = { class: "card" }, fa = { class: "sidebar-form" }, pa = { class: "form-field" }, ma = { class: "form-field form-field--spaced" }, ga = { class: "form-field form-field--spaced" }, ya = { class: "insert-buttons" }, ha = { class: "form-field form-field--spaced" }, ba = { class: "watermark-grid" }, wa = { class: "pdf-preview-container" }, Ta = ["onClick", "onDblclick"], xa = { class: "page-selection" }, Ea = { class: "page-actions" }, Pa = { class: "thumbnail-content" }, Ca = { class: "page-number" }, ka = { class: "dialog-header" }, Ia = { class: "page-editor-toolbar" }, Sa = { class: "zoom-indicator" }, $a = { class: "editor-layout" }, Aa = { class: "tool-group" }, _a = {
|
|
233
|
-
key: 0,
|
|
234
|
-
class: "text-settings"
|
|
235
|
-
}, Ma = { class: "form-field" }, Fa = { class: "form-label" }, Na = { class: "form-field" }, Ra = {
|
|
236
|
-
class: "form-label",
|
|
237
|
-
for: "text-size-slider"
|
|
238
|
-
}, La = { class: "form-field" }, Da = {
|
|
239
|
-
class: "form-label",
|
|
240
|
-
id: "text-color-label"
|
|
241
|
-
}, Ua = {
|
|
242
|
-
class: "color-swatches",
|
|
243
|
-
role: "group",
|
|
244
|
-
"aria-labelledby": "text-color-label"
|
|
245
|
-
}, Ha = ["aria-label", "aria-pressed", "onClick"], Ba = { class: "color-custom" }, Oa = ["aria-label", "placeholder", "onKeydown"], Va = { class: "editor-footer" }, za = { class: "dialog-header" }, Wa = { class: "signature-pad" }, Ga = { class: "dialog-footer-buttons" }, Xa = { class: "search-input-group" }, Ya = {
|
|
246
|
-
key: 0,
|
|
247
|
-
class: "inline-status"
|
|
248
|
-
}, ja = {
|
|
249
|
-
key: 1,
|
|
250
|
-
class: "text-muted"
|
|
251
|
-
}, Ka = {
|
|
252
|
-
key: 2,
|
|
253
|
-
class: "favorites-layout"
|
|
254
|
-
}, qa = { class: "favorites-list" }, Ja = ["onClick"], Za = { class: "item-content" }, Qa = { class: "text-ellipsis" }, es = { class: "favorites-preview" }, ls = {
|
|
255
|
-
key: 0,
|
|
256
|
-
class: "preview-placeholder"
|
|
257
|
-
}, ts = { class: "text-muted" }, os = {
|
|
258
|
-
key: 1,
|
|
259
|
-
class: "preview-placeholder"
|
|
260
|
-
}, as = { class: "text-muted" }, ss = {
|
|
261
|
-
key: 2,
|
|
262
|
-
class: "preview-wrapper"
|
|
263
|
-
}, ns = {
|
|
264
|
-
key: 0,
|
|
265
|
-
class: "preview-controls"
|
|
266
|
-
}, rs = { class: "page-info" }, is = { class: "preview-content" }, cs = {
|
|
267
|
-
key: 0,
|
|
268
|
-
class: "inline-status"
|
|
269
|
-
}, ds = {
|
|
270
|
-
key: 1,
|
|
271
|
-
class: "text-muted"
|
|
272
|
-
}, us = {
|
|
273
|
-
key: 2,
|
|
274
|
-
class: "favorites-layout"
|
|
275
|
-
}, vs = { class: "favorites-list" }, fs = ["onClick"], ps = { class: "item-content" }, ms = { class: "text-ellipsis" }, gs = { class: "favorites-preview" }, ys = {
|
|
276
|
-
key: 0,
|
|
277
|
-
class: "preview-placeholder"
|
|
278
|
-
}, hs = { class: "text-muted" }, bs = {
|
|
279
|
-
key: 1,
|
|
280
|
-
class: "preview-placeholder"
|
|
281
|
-
}, ws = { class: "text-muted" }, Ts = {
|
|
282
|
-
key: 2,
|
|
283
|
-
class: "preview-wrapper"
|
|
284
|
-
}, xs = {
|
|
285
|
-
key: 0,
|
|
286
|
-
class: "preview-controls"
|
|
287
|
-
}, Es = { class: "page-info" }, Ps = { class: "preview-content" }, Cs = { class: "sidebar-form" }, ks = { class: "form-field" }, Is = { for: "alfrescoNodeId" }, Ss = { class: "form-hint" }, $s = { class: "insert-footer" }, As = { class: "insert-footer-info" }, _s = {
|
|
288
|
-
key: 0,
|
|
289
|
-
class: "selected-info"
|
|
290
|
-
}, Ms = { class: "selected-label" }, Fs = { class: "selected-name" }, Ns = {
|
|
291
|
-
key: 1,
|
|
292
|
-
class: "error-msg"
|
|
293
|
-
}, Rs = { class: "insert-footer-actions" }, yt = 24, Ls = {
|
|
294
|
-
__name: "PdfToolsComponent",
|
|
295
|
-
props: {
|
|
296
|
-
toast: { type: Object, required: !0 },
|
|
297
|
-
id: { type: String, required: !0 },
|
|
298
|
-
// The host application decides where closing leads, so the button is only
|
|
299
|
-
// offered when it opts in and handles the event
|
|
300
|
-
closable: { type: Boolean, default: !1 },
|
|
301
|
-
insertIds: { type: Array, default: () => [] }
|
|
302
|
-
},
|
|
303
|
-
emits: ["close"],
|
|
304
|
-
setup(P, { emit: T }) {
|
|
305
|
-
const { t: i } = ht(), y = P, U = T, I = v(!1), Y = () => {
|
|
306
|
-
I.value && !window.confirm(i("pdfTools.closeUnsaved")) || U("close");
|
|
307
|
-
}, R = v(null), h = v(null), F = v([]), x = v(!0), S = v(null), O = v(null), m = v([]), N = v(!1), H = v(null), Q = v(1), d = {
|
|
308
|
-
SELECT: "select",
|
|
309
|
-
REDACT: "redact",
|
|
310
|
-
HIGHLIGHT: "highlight",
|
|
311
|
-
COMMENT: "comment",
|
|
312
|
-
IMAGE: "image",
|
|
313
|
-
SIGNATURE: "signature",
|
|
314
|
-
TEXT: "text"
|
|
315
|
-
}, k = v(d.SELECT), p = v([]), Ce = v(null), ke = v(null), kl = v(null), B = v(null), Il = v(null), $ = v({
|
|
316
|
-
visible: !1,
|
|
317
|
-
tool: null,
|
|
318
|
-
x: 0,
|
|
319
|
-
y: 0,
|
|
320
|
-
value: "",
|
|
321
|
-
index: -1
|
|
322
|
-
}), ve = v(!1), fe = v(null);
|
|
323
|
-
let sl = !1, Oe = null, pe = !1, te = null;
|
|
324
|
-
const Ie = v(""), nl = v(-45), Se = v(5), Tt = [
|
|
325
|
-
{ label: "Helvetica", value: "Helvetica" },
|
|
326
|
-
{ label: "Times New Roman", value: "TimesRoman" },
|
|
327
|
-
{ label: "Courier", value: "Courier" }
|
|
328
|
-
], xt = [
|
|
329
|
-
{ name: "black", value: "#000000" },
|
|
330
|
-
{ name: "white", value: "#ffffff" },
|
|
331
|
-
{ name: "red", value: "#e53935" },
|
|
332
|
-
{ name: "orange", value: "#fb8c00" },
|
|
333
|
-
{ name: "yellow", value: "#fdd835" },
|
|
334
|
-
{ name: "green", value: "#43a047" },
|
|
335
|
-
{ name: "blue", value: "#1e88e5" },
|
|
336
|
-
{ name: "purple", value: "#8e24aa" }
|
|
337
|
-
], ae = v("Helvetica"), oe = v(18), J = v("#000000"), Et = v(null), Ve = v(!1), Sl = v(null), $l = v(""), ze = v(""), We = v(null), Ge = v(null), $e = v(!1), se = v(""), ne = v(""), V = v(null), Pt = Te(() => se.value && gt(se.value) ? !0 : !!(V.value && V.value.id)), Ae = v(""), me = v([]), rl = v(!1), Al = v(!1), _e = v([]), Xe = v(!1), Ye = v(!1), ge = v(null), { pdf: Me } = ut(vt(ge)), X = v(1), j = v(0), ye = v(null), { pdf: je, pages: _l } = ut(vt(ye));
|
|
338
|
-
xo(() => {
|
|
339
|
-
const e = y.id;
|
|
340
|
-
e ? kt(e).then(Lt) : (S.value = i("pdfTools.loadError"), x.value = !1);
|
|
341
|
-
});
|
|
342
|
-
const Ml = (e) => m.value.some((l) => l.pageIndex === e.pageIndex), Ct = (e) => {
|
|
343
|
-
O.value = e;
|
|
344
|
-
const l = m.value.findIndex(
|
|
345
|
-
(o) => o.pageIndex === e.pageIndex
|
|
346
|
-
);
|
|
347
|
-
l > -1 ? m.value.splice(l, 1) : m.value.push(e);
|
|
348
|
-
}, kt = async (e) => {
|
|
349
|
-
x.value = !0, S.value = null;
|
|
350
|
-
try {
|
|
351
|
-
const l = await Ee.getNode(e);
|
|
352
|
-
We.value = l, Et.value = l.parentId, ze.value = l && (l.name || l.properties && l.properties["cm:name"]) || "";
|
|
353
|
-
const o = Pl.getContentUrl(e);
|
|
354
|
-
ye.value = o;
|
|
355
|
-
const t = await fetch(o);
|
|
356
|
-
if (!t.ok)
|
|
357
|
-
throw new Error(`HTTP error! status: ${t.status}`);
|
|
358
|
-
const n = await t.arrayBuffer();
|
|
359
|
-
h.value = new Uint8Array(n), await Fl(h.value), F.value.length > 0 && (O.value = F.value[0]);
|
|
360
|
-
} catch (l) {
|
|
361
|
-
console.error("Error loading PDF from Alfresco:", l), S.value = i("pdfTools.loadError");
|
|
362
|
-
} finally {
|
|
363
|
-
x.value = !1;
|
|
364
|
-
}
|
|
365
|
-
}, Fl = async (e) => {
|
|
366
|
-
R.value = await z.load(e);
|
|
367
|
-
const l = R.value.getPageCount();
|
|
368
|
-
F.value = Array.from({ length: l }, (o, t) => ({
|
|
369
|
-
pageIndex: t,
|
|
370
|
-
pageNumber: t + 1
|
|
371
|
-
}));
|
|
372
|
-
}, re = async (e, { updatePages: l = !0 } = {}) => {
|
|
373
|
-
const o = await e.save();
|
|
374
|
-
h.value = o, I.value = !0;
|
|
375
|
-
const t = new Blob([o], { type: "application/pdf" });
|
|
376
|
-
ye.value && ye.value.startsWith("blob:") && URL.revokeObjectURL(ye.value), ye.value = URL.createObjectURL(t), l && await Fl(o);
|
|
377
|
-
}, It = async () => {
|
|
378
|
-
if (h.value) {
|
|
379
|
-
x.value = !0;
|
|
380
|
-
try {
|
|
381
|
-
const e = await z.create(), l = F.value.map((n) => n.pageIndex), o = await z.load(h.value);
|
|
382
|
-
(await e.copyPages(o, l)).forEach((n) => e.addPage(n)), await re(e);
|
|
383
|
-
} catch (e) {
|
|
384
|
-
console.error("Error reordering pages:", e), S.value = i("pdfTools.reorderError");
|
|
385
|
-
} finally {
|
|
386
|
-
x.value = !1;
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}, St = async (e) => {
|
|
390
|
-
if (h.value) {
|
|
391
|
-
x.value = !0;
|
|
392
|
-
try {
|
|
393
|
-
const l = await z.load(h.value), o = l.getPage(e.pageIndex), t = o.getRotation().angle;
|
|
394
|
-
o.setRotation({
|
|
395
|
-
type: ko.Degrees,
|
|
396
|
-
angle: (t + 90) % 360
|
|
397
|
-
}), await re(l, { updatePages: !1 });
|
|
398
|
-
} catch (l) {
|
|
399
|
-
console.error("Error rotating page:", l), S.value = i("pdfTools.rotateError");
|
|
400
|
-
} finally {
|
|
401
|
-
x.value = !1;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
}, $t = async () => {
|
|
405
|
-
if (m.value.length === 0 || !h.value)
|
|
406
|
-
return null;
|
|
407
|
-
const e = await z.create(), l = await z.load(h.value), o = m.value.map((n) => n.pageIndex).sort((n, a) => n - a);
|
|
408
|
-
return (await e.copyPages(l, o)).forEach((n) => e.addPage(n)), await e.save();
|
|
409
|
-
}, At = async () => {
|
|
410
|
-
if (!(!h.value || m.value.length === 0)) {
|
|
411
|
-
if (m.value.length === F.value.length) {
|
|
412
|
-
y.toast.add({
|
|
413
|
-
severity: "warn",
|
|
414
|
-
summary: i("pdfTools.common.warning"),
|
|
415
|
-
detail: i("pdfTools.deleteAllPagesWarning"),
|
|
416
|
-
life: 3e3
|
|
417
|
-
});
|
|
418
|
-
return;
|
|
419
|
-
}
|
|
420
|
-
x.value = !0;
|
|
421
|
-
try {
|
|
422
|
-
const e = await z.load(h.value), l = e.getPageCount(), o = new Set(m.value.map((u) => u.pageIndex)), t = [];
|
|
423
|
-
for (let u = 0; u < l; u++)
|
|
424
|
-
o.has(u) || t.push(u);
|
|
425
|
-
const n = await z.create();
|
|
426
|
-
(await n.copyPages(e, t)).forEach((u) => n.addPage(u)), await re(n), m.value = [], y.toast.add({
|
|
427
|
-
severity: "success",
|
|
428
|
-
summary: i("pdfTools.common.deleted"),
|
|
429
|
-
detail: i("pdfTools.pagesDeletedSuccess"),
|
|
430
|
-
life: 3e3
|
|
431
|
-
});
|
|
432
|
-
} catch (e) {
|
|
433
|
-
console.error("Error deleting pages:", e), S.value = i("pdfTools.deletePagesError");
|
|
434
|
-
} finally {
|
|
435
|
-
x.value = !1;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}, _t = async () => {
|
|
439
|
-
se.value = "", V.value = null, ne.value = "", $e.value = !0;
|
|
440
|
-
}, Mt = (e) => {
|
|
441
|
-
e === 2 && _e.value.length === 0 && !Xe.value && Rt();
|
|
442
|
-
}, Ft = async () => {
|
|
443
|
-
let e = null;
|
|
444
|
-
if (V.value?.id ? e = V.value.id : se.value && (e = gt(se.value)), !e) {
|
|
445
|
-
y.toast.add({
|
|
446
|
-
severity: "warn",
|
|
447
|
-
summary: i("pdfTools.common.warning"),
|
|
448
|
-
detail: i("pdfTools.insertFromAlfresco.invalidInput"),
|
|
449
|
-
life: 3e3
|
|
450
|
-
});
|
|
451
|
-
return;
|
|
452
|
-
}
|
|
453
|
-
await Dl(e), $e.value = !1;
|
|
454
|
-
}, il = async (e) => {
|
|
455
|
-
if (e?.content?.mimeType === "application/pdf" && (V.value = e, ne.value = "", e?.id)) {
|
|
456
|
-
Ye.value = !0, X.value = 1, j.value = 0;
|
|
457
|
-
try {
|
|
458
|
-
const l = Pl.getContentUrl(e.id);
|
|
459
|
-
ge.value && ge.value.startsWith("blob:") && URL.revokeObjectURL(ge.value), ge.value = l;
|
|
460
|
-
} catch (l) {
|
|
461
|
-
console.error("Error loading PDF preview:", l), ge.value = null;
|
|
462
|
-
} finally {
|
|
463
|
-
Ye.value = !1;
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
}, Nl = () => {
|
|
467
|
-
X.value < j.value && X.value++;
|
|
468
|
-
}, Rl = () => {
|
|
469
|
-
X.value > 1 && X.value--;
|
|
470
|
-
}, Nt = (e) => {
|
|
471
|
-
ne.value = "", e.isFolder ? (V.value = null, ne.value = i(
|
|
472
|
-
"pdfTools.insertFromAlfresco.folderSelectError"
|
|
473
|
-
)) : e.content?.mimeType !== "application/pdf" ? (V.value = null, ne.value = i(
|
|
474
|
-
"pdfTools.insertFromAlfresco.fileTypeNotAllowedError"
|
|
475
|
-
)) : il(e);
|
|
476
|
-
}, Ll = async () => {
|
|
477
|
-
if (Al.value = !0, !Ae.value || Ae.value.trim().length < 2) {
|
|
478
|
-
me.value = [];
|
|
479
|
-
return;
|
|
480
|
-
}
|
|
481
|
-
rl.value = !0;
|
|
482
|
-
try {
|
|
483
|
-
const e = Ro();
|
|
484
|
-
await e.queryStore(Ae.value);
|
|
485
|
-
const l = e.entries.map((o) => o.entry || o);
|
|
486
|
-
me.value = l.filter(
|
|
487
|
-
(o) => o.isFile && o.content?.mimeType === "application/pdf"
|
|
488
|
-
);
|
|
489
|
-
} catch (e) {
|
|
490
|
-
console.error("performSearch", e), me.value = [];
|
|
491
|
-
} finally {
|
|
492
|
-
rl.value = !1;
|
|
493
|
-
}
|
|
494
|
-
}, Rt = async () => {
|
|
495
|
-
Xe.value = !0;
|
|
496
|
-
try {
|
|
497
|
-
const e = Lo();
|
|
498
|
-
await e.loadFavorites(), _e.value = e.fileFavorites.filter(
|
|
499
|
-
(l) => l?.target?.file?.content?.mimeType === "application/pdf"
|
|
500
|
-
).map((l) => l.target.file);
|
|
501
|
-
} catch (e) {
|
|
502
|
-
console.error("loadFavorites error:", e), _e.value = [];
|
|
503
|
-
} finally {
|
|
504
|
-
Xe.value = !1;
|
|
505
|
-
}
|
|
506
|
-
}, Dl = async (e) => {
|
|
507
|
-
if (h.value) {
|
|
508
|
-
x.value = !0;
|
|
509
|
-
try {
|
|
510
|
-
if ((await Ee.getNode(e)).content?.mimeType !== "application/pdf")
|
|
511
|
-
throw new Error(i("pdfTools.invalidNodeForInsert"));
|
|
512
|
-
const t = await (await Ee.getNodeContent(e)).arrayBuffer(), n = new Uint8Array(t), a = await z.load(h.value), u = await z.load(n), E = u.getPageCount(), C = Array.from({ length: E }, (L, be) => be);
|
|
513
|
-
(await a.copyPages(u, C)).forEach((L) => a.addPage(L)), await re(a), m.value = [], y.toast.add({
|
|
514
|
-
severity: "success",
|
|
515
|
-
summary: i("pdfTools.common.success"),
|
|
516
|
-
detail: i("pdfTools.insertFromPristySuccess", { count: E }),
|
|
517
|
-
life: 3e3
|
|
518
|
-
});
|
|
519
|
-
} catch (l) {
|
|
520
|
-
console.error("Error inserting from Alfresco:", l), S.value = l?.message || i("pdfTools.insertFromPristyError"), y.toast.add({
|
|
521
|
-
severity: "error",
|
|
522
|
-
summary: i("pdfTools.common.error"),
|
|
523
|
-
detail: S.value,
|
|
524
|
-
life: 4e3
|
|
525
|
-
});
|
|
526
|
-
} finally {
|
|
527
|
-
x.value = !1;
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
}, Lt = async () => {
|
|
531
|
-
for (const e of y.insertIds)
|
|
532
|
-
await Dl(e);
|
|
533
|
-
}, Dt = async (e) => {
|
|
534
|
-
const l = e.files?.[0];
|
|
535
|
-
l && await Ut(l);
|
|
536
|
-
}, Ut = async (e) => {
|
|
537
|
-
if (h.value) {
|
|
538
|
-
x.value = !0;
|
|
539
|
-
try {
|
|
540
|
-
const l = await z.load(h.value), o = new Uint8Array(await e.arrayBuffer()), t = await z.load(o), n = t.getPageCount(), a = Array.from({ length: n }, (E, C) => C);
|
|
541
|
-
(await l.copyPages(t, a)).forEach((E) => l.addPage(E)), await re(l), m.value = [], y.toast.add({
|
|
542
|
-
severity: "success",
|
|
543
|
-
summary: i("pdfTools.common.success"),
|
|
544
|
-
detail: i("pdfTools.insertFromFileSuccess", { count: n }),
|
|
545
|
-
life: 3e3
|
|
546
|
-
});
|
|
547
|
-
} catch (l) {
|
|
548
|
-
console.error("Error inserting PDF:", l), S.value = i("pdfTools.insertError");
|
|
549
|
-
} finally {
|
|
550
|
-
x.value = !1;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
}, Ht = async () => {
|
|
554
|
-
if (!(!Ie.value || m.value.length === 0 || !h.value)) {
|
|
555
|
-
x.value = !0;
|
|
556
|
-
try {
|
|
557
|
-
const e = await z.load(h.value), l = m.value.map((o) => o.pageIndex);
|
|
558
|
-
for (const o of l) {
|
|
559
|
-
const t = e.getPage(o), { width: n, height: a } = t.getSize();
|
|
560
|
-
for (let u = 0; u < Se.value; u++)
|
|
561
|
-
t.drawText(Ie.value, {
|
|
562
|
-
x: n / (Se.value + 1) * (u + 1) - 150,
|
|
563
|
-
y: a / (Se.value + 1) * (u + 1),
|
|
564
|
-
size: 50,
|
|
565
|
-
color: xl(0.95, 0.1, 0.1),
|
|
566
|
-
opacity: 0.5,
|
|
567
|
-
rotate: Co(nl.value)
|
|
568
|
-
});
|
|
569
|
-
}
|
|
570
|
-
await re(e, { updatePages: !1 });
|
|
571
|
-
} catch (e) {
|
|
572
|
-
console.error("Error adding watermark:", e), S.value = i("pdfTools.watermarkError");
|
|
573
|
-
} finally {
|
|
574
|
-
x.value = !1;
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}, Bt = async () => {
|
|
578
|
-
if (h.value) {
|
|
579
|
-
x.value = !0;
|
|
580
|
-
try {
|
|
581
|
-
const e = new Blob([h.value], {
|
|
582
|
-
type: "application/pdf"
|
|
583
|
-
}), l = new File([e], "modified.pdf", { type: "application/pdf" }), o = {
|
|
584
|
-
majorVersion: !0,
|
|
585
|
-
comment: "File modified via Pristy Espaces PDF tools"
|
|
586
|
-
};
|
|
587
|
-
await Ee.updateContentNode(y.id, l, o), I.value = !1, y.toast.add({
|
|
588
|
-
severity: "success",
|
|
589
|
-
summary: i("pdfTools.common.success"),
|
|
590
|
-
detail: i("pdfTools.saveSuccess"),
|
|
591
|
-
life: 3e3
|
|
592
|
-
});
|
|
593
|
-
} catch (e) {
|
|
594
|
-
console.error("Error saving changes:", e), y.toast.add({
|
|
595
|
-
severity: "error",
|
|
596
|
-
summary: i("pdfTools.common.error"),
|
|
597
|
-
detail: i("pdfTools.saveError"),
|
|
598
|
-
life: 3e3
|
|
599
|
-
});
|
|
600
|
-
} finally {
|
|
601
|
-
x.value = !1;
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
}, Ul = async (e) => {
|
|
605
|
-
if (Sl.value = e, $l.value = i("pdfTools.saveAs.defaultFilename"), We.value && We.value.parentId)
|
|
606
|
-
try {
|
|
607
|
-
Ge.value = await Ee.getNode(
|
|
608
|
-
We.value.parentId
|
|
609
|
-
);
|
|
610
|
-
} catch (l) {
|
|
611
|
-
console.error("Could not fetch parent node for Save As dialog", l), Ge.value = null;
|
|
612
|
-
}
|
|
613
|
-
else
|
|
614
|
-
Ge.value = null;
|
|
615
|
-
Ve.value = !0;
|
|
616
|
-
}, Ot = async ({ filename: e, folderId: l }) => {
|
|
617
|
-
Ve.value = !1, x.value = !0;
|
|
618
|
-
try {
|
|
619
|
-
let o;
|
|
620
|
-
if (Sl.value === "extract" ? o = await $t() : o = h.value, !o)
|
|
621
|
-
throw new Error(i("pdfTools.noContentToSave"));
|
|
622
|
-
const t = new Blob([o], { type: "application/pdf" }), n = new File([t], e, { type: "application/pdf" });
|
|
623
|
-
if (!l)
|
|
624
|
-
throw new Error("No destination folder selected.");
|
|
625
|
-
await Pl.uploadFile(l, {}, n), y.toast.add({
|
|
626
|
-
severity: "success",
|
|
627
|
-
summary: i("pdfTools.common.success"),
|
|
628
|
-
detail: i("pdfTools.fileCreatedSuccess", { filename: e }),
|
|
629
|
-
life: 3e3
|
|
630
|
-
});
|
|
631
|
-
} catch (o) {
|
|
632
|
-
console.error('Error during "Save As":', o);
|
|
633
|
-
const t = o.status === 409 ? i("pdfTools.saveAs.conflictError") : i("pdfTools.saveAsError");
|
|
634
|
-
y.toast.add({
|
|
635
|
-
severity: "error",
|
|
636
|
-
summary: i("pdfTools.common.error"),
|
|
637
|
-
detail: t,
|
|
638
|
-
life: 4e3
|
|
639
|
-
});
|
|
640
|
-
} finally {
|
|
641
|
-
x.value = !1;
|
|
642
|
-
}
|
|
643
|
-
}, Hl = async () => {
|
|
644
|
-
const e = H.value;
|
|
645
|
-
if (p.value = p.value.filter(
|
|
646
|
-
(l) => l.type !== d.COMMENT
|
|
647
|
-
), !h.value || !e) {
|
|
648
|
-
_();
|
|
649
|
-
return;
|
|
650
|
-
}
|
|
651
|
-
try {
|
|
652
|
-
const l = await z.load(h.value), o = Wl(), t = jt.value;
|
|
653
|
-
for (const n of Ko(l.getPage(e.pageIndex)))
|
|
654
|
-
p.value.push({
|
|
655
|
-
type: d.COMMENT,
|
|
656
|
-
rect: {
|
|
657
|
-
x: n.x * o,
|
|
658
|
-
// PDF coordinates start from the bottom, the overlay from the top
|
|
659
|
-
y: (t - (n.y + n.size)) * o,
|
|
660
|
-
w: n.size * o,
|
|
661
|
-
h: n.size * o
|
|
662
|
-
},
|
|
663
|
-
payload: { text: n.text }
|
|
664
|
-
});
|
|
665
|
-
} catch (l) {
|
|
666
|
-
console.error("Error reading existing comments:", l);
|
|
667
|
-
}
|
|
668
|
-
_();
|
|
669
|
-
}, Bl = (e) => {
|
|
670
|
-
H.value = e || O.value, N.value = !0, Q.value = 1, p.value = [], W.value = -1, setTimeout(() => {
|
|
671
|
-
ie(), Hl();
|
|
672
|
-
}, 200);
|
|
673
|
-
}, Ol = () => {
|
|
674
|
-
N.value = !1, H.value = null;
|
|
675
|
-
}, Vt = () => {
|
|
676
|
-
Q.value = Math.min(4, Q.value + 0.1);
|
|
677
|
-
}, zt = () => {
|
|
678
|
-
Q.value = Math.max(0.2, Q.value - 0.1);
|
|
679
|
-
}, Fe = (e) => {
|
|
680
|
-
e === d.REDACT ? window.confirm(i("pdfTools.redactWarning")) && (k.value = e) : k.value = e;
|
|
681
|
-
}, Wt = (e) => {
|
|
682
|
-
Ce.value = e.files?.[0] || null, Ce.value && (ke.value = null, k.value = d.IMAGE);
|
|
683
|
-
}, Gt = () => {
|
|
684
|
-
ve.value = !0;
|
|
685
|
-
}, Xt = () => {
|
|
686
|
-
p.value.pop(), W.value = -1, _();
|
|
687
|
-
}, Vl = async (e) => {
|
|
688
|
-
if (!(!e || e.type !== d.IMAGE || e._loading || e._bitmap)) {
|
|
689
|
-
e._loading = !0;
|
|
690
|
-
try {
|
|
691
|
-
let l = null;
|
|
692
|
-
e.payload?.file ? l = e.payload.file : e.payload?.signature && (l = new Blob([new Uint8Array(e.payload.signature)], {
|
|
693
|
-
type: "image/png"
|
|
694
|
-
})), l && (e._bitmap = await createImageBitmap(l), _());
|
|
695
|
-
} catch (l) {
|
|
696
|
-
console.warn(i("pdfTools.imagePreviewUnavailable"), l);
|
|
697
|
-
} finally {
|
|
698
|
-
e._loading = !1;
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
}, zl = () => {
|
|
702
|
-
const e = kl.value;
|
|
703
|
-
if (!e)
|
|
704
|
-
return null;
|
|
705
|
-
const l = Array.from(e.querySelectorAll("canvas"));
|
|
706
|
-
if (l.length === 0)
|
|
707
|
-
return null;
|
|
708
|
-
const o = l.filter(
|
|
709
|
-
(u) => u.offsetParent !== null && u.width > 0 && u.height > 0
|
|
710
|
-
), t = o.length ? o : l;
|
|
711
|
-
let n = t[0], a = 0;
|
|
712
|
-
for (const u of t) {
|
|
713
|
-
const E = u.getBoundingClientRect(), C = Math.max(0, E.width) * Math.max(0, E.height);
|
|
714
|
-
C > a && (n = u, a = C);
|
|
715
|
-
}
|
|
716
|
-
return n;
|
|
717
|
-
}, ie = () => {
|
|
718
|
-
const e = zl();
|
|
719
|
-
if (!e || !B.value)
|
|
720
|
-
return;
|
|
721
|
-
const l = e.getBoundingClientRect(), o = window.devicePixelRatio || 1;
|
|
722
|
-
B.value.style.width = l.width + "px", B.value.style.height = l.height + "px", B.value.width = Math.round(l.width * o), B.value.height = Math.round(l.height * o), _();
|
|
723
|
-
}, he = (e) => {
|
|
724
|
-
const l = B.value;
|
|
725
|
-
if (!l)
|
|
726
|
-
return { x: 0, y: 0 };
|
|
727
|
-
const o = l.getBoundingClientRect(), t = window.devicePixelRatio || 1;
|
|
728
|
-
return {
|
|
729
|
-
x: (e.clientX - o.left) * t,
|
|
730
|
-
y: (e.clientY - o.top) * t
|
|
731
|
-
};
|
|
732
|
-
};
|
|
733
|
-
let Ne = null, Z = null, Re = null, ce = null;
|
|
734
|
-
const Yt = Te(() => {
|
|
735
|
-
const e = H.value || O.value;
|
|
736
|
-
if (!R.value || !e)
|
|
737
|
-
return 0;
|
|
738
|
-
try {
|
|
739
|
-
return R.value.getPage(e.pageIndex).getSize().width;
|
|
740
|
-
} catch {
|
|
741
|
-
return 0;
|
|
742
|
-
}
|
|
743
|
-
}), jt = Te(() => {
|
|
744
|
-
const e = H.value || O.value;
|
|
745
|
-
if (!R.value || !e)
|
|
746
|
-
return 0;
|
|
747
|
-
try {
|
|
748
|
-
return R.value.getPage(e.pageIndex).getSize().height;
|
|
749
|
-
} catch {
|
|
750
|
-
return 0;
|
|
751
|
-
}
|
|
752
|
-
}), Wl = () => ta({
|
|
753
|
-
overlayWidth: B.value?.width || 0,
|
|
754
|
-
pageWidthPt: Yt.value
|
|
755
|
-
}), cl = (e) => Math.max(1, (Number(e?.size) || 18) * Wl()), Gl = (e, l) => {
|
|
756
|
-
const o = B.value.getContext("2d"), t = cl(l);
|
|
757
|
-
o.save(), o.font = `${t}px ${l.font || "Helvetica"}`;
|
|
758
|
-
const n = oa({
|
|
759
|
-
lines: Cl(e),
|
|
760
|
-
fontSize: t,
|
|
761
|
-
measureLine: (a) => o.measureText(a).width
|
|
762
|
-
});
|
|
763
|
-
return o.restore(), n;
|
|
764
|
-
}, Kt = Te(() => {
|
|
765
|
-
const e = window.devicePixelRatio || 1;
|
|
766
|
-
if ($.value.tool === d.COMMENT)
|
|
767
|
-
return {
|
|
768
|
-
left: `${$.value.x / e}px`,
|
|
769
|
-
top: `${$.value.y / e}px`
|
|
770
|
-
};
|
|
771
|
-
const l = $.value.index >= 0 ? p.value[$.value.index]?.payload : { size: oe.value, font: ae.value, color: J.value }, o = cl(l) / e;
|
|
772
|
-
return {
|
|
773
|
-
left: `${$.value.x / e}px`,
|
|
774
|
-
top: `${$.value.y / e}px`,
|
|
775
|
-
font: `${o}px ${l?.font || "Helvetica"}`,
|
|
776
|
-
lineHeight: al,
|
|
777
|
-
color: l?.color || "#000000"
|
|
778
|
-
};
|
|
779
|
-
}), W = v(-1);
|
|
780
|
-
let dl = !1;
|
|
781
|
-
const qt = Te(
|
|
782
|
-
() => k.value === d.TEXT || p.value[W.value]?.type === d.TEXT
|
|
783
|
-
), Jt = (e) => {
|
|
784
|
-
W.value = e;
|
|
785
|
-
const l = p.value[e];
|
|
786
|
-
l?.type === d.TEXT && (dl = !0, ae.value = l.payload?.font || "Helvetica", oe.value = Number(l.payload?.size) || 18, J.value = l.payload?.color || "#000000", ct(() => {
|
|
787
|
-
dl = !1;
|
|
788
|
-
})), _();
|
|
789
|
-
};
|
|
790
|
-
xe([ae, oe, J], () => {
|
|
791
|
-
if (dl)
|
|
792
|
-
return;
|
|
793
|
-
const e = W.value, l = p.value[e];
|
|
794
|
-
if (!l || l.type !== d.TEXT)
|
|
795
|
-
return;
|
|
796
|
-
const o = {
|
|
797
|
-
...l.payload,
|
|
798
|
-
font: ae.value,
|
|
799
|
-
size: oe.value,
|
|
800
|
-
color: J.value
|
|
801
|
-
};
|
|
802
|
-
p.value[e] = {
|
|
803
|
-
...l,
|
|
804
|
-
payload: o,
|
|
805
|
-
rect: {
|
|
806
|
-
x: l.rect.x,
|
|
807
|
-
y: l.rect.y,
|
|
808
|
-
...Gl(o.text, o)
|
|
809
|
-
}
|
|
810
|
-
}, _();
|
|
811
|
-
});
|
|
812
|
-
const Xl = () => {
|
|
813
|
-
const e = W.value;
|
|
814
|
-
e < 0 || !p.value[e] || (p.value.splice(e, 1), W.value = -1, _());
|
|
815
|
-
}, ul = (e) => {
|
|
816
|
-
if (e.key === "Escape") {
|
|
817
|
-
$.value.visible && Zt(), W.value = -1, k.value = d.SELECT, _();
|
|
818
|
-
return;
|
|
819
|
-
}
|
|
820
|
-
const l = $.value.visible || ["INPUT", "TEXTAREA", "SELECT"].includes(e.target?.tagName);
|
|
821
|
-
e.key === "Delete" && !l && Xl();
|
|
822
|
-
};
|
|
823
|
-
xe(N, (e) => {
|
|
824
|
-
e ? document.addEventListener("keydown", ul) : document.removeEventListener("keydown", ul);
|
|
825
|
-
}), Eo(() => document.removeEventListener("keydown", ul));
|
|
826
|
-
const Yl = Te(
|
|
827
|
-
() => $.value.tool === d.COMMENT ? {
|
|
828
|
-
label: i("pdfTools.pageEditor.tools.comment"),
|
|
829
|
-
placeholder: i("pdfTools.pageEditor.commentPlaceholder")
|
|
830
|
-
} : {
|
|
831
|
-
label: i("pdfTools.pageEditor.textInputLabel"),
|
|
832
|
-
placeholder: i("pdfTools.pageEditor.textInputPlaceholder")
|
|
833
|
-
}
|
|
834
|
-
), jl = (e, l, o = -1) => {
|
|
835
|
-
const t = o >= 0 ? p.value[o] : null;
|
|
836
|
-
$.value = {
|
|
837
|
-
visible: !0,
|
|
838
|
-
tool: l,
|
|
839
|
-
x: t ? t.rect.x : e.x,
|
|
840
|
-
y: t ? t.rect.y : e.y,
|
|
841
|
-
value: t ? String(t.payload?.text || "") : "",
|
|
842
|
-
index: o
|
|
843
|
-
}, _(), ct(() => Il.value?.focus());
|
|
844
|
-
}, Zt = () => {
|
|
845
|
-
$.value = { ...$.value, visible: !1, index: -1 }, _();
|
|
846
|
-
}, vl = () => {
|
|
847
|
-
if (!$.value.visible)
|
|
848
|
-
return;
|
|
849
|
-
const { value: e, index: l, x: o, y: t, tool: n } = $.value;
|
|
850
|
-
if ($.value = { ...$.value, visible: !1, index: -1 }, !e.trim()) {
|
|
851
|
-
l >= 0 && p.value.splice(l, 1), _();
|
|
852
|
-
return;
|
|
853
|
-
}
|
|
854
|
-
if (n === d.COMMENT) {
|
|
855
|
-
const E = {
|
|
856
|
-
type: d.COMMENT,
|
|
857
|
-
rect: { x: o, y: t, w: yt, h: yt },
|
|
858
|
-
payload: { text: e }
|
|
859
|
-
};
|
|
860
|
-
l >= 0 ? p.value[l] = {
|
|
861
|
-
...p.value[l],
|
|
862
|
-
payload: { text: e }
|
|
863
|
-
} : p.value.push(E), W.value = l >= 0 ? l : p.value.length - 1, _();
|
|
864
|
-
return;
|
|
865
|
-
}
|
|
866
|
-
const a = l >= 0 ? { ...p.value[l].payload, text: e } : {
|
|
867
|
-
text: e,
|
|
868
|
-
font: ae.value,
|
|
869
|
-
size: oe.value,
|
|
870
|
-
color: J.value
|
|
871
|
-
}, u = { x: o, y: t, ...Gl(e, a) };
|
|
872
|
-
l >= 0 ? p.value[l] = {
|
|
873
|
-
...p.value[l],
|
|
874
|
-
rect: u,
|
|
875
|
-
payload: a
|
|
876
|
-
} : p.value.push({ type: d.TEXT, rect: u, payload: a }), W.value = l >= 0 ? l : p.value.length - 1, _();
|
|
877
|
-
}, Qt = (e) => {
|
|
878
|
-
const l = he(e), o = Kl(l), t = o !== -1 ? p.value[o].type : null;
|
|
879
|
-
(t === d.TEXT || t === d.COMMENT) && jl(l, t, o);
|
|
880
|
-
}, Kl = (e) => {
|
|
881
|
-
for (let l = p.value.length - 1; l >= 0; l--) {
|
|
882
|
-
const o = p.value[l].rect;
|
|
883
|
-
if (e.x >= o.x && e.x <= o.x + o.w && e.y >= o.y && e.y <= o.y + o.h)
|
|
884
|
-
return l;
|
|
885
|
-
}
|
|
886
|
-
return -1;
|
|
887
|
-
}, eo = (e) => {
|
|
888
|
-
const t = 6 * (window.devicePixelRatio || 1) / 2;
|
|
889
|
-
for (let n = p.value.length - 1; n >= 0; n--) {
|
|
890
|
-
const a = p.value[n];
|
|
891
|
-
if (a.type !== d.IMAGE)
|
|
892
|
-
continue;
|
|
893
|
-
const u = a.rect, E = [
|
|
894
|
-
{ key: "tl", x: u.x, y: u.y },
|
|
895
|
-
{ key: "tr", x: u.x + u.w, y: u.y },
|
|
896
|
-
{ key: "bl", x: u.x, y: u.y + u.h },
|
|
897
|
-
{ key: "br", x: u.x + u.w, y: u.y + u.h }
|
|
898
|
-
];
|
|
899
|
-
for (const C of E)
|
|
900
|
-
if (e.x >= C.x - t && e.x <= C.x + t && e.y >= C.y - t && e.y <= C.y + t)
|
|
901
|
-
return { idx: n, corner: C.key };
|
|
902
|
-
}
|
|
903
|
-
return null;
|
|
904
|
-
}, lo = (e) => {
|
|
905
|
-
if ($.value.visible && vl(), k.value === d.REDACT || k.value === d.HIGHLIGHT)
|
|
906
|
-
pe = !0, te = he(e);
|
|
907
|
-
else if (k.value === d.IMAGE || k.value === d.SELECT || k.value === d.TEXT || k.value === d.COMMENT) {
|
|
908
|
-
const l = he(e), o = eo(l);
|
|
909
|
-
if (o) {
|
|
910
|
-
Re = o.idx, ce = o.corner, Z = { p: l, rect: { ...p.value[o.idx].rect } }, B.value && (B.value.style.cursor = "nwse-resize");
|
|
911
|
-
return;
|
|
912
|
-
}
|
|
913
|
-
const t = Kl(l);
|
|
914
|
-
if (t !== -1 && (p.value[t].type === d.IMAGE || p.value[t].type === d.TEXT || p.value[t].type === d.COMMENT)) {
|
|
915
|
-
Jt(t), Ne = t, Z = { p: l, rect: { ...p.value[t].rect } }, B.value && (B.value.style.cursor = "move");
|
|
916
|
-
return;
|
|
917
|
-
}
|
|
918
|
-
if (W.value = -1, k.value === d.TEXT || k.value === d.COMMENT) {
|
|
919
|
-
e.preventDefault(), jl(l, k.value);
|
|
920
|
-
return;
|
|
921
|
-
}
|
|
922
|
-
if (k.value === d.IMAGE) {
|
|
923
|
-
if (!Ce.value && !ke.value)
|
|
924
|
-
return;
|
|
925
|
-
const n = {
|
|
926
|
-
type: d.IMAGE,
|
|
927
|
-
rect: { x: l.x, y: l.y, w: 150, h: 100 },
|
|
928
|
-
payload: {
|
|
929
|
-
file: Ce.value,
|
|
930
|
-
signature: ke.value
|
|
931
|
-
}
|
|
932
|
-
};
|
|
933
|
-
p.value.push(n), Vl(n), _(), k.value = d.SELECT, Ce.value = null, ke.value = null;
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
}, to = (e) => {
|
|
937
|
-
if (Re !== null && ce) {
|
|
938
|
-
const o = he(e), t = p.value[Re];
|
|
939
|
-
if (t) {
|
|
940
|
-
const n = Z.rect;
|
|
941
|
-
let a = n.x, u = n.y, E = n.w, C = n.h;
|
|
942
|
-
const G = o.x - Z.p.x, L = o.y - Z.p.y;
|
|
943
|
-
ce === "br" ? (E = Math.max(10, n.w + G), C = Math.max(10, n.h + L)) : ce === "tr" ? (E = Math.max(10, n.w + G), C = Math.max(10, n.h - L), u = n.y + L) : ce === "bl" ? (E = Math.max(10, n.w - G), a = n.x + G, C = Math.max(10, n.h + L)) : ce === "tl" && (E = Math.max(10, n.w - G), a = n.x + G, C = Math.max(10, n.h - L), u = n.y + L), t.rect.x = a, t.rect.y = u, t.rect.w = E, t.rect.h = C, _();
|
|
944
|
-
}
|
|
945
|
-
return;
|
|
946
|
-
}
|
|
947
|
-
if (Ne !== null) {
|
|
948
|
-
const o = he(e), t = p.value[Ne];
|
|
949
|
-
if (t) {
|
|
950
|
-
const n = o.x - Z.p.x, a = o.y - Z.p.y;
|
|
951
|
-
t.rect.x = Z.rect.x + n, t.rect.y = Z.rect.y + a, _();
|
|
952
|
-
}
|
|
953
|
-
return;
|
|
954
|
-
}
|
|
955
|
-
if (!pe || !te)
|
|
956
|
-
return;
|
|
957
|
-
const l = he(e);
|
|
958
|
-
de.value = {
|
|
959
|
-
x: Math.min(te.x, l.x),
|
|
960
|
-
y: Math.min(te.y, l.y),
|
|
961
|
-
w: Math.abs(l.x - te.x),
|
|
962
|
-
h: Math.abs(l.y - te.y)
|
|
963
|
-
}, _();
|
|
964
|
-
}, oo = () => {
|
|
965
|
-
if (Ne !== null || Re !== null) {
|
|
966
|
-
Ne = null, Re = null, ce = null, Z = null, B.value && (B.value.style.cursor = "crosshair"), _();
|
|
967
|
-
return;
|
|
968
|
-
}
|
|
969
|
-
pe && de.value && p.value.push({
|
|
970
|
-
type: k.value,
|
|
971
|
-
rect: { ...de.value }
|
|
972
|
-
}), pe = !1, te = null, de.value = null, _();
|
|
973
|
-
}, ao = () => {
|
|
974
|
-
pe && (pe = !1, te = null, de.value = null, _());
|
|
975
|
-
}, de = v(null), _ = () => {
|
|
976
|
-
const e = W.value, l = B.value;
|
|
977
|
-
if (!l)
|
|
978
|
-
return;
|
|
979
|
-
const o = l.getContext("2d"), t = window.devicePixelRatio || 1;
|
|
980
|
-
o.clearRect(0, 0, l.width, l.height);
|
|
981
|
-
const n = (a, u) => {
|
|
982
|
-
if (!($.value.visible && u === $.value.index)) {
|
|
983
|
-
if (a.type === d.REDACT)
|
|
984
|
-
o.fillStyle = "rgba(0,0,0,1)", o.fillRect(a.rect.x, a.rect.y, a.rect.w, a.rect.h), o.strokeStyle = "rgba(0,0,0,1)", o.strokeRect(a.rect.x, a.rect.y, a.rect.w, a.rect.h);
|
|
985
|
-
else if (a.type === d.HIGHLIGHT)
|
|
986
|
-
o.fillStyle = "rgba(255, 235, 59, 0.4)", o.fillRect(a.rect.x, a.rect.y, a.rect.w, a.rect.h), o.strokeStyle = "rgba(255, 193, 7, 0.8)", o.strokeRect(a.rect.x, a.rect.y, a.rect.w, a.rect.h);
|
|
987
|
-
else if (a.type === d.COMMENT)
|
|
988
|
-
no(o, a.rect.x, a.rect.y, 20 * t), u === e && (o.save(), o.strokeStyle = "#0ea5e9", o.lineWidth = 2 * t, o.setLineDash([4 * t, 4 * t]), o.strokeRect(a.rect.x, a.rect.y, a.rect.w, a.rect.h), o.restore());
|
|
989
|
-
else if (a.type === d.IMAGE) {
|
|
990
|
-
if (Vl(a), a._bitmap && o.drawImage(
|
|
991
|
-
a._bitmap,
|
|
992
|
-
a.rect.x,
|
|
993
|
-
a.rect.y,
|
|
994
|
-
a.rect.w,
|
|
995
|
-
a.rect.h
|
|
996
|
-
), o.strokeStyle = u === e ? "#0ea5e9" : "rgba(33,150,243,0.9)", o.lineWidth = u === e ? 2 * t : 1 * t, o.strokeRect(a.rect.x, a.rect.y, a.rect.w, a.rect.h), u === e) {
|
|
997
|
-
o.fillStyle = "#0ea5e9";
|
|
998
|
-
const E = 6 * t, C = E / 2;
|
|
999
|
-
[
|
|
1000
|
-
[a.rect.x, a.rect.y],
|
|
1001
|
-
[a.rect.x + a.rect.w, a.rect.y],
|
|
1002
|
-
[a.rect.x, a.rect.y + a.rect.h],
|
|
1003
|
-
[a.rect.x + a.rect.w, a.rect.y + a.rect.h]
|
|
1004
|
-
].forEach(([L, be]) => {
|
|
1005
|
-
o.fillRect(L - C, be - C, E, E);
|
|
1006
|
-
});
|
|
1007
|
-
}
|
|
1008
|
-
} else if (a.type === d.TEXT) {
|
|
1009
|
-
const E = a.payload || {}, C = cl(E);
|
|
1010
|
-
o.save(), o.fillStyle = E.color || "#000", o.font = `${C}px ${E.font || "Helvetica"}`, o.textBaseline = "top";
|
|
1011
|
-
let G = a.rect.y;
|
|
1012
|
-
for (const L of Cl(E.text))
|
|
1013
|
-
o.fillText(L, a.rect.x, G), G += C * al;
|
|
1014
|
-
o.restore(), o.save(), o.strokeStyle = u === e ? "#0ea5e9" : "rgba(33,150,243,0.5)", o.lineWidth = u === e ? 2 * t : 1 * t, o.setLineDash([4 * t, 4 * t]), o.strokeRect(a.rect.x, a.rect.y, a.rect.w, a.rect.h), o.restore();
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
if (p.value.forEach(n), de.value) {
|
|
1019
|
-
const a = de.value;
|
|
1020
|
-
o.setLineDash([6 * t, 4 * t]), o.strokeStyle = k.value === d.REDACT ? "black" : "goldenrod", o.strokeRect(a.x, a.y, a.w, a.h), o.setLineDash([]);
|
|
1021
|
-
}
|
|
1022
|
-
}, so = (e) => {
|
|
1023
|
-
let l = e.toString().trim();
|
|
1024
|
-
l.startsWith("#") && (l = l.slice(1)), l.length === 3 && (l = l.split("").map((u) => u + u).join(""));
|
|
1025
|
-
const o = parseInt(l || "000000", 16), t = (o >> 16 & 255) / 255, n = (o >> 8 & 255) / 255, a = (o & 255) / 255;
|
|
1026
|
-
return { r: t, g: n, b: a };
|
|
1027
|
-
}, no = (e, l, o, t) => {
|
|
1028
|
-
e.save(), e.translate(l, o), e.fillStyle = "#FFEB3B", e.strokeStyle = "#FBC02D", e.lineWidth = 2, e.beginPath(), e.rect(0, 0, t, t), e.fill(), e.stroke(), e.beginPath(), e.moveTo(t * 0.6, 0), e.lineTo(t, t * 0.4), e.lineTo(t * 0.6, t * 0.4), e.closePath(), e.fillStyle = "#FDD835", e.fill(), e.restore();
|
|
1029
|
-
}, ro = async () => {
|
|
1030
|
-
if (!(!h.value || !H.value)) {
|
|
1031
|
-
x.value = !0;
|
|
1032
|
-
try {
|
|
1033
|
-
const e = await z.load(h.value), l = H.value.pageIndex;
|
|
1034
|
-
let o = e.getPage(l);
|
|
1035
|
-
const { width: t, height: n } = o.getSize(), a = zl();
|
|
1036
|
-
if (!a)
|
|
1037
|
-
throw new Error(i("pdfTools.pdfRenderCanvasNotFound"));
|
|
1038
|
-
if (p.value.some(
|
|
1039
|
-
(M) => M.type === d.REDACT
|
|
1040
|
-
)) {
|
|
1041
|
-
if (!window.confirm(i("pdfTools.redactFlattenConfirm"))) {
|
|
1042
|
-
x.value = !1;
|
|
1043
|
-
return;
|
|
1044
|
-
}
|
|
1045
|
-
const pl = await (await je.value.promise).getPage(l + 1), we = B.value, ml = await ea({
|
|
1046
|
-
pdfPage: pl,
|
|
1047
|
-
// Masks are converted to page fractions so they no longer depend on
|
|
1048
|
-
// the screen resolution nor on the current zoom level.
|
|
1049
|
-
redactions: p.value.filter((ee) => ee.type === d.REDACT).map((ee) => ({
|
|
1050
|
-
x: ee.rect.x / we.width,
|
|
1051
|
-
y: ee.rect.y / we.height,
|
|
1052
|
-
w: ee.rect.w / we.width,
|
|
1053
|
-
h: ee.rect.h / we.height
|
|
1054
|
-
}))
|
|
1055
|
-
}), gl = await (await fetch(ml)).arrayBuffer(), yl = await e.embedJpg(gl), Ke = e.insertPage(l + 1, [t, n]);
|
|
1056
|
-
Ke.drawImage(yl, { x: 0, y: 0, width: t, height: n }), o = Ke;
|
|
1057
|
-
}
|
|
1058
|
-
const E = a.getBoundingClientRect(), C = a.width, G = a.height, L = window.devicePixelRatio || 1, be = C / E.width, et = G / E.height, lt = t / C, tt = n / G;
|
|
1059
|
-
qo(o);
|
|
1060
|
-
for (const M of p.value) {
|
|
1061
|
-
const at = M.rect.x / L, pl = M.rect.y / L, we = M.rect.w / L, ml = M.rect.h / L, gl = at * be, yl = pl * et, Ke = we * be, ee = ml * et, hl = Ke * lt, bl = ee * tt, qe = gl * lt, Je = n - (yl + ee) * tt;
|
|
1062
|
-
if (M.type !== d.REDACT) {
|
|
1063
|
-
if (M.type === d.HIGHLIGHT)
|
|
1064
|
-
o.drawRectangle({
|
|
1065
|
-
x: qe,
|
|
1066
|
-
y: Je,
|
|
1067
|
-
width: hl,
|
|
1068
|
-
height: bl,
|
|
1069
|
-
color: xl(1, 0.92, 0.23),
|
|
1070
|
-
opacity: 0.4
|
|
1071
|
-
});
|
|
1072
|
-
else if (M.type === d.COMMENT)
|
|
1073
|
-
jo({
|
|
1074
|
-
doc: e,
|
|
1075
|
-
page: o,
|
|
1076
|
-
rect: { x: qe, y: Je, size: Math.max(14, hl) },
|
|
1077
|
-
text: M.payload?.text,
|
|
1078
|
-
title: i("pdfTools.pageEditor.tools.comment")
|
|
1079
|
-
});
|
|
1080
|
-
else if (M.type === d.IMAGE) {
|
|
1081
|
-
let K = null;
|
|
1082
|
-
if (M.payload?.file ? K = await M.payload.file.arrayBuffer() : M.payload?.signature && (K = M.payload.signature), K) {
|
|
1083
|
-
let Le;
|
|
1084
|
-
try {
|
|
1085
|
-
Le = await e.embedPng(K);
|
|
1086
|
-
} catch {
|
|
1087
|
-
Le = await e.embedJpg(K);
|
|
1088
|
-
}
|
|
1089
|
-
o.drawImage(Le, { x: qe, y: Je, width: hl, height: bl, opacity: 0.98 });
|
|
1090
|
-
}
|
|
1091
|
-
} else if (M.type === d.TEXT) {
|
|
1092
|
-
const K = M.payload || {}, Le = K.font === "TimesRoman" ? El.TimesRoman : K.font === "Courier" ? El.Courier : El.Helvetica, wl = await e.embedFont(Le), Tl = Math.max(6, Number(K.size) || 18), {
|
|
1093
|
-
r: go,
|
|
1094
|
-
g: yo,
|
|
1095
|
-
b: ho
|
|
1096
|
-
} = so(K.color || "#000000"), bo = Je + bl, wo = wl.heightAtSize(Tl, { descender: !1 });
|
|
1097
|
-
Cl(K.text).forEach((st, To) => {
|
|
1098
|
-
st && o.drawText(st, {
|
|
1099
|
-
x: qe,
|
|
1100
|
-
y: aa({
|
|
1101
|
-
topY: bo,
|
|
1102
|
-
lineIndex: To,
|
|
1103
|
-
fontSize: Tl,
|
|
1104
|
-
ascentPt: wo
|
|
1105
|
-
}),
|
|
1106
|
-
size: Tl,
|
|
1107
|
-
font: wl,
|
|
1108
|
-
color: xl(go, yo, ho)
|
|
1109
|
-
});
|
|
1110
|
-
});
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1114
|
-
const ot = p.value.some(
|
|
1115
|
-
(M) => M.type === d.REDACT
|
|
1116
|
-
);
|
|
1117
|
-
ot && e.removePage(l), await re(e, { updatePages: ot }), p.value = [], W.value = -1, await Hl(), y.toast.add({
|
|
1118
|
-
severity: "success",
|
|
1119
|
-
summary: i("pdfTools.common.success"),
|
|
1120
|
-
detail: i("pdfTools.pageEditor.applySuccess"),
|
|
1121
|
-
life: 2e3
|
|
1122
|
-
});
|
|
1123
|
-
} catch (e) {
|
|
1124
|
-
console.error("Error applying overlay edits:", e), y.toast.add({
|
|
1125
|
-
severity: "error",
|
|
1126
|
-
summary: i("pdfTools.common.error"),
|
|
1127
|
-
detail: i("pdfTools.pageEditor.applyError"),
|
|
1128
|
-
life: 3e3
|
|
1129
|
-
});
|
|
1130
|
-
} finally {
|
|
1131
|
-
x.value = !1;
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
};
|
|
1135
|
-
xe(Q, () => setTimeout(ie, 0)), xe(H, () => setTimeout(ie, 0)), typeof window < "u" && window.addEventListener("resize", () => setTimeout(ie, 0));
|
|
1136
|
-
const io = () => {
|
|
1137
|
-
Q.value = 1, setTimeout(ie, 0);
|
|
1138
|
-
}, co = () => {
|
|
1139
|
-
const e = fe.value;
|
|
1140
|
-
if (!e)
|
|
1141
|
-
return;
|
|
1142
|
-
const l = window.devicePixelRatio || 1, o = 440, t = 180;
|
|
1143
|
-
e.style.width = o + "px", e.style.height = t + "px", e.width = Math.round(o * l), e.height = Math.round(t * l);
|
|
1144
|
-
const n = e.getContext("2d");
|
|
1145
|
-
n.fillStyle = "#fff", n.fillRect(0, 0, e.width, e.height);
|
|
1146
|
-
}, uo = () => {
|
|
1147
|
-
Ql(), ve.value = !1;
|
|
1148
|
-
}, ql = (e) => {
|
|
1149
|
-
sl = !0, Oe = Zl(e);
|
|
1150
|
-
}, Jl = (e) => {
|
|
1151
|
-
if (!sl)
|
|
1152
|
-
return;
|
|
1153
|
-
const l = Zl(e);
|
|
1154
|
-
po(Oe, l), Oe = l;
|
|
1155
|
-
}, vo = (e) => ql(e.touches[0]), fo = (e) => Jl(e.touches[0]), fl = () => {
|
|
1156
|
-
sl = !1, Oe = null;
|
|
1157
|
-
}, Zl = (e) => {
|
|
1158
|
-
const o = fe.value.getBoundingClientRect(), t = window.devicePixelRatio || 1, n = e.clientX ?? e.pageX, a = e.clientY ?? e.pageY;
|
|
1159
|
-
return { x: (n - o.left) * t, y: (a - o.top) * t };
|
|
1160
|
-
}, po = (e, l) => {
|
|
1161
|
-
const t = fe.value.getContext("2d");
|
|
1162
|
-
t.strokeStyle = "#111827", t.lineWidth = 3 * (window.devicePixelRatio || 1), t.lineCap = "round", t.beginPath(), t.moveTo(e.x, e.y), t.lineTo(l.x, l.y), t.stroke();
|
|
1163
|
-
}, Ql = () => {
|
|
1164
|
-
const e = fe.value;
|
|
1165
|
-
if (!e)
|
|
1166
|
-
return;
|
|
1167
|
-
const l = e.getContext("2d");
|
|
1168
|
-
l.fillStyle = "#fff", l.fillRect(0, 0, e.width, e.height);
|
|
1169
|
-
}, mo = () => {
|
|
1170
|
-
const e = fe.value;
|
|
1171
|
-
e && e.toBlob(async (l) => {
|
|
1172
|
-
ke.value = await l.arrayBuffer(), k.value = d.IMAGE, ve.value = !1;
|
|
1173
|
-
});
|
|
1174
|
-
};
|
|
1175
|
-
return xe(ve, (e) => {
|
|
1176
|
-
e && setTimeout(co, 0);
|
|
1177
|
-
}), xe(Me, async (e) => {
|
|
1178
|
-
if (!e) {
|
|
1179
|
-
j.value = 0;
|
|
1180
|
-
return;
|
|
1181
|
-
}
|
|
1182
|
-
try {
|
|
1183
|
-
const l = await e;
|
|
1184
|
-
j.value = l.numPages;
|
|
1185
|
-
} catch (l) {
|
|
1186
|
-
console.error("Error loading preview PDF:", l), j.value = 0;
|
|
1187
|
-
}
|
|
1188
|
-
}), (e, l) => {
|
|
1189
|
-
const o = Po("tooltip");
|
|
1190
|
-
return g(), b("div", sa, [
|
|
1191
|
-
s("div", na, [
|
|
1192
|
-
s("h1", null, [
|
|
1193
|
-
le(f(e.$t("pdfTools.title")) + " ", 1),
|
|
1194
|
-
ze.value ? (g(), b("span", ra, "— " + f(ze.value), 1)) : D("", !0)
|
|
1195
|
-
]),
|
|
1196
|
-
P.closable ? (g(), He(r(w), {
|
|
1197
|
-
key: 0,
|
|
1198
|
-
severity: "secondary",
|
|
1199
|
-
class: "flex-shrink-0",
|
|
1200
|
-
icon: "ri-close-line",
|
|
1201
|
-
label: e.$t("pdfTools.closeEditor"),
|
|
1202
|
-
onClick: Y
|
|
1203
|
-
}, null, 8, ["label"])) : D("", !0)
|
|
1204
|
-
]),
|
|
1205
|
-
x.value ? (g(), b("div", ia, [
|
|
1206
|
-
c(r(Ue)),
|
|
1207
|
-
s("p", null, f(e.$t("pdfTools.loading")), 1)
|
|
1208
|
-
])) : D("", !0),
|
|
1209
|
-
S.value ? (g(), b("div", ca, [
|
|
1210
|
-
c(r(So), { severity: "error" }, {
|
|
1211
|
-
default: A(() => [
|
|
1212
|
-
le(f(S.value), 1)
|
|
1213
|
-
]),
|
|
1214
|
-
_: 1
|
|
1215
|
-
})
|
|
1216
|
-
])) : D("", !0),
|
|
1217
|
-
!x.value && !S.value ? (g(), b("div", da, [
|
|
1218
|
-
s("div", ua, [
|
|
1219
|
-
s("div", va, [
|
|
1220
|
-
s("h2", null, f(e.$t("pdfTools.sidebar.actions")), 1),
|
|
1221
|
-
s("div", fa, [
|
|
1222
|
-
c(r(w), {
|
|
1223
|
-
icon: "ri-save-2-line",
|
|
1224
|
-
label: e.$t("pdfTools.sidebar.saveNewVersion"),
|
|
1225
|
-
onClick: Bt
|
|
1226
|
-
}, null, 8, ["label"]),
|
|
1227
|
-
c(r(w), {
|
|
1228
|
-
severity: "secondary",
|
|
1229
|
-
class: "btn-mt",
|
|
1230
|
-
icon: "ri-file-copy-2-line",
|
|
1231
|
-
label: e.$t("pdfTools.sidebar.saveAs"),
|
|
1232
|
-
onClick: l[0] || (l[0] = (t) => Ul("saveAs"))
|
|
1233
|
-
}, null, 8, ["label"]),
|
|
1234
|
-
c(r(mt)),
|
|
1235
|
-
s("div", pa, [
|
|
1236
|
-
s("h3", null, f(e.$t("pdfTools.sidebar.extractPages")), 1),
|
|
1237
|
-
c(r(w), {
|
|
1238
|
-
disabled: m.value.length === 0,
|
|
1239
|
-
icon: "ri-file-transfer-line",
|
|
1240
|
-
label: e.$t("pdfTools.sidebar.extractAndSave"),
|
|
1241
|
-
onClick: l[1] || (l[1] = (t) => Ul("extract"))
|
|
1242
|
-
}, null, 8, ["disabled", "label"])
|
|
1243
|
-
]),
|
|
1244
|
-
s("div", ma, [
|
|
1245
|
-
s("h3", null, f(e.$t("pdfTools.sidebar.deletePages")), 1),
|
|
1246
|
-
c(r(w), {
|
|
1247
|
-
disabled: m.value.length === 0 || F.value.length === m.value.length,
|
|
1248
|
-
severity: "danger",
|
|
1249
|
-
icon: "ri-delete-bin-line",
|
|
1250
|
-
label: e.$t("pdfTools.sidebar.deleteSelectedPages"),
|
|
1251
|
-
onClick: At
|
|
1252
|
-
}, null, 8, ["disabled", "label"])
|
|
1253
|
-
]),
|
|
1254
|
-
s("div", ga, [
|
|
1255
|
-
s("h3", null, f(e.$t("pdfTools.sidebar.insertPdf")), 1),
|
|
1256
|
-
s("div", ya, [
|
|
1257
|
-
c(r(pt), {
|
|
1258
|
-
auto: !1,
|
|
1259
|
-
customUpload: !1,
|
|
1260
|
-
showCancelButton: !1,
|
|
1261
|
-
showUploadButton: !1,
|
|
1262
|
-
accept: "application/pdf",
|
|
1263
|
-
"choose-label": e.$t("pdfTools.sidebar.fromComputer"),
|
|
1264
|
-
severity: "secondary",
|
|
1265
|
-
class: "btn-full",
|
|
1266
|
-
mode: "basic",
|
|
1267
|
-
name: "pdfToInsert",
|
|
1268
|
-
onSelect: Dt
|
|
1269
|
-
}, null, 8, ["choose-label"]),
|
|
1270
|
-
c(r(w), {
|
|
1271
|
-
severity: "secondary",
|
|
1272
|
-
icon: "ri-cloud-line",
|
|
1273
|
-
label: e.$t("pdfTools.sidebar.fromPristy"),
|
|
1274
|
-
onClick: _t
|
|
1275
|
-
}, null, 8, ["label"])
|
|
1276
|
-
])
|
|
1277
|
-
]),
|
|
1278
|
-
s("div", ha, [
|
|
1279
|
-
s("h3", null, f(e.$t("pdfTools.sidebar.addWatermark")), 1),
|
|
1280
|
-
c(r(Be), {
|
|
1281
|
-
modelValue: Ie.value,
|
|
1282
|
-
"onUpdate:modelValue": l[2] || (l[2] = (t) => Ie.value = t),
|
|
1283
|
-
placeholder: e.$t("pdfTools.sidebar.watermarkTextPlaceholder"),
|
|
1284
|
-
type: "text"
|
|
1285
|
-
}, null, 8, ["modelValue", "placeholder"]),
|
|
1286
|
-
s("div", ba, [
|
|
1287
|
-
s("div", null, [
|
|
1288
|
-
c(r(ft), {
|
|
1289
|
-
modelValue: nl.value,
|
|
1290
|
-
"onUpdate:modelValue": l[3] || (l[3] = (t) => nl.value = t),
|
|
1291
|
-
max: 360,
|
|
1292
|
-
min: -360,
|
|
1293
|
-
placeholder: e.$t("pdfTools.sidebar.angle"),
|
|
1294
|
-
suffix: "°"
|
|
1295
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
1296
|
-
]),
|
|
1297
|
-
s("div", null, [
|
|
1298
|
-
c(r(ft), {
|
|
1299
|
-
modelValue: Se.value,
|
|
1300
|
-
"onUpdate:modelValue": l[4] || (l[4] = (t) => Se.value = t),
|
|
1301
|
-
max: 10,
|
|
1302
|
-
min: 1,
|
|
1303
|
-
placeholder: e.$t("pdfTools.sidebar.repetitions")
|
|
1304
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
1305
|
-
])
|
|
1306
|
-
]),
|
|
1307
|
-
c(r(w), {
|
|
1308
|
-
disabled: !Ie.value || m.value.length === 0,
|
|
1309
|
-
severity: "secondary",
|
|
1310
|
-
class: "btn-mt",
|
|
1311
|
-
icon: "ri-paint-brush-line",
|
|
1312
|
-
label: e.$t("pdfTools.sidebar.addWatermarkButton"),
|
|
1313
|
-
onClick: Ht
|
|
1314
|
-
}, null, 8, ["disabled", "label"])
|
|
1315
|
-
])
|
|
1316
|
-
])
|
|
1317
|
-
])
|
|
1318
|
-
]),
|
|
1319
|
-
s("div", wa, [
|
|
1320
|
-
s("h2", null, f(e.$t("pdfTools.pagePreview.title")), 1),
|
|
1321
|
-
c(r(Io), {
|
|
1322
|
-
modelValue: F.value,
|
|
1323
|
-
"onUpdate:modelValue": l[5] || (l[5] = (t) => F.value = t),
|
|
1324
|
-
class: "page-grid",
|
|
1325
|
-
"ghost-class": "ghost",
|
|
1326
|
-
"item-key": "pageIndex",
|
|
1327
|
-
onEnd: It
|
|
1328
|
-
}, {
|
|
1329
|
-
default: A(() => [
|
|
1330
|
-
(g(!0), b(Ze, null, Qe(F.value, (t) => (g(), b("div", {
|
|
1331
|
-
key: t.pageIndex,
|
|
1332
|
-
class: "page-grid-item"
|
|
1333
|
-
}, [
|
|
1334
|
-
s("div", {
|
|
1335
|
-
class: q([{ selected: Ml(t) }, "page-thumbnail"]),
|
|
1336
|
-
onClick: (n) => Ct(t),
|
|
1337
|
-
onDblclick: ue((n) => Bl(t), ["stop"])
|
|
1338
|
-
}, [
|
|
1339
|
-
s("div", xa, [
|
|
1340
|
-
c(r($o), {
|
|
1341
|
-
binary: "",
|
|
1342
|
-
"model-value": Ml(t)
|
|
1343
|
-
}, null, 8, ["model-value"])
|
|
1344
|
-
]),
|
|
1345
|
-
s("div", Ea, [
|
|
1346
|
-
c(r(w), {
|
|
1347
|
-
text: "",
|
|
1348
|
-
rounded: "",
|
|
1349
|
-
icon: "ri-clockwise-line",
|
|
1350
|
-
"aria-label": e.$t("pdf.rotationRigth"),
|
|
1351
|
-
onClick: ue((n) => St(t), ["stop"])
|
|
1352
|
-
}, null, 8, ["aria-label", "onClick"]),
|
|
1353
|
-
c(r(w), {
|
|
1354
|
-
"aria-label": e.$t("pdfTools.pagePreview.openPagePreview", {
|
|
1355
|
-
pageNumber: t.pageNumber
|
|
1356
|
-
}),
|
|
1357
|
-
text: "",
|
|
1358
|
-
rounded: "",
|
|
1359
|
-
icon: "ri-edit-box-line",
|
|
1360
|
-
onClick: ue((n) => Bl(t), ["stop"])
|
|
1361
|
-
}, null, 8, ["aria-label", "onClick"])
|
|
1362
|
-
]),
|
|
1363
|
-
s("div", Pa, [
|
|
1364
|
-
t.pageNumber <= r(_l) ? (g(), He(r(el), {
|
|
1365
|
-
key: 0,
|
|
1366
|
-
annotations: !1,
|
|
1367
|
-
page: t.pageNumber,
|
|
1368
|
-
pdf: r(je),
|
|
1369
|
-
scale: 0.25,
|
|
1370
|
-
text: !1
|
|
1371
|
-
}, null, 8, ["page", "pdf"])) : D("", !0)
|
|
1372
|
-
]),
|
|
1373
|
-
s("div", Ca, f(t.pageNumber), 1)
|
|
1374
|
-
], 42, Ta)
|
|
1375
|
-
]))), 128))
|
|
1376
|
-
]),
|
|
1377
|
-
_: 1
|
|
1378
|
-
}, 8, ["modelValue"])
|
|
1379
|
-
])
|
|
1380
|
-
])) : D("", !0),
|
|
1381
|
-
c(r(ol), {
|
|
1382
|
-
visible: N.value,
|
|
1383
|
-
"onUpdate:visible": l[15] || (l[15] = (t) => N.value = t),
|
|
1384
|
-
breakpoints: { "960px": "95vw", "640px": "100vw" },
|
|
1385
|
-
closeOnEscape: !1,
|
|
1386
|
-
style: { width: "85vw", maxWidth: "1400px", height: "90vh" },
|
|
1387
|
-
dismissableMask: "",
|
|
1388
|
-
modal: "",
|
|
1389
|
-
class: "dialog-page-editor",
|
|
1390
|
-
"content-class": "page-editor-dialog",
|
|
1391
|
-
onHide: Ol
|
|
1392
|
-
}, {
|
|
1393
|
-
header: A(() => [
|
|
1394
|
-
s("div", ka, [
|
|
1395
|
-
l[22] || (l[22] = s("i", {
|
|
1396
|
-
class: "ri-file-fill",
|
|
1397
|
-
"aria-hidden": "true"
|
|
1398
|
-
}, null, -1)),
|
|
1399
|
-
s("span", null, f(e.$t("pdfTools.pageEditor.title", {
|
|
1400
|
-
pageNumber: (H.value || O.value)?.pageNumber || "",
|
|
1401
|
-
filename: ze.value
|
|
1402
|
-
})), 1)
|
|
1403
|
-
])
|
|
1404
|
-
]),
|
|
1405
|
-
footer: A(() => [
|
|
1406
|
-
s("div", Va, [
|
|
1407
|
-
s("small", null, f(e.$t("pdfTools.pageEditor.footerHint")), 1)
|
|
1408
|
-
])
|
|
1409
|
-
]),
|
|
1410
|
-
default: A(() => [
|
|
1411
|
-
s("div", Ia, [
|
|
1412
|
-
c(r(w), {
|
|
1413
|
-
text: "",
|
|
1414
|
-
icon: "ri-zoom-out-line",
|
|
1415
|
-
"aria-label": e.$t("pdf.dezoom"),
|
|
1416
|
-
onClick: zt
|
|
1417
|
-
}, null, 8, ["aria-label"]),
|
|
1418
|
-
c(r(w), {
|
|
1419
|
-
text: "",
|
|
1420
|
-
icon: "ri-zoom-in-line",
|
|
1421
|
-
"aria-label": e.$t("pdf.zoom"),
|
|
1422
|
-
onClick: Vt
|
|
1423
|
-
}, null, 8, ["aria-label"]),
|
|
1424
|
-
c(r(w), {
|
|
1425
|
-
text: "",
|
|
1426
|
-
label: e.$t("pdfTools.pageEditor.fit"),
|
|
1427
|
-
onClick: io
|
|
1428
|
-
}, null, 8, ["label"]),
|
|
1429
|
-
s("span", Sa, f(Math.round(Q.value * 100)) + "%", 1),
|
|
1430
|
-
l[23] || (l[23] = s("span", { class: "spacer" }, null, -1)),
|
|
1431
|
-
c(r(w), {
|
|
1432
|
-
text: "",
|
|
1433
|
-
icon: "ri-close-line",
|
|
1434
|
-
label: e.$t("pdfTools.pageEditor.close"),
|
|
1435
|
-
onClick: Ol
|
|
1436
|
-
}, null, 8, ["label"])
|
|
1437
|
-
]),
|
|
1438
|
-
s("div", $a, [
|
|
1439
|
-
s("div", Aa, [
|
|
1440
|
-
s("h4", null, f(e.$t("pdfTools.pageEditor.tools.actions")), 1),
|
|
1441
|
-
c(r(w), {
|
|
1442
|
-
text: "",
|
|
1443
|
-
severity: "secondary",
|
|
1444
|
-
class: q({ active: k.value === d.SELECT }),
|
|
1445
|
-
icon: "ri-cursor-line",
|
|
1446
|
-
label: e.$t("pdfTools.pageEditor.tools.select"),
|
|
1447
|
-
onClick: l[6] || (l[6] = (t) => Fe(d.SELECT))
|
|
1448
|
-
}, null, 8, ["class", "label"]),
|
|
1449
|
-
c(r(w), {
|
|
1450
|
-
text: "",
|
|
1451
|
-
severity: "secondary",
|
|
1452
|
-
class: q({ active: k.value === d.REDACT }),
|
|
1453
|
-
icon: "ri-eraser-fill",
|
|
1454
|
-
label: e.$t("pdfTools.pageEditor.tools.redact"),
|
|
1455
|
-
onClick: l[7] || (l[7] = (t) => Fe(d.REDACT))
|
|
1456
|
-
}, null, 8, ["class", "label"]),
|
|
1457
|
-
c(r(w), {
|
|
1458
|
-
text: "",
|
|
1459
|
-
severity: "secondary",
|
|
1460
|
-
class: q({ active: k.value === d.HIGHLIGHT }),
|
|
1461
|
-
icon: "ri-mark-pen-line",
|
|
1462
|
-
label: e.$t("pdfTools.pageEditor.tools.highlight"),
|
|
1463
|
-
onClick: l[8] || (l[8] = (t) => Fe(d.HIGHLIGHT))
|
|
1464
|
-
}, null, 8, ["class", "label"]),
|
|
1465
|
-
c(r(w), {
|
|
1466
|
-
text: "",
|
|
1467
|
-
severity: "secondary",
|
|
1468
|
-
class: q({ active: k.value === d.COMMENT }),
|
|
1469
|
-
icon: "ri-sticky-note-line",
|
|
1470
|
-
label: e.$t("pdfTools.pageEditor.tools.comment"),
|
|
1471
|
-
onClick: l[9] || (l[9] = (t) => Fe(d.COMMENT))
|
|
1472
|
-
}, null, 8, ["class", "label"]),
|
|
1473
|
-
c(r(pt), {
|
|
1474
|
-
severity: "secondary",
|
|
1475
|
-
class: q({ active: k.value === d.IMAGE }),
|
|
1476
|
-
accept: "image/*",
|
|
1477
|
-
"choose-label": e.$t("pdfTools.pageEditor.tools.image"),
|
|
1478
|
-
mode: "basic",
|
|
1479
|
-
name: "image",
|
|
1480
|
-
onSelect: Wt
|
|
1481
|
-
}, null, 8, ["class", "choose-label"]),
|
|
1482
|
-
c(r(w), {
|
|
1483
|
-
text: "",
|
|
1484
|
-
severity: "secondary",
|
|
1485
|
-
class: q({ active: k.value === d.SIGNATURE }),
|
|
1486
|
-
icon: "ri-ball-pen-line",
|
|
1487
|
-
label: e.$t("pdfTools.pageEditor.tools.signature"),
|
|
1488
|
-
onClick: Gt
|
|
1489
|
-
}, null, 8, ["class", "label"]),
|
|
1490
|
-
c(r(w), {
|
|
1491
|
-
text: "",
|
|
1492
|
-
severity: "secondary",
|
|
1493
|
-
class: q({ active: k.value === d.TEXT }),
|
|
1494
|
-
icon: "ri-font-size",
|
|
1495
|
-
label: e.$t("pdfTools.pageEditor.tools.text"),
|
|
1496
|
-
onClick: l[10] || (l[10] = (t) => Fe(d.TEXT))
|
|
1497
|
-
}, null, 8, ["class", "label"]),
|
|
1498
|
-
qt.value ? (g(), b("div", _a, [
|
|
1499
|
-
s("div", Ma, [
|
|
1500
|
-
s("label", Fa, f(e.$t("pdfTools.pageEditor.tools.font")), 1),
|
|
1501
|
-
c(r(_o), {
|
|
1502
|
-
modelValue: ae.value,
|
|
1503
|
-
"onUpdate:modelValue": l[11] || (l[11] = (t) => ae.value = t),
|
|
1504
|
-
options: Tt,
|
|
1505
|
-
class: "input-full",
|
|
1506
|
-
optionLabel: "label",
|
|
1507
|
-
optionValue: "value"
|
|
1508
|
-
}, null, 8, ["modelValue"])
|
|
1509
|
-
]),
|
|
1510
|
-
s("div", Na, [
|
|
1511
|
-
s("label", Ra, f(e.$t("pdfTools.pageEditor.tools.size")) + " : " + f(oe.value), 1),
|
|
1512
|
-
c(r(Ao), {
|
|
1513
|
-
id: "text-size-slider",
|
|
1514
|
-
modelValue: oe.value,
|
|
1515
|
-
"onUpdate:modelValue": l[12] || (l[12] = (t) => oe.value = t),
|
|
1516
|
-
max: 144,
|
|
1517
|
-
min: 6,
|
|
1518
|
-
class: "input-full"
|
|
1519
|
-
}, null, 8, ["modelValue"])
|
|
1520
|
-
]),
|
|
1521
|
-
s("div", La, [
|
|
1522
|
-
s("label", Da, f(e.$t("pdfTools.pageEditor.tools.color")), 1),
|
|
1523
|
-
s("div", Ua, [
|
|
1524
|
-
(g(), b(Ze, null, Qe(xt, (t) => s("button", {
|
|
1525
|
-
key: t.value,
|
|
1526
|
-
type: "button",
|
|
1527
|
-
class: q(["color-swatch", { selected: J.value === t.value }]),
|
|
1528
|
-
style: nt({ backgroundColor: t.value }),
|
|
1529
|
-
"aria-label": e.$t(`pdfTools.pageEditor.colors.${t.name}`),
|
|
1530
|
-
"aria-pressed": J.value === t.value,
|
|
1531
|
-
onClick: (n) => J.value = t.value
|
|
1532
|
-
}, null, 14, Ha)), 64))
|
|
1533
|
-
]),
|
|
1534
|
-
s("label", Ba, [
|
|
1535
|
-
De(s("input", {
|
|
1536
|
-
"onUpdate:modelValue": l[13] || (l[13] = (t) => J.value = t),
|
|
1537
|
-
type: "color",
|
|
1538
|
-
class: "color-custom-input"
|
|
1539
|
-
}, null, 512), [
|
|
1540
|
-
[rt, J.value]
|
|
1541
|
-
]),
|
|
1542
|
-
s("span", null, f(e.$t("pdfTools.pageEditor.colors.custom")), 1)
|
|
1543
|
-
])
|
|
1544
|
-
])
|
|
1545
|
-
])) : D("", !0),
|
|
1546
|
-
c(r(mt)),
|
|
1547
|
-
c(r(w), {
|
|
1548
|
-
disabled: p.value.length === 0,
|
|
1549
|
-
severity: "info",
|
|
1550
|
-
class: "btn-full btn-mt-auto",
|
|
1551
|
-
icon: "ri-check-line",
|
|
1552
|
-
label: e.$t("pdfTools.pageEditor.apply"),
|
|
1553
|
-
onClick: ro
|
|
1554
|
-
}, null, 8, ["disabled", "label"]),
|
|
1555
|
-
c(r(w), {
|
|
1556
|
-
disabled: p.value.length === 0,
|
|
1557
|
-
severity: "warn",
|
|
1558
|
-
class: "btn-full btn-mt-sm",
|
|
1559
|
-
icon: "ri-arrow-go-back-line",
|
|
1560
|
-
label: e.$t("pdfTools.pageEditor.cancel"),
|
|
1561
|
-
onClick: Xt
|
|
1562
|
-
}, null, 8, ["disabled", "label"]),
|
|
1563
|
-
W.value >= 0 ? (g(), He(r(w), {
|
|
1564
|
-
key: 1,
|
|
1565
|
-
severity: "danger",
|
|
1566
|
-
class: "btn-full btn-mt-sm",
|
|
1567
|
-
icon: "ri-delete-bin-line",
|
|
1568
|
-
label: e.$t("pdfTools.pageEditor.deleteSelected"),
|
|
1569
|
-
onClick: Xl
|
|
1570
|
-
}, null, 8, ["label"])) : D("", !0)
|
|
1571
|
-
]),
|
|
1572
|
-
s("div", {
|
|
1573
|
-
class: "page-editor-canvas",
|
|
1574
|
-
onWheelPassive: ie,
|
|
1575
|
-
onScrollPassive: ie
|
|
1576
|
-
}, [
|
|
1577
|
-
s("div", {
|
|
1578
|
-
ref_key: "pdfCanvasWrapper",
|
|
1579
|
-
ref: kl,
|
|
1580
|
-
class: "pdf-canvas-wrapper"
|
|
1581
|
-
}, [
|
|
1582
|
-
r(je) && (H.value || O.value) && (H.value || O.value).pageNumber <= r(_l) ? (g(), He(r(el), {
|
|
1583
|
-
key: 0,
|
|
1584
|
-
annotations: "",
|
|
1585
|
-
page: (H.value || O.value).pageNumber,
|
|
1586
|
-
pdf: r(je),
|
|
1587
|
-
scale: Q.value,
|
|
1588
|
-
text: !1,
|
|
1589
|
-
class: "pdf-canvas-absolute"
|
|
1590
|
-
}, null, 8, ["page", "pdf", "scale"])) : D("", !0),
|
|
1591
|
-
s("canvas", {
|
|
1592
|
-
ref_key: "overlayCanvas",
|
|
1593
|
-
ref: B,
|
|
1594
|
-
class: "overlay-canvas",
|
|
1595
|
-
onDblclick: Qt,
|
|
1596
|
-
onMousedown: lo,
|
|
1597
|
-
onMouseleave: ao,
|
|
1598
|
-
onMousemove: to,
|
|
1599
|
-
onMouseup: oo
|
|
1600
|
-
}, null, 544),
|
|
1601
|
-
$.value.visible ? De((g(), b("textarea", {
|
|
1602
|
-
key: 1,
|
|
1603
|
-
ref_key: "textEditorInput",
|
|
1604
|
-
ref: Il,
|
|
1605
|
-
"onUpdate:modelValue": l[14] || (l[14] = (t) => $.value.value = t),
|
|
1606
|
-
"aria-label": Yl.value.label,
|
|
1607
|
-
placeholder: Yl.value.placeholder,
|
|
1608
|
-
style: nt(Kt.value),
|
|
1609
|
-
class: "text-editor-input",
|
|
1610
|
-
onBlur: vl,
|
|
1611
|
-
onKeydown: it(ue(vl, ["ctrl", "prevent"]), ["enter"])
|
|
1612
|
-
}, null, 44, Oa)), [
|
|
1613
|
-
[rt, $.value.value]
|
|
1614
|
-
]) : D("", !0)
|
|
1615
|
-
], 512)
|
|
1616
|
-
], 32)
|
|
1617
|
-
])
|
|
1618
|
-
]),
|
|
1619
|
-
_: 1
|
|
1620
|
-
}, 8, ["visible"]),
|
|
1621
|
-
c(r(ol), {
|
|
1622
|
-
visible: ve.value,
|
|
1623
|
-
"onUpdate:visible": l[16] || (l[16] = (t) => ve.value = t),
|
|
1624
|
-
modal: "",
|
|
1625
|
-
class: "dialog-signature-pad",
|
|
1626
|
-
onHide: uo
|
|
1627
|
-
}, {
|
|
1628
|
-
header: A(() => [
|
|
1629
|
-
s("div", za, [
|
|
1630
|
-
l[24] || (l[24] = s("i", {
|
|
1631
|
-
class: "ri-ball-pen-line",
|
|
1632
|
-
"aria-hidden": "true"
|
|
1633
|
-
}, null, -1)),
|
|
1634
|
-
s("span", null, f(e.$t("pdfTools.signaturePad.title")), 1)
|
|
1635
|
-
])
|
|
1636
|
-
]),
|
|
1637
|
-
footer: A(() => [
|
|
1638
|
-
s("div", Ga, [
|
|
1639
|
-
c(r(w), {
|
|
1640
|
-
text: "",
|
|
1641
|
-
label: e.$t("pdfTools.signaturePad.clear"),
|
|
1642
|
-
onClick: Ql
|
|
1643
|
-
}, null, 8, ["label"]),
|
|
1644
|
-
c(r(w), {
|
|
1645
|
-
text: "",
|
|
1646
|
-
label: e.$t("pdfTools.signaturePad.use"),
|
|
1647
|
-
onClick: mo
|
|
1648
|
-
}, null, 8, ["label"])
|
|
1649
|
-
])
|
|
1650
|
-
]),
|
|
1651
|
-
default: A(() => [
|
|
1652
|
-
s("div", Wa, [
|
|
1653
|
-
s("canvas", {
|
|
1654
|
-
ref_key: "signaturePadCanvas",
|
|
1655
|
-
ref: fe,
|
|
1656
|
-
class: "signature-canvas",
|
|
1657
|
-
onMousedown: ql,
|
|
1658
|
-
onMouseleave: fl,
|
|
1659
|
-
onMousemove: Jl,
|
|
1660
|
-
onMouseup: fl,
|
|
1661
|
-
onTouchstart: ue(vo, ["prevent"]),
|
|
1662
|
-
onTouchmove: ue(fo, ["prevent"]),
|
|
1663
|
-
onTouchend: ue(fl, ["prevent"])
|
|
1664
|
-
}, null, 544)
|
|
1665
|
-
])
|
|
1666
|
-
]),
|
|
1667
|
-
_: 1
|
|
1668
|
-
}, 8, ["visible"]),
|
|
1669
|
-
c(Go, {
|
|
1670
|
-
"default-filename": $l.value,
|
|
1671
|
-
visible: Ve.value,
|
|
1672
|
-
"parent-folder-node": Ge.value,
|
|
1673
|
-
onClose: l[17] || (l[17] = (t) => Ve.value = !1),
|
|
1674
|
-
onSave: Ot
|
|
1675
|
-
}, null, 8, ["default-filename", "visible", "parent-folder-node"]),
|
|
1676
|
-
c(r(ol), {
|
|
1677
|
-
visible: $e.value,
|
|
1678
|
-
modal: "",
|
|
1679
|
-
header: e.$t("pdfTools.insertFromAlfresco.title"),
|
|
1680
|
-
class: "dialog-insert-pdf",
|
|
1681
|
-
"onUpdate:visible": l[21] || (l[21] = (t) => $e.value = !1)
|
|
1682
|
-
}, {
|
|
1683
|
-
footer: A(() => [
|
|
1684
|
-
s("div", $s, [
|
|
1685
|
-
s("div", As, [
|
|
1686
|
-
V.value ? (g(), b("div", _s, [
|
|
1687
|
-
s("span", Ms, f(e.$t("pdfTools.insertFromAlfresco.selected")), 1),
|
|
1688
|
-
De((g(), b("span", Fs, [
|
|
1689
|
-
le(f(V.value?.name), 1)
|
|
1690
|
-
])), [
|
|
1691
|
-
[
|
|
1692
|
-
o,
|
|
1693
|
-
V.value?.name,
|
|
1694
|
-
void 0,
|
|
1695
|
-
{ top: !0 }
|
|
1696
|
-
]
|
|
1697
|
-
])
|
|
1698
|
-
])) : D("", !0),
|
|
1699
|
-
ne.value ? (g(), b("div", Ns, f(ne.value), 1)) : D("", !0)
|
|
1700
|
-
]),
|
|
1701
|
-
s("div", Rs, [
|
|
1702
|
-
c(r(w), {
|
|
1703
|
-
label: e.$t("pdfTools.insertFromAlfresco.cancel"),
|
|
1704
|
-
text: "",
|
|
1705
|
-
onClick: l[20] || (l[20] = (t) => $e.value = !1)
|
|
1706
|
-
}, null, 8, ["label"]),
|
|
1707
|
-
c(r(w), {
|
|
1708
|
-
disabled: !Pt.value,
|
|
1709
|
-
label: e.$t("pdfTools.insertFromAlfresco.insert"),
|
|
1710
|
-
icon: "ri-add-line",
|
|
1711
|
-
onClick: Ft
|
|
1712
|
-
}, null, 8, ["disabled", "label"])
|
|
1713
|
-
])
|
|
1714
|
-
])
|
|
1715
|
-
]),
|
|
1716
|
-
default: A(() => [
|
|
1717
|
-
c(r(Mo), {
|
|
1718
|
-
value: 0,
|
|
1719
|
-
"onUpdate:value": Mt
|
|
1720
|
-
}, {
|
|
1721
|
-
default: A(() => [
|
|
1722
|
-
c(r(Fo), null, {
|
|
1723
|
-
default: A(() => [
|
|
1724
|
-
c(r(ll), { value: 0 }, {
|
|
1725
|
-
default: A(() => [
|
|
1726
|
-
le(f(e.$t("pdfTools.insertFromAlfresco.browse")), 1)
|
|
1727
|
-
]),
|
|
1728
|
-
_: 1
|
|
1729
|
-
}),
|
|
1730
|
-
c(r(ll), { value: 1 }, {
|
|
1731
|
-
default: A(() => [
|
|
1732
|
-
le(f(e.$t("pdfTools.insertFromAlfresco.search")), 1)
|
|
1733
|
-
]),
|
|
1734
|
-
_: 1
|
|
1735
|
-
}),
|
|
1736
|
-
c(r(ll), { value: 2 }, {
|
|
1737
|
-
default: A(() => [
|
|
1738
|
-
le(f(e.$t("pdfTools.insertFromAlfresco.favorites")), 1)
|
|
1739
|
-
]),
|
|
1740
|
-
_: 1
|
|
1741
|
-
}),
|
|
1742
|
-
c(r(ll), { value: 3 }, {
|
|
1743
|
-
default: A(() => [
|
|
1744
|
-
le(f(e.$t("pdfTools.insertFromAlfresco.linkOrId")), 1)
|
|
1745
|
-
]),
|
|
1746
|
-
_: 1
|
|
1747
|
-
})
|
|
1748
|
-
]),
|
|
1749
|
-
_: 1
|
|
1750
|
-
}),
|
|
1751
|
-
c(r(No), null, {
|
|
1752
|
-
default: A(() => [
|
|
1753
|
-
c(r(tl), { value: 0 }, {
|
|
1754
|
-
default: A(() => [
|
|
1755
|
-
c(wt, {
|
|
1756
|
-
showUserHome: "",
|
|
1757
|
-
showFiles: "",
|
|
1758
|
-
onSelectNode: Nt
|
|
1759
|
-
})
|
|
1760
|
-
]),
|
|
1761
|
-
_: 1
|
|
1762
|
-
}),
|
|
1763
|
-
c(r(tl), { value: 1 }, {
|
|
1764
|
-
default: A(() => [
|
|
1765
|
-
s("div", Xa, [
|
|
1766
|
-
c(r(Be), {
|
|
1767
|
-
modelValue: Ae.value,
|
|
1768
|
-
"onUpdate:modelValue": l[18] || (l[18] = (t) => Ae.value = t),
|
|
1769
|
-
placeholder: e.$t("pdfTools.insertFromAlfresco.searchPlaceholder"),
|
|
1770
|
-
onKeyup: it(Ll, ["enter"])
|
|
1771
|
-
}, null, 8, ["modelValue", "placeholder"]),
|
|
1772
|
-
c(r(w), {
|
|
1773
|
-
icon: "ri-search-line",
|
|
1774
|
-
"aria-label": e.$t("search"),
|
|
1775
|
-
onClick: Ll
|
|
1776
|
-
}, null, 8, ["aria-label"])
|
|
1777
|
-
]),
|
|
1778
|
-
rl.value ? (g(), b("div", Ya, [
|
|
1779
|
-
c(r(Ue), {
|
|
1780
|
-
class: "spinner-sm",
|
|
1781
|
-
strokeWidth: "8"
|
|
1782
|
-
}),
|
|
1783
|
-
s("span", null, f(e.$t("pdfTools.insertFromAlfresco.searching")), 1)
|
|
1784
|
-
])) : !me.value.length && Al.value ? (g(), b("div", ja, f(e.$t("pdfTools.insertFromAlfresco.noPdfFound")), 1)) : me.value.length ? (g(), b("div", Ka, [
|
|
1785
|
-
s("div", qa, [
|
|
1786
|
-
(g(!0), b(Ze, null, Qe(me.value, (t) => (g(), b("div", {
|
|
1787
|
-
key: t.id,
|
|
1788
|
-
class: q(["favorite-item", {
|
|
1789
|
-
"favorite-item-selected": V.value?.id === t.id
|
|
1790
|
-
}]),
|
|
1791
|
-
onClick: (n) => il(t)
|
|
1792
|
-
}, [
|
|
1793
|
-
s("div", Za, [
|
|
1794
|
-
l[25] || (l[25] = s("i", {
|
|
1795
|
-
class: "ri-file-pdf-line",
|
|
1796
|
-
"aria-hidden": "true"
|
|
1797
|
-
}, null, -1)),
|
|
1798
|
-
De((g(), b("span", Qa, [
|
|
1799
|
-
le(f(t.name), 1)
|
|
1800
|
-
])), [
|
|
1801
|
-
[
|
|
1802
|
-
o,
|
|
1803
|
-
t.name,
|
|
1804
|
-
void 0,
|
|
1805
|
-
{ top: !0 }
|
|
1806
|
-
]
|
|
1807
|
-
])
|
|
1808
|
-
])
|
|
1809
|
-
], 10, Ja))), 128))
|
|
1810
|
-
]),
|
|
1811
|
-
s("div", es, [
|
|
1812
|
-
V.value ? Ye.value ? (g(), b("div", os, [
|
|
1813
|
-
c(r(Ue), {
|
|
1814
|
-
class: "spinner-md",
|
|
1815
|
-
strokeWidth: "6"
|
|
1816
|
-
}),
|
|
1817
|
-
s("p", as, f(e.$t("pdfTools.insertFromAlfresco.loadingPreview")), 1)
|
|
1818
|
-
])) : r(Me) ? (g(), b("div", ss, [
|
|
1819
|
-
j.value > 0 ? (g(), b("div", ns, [
|
|
1820
|
-
c(r(w), {
|
|
1821
|
-
icon: "ri-arrow-left-s-line",
|
|
1822
|
-
"aria-label": e.$t("pdf.previousPage"),
|
|
1823
|
-
text: "",
|
|
1824
|
-
size: "small",
|
|
1825
|
-
disabled: X.value <= 1,
|
|
1826
|
-
onClick: Rl
|
|
1827
|
-
}, null, 8, ["aria-label", "disabled"]),
|
|
1828
|
-
s("span", rs, f(X.value) + " / " + f(j.value), 1),
|
|
1829
|
-
c(r(w), {
|
|
1830
|
-
icon: "ri-arrow-right-s-line",
|
|
1831
|
-
"aria-label": e.$t("pdf.nextPage"),
|
|
1832
|
-
text: "",
|
|
1833
|
-
size: "small",
|
|
1834
|
-
disabled: X.value >= j.value,
|
|
1835
|
-
onClick: Nl
|
|
1836
|
-
}, null, 8, ["aria-label", "disabled"])
|
|
1837
|
-
])) : D("", !0),
|
|
1838
|
-
s("div", is, [
|
|
1839
|
-
c(r(el), {
|
|
1840
|
-
pdf: r(Me),
|
|
1841
|
-
page: X.value,
|
|
1842
|
-
scale: 0.6,
|
|
1843
|
-
annotations: !1,
|
|
1844
|
-
text: !1
|
|
1845
|
-
}, null, 8, ["pdf", "page"])
|
|
1846
|
-
])
|
|
1847
|
-
])) : D("", !0) : (g(), b("div", ls, [
|
|
1848
|
-
l[26] || (l[26] = s("i", {
|
|
1849
|
-
class: "ri-file-pdf-line preview-icon",
|
|
1850
|
-
"aria-hidden": "true"
|
|
1851
|
-
}, null, -1)),
|
|
1852
|
-
s("p", ts, f(e.$t("pdfTools.insertFromAlfresco.selectPdfToPreview")), 1)
|
|
1853
|
-
]))
|
|
1854
|
-
])
|
|
1855
|
-
])) : D("", !0)
|
|
1856
|
-
]),
|
|
1857
|
-
_: 1
|
|
1858
|
-
}),
|
|
1859
|
-
c(r(tl), { value: 2 }, {
|
|
1860
|
-
default: A(() => [
|
|
1861
|
-
Xe.value ? (g(), b("div", cs, [
|
|
1862
|
-
c(r(Ue), {
|
|
1863
|
-
class: "spinner-sm",
|
|
1864
|
-
strokeWidth: "8"
|
|
1865
|
-
}),
|
|
1866
|
-
s("span", null, f(e.$t("pdfTools.insertFromAlfresco.loading")), 1)
|
|
1867
|
-
])) : _e.value.length ? (g(), b("div", us, [
|
|
1868
|
-
s("div", vs, [
|
|
1869
|
-
(g(!0), b(Ze, null, Qe(_e.value, (t) => (g(), b("div", {
|
|
1870
|
-
key: t.id,
|
|
1871
|
-
class: q(["favorite-item", {
|
|
1872
|
-
"favorite-item-selected": V.value?.id === t.id
|
|
1873
|
-
}]),
|
|
1874
|
-
onClick: (n) => il(t)
|
|
1875
|
-
}, [
|
|
1876
|
-
s("div", ps, [
|
|
1877
|
-
l[27] || (l[27] = s("i", {
|
|
1878
|
-
class: "ri-file-pdf-line",
|
|
1879
|
-
"aria-hidden": "true"
|
|
1880
|
-
}, null, -1)),
|
|
1881
|
-
De((g(), b("span", ms, [
|
|
1882
|
-
le(f(t.name), 1)
|
|
1883
|
-
])), [
|
|
1884
|
-
[
|
|
1885
|
-
o,
|
|
1886
|
-
t.name,
|
|
1887
|
-
void 0,
|
|
1888
|
-
{ top: !0 }
|
|
1889
|
-
]
|
|
1890
|
-
])
|
|
1891
|
-
])
|
|
1892
|
-
], 10, fs))), 128))
|
|
1893
|
-
]),
|
|
1894
|
-
s("div", gs, [
|
|
1895
|
-
V.value ? Ye.value ? (g(), b("div", bs, [
|
|
1896
|
-
c(r(Ue), {
|
|
1897
|
-
class: "spinner-md",
|
|
1898
|
-
strokeWidth: "6"
|
|
1899
|
-
}),
|
|
1900
|
-
s("p", ws, f(e.$t("pdfTools.insertFromAlfresco.loadingPreview")), 1)
|
|
1901
|
-
])) : r(Me) ? (g(), b("div", Ts, [
|
|
1902
|
-
j.value > 0 ? (g(), b("div", xs, [
|
|
1903
|
-
c(r(w), {
|
|
1904
|
-
icon: "ri-arrow-left-s-line",
|
|
1905
|
-
"aria-label": e.$t("pdf.previousPage"),
|
|
1906
|
-
text: "",
|
|
1907
|
-
size: "small",
|
|
1908
|
-
disabled: X.value <= 1,
|
|
1909
|
-
onClick: Rl
|
|
1910
|
-
}, null, 8, ["aria-label", "disabled"]),
|
|
1911
|
-
s("span", Es, f(X.value) + " / " + f(j.value), 1),
|
|
1912
|
-
c(r(w), {
|
|
1913
|
-
icon: "ri-arrow-right-s-line",
|
|
1914
|
-
"aria-label": e.$t("pdf.nextPage"),
|
|
1915
|
-
text: "",
|
|
1916
|
-
size: "small",
|
|
1917
|
-
disabled: X.value >= j.value,
|
|
1918
|
-
onClick: Nl
|
|
1919
|
-
}, null, 8, ["aria-label", "disabled"])
|
|
1920
|
-
])) : D("", !0),
|
|
1921
|
-
s("div", Ps, [
|
|
1922
|
-
c(r(el), {
|
|
1923
|
-
pdf: r(Me),
|
|
1924
|
-
page: X.value,
|
|
1925
|
-
scale: 0.6,
|
|
1926
|
-
annotations: !1,
|
|
1927
|
-
text: !1
|
|
1928
|
-
}, null, 8, ["pdf", "page"])
|
|
1929
|
-
])
|
|
1930
|
-
])) : D("", !0) : (g(), b("div", ys, [
|
|
1931
|
-
l[28] || (l[28] = s("i", {
|
|
1932
|
-
class: "ri-file-pdf-line preview-icon",
|
|
1933
|
-
"aria-hidden": "true"
|
|
1934
|
-
}, null, -1)),
|
|
1935
|
-
s("p", hs, f(e.$t("pdfTools.insertFromAlfresco.selectPdfToPreview")), 1)
|
|
1936
|
-
]))
|
|
1937
|
-
])
|
|
1938
|
-
])) : (g(), b("div", ds, f(e.$t("pdfTools.insertFromAlfresco.noPdfFavorite")), 1))
|
|
1939
|
-
]),
|
|
1940
|
-
_: 1
|
|
1941
|
-
}),
|
|
1942
|
-
c(r(tl), { value: 3 }, {
|
|
1943
|
-
default: A(() => [
|
|
1944
|
-
s("div", Cs, [
|
|
1945
|
-
s("div", ks, [
|
|
1946
|
-
s("label", Is, f(e.$t("pdfTools.insertFromAlfresco.alfrescoIdUrl")), 1),
|
|
1947
|
-
c(r(Be), {
|
|
1948
|
-
id: "alfrescoNodeId",
|
|
1949
|
-
modelValue: se.value,
|
|
1950
|
-
"onUpdate:modelValue": l[19] || (l[19] = (t) => se.value = t),
|
|
1951
|
-
placeholder: e.$t("pdfTools.insertFromAlfresco.alfrescoIdUrlHint")
|
|
1952
|
-
}, null, 8, ["modelValue", "placeholder"]),
|
|
1953
|
-
s("small", Ss, f(e.$t("pdfTools.insertFromAlfresco.alfrescoIdUrlHint")), 1)
|
|
1954
|
-
])
|
|
1955
|
-
])
|
|
1956
|
-
]),
|
|
1957
|
-
_: 1
|
|
1958
|
-
})
|
|
1959
|
-
]),
|
|
1960
|
-
_: 1
|
|
1961
|
-
})
|
|
1962
|
-
]),
|
|
1963
|
-
_: 1
|
|
1964
|
-
})
|
|
1965
|
-
]),
|
|
1966
|
-
_: 1
|
|
1967
|
-
}, 8, ["visible", "header"])
|
|
1968
|
-
]);
|
|
1969
|
-
};
|
|
1970
|
-
}
|
|
1971
|
-
}, rn = /* @__PURE__ */ bt(Ls, [["__scopeId", "data-v-8c87c247"]]);
|
|
1972
|
-
export {
|
|
1973
|
-
rn as default
|
|
1974
|
-
};
|
|
1975
|
-
//# sourceMappingURL=PdfToolsComponent-CXuz7xuL.js.map
|