@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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CustomDataTableHierarchyLevel, DynamicDatatableProperty } from '../../../types/canvas';
|
|
2
|
+
export interface ProcessedHierarchicalRow {
|
|
3
|
+
id: string;
|
|
4
|
+
level: number;
|
|
5
|
+
type: 'group' | 'data';
|
|
6
|
+
groupValue?: string;
|
|
7
|
+
data?: Record<string, any>;
|
|
8
|
+
children?: ProcessedHierarchicalRow[];
|
|
9
|
+
isExpanded?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface RowWithAncestors extends ProcessedHierarchicalRow {
|
|
12
|
+
ancestorGroups?: ProcessedHierarchicalRow[];
|
|
13
|
+
isInnermostGroup?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Process hierarchical data based on configured levels
|
|
17
|
+
*/
|
|
18
|
+
export declare function processHierarchicalData(sourceData: any, hierarchy: CustomDataTableHierarchyLevel[], columns?: DynamicDatatableProperty[], userSortConfig?: {
|
|
19
|
+
key: string;
|
|
20
|
+
direction: 'asc' | 'desc';
|
|
21
|
+
}): ProcessedHierarchicalRow[];
|
|
22
|
+
/**
|
|
23
|
+
* Flatten hierarchical structure for rendering
|
|
24
|
+
* @param rows - The hierarchical rows to flatten
|
|
25
|
+
* @param includeCollapsed - Whether to include collapsed rows
|
|
26
|
+
* @param forceExpandAll - Force all groups to be expanded (useful for print mode)
|
|
27
|
+
*/
|
|
28
|
+
export declare function flattenForRendering(rows: ProcessedHierarchicalRow[], includeCollapsed?: boolean, forceExpandAll?: boolean): RowWithAncestors[];
|
|
29
|
+
/**
|
|
30
|
+
* Toggle expand/collapse state of a group row
|
|
31
|
+
*/
|
|
32
|
+
export declare function toggleRowExpansion(rows: ProcessedHierarchicalRow[], rowId: string): ProcessedHierarchicalRow[];
|
|
@@ -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;
|
package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.grouped.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColumnSort } from '@tanstack/table-core';
|
|
2
|
-
import { DynamicDataTableProps } from '../../../types/canvas';
|
|
2
|
+
import { ComponentNode, DynamicDataTableProps } from '../../../types/canvas';
|
|
3
3
|
import { CanvasMetadataRetrieve } from '../../../../../types/canvases';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
data: DynamicDataTableProps;
|
|
@@ -9,6 +9,8 @@ type __VLS_Props = {
|
|
|
9
9
|
canvasMetadata?: CanvasMetadataRetrieve['config'];
|
|
10
10
|
componentId: string;
|
|
11
11
|
breakGroupsOnNewPage?: boolean;
|
|
12
|
+
parentType?: ComponentNode['type'];
|
|
13
|
+
style?: Record<string, any>;
|
|
12
14
|
};
|
|
13
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
16
|
sortChanged: (s: ColumnSort | null) => any;
|
package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.simple.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColumnSort } from '@tanstack/table-core';
|
|
2
|
-
import { DynamicDataTableProps } from '../../../types/canvas';
|
|
2
|
+
import { ComponentNode, DynamicDataTableProps } from '../../../types/canvas';
|
|
3
3
|
interface Column {
|
|
4
4
|
id: string;
|
|
5
5
|
header: string;
|
|
@@ -17,6 +17,8 @@ type __VLS_Props = {
|
|
|
17
17
|
hidePagination?: boolean;
|
|
18
18
|
hideTotalResults?: boolean;
|
|
19
19
|
pageSize?: number;
|
|
20
|
+
parentType?: ComponentNode['type'];
|
|
21
|
+
style?: Record<string, any>;
|
|
20
22
|
loading?: boolean;
|
|
21
23
|
};
|
|
22
24
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.vue.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import { CanvasMetadataRetrieve } from '../../../../../types/canvases';
|
|
|
4
4
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
data?: DynamicDataTableProps;
|
|
7
|
+
parentType?: ComponentNode['type'];
|
|
8
|
+
selected?: boolean;
|
|
7
9
|
style?: Record<string, any>;
|
|
8
10
|
theme_meta?: ComponentNode['theme_meta'];
|
|
9
11
|
id?: string;
|
|
@@ -11,8 +13,10 @@ type __VLS_Props = {
|
|
|
11
13
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
12
14
|
};
|
|
13
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
style: (s: Record<string, any>) => any;
|
|
14
17
|
sortChanged: (s: ColumnSort | null) => any;
|
|
15
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onStyle?: ((s: Record<string, any>) => any) | undefined;
|
|
16
20
|
onSortChanged?: ((s: ColumnSort | null) => any) | undefined;
|
|
17
21
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
22
|
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;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { ComponentNode, DynamicDataTableProps } from '../../../types/canvas';
|
|
1
|
+
import { ComponentTypes, ComponentNode, DynamicDataTableProps } from '../../../types/canvas';
|
|
2
2
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
id: string;
|
|
5
5
|
data: DynamicDataTableProps;
|
|
6
6
|
children?: ComponentNode[];
|
|
7
|
+
parentType?: ComponentTypes;
|
|
7
8
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
8
9
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
9
10
|
visible?: ComponentNode['visible'];
|
|
@@ -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;
|