@pitcher/js-api 1.25.0 → 1.25.1
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/js-api.esm.js +122 -12
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +10 -10
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +4 -4
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +2 -0
- package/lib/apps/assets-manager/App.vue.d.ts +75 -0
- package/lib/apps/assets-manager/AssetsTab.vue.d.ts +22 -0
- package/lib/apps/assets-manager/components/AssetGridItem.vue.d.ts +16 -0
- package/lib/apps/browser/App.vue.d.ts +7 -5
- package/lib/apps/browser/appTypes.d.ts +4 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +3 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/BulkShareboxWarningModal.vue.d.ts +15 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/SelectionActions.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Common/SmartFolderListItem.vue.d.ts +4 -0
- package/lib/apps/browser/components/FileSmartFoldersToolbar.vue.d.ts +2 -2
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +9 -5
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalProperties.vue.d.ts +5 -1
- package/lib/apps/browser/stores/api.d.ts +32 -12
- package/lib/apps/browser/stores/app.d.ts +3 -0
- package/lib/apps/browser/stores/upload.d.ts +16 -20
- package/lib/apps/browser/types/actionKeys.d.ts +22 -0
- package/lib/apps/canvas-builder/App.helpers.d.ts +2 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +323 -262
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +4 -4
- package/lib/apps/canvas-builder/components/container/AnnotationMenu/AnnotationMenu.vue.d.ts +60 -0
- package/lib/apps/canvas-builder/components/container/CanvasCompletionWizard/CanvasCompletionWizard.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/AnnotationContent.vue.d.ts +8 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.paginated.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/page.paginated.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts +39 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +1 -3
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +25 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +19 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/{EditableComponentRevamp.vue.d.ts → EditableComponentContent.vue.d.ts} +27 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/LinkableComponent/LinkableComponent.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/NavigationWrapper/NavigationWrapper.vue.d.ts +5 -1
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +5 -5
- package/lib/apps/canvas-builder/components/container/PopupApps/AdaptivePopupAppsButtons.vue.d.ts +17 -0
- package/lib/apps/canvas-builder/components/container/PopupApps/PopupAppsButtons.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.edit.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.header.vue.d.ts +19 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.settings.vue.d.ts +10 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.utils.d.ts +32 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.utils.d.ts +16 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +9 -5
- package/lib/apps/canvas-builder/components/ui/Html/CAiHtmlActions.vue.d.ts +23 -0
- package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +5 -2
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +9 -5
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +9 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +39 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCompact.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListItem.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSearch.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +7 -7
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +154 -0
- package/lib/apps/canvas-builder/composables/useAnnotation.d.ts +29 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +2509 -150
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +168 -20
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +16 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +162 -8
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +26 -8
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +4 -2
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +22 -4
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -1
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +3 -0
- package/lib/apps/canvas-builder/composables/useControlBarCollapse.d.ts +8 -0
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -2
- package/lib/apps/canvas-builder/composables/useCrmShapeWithSectionContext.d.ts +5 -0
- package/lib/apps/canvas-builder/composables/useEmbeddable.d.ts +7 -0
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +7 -1
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +913 -0
- package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -4
- package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +98 -0
- package/lib/apps/canvas-builder/composables/useScribbleToolbar.d.ts +11 -0
- package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useTemporaryContext.d.ts +14 -0
- package/lib/apps/canvas-builder/constants/canvas.const.d.ts +2 -1
- package/lib/apps/canvas-builder/constants/theme.const.d.ts +34 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +66 -4
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +7 -5
- package/lib/apps/canvas-builder/util/iframe.util.d.ts +16 -0
- package/lib/apps/canvas-builder/util/print.util.d.ts +22 -0
- package/lib/apps/canvas-selector/components/CanvasSelectionArea.vue.d.ts +171 -1
- package/lib/apps/canvas-selector/components/Sections.vue.d.ts +160 -1
- package/lib/apps/canvas-selector/stores/app.d.ts +14 -14
- package/lib/apps/collection-player/App.vue.d.ts +1 -0
- package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +5 -1
- package/lib/apps/collection-player/stores/app.store.d.ts +3 -0
- package/lib/apps/collection-player/types/collection-player.type.d.ts +18 -0
- package/lib/apps/collection-selector/App.vue.d.ts +7 -7
- package/lib/apps/collection-selector/stores/app.store.d.ts +4 -2
- package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +20 -2
- package/lib/apps/collection-selector/utils/data.util.d.ts +4 -4
- package/lib/apps/content-selector/App.vue.d.ts +2 -0
- package/lib/apps/content-selector/appTypes.d.ts +2 -0
- package/lib/apps/content-selector/components/Assets.vue.d.ts +75 -1
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +3 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +1 -0
- package/lib/apps/content-selector/components/Content.vue.d.ts +74 -1
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +14 -2
- package/lib/apps/content-selector/stores/app.d.ts +34 -5
- package/lib/apps/content-selector/util/file.d.ts +6 -3
- package/lib/apps/ppt-conversion-selector/composables/canvas.use.d.ts +3 -2
- package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +7 -3
- package/lib/apps/ppt-conversion-selector/utils/thumbnail.util.d.ts +1 -0
- package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +6 -2
- package/lib/components/CAlgoliaSearch/CAlgoliaSearch.vue.d.ts +18 -0
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +5 -0
- package/lib/components/CCarousel/CCarousel.vue.d.ts +20 -0
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +9 -6
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +5 -3
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +4 -0
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +7 -0
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +53 -0
- package/lib/components/CContentError/CContentError.vue.d.ts +9 -0
- package/lib/components/CCreateCanvasModal/CCreateCanvasModalTemplatesSelectOption.vue.d.ts +3 -0
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +18 -16
- package/lib/components/CDataTable/CDataTable.vue.d.ts +12 -12
- package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +8 -0
- package/lib/components/CFileAccessManagement/CFileAccessManagement.vue.d.ts +6 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +7 -9
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -5
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.link.types.d.ts +3 -2
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +2 -6
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +1 -0
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +9 -5
- package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +1 -0
- package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -0
- package/lib/components/CImage/CImage.vue.d.ts +11 -0
- package/lib/components/CInput/CInput.vue.d.ts +4 -4
- package/lib/components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue.d.ts +1 -1
- package/lib/components/CMonacoEditor/CMonacoEditor.vue.d.ts +29 -0
- package/lib/components/CPdfDimensionsSelector/CPdfDimensionsSelector.vue.d.ts +27 -0
- package/lib/components/CPillSelect/CPillSelect.vue.d.ts +14 -0
- package/lib/components/CPopularityAndEngagementIcons/CPopularityAndEngagementExtended.vue.d.ts +1 -1
- package/lib/components/CProcessingOverlay/CProcessingOverlay.vue.d.ts +19 -0
- package/lib/components/CQuickFilters/CQuickFilters.vue.d.ts +4 -0
- package/lib/components/CRenameModal/CRenameModal.vue.d.ts +28 -0
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +20 -5
- package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +28 -8
- package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +14 -4
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +4 -4
- package/lib/components/CSearch/CSearch.vue.d.ts +2 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +1 -0
- package/lib/components/CSectionSelectionActions/CSectionSelectionActions.vue.d.ts +19 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFolders.vue.d.ts +135 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFoldersToolbar.vue.d.ts +44 -0
- package/lib/components/CSlideViewer/CSlideViewer.pdfjs.vue.d.ts +18 -0
- package/lib/components/CSlideViewer/CSlideViewer.pspdfkit.vue.d.ts +14 -0
- package/lib/components/CSlideViewer/CSlideViewer.vue.d.ts +12 -0
- package/lib/components/CTable/CTable.vue.d.ts +6 -5
- package/lib/components/CTableInput/CTableInput.vue.d.ts +10 -8
- package/lib/components/CTableTag/CTableTag.vue.d.ts +5 -4
- package/lib/components/CTags/CTags.vue.d.ts +4 -4
- package/lib/components/CThumbnail/CThumbnail.vue.d.ts +1 -0
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +4 -1
- package/lib/components/assignedCanvases/CAssignedCanvasesManagement.vue.d.ts +440 -0
- package/lib/components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue.d.ts +41 -0
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +46 -60
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +13 -19
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +41 -33
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +9 -6
- package/lib/components/filters/CSearchFilter.vue.d.ts +9 -1
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +17 -7
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +3 -2
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +4 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +2 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +12 -8
- package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +1 -0
- package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +8 -3
- package/lib/components/sections/CSectionManagement.vue.d.ts +27 -1
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +7 -0
- package/lib/components/themes/CThemeManagement.vue.d.ts +98 -10
- package/lib/components/themes/CThemeManagementToolbar.vue.d.ts +31 -3
- package/lib/composables/appsDb.use.d.ts +2 -2
- package/lib/composables/bulkActions.use.d.ts +2 -2
- package/lib/composables/useBindValidation.d.ts +1 -1
- package/lib/composables/useBroadcastRouteChange.d.ts +4 -0
- package/lib/composables/useCanvasStandardFilters.d.ts +35 -0
- package/lib/composables/useCollectionPlayerOverlay.d.ts +18 -0
- package/lib/composables/useDeleteUsedCanvasesConfirmation.d.ts +23 -0
- package/lib/composables/useElementSizeAfterDom.d.ts +5 -0
- package/lib/composables/useFileDisplayHelpers.d.ts +6 -2
- package/lib/composables/useFileInfo.d.ts +30 -0
- package/lib/composables/useFilterSuggestions.d.ts +48 -0
- package/lib/composables/useFolderNameDescription.d.ts +25 -0
- package/lib/composables/useImageAccessibility.d.ts +13 -0
- package/lib/composables/useLegacyCollectionFileLoader.d.ts +31 -0
- package/lib/composables/useMetadataSearch.d.ts +22 -1
- package/lib/composables/usePolling.d.ts +23 -0
- package/lib/composables/useWindowEvents.d.ts +1 -0
- package/lib/constants/cdp.const.d.ts +2 -0
- package/lib/constants/dimensions.const.d.ts +23 -0
- package/lib/constants/tables.const.d.ts +1 -1
- package/lib/custom-naive-locales/it.d.ts +124 -0
- package/lib/custom-naive-locales/ja.d.ts +124 -0
- package/lib/custom-naive-locales/nl.d.ts +124 -0
- package/lib/custom-naive-locales/pt-br.d.ts +124 -0
- package/lib/custom-naive-locales/pt.d.ts +124 -0
- package/lib/custom-naive-locales/th.d.ts +124 -0
- package/lib/custom-naive-locales/zh.d.ts +124 -0
- package/lib/directives/vTrustedHtml.d.ts +6 -0
- package/lib/main.lib.d.ts +22 -3
- package/lib/sdk/api/HighLevelApi.d.ts +25 -2
- package/lib/sdk/api/modules/admin/canvas.admin.d.ts +24 -1
- package/lib/sdk/api/modules/admin/index.d.ts +1 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +21 -0
- package/lib/sdk/api/modules/dsr/files.dsr.d.ts +12 -0
- package/lib/sdk/api/modules/dsr/index.d.ts +3 -0
- package/lib/sdk/api/modules/dsr/types.dsr.d.ts +6 -1
- package/lib/sdk/api/modules/files.d.ts +12 -2
- package/lib/sdk/api/modules/share.d.ts +8 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +59 -1
- package/lib/sdk/api/modules/ui/index.d.ts +3 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +46 -0
- package/lib/sdk/api/modules/webView.d.ts +2 -1
- package/lib/sdk/interfaces.d.ts +102 -3
- package/lib/sdk/main.d.ts +50 -14
- package/lib/sdk/payload.types.d.ts +30 -0
- package/lib/stores/sectionSmartFolderStore.d.ts +112 -0
- package/lib/types/app.d.ts +20 -3
- package/lib/types/call.d.ts +1 -0
- package/lib/types/canvases.d.ts +1 -0
- package/lib/types/core/MetadataFilter.d.ts +2 -0
- package/lib/types/files.d.ts +2 -0
- package/lib/types/i18n.types.d.ts +1 -1
- package/lib/types/instanceSettings.types.d.ts +26 -4
- package/lib/types/launchDarkly.types.d.ts +2 -4
- package/lib/types/organizationMetadata.types.d.ts +3 -2
- package/lib/types/organizationSettings.types.d.ts +47 -2
- package/lib/types/sfdc.d.ts +1 -0
- package/lib/util/date.d.ts +1 -0
- package/lib/util/network.d.ts +8 -0
- package/lib/util/soql.util.d.ts +2 -0
- package/lib/util/storage.util.d.ts +2 -0
- package/lib/util/string.d.ts +1 -1
- package/lib/util/toCssClassKey.d.ts +1 -0
- package/lib/utils/defaultThumbnail.util.d.ts +3 -0
- package/lib/utils/iframeInitialize.d.ts +12 -0
- package/package.json +1 -1
- package/types/openapi/models/Canvas.d.ts +1 -1
- package/types/openapi/models/CanvasCreate.d.ts +2 -2
- package/types/openapi/models/CanvasCreateRequest.d.ts +2 -2
- package/types/openapi/models/CanvasRecommendedFile.d.ts +0 -2
- package/types/openapi/models/CanvasRetrieve.d.ts +2 -2
- package/types/openapi/models/CanvasSection.d.ts +1 -0
- package/types/openapi/models/CanvasUpdate.d.ts +2 -2
- package/types/openapi/models/CanvasUpdateRequest.d.ts +2 -2
- package/types/openapi/models/ContentDistributionGroup.d.ts +1 -0
- package/types/openapi/models/ContentDistributionGroupCreate.d.ts +1 -0
- package/types/openapi/models/DeletedCanvas.d.ts +1 -1
- package/types/openapi/models/DeletedContentDistributionGroup.d.ts +1 -0
- package/types/openapi/models/DeletedFile.d.ts +0 -2
- package/types/openapi/models/DeletedFolder.d.ts +3 -0
- package/types/openapi/models/FavoriteFolder.d.ts +3 -0
- package/types/openapi/models/FavoriteFolderRequest.d.ts +3 -0
- package/types/openapi/models/File.d.ts +0 -2
- package/types/openapi/models/FileCreate.d.ts +0 -2
- package/types/openapi/models/FileCreateRequest.d.ts +0 -1
- package/types/openapi/models/FileRetrieve.d.ts +0 -2
- package/types/openapi/models/FileUpdate.d.ts +0 -2
- package/types/openapi/models/FileUpdateRequest.d.ts +0 -1
- package/types/openapi/models/Folder.d.ts +3 -0
- package/types/openapi/models/FolderCreate.d.ts +2 -1
- package/types/openapi/models/FolderFolder.d.ts +5 -0
- package/types/openapi/models/FolderRetrieve.d.ts +5 -1
- package/types/openapi/models/FolderUpdate.d.ts +2 -1
- package/types/openapi/models/InstanceMembership.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipCreate.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipCreateRequest.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipRequest.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +0 -2
- package/types/openapi/models/InstanceRequest.d.ts +1 -1
- package/types/openapi/models/InstanceUpdateRequest.d.ts +1 -1
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +2 -2
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +0 -1
- package/types/openapi/models/PatchedInstanceMembershipRequest.d.ts +4 -0
- package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +1 -1
- package/types/openapi/models/SharedLinkCanvas.d.ts +1 -1
- package/types/openapi/models/SharedLinkCanvasRequest.d.ts +1 -1
- package/types/openapi/models/User.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +0 -111
- package/lib/components/CFileViewer/pdf/CFileViewer.pageThumbFavorite.pdf.use.d.ts +0 -10
- package/lib/components/CImage/CBrokenImage.vue.d.ts +0 -10
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +0 -59
- package/lib/directives/usage-track.directive.d.ts +0 -10
- package/lib/util/usage-tracking.util.d.ts +0 -5
|
@@ -1,2 +1,172 @@
|
|
|
1
|
-
|
|
1
|
+
import { Canvas } from '../../../../types/openapi';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
3
|
+
sectionsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
4
|
+
onDrop: (dropOnItemId?: Canvas["id"], index?: number) => void;
|
|
5
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
6
|
+
toolbarWrapper: HTMLDivElement;
|
|
7
|
+
smartFoldersRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
8
|
+
storageKey: string;
|
|
9
|
+
mode: "management" | "selector";
|
|
10
|
+
selectedSectionIds?: import('../../../../types/openapi').CanvasRetrieve["id"][];
|
|
11
|
+
addedSectionIds?: import('../../../../types/openapi').CanvasRetrieve["id"][];
|
|
12
|
+
}> & Readonly<{
|
|
13
|
+
"onClear-selection"?: (() => any) | undefined;
|
|
14
|
+
"onOpen-section"?: ((section: import('../../../../types/openapi').CanvasRetrieve) => any) | undefined;
|
|
15
|
+
"onEdit-section"?: ((section: import('../../../../types/openapi').CanvasRetrieve) => any) | undefined;
|
|
16
|
+
"onSection-select"?: ((section: import('../../../../types/openapi').CanvasRetrieve) => any) | undefined;
|
|
17
|
+
"onSection-add"?: ((section: import('../../../../types/openapi').CanvasRetrieve) => any) | undefined;
|
|
18
|
+
"onSection-remove"?: ((section: import('../../../../types/openapi').CanvasRetrieve) => any) | undefined;
|
|
19
|
+
"onSections-bulk-add"?: ((sections: import('../../../../types/openapi').CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any) | undefined;
|
|
20
|
+
"onSections-bulk-remove"?: ((sections: import('../../../../types/openapi').CanvasRetrieve[]) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
showConfigurationModal: () => void;
|
|
23
|
+
addSelectedSections: (position?: "top" | "bottom") => void;
|
|
24
|
+
removeSelectedSections: () => void;
|
|
25
|
+
getSelectedSections: () => import('../../../../types/openapi').CanvasRetrieve[];
|
|
26
|
+
calculateContentHeight: () => void;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
"clear-selection": () => any;
|
|
29
|
+
"open-section": (section: import('../../../../types/openapi').CanvasRetrieve) => any;
|
|
30
|
+
"edit-section": (section: import('../../../../types/openapi').CanvasRetrieve) => any;
|
|
31
|
+
"section-select": (section: import('../../../../types/openapi').CanvasRetrieve) => any;
|
|
32
|
+
"section-add": (section: import('../../../../types/openapi').CanvasRetrieve) => any;
|
|
33
|
+
"section-remove": (section: import('../../../../types/openapi').CanvasRetrieve) => any;
|
|
34
|
+
"sections-bulk-add": (sections: import('../../../../types/openapi').CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any;
|
|
35
|
+
"sections-bulk-remove": (sections: import('../../../../types/openapi').CanvasRetrieve[]) => any;
|
|
36
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
37
|
+
containerRef: HTMLDivElement;
|
|
38
|
+
toolbarRef: HTMLDivElement;
|
|
39
|
+
listRef: ({
|
|
40
|
+
$: import('vue').ComponentInternalInstance;
|
|
41
|
+
$data: {};
|
|
42
|
+
$props: {
|
|
43
|
+
readonly data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
44
|
+
readonly selectedIds?: (number | string)[] | undefined;
|
|
45
|
+
readonly maxRowHeight: number;
|
|
46
|
+
readonly height?: number | undefined;
|
|
47
|
+
readonly movable?: boolean | undefined;
|
|
48
|
+
readonly onMove?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
readonly "onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
51
|
+
$attrs: {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
};
|
|
54
|
+
$refs: {
|
|
55
|
+
[x: string]: unknown;
|
|
56
|
+
} & {
|
|
57
|
+
virtualizerContainerRef: HTMLDivElement;
|
|
58
|
+
};
|
|
59
|
+
$slots: Readonly<{
|
|
60
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
63
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
64
|
+
$host: Element | null;
|
|
65
|
+
$emit: ((event: "move", ...args: any[]) => void) & ((event: "item:click", ...args: any[]) => void);
|
|
66
|
+
$el: HTMLDivElement;
|
|
67
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
68
|
+
data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
69
|
+
selectedIds?: (number | string)[];
|
|
70
|
+
maxRowHeight: number;
|
|
71
|
+
height?: number;
|
|
72
|
+
movable?: boolean;
|
|
73
|
+
}> & Readonly<{
|
|
74
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
"onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
}>, {
|
|
77
|
+
updateContextMenuItem: (item: import('../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
|
|
78
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
79
|
+
move: (...args: any[]) => void;
|
|
80
|
+
"item:click": (...args: any[]) => void;
|
|
81
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
82
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
83
|
+
created?: (() => void) | (() => void)[];
|
|
84
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
85
|
+
mounted?: (() => void) | (() => void)[];
|
|
86
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
87
|
+
updated?: (() => void) | (() => void)[];
|
|
88
|
+
activated?: (() => void) | (() => void)[];
|
|
89
|
+
deactivated?: (() => void) | (() => void)[];
|
|
90
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
91
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
92
|
+
destroyed?: (() => void) | (() => void)[];
|
|
93
|
+
unmounted?: (() => void) | (() => void)[];
|
|
94
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
95
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
96
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
97
|
+
};
|
|
98
|
+
$forceUpdate: () => void;
|
|
99
|
+
$nextTick: typeof import('vue').nextTick;
|
|
100
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
101
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
102
|
+
data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
103
|
+
selectedIds?: (number | string)[];
|
|
104
|
+
maxRowHeight: number;
|
|
105
|
+
height?: number;
|
|
106
|
+
movable?: boolean;
|
|
107
|
+
}> & Readonly<{
|
|
108
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
"onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
}>, "updateContextMenuItem"> & import('vue').ShallowUnwrapRef<{
|
|
111
|
+
updateContextMenuItem: (item: import('../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
|
|
112
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
113
|
+
$slots: {
|
|
114
|
+
item?(_: {
|
|
115
|
+
index: number;
|
|
116
|
+
isContextMenuOpen: boolean;
|
|
117
|
+
isDraggedOver: boolean;
|
|
118
|
+
isSelected: boolean;
|
|
119
|
+
item: {
|
|
120
|
+
[key: string]: any;
|
|
121
|
+
id: number | string;
|
|
122
|
+
};
|
|
123
|
+
}): any;
|
|
124
|
+
'item:context-menu'?(_: {
|
|
125
|
+
item: {
|
|
126
|
+
[key: string]: any;
|
|
127
|
+
id: number | string;
|
|
128
|
+
};
|
|
129
|
+
}): any;
|
|
130
|
+
};
|
|
131
|
+
}) | null;
|
|
132
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
133
|
+
P: {};
|
|
134
|
+
B: {};
|
|
135
|
+
D: {};
|
|
136
|
+
C: {};
|
|
137
|
+
M: {};
|
|
138
|
+
Defaults: {};
|
|
139
|
+
}, Readonly<{
|
|
140
|
+
storageKey: string;
|
|
141
|
+
mode: "management" | "selector";
|
|
142
|
+
selectedSectionIds?: import('../../../../types/openapi').CanvasRetrieve["id"][];
|
|
143
|
+
addedSectionIds?: import('../../../../types/openapi').CanvasRetrieve["id"][];
|
|
144
|
+
}> & Readonly<{
|
|
145
|
+
"onClear-selection"?: (() => any) | undefined;
|
|
146
|
+
"onOpen-section"?: ((section: import('../../../../types/openapi').CanvasRetrieve) => any) | undefined;
|
|
147
|
+
"onEdit-section"?: ((section: import('../../../../types/openapi').CanvasRetrieve) => any) | undefined;
|
|
148
|
+
"onSection-select"?: ((section: import('../../../../types/openapi').CanvasRetrieve) => any) | undefined;
|
|
149
|
+
"onSection-add"?: ((section: import('../../../../types/openapi').CanvasRetrieve) => any) | undefined;
|
|
150
|
+
"onSection-remove"?: ((section: import('../../../../types/openapi').CanvasRetrieve) => any) | undefined;
|
|
151
|
+
"onSections-bulk-add"?: ((sections: import('../../../../types/openapi').CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any) | undefined;
|
|
152
|
+
"onSections-bulk-remove"?: ((sections: import('../../../../types/openapi').CanvasRetrieve[]) => any) | undefined;
|
|
153
|
+
}>, {
|
|
154
|
+
showConfigurationModal: () => void;
|
|
155
|
+
addSelectedSections: (position?: "top" | "bottom") => void;
|
|
156
|
+
removeSelectedSections: () => void;
|
|
157
|
+
getSelectedSections: () => import('../../../../types/openapi').CanvasRetrieve[];
|
|
158
|
+
calculateContentHeight: () => void;
|
|
159
|
+
}, {}, {}, {}, {}> | null;
|
|
160
|
+
toolbarWrapperTraditional: HTMLDivElement;
|
|
161
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
162
|
+
P: {};
|
|
163
|
+
B: {};
|
|
164
|
+
D: {};
|
|
165
|
+
C: {};
|
|
166
|
+
M: {};
|
|
167
|
+
Defaults: {};
|
|
168
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
169
|
+
onDrop: (dropOnItemId?: Canvas["id"], index?: number) => void;
|
|
170
|
+
}, {}, {}, {}, {}> | null;
|
|
171
|
+
}, any>;
|
|
2
172
|
export default _default;
|
|
@@ -1,4 +1,163 @@
|
|
|
1
|
-
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
import { Canvas, CanvasRetrieve } from '../../../../types/openapi';
|
|
3
|
+
declare function onDrop(dropOnItemId?: Canvas['id'], index?: number): void;
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
5
|
+
onDrop: typeof onDrop;
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
7
|
toolbarWrapper: HTMLDivElement;
|
|
8
|
+
smartFoldersRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
9
|
+
storageKey: string;
|
|
10
|
+
mode: "management" | "selector";
|
|
11
|
+
selectedSectionIds?: CanvasRetrieve["id"][];
|
|
12
|
+
addedSectionIds?: CanvasRetrieve["id"][];
|
|
13
|
+
}> & Readonly<{
|
|
14
|
+
"onClear-selection"?: (() => any) | undefined;
|
|
15
|
+
"onOpen-section"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
16
|
+
"onEdit-section"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
17
|
+
"onSection-select"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
18
|
+
"onSection-add"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
19
|
+
"onSection-remove"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
20
|
+
"onSections-bulk-add"?: ((sections: CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any) | undefined;
|
|
21
|
+
"onSections-bulk-remove"?: ((sections: CanvasRetrieve[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
showConfigurationModal: () => void;
|
|
24
|
+
addSelectedSections: (position?: "top" | "bottom") => void;
|
|
25
|
+
removeSelectedSections: () => void;
|
|
26
|
+
getSelectedSections: () => CanvasRetrieve[];
|
|
27
|
+
calculateContentHeight: () => void;
|
|
28
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
"clear-selection": () => any;
|
|
30
|
+
"open-section": (section: CanvasRetrieve) => any;
|
|
31
|
+
"edit-section": (section: CanvasRetrieve) => any;
|
|
32
|
+
"section-select": (section: CanvasRetrieve) => any;
|
|
33
|
+
"section-add": (section: CanvasRetrieve) => any;
|
|
34
|
+
"section-remove": (section: CanvasRetrieve) => any;
|
|
35
|
+
"sections-bulk-add": (sections: CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any;
|
|
36
|
+
"sections-bulk-remove": (sections: CanvasRetrieve[]) => any;
|
|
37
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
38
|
+
containerRef: HTMLDivElement;
|
|
39
|
+
toolbarRef: HTMLDivElement;
|
|
40
|
+
listRef: ({
|
|
41
|
+
$: import('vue').ComponentInternalInstance;
|
|
42
|
+
$data: {};
|
|
43
|
+
$props: {
|
|
44
|
+
readonly data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
45
|
+
readonly selectedIds?: (number | string)[] | undefined;
|
|
46
|
+
readonly maxRowHeight: number;
|
|
47
|
+
readonly height?: number | undefined;
|
|
48
|
+
readonly movable?: boolean | undefined;
|
|
49
|
+
readonly onMove?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
readonly "onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
52
|
+
$attrs: {
|
|
53
|
+
[x: string]: unknown;
|
|
54
|
+
};
|
|
55
|
+
$refs: {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
} & {
|
|
58
|
+
virtualizerContainerRef: HTMLDivElement;
|
|
59
|
+
};
|
|
60
|
+
$slots: Readonly<{
|
|
61
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
64
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
65
|
+
$host: Element | null;
|
|
66
|
+
$emit: ((event: "move", ...args: any[]) => void) & ((event: "item:click", ...args: any[]) => void);
|
|
67
|
+
$el: HTMLDivElement;
|
|
68
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
69
|
+
data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
70
|
+
selectedIds?: (number | string)[];
|
|
71
|
+
maxRowHeight: number;
|
|
72
|
+
height?: number;
|
|
73
|
+
movable?: boolean;
|
|
74
|
+
}> & Readonly<{
|
|
75
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
"onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
}>, {
|
|
78
|
+
updateContextMenuItem: (item: import('../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
|
|
79
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
80
|
+
move: (...args: any[]) => void;
|
|
81
|
+
"item:click": (...args: any[]) => void;
|
|
82
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
83
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
84
|
+
created?: (() => void) | (() => void)[];
|
|
85
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
86
|
+
mounted?: (() => void) | (() => void)[];
|
|
87
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
88
|
+
updated?: (() => void) | (() => void)[];
|
|
89
|
+
activated?: (() => void) | (() => void)[];
|
|
90
|
+
deactivated?: (() => void) | (() => void)[];
|
|
91
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
92
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
93
|
+
destroyed?: (() => void) | (() => void)[];
|
|
94
|
+
unmounted?: (() => void) | (() => void)[];
|
|
95
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
96
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
97
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
98
|
+
};
|
|
99
|
+
$forceUpdate: () => void;
|
|
100
|
+
$nextTick: typeof nextTick;
|
|
101
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
102
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
103
|
+
data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
104
|
+
selectedIds?: (number | string)[];
|
|
105
|
+
maxRowHeight: number;
|
|
106
|
+
height?: number;
|
|
107
|
+
movable?: boolean;
|
|
108
|
+
}> & Readonly<{
|
|
109
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
"onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
111
|
+
}>, "updateContextMenuItem"> & import('vue').ShallowUnwrapRef<{
|
|
112
|
+
updateContextMenuItem: (item: import('../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
|
|
113
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
114
|
+
$slots: {
|
|
115
|
+
item?(_: {
|
|
116
|
+
index: number;
|
|
117
|
+
isContextMenuOpen: boolean;
|
|
118
|
+
isDraggedOver: boolean;
|
|
119
|
+
isSelected: boolean;
|
|
120
|
+
item: {
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
id: number | string;
|
|
123
|
+
};
|
|
124
|
+
}): any;
|
|
125
|
+
'item:context-menu'?(_: {
|
|
126
|
+
item: {
|
|
127
|
+
[key: string]: any;
|
|
128
|
+
id: number | string;
|
|
129
|
+
};
|
|
130
|
+
}): any;
|
|
131
|
+
};
|
|
132
|
+
}) | null;
|
|
133
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
134
|
+
P: {};
|
|
135
|
+
B: {};
|
|
136
|
+
D: {};
|
|
137
|
+
C: {};
|
|
138
|
+
M: {};
|
|
139
|
+
Defaults: {};
|
|
140
|
+
}, Readonly<{
|
|
141
|
+
storageKey: string;
|
|
142
|
+
mode: "management" | "selector";
|
|
143
|
+
selectedSectionIds?: CanvasRetrieve["id"][];
|
|
144
|
+
addedSectionIds?: CanvasRetrieve["id"][];
|
|
145
|
+
}> & Readonly<{
|
|
146
|
+
"onClear-selection"?: (() => any) | undefined;
|
|
147
|
+
"onOpen-section"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
148
|
+
"onEdit-section"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
149
|
+
"onSection-select"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
150
|
+
"onSection-add"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
151
|
+
"onSection-remove"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
152
|
+
"onSections-bulk-add"?: ((sections: CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any) | undefined;
|
|
153
|
+
"onSections-bulk-remove"?: ((sections: CanvasRetrieve[]) => any) | undefined;
|
|
154
|
+
}>, {
|
|
155
|
+
showConfigurationModal: () => void;
|
|
156
|
+
addSelectedSections: (position?: "top" | "bottom") => void;
|
|
157
|
+
removeSelectedSections: () => void;
|
|
158
|
+
getSelectedSections: () => CanvasRetrieve[];
|
|
159
|
+
calculateContentHeight: () => void;
|
|
160
|
+
}, {}, {}, {}, {}> | null;
|
|
161
|
+
toolbarWrapperTraditional: HTMLDivElement;
|
|
3
162
|
}, HTMLDivElement>;
|
|
4
163
|
export default _default;
|
|
@@ -14,7 +14,7 @@ export default function useApp(): {
|
|
|
14
14
|
is_block?: boolean | undefined;
|
|
15
15
|
is_editable?: boolean | undefined;
|
|
16
16
|
is_default?: boolean | undefined;
|
|
17
|
-
metadata?:
|
|
17
|
+
metadata?: any;
|
|
18
18
|
tags?: Array<string> | undefined;
|
|
19
19
|
start_at?: string | null | undefined;
|
|
20
20
|
expires_at?: string | null | undefined;
|
|
@@ -61,7 +61,7 @@ export default function useApp(): {
|
|
|
61
61
|
is_block?: boolean | undefined;
|
|
62
62
|
is_editable?: boolean | undefined;
|
|
63
63
|
is_default?: boolean | undefined;
|
|
64
|
-
metadata?:
|
|
64
|
+
metadata?: any;
|
|
65
65
|
tags?: Array<string> | undefined;
|
|
66
66
|
start_at?: string | null | undefined;
|
|
67
67
|
expires_at?: string | null | undefined;
|
|
@@ -108,7 +108,7 @@ export default function useApp(): {
|
|
|
108
108
|
is_block?: boolean | undefined;
|
|
109
109
|
is_editable?: boolean | undefined;
|
|
110
110
|
is_default?: boolean | undefined;
|
|
111
|
-
metadata?:
|
|
111
|
+
metadata?: any;
|
|
112
112
|
tags?: Array<string> | undefined;
|
|
113
113
|
start_at?: string | null | undefined;
|
|
114
114
|
expires_at?: string | null | undefined;
|
|
@@ -155,7 +155,7 @@ export default function useApp(): {
|
|
|
155
155
|
is_block?: boolean | undefined;
|
|
156
156
|
is_editable?: boolean | undefined;
|
|
157
157
|
is_default?: boolean | undefined;
|
|
158
|
-
metadata?:
|
|
158
|
+
metadata?: any;
|
|
159
159
|
tags?: Array<string> | undefined;
|
|
160
160
|
start_at?: string | null | undefined;
|
|
161
161
|
expires_at?: string | null | undefined;
|
|
@@ -208,7 +208,7 @@ export default function useApp(): {
|
|
|
208
208
|
is_block?: boolean | undefined;
|
|
209
209
|
is_editable?: boolean | undefined;
|
|
210
210
|
is_default?: boolean | undefined;
|
|
211
|
-
metadata?:
|
|
211
|
+
metadata?: any;
|
|
212
212
|
tags?: Array<string> | undefined;
|
|
213
213
|
start_at?: string | null | undefined;
|
|
214
214
|
expires_at?: string | null | undefined;
|
|
@@ -255,7 +255,7 @@ export default function useApp(): {
|
|
|
255
255
|
is_block?: boolean | undefined;
|
|
256
256
|
is_editable?: boolean | undefined;
|
|
257
257
|
is_default?: boolean | undefined;
|
|
258
|
-
metadata?:
|
|
258
|
+
metadata?: any;
|
|
259
259
|
tags?: Array<string> | undefined;
|
|
260
260
|
start_at?: string | null | undefined;
|
|
261
261
|
expires_at?: string | null | undefined;
|
|
@@ -302,7 +302,7 @@ export default function useApp(): {
|
|
|
302
302
|
is_block?: boolean | undefined;
|
|
303
303
|
is_editable?: boolean | undefined;
|
|
304
304
|
is_default?: boolean | undefined;
|
|
305
|
-
metadata?:
|
|
305
|
+
metadata?: any;
|
|
306
306
|
tags?: Array<string> | undefined;
|
|
307
307
|
start_at?: string | null | undefined;
|
|
308
308
|
expires_at?: string | null | undefined;
|
|
@@ -349,7 +349,7 @@ export default function useApp(): {
|
|
|
349
349
|
is_block?: boolean | undefined;
|
|
350
350
|
is_editable?: boolean | undefined;
|
|
351
351
|
is_default?: boolean | undefined;
|
|
352
|
-
metadata?:
|
|
352
|
+
metadata?: any;
|
|
353
353
|
tags?: Array<string> | undefined;
|
|
354
354
|
start_at?: string | null | undefined;
|
|
355
355
|
expires_at?: string | null | undefined;
|
|
@@ -397,7 +397,7 @@ export default function useApp(): {
|
|
|
397
397
|
is_block?: boolean | undefined;
|
|
398
398
|
is_editable?: boolean | undefined;
|
|
399
399
|
is_default?: boolean | undefined;
|
|
400
|
-
metadata?:
|
|
400
|
+
metadata?: any;
|
|
401
401
|
tags?: Array<string> | undefined;
|
|
402
402
|
start_at?: string | null | undefined;
|
|
403
403
|
expires_at?: string | null | undefined;
|
|
@@ -443,7 +443,7 @@ export default function useApp(): {
|
|
|
443
443
|
is_block?: boolean | undefined;
|
|
444
444
|
is_editable?: boolean | undefined;
|
|
445
445
|
is_default?: boolean | undefined;
|
|
446
|
-
metadata?:
|
|
446
|
+
metadata?: any;
|
|
447
447
|
tags?: Array<string> | undefined;
|
|
448
448
|
start_at?: string | null | undefined;
|
|
449
449
|
expires_at?: string | null | undefined;
|
|
@@ -490,7 +490,7 @@ export default function useApp(): {
|
|
|
490
490
|
is_block?: boolean | undefined;
|
|
491
491
|
is_editable?: boolean | undefined;
|
|
492
492
|
is_default?: boolean | undefined;
|
|
493
|
-
metadata?:
|
|
493
|
+
metadata?: any;
|
|
494
494
|
tags?: Array<string> | undefined;
|
|
495
495
|
start_at?: string | null | undefined;
|
|
496
496
|
expires_at?: string | null | undefined;
|
|
@@ -537,7 +537,7 @@ export default function useApp(): {
|
|
|
537
537
|
is_block?: boolean | undefined;
|
|
538
538
|
is_editable?: boolean | undefined;
|
|
539
539
|
is_default?: boolean | undefined;
|
|
540
|
-
metadata?:
|
|
540
|
+
metadata?: any;
|
|
541
541
|
tags?: Array<string> | undefined;
|
|
542
542
|
start_at?: string | null | undefined;
|
|
543
543
|
expires_at?: string | null | undefined;
|
|
@@ -584,7 +584,7 @@ export default function useApp(): {
|
|
|
584
584
|
is_block?: boolean | undefined;
|
|
585
585
|
is_editable?: boolean | undefined;
|
|
586
586
|
is_default?: boolean | undefined;
|
|
587
|
-
metadata?:
|
|
587
|
+
metadata?: any;
|
|
588
588
|
tags?: Array<string> | undefined;
|
|
589
589
|
start_at?: string | null | undefined;
|
|
590
590
|
expires_at?: string | null | undefined;
|
|
@@ -631,7 +631,7 @@ export default function useApp(): {
|
|
|
631
631
|
is_block?: boolean | undefined;
|
|
632
632
|
is_editable?: boolean | undefined;
|
|
633
633
|
is_default?: boolean | undefined;
|
|
634
|
-
metadata?:
|
|
634
|
+
metadata?: any;
|
|
635
635
|
tags?: Array<string> | undefined;
|
|
636
636
|
start_at?: string | null | undefined;
|
|
637
637
|
expires_at?: string | null | undefined;
|
|
@@ -17,6 +17,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
17
17
|
isFullscreen: import('vue').Ref<boolean, boolean>;
|
|
18
18
|
handleKeyAction: import('./composables/keyboard-bindings.use').ActionCallback;
|
|
19
19
|
element: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
20
|
+
updateResolvedData: (resolvedData: CollectionPlayer) => void;
|
|
20
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
22
|
click: (event: MouseEvent) => any;
|
|
22
23
|
close: () => any;
|
|
@@ -9,7 +9,11 @@ type __VLS_Props = {
|
|
|
9
9
|
zoom: number;
|
|
10
10
|
scalingMode: 'fit-content' | 'fit-width' | 'fit-height';
|
|
11
11
|
};
|
|
12
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
repaint: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onRepaint?: (() => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
17
|
editorContainer: HTMLDivElement;
|
|
14
18
|
}, HTMLDivElement>;
|
|
15
19
|
export default _default;
|
|
@@ -79,6 +79,9 @@ type StoreData = {
|
|
|
79
79
|
nodeId?: string;
|
|
80
80
|
handleKeyAction: ActionCallback;
|
|
81
81
|
annotationLayer: ReturnType<typeof useAnnotationLayer>;
|
|
82
|
+
updateSlideInSwiper: (index: number) => void;
|
|
83
|
+
rootElement: Ref<HTMLElement | null>;
|
|
84
|
+
updateResolvedData: (resolvedData: CollectionPlayer) => void;
|
|
82
85
|
};
|
|
83
86
|
export declare function provideAppStore({ data, isEditMode, rootElement, api, emit, options, isLoading, nodeId, inModal, }: StorePayload): StoreData;
|
|
84
87
|
export declare function useAppStore(): StoreData;
|
|
@@ -14,15 +14,33 @@ export type CollectionFile = {
|
|
|
14
14
|
type: 'file';
|
|
15
15
|
file: CollectionFileEntity;
|
|
16
16
|
};
|
|
17
|
+
export type CollectionSlideV2 = {
|
|
18
|
+
id: string;
|
|
19
|
+
file_id: FileRetrieve['id'];
|
|
20
|
+
index?: number;
|
|
21
|
+
};
|
|
17
22
|
export type CollectionSlide = CollectionPage | CollectionFile;
|
|
18
23
|
export type CollectionGroup = {
|
|
19
24
|
id: string;
|
|
20
25
|
name: string;
|
|
21
26
|
slides: CollectionSlide[];
|
|
22
27
|
};
|
|
28
|
+
export type CollectionGroupV2 = {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
slides: CollectionSlideV2[];
|
|
32
|
+
};
|
|
23
33
|
export type CollectionPlayer = {
|
|
24
34
|
groups: CollectionGroup[];
|
|
25
35
|
filters?: Record<string, any>;
|
|
26
36
|
name: string;
|
|
27
37
|
hide_footer?: boolean;
|
|
38
|
+
data_accessor?: string;
|
|
28
39
|
};
|
|
40
|
+
export interface CollectionPlayerV2 {
|
|
41
|
+
groups: CollectionGroupV2[];
|
|
42
|
+
filters?: Record<string, any>;
|
|
43
|
+
name: string;
|
|
44
|
+
hide_footer?: boolean;
|
|
45
|
+
data_accessor?: string;
|
|
46
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CollectionPlayerV2, CollectionSlide } from '../collection-player/types/collection-player.type';
|
|
2
2
|
import { CollectionSelectorProps } from './types/collection-selector.type';
|
|
3
3
|
export type Emit = {
|
|
4
|
-
close: [
|
|
5
|
-
settings: [
|
|
4
|
+
close: [CollectionPlayerV2];
|
|
5
|
+
settings: [CollectionPlayerV2];
|
|
6
6
|
cancel: [];
|
|
7
7
|
contentChange: [CollectionSlide];
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import('vue').DefineComponent<CollectionSelectorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
settings: (args_0:
|
|
10
|
+
settings: (args_0: CollectionPlayerV2) => any;
|
|
11
11
|
cancel: () => any;
|
|
12
|
-
close: (args_0:
|
|
12
|
+
close: (args_0: CollectionPlayerV2) => any;
|
|
13
13
|
contentChange: (args_0: CollectionSlide) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<CollectionSelectorProps> & Readonly<{
|
|
15
|
-
onSettings?: ((args_0:
|
|
15
|
+
onSettings?: ((args_0: CollectionPlayerV2) => any) | undefined;
|
|
16
16
|
onCancel?: (() => any) | undefined;
|
|
17
|
-
onClose?: ((args_0:
|
|
17
|
+
onClose?: ((args_0: CollectionPlayerV2) => any) | undefined;
|
|
18
18
|
onContentChange?: ((args_0: CollectionSlide) => any) | undefined;
|
|
19
19
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
20
|
contentRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<import('vue-draggable-plus').VueDraggableProps>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
@@ -2,7 +2,7 @@ import { Ref, EmitFn, ComputedRef, ComponentPublicInstance } from 'vue';
|
|
|
2
2
|
import { default as useConfirmation } from '../../../composables/useConfirmation';
|
|
3
3
|
import { CollectionGroup, CollectionPlayer, CollectionSlide } from '../../collection-player/types/collection-player.type';
|
|
4
4
|
import { FetchFileList, SelectFileContent } from '../types/common.type';
|
|
5
|
-
import {
|
|
5
|
+
import { FileRetrieve } from '../../../../types/openapi';
|
|
6
6
|
import { Translations } from '../types/collection-selector.type';
|
|
7
7
|
import { Emit } from '../App.vue';
|
|
8
8
|
import { useContentWarning } from '../composables/content-warning.use';
|
|
@@ -24,7 +24,7 @@ type StorePayload = {
|
|
|
24
24
|
type StoreData = {
|
|
25
25
|
collection: Ref<CollectionPlayer>;
|
|
26
26
|
expandedGroups: Ref<string[]>;
|
|
27
|
-
usedFiles: Ref<Record<
|
|
27
|
+
usedFiles: Ref<Record<FileRetrieve['id'], FileRetrieve>>;
|
|
28
28
|
addGroup: (group?: Partial<CollectionGroup>) => CollectionGroup | undefined;
|
|
29
29
|
deleteGroup: (groupId: string, groupName: string) => void;
|
|
30
30
|
updateGroup: (group: Partial<Omit<CollectionGroup, 'id'>> & Pick<CollectionGroup, 'id'>) => void;
|
|
@@ -46,6 +46,8 @@ type StoreData = {
|
|
|
46
46
|
translations?: Translations;
|
|
47
47
|
isSettingsButtonVisible: ComputedRef<boolean>;
|
|
48
48
|
contentWarning: ReturnType<typeof useContentWarning>;
|
|
49
|
+
isLoadingFiles: ComputedRef<boolean>;
|
|
50
|
+
areRequiredFilesLoaded: ComputedRef<boolean>;
|
|
49
51
|
};
|
|
50
52
|
export declare function provideAppStore({ initialCollection, t, confirmation, selectFileContent, attachTo, openSettings: openSettingsFn, closeOnSettings, fetchFile, fetchFileList, zIndex, emit, translations, contentRef, }: StorePayload): StoreData;
|
|
51
53
|
export declare function useAppStore(): StoreData;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SelectedFile, SelectedPage } from '../../content-selector/stores/app';
|
|
2
2
|
import { Selection } from '../../../types/selections';
|
|
3
3
|
import { FileRetrieve } from '../../../../types/openapi';
|
|
4
|
-
import {
|
|
4
|
+
import { ContentGridProps } from '../../canvas-builder/types/canvas';
|
|
5
|
+
import { CollectionFile, CollectionPage, CollectionGroup, CollectionPlayerV2, CollectionSlideV2 } from '../../collection-player/types/collection-player.type';
|
|
5
6
|
import { I18nTranslate } from '../../../types/common';
|
|
6
7
|
export declare function parsePptxFileToCollectionPlayer(t: I18nTranslate, _file: FileRetrieve): {
|
|
7
8
|
name: string;
|
|
@@ -38,4 +39,21 @@ export declare function parseContentSelectorToCollectionPlayerSlides({ selectedI
|
|
|
38
39
|
selectedItems: (SelectedFile | SelectedPage)[];
|
|
39
40
|
filesById: Record<FileRetrieve['id'], FileRetrieve>;
|
|
40
41
|
}): (CollectionPage | CollectionFile)[];
|
|
41
|
-
export declare function parseCollectionPlayerSlidesToContentSelector(slides?: CollectionGroup['slides']): Selection[];
|
|
42
|
+
export declare function parseCollectionPlayerSlidesToContentSelector(slides?: CollectionGroup['slides'] | CollectionSlideV2[]): Selection[];
|
|
43
|
+
/**
|
|
44
|
+
* Transform an array of file data into CollectionPlayerV2 format
|
|
45
|
+
* Returns minimal data structure with only file_id references
|
|
46
|
+
* Each file gets its own group to maintain proper structure for PPTX sections
|
|
47
|
+
* @param t - Translation function
|
|
48
|
+
* @param filesData - Array of file data with id, name, and optional selectedPages
|
|
49
|
+
* @param name - Name for the collection (defaults to 'Collection')
|
|
50
|
+
* @returns Transformed CollectionPlayerV2 data with file_id references
|
|
51
|
+
*/
|
|
52
|
+
export declare function transformFilesToCollectionPlayer(t: I18nTranslate, filesData: any[], name?: string): CollectionPlayerV2;
|
|
53
|
+
/**
|
|
54
|
+
* Transform an array of file data into ContentGrid format
|
|
55
|
+
* Handles the new data structure with file references and selectedPages arrays
|
|
56
|
+
* @param filesData - Array of file data with id, name, and optional selectedPages
|
|
57
|
+
* @returns Transformed ContentGridProps data
|
|
58
|
+
*/
|
|
59
|
+
export declare function transformFilesToContentGrid(filesData: any[]): ContentGridProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { I18nTranslate } from '../../../types/common';
|
|
2
|
-
import { CollectionFile, CollectionPage, CollectionPlayer } from '../../collection-player/types/collection-player.type';
|
|
2
|
+
import { CollectionFile, CollectionPage, CollectionPlayer, CollectionPlayerV2 } from '../../collection-player/types/collection-player.type';
|
|
3
3
|
export declare const getDefaultNewGroupName: (t: I18nTranslate) => string;
|
|
4
4
|
export declare const getDefaultGroupName: (t: I18nTranslate) => string;
|
|
5
5
|
export declare const getDefaultCollectionName: (t: I18nTranslate) => string;
|
|
@@ -18,6 +18,6 @@ export declare const generateNewCollection: (t: I18nTranslate) => {
|
|
|
18
18
|
};
|
|
19
19
|
export declare const generateNewCollectionSlide: (payload: Pick<CollectionPage, "file" | "slide">) => CollectionPage;
|
|
20
20
|
export declare const generateNewCollectionFile: (file: CollectionFile["file"]) => CollectionFile;
|
|
21
|
-
export declare const getUniqueFilesCount: (data: CollectionPlayer) => number;
|
|
22
|
-
export declare const getGroupsCount: (data: CollectionPlayer) => number;
|
|
23
|
-
export declare const getSlidesCount: (data: CollectionPlayer) => number;
|
|
21
|
+
export declare const getUniqueFilesCount: (data: CollectionPlayer | CollectionPlayerV2) => number;
|
|
22
|
+
export declare const getGroupsCount: (data: CollectionPlayer | CollectionPlayerV2) => number;
|
|
23
|
+
export declare const getSlidesCount: (data: CollectionPlayer | CollectionPlayerV2) => number;
|