@pitcher/js-api 1.24.0-beta.3 → 1.25.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/impact-js-api.spec.json +212 -0
- package/js-api.esm.js +2431 -2360
- 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/AgendaGroup.vue.d.ts +4 -4
- package/lib/apps/agenda-selector/components/AgendaItem.vue.d.ts +6 -11
- package/lib/apps/agenda-selector/components/AgendaToolbar.vue.d.ts +1 -1
- package/lib/apps/agenda-selector/components/AppFooter.vue.d.ts +1 -1
- package/lib/apps/agenda-selector/components/AppHeader.vue.d.ts +1 -1
- package/lib/apps/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +1036 -5
- package/lib/apps/agenda-selector/components/modals/MoveItemModal.vue.d.ts +4 -6
- package/lib/apps/agenda-selector/composables/application-block-selector-modal.use.d.ts +1 -1
- package/lib/apps/agenda-selector/composables/content-warning.use.d.ts +7 -0
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +10 -2
- package/lib/apps/agenda-selector/constants.d.ts +10 -0
- package/lib/apps/agenda-selector/export.d.ts +2 -0
- package/lib/apps/agenda-selector/stores/app.store.d.ts +7 -3
- package/lib/apps/agenda-selector/types/agenda.type.d.ts +4 -5
- package/lib/apps/agenda-selector/types/common.type.d.ts +6 -2
- package/lib/apps/agenda-selector/utils/data.util.d.ts +7 -1
- package/lib/apps/browser/App.vue.d.ts +18 -155
- package/lib/apps/browser/appTypes.d.ts +22 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +174 -1
- package/lib/apps/browser/components/Content/ActionsToolbar/SelectionActions.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/AllContent/Empty/FoldersFilesEmpty.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Common/BrowserListItem.vue.d.ts +15 -22
- package/lib/apps/browser/components/Content/Common/SmartFolderListItem.vue.d.ts +37 -0
- package/lib/apps/browser/components/Content/Content.vue.d.ts +4 -3
- package/lib/apps/browser/components/Content/Panel/FolderPanel/BasicInfo.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/FolderPanel/Details.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/FolderPanel/FolderPanel.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/ItemsPanel/ItemsPanel.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/NoItemPanel/NoItemPanel.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/Panel.vue.d.ts +8 -8
- package/lib/apps/browser/components/Content/Panel/QuickAccessPanelItem.vue.d.ts +7 -6
- package/lib/apps/browser/components/ContextMenu/ContextMenuDropdown.vue.d.ts +4 -0
- package/lib/apps/browser/components/ContextMenu/FavoriteButton.vue.d.ts +3 -4
- package/lib/apps/browser/components/ContextMenu/FileDetailsPanelButton.vue.d.ts +3 -4
- package/lib/{components/CFileViewer/CFileViewerShare.vue.d.ts → apps/browser/components/FileSmartFoldersConfigurationModal.vue.d.ts} +2 -4
- package/lib/apps/browser/components/FileSmartFoldersMissingConfig.vue.d.ts +6 -0
- package/lib/apps/browser/components/FileSmartFoldersToolbar.vue.d.ts +12 -0
- package/lib/apps/browser/components/UploadFilesDropzone/UploadFilesDropzone.vue.d.ts +5 -4
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +372 -1
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalButtons.vue.d.ts +5 -6
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalFileList.vue.d.ts +4 -5
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalInput.vue.d.ts +3 -1
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalProperties.vue.d.ts +4 -5
- package/lib/apps/browser/stores/api.d.ts +50 -18
- package/lib/apps/browser/stores/app.d.ts +11 -3
- package/lib/apps/browser/stores/fileSmartFolderStore.d.ts +95 -0
- package/lib/apps/browser/stores/upload.d.ts +24 -12
- package/lib/apps/browser/util/file.d.ts +1 -0
- package/lib/apps/canvas-builder/App.helpers.d.ts +6 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +75 -32
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +1037 -4
- package/lib/apps/canvas-builder/components/container/AiPrompt/AiPromptModal.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/container/CanvasCompletionWizard/CanvasCompletionWizard.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +467 -1
- package/lib/apps/canvas-builder/components/container/ComponentDrawer/ComponentDrawer.vue.d.ts +2 -1
- package/lib/apps/{browser/components/BatchMoveItemsModal/BatchMoveItemsModal.vue.d.ts → canvas-builder/components/container/ComponentDrawerSettings/CanvasHomeSettings.vue.d.ts} +1 -1
- package/lib/apps/canvas-builder/components/container/ComponentEdit/ComponentEdit.vue.d.ts +3 -1
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +3 -4
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBarReorder.vue.d.ts +4 -5
- package/lib/apps/canvas-builder/components/container/ControlBar/ReorderButton.vue.d.ts +3 -4
- package/lib/apps/canvas-builder/components/container/ControlBar/ReorderTitle.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +23 -51
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +36 -44
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +30 -53
- package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +5 -8
- package/lib/apps/canvas-builder/components/container/LinkableComponent/LinkableComponent.vue.d.ts +31 -0
- package/lib/apps/canvas-builder/components/container/Navbar/Navbar.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/NavigationWrapper/NavigationWrapper.vue.d.ts +3 -2
- package/lib/apps/canvas-builder/components/container/Navigator/NavigatorPresentation.vue.d.ts +9 -10
- package/lib/apps/canvas-builder/components/container/PlaceholderComponent/PlaceholderComponent.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Block/Block.vue.d.ts +4 -7
- package/lib/apps/canvas-builder/components/ui/Block/BlockToolbar.vue.d.ts +5 -6
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.edit.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.raw.vue.d.ts +3 -5
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.settings.vue.d.ts +296 -9
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.vue.d.ts +8 -15
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +61 -16
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayerEmpty.vue.d.ts +5 -6
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.edit.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.raw.vue.d.ts +7 -6
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.vue.d.ts +7 -14
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridCarousel.vue.d.ts +323 -4
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridDeletedFileItem.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridFileItem.vue.d.ts +4 -6
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridItem.vue.d.ts +7 -9
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridToolbar.vue.d.ts +5 -9
- package/lib/apps/canvas-builder/components/ui/DataCharts/DataCharts.edit.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/DataCharts.raw.vue.d.ts +16 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/DataCharts.settings.vue.d.ts +7 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/DataCharts.vue.d.ts +26 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/types.d.ts +57 -0
- package/lib/apps/{browser/components/Content/AllContent/Table/FoldersFilesTable.vue.d.ts → canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.edit.vue.d.ts} +1 -1
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.grouped.vue.d.ts +17 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.header.vue.d.ts +19 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.simple.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.settings.vue.d.ts +8 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.vue.d.ts +26 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.edit.vue.d.ts +3 -4
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +9 -11
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +641 -6
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.vue.d.ts +7 -13
- package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +13 -19
- package/lib/apps/canvas-builder/components/ui/Grid/GridItemTooltip.vue.d.ts +3 -4
- package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +6 -12
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.edit.vue.d.ts +3 -4
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +8 -10
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.settings.vue.d.ts +294 -6
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.vue.d.ts +8 -15
- package/lib/apps/canvas-builder/components/ui/Link/Link.edit.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Link/Link.raw.vue.d.ts +5 -6
- package/lib/apps/canvas-builder/components/ui/Link/Link.settings.vue.d.ts +293 -5
- package/lib/apps/canvas-builder/components/ui/Link/Link.vue.d.ts +8 -13
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.edit.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.raw.vue.d.ts +14 -10
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.settings.vue.d.ts +295 -8
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.vue.d.ts +10 -16
- package/lib/apps/canvas-builder/components/ui/Page/Page.settings.vue.d.ts +293 -5
- package/lib/apps/canvas-builder/components/ui/Page/Page.vue.d.ts +12 -18
- package/lib/apps/canvas-builder/components/ui/PageBreak/PageBreak.vue.d.ts +5 -9
- package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +350 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +13 -16
- package/lib/apps/canvas-builder/components/ui/SectionList/Execution/SectionListExecution.vue.d.ts +5 -5
- package/lib/apps/canvas-builder/components/ui/SectionList/RestrictedSectionSelector.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +18 -11
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +50 -13
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCollapsibles.vue.d.ts +13 -12
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListStrategySelector.vue.d.ts +21 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionRecommendationTile.vue.d.ts +5 -7
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.helpers.d.ts +0 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.vue.d.ts +12 -8
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorItem.vue.d.ts +12 -21
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorSelected.vue.d.ts +5 -6
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +7 -18
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +42 -9
- package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.raw.vue.d.ts +3 -4
- package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.vue.d.ts +7 -13
- package/lib/apps/canvas-builder/composables/useAiPrompt.d.ts +6 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +353 -119
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +68 -36
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +56 -24
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +616 -20
- package/lib/apps/canvas-builder/composables/useComponentPermissions.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useComponentStyle.d.ts +34 -7
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +10 -1
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +9 -0
- package/lib/apps/canvas-builder/constants/theme.const.d.ts +4 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +125 -54
- package/lib/apps/canvas-builder/util/print.util.d.ts +1 -0
- package/lib/apps/canvas-selector/appTypes.d.ts +2 -0
- package/lib/apps/canvas-selector/components/CanvasListItem.vue.d.ts +4 -14
- package/lib/apps/canvas-selector/components/CanvasTemplates.vue.d.ts +3 -1
- package/lib/apps/canvas-selector/components/Navbar.vue.d.ts +1 -1
- package/lib/apps/canvas-selector/components/PersonalCanvases.vue.d.ts +3 -1
- package/lib/apps/canvas-selector/components/SectionTemplates.vue.d.ts +3 -1
- package/lib/apps/canvas-selector/components/Sections.vue.d.ts +3 -1
- package/lib/apps/canvas-selector/stores/app.d.ts +70 -98
- package/lib/apps/collection-player/App.vue.d.ts +9 -14
- package/lib/apps/collection-player/components/AppFooter.vue.d.ts +1 -1
- package/lib/apps/collection-player/components/AppHeader.vue.d.ts +1 -1
- package/lib/apps/collection-player/components/AppWrapper.vue.d.ts +2 -1
- package/lib/apps/collection-player/components/MainContent.vue.d.ts +4 -1
- package/lib/apps/collection-player/components/MainImage.vue.d.ts +3 -7
- package/lib/apps/collection-player/components/SlideContent.vue.d.ts +8 -0
- package/lib/apps/collection-player/components/TableOfContents.vue.d.ts +1 -1
- package/lib/apps/collection-player/composables/fullscreen.use.d.ts +2 -6
- package/lib/apps/collection-player/composables/image-cache.use.d.ts +1 -0
- package/lib/apps/collection-player/composables/keyboard-bindings.use.d.ts +6 -0
- package/lib/apps/collection-player/composables/moving-group-gestures.use.d.ts +5 -5
- package/lib/apps/collection-player/composables/navigation-cache.use.d.ts +10 -0
- package/lib/apps/collection-player/export.d.ts +1 -0
- package/lib/apps/collection-player/stores/app.store.d.ts +9 -4
- package/lib/apps/collection-player/types/collection-player.type.d.ts +2 -0
- package/lib/apps/collection-selector/components/AppFooter.vue.d.ts +1 -1
- package/lib/apps/collection-selector/components/AppHeader.vue.d.ts +6 -3
- package/lib/apps/collection-selector/components/CollectionGroup.vue.d.ts +4 -4
- package/lib/apps/collection-selector/components/CollectionItem.vue.d.ts +5 -9
- package/lib/apps/collection-selector/components/CollectionToolbar.vue.d.ts +4 -1
- package/lib/apps/collection-selector/components/modals/MoveSlideModal.vue.d.ts +4 -6
- package/lib/apps/collection-selector/composables/content-warning.use.d.ts +6 -0
- package/lib/apps/collection-selector/composables/move-slide-modal.use.d.ts +4 -0
- package/lib/apps/collection-selector/constants.d.ts +5 -0
- package/lib/apps/collection-selector/export.d.ts +2 -0
- package/lib/apps/collection-selector/stores/app.store.d.ts +18 -122
- package/lib/apps/collection-selector/types/collection-selector.type.d.ts +10 -0
- package/lib/apps/collection-selector/types/common.type.d.ts +5 -4
- package/lib/apps/collection-selector/utils/data.util.d.ts +1 -1
- package/lib/apps/content-selector/App.vue.d.ts +3 -1
- package/lib/apps/content-selector/appTypes.d.ts +5 -1
- package/lib/apps/content-selector/components/AiImages.vue.d.ts +2 -0
- package/lib/apps/content-selector/components/Assets/AssetUploader.vue.d.ts +3 -1
- package/lib/apps/content-selector/components/Assets.vue.d.ts +1 -1
- package/lib/apps/content-selector/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +1 -1
- package/lib/apps/content-selector/components/Content/AllContent/Grid/FoldersFilesGrid.vue.d.ts +1 -1
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +176 -1
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +9 -18
- package/lib/apps/content-selector/components/Content/SelectionPanel/SelectionPanel.vue.d.ts +1 -1
- package/lib/apps/content-selector/components/Content.vue.d.ts +1 -1
- package/lib/apps/content-selector/components/PexelsImages.vue.d.ts +12 -0
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +10 -27
- package/lib/apps/content-selector/components/ui/MediaPreview.vue.d.ts +1 -1
- package/lib/apps/content-selector/stores/api.d.ts +13 -12
- package/lib/apps/content-selector/stores/app.d.ts +18 -2
- package/lib/apps/content-selector/util/file.d.ts +8 -0
- package/lib/apps/notes/NotesApp.vue.d.ts +7 -11
- package/lib/apps/ppt-conversion-selector/App.vue.d.ts +25 -0
- package/lib/apps/ppt-conversion-selector/components/AppFooter.vue.d.ts +11 -0
- package/lib/apps/ppt-conversion-selector/components/AppHeader.vue.d.ts +6 -0
- package/lib/apps/ppt-conversion-selector/components/CollectionGroup.vue.d.ts +6 -0
- package/lib/apps/ppt-conversion-selector/components/CollectionItem.vue.d.ts +17 -0
- package/lib/apps/ppt-conversion-selector/components/CollectionToolbar.vue.d.ts +2 -0
- package/lib/apps/ppt-conversion-selector/components/modals/MoveSlideModal.vue.d.ts +14 -0
- package/lib/apps/ppt-conversion-selector/composables/canvas.use.d.ts +34 -0
- package/lib/apps/ppt-conversion-selector/composables/move-slide-modal.use.d.ts +70 -0
- package/lib/apps/ppt-conversion-selector/composables/table-input.use.d.ts +15 -0
- package/lib/apps/ppt-conversion-selector/constants.d.ts +5 -0
- package/lib/apps/ppt-conversion-selector/export.d.ts +1 -0
- package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +148 -0
- package/lib/apps/ppt-conversion-selector/types/model.type.d.ts +11 -0
- package/lib/apps/ppt-conversion-selector/types/move-slide-modal.type.d.ts +5 -0
- package/lib/apps/ppt-conversion-selector/utils/content-selector-adapter.util.d.ts +1 -0
- package/lib/apps/ppt-conversion-selector/utils/data.util.d.ts +19 -0
- package/lib/apps/ppt-conversion-selector/utils/theme-overrides.util.d.ts +8 -0
- package/lib/components/CAnimationSelector/CAnimationSelector.vue.d.ts +7 -6
- package/lib/components/CApexChart/CApexChartLine.vue.d.ts +3 -7
- package/lib/components/CAttributesForm/CAttributesForm.vue.d.ts +17 -0
- package/lib/components/CAutoComplete/CAutoComplete.vue.d.ts +3 -2
- package/lib/components/CAvatar/CAvatar.vue.d.ts +3 -2
- package/lib/components/CBackgroundImageThemeOptions/CBackgroundImageThemeOptions.vue.d.ts +9 -19
- package/lib/components/CBatchMoveItemsModal/CBatchMoveItemsModal.vue.d.ts +31 -0
- package/lib/components/CBorderRadiusInput/CBorderRadiusInput.vue.d.ts +19 -0
- package/lib/components/CBulkDeleteErrors/CBulkDeleteErrors.vue.d.ts +3 -7
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +21 -33
- package/lib/components/CButton/CButton.vue.d.ts +2 -1
- package/lib/components/CCanvasModal/CCanvasModal.vue.d.ts +2 -1
- package/lib/components/CCanvasSelector/CCanvasSelector.vue.d.ts +5 -12
- package/lib/components/CCanvasSelector/CCanvasSelectorListItem.vue.d.ts +5 -8
- package/lib/components/CCard/CCard.vue.d.ts +3 -2
- package/lib/components/CCarousel/CCarousel.vue.d.ts +326 -9
- package/lib/components/CCatalogIqSwitcher/CCatalogIqSwitcherContent.vue.d.ts +1 -1
- package/lib/components/CCheckbox/CCheckbox.vue.d.ts +9 -1
- package/lib/components/CChip/CChip.vue.d.ts +12 -16
- package/lib/components/CCollapse/CCollapse.vue.d.ts +3 -2
- package/lib/components/CCollapse/CCollapseItem.vue.d.ts +3 -2
- package/lib/components/CCollapseTransition/CCollapseTransition.vue.d.ts +2 -1
- package/lib/components/CColorPicker/CColorPicker.vue.d.ts +3 -2
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +4 -2
- package/lib/components/CComponentThemeOptions/CComponentThemeOptions.vue.d.ts +17 -22
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +300 -17
- package/lib/components/CConfirmation/CConfirmationAction.vue.d.ts +1 -1
- package/lib/components/CConfirmation/CConfirmationContent.vue.d.ts +3 -2
- package/lib/components/CConfirmation/CConfirmationHeader.vue.d.ts +3 -2
- package/lib/components/CConfirmationModal/CConfirmationModal.vue.d.ts +2 -1
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +4 -15
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +5 -22
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +23 -25
- package/lib/components/CContactSelector/CContactSelectorColleagues.vue.d.ts +4 -10
- package/lib/components/CContactSelector/CContactSelectorSelected.vue.d.ts +14 -23
- package/lib/components/CCreateCanvasModal/CCreateCanvasModalTemplatesSelectOption.vue.d.ts +5 -13
- package/lib/components/CCreateTemplateSectionBlockModal/CCreateTemplateSectionBlockModal.vue.d.ts +290 -1
- package/lib/components/CCreateThemeModal/CCreateThemeModal.vue.d.ts +19 -0
- package/lib/components/CCreateThemeModal/steps/CThemeColorsStep.vue.d.ts +10 -0
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +319 -0
- package/lib/components/CCreateThemeModal/steps/CThemeTypographyStep.vue.d.ts +13 -0
- package/lib/components/CDataTable/CDataTable.vue.d.ts +7834 -1
- package/lib/components/CDetailPageSectionButtons/CDetailPageSectionButtons.vue.d.ts +1 -1
- package/lib/components/CDivider/CDivider.vue.d.ts +10 -2
- package/lib/components/CDrawer/CDrawer.vue.d.ts +9 -1
- package/lib/components/CDrawerContent/CDrawerContent.vue.d.ts +9 -1
- package/lib/components/CDropdown/CDropdown.vue.d.ts +3 -2
- package/lib/components/CDynamicIndicator/CDynamicIndicator.vue.d.ts +3 -8
- package/lib/components/CEmpty/CEmpty.vue.d.ts +3 -2
- package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +52 -4
- package/lib/components/CError/CErrorFullScreen.vue.d.ts +13 -21
- package/lib/components/CFeedback/CFeedback.vue.d.ts +9 -10
- package/lib/components/CFileAttributes/CFileAttributes.vue.d.ts +4 -10
- package/lib/components/CFilePanel/BasicInfo.vue.d.ts +1 -1
- package/lib/components/CFilePanel/CFilePanel.vue.d.ts +4 -7
- package/lib/components/CFilePanel/Details.vue.d.ts +1 -1
- package/lib/components/CFilePanel/Tags.vue.d.ts +1 -1
- package/lib/components/CFileThumbnail/CFileThumbnail.vue.d.ts +4 -9
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +214 -58
- package/lib/components/CFileViewer/CFileViewerCloseDialogContent.vue.d.ts +5 -6
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -0
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +350 -1
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawerSelectPage.vue.d.ts +3 -8
- package/lib/components/CFileViewer/pdf/CFileViewerSearchResultsSidebar.pdf.vue.d.ts +1 -1
- package/lib/components/CFileViewer/pdf/CLinkAnnotationsPopover.pdf.vue.d.ts +10 -12
- package/lib/components/CFilesAccessInfo/CFilesAccessInfo.vue.d.ts +2 -1
- package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +2 -2
- package/lib/components/CFilesFolderDeleteDialogContent/CFilesFolderDeleteDialogContent.vue.d.ts +3 -5
- package/lib/components/CFontSelect/CFontSelect.vue.d.ts +11 -14
- package/lib/components/CFullScreenLoader/CFullScreenLoader.vue.d.ts +4 -7
- package/lib/components/CGlobalLoader/CGlobalLoader.vue.d.ts +4 -1
- package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +48 -1
- package/lib/components/CGlobalSearch/CGlobalSearchShortcuts.vue.d.ts +1 -1
- package/lib/components/CGlobalSearch/CResult.vue.d.ts +1 -1
- package/lib/components/CGlobalSearch/CResultSection.vue.d.ts +3 -2
- package/lib/components/CGroupsAccessInfo/CGroupsAccessInfo.vue.d.ts +2 -1
- package/lib/components/CHeightInput/CHeightInput.vue.d.ts +10 -0
- package/lib/components/CHelpText/CHelpText.vue.d.ts +2 -1
- package/lib/components/CIcon/CIcon.vue.d.ts +2 -0
- package/lib/components/CImage/CBrokenImage.vue.d.ts +6 -6
- package/lib/components/CImage/CImage.vue.d.ts +300 -7
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +5 -13
- package/lib/components/CInput/CInput.vue.d.ts +1034 -1
- package/lib/components/CInputPlaceholder/CInputPlaceholder.vue.d.ts +7 -7
- package/lib/components/CJsonEditor/CJsonEditor.vue.d.ts +4 -6
- package/lib/components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue.d.ts +3 -1
- package/lib/components/CLabelWithHelpText/CLabelWithHelpText.vue.d.ts +6 -6
- package/lib/components/CList/CList.vue.d.ts +15 -17
- package/lib/components/CList/CListItem.vue.d.ts +6 -5
- package/lib/components/CMetaDataBadge/CMetaDataBadge.vue.d.ts +9 -0
- package/lib/components/CModal/CModal.vue.d.ts +3 -2
- package/lib/components/CMovableWidget/CMovableWidget.vue.d.ts +10 -9
- package/lib/components/CMultiSelect/CMultiSelect.vue.d.ts +4 -7
- package/lib/components/COverflowWrapper/COverflowWrapper.vue.d.ts +22 -0
- package/lib/components/CPaddingInput/CPaddingInput.vue.d.ts +5 -7
- package/lib/components/CPaginationButtons/CPaginationButtons.vue.d.ts +5 -10
- package/lib/components/CPaletteConfigurator/CPaletteConfigurator.vue.d.ts +69 -6
- package/lib/components/CPopover/CPopover.vue.d.ts +3 -2
- package/lib/components/CPopularityAndEngagementIcons/CPopularityAndEngagementExtended.vue.d.ts +5 -10
- package/lib/components/CPopularityAndEngagementIcons/CPopularityAndEngagementIcons.vue.d.ts +1 -1
- package/lib/components/CQueryBuilder/CQueryBuilder.vue.d.ts +18 -0
- package/lib/components/CQuickFilters/CQuickFilters.vue.d.ts +5 -9
- package/lib/components/CRate/CRate.vue.d.ts +3 -2
- package/lib/components/CRatingFeedback/CRatingFeedback.vue.d.ts +4 -7
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +31 -3
- package/lib/components/CRichTextEditor/components/CContentLinkToolbar.vue.d.ts +1 -1
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +2440 -11
- package/lib/components/CRichTextEditor/components/CEditorMenu.vue.d.ts +2 -1
- package/lib/components/CRichTextEditor/components/CFontSizeSelect.vue.d.ts +44 -1
- package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +2443 -0
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +1034 -1
- package/lib/components/CRichTextEditor/components/CLineHeightSelect.vue.d.ts +9 -0
- package/lib/components/CRichTextEditor/components/CTableToolbar.vue.d.ts +3 -8
- package/lib/components/CSearch/CSearchOnClick.vue.d.ts +11 -14
- package/lib/components/CSearch/CSearchOnClickWithSuggestions.vue.d.ts +23 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +95 -25
- package/lib/components/CSecondaryNav/CSecondaryNav.vue.d.ts +3 -2
- package/lib/components/CSelect/CSelect.vue.d.ts +3 -2
- package/lib/components/CSettingsEditor/CSettingsEditor.vue.d.ts +5 -7
- package/lib/components/CShortcut/CShortcut.vue.d.ts +3 -2
- package/lib/components/CShortcut/CShortcutIcon.vue.d.ts +1 -1
- package/lib/components/CSingleFileSelector/CSingleFileSelector.vue.d.ts +5 -13
- package/lib/components/CSingleSelect/CSingleSelect.vue.d.ts +5 -7
- package/lib/components/CSlider/CSlider.vue.d.ts +3 -2
- package/lib/components/CSpin/CSpin.vue.d.ts +3 -2
- package/lib/components/CSwatchSelector/CSwatchSelector.vue.d.ts +5 -8
- package/lib/components/CSwitch/CSwitch.vue.d.ts +18 -1
- package/lib/components/CTable/CTable.vue.d.ts +18 -20
- package/lib/components/CTableColumnsSettings/CTableColumnsSettings.vue.d.ts +1 -0
- package/lib/components/CTableEditActionButtons/CTableEditActionButtons.vue.d.ts +1 -1
- package/lib/components/CTableInput/CTableInput.vue.d.ts +1128 -60
- package/lib/components/CTableMore/CTableMore.vue.d.ts +6 -14
- package/lib/components/CTableSelect/CTableSelect.vue.d.ts +1 -1
- package/lib/components/CTag/CTag.vue.d.ts +9 -1
- package/lib/components/CTags/CTags.vue.d.ts +4634 -1
- package/lib/components/CThemeEditor/CThemeEditor.vue.d.ts +3 -1
- package/lib/components/CThemePreview/CThemePreview.vue.d.ts +20 -0
- package/lib/components/CTimeline/CTimeline.vue.d.ts +4 -5
- package/lib/components/CTimeline/CTimelineControl.vue.d.ts +1 -1
- package/lib/components/CTimeline/CTimelineModal.vue.d.ts +4 -5
- package/lib/components/CTooltip/CTooltip.vue.d.ts +3 -2
- package/lib/components/CTooltipWrapper/CTooltipWrapper.vue.d.ts +7 -7
- package/lib/components/CTypographyConfigurator/CTypographyConfigurator.vue.d.ts +6 -7
- package/lib/components/CTypographyConfigurator/CTypographyConfiguratorItem.vue.d.ts +6 -7
- package/lib/components/CUpsertFolderModal/CUpsertFolderModal.vue.d.ts +303 -0
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +370 -9
- package/lib/components/CUsersGroupsAccessManage/CUsersGroupsAccessManage.vue.d.ts +3 -1
- package/lib/components/CVideo/CVideo.vue.d.ts +10 -22
- package/lib/components/CVirtualTable/CVirtualTable.vue.d.ts +13 -14
- package/lib/components/CVirtualTable/CVirtualTableRow.vue.d.ts +3 -2
- package/lib/components/CWarningAlert/CWarningAlert.vue.d.ts +11 -0
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +252 -44
- package/lib/components/canvas-blocks/CBlockManagementActionsCell.vue.d.ts +9 -16
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +5 -15
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +770 -55
- package/lib/components/canvas-templates/CTemplateManagementActionsCell.vue.d.ts +25 -21
- package/lib/components/canvas-templates/CTemplateManagementActionsCellIconWrapper.vue.d.ts +3 -8
- package/lib/components/canvas-templates/CTemplateManagementListItem.vue.d.ts +54 -0
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +220 -19
- package/lib/components/canvases/CCanvasDeleteDialogContent.vue.d.ts +5 -8
- package/lib/components/canvases/CCanvasMetadataFilters.vue.d.ts +5 -11
- package/lib/components/canvases/CanvasesManagementBulk.use.d.ts +27 -3
- package/lib/components/filters/CDateRangeFilter.vue.d.ts +2 -1
- package/lib/components/filters/CSearchFilter.vue.d.ts +90 -2
- package/lib/components/filters/CSelectFilter.vue.d.ts +2 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +533 -64
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +11 -22
- package/lib/components/savedCanvases/CSavedCanvasesManagementIndicatorsCell.vue.d.ts +3 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +1722 -3
- package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +6 -18
- package/lib/components/savedCanvases/CSavedCanvasesManagementUsedTemplateCell.vue.d.ts +7 -10
- package/lib/components/savedCanvases/smartFolders/SmartFolderNameCell.vue.d.ts +5 -6
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +25 -30
- package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +130 -7
- package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +1 -1
- package/lib/components/sections/CSectionManagement.vue.d.ts +237 -50
- package/lib/components/sections/CSectionManagementActionsCell.vue.d.ts +11 -18
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +5 -12
- package/lib/components/themes/CThemeManagement.vue.d.ts +354 -0
- package/lib/components/themes/CThemeManagementActionsCell.vue.d.ts +24 -0
- package/lib/components/themes/CThemeManagementActionsCellIconWrapper.vue.d.ts +10 -0
- package/lib/components/themes/CThemeManagementToolbar.vue.d.ts +16 -0
- package/lib/composables/appsDb.use.d.ts +8 -1
- package/lib/composables/useCanvasLocks.d.ts +54 -0
- package/lib/composables/useCanvasOverlay.d.ts +13 -1
- package/lib/composables/useCoreApi.d.ts +7 -0
- package/lib/composables/useFileDisplayHelpers.d.ts +7 -2
- package/lib/composables/useMetadataSearch.d.ts +19 -0
- package/lib/composables/useMetadataTemplates.d.ts +246 -0
- package/lib/composables/useWindowEvents.d.ts +5 -3
- package/lib/constants/appsDb.const.d.ts +4 -0
- package/lib/constants/cdp.const.d.ts +2 -2
- package/lib/constants/color.const.d.ts +1 -0
- package/lib/constants/query-builder.const.d.ts +1 -0
- package/lib/main.lib.d.ts +25 -1
- package/lib/sdk/api/HighLevelApi.d.ts +20 -1
- package/lib/sdk/api/modules/admin/canvas.admin.d.ts +20 -0
- package/lib/sdk/api/modules/admin/content.admin.d.ts +21 -3
- package/lib/sdk/api/modules/admin/files.admin.d.ts +0 -19
- package/lib/sdk/api/modules/admin/index.d.ts +7 -1
- package/lib/sdk/api/modules/admin/types.admin.d.ts +55 -6
- package/lib/sdk/api/modules/canvas.d.ts +7 -0
- package/lib/sdk/api/modules/env.d.ts +1 -1
- package/lib/sdk/api/modules/folders.core.d.ts +7 -0
- package/lib/sdk/api/modules/index.d.ts +2 -0
- package/lib/sdk/api/modules/theme.d.ts +10 -0
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +20 -0
- package/lib/sdk/api/modules/ui/content.ui.d.ts +2 -2
- package/lib/sdk/api/modules/ui/index.d.ts +6 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +28 -4
- package/lib/sdk/interfaces.d.ts +24 -1
- package/lib/sdk/main.d.ts +92 -5
- package/lib/sdk/payload.types.d.ts +8 -0
- package/lib/theme/light.d.ts +6 -0
- package/lib/theme/theme.types.d.ts +7 -0
- package/lib/types/app.d.ts +4 -0
- package/lib/types/canvasTheme.d.ts +37 -0
- package/lib/types/canvases.d.ts +9 -0
- package/lib/types/core/MetadataFilter.d.ts +44 -0
- package/lib/types/core/UpsertPptxSlideImages.d.ts +12 -0
- package/lib/types/core/index.d.ts +2 -0
- package/lib/types/files.d.ts +5 -2
- package/lib/types/folder.d.ts +35 -0
- package/lib/types/instanceSettings.types.d.ts +8 -0
- package/lib/types/launchDarkly.types.d.ts +4 -1
- package/lib/types/organizationSettings.types.d.ts +9 -0
- package/lib/types/query-builder.types.d.ts +7 -0
- package/lib/types/recentFiles.types.d.ts +2 -1
- package/lib/types/search.d.ts +5 -0
- package/lib/util/anchor.d.ts +1 -1
- package/lib/util/array.d.ts +1 -1
- package/lib/util/color.d.ts +2 -0
- package/lib/util/file.util.d.ts +4 -0
- package/lib/util/image.d.ts +6 -0
- package/lib/util/query-builder.util.d.ts +2 -0
- package/lib/util/style.util.d.ts +1 -0
- package/lib/util/tree-transformation.util.d.ts +6 -0
- package/lib/util/url.d.ts +3 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +0 -4
- package/types/openapi/models/AuthToken.d.ts +1 -0
- package/types/openapi/models/AuthTokenRequest.d.ts +1 -0
- package/types/openapi/models/Canvas.d.ts +0 -2
- package/types/openapi/models/CanvasCreate.d.ts +0 -2
- package/types/openapi/models/CanvasRecommendedFile.d.ts +1 -2
- package/types/openapi/models/CanvasRetrieve.d.ts +0 -2
- package/types/openapi/models/CanvasUpdate.d.ts +0 -2
- package/types/openapi/models/DeletedCanvas.d.ts +0 -2
- package/types/openapi/models/DeletedFile.d.ts +1 -2
- package/types/openapi/models/DeletedInstance.d.ts +1 -1
- package/types/openapi/models/FavoriteFile.d.ts +1 -0
- package/types/openapi/models/FavoriteFileRequest.d.ts +1 -0
- package/types/openapi/models/File.d.ts +1 -2
- package/types/openapi/models/FileCreate.d.ts +1 -2
- package/types/openapi/models/FileCreateRequest.d.ts +1 -0
- package/types/openapi/models/FileRetrieve.d.ts +1 -2
- package/types/openapi/models/FileStatusEnum.d.ts +3 -1
- package/types/openapi/models/FileUpdate.d.ts +1 -2
- package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/FolderFile.d.ts +3 -0
- package/types/openapi/models/Instance.d.ts +1 -1
- package/types/openapi/models/InstanceAnalytics.d.ts +5 -3
- package/types/openapi/models/InstanceMembershipUser.d.ts +1 -0
- package/types/openapi/models/InstanceRequest.d.ts +1 -1
- package/types/openapi/models/InstanceUpdate.d.ts +1 -1
- package/types/openapi/models/InstanceUpdateRequest.d.ts +1 -1
- package/types/openapi/models/MetadataTemplateField.d.ts +1 -1
- package/types/openapi/models/MetadataTemplateFieldRequest.d.ts +1 -1
- package/types/openapi/models/MetadataTemplateSection.d.ts +1 -0
- package/types/openapi/models/MetadataTemplateSectionRequest.d.ts +1 -0
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +1 -1
- package/types/openapi/models/PatchedUserRequest.d.ts +1 -1
- package/types/openapi/models/SearchCanvas.d.ts +0 -1
- package/types/openapi/models/SearchResult.d.ts +1 -3
- package/types/openapi/models/SharedLink.d.ts +0 -1
- package/types/openapi/models/SharedLinkCreate.d.ts +0 -1
- package/types/openapi/models/SharedLinkCreateRequest.d.ts +0 -1
- package/types/openapi/models/SharedLinkInstance.d.ts +1 -0
- package/types/openapi/models/User.d.ts +1 -1
- package/types/openapi/models/UserRequest.d.ts +1 -1
- package/lib/apps/browser/components/UpsertFolderModal/UpsertFolderModal.vue.d.ts +0 -9
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentLegacy.vue.d.ts +0 -113
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +0 -8
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +0 -31
- package/lib/apps/collection-player/composables/arrow-keys.use.d.ts +0 -6
- package/lib/apps/collection-selector/App.vue.d.ts +0 -29
- package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +0 -17
- package/lib/components/CTableTag/CTableTag.vue.d.ts +0 -44
- package/types/openapi/models/PaginatedStorageRegionList.d.ts +0 -7
- package/types/openapi/models/SearchContentDistributionGroup.d.ts +0 -10
- package/types/openapi/models/SearchInstanceAssignmentGroup.d.ts +0 -10
- package/types/openapi/models/StorageRegion.d.ts +0 -5
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { ComponentNode } from '../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
4
4
|
export default function ({ id, usedInSectionId, when_used_in_section, }: {
|
|
5
5
|
id: Ref<ComponentNode['id']>;
|
|
6
6
|
usedInSectionId: Ref<CanvasRetrieve['id']>;
|
|
7
7
|
when_used_in_section: Ref<ComponentNode['when_used_in_section']>;
|
|
8
|
-
}):
|
|
8
|
+
}): ComputedRef<{
|
|
9
9
|
hasSomethingEditable: boolean;
|
|
10
10
|
canEdit: boolean;
|
|
11
11
|
canRemove: boolean;
|
|
@@ -1,8 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ThemePadding } from './useCanvasTheme';
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { ThemeBorderRadius, ThemePadding } from './useCanvasTheme';
|
|
4
3
|
import { BackgroundAttachment, BackgroundPositionX, BackgroundPositionY, BackgroundRepeat, BackgroundSize } from '../../../types/background';
|
|
5
|
-
|
|
4
|
+
import { CanvasTheme, ComponentNode } from '../types/canvas';
|
|
5
|
+
export interface ComponentStyle {
|
|
6
|
+
backgroundColor?: string;
|
|
7
|
+
backgroundAttachment?: BackgroundAttachment;
|
|
8
|
+
backgroundImage?: string | null;
|
|
9
|
+
backgroundPositionX?: BackgroundPositionX;
|
|
10
|
+
backgroundPositionY?: BackgroundPositionY;
|
|
11
|
+
backgroundRepeat?: BackgroundRepeat;
|
|
12
|
+
backgroundSize?: BackgroundSize;
|
|
13
|
+
borderRadius?: string;
|
|
14
|
+
height?: string;
|
|
15
|
+
marginBottom?: string;
|
|
16
|
+
padding?: string;
|
|
17
|
+
width?: string;
|
|
18
|
+
}
|
|
19
|
+
type DataTableThemeMetaOverride = {
|
|
20
|
+
headerBackgroundColor?: string;
|
|
21
|
+
groupHeaderBackgroundColor?: string;
|
|
22
|
+
};
|
|
23
|
+
type ThemeMetaOverride = DataTableThemeMetaOverride & Record<string, any>;
|
|
24
|
+
export declare function useComponentStyle(componentNode?: ComputedRef<ComponentNode | null>): {
|
|
25
|
+
borderRadiusThemeValues: ComputedRef<ThemeBorderRadius>;
|
|
26
|
+
componentSpacingThemeValues: ComputedRef<number>;
|
|
27
|
+
paddingThemeValues: ComputedRef<ThemePadding>;
|
|
6
28
|
createStyleUpdate: (updates?: Partial<{
|
|
7
29
|
backgroundColor?: string;
|
|
8
30
|
backgroundAttachment?: BackgroundAttachment;
|
|
@@ -11,12 +33,17 @@ export declare function useComponentStyle(componentNode: ComponentNode | null):
|
|
|
11
33
|
backgroundPositionY?: BackgroundPositionY;
|
|
12
34
|
backgroundRepeat?: BackgroundRepeat;
|
|
13
35
|
backgroundSize?: BackgroundSize;
|
|
14
|
-
|
|
36
|
+
borderRadius?: ThemeBorderRadius;
|
|
37
|
+
height?: string | null;
|
|
15
38
|
left?: string;
|
|
16
|
-
marginBottom?: string;
|
|
39
|
+
marginBottom?: string | null;
|
|
17
40
|
padding?: ThemePadding;
|
|
18
41
|
position?: "absolute" | "relative" | "static" | "fixed";
|
|
19
42
|
top?: string;
|
|
20
43
|
width?: string;
|
|
21
|
-
}>) =>
|
|
44
|
+
}>) => Record<string, any>;
|
|
45
|
+
getComponentSpecificThemeMetaOverrides: (componentType: ComponentNode["type"], meta: ComponentNode["theme_meta"]) => ThemeMetaOverride;
|
|
46
|
+
getCssThemeMetaStyleOverrides: (componentType: ComponentNode["type"], meta: ComponentNode["theme_meta"], sectionTheme?: CanvasTheme) => Record<string, any>;
|
|
47
|
+
getDerivedStyleFromFeatureFlags: (style: Record<string, any> | undefined) => Record<string, any> | undefined;
|
|
22
48
|
};
|
|
49
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentTypes, MultimediaProps, ComponentNode, ContentGridProps, LinkProps } from '../types/canvas';
|
|
2
2
|
import { Selection } from '../../../types/selections';
|
|
3
|
-
import { FileContentTypeEnum, FileRetrieve } from '../../../../types/openapi';
|
|
3
|
+
import { FileContentTypeEnum, CanvasRetrieve, File, FileRetrieve } from '../../../../types/openapi';
|
|
4
4
|
import { SelectedPage, SelectedFile, SelectorType, SelectedExternalLink, SelectedAsset } from '../../content-selector/stores/app';
|
|
5
5
|
type ContentSelectorPayload = {
|
|
6
6
|
id: ComponentNode['id'] | null;
|
|
@@ -9,8 +9,11 @@ type ContentSelectorPayload = {
|
|
|
9
9
|
allowedSelectorTypes?: SelectorType[];
|
|
10
10
|
allowedContentTypes?: FileContentTypeEnum[];
|
|
11
11
|
allowedAssetContentTypes?: FileContentTypeEnum[];
|
|
12
|
+
allowedIds?: File['id'][];
|
|
13
|
+
initialMetadataFilters?: Record<string, any>;
|
|
12
14
|
maxSelections?: number;
|
|
13
15
|
onSelected?: (selections: (SelectedFile | SelectedPage)[]) => void;
|
|
16
|
+
usedInSectionId?: CanvasRetrieve['id'];
|
|
14
17
|
};
|
|
15
18
|
type ContentSelectorState = false | ContentSelectorPayload;
|
|
16
19
|
declare function clearContentSelectorMode(): void;
|
|
@@ -54,8 +57,11 @@ export default function (): {
|
|
|
54
57
|
allowedSelectorTypes?: SelectorType[] | undefined;
|
|
55
58
|
allowedContentTypes?: FileContentTypeEnum[] | undefined;
|
|
56
59
|
allowedAssetContentTypes?: FileContentTypeEnum[] | undefined;
|
|
60
|
+
allowedIds?: File["id"][] | undefined;
|
|
61
|
+
initialMetadataFilters?: Record<string, any> | undefined;
|
|
57
62
|
maxSelections?: number | undefined;
|
|
58
63
|
onSelected?: ((selections: (SelectedFile | SelectedPage)[]) => void) | undefined;
|
|
64
|
+
usedInSectionId?: CanvasRetrieve["id"] | undefined;
|
|
59
65
|
}, ContentSelectorState | {
|
|
60
66
|
id: ComponentNode["id"] | null;
|
|
61
67
|
componentType: Extract<ComponentTypes, ComponentTypes.ContentGrid | ComponentTypes.Multimedia | ComponentTypes.Link> | null;
|
|
@@ -80,8 +86,11 @@ export default function (): {
|
|
|
80
86
|
allowedSelectorTypes?: SelectorType[] | undefined;
|
|
81
87
|
allowedContentTypes?: FileContentTypeEnum[] | undefined;
|
|
82
88
|
allowedAssetContentTypes?: FileContentTypeEnum[] | undefined;
|
|
89
|
+
allowedIds?: File["id"][] | undefined;
|
|
90
|
+
initialMetadataFilters?: Record<string, any> | undefined;
|
|
83
91
|
maxSelections?: number | undefined;
|
|
84
92
|
onSelected?: ((selections: (SelectedFile | SelectedPage)[]) => void) | undefined;
|
|
93
|
+
usedInSectionId?: CanvasRetrieve["id"] | undefined;
|
|
85
94
|
}>;
|
|
86
95
|
setContentSelectorMode: typeof setContentSelectorMode;
|
|
87
96
|
prepareContentGridNodeData: typeof prepareContentGridNodeData;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
1
2
|
import { User } from '../../../../types/openapi';
|
|
2
3
|
interface DefaultCrmShape {
|
|
3
4
|
account?: {
|
|
@@ -19,6 +20,7 @@ interface DefaultCrmShape {
|
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
export default function useCrmShape(): {
|
|
23
|
+
crmShape: ComputedRef<Record<string, any> & Partial<DefaultCrmShape>>;
|
|
22
24
|
getDefaultCrmShape: ({ accountName, myUser, showDefault, }: {
|
|
23
25
|
accountName?: string;
|
|
24
26
|
myUser: User | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default function usePrintMode(): {
|
|
2
|
+
processPrintContent: (content: string) => string;
|
|
3
|
+
applyPrintModeToElement: (element: HTMLElement | null, getContent: () => string) => void;
|
|
4
|
+
resolveAllCssVariables: (element: HTMLElement) => void;
|
|
5
|
+
applyPrintModeToSection: (section: {
|
|
6
|
+
id: string;
|
|
7
|
+
theme?: any;
|
|
8
|
+
}, sectionElement: HTMLElement, maintainTheme?: boolean) => void;
|
|
9
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const DEFAULT_GLOBAL_COMPONENT_SPACING = 32;
|
|
2
|
+
export declare const DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL = 4;
|
|
3
|
+
export declare const CANVAS_TYPOGRAPHY_CSS_PROPERTIES: readonly ["font-family", "font-size", "font-weight", "line-height", "letter-spacing", "text-transform", "color"];
|
|
4
|
+
export declare const CANVAS_TYPOGRAPHY_PRESETS: readonly ["h_1", "h_2", "h_3", "big_text", "normal_text", "small_text"];
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
1
|
import { MaybeRef } from '@vueuse/core';
|
|
3
|
-
import {
|
|
4
|
-
import { CanvasActions } from '../../../types/canvasActions';
|
|
5
|
-
import { CanvasRetrieve, Favorite, File, FileContentTypeEnum, FileRetrieve, Folder, FolderRetrieve, MetadataTemplate, PatchedCanvasUpdateRequest, SharedLink, User } from '../../../../types/openapi';
|
|
6
|
-
import { PaginatedData } from '../../../types/paginatedData';
|
|
7
|
-
import { OpenExternalUrlRequestPayload, PitcherEnv } from '../../../sdk/main';
|
|
8
|
-
import { EmbedLocation, EmbeddedLocationProperties } from '../../../types/app';
|
|
9
|
-
import { FileModel } from '../../../components/CFileViewer/CFileViewer.types';
|
|
2
|
+
import { Ref } from 'vue';
|
|
10
3
|
import { aspectRatios } from '../constants';
|
|
11
|
-
import { OpenRequestPayload } from '../../../sdk/payload.types';
|
|
12
|
-
import { CanvasTypographyPreset } from '../../../types/canvasTheme';
|
|
13
4
|
import { FontAwesomeType } from './font-awesome.types';
|
|
5
|
+
import { CollectionPlayer as CollectionPlayerProps } from '../../collection-player/types/collection-player.type';
|
|
6
|
+
import { FileModel } from '../../../components/CFileViewer/CFileViewer.types';
|
|
14
7
|
import { GetFavoritesParams } from '../../../main.lib';
|
|
8
|
+
import { EmbedLocation, EmbeddedLocationProperties } from '../../../types/app';
|
|
9
|
+
import { BackgroundSize } from '../../../types/background';
|
|
10
|
+
import { Call } from '../../../types/call';
|
|
11
|
+
import { CanvasActions } from '../../../types/canvasActions';
|
|
12
|
+
import { CanvasThemeRetrieve, CanvasTypographyPreset } from '../../../types/canvasTheme';
|
|
13
|
+
import { CanvasMetadataRetrieve } from '../../../types/canvases';
|
|
14
|
+
import { PaginatedData } from '../../../types/paginatedData';
|
|
15
|
+
import { QueryOperator } from '../../../types/query-builder.types';
|
|
15
16
|
import { RecentFile } from '../../../types/recentFiles.types';
|
|
16
|
-
import {
|
|
17
|
+
import { CanvasRetrieve, Favorite, File, FileContentTypeEnum, FileRetrieve, Folder, FolderRetrieve, MetadataTemplate, PatchedCanvasUpdateRequest, SharedLink, User } from '../../../../types/openapi';
|
|
17
18
|
import { UiSelectCollectionPlayerRequest, UiSelectCollectionPlayerResponse } from '../../../sdk/api/modules/ui/types.ui';
|
|
19
|
+
import { OpenExternalUrlRequestPayload, PitcherEnv } from '../../../sdk/main';
|
|
20
|
+
import { OpenRequestPayload } from '../../../sdk/payload.types';
|
|
18
21
|
type AvailableAspectRatio = (typeof aspectRatios)[number];
|
|
19
22
|
export declare enum HtmlLayoutTypes {
|
|
20
23
|
PREVIEW = "preview",
|
|
@@ -59,6 +62,33 @@ export interface EmbeddableProps {
|
|
|
59
62
|
file: ContentGridFileProps | null;
|
|
60
63
|
settings?: Record<string, unknown>;
|
|
61
64
|
}
|
|
65
|
+
export interface DynamicDatatableProperty {
|
|
66
|
+
key: string;
|
|
67
|
+
display_name?: string;
|
|
68
|
+
sort: {
|
|
69
|
+
direction?: 'asc' | 'desc';
|
|
70
|
+
default?: boolean;
|
|
71
|
+
enabled: boolean;
|
|
72
|
+
};
|
|
73
|
+
group?: boolean;
|
|
74
|
+
}
|
|
75
|
+
export interface DynamicDatatableFilter {
|
|
76
|
+
property: string;
|
|
77
|
+
operator: QueryOperator;
|
|
78
|
+
value: string;
|
|
79
|
+
}
|
|
80
|
+
export interface DynamicDataTableProps {
|
|
81
|
+
filters?: DynamicDatatableFilter[];
|
|
82
|
+
layout: 'column' | 'row';
|
|
83
|
+
page_size?: number;
|
|
84
|
+
path: string;
|
|
85
|
+
properties: DynamicDatatableProperty[];
|
|
86
|
+
theme?: {
|
|
87
|
+
background_color?: string | null;
|
|
88
|
+
group_header_color?: string | null;
|
|
89
|
+
font_family?: string;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
62
92
|
export interface TextProps {
|
|
63
93
|
content?: string;
|
|
64
94
|
}
|
|
@@ -107,6 +137,7 @@ export type ExternalMultimediaAssetType = {
|
|
|
107
137
|
horizontal_alignment?: MultimediaHorizontalAlignmentOptions;
|
|
108
138
|
from?: 'custom' | 'pexels' | 'unsplash' | 'ai';
|
|
109
139
|
poster_url?: string;
|
|
140
|
+
poster_background_size?: BackgroundSize;
|
|
110
141
|
};
|
|
111
142
|
export type PitcherMultimediaAssetType = {
|
|
112
143
|
asset_type: typeof MULTIMEDIA_IMG_TYPE.pitcher_asset;
|
|
@@ -118,6 +149,7 @@ export type PitcherMultimediaAssetType = {
|
|
|
118
149
|
type: 'image' | 'video';
|
|
119
150
|
horizontal_alignment?: MultimediaHorizontalAlignmentOptions;
|
|
120
151
|
poster_url?: string;
|
|
152
|
+
poster_background_size?: BackgroundSize;
|
|
121
153
|
};
|
|
122
154
|
export type MultimediaProps = ExternalMultimediaAssetType | PitcherMultimediaAssetType;
|
|
123
155
|
export type ContentGridCommonFileProps = {
|
|
@@ -166,6 +198,9 @@ export interface SectionListSection {
|
|
|
166
198
|
export interface SectionListProps {
|
|
167
199
|
sections: SectionListSection[];
|
|
168
200
|
animation_in?: string;
|
|
201
|
+
selection_strategy?: 'free' | 'single' | 'at-least-one' | 'app';
|
|
202
|
+
selection_app_name?: string;
|
|
203
|
+
is_restricted_to_preselections?: boolean;
|
|
169
204
|
}
|
|
170
205
|
export interface GridItemTooltipProps {
|
|
171
206
|
content?: string;
|
|
@@ -190,7 +225,7 @@ export interface IFrameProps {
|
|
|
190
225
|
width?: string;
|
|
191
226
|
add_session_context?: boolean;
|
|
192
227
|
}
|
|
193
|
-
export type CollectionFileEntity = Pick<FileRetrieve, 'id' | 'name' | 'type' | 'metadata' | 'thumbnail_url' | 'permissions' | 'content_url' | 'content_type' | 'pspdfkit_auth_payload' | 'pspdfkit_document_id' | 'pspdfkit_server_url'>;
|
|
228
|
+
export type CollectionFileEntity = Pick<FileRetrieve, 'id' | 'name' | 'type' | 'tags' | 'metadata' | 'thumbnail_url' | 'permissions' | 'content_url' | 'content_type' | 'pspdfkit_auth_payload' | 'pspdfkit_document_id' | 'pspdfkit_server_url'>;
|
|
194
229
|
export interface LinkProps {
|
|
195
230
|
alignment?: LinkAlignmentTypes;
|
|
196
231
|
background_color?: string;
|
|
@@ -239,11 +274,20 @@ export interface ComponentNodeVisible {
|
|
|
239
274
|
pdf: boolean;
|
|
240
275
|
web: boolean;
|
|
241
276
|
}
|
|
277
|
+
export interface ComponentNodeThemeMeta {
|
|
278
|
+
bg_color_palette_index: number;
|
|
279
|
+
dt_header_bg_palette_index: number;
|
|
280
|
+
dt_group_header_bg_palette_index: number;
|
|
281
|
+
}
|
|
282
|
+
export interface ComponentNodeLinkable {
|
|
283
|
+
linkable_in_templates: boolean;
|
|
284
|
+
}
|
|
242
285
|
export interface ComponentNode<T = AvailableComponentProps> {
|
|
243
286
|
id: string;
|
|
244
287
|
type: ComponentTypes;
|
|
245
288
|
tracking_id: string;
|
|
246
289
|
visible?: ComponentNodeVisible;
|
|
290
|
+
linkable?: ComponentNodeLinkable;
|
|
247
291
|
allow_admins_to_overwrite?: boolean;
|
|
248
292
|
autofill?: 'off' | 'ai' | 'matching_metadata' | 'matching_tags' | 'matching_metadata_or_tags';
|
|
249
293
|
autofill_content_types?: FileContentTypeEnum[] | null;
|
|
@@ -255,10 +299,16 @@ export interface ComponentNode<T = AvailableComponentProps> {
|
|
|
255
299
|
};
|
|
256
300
|
style?: Record<string, any>;
|
|
257
301
|
tags?: string[];
|
|
302
|
+
theme_meta?: ComponentNodeThemeMeta;
|
|
303
|
+
}
|
|
304
|
+
export interface HomePageConfig {
|
|
305
|
+
component_id: string;
|
|
306
|
+
section_id?: string | null;
|
|
258
307
|
}
|
|
259
308
|
export interface CanvasContent {
|
|
260
309
|
data?: ComponentNode[];
|
|
261
310
|
overrides?: SectionComponentOverrides;
|
|
311
|
+
home_page?: HomePageConfig;
|
|
262
312
|
hidden?: {
|
|
263
313
|
dsr: {
|
|
264
314
|
sections: HiddenElementsInCanvas;
|
|
@@ -291,48 +341,53 @@ export interface ComponentMeta {
|
|
|
291
341
|
defaultPrintable: boolean;
|
|
292
342
|
}
|
|
293
343
|
export declare enum ComponentTypes {
|
|
294
|
-
|
|
344
|
+
Block = "Block",
|
|
345
|
+
Carousel = "Carousel",
|
|
346
|
+
CollectionPlayer = "CollectionPlayer",
|
|
295
347
|
ContentGrid = "ContentGrid",
|
|
296
|
-
|
|
348
|
+
DataCharts = "DataCharts",
|
|
349
|
+
DynamicDataTable = "DynamicDataTable",
|
|
350
|
+
Embeddable = "Embeddable",
|
|
297
351
|
Grid = "Grid",
|
|
298
352
|
GridItem = "GridItem",
|
|
299
|
-
Multimedia = "Multimedia",
|
|
300
|
-
Text = "Text",
|
|
301
|
-
Embeddable = "Embeddable",
|
|
302
|
-
Carousel = "Carousel",
|
|
303
353
|
Html = "Html",
|
|
304
354
|
IFrame = "IFrame",
|
|
305
355
|
Link = "Link",
|
|
306
|
-
|
|
356
|
+
Multimedia = "Multimedia",
|
|
307
357
|
Page = "Page",
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
358
|
+
PageBreak = "PageBreak",
|
|
359
|
+
Root = "Root",
|
|
360
|
+
Scribble = "Scribble",
|
|
361
|
+
SectionList = "SectionList",
|
|
362
|
+
Text = "Text",
|
|
363
|
+
Timeline = "Timeline"
|
|
364
|
+
}
|
|
365
|
+
export declare const ComponentIcon: {
|
|
366
|
+
readonly AR: "cube";
|
|
367
|
+
readonly Block: "objects-column";
|
|
368
|
+
readonly Carousel: "gallery-thumbnails";
|
|
369
|
+
readonly Collection: "rectangle-history-circle-plus";
|
|
370
|
+
readonly CollectionPlayer: "regular-rectangle-history-circle-play";
|
|
371
|
+
readonly ContentGrid: "files";
|
|
372
|
+
readonly DataCharts: "chart-line";
|
|
373
|
+
readonly DynamicDataTable: "regular-table-circle-bolt";
|
|
374
|
+
readonly Embeddable: "browser";
|
|
375
|
+
readonly File: "file-circle-plus";
|
|
376
|
+
readonly Grid: "table";
|
|
377
|
+
readonly GridItem: "objects-column";
|
|
378
|
+
readonly GridParent: "angle-down";
|
|
379
|
+
readonly Html: "code";
|
|
380
|
+
readonly IFrame: "window";
|
|
381
|
+
readonly Link: "hand-pointer";
|
|
382
|
+
readonly Multimedia: "image";
|
|
383
|
+
readonly Page: "pager";
|
|
384
|
+
readonly PageBreak: "arrows-from-line";
|
|
385
|
+
readonly Scribble: "pen-swirl";
|
|
386
|
+
readonly SectionList: "bring-forward";
|
|
387
|
+
readonly Text: "text-size";
|
|
388
|
+
readonly Timeline: "timeline-arrow";
|
|
389
|
+
readonly Video: "video";
|
|
390
|
+
};
|
|
336
391
|
export declare const componentIconType: Record<string, FontAwesomeType>;
|
|
337
392
|
export type CanvasTheme = {
|
|
338
393
|
background_video_url?: string;
|
|
@@ -347,7 +402,8 @@ export type CanvasTheme = {
|
|
|
347
402
|
style?: Record<string, any>;
|
|
348
403
|
typography?: Record<string, CanvasTypographyPreset>;
|
|
349
404
|
aspect_ratio?: AvailableAspectRatio;
|
|
350
|
-
|
|
405
|
+
maintain_section_theme?: boolean;
|
|
406
|
+
inherit_theme_from_parent?: boolean;
|
|
351
407
|
};
|
|
352
408
|
export declare enum CanvasBuilderMode {
|
|
353
409
|
ADMIN = "admin",
|
|
@@ -390,12 +446,14 @@ export type FileOpenParams = (FileProps & {
|
|
|
390
446
|
page_index?: number;
|
|
391
447
|
newTab?: boolean;
|
|
392
448
|
files?: OpenRequestPayload['files'];
|
|
449
|
+
used_in_section_id?: CanvasRetrieve['id'];
|
|
393
450
|
}) | {
|
|
394
451
|
file_id: File['id'];
|
|
395
452
|
name?: File['name'];
|
|
396
453
|
page_index?: number;
|
|
397
454
|
newTab?: boolean;
|
|
398
455
|
files?: OpenRequestPayload['files'];
|
|
456
|
+
used_in_section_id?: CanvasRetrieve['id'];
|
|
399
457
|
};
|
|
400
458
|
type NoCRMBuilderProps = {
|
|
401
459
|
isCRM: false;
|
|
@@ -417,7 +475,6 @@ export type SharingBuilderProps = NoCRMBuilderProps & {
|
|
|
417
475
|
baseStackingContext?: number;
|
|
418
476
|
};
|
|
419
477
|
activeCanvas: CanvasRetrieve;
|
|
420
|
-
templates?: never;
|
|
421
478
|
onExit: () => void;
|
|
422
479
|
onSave?: never;
|
|
423
480
|
onEnter?: () => void;
|
|
@@ -430,6 +487,12 @@ export type SharingBuilderProps = NoCRMBuilderProps & {
|
|
|
430
487
|
onCollectionPlayerContentChange?: never;
|
|
431
488
|
onComponentEnter?: (data: ComponentNode | CanvasRetrieve, params: ComponentTrackingParams) => void;
|
|
432
489
|
onComponentExit?: (data: ComponentNode | CanvasRetrieve, params: ComponentTrackingParams) => void;
|
|
490
|
+
onAppEnter?: (data: {
|
|
491
|
+
src: string;
|
|
492
|
+
}) => void;
|
|
493
|
+
onAppExit?: (data: {
|
|
494
|
+
src: string;
|
|
495
|
+
}) => void;
|
|
433
496
|
onFileOpen: (file: FileOpenParams) => void;
|
|
434
497
|
onOpenExternalUrl: (payload: OpenExternalUrlRequestPayload) => Promise<void>;
|
|
435
498
|
deleteFile?: never;
|
|
@@ -441,7 +504,7 @@ export type SharingBuilderProps = NoCRMBuilderProps & {
|
|
|
441
504
|
fetchFavorites?: never;
|
|
442
505
|
fetchRecentFiles?: never;
|
|
443
506
|
fetchInstanceMetadataTemplate?: never;
|
|
444
|
-
fetchCanvas?:
|
|
507
|
+
fetchCanvas?: (canvasId: CanvasRetrieve['id'], params?: Record<string, any>) => Promise<CanvasRetrieve>;
|
|
445
508
|
renderPageAsImageUrl: (payload: {
|
|
446
509
|
fileId: File['id'];
|
|
447
510
|
documentId?: File['id'];
|
|
@@ -460,6 +523,9 @@ export type SharingBuilderProps = NoCRMBuilderProps & {
|
|
|
460
523
|
myUserId?: never;
|
|
461
524
|
onDownloadFile?: (file: File | ContentGridFileProps | ContentGridCommonFileProps) => Promise<void>;
|
|
462
525
|
onDownloadCanvas?: (canvas: CanvasRetrieve) => Promise<void>;
|
|
526
|
+
theme: CanvasThemeRetrieve | null;
|
|
527
|
+
isAnyTypeOfAdmin: boolean;
|
|
528
|
+
canvasMetadata: CanvasMetadataRetrieve | null;
|
|
463
529
|
};
|
|
464
530
|
export interface CRMBuilderProps {
|
|
465
531
|
isCRM: true;
|
|
@@ -486,14 +552,16 @@ type AdminImpactCommonBuilderProps = {
|
|
|
486
552
|
startInMode?: CanvasActions.Present | CanvasActions.Edit;
|
|
487
553
|
};
|
|
488
554
|
activeCanvas: CanvasRetrieve;
|
|
489
|
-
templates: {
|
|
490
|
-
label: CanvasRetrieve['name'];
|
|
491
|
-
value: CanvasRetrieve['id'];
|
|
492
|
-
}[];
|
|
493
555
|
onExit: () => void;
|
|
494
556
|
onEnter?: () => void;
|
|
495
557
|
onComponentEnter?: (data: ComponentNode | CanvasRetrieve, params: ComponentTrackingParams) => void;
|
|
496
558
|
onComponentExit?: (data: ComponentNode | CanvasRetrieve, params: ComponentTrackingParams) => void;
|
|
559
|
+
onAppEnter?: (data: {
|
|
560
|
+
src: string;
|
|
561
|
+
}) => void;
|
|
562
|
+
onAppExit?: (data: {
|
|
563
|
+
src: string;
|
|
564
|
+
}) => void;
|
|
497
565
|
onPageEnter?: (data: ComponentNode[], pageIndex: number) => void;
|
|
498
566
|
onPageExit?: (data: ComponentNode[], pageIndex: number) => void;
|
|
499
567
|
onFileEnter?: (node: NodeInfo, file: CollectionFileEntity) => void;
|
|
@@ -537,6 +605,9 @@ type AdminImpactCommonBuilderProps = {
|
|
|
537
605
|
isCRM: boolean;
|
|
538
606
|
onDownloadFile?: (file: File | ContentGridFileProps | ContentGridCommonFileProps) => Promise<void>;
|
|
539
607
|
onDownloadCanvas?: (canvas: CanvasRetrieve) => Promise<void>;
|
|
608
|
+
theme: CanvasThemeRetrieve | null;
|
|
609
|
+
isAnyTypeOfAdmin: boolean;
|
|
610
|
+
canvasMetadata: CanvasMetadataRetrieve | null;
|
|
540
611
|
};
|
|
541
612
|
type AdminBuilderProps = AdminImpactCommonBuilderProps & (CRMBuilderProps | NoCRMBuilderProps) & {
|
|
542
613
|
isRedirectEvent?: never;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function replaceThemePresetsWithInlineStyles(htmlContent: string): string;
|
|
@@ -6,8 +6,10 @@ export type CanvasSelection = {
|
|
|
6
6
|
};
|
|
7
7
|
export type AppProps = {
|
|
8
8
|
appName: 'impact' | 'admin';
|
|
9
|
+
initialMetadataFilters?: Record<string, any>;
|
|
9
10
|
primaryActionText?: string;
|
|
10
11
|
listCanvases: (params: any) => Promise<PaginatedData<CanvasRetrieve | Canvas>>;
|
|
11
12
|
allowedSelectorTypes?: CanvasSelectionType[];
|
|
12
13
|
selections?: CanvasSelection[];
|
|
14
|
+
allowedIds?: Canvas['id'][];
|
|
13
15
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas } from '../../../../types/openapi';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
filters: Record<string, any>;
|
|
4
4
|
isSelected?: boolean;
|
|
5
5
|
index?: number;
|
|
@@ -10,20 +10,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
10
10
|
data: Canvas[];
|
|
11
11
|
selectedItems: Canvas[];
|
|
12
12
|
hidePopularityIcons?: boolean;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
isSelected?: boolean;
|
|
16
|
-
index?: number;
|
|
17
|
-
item: {
|
|
18
|
-
id: number | string;
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
};
|
|
21
|
-
data: Canvas[];
|
|
22
|
-
selectedItems: Canvas[];
|
|
23
|
-
hidePopularityIcons?: boolean;
|
|
24
|
-
}> & Readonly<{}>, {
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
15
|
isSelected: boolean;
|
|
26
16
|
index: number;
|
|
27
17
|
hidePopularityIcons: boolean;
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
19
|
export default _default;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
toolbarWrapper: HTMLDivElement;
|
|
3
|
+
}, HTMLDivElement>;
|
|
2
4
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
toolbarWrapper: HTMLDivElement;
|
|
3
|
+
}, HTMLDivElement>;
|
|
2
4
|
export default _default;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
toolbarWrapper: HTMLDivElement;
|
|
3
|
+
}, HTMLDivElement>;
|
|
2
4
|
export default _default;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
toolbarWrapper: HTMLDivElement;
|
|
3
|
+
}, HTMLDivElement>;
|
|
2
4
|
export default _default;
|