@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
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ComponentTypes, ComponentNode, CustomDataTableProps } from '../../../types/canvas';
|
|
2
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
id: string;
|
|
5
|
+
data: CustomDataTableProps;
|
|
6
|
+
children?: ComponentNode[];
|
|
7
|
+
parentType?: ComponentTypes;
|
|
8
|
+
usedInSectionId?: CanvasRetrieve['id'];
|
|
9
|
+
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
10
|
+
visible?: ComponentNode['visible'];
|
|
11
|
+
tracking_id?: string;
|
|
12
|
+
style?: Record<string, any>;
|
|
13
|
+
theme_meta?: ComponentNode['theme_meta'];
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
style: (s: Record<string, any>, id?: string | undefined) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onStyle?: ((s: Record<string, any>, id?: string | undefined) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
children: ComponentNode[];
|
|
21
|
+
when_used_in_section: {
|
|
22
|
+
is_editable: boolean;
|
|
23
|
+
is_removable: boolean;
|
|
24
|
+
};
|
|
25
|
+
usedInSectionId: CanvasRetrieve["id"];
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DynamicDataTableProps, DynamicDatatableProperty } from '../../../types/canvas';
|
|
2
|
+
/**
|
|
3
|
+
* Calculate the background color for a table row based on striping configuration
|
|
4
|
+
* @param idx - The row index (0-based)
|
|
5
|
+
* @param data - The dynamic data table props containing striping configuration
|
|
6
|
+
* @param themeVars - The theme variables containing color values
|
|
7
|
+
* @returns The background color string for the row
|
|
8
|
+
*/
|
|
9
|
+
export declare function getRowBackgroundColor(idx: number, data: DynamicDataTableProps | undefined, themeVars: Record<string, any>): string;
|
|
10
|
+
/**
|
|
11
|
+
* Format a cell value based on the property's format configuration
|
|
12
|
+
* @param value - The raw value to format
|
|
13
|
+
* @param property - The property configuration including format settings
|
|
14
|
+
* @returns The formatted string representation of the value
|
|
15
|
+
*/
|
|
16
|
+
export declare function formatCellValue(value: any, property: DynamicDatatableProperty): string;
|
|
@@ -17,6 +17,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
17
17
|
};
|
|
18
18
|
usedInSectionId: CanvasRetrieve["id"];
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
embeddableContainer: HTMLDivElement;
|
|
20
21
|
embeddableIframe: HTMLIFrameElement;
|
|
21
22
|
}, any>;
|
|
22
23
|
export default _default;
|
|
@@ -307,14 +307,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
307
307
|
}>, {
|
|
308
308
|
validate: () => Promise<{
|
|
309
309
|
config: Record<string, any>;
|
|
310
|
-
success:
|
|
310
|
+
success: true;
|
|
311
311
|
errors?: undefined;
|
|
312
|
+
firstErrorFieldName?: undefined;
|
|
312
313
|
} | {
|
|
313
314
|
config: Record<string, any>;
|
|
314
315
|
errors: unknown;
|
|
315
|
-
|
|
316
|
+
firstErrorFieldName: string | undefined;
|
|
317
|
+
success: false;
|
|
316
318
|
}>;
|
|
317
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
319
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
318
320
|
change: (config: Record<string, any>) => any;
|
|
319
321
|
}, import('vue').PublicProps, {
|
|
320
322
|
loading: boolean;
|
|
@@ -629,12 +631,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
629
631
|
}>, {
|
|
630
632
|
validate: () => Promise<{
|
|
631
633
|
config: Record<string, any>;
|
|
632
|
-
success:
|
|
634
|
+
success: true;
|
|
633
635
|
errors?: undefined;
|
|
636
|
+
firstErrorFieldName?: undefined;
|
|
634
637
|
} | {
|
|
635
638
|
config: Record<string, any>;
|
|
636
639
|
errors: unknown;
|
|
637
|
-
|
|
640
|
+
firstErrorFieldName: string | undefined;
|
|
641
|
+
success: false;
|
|
638
642
|
}>;
|
|
639
643
|
}, {}, {}, {}, {
|
|
640
644
|
loading: boolean;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue: string;
|
|
4
|
+
themeOverrides?: {
|
|
5
|
+
active: StyleValue;
|
|
6
|
+
default: StyleValue;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
startLoading: () => any;
|
|
12
|
+
endLoading: () => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
+
onStartLoading?: (() => any) | undefined;
|
|
16
|
+
onEndLoading?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
themeOverrides: {
|
|
19
|
+
active: StyleValue;
|
|
20
|
+
default: StyleValue;
|
|
21
|
+
};
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HtmlProps, ComponentNode } from '../../../types/canvas';
|
|
1
|
+
import { HtmlProps, ComponentNode, ComponentTypes } from '../../../types/canvas';
|
|
2
2
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
id: string;
|
|
@@ -7,6 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
8
8
|
visible?: ComponentNode['visible'];
|
|
9
9
|
tracking_id?: string;
|
|
10
|
+
parentType?: ComponentTypes;
|
|
10
11
|
};
|
|
11
12
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
13
|
when_used_in_section: {
|
|
@@ -14,5 +15,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
14
15
|
is_removable: boolean;
|
|
15
16
|
};
|
|
16
17
|
usedInSectionId: CanvasRetrieve["id"];
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
contentElement: HTMLDivElement;
|
|
20
|
+
}, any>;
|
|
18
21
|
export default _default;
|
|
@@ -16,6 +16,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
16
16
|
};
|
|
17
17
|
usedInSectionId: string;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
iframeContainer: HTMLDivElement;
|
|
19
20
|
iframe: HTMLIFrameElement;
|
|
20
21
|
}, any>;
|
|
21
22
|
export default _default;
|
|
@@ -15,14 +15,16 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
15
15
|
}>, {
|
|
16
16
|
validate: () => Promise<{
|
|
17
17
|
config: Record<string, any>;
|
|
18
|
-
success:
|
|
18
|
+
success: true;
|
|
19
19
|
errors?: undefined;
|
|
20
|
+
firstErrorFieldName?: undefined;
|
|
20
21
|
} | {
|
|
21
22
|
config: Record<string, any>;
|
|
22
23
|
errors: unknown;
|
|
23
|
-
|
|
24
|
+
firstErrorFieldName: string | undefined;
|
|
25
|
+
success: false;
|
|
24
26
|
}>;
|
|
25
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
28
|
change: (config: Record<string, any>) => any;
|
|
27
29
|
}, import('vue').PublicProps, {
|
|
28
30
|
loading: boolean;
|
|
@@ -337,12 +339,14 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
337
339
|
}>, {
|
|
338
340
|
validate: () => Promise<{
|
|
339
341
|
config: Record<string, any>;
|
|
340
|
-
success:
|
|
342
|
+
success: true;
|
|
341
343
|
errors?: undefined;
|
|
344
|
+
firstErrorFieldName?: undefined;
|
|
342
345
|
} | {
|
|
343
346
|
config: Record<string, any>;
|
|
344
347
|
errors: unknown;
|
|
345
|
-
|
|
348
|
+
firstErrorFieldName: string | undefined;
|
|
349
|
+
success: false;
|
|
346
350
|
}>;
|
|
347
351
|
}, {}, {}, {}, {
|
|
348
352
|
loading: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { ComponentNode, ScribbleProps } from '../../../types/canvas';
|
|
2
|
+
import { ComponentNode, ScribbleProps, ComponentNodeThemeMeta } from '../../../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
id: string;
|
|
@@ -10,6 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
visible?: ComponentNode['visible'];
|
|
11
11
|
tracking_id?: string;
|
|
12
12
|
style?: CSSProperties;
|
|
13
|
+
theme_meta?: ComponentNodeThemeMeta;
|
|
13
14
|
};
|
|
14
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
16
|
style: (s: CSSProperties, id?: string | undefined) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { ComponentNode, ScribbleProps } from '../../../types/canvas';
|
|
2
|
+
import { ComponentNode, ScribbleProps, ComponentNodeThemeMeta } from '../../../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
id: string;
|
|
@@ -10,6 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
visible?: ComponentNode['visible'];
|
|
11
11
|
tracking_id?: string;
|
|
12
12
|
style?: CSSProperties;
|
|
13
|
+
theme_meta?: ComponentNodeThemeMeta;
|
|
13
14
|
};
|
|
14
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
16
|
style: (s: CSSProperties, id?: string | undefined) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { ComponentNode, ScribbleProps } from '../../../types/canvas';
|
|
2
|
+
import { ComponentNode, ScribbleProps, ComponentNodeThemeMeta } from '../../../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
id: string;
|
|
@@ -10,6 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
visible?: ComponentNode['visible'];
|
|
11
11
|
tracking_id?: string;
|
|
12
12
|
style?: CSSProperties;
|
|
13
|
+
theme_meta?: ComponentNodeThemeMeta;
|
|
13
14
|
};
|
|
14
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
16
|
style: (s: CSSProperties, id?: string | undefined) => any;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
import { ComponentNode } from '../../../types/canvas';
|
|
1
2
|
export declare const ACTUAL_CANVAS_WIDTH: number;
|
|
2
3
|
export declare function calculateProportionalDimensions(originalWidth: number, originalHeight: number, targetWidth?: number): {
|
|
3
4
|
width: number;
|
|
4
5
|
height: number;
|
|
5
6
|
};
|
|
7
|
+
export declare function getComponentPositionStyle(component: ComponentNode): {
|
|
8
|
+
position: any;
|
|
9
|
+
left: any;
|
|
10
|
+
top: any;
|
|
11
|
+
width: any;
|
|
12
|
+
height: any;
|
|
13
|
+
zIndex: any;
|
|
14
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
2
|
+
export type Emit = {
|
|
3
|
+
close: [save?: boolean];
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
zIndex?: number;
|
|
7
|
+
attachTo?: string | HTMLElement;
|
|
8
|
+
section: CanvasRetrieve['sections'][number];
|
|
9
|
+
index: number;
|
|
10
|
+
saveCanvas: () => Promise<void>;
|
|
11
|
+
};
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {
|
|
16
|
+
index: number;
|
|
17
|
+
section: import('../../../../../../types/openapi').CanvasSection;
|
|
18
|
+
}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {
|
|
21
|
+
rootRef: HTMLElement;
|
|
22
|
+
};
|
|
23
|
+
rootEl: any;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
close: (save?: boolean | undefined) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
+
onClose?: ((save?: boolean | undefined) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
rootRef: HTMLElement;
|
|
32
|
+
}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -9,6 +9,7 @@ type __VLS_Props = {
|
|
|
9
9
|
style?: CSSProperties;
|
|
10
10
|
shouldEditWithApp?: boolean;
|
|
11
11
|
hasSectionSelectorApp?: boolean;
|
|
12
|
+
printModeIdx?: number;
|
|
12
13
|
};
|
|
13
14
|
declare function onSectionSelectorToggle(): void;
|
|
14
15
|
declare function onSectionsSelect(items: {
|
|
@@ -23,5 +24,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
23
24
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
25
|
onJustAdded?: ((id: string) => any) | undefined;
|
|
25
26
|
onBrowseWithAppClicked?: (() => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
28
|
+
sectionListRef: HTMLDivElement;
|
|
29
|
+
}, any>;
|
|
27
30
|
export default _default;
|
|
@@ -7,6 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
visible?: ComponentNode['visible'];
|
|
8
8
|
allow_admins_to_overwrite?: boolean;
|
|
9
9
|
style?: CSSProperties;
|
|
10
|
+
printModeIdx?: number;
|
|
10
11
|
};
|
|
11
12
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
13
|
style: (s: CSSProperties) => any;
|
|
@@ -21,6 +22,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
21
22
|
style?: CSSProperties;
|
|
22
23
|
shouldEditWithApp?: boolean;
|
|
23
24
|
hasSectionSelectorApp?: boolean;
|
|
25
|
+
printModeIdx?: number;
|
|
24
26
|
}> & Readonly<{
|
|
25
27
|
onJustAdded?: ((id: string) => any) | undefined;
|
|
26
28
|
onBrowseWithAppClicked?: (() => any) | undefined;
|
|
@@ -32,7 +34,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
32
34
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
35
|
justAdded: (id: string) => any;
|
|
34
36
|
browseWithAppClicked: () => any;
|
|
35
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
37
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
38
|
+
sectionListRef: HTMLDivElement;
|
|
39
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
36
40
|
P: {};
|
|
37
41
|
B: {};
|
|
38
42
|
D: {};
|
|
@@ -47,6 +51,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
47
51
|
style?: CSSProperties;
|
|
48
52
|
shouldEditWithApp?: boolean;
|
|
49
53
|
hasSectionSelectorApp?: boolean;
|
|
54
|
+
printModeIdx?: number;
|
|
50
55
|
}> & Readonly<{
|
|
51
56
|
onJustAdded?: ((id: string) => any) | undefined;
|
|
52
57
|
onBrowseWithAppClicked?: (() => any) | undefined;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
name?: string;
|
|
4
|
+
style?: Record<string, any>;
|
|
5
|
+
sections: Array<{
|
|
6
|
+
section: CanvasRetrieve['sections'][number];
|
|
7
|
+
index: number;
|
|
8
|
+
}>;
|
|
9
|
+
hasSectionSelectorApp?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"open-section": (section: import('../../../../../../types/openapi').CanvasSection, index: number) => any;
|
|
13
|
+
"select-sections": () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onOpen-section"?: ((section: import('../../../../../../types/openapi').CanvasSection, index: number) => any) | undefined;
|
|
16
|
+
"onSelect-sections"?: (() => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
2
|
+
import { CSSProperties } from 'vue';
|
|
3
|
+
import { ComponentNode } from '../../../types/canvas.ts';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
section: CanvasRetrieve['sections'][number];
|
|
6
|
+
index: number;
|
|
7
|
+
id: string;
|
|
8
|
+
sectionContentById: Record<string, {
|
|
9
|
+
content: CanvasRetrieve['content'];
|
|
10
|
+
}>;
|
|
11
|
+
getSectionThemeStyle: (section: CanvasRetrieve['sections'][number] & {
|
|
12
|
+
theme?: CanvasRetrieve['theme'];
|
|
13
|
+
}, style?: CSSProperties) => Record<string, string>;
|
|
14
|
+
getComponentStyle: (c: ComponentNode, section: CanvasRetrieve['sections'][number], cIdx?: number, sectionContent?: ComponentNode[]) => {
|
|
15
|
+
marginBottom?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
marginBottom: any;
|
|
18
|
+
};
|
|
19
|
+
componentMap: Record<string, any>;
|
|
20
|
+
getComponentBindings: (c: ComponentNode) => ComponentNode;
|
|
21
|
+
onElementVisibility: (isVisible: boolean, c: ComponentNode) => void;
|
|
22
|
+
isSectionLoaded: (section: CanvasRetrieve['sections'][number], sectionIdx?: number) => boolean;
|
|
23
|
+
onSectionVisibility: (isVisible: boolean, section: CanvasRetrieve['sections'][number], sectionIdx?: number) => void;
|
|
24
|
+
style?: CSSProperties;
|
|
25
|
+
};
|
|
26
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
autofocus?: boolean;
|
|
3
|
+
search?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:search": (term: string) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
9
|
+
"onUpdate:search"?: ((term: string) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -13,27 +13,27 @@ type __VLS_Props = {
|
|
|
13
13
|
selectedItemIds?: CanvasRetrieve['id'][];
|
|
14
14
|
};
|
|
15
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
"clear-selection": () => any;
|
|
17
|
+
"items-added": (itemIds: string[], position?: "bottom" | "top" | undefined) => any;
|
|
18
|
+
"items-removed": (itemIds: string[]) => any;
|
|
16
19
|
"toggle-select-all": () => any;
|
|
17
20
|
"page-first": () => any;
|
|
18
21
|
"page-last": () => any;
|
|
19
22
|
"page-next": () => any;
|
|
20
23
|
"page-previous": () => any;
|
|
21
|
-
"clear-selection": () => any;
|
|
22
|
-
"items-added": (itemIds: string[], position?: "bottom" | "top" | undefined) => any;
|
|
23
|
-
"items-removed": (itemIds: string[]) => any;
|
|
24
24
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
"onClear-selection"?: (() => any) | undefined;
|
|
26
|
+
"onItems-added"?: ((itemIds: string[], position?: "bottom" | "top" | undefined) => any) | undefined;
|
|
27
|
+
"onItems-removed"?: ((itemIds: string[]) => any) | undefined;
|
|
25
28
|
"onToggle-select-all"?: (() => any) | undefined;
|
|
26
29
|
"onPage-first"?: (() => any) | undefined;
|
|
27
30
|
"onPage-last"?: (() => any) | undefined;
|
|
28
31
|
"onPage-next"?: (() => any) | undefined;
|
|
29
32
|
"onPage-previous"?: (() => any) | undefined;
|
|
30
|
-
"onClear-selection"?: (() => any) | undefined;
|
|
31
|
-
"onItems-added"?: ((itemIds: string[], position?: "bottom" | "top" | undefined) => any) | undefined;
|
|
32
|
-
"onItems-removed"?: ((itemIds: string[]) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
loading: boolean;
|
|
35
|
+
addedItemIds: CanvasRetrieve["id"][];
|
|
35
36
|
selectedItemIds: CanvasRetrieve["id"][];
|
|
36
37
|
disablePagination: boolean;
|
|
37
|
-
addedItemIds: CanvasRetrieve["id"][];
|
|
38
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
39
39
|
export default _default;
|
package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
1
2
|
import { SectionListProps } from '../../../types/canvas';
|
|
2
3
|
import { CanvasRetrieve, Canvas } from '../../../../../../types/openapi';
|
|
3
4
|
type __VLS_Props = {
|
|
@@ -17,6 +18,159 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
17
18
|
selectionStrategy: "app" | "single" | "free" | "at-least-one";
|
|
18
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
20
|
toolbarWrapper: HTMLDivElement;
|
|
21
|
+
smartFoldersRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
22
|
+
storageKey: string;
|
|
23
|
+
mode: "management" | "selector";
|
|
24
|
+
selectedSectionIds?: CanvasRetrieve["id"][];
|
|
25
|
+
addedSectionIds?: CanvasRetrieve["id"][];
|
|
26
|
+
}> & Readonly<{
|
|
27
|
+
"onClear-selection"?: (() => any) | undefined;
|
|
28
|
+
"onOpen-section"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
29
|
+
"onEdit-section"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
30
|
+
"onSection-select"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
31
|
+
"onSection-add"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
32
|
+
"onSection-remove"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
33
|
+
"onSections-bulk-add"?: ((sections: CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any) | undefined;
|
|
34
|
+
"onSections-bulk-remove"?: ((sections: CanvasRetrieve[]) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
showConfigurationModal: () => void;
|
|
37
|
+
addSelectedSections: (position?: "top" | "bottom") => void;
|
|
38
|
+
removeSelectedSections: () => void;
|
|
39
|
+
getSelectedSections: () => CanvasRetrieve[];
|
|
40
|
+
calculateContentHeight: () => void;
|
|
41
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
"clear-selection": () => any;
|
|
43
|
+
"open-section": (section: CanvasRetrieve) => any;
|
|
44
|
+
"edit-section": (section: CanvasRetrieve) => any;
|
|
45
|
+
"section-select": (section: CanvasRetrieve) => any;
|
|
46
|
+
"section-add": (section: CanvasRetrieve) => any;
|
|
47
|
+
"section-remove": (section: CanvasRetrieve) => any;
|
|
48
|
+
"sections-bulk-add": (sections: CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any;
|
|
49
|
+
"sections-bulk-remove": (sections: CanvasRetrieve[]) => any;
|
|
50
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
51
|
+
containerRef: HTMLDivElement;
|
|
52
|
+
toolbarRef: HTMLDivElement;
|
|
53
|
+
listRef: ({
|
|
54
|
+
$: import('vue').ComponentInternalInstance;
|
|
55
|
+
$data: {};
|
|
56
|
+
$props: {
|
|
57
|
+
readonly data: import('../../../../../components/CList/CList.vue').ListDataItem[];
|
|
58
|
+
readonly selectedIds?: (number | string)[] | undefined;
|
|
59
|
+
readonly maxRowHeight: number;
|
|
60
|
+
readonly height?: number | undefined;
|
|
61
|
+
readonly movable?: boolean | undefined;
|
|
62
|
+
readonly onMove?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
readonly "onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
65
|
+
$attrs: {
|
|
66
|
+
[x: string]: unknown;
|
|
67
|
+
};
|
|
68
|
+
$refs: {
|
|
69
|
+
[x: string]: unknown;
|
|
70
|
+
} & {
|
|
71
|
+
virtualizerContainerRef: HTMLDivElement;
|
|
72
|
+
};
|
|
73
|
+
$slots: Readonly<{
|
|
74
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
75
|
+
}>;
|
|
76
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
77
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
78
|
+
$host: Element | null;
|
|
79
|
+
$emit: ((event: "move", ...args: any[]) => void) & ((event: "item:click", ...args: any[]) => void);
|
|
80
|
+
$el: HTMLDivElement;
|
|
81
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
82
|
+
data: import('../../../../../components/CList/CList.vue').ListDataItem[];
|
|
83
|
+
selectedIds?: (number | string)[];
|
|
84
|
+
maxRowHeight: number;
|
|
85
|
+
height?: number;
|
|
86
|
+
movable?: boolean;
|
|
87
|
+
}> & Readonly<{
|
|
88
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
"onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
}>, {
|
|
91
|
+
updateContextMenuItem: (item: import('../../../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
|
|
92
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
93
|
+
move: (...args: any[]) => void;
|
|
94
|
+
"item:click": (...args: any[]) => void;
|
|
95
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
96
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
97
|
+
created?: (() => void) | (() => void)[];
|
|
98
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
99
|
+
mounted?: (() => void) | (() => void)[];
|
|
100
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
101
|
+
updated?: (() => void) | (() => void)[];
|
|
102
|
+
activated?: (() => void) | (() => void)[];
|
|
103
|
+
deactivated?: (() => void) | (() => void)[];
|
|
104
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
105
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
106
|
+
destroyed?: (() => void) | (() => void)[];
|
|
107
|
+
unmounted?: (() => void) | (() => void)[];
|
|
108
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
109
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
110
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
111
|
+
};
|
|
112
|
+
$forceUpdate: () => void;
|
|
113
|
+
$nextTick: typeof nextTick;
|
|
114
|
+
$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;
|
|
115
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
116
|
+
data: import('../../../../../components/CList/CList.vue').ListDataItem[];
|
|
117
|
+
selectedIds?: (number | string)[];
|
|
118
|
+
maxRowHeight: number;
|
|
119
|
+
height?: number;
|
|
120
|
+
movable?: boolean;
|
|
121
|
+
}> & Readonly<{
|
|
122
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
"onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
}>, "updateContextMenuItem"> & import('vue').ShallowUnwrapRef<{
|
|
125
|
+
updateContextMenuItem: (item: import('../../../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
|
|
126
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
127
|
+
$slots: {
|
|
128
|
+
item?(_: {
|
|
129
|
+
index: number;
|
|
130
|
+
isContextMenuOpen: boolean;
|
|
131
|
+
isDraggedOver: boolean;
|
|
132
|
+
isSelected: boolean;
|
|
133
|
+
item: {
|
|
134
|
+
[key: string]: any;
|
|
135
|
+
id: number | string;
|
|
136
|
+
};
|
|
137
|
+
}): any;
|
|
138
|
+
'item:context-menu'?(_: {
|
|
139
|
+
item: {
|
|
140
|
+
[key: string]: any;
|
|
141
|
+
id: number | string;
|
|
142
|
+
};
|
|
143
|
+
}): any;
|
|
144
|
+
};
|
|
145
|
+
}) | null;
|
|
146
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
147
|
+
P: {};
|
|
148
|
+
B: {};
|
|
149
|
+
D: {};
|
|
150
|
+
C: {};
|
|
151
|
+
M: {};
|
|
152
|
+
Defaults: {};
|
|
153
|
+
}, Readonly<{
|
|
154
|
+
storageKey: string;
|
|
155
|
+
mode: "management" | "selector";
|
|
156
|
+
selectedSectionIds?: CanvasRetrieve["id"][];
|
|
157
|
+
addedSectionIds?: CanvasRetrieve["id"][];
|
|
158
|
+
}> & Readonly<{
|
|
159
|
+
"onClear-selection"?: (() => any) | undefined;
|
|
160
|
+
"onOpen-section"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
161
|
+
"onEdit-section"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
162
|
+
"onSection-select"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
163
|
+
"onSection-add"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
164
|
+
"onSection-remove"?: ((section: CanvasRetrieve) => any) | undefined;
|
|
165
|
+
"onSections-bulk-add"?: ((sections: CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any) | undefined;
|
|
166
|
+
"onSections-bulk-remove"?: ((sections: CanvasRetrieve[]) => any) | undefined;
|
|
167
|
+
}>, {
|
|
168
|
+
showConfigurationModal: () => void;
|
|
169
|
+
addSelectedSections: (position?: "top" | "bottom") => void;
|
|
170
|
+
removeSelectedSections: () => void;
|
|
171
|
+
getSelectedSections: () => CanvasRetrieve[];
|
|
172
|
+
calculateContentHeight: () => void;
|
|
173
|
+
}, {}, {}, {}, {}> | null;
|
|
20
174
|
sectionSelectorSelectedRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
21
175
|
modelValue: Canvas[];
|
|
22
176
|
}> & Readonly<{
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MarkerArea } from '@markerjs/markerjs3';
|
|
2
|
+
import type * as Markerjs3 from '@markerjs/markerjs3';
|
|
3
|
+
export default function useAnnotation(): {
|
|
4
|
+
isVisibleMenu: import('vue').Ref<boolean, boolean>;
|
|
5
|
+
markerTools: import('vue').ComputedRef<{
|
|
6
|
+
[key: string]: {
|
|
7
|
+
marker: typeof Markerjs3.MarkerBase | "selection" | "eraseSelected" | "eraseAll" | null;
|
|
8
|
+
icon: string;
|
|
9
|
+
translationKey: string;
|
|
10
|
+
action?: () => void;
|
|
11
|
+
dividerBefore?: boolean;
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
activeToolIcon: import('vue').ComputedRef<string>;
|
|
15
|
+
activeTool: import('vue').Ref<string | typeof Markerjs3.MarkerBase | null, string | typeof Markerjs3.MarkerBase | null>;
|
|
16
|
+
isReady: import('vue').Ref<boolean, boolean>;
|
|
17
|
+
handleAnnotationSelect: (action: string) => void;
|
|
18
|
+
setActiveMarker: (marker: null | MarkerArea) => void;
|
|
19
|
+
activeMarker: import('vue').Ref<Markerjs3.MarkerArea | null, Markerjs3.MarkerArea | null>;
|
|
20
|
+
showMenu: (value: boolean) => boolean;
|
|
21
|
+
toggleMenu: () => boolean;
|
|
22
|
+
storage: Map<string, any>;
|
|
23
|
+
resetAnnotations: (notify?: boolean) => void;
|
|
24
|
+
triggerToolUpdate: () => void;
|
|
25
|
+
clearStorage: () => void;
|
|
26
|
+
applyShadowRootStyles: (shadowRoot: ShadowRoot) => void;
|
|
27
|
+
createNewImage: (width: number, height: number) => string;
|
|
28
|
+
isDrawingActive: import('vue').ComputedRef<boolean>;
|
|
29
|
+
};
|