@pitcher/js-api 1.25.0-beta.3 → 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 +126 -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/ControlBar/ReorderContent.vue.d.ts +1 -1
- 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/ContentGridFileItem.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.raw.grouped.vue.d.ts +3 -1
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.simple.vue.d.ts +3 -1
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.utils.d.ts +16 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.vue.d.ts +2 -1
- 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/useCanvasThemeAssets.d.ts +8 -0
- 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 +7 -3
- 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 +3 -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 +9 -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/components/AppHeader.vue.d.ts +2 -0
- 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.types.d.ts +1 -1
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +15 -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 +3 -6
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +3 -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 -9
- 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 -68
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +13 -19
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +41 -41
- 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 -23
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +4 -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 -4
- package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +8 -3
- package/lib/components/sections/CSectionManagement.vue.d.ts +27 -9
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +7 -0
- package/lib/components/themes/CThemeManagement.vue.d.ts +98 -18
- 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/element-mounted.d.ts +4 -0
- package/lib/directives/vTrustedHtml.d.ts +6 -0
- package/lib/main.lib.d.ts +23 -3
- package/lib/sdk/api/HighLevelApi.d.ts +26 -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/env.d.ts +1 -0
- 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 +53 -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 +2 -1
- 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
|
@@ -33,15 +33,41 @@ declare function __VLS_template(): {
|
|
|
33
33
|
hideCreate?: boolean;
|
|
34
34
|
hideView?: boolean;
|
|
35
35
|
isLoadingItems?: boolean;
|
|
36
|
-
|
|
36
|
+
search: string;
|
|
37
|
+
metadataFilterValues: Record<string, any>;
|
|
38
|
+
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
39
|
+
customFilterComponents?: {
|
|
40
|
+
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
41
|
+
name: string;
|
|
42
|
+
label: string;
|
|
43
|
+
options?: [];
|
|
44
|
+
}[];
|
|
37
45
|
}> & Readonly<{
|
|
38
|
-
|
|
46
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
47
|
+
onSelect?: ((payload: {
|
|
48
|
+
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
49
|
+
checked: boolean;
|
|
50
|
+
}) => any) | undefined;
|
|
51
|
+
onMove?: ((payload: {
|
|
52
|
+
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
53
|
+
itemId: string;
|
|
54
|
+
}) => any) | undefined;
|
|
39
55
|
onCreate?: (() => any) | undefined;
|
|
40
56
|
onRestoreColumns?: (() => any) | undefined;
|
|
57
|
+
"onUpdate:filter-values"?: ((value: Record<string, any>) => any) | undefined;
|
|
41
58
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
42
|
-
|
|
59
|
+
search: (value: string) => any;
|
|
60
|
+
select: (payload: {
|
|
61
|
+
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
62
|
+
checked: boolean;
|
|
63
|
+
}) => any;
|
|
64
|
+
move: (payload: {
|
|
65
|
+
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
66
|
+
itemId: string;
|
|
67
|
+
}) => any;
|
|
43
68
|
create: () => any;
|
|
44
69
|
restoreColumns: () => any;
|
|
70
|
+
"update:filter-values": (value: Record<string, any>) => any;
|
|
45
71
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
46
72
|
P: {};
|
|
47
73
|
B: {};
|
|
@@ -53,11 +79,28 @@ declare function __VLS_template(): {
|
|
|
53
79
|
hideCreate?: boolean;
|
|
54
80
|
hideView?: boolean;
|
|
55
81
|
isLoadingItems?: boolean;
|
|
56
|
-
|
|
82
|
+
search: string;
|
|
83
|
+
metadataFilterValues: Record<string, any>;
|
|
84
|
+
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
85
|
+
customFilterComponents?: {
|
|
86
|
+
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
87
|
+
name: string;
|
|
88
|
+
label: string;
|
|
89
|
+
options?: [];
|
|
90
|
+
}[];
|
|
57
91
|
}> & Readonly<{
|
|
58
|
-
|
|
92
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
93
|
+
onSelect?: ((payload: {
|
|
94
|
+
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
95
|
+
checked: boolean;
|
|
96
|
+
}) => any) | undefined;
|
|
97
|
+
onMove?: ((payload: {
|
|
98
|
+
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
99
|
+
itemId: string;
|
|
100
|
+
}) => any) | undefined;
|
|
59
101
|
onCreate?: (() => any) | undefined;
|
|
60
102
|
onRestoreColumns?: (() => any) | undefined;
|
|
103
|
+
"onUpdate:filter-values"?: ((value: Record<string, any>) => any) | undefined;
|
|
61
104
|
}>, {}, {}, {}, {}, {}> | null;
|
|
62
105
|
tableRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
63
106
|
selectedRows?: Record<string, boolean>;
|
|
@@ -95,8 +138,6 @@ declare function __VLS_template(): {
|
|
|
95
138
|
selectedRowsCount: ComputedRef<number>;
|
|
96
139
|
pageRowsCount: ComputedRef<number>;
|
|
97
140
|
isRowDisabled: (id: string | number) => boolean;
|
|
98
|
-
saveScrollPosition: () => void;
|
|
99
|
-
restoreScrollPosition: () => void;
|
|
100
141
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
101
142
|
sortChanged: (s: SortingState) => any;
|
|
102
143
|
pageChanged: (p: PaginationState) => any;
|
|
@@ -121,6 +162,7 @@ declare function __VLS_template(): {
|
|
|
121
162
|
disabledIds: Array<string | number>;
|
|
122
163
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
123
164
|
tableScroller: HTMLDivElement;
|
|
165
|
+
tableElement: HTMLTableElement;
|
|
124
166
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
125
167
|
P: {};
|
|
126
168
|
B: {};
|
|
@@ -164,8 +206,6 @@ declare function __VLS_template(): {
|
|
|
164
206
|
selectedRowsCount: ComputedRef<number>;
|
|
165
207
|
pageRowsCount: ComputedRef<number>;
|
|
166
208
|
isRowDisabled: (id: string | number) => boolean;
|
|
167
|
-
saveScrollPosition: () => void;
|
|
168
|
-
restoreScrollPosition: () => void;
|
|
169
209
|
}, {}, {}, {}, {
|
|
170
210
|
data: {
|
|
171
211
|
[x: string]: any;
|
|
@@ -205,15 +245,41 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
205
245
|
hideCreate?: boolean;
|
|
206
246
|
hideView?: boolean;
|
|
207
247
|
isLoadingItems?: boolean;
|
|
208
|
-
|
|
248
|
+
search: string;
|
|
249
|
+
metadataFilterValues: Record<string, any>;
|
|
250
|
+
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
251
|
+
customFilterComponents?: {
|
|
252
|
+
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
253
|
+
name: string;
|
|
254
|
+
label: string;
|
|
255
|
+
options?: [];
|
|
256
|
+
}[];
|
|
209
257
|
}> & Readonly<{
|
|
210
|
-
|
|
258
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
259
|
+
onSelect?: ((payload: {
|
|
260
|
+
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
261
|
+
checked: boolean;
|
|
262
|
+
}) => any) | undefined;
|
|
263
|
+
onMove?: ((payload: {
|
|
264
|
+
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
265
|
+
itemId: string;
|
|
266
|
+
}) => any) | undefined;
|
|
211
267
|
onCreate?: (() => any) | undefined;
|
|
212
268
|
onRestoreColumns?: (() => any) | undefined;
|
|
269
|
+
"onUpdate:filter-values"?: ((value: Record<string, any>) => any) | undefined;
|
|
213
270
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
214
|
-
|
|
271
|
+
search: (value: string) => any;
|
|
272
|
+
select: (payload: {
|
|
273
|
+
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
274
|
+
checked: boolean;
|
|
275
|
+
}) => any;
|
|
276
|
+
move: (payload: {
|
|
277
|
+
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
278
|
+
itemId: string;
|
|
279
|
+
}) => any;
|
|
215
280
|
create: () => any;
|
|
216
281
|
restoreColumns: () => any;
|
|
282
|
+
"update:filter-values": (value: Record<string, any>) => any;
|
|
217
283
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
218
284
|
P: {};
|
|
219
285
|
B: {};
|
|
@@ -225,11 +291,28 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
225
291
|
hideCreate?: boolean;
|
|
226
292
|
hideView?: boolean;
|
|
227
293
|
isLoadingItems?: boolean;
|
|
228
|
-
|
|
294
|
+
search: string;
|
|
295
|
+
metadataFilterValues: Record<string, any>;
|
|
296
|
+
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
297
|
+
customFilterComponents?: {
|
|
298
|
+
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
299
|
+
name: string;
|
|
300
|
+
label: string;
|
|
301
|
+
options?: [];
|
|
302
|
+
}[];
|
|
229
303
|
}> & Readonly<{
|
|
230
|
-
|
|
304
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
305
|
+
onSelect?: ((payload: {
|
|
306
|
+
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
307
|
+
checked: boolean;
|
|
308
|
+
}) => any) | undefined;
|
|
309
|
+
onMove?: ((payload: {
|
|
310
|
+
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
311
|
+
itemId: string;
|
|
312
|
+
}) => any) | undefined;
|
|
231
313
|
onCreate?: (() => any) | undefined;
|
|
232
314
|
onRestoreColumns?: (() => any) | undefined;
|
|
315
|
+
"onUpdate:filter-values"?: ((value: Record<string, any>) => any) | undefined;
|
|
233
316
|
}>, {}, {}, {}, {}, {}> | null;
|
|
234
317
|
tableRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
235
318
|
selectedRows?: Record<string, boolean>;
|
|
@@ -267,8 +350,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
267
350
|
selectedRowsCount: ComputedRef<number>;
|
|
268
351
|
pageRowsCount: ComputedRef<number>;
|
|
269
352
|
isRowDisabled: (id: string | number) => boolean;
|
|
270
|
-
saveScrollPosition: () => void;
|
|
271
|
-
restoreScrollPosition: () => void;
|
|
272
353
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
273
354
|
sortChanged: (s: SortingState) => any;
|
|
274
355
|
pageChanged: (p: PaginationState) => any;
|
|
@@ -293,6 +374,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
293
374
|
disabledIds: Array<string | number>;
|
|
294
375
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
295
376
|
tableScroller: HTMLDivElement;
|
|
377
|
+
tableElement: HTMLTableElement;
|
|
296
378
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
297
379
|
P: {};
|
|
298
380
|
B: {};
|
|
@@ -336,8 +418,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
336
418
|
selectedRowsCount: ComputedRef<number>;
|
|
337
419
|
pageRowsCount: ComputedRef<number>;
|
|
338
420
|
isRowDisabled: (id: string | number) => boolean;
|
|
339
|
-
saveScrollPosition: () => void;
|
|
340
|
-
restoreScrollPosition: () => void;
|
|
341
421
|
}, {}, {}, {}, {
|
|
342
422
|
data: {
|
|
343
423
|
[x: string]: any;
|
|
@@ -1,16 +1,44 @@
|
|
|
1
|
+
import { TableColumnSetting } from '../CTableColumnsSettings/CTableColumnsSettings.vue';
|
|
2
|
+
import { MetadataTemplateFieldTypeEnum } from '../../../types/openapi';
|
|
1
3
|
type __VLS_Props = {
|
|
2
4
|
hideCreate?: boolean;
|
|
3
5
|
hideView?: boolean;
|
|
4
6
|
isLoadingItems?: boolean;
|
|
5
|
-
|
|
7
|
+
search: string;
|
|
8
|
+
metadataFilterValues: Record<string, any>;
|
|
9
|
+
tableColumnsSettings: TableColumnSetting[];
|
|
10
|
+
customFilterComponents?: {
|
|
11
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
12
|
+
name: string;
|
|
13
|
+
label: string;
|
|
14
|
+
options?: [];
|
|
15
|
+
}[];
|
|
6
16
|
};
|
|
7
17
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
-
|
|
18
|
+
search: (value: string) => any;
|
|
19
|
+
select: (payload: {
|
|
20
|
+
id: TableColumnSetting["id"];
|
|
21
|
+
checked: boolean;
|
|
22
|
+
}) => any;
|
|
23
|
+
move: (payload: {
|
|
24
|
+
targetItemId: TableColumnSetting["id"];
|
|
25
|
+
itemId: string;
|
|
26
|
+
}) => any;
|
|
9
27
|
create: () => any;
|
|
10
28
|
restoreColumns: () => any;
|
|
29
|
+
"update:filter-values": (value: Record<string, any>) => any;
|
|
11
30
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
|
|
31
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
32
|
+
onSelect?: ((payload: {
|
|
33
|
+
id: TableColumnSetting["id"];
|
|
34
|
+
checked: boolean;
|
|
35
|
+
}) => any) | undefined;
|
|
36
|
+
onMove?: ((payload: {
|
|
37
|
+
targetItemId: TableColumnSetting["id"];
|
|
38
|
+
itemId: string;
|
|
39
|
+
}) => any) | undefined;
|
|
13
40
|
onCreate?: (() => any) | undefined;
|
|
14
41
|
onRestoreColumns?: (() => any) | undefined;
|
|
42
|
+
"onUpdate:filter-values"?: ((value: Record<string, any>) => any) | undefined;
|
|
15
43
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
44
|
export default _default;
|
|
@@ -31,9 +31,9 @@ export declare function useAppsDb(payload?: UseAppsDbPayload): {
|
|
|
31
31
|
} & {
|
|
32
32
|
value: Record<string, any>;
|
|
33
33
|
}>;
|
|
34
|
-
deleteEntry: (params: EntryParams) => Promise<import('axios').AxiosResponse<void, any>>;
|
|
34
|
+
deleteEntry: (params: EntryParams) => Promise<import('axios').AxiosResponse<void, any, {}>>;
|
|
35
35
|
upsertGlobalEntry: (payload: UpsertGlobalEntryParams) => Promise<AppsDBEntry>;
|
|
36
36
|
getGlobalEntry: (params: GlobalEntryParams) => Promise<AppsDBEntry>;
|
|
37
|
-
deleteGlobalEntry: (params: GlobalEntryParams) => Promise<import('axios').AxiosResponse<void, any>>;
|
|
37
|
+
deleteGlobalEntry: (params: GlobalEntryParams) => Promise<import('axios').AxiosResponse<void, any, {}>>;
|
|
38
38
|
};
|
|
39
39
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BulkDeleteRequest, BulkDeleteResponse, BulkUpdateTagsRequest, BulkUpdateTags, BulkUpdateMetadataRequest, BulkUpdateMetadata } from '../../types/openapi';
|
|
2
|
-
export default function useBulkActions(): {
|
|
1
|
+
import { BulkDeleteRequest, BulkDeleteResponse, BulkUpdateTagsRequest, BulkUpdateTags, BulkUpdateMetadataRequest, BulkUpdateMetadata, MiniFile } from '../../types/openapi';
|
|
2
|
+
export default function useBulkActions(emit?: (event: 'filesDeleted', ids: MiniFile['id'][]) => void): {
|
|
3
3
|
deleteCanvases: (payload: BulkDeleteRequest) => Promise<BulkDeleteResponse>;
|
|
4
4
|
deleteFiles: (payload: BulkDeleteRequest) => Promise<BulkDeleteResponse>;
|
|
5
5
|
deleteFolders: (payload: BulkDeleteRequest) => Promise<BulkDeleteResponse>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { MetadataTemplateFieldTypeEnum } from '../../types/openapi';
|
|
2
|
+
export interface CanvasStandardFiltersOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Include the "Tags" filter (default: true)
|
|
5
|
+
*/
|
|
6
|
+
includeTagsFilter?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Include the "Draft" filter (default: true)
|
|
9
|
+
*/
|
|
10
|
+
includeDraftFilter?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Include the "Template Used" filter (only for saved canvases)
|
|
13
|
+
*/
|
|
14
|
+
includeTemplateFilter?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Include the "Owner" filter
|
|
17
|
+
*/
|
|
18
|
+
includeOwnerFilter?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Custom label for the Owner filter (defaults to "Owner")
|
|
21
|
+
*/
|
|
22
|
+
ownerLabel?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Composable that returns standard filter components for canvas management views
|
|
26
|
+
* @param options Configuration options for which filters to include
|
|
27
|
+
* @returns Array of filter component configurations
|
|
28
|
+
*/
|
|
29
|
+
export declare function useCanvasStandardFilters(options?: CanvasStandardFiltersOptions): {
|
|
30
|
+
filterComponents: import('vue').ComputedRef<{
|
|
31
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
32
|
+
name: string;
|
|
33
|
+
label: string;
|
|
34
|
+
}[]>;
|
|
35
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CollectionPlayer } from '../apps/collection-player/types/collection-player.type';
|
|
2
|
+
export interface CollectionPlayerOverlayGroup {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
slides?: Array<{
|
|
6
|
+
file_id: string;
|
|
7
|
+
slide_index: number;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
export interface CollectionPlayerOverlay {
|
|
11
|
+
groups: CollectionPlayerOverlayGroup[];
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: () => {
|
|
15
|
+
setCollectionPlayerData: import('vue').Ref<((data: CollectionPlayer) => void) | null, ((data: CollectionPlayer) => void) | null>;
|
|
16
|
+
openCollectionPlayerOverlay: (data: CollectionPlayerOverlay, fetchFile: (fileId: string) => Promise<any>) => Promise<void>;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ViewCompactFileFolder } from '../types/files';
|
|
2
|
+
import { FolderDeleter, FileDeleter } from '../apps/browser/stores/api';
|
|
3
|
+
import { ActionKeys } from '../apps/browser/types/actionKeys';
|
|
4
|
+
export default function useDeleteUsedCanvasesConfirmation(): {
|
|
5
|
+
getDeleteConfirmationConfig: ({ item, deleteFunction, action, onAfterDelete, }: {
|
|
6
|
+
item: ViewCompactFileFolder;
|
|
7
|
+
deleteFunction: FolderDeleter | FileDeleter;
|
|
8
|
+
action: ActionKeys.DeleteFile | ActionKeys.DeleteFolder;
|
|
9
|
+
onAfterDelete?: () => void;
|
|
10
|
+
}) => Promise<{
|
|
11
|
+
title: string;
|
|
12
|
+
content: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}>;
|
|
15
|
+
confirmText: string;
|
|
16
|
+
cancelText: string;
|
|
17
|
+
onConfirm: () => Promise<void>;
|
|
18
|
+
style?: {
|
|
19
|
+
width: string;
|
|
20
|
+
} | undefined;
|
|
21
|
+
hasExit: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
};
|
|
@@ -2,10 +2,14 @@ import { ViewCompactItemType, ViewCompactFolder } from '../types/files';
|
|
|
2
2
|
import { CoreFolderEntityType } from '../types/folder';
|
|
3
3
|
import { FileContentTypeEnum } from '../../types/openapi';
|
|
4
4
|
export default function useFileDisplayHelpers(): {
|
|
5
|
-
getFolderDescription: (item: Omit<Partial<ViewCompactFolder>, "type"> & {
|
|
5
|
+
getFolderDescription: (item: (Omit<Partial<ViewCompactFolder>, "type"> & {
|
|
6
6
|
type?: ViewCompactItemType.Folder | ViewCompactItemType.SmartFolder;
|
|
7
|
-
}
|
|
7
|
+
}) & {
|
|
8
|
+
available_files_count?: number;
|
|
9
|
+
available_folders_count?: number;
|
|
10
|
+
}, { entity, hideFilesCount }?: {
|
|
8
11
|
entity?: CoreFolderEntityType;
|
|
12
|
+
hideFilesCount?: boolean;
|
|
9
13
|
}) => string;
|
|
10
14
|
renderContentType: (contentType: FileContentTypeEnum) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
15
|
[key: string]: any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FileRetrieve } from '../../types/openapi';
|
|
2
|
+
export interface ResolveFileIdsOptions {
|
|
3
|
+
chunkSize?: number;
|
|
4
|
+
}
|
|
5
|
+
export interface ResolveRequest {
|
|
6
|
+
ids: string[];
|
|
7
|
+
entity: 'file' | 'canvas';
|
|
8
|
+
instance_id: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ResolveResponse {
|
|
11
|
+
objects: Record<string, FileRetrieve | null>;
|
|
12
|
+
found_count: number;
|
|
13
|
+
total_count: number;
|
|
14
|
+
}
|
|
15
|
+
export interface UseFileInfoOptions {
|
|
16
|
+
listFetcher?: (args: {
|
|
17
|
+
filters: {
|
|
18
|
+
id__in: string;
|
|
19
|
+
};
|
|
20
|
+
}) => Promise<FileRetrieve[] | {
|
|
21
|
+
results: FileRetrieve[];
|
|
22
|
+
}>;
|
|
23
|
+
fetchById?: (id: FileRetrieve['id']) => Promise<FileRetrieve>;
|
|
24
|
+
resolveFetcher?: (request: ResolveRequest) => Promise<ResolveResponse>;
|
|
25
|
+
instanceId?: string;
|
|
26
|
+
}
|
|
27
|
+
export default function useFileInfo(options?: UseFileInfoOptions): {
|
|
28
|
+
filesById: import('vue').Ref<Record<string, FileRetrieve>, Record<string, FileRetrieve>>;
|
|
29
|
+
resolveFileIds: (ids: FileRetrieve["id"][], fetcher?: UseFileInfoOptions["listFetcher"] | UseFileInfoOptions["fetchById"], opts?: ResolveFileIdsOptions) => Promise<FileRetrieve[]>;
|
|
30
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { MetadataFilterRequest } from '../types/core/MetadataFilter';
|
|
3
|
+
export interface FilterSuggestion {
|
|
4
|
+
name: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
usageCount?: number;
|
|
7
|
+
}
|
|
8
|
+
interface FilterSuggestionsData {
|
|
9
|
+
suggestions: FilterSuggestion[];
|
|
10
|
+
hasMore?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface FilterConstraint {
|
|
13
|
+
key: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}
|
|
16
|
+
interface UseFilterSuggestionsOptions {
|
|
17
|
+
entity?: MetadataFilterRequest['entity'];
|
|
18
|
+
filterKey?: string;
|
|
19
|
+
includeDraftValues?: boolean;
|
|
20
|
+
isSection?: boolean;
|
|
21
|
+
isTemplate?: boolean;
|
|
22
|
+
ownerId?: number | null;
|
|
23
|
+
limit?: number;
|
|
24
|
+
}
|
|
25
|
+
export default function useFilterSuggestions(options?: UseFilterSuggestionsOptions): {
|
|
26
|
+
suggestionsData: Ref<{
|
|
27
|
+
suggestions: {
|
|
28
|
+
name: string;
|
|
29
|
+
displayName: string;
|
|
30
|
+
usageCount?: number | undefined;
|
|
31
|
+
}[];
|
|
32
|
+
hasMore?: boolean | undefined;
|
|
33
|
+
}, FilterSuggestionsData | {
|
|
34
|
+
suggestions: {
|
|
35
|
+
name: string;
|
|
36
|
+
displayName: string;
|
|
37
|
+
usageCount?: number | undefined;
|
|
38
|
+
}[];
|
|
39
|
+
hasMore?: boolean | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
isLoading: Ref<boolean, boolean>;
|
|
42
|
+
isEnabled: ComputedRef<boolean | undefined>;
|
|
43
|
+
fetchSuggestions: (currentFilters?: Record<string, any>) => Promise<FilterSuggestionsData>;
|
|
44
|
+
debouncedFetch: (currentFilters?: Record<string, any>, delay?: number) => Promise<FilterSuggestionsData>;
|
|
45
|
+
buildConstraints: (currentFilters: Record<string, any>, excludeCurrentField?: boolean) => FilterConstraint[];
|
|
46
|
+
cleanup: () => void;
|
|
47
|
+
};
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
interface NameDescription {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Composable for parsing folder/file names with conditional description support
|
|
8
|
+
*
|
|
9
|
+
* When `enable_folder_description_via_name` setting is enabled:
|
|
10
|
+
* - Names like "Folder name | Folder description" are parsed
|
|
11
|
+
* - Returns { name: "Folder name", description: "Folder description" }
|
|
12
|
+
*
|
|
13
|
+
* When setting is disabled:
|
|
14
|
+
* - Returns original name without parsing
|
|
15
|
+
* - Returns { name: "Full name", description: "" }
|
|
16
|
+
*/
|
|
17
|
+
export default function useFolderNameDescription(): {
|
|
18
|
+
isEnabled: ComputedRef<boolean>;
|
|
19
|
+
isFolderNameDescriptionEnabled: ComputedRef<boolean>;
|
|
20
|
+
parseNameDescription: (nameString: string) => NameDescription;
|
|
21
|
+
createNameDescription: (nameRef: ComputedRef<string>) => ComputedRef<NameDescription>;
|
|
22
|
+
createNameDescriptionForItem: (nameRef: ComputedRef<string>, itemTypeRef: ComputedRef<string>) => ComputedRef<NameDescription>;
|
|
23
|
+
parseNameOnly: (nameString: string) => string;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
interface UseImageAccessibilityOptions {
|
|
3
|
+
thumbnailUrl: ComputedRef<string | null>;
|
|
4
|
+
hasAIEnabled: ComputedRef<boolean>;
|
|
5
|
+
hasFile: ComputedRef<boolean>;
|
|
6
|
+
}
|
|
7
|
+
export default function useImageAccessibility({ thumbnailUrl, hasAIEnabled, hasFile }: UseImageAccessibilityOptions): {
|
|
8
|
+
imageAccessible: import('vue').Ref<boolean | null, boolean | null>;
|
|
9
|
+
hasValidThumbnail: ComputedRef<boolean>;
|
|
10
|
+
handleImageError: () => void;
|
|
11
|
+
checkImageAccessibility: () => Promise<void>;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FileRetrieve } from '../../types/openapi';
|
|
2
|
+
export interface FileLoadingState {
|
|
3
|
+
id: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
isLoaded: boolean;
|
|
7
|
+
file?: FileRetrieve;
|
|
8
|
+
error?: string;
|
|
9
|
+
}
|
|
10
|
+
export default function useLegacyCollectionFileLoader(): {
|
|
11
|
+
fileStates: import('vue').ComputedRef<Record<string, FileLoadingState>>;
|
|
12
|
+
filesById: import('vue').ComputedRef<Record<string, FileRetrieve>>;
|
|
13
|
+
initializeFiles: (fileIds: string[], fileNames?: Record<string, string>) => void;
|
|
14
|
+
loadFile: (fileId: string) => Promise<FileRetrieve | null>;
|
|
15
|
+
loadAllFiles: (fileIds: string[]) => Promise<void>;
|
|
16
|
+
getFile: (fileId: string) => FileRetrieve | undefined;
|
|
17
|
+
getFileState: (fileId: string) => FileLoadingState | undefined;
|
|
18
|
+
getFileName: (fileId: string) => string | undefined;
|
|
19
|
+
isFileLoaded: (fileId: string) => boolean;
|
|
20
|
+
isFileLoading: (fileId: string) => boolean;
|
|
21
|
+
hasFileFailed: (fileId: string) => boolean;
|
|
22
|
+
isFileResolved: (fileId: string) => boolean;
|
|
23
|
+
reset: () => void;
|
|
24
|
+
getLoadingStats: () => {
|
|
25
|
+
total: number;
|
|
26
|
+
loaded: number;
|
|
27
|
+
loading: number;
|
|
28
|
+
failed: number;
|
|
29
|
+
pending: number;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { MetadataFilterRequest, MetadataSearchParams } from '../types/core/MetadataFilter';
|
|
2
2
|
import { StyledAutoCompleteOption } from '../types/search';
|
|
3
|
+
export declare const SEARCH_TERM_PREFIX = "__search_term__";
|
|
4
|
+
interface MetadataUniqueValuesResponse {
|
|
5
|
+
popular: Array<StyledAutoCompleteOption & {
|
|
6
|
+
usage_count: number;
|
|
7
|
+
}>;
|
|
8
|
+
all: StyledAutoCompleteOption[];
|
|
9
|
+
}
|
|
3
10
|
interface UseMetadataSearchOptions {
|
|
4
11
|
includeSearchTermAsOption?: boolean;
|
|
5
12
|
}
|
|
6
13
|
export default function useMetadataSearch(options?: UseMetadataSearchOptions): {
|
|
7
|
-
handleFetch: (searchTerm: string, entity: MetadataFilterRequest["entity"], { includeNameSearch, includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, searchMode, threshold, fetchAllUnique, }?: {
|
|
14
|
+
handleFetch: (searchTerm: string, entity: MetadataFilterRequest["entity"], { includeNameSearch, includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, searchMode, threshold, fetchAllUnique, contentType, }?: {
|
|
8
15
|
includeNameSearch?: boolean;
|
|
9
16
|
includeDraftValues?: boolean;
|
|
10
17
|
isSection?: boolean;
|
|
@@ -15,6 +22,20 @@ export default function useMetadataSearch(options?: UseMetadataSearchOptions): {
|
|
|
15
22
|
searchMode?: MetadataSearchParams["searchMode"];
|
|
16
23
|
threshold?: number;
|
|
17
24
|
fetchAllUnique?: boolean;
|
|
25
|
+
contentType?: string[];
|
|
18
26
|
}) => Promise<StyledAutoCompleteOption[]>;
|
|
27
|
+
fetchUniqueValues: (entity: MetadataFilterRequest["entity"], { includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, limit, and, }?: {
|
|
28
|
+
includeDraftValues?: boolean;
|
|
29
|
+
isSection?: boolean;
|
|
30
|
+
isTemplate?: boolean;
|
|
31
|
+
isBlock?: boolean;
|
|
32
|
+
key?: MetadataSearchParams["key"];
|
|
33
|
+
ownerId?: number | null;
|
|
34
|
+
limit?: number;
|
|
35
|
+
and?: Array<{
|
|
36
|
+
key: string;
|
|
37
|
+
value: string;
|
|
38
|
+
}>;
|
|
39
|
+
}) => Promise<MetadataUniqueValuesResponse>;
|
|
19
40
|
};
|
|
20
41
|
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
interface UsePollingOptions {
|
|
3
|
+
interval: number;
|
|
4
|
+
cleanupTimeout?: number;
|
|
5
|
+
executeImmediately?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface UsePollingReturn {
|
|
8
|
+
isPolling: Ref<boolean>;
|
|
9
|
+
startPolling: (pollFn: () => Promise<boolean>) => void;
|
|
10
|
+
stopPolling: () => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Generic polling composable that can poll any async function
|
|
14
|
+
*
|
|
15
|
+
* By default, polling waits for the first interval before executing.
|
|
16
|
+
* Set executeImmediately: true to execute immediately when startPolling is called,
|
|
17
|
+
* then continue at the specified interval.
|
|
18
|
+
*
|
|
19
|
+
* @param options - Configuration with required interval, optional cleanup timeout, and execution behavior
|
|
20
|
+
* @returns Object with polling state and control methods
|
|
21
|
+
*/
|
|
22
|
+
export declare function usePolling(options: UsePollingOptions): UsePollingReturn;
|
|
23
|
+
export {};
|
|
@@ -6,6 +6,7 @@ export type InactiveEventPayload = {
|
|
|
6
6
|
platform?: (typeof PLATFORM_TYPE)[keyof typeof PLATFORM_TYPE];
|
|
7
7
|
client?: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
8
8
|
pair_id?: string;
|
|
9
|
+
file_id?: string;
|
|
9
10
|
[key: string]: any;
|
|
10
11
|
};
|
|
11
12
|
export default function (track: (eventName: string, payload: any) => void, pitcherApi?: ReturnType<typeof usePitcherApi>): {
|
|
@@ -10,6 +10,8 @@ export declare const CDP_EVENT_TYPE: {
|
|
|
10
10
|
readonly appExited: "App Exited";
|
|
11
11
|
readonly canvasEntered: "Canvas Entered";
|
|
12
12
|
readonly canvasExited: "Canvas Exited";
|
|
13
|
+
readonly wizardEntered: "Wizard Entered";
|
|
14
|
+
readonly wizardExited: "Wizard Exited";
|
|
13
15
|
readonly canvasShared: "Canvas Shared";
|
|
14
16
|
readonly customerSentimentCaptured: "Customer Sentiment Captured";
|
|
15
17
|
readonly canvasPageEntered: "Canvas Page Entered";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gotenberg-supported dimension units for PDF conversion.
|
|
3
|
+
* Reference: https://gotenberg.dev/docs/routes#page-properties
|
|
4
|
+
*
|
|
5
|
+
* Gotenberg supports: 72pt, 96px, 1in, 25.4mm, 2.54cm, or 6pc.
|
|
6
|
+
* Default unit is inches if unspecified.
|
|
7
|
+
*/
|
|
8
|
+
export declare const GOTENBERG_DIMENSION_UNITS: readonly ["mm", "cm", "in", "px", "pt", "pc"];
|
|
9
|
+
export type GotenbergDimensionUnit = (typeof GOTENBERG_DIMENSION_UNITS)[number];
|
|
10
|
+
/**
|
|
11
|
+
* Regex pattern for matching dimension values with Gotenberg-supported units.
|
|
12
|
+
* Supports both comma and period as decimal separators (e.g., "10.5mm" or "10,5mm").
|
|
13
|
+
*/
|
|
14
|
+
export declare const GOTENBERG_DIMENSION_PATTERN: string;
|
|
15
|
+
/**
|
|
16
|
+
* Conversion rates from various units to pixels (CSS standard).
|
|
17
|
+
* - 1 inch = 96 pixels
|
|
18
|
+
* - 1 cm = 37.795275591 pixels
|
|
19
|
+
* - 1 mm = 3.7795275591 pixels
|
|
20
|
+
* - 1 pt = 1.333333 pixels
|
|
21
|
+
* - 1 pc = 16 pixels
|
|
22
|
+
*/
|
|
23
|
+
export declare const DIMENSION_TO_PIXEL_CONVERSION: Record<GotenbergDimensionUnit, number>;
|