@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
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
import { PaginatedMetadataTemplateList, MetadataTemplateField } from '../../types/openapi';
|
|
3
|
+
export interface UseMetadataTemplatesOptions {
|
|
4
|
+
initialTemplate?: Required<PaginatedMetadataTemplateList>['results'][0];
|
|
5
|
+
itemsRef?: Ref<any[]> | ComputedRef<any[]>;
|
|
6
|
+
}
|
|
7
|
+
export default function useMetadataTemplates(options?: UseMetadataTemplatesOptions): {
|
|
8
|
+
template: Ref<{
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly instance: {
|
|
11
|
+
readonly id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
readonly file: {
|
|
15
|
+
readonly id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
sections?: {
|
|
19
|
+
label: string;
|
|
20
|
+
fields: {
|
|
21
|
+
type: import('../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
22
|
+
name: string;
|
|
23
|
+
label: string;
|
|
24
|
+
help_text?: string | undefined;
|
|
25
|
+
is_required?: boolean | undefined;
|
|
26
|
+
is_filterable?: boolean | undefined;
|
|
27
|
+
is_sortable?: boolean | undefined;
|
|
28
|
+
is_pitch_master?: boolean | undefined;
|
|
29
|
+
options?: {
|
|
30
|
+
label: string;
|
|
31
|
+
value: string;
|
|
32
|
+
}[] | undefined;
|
|
33
|
+
default?: (string | boolean | number) | null | undefined;
|
|
34
|
+
}[];
|
|
35
|
+
are_fields_dependent?: boolean | undefined;
|
|
36
|
+
}[] | undefined;
|
|
37
|
+
readonly created_at: string;
|
|
38
|
+
readonly created_by: {
|
|
39
|
+
readonly id: number;
|
|
40
|
+
readonly name: string;
|
|
41
|
+
email?: string | undefined;
|
|
42
|
+
};
|
|
43
|
+
readonly modified_at: string;
|
|
44
|
+
readonly modified_by: {
|
|
45
|
+
readonly id: number;
|
|
46
|
+
readonly name: string;
|
|
47
|
+
email?: string | undefined;
|
|
48
|
+
};
|
|
49
|
+
readonly owned_by: {
|
|
50
|
+
readonly id: number;
|
|
51
|
+
readonly name: string;
|
|
52
|
+
email?: string | undefined;
|
|
53
|
+
};
|
|
54
|
+
} | undefined, import('../../types/openapi').MetadataTemplate | {
|
|
55
|
+
readonly id: string;
|
|
56
|
+
readonly instance: {
|
|
57
|
+
readonly id: string;
|
|
58
|
+
name: string;
|
|
59
|
+
};
|
|
60
|
+
readonly file: {
|
|
61
|
+
readonly id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
};
|
|
64
|
+
sections?: {
|
|
65
|
+
label: string;
|
|
66
|
+
fields: {
|
|
67
|
+
type: import('../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
68
|
+
name: string;
|
|
69
|
+
label: string;
|
|
70
|
+
help_text?: string | undefined;
|
|
71
|
+
is_required?: boolean | undefined;
|
|
72
|
+
is_filterable?: boolean | undefined;
|
|
73
|
+
is_sortable?: boolean | undefined;
|
|
74
|
+
is_pitch_master?: boolean | undefined;
|
|
75
|
+
options?: {
|
|
76
|
+
label: string;
|
|
77
|
+
value: string;
|
|
78
|
+
}[] | undefined;
|
|
79
|
+
default?: (string | boolean | number) | null | undefined;
|
|
80
|
+
}[];
|
|
81
|
+
are_fields_dependent?: boolean | undefined;
|
|
82
|
+
}[] | undefined;
|
|
83
|
+
readonly created_at: string;
|
|
84
|
+
readonly created_by: {
|
|
85
|
+
readonly id: number;
|
|
86
|
+
readonly name: string;
|
|
87
|
+
email?: string | undefined;
|
|
88
|
+
};
|
|
89
|
+
readonly modified_at: string;
|
|
90
|
+
readonly modified_by: {
|
|
91
|
+
readonly id: number;
|
|
92
|
+
readonly name: string;
|
|
93
|
+
email?: string | undefined;
|
|
94
|
+
};
|
|
95
|
+
readonly owned_by: {
|
|
96
|
+
readonly id: number;
|
|
97
|
+
readonly name: string;
|
|
98
|
+
email?: string | undefined;
|
|
99
|
+
};
|
|
100
|
+
} | undefined>;
|
|
101
|
+
originalTemplate: Ref<{
|
|
102
|
+
readonly id: string;
|
|
103
|
+
readonly instance: {
|
|
104
|
+
readonly id: string;
|
|
105
|
+
name: string;
|
|
106
|
+
};
|
|
107
|
+
readonly file: {
|
|
108
|
+
readonly id: string;
|
|
109
|
+
name: string;
|
|
110
|
+
};
|
|
111
|
+
sections?: {
|
|
112
|
+
label: string;
|
|
113
|
+
fields: {
|
|
114
|
+
type: import('../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
115
|
+
name: string;
|
|
116
|
+
label: string;
|
|
117
|
+
help_text?: string | undefined;
|
|
118
|
+
is_required?: boolean | undefined;
|
|
119
|
+
is_filterable?: boolean | undefined;
|
|
120
|
+
is_sortable?: boolean | undefined;
|
|
121
|
+
is_pitch_master?: boolean | undefined;
|
|
122
|
+
options?: {
|
|
123
|
+
label: string;
|
|
124
|
+
value: string;
|
|
125
|
+
}[] | undefined;
|
|
126
|
+
default?: (string | boolean | number) | null | undefined;
|
|
127
|
+
}[];
|
|
128
|
+
are_fields_dependent?: boolean | undefined;
|
|
129
|
+
}[] | undefined;
|
|
130
|
+
readonly created_at: string;
|
|
131
|
+
readonly created_by: {
|
|
132
|
+
readonly id: number;
|
|
133
|
+
readonly name: string;
|
|
134
|
+
email?: string | undefined;
|
|
135
|
+
};
|
|
136
|
+
readonly modified_at: string;
|
|
137
|
+
readonly modified_by: {
|
|
138
|
+
readonly id: number;
|
|
139
|
+
readonly name: string;
|
|
140
|
+
email?: string | undefined;
|
|
141
|
+
};
|
|
142
|
+
readonly owned_by: {
|
|
143
|
+
readonly id: number;
|
|
144
|
+
readonly name: string;
|
|
145
|
+
email?: string | undefined;
|
|
146
|
+
};
|
|
147
|
+
} | undefined, import('../../types/openapi').MetadataTemplate | {
|
|
148
|
+
readonly id: string;
|
|
149
|
+
readonly instance: {
|
|
150
|
+
readonly id: string;
|
|
151
|
+
name: string;
|
|
152
|
+
};
|
|
153
|
+
readonly file: {
|
|
154
|
+
readonly id: string;
|
|
155
|
+
name: string;
|
|
156
|
+
};
|
|
157
|
+
sections?: {
|
|
158
|
+
label: string;
|
|
159
|
+
fields: {
|
|
160
|
+
type: import('../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
161
|
+
name: string;
|
|
162
|
+
label: string;
|
|
163
|
+
help_text?: string | undefined;
|
|
164
|
+
is_required?: boolean | undefined;
|
|
165
|
+
is_filterable?: boolean | undefined;
|
|
166
|
+
is_sortable?: boolean | undefined;
|
|
167
|
+
is_pitch_master?: boolean | undefined;
|
|
168
|
+
options?: {
|
|
169
|
+
label: string;
|
|
170
|
+
value: string;
|
|
171
|
+
}[] | undefined;
|
|
172
|
+
default?: (string | boolean | number) | null | undefined;
|
|
173
|
+
}[];
|
|
174
|
+
are_fields_dependent?: boolean | undefined;
|
|
175
|
+
}[] | undefined;
|
|
176
|
+
readonly created_at: string;
|
|
177
|
+
readonly created_by: {
|
|
178
|
+
readonly id: number;
|
|
179
|
+
readonly name: string;
|
|
180
|
+
email?: string | undefined;
|
|
181
|
+
};
|
|
182
|
+
readonly modified_at: string;
|
|
183
|
+
readonly modified_by: {
|
|
184
|
+
readonly id: number;
|
|
185
|
+
readonly name: string;
|
|
186
|
+
email?: string | undefined;
|
|
187
|
+
};
|
|
188
|
+
readonly owned_by: {
|
|
189
|
+
readonly id: number;
|
|
190
|
+
readonly name: string;
|
|
191
|
+
email?: string | undefined;
|
|
192
|
+
};
|
|
193
|
+
} | undefined>;
|
|
194
|
+
isLoading: Ref<boolean, boolean>;
|
|
195
|
+
getFields: ComputedRef<MetadataTemplateField[]>;
|
|
196
|
+
processItemMetadata: (item: any) => Record<string, any>;
|
|
197
|
+
processCollectionMetadata: (items: any[]) => Record<string, any>;
|
|
198
|
+
fetchTemplate: () => Promise<{
|
|
199
|
+
readonly id: string;
|
|
200
|
+
readonly instance: {
|
|
201
|
+
readonly id: string;
|
|
202
|
+
name: string;
|
|
203
|
+
};
|
|
204
|
+
readonly file: {
|
|
205
|
+
readonly id: string;
|
|
206
|
+
name: string;
|
|
207
|
+
};
|
|
208
|
+
sections?: {
|
|
209
|
+
label: string;
|
|
210
|
+
fields: {
|
|
211
|
+
type: import('../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
212
|
+
name: string;
|
|
213
|
+
label: string;
|
|
214
|
+
help_text?: string | undefined;
|
|
215
|
+
is_required?: boolean | undefined;
|
|
216
|
+
is_filterable?: boolean | undefined;
|
|
217
|
+
is_sortable?: boolean | undefined;
|
|
218
|
+
is_pitch_master?: boolean | undefined;
|
|
219
|
+
options?: {
|
|
220
|
+
label: string;
|
|
221
|
+
value: string;
|
|
222
|
+
}[] | undefined;
|
|
223
|
+
default?: (string | boolean | number) | null | undefined;
|
|
224
|
+
}[];
|
|
225
|
+
are_fields_dependent?: boolean | undefined;
|
|
226
|
+
}[] | undefined;
|
|
227
|
+
readonly created_at: string;
|
|
228
|
+
readonly created_by: {
|
|
229
|
+
readonly id: number;
|
|
230
|
+
readonly name: string;
|
|
231
|
+
email?: string | undefined;
|
|
232
|
+
};
|
|
233
|
+
readonly modified_at: string;
|
|
234
|
+
readonly modified_by: {
|
|
235
|
+
readonly id: number;
|
|
236
|
+
readonly name: string;
|
|
237
|
+
email?: string | undefined;
|
|
238
|
+
};
|
|
239
|
+
readonly owned_by: {
|
|
240
|
+
readonly id: number;
|
|
241
|
+
readonly name: string;
|
|
242
|
+
email?: string | undefined;
|
|
243
|
+
};
|
|
244
|
+
} | null>;
|
|
245
|
+
processedMetadata: ComputedRef<Record<string, any>> | Ref<Record<string, any>, Record<string, any>>;
|
|
246
|
+
};
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { PLATFORM_TYPE, CLIENT_TYPE, CDP_EVENT_TYPE } from '../constants/cdp.const';
|
|
2
2
|
import { usePitcherApi } from '../sdk/main';
|
|
3
3
|
type EventType = 'active' | 'passive';
|
|
4
|
+
type EventLifecycle = 'enter' | 'exit';
|
|
4
5
|
export type InactiveEventPayload = {
|
|
5
6
|
platform?: (typeof PLATFORM_TYPE)[keyof typeof PLATFORM_TYPE];
|
|
6
7
|
client?: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
8
|
+
pair_id?: string;
|
|
7
9
|
[key: string]: any;
|
|
8
10
|
};
|
|
9
11
|
export default function (track: (eventName: string, payload: any) => void, pitcherApi?: ReturnType<typeof usePitcherApi>): {
|
|
10
12
|
registerInactiveEvent: ({ id, payload, enterEvent, exitEvent, type, }: {
|
|
11
13
|
id: string;
|
|
12
|
-
payload: InactiveEventPayload | (() => InactiveEventPayload);
|
|
14
|
+
payload: InactiveEventPayload | ((type?: EventLifecycle) => InactiveEventPayload);
|
|
13
15
|
enterEvent: (typeof CDP_EVENT_TYPE)[keyof typeof CDP_EVENT_TYPE];
|
|
14
16
|
exitEvent: (typeof CDP_EVENT_TYPE)[keyof typeof CDP_EVENT_TYPE];
|
|
15
17
|
type?: EventType;
|
|
16
|
-
}) => void;
|
|
17
|
-
unregisterInactiveEvent: (id: string) => void;
|
|
18
|
+
}) => string | void;
|
|
19
|
+
unregisterInactiveEvent: (id: string, canvas_correlation_id?: string) => void;
|
|
18
20
|
};
|
|
19
21
|
export {};
|
|
@@ -2,10 +2,14 @@ export declare const APPS_DB: {
|
|
|
2
2
|
readonly STORES: {
|
|
3
3
|
readonly SMART_FOLDERS: "smart-folders";
|
|
4
4
|
readonly BLOCK_OVERRIDES: "block-overrides";
|
|
5
|
+
readonly FILE_SMART_FOLDERS: "file-smart-folders";
|
|
6
|
+
readonly PITCH_MASTER: "pitch-master";
|
|
5
7
|
};
|
|
6
8
|
readonly ENTRIES: {
|
|
9
|
+
readonly AGENDA: "agenda";
|
|
7
10
|
readonly CONFIGURATION: "configuration";
|
|
8
11
|
readonly BLOCK_OVERRIDES: "block_overrides_by_block_id";
|
|
12
|
+
readonly FILE_SMART_FOLDERS: "file_smart_folders_configuration";
|
|
9
13
|
};
|
|
10
14
|
readonly GLOBAL_STORES: {};
|
|
11
15
|
readonly GLOBAL_ENTRIES: {};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export declare const CDP_EVENT_TYPE: {
|
|
2
|
-
readonly instanceEntered: "Instance Entered";
|
|
3
|
-
readonly instanceExited: "Instance Exited";
|
|
4
2
|
readonly fileEntered: "File Entered";
|
|
5
3
|
readonly fileExited: "File Exited";
|
|
6
4
|
readonly webFileEntered: "Web File Entered";
|
|
@@ -8,6 +6,8 @@ export declare const CDP_EVENT_TYPE: {
|
|
|
8
6
|
readonly pageEntered: "Page Entered";
|
|
9
7
|
readonly pageExited: "Page Exited";
|
|
10
8
|
readonly pageViewed: "Page Viewed";
|
|
9
|
+
readonly appEntered: "App Entered";
|
|
10
|
+
readonly appExited: "App Exited";
|
|
11
11
|
readonly canvasEntered: "Canvas Entered";
|
|
12
12
|
readonly canvasExited: "Canvas Exited";
|
|
13
13
|
readonly canvasShared: "Canvas Shared";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MAX_LUMINANCE_FOR_LIGHT_TEXT = 160;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const QUERY_OPERATORS: readonly ["contains", "not_contains", "true", "false", "eq", "neq", "gt", "gte", "lt", "lte"];
|
package/lib/main.lib.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export { default as CModal } from './components/CModal/CModal.vue';
|
|
|
26
26
|
export { default as CPopover } from './components/CPopover/CPopover.vue';
|
|
27
27
|
export { default as CSearch } from './components/CSearch/CSearch.vue';
|
|
28
28
|
export { default as CSearchOnClick } from './components/CSearch/CSearchOnClick.vue';
|
|
29
|
+
export { default as CSearchOnClickWithSuggestions } from './components/CSearch/CSearchOnClickWithSuggestions.vue';
|
|
29
30
|
export { default as CSelect } from './components/CSelect/CSelect.vue';
|
|
30
31
|
export { default as CTag } from './components/CTag/CTag.vue';
|
|
31
32
|
export { default as CThemeEditor } from './components/CThemeEditor/CThemeEditor.vue';
|
|
@@ -47,8 +48,10 @@ export { default as CContactSelectorSelected } from './components/CContactSelect
|
|
|
47
48
|
export * from './components/CContactSelector/CContactSelector.types';
|
|
48
49
|
export { default as CCreateCanvasModal } from './components/CCreateCanvasModal/CCreateCanvasModal.vue';
|
|
49
50
|
export { default as CCreateTemplateSectionBlockModal } from './components/CCreateTemplateSectionBlockModal/CCreateTemplateSectionBlockModal.vue';
|
|
51
|
+
export { default as CCreateThemeModal } from './components/CCreateThemeModal/CCreateThemeModal.vue';
|
|
50
52
|
export { default as CGlobalSearch } from './components/CGlobalSearch/CGlobalSearch.vue';
|
|
51
53
|
export { default as CComponentListItem } from './components/CComponentListItem/CComponentListItem.vue';
|
|
54
|
+
export { default as CMetaDataBadge } from './components/CMetaDataBadge/CMetaDataBadge.vue';
|
|
52
55
|
export { default as CSecondaryNav } from './components/CSecondaryNav/CSecondaryNav.vue';
|
|
53
56
|
export { default as CShortcut } from './components/CShortcut/CShortcut.vue';
|
|
54
57
|
export { default as useGlobalSearch } from './components/CGlobalSearch/GlobalSearch.use';
|
|
@@ -63,6 +66,7 @@ export { default as CCanvasDeleteDialogContent } from './components/canvases/CCa
|
|
|
63
66
|
export { default as CSectionManagement } from './components/sections/CSectionManagement.vue';
|
|
64
67
|
export { default as CBlockManagement } from './components/canvas-blocks/CBlockManagement.vue';
|
|
65
68
|
export { default as CTemplateManagement } from './components/canvas-templates/CTemplateManagement.vue';
|
|
69
|
+
export { default as CThemeManagement } from './components/themes/CThemeManagement.vue';
|
|
66
70
|
export { default as CSavedCanvasesManagement } from './components/savedCanvases/CSavedCanvasesManagement.vue';
|
|
67
71
|
export { default as useShareCanvas } from './components/savedCanvases/CSavedCanvasesManagementShareCanvas.use';
|
|
68
72
|
export { default as CConfigEditor } from './components/CConfigEditor/CConfigEditor.vue';
|
|
@@ -94,10 +98,13 @@ export { default as CKnockNotificationsAppWrapper } from './components/CKnockNot
|
|
|
94
98
|
export { default as CChip } from './components/CChip/CChip.vue';
|
|
95
99
|
export { default as CSettingsEditor } from './components/CSettingsEditor/CSettingsEditor.vue';
|
|
96
100
|
export { default as CFilePanel } from './components/CFilePanel/CFilePanel.vue';
|
|
101
|
+
export { default as CWarningAlert } from './components/CWarningAlert/CWarningAlert.vue';
|
|
102
|
+
export { default as CUpsertFolderModal } from './components/CUpsertFolderModal/CUpsertFolderModal.vue';
|
|
97
103
|
export { default as CanvasBuilderApp } from './apps/canvas-builder/App.vue';
|
|
98
104
|
export { default as CollectionSelectorApp } from './apps/collection-selector/App.vue';
|
|
99
105
|
export { default as CollectionPlayerApp } from './apps/collection-player/App.vue';
|
|
100
106
|
export { default as AgendaSelectorApp } from './apps/agenda-selector/App.vue';
|
|
107
|
+
export { default as PptConversionSelectorApp } from './apps/ppt-conversion-selector/App.vue';
|
|
101
108
|
export { type CanvasBuilderProps, CanvasBuilderMode } from './apps/canvas-builder/types/canvas';
|
|
102
109
|
export { type FontAwesomeType } from './apps/canvas-builder/types/font-awesome.types';
|
|
103
110
|
export { default as Browser } from './apps/browser/App.vue';
|
|
@@ -108,6 +115,10 @@ export { default as CanvasSelector } from './apps/canvas-selector/App.vue';
|
|
|
108
115
|
export type { CanvasSelection } from './apps/canvas-selector/appTypes';
|
|
109
116
|
export { default as NotesApp } from './apps/notes/NotesApp.vue';
|
|
110
117
|
export { default as useNotesApp } from './apps/notes/composables/useNotesApp';
|
|
118
|
+
export * as pptConversionSelector from './apps/ppt-conversion-selector/export';
|
|
119
|
+
export * as collectionSelector from './apps/collection-selector/export';
|
|
120
|
+
export * as collectionPlayer from './apps/collection-player/export';
|
|
121
|
+
export * as agendaSelector from './apps/agenda-selector/export';
|
|
111
122
|
export { default as useTheme } from './composables/useTheme';
|
|
112
123
|
export { default as useThemeVars } from './composables/useThemeVars';
|
|
113
124
|
export { default as useBindValidation } from './composables/useBindValidation';
|
|
@@ -124,6 +135,10 @@ export { default as useSuggestedTags } from './composables/suggestedTags.use';
|
|
|
124
135
|
export { default as useOpenFileStack } from './composables/openFileStack.use';
|
|
125
136
|
export { useAdminAndDsrState } from './composables/useAdminAndDsrState';
|
|
126
137
|
export { default as useCanvasVisibility } from './apps/canvas-builder/composables/useCanvasVisibility';
|
|
138
|
+
export { default as useMetadataTemplates } from './composables/useMetadataTemplates';
|
|
139
|
+
export { default as useMetadataSearch } from './composables/useMetadataSearch';
|
|
140
|
+
export * from './composables/appsDb.use';
|
|
141
|
+
export { default as useCanvasLocks } from './composables/useCanvasLocks';
|
|
127
142
|
export * from './plugins/vueQuery';
|
|
128
143
|
export * from './apps/canvas-builder/util/canvas.util';
|
|
129
144
|
export * from './apps/canvas-builder/util/tree';
|
|
@@ -149,6 +164,8 @@ export * from './util/reactive';
|
|
|
149
164
|
export * from './util/timer';
|
|
150
165
|
export * from './util/translations';
|
|
151
166
|
export * from './util/tsHelpers';
|
|
167
|
+
export * from './util/file.util';
|
|
168
|
+
export * from './util/url';
|
|
152
169
|
export * from './util/user';
|
|
153
170
|
export * from './util/userAgents';
|
|
154
171
|
export * from './util/usage-tracking.util';
|
|
@@ -157,6 +174,7 @@ export * from './util/eval';
|
|
|
157
174
|
export * from './apps/collection-selector/utils/content-selector-adapter.util';
|
|
158
175
|
export * from './sdk/main';
|
|
159
176
|
export * from '../types/openapi';
|
|
177
|
+
export * from './types/core';
|
|
160
178
|
export * from './components/CGlobalSearch/CGlobalSearch.types';
|
|
161
179
|
export * from './types/dataTable';
|
|
162
180
|
export * from './types/filter';
|
|
@@ -166,8 +184,10 @@ export * from './types/paginatedData';
|
|
|
166
184
|
export * from './types/users';
|
|
167
185
|
export * from './types/canvases';
|
|
168
186
|
export * from './types/canvasActions';
|
|
187
|
+
export * from './types/canvasTheme';
|
|
169
188
|
export * from './types/favorites';
|
|
170
189
|
export * from './types/files';
|
|
190
|
+
export * from './types/folder';
|
|
171
191
|
export * from './types/file.types';
|
|
172
192
|
export * from './types/app';
|
|
173
193
|
export * from './types/vueVirtualScroller';
|
|
@@ -184,12 +204,14 @@ export * from './types/toast';
|
|
|
184
204
|
export * from './types/instanceSettings.types';
|
|
185
205
|
export * from './types/organizationSettings.types';
|
|
186
206
|
export * from './components/CConfigEditor/CConfigEditor.types';
|
|
207
|
+
export * from './types/search';
|
|
187
208
|
export * from './types/selections';
|
|
188
209
|
export * from './apps/agenda-selector/types/agenda.type';
|
|
189
210
|
export * from './apps/collection-player/types/collection-player.type';
|
|
190
211
|
export * from './apps/collection-selector/types/collection-selector.type';
|
|
191
|
-
export *
|
|
212
|
+
export * from './apps/ppt-conversion-selector/types/model.type';
|
|
192
213
|
export * from './constants/cdp.const';
|
|
214
|
+
export * from './constants/color.const';
|
|
193
215
|
export * from './constants/uploads.const';
|
|
194
216
|
export * from './constants/tables.const';
|
|
195
217
|
export * from './constants/timers.const';
|
|
@@ -197,6 +219,8 @@ export * from './constants/url.const';
|
|
|
197
219
|
export * from './constants/conventions.const';
|
|
198
220
|
export * from './constants/config.const';
|
|
199
221
|
export * from './constants/pitcherSettings.const';
|
|
222
|
+
export * from './constants/appsDb.const';
|
|
223
|
+
export * from './apps/canvas-builder/constants/theme.const';
|
|
200
224
|
export * from './api/events/events.queries';
|
|
201
225
|
export * from './api/users/users.queries';
|
|
202
226
|
export * from './api/canvases/canvases.queries';
|
|
@@ -110,7 +110,6 @@ export declare function createHighLevelApi(options?: ApiOptions): {
|
|
|
110
110
|
getEnv(): Promise<import('../interfaces').PitcherEnv>;
|
|
111
111
|
updateMyUser(payload: {
|
|
112
112
|
language?: import('../../main.lib').LanguageEnum | undefined;
|
|
113
|
-
dark_mode?: boolean | undefined;
|
|
114
113
|
}): Promise<import('../../main.lib').User>;
|
|
115
114
|
getLanguages(): Promise<modules.Language[]>;
|
|
116
115
|
getEvents(payload: Partial<import('../../main.lib').EventRequest>): Promise<import('../../main.lib').PaginatedData<import('../../main.lib').Event>>;
|
|
@@ -146,6 +145,12 @@ export declare function createHighLevelApi(options?: ApiOptions): {
|
|
|
146
145
|
canvas_id: import('../../main.lib').CanvasRetrieve["id"];
|
|
147
146
|
match?: ("tags" | "metadata")[];
|
|
148
147
|
}): Promise<import('../../main.lib').CanvasRecommendedFiles>;
|
|
148
|
+
getCanvasTheme(payload: {
|
|
149
|
+
canvas_id: import('../../main.lib').CanvasRetrieve["id"];
|
|
150
|
+
}): Promise<import('../../main.lib').CanvasThemeRetrieve>;
|
|
151
|
+
unassignCanvasTheme(payload: {
|
|
152
|
+
canvas_id: import('../../main.lib').CanvasRetrieve["id"];
|
|
153
|
+
}): Promise<void>;
|
|
149
154
|
getFiles(payload: import('../payload.types').ListFilesPayload & {
|
|
150
155
|
filters?: Record<string, any>;
|
|
151
156
|
fields?: string;
|
|
@@ -222,6 +227,12 @@ export declare function createHighLevelApi(options?: ApiOptions): {
|
|
|
222
227
|
type: "folder" | "file";
|
|
223
228
|
}[];
|
|
224
229
|
}): Promise<import('../../main.lib').FolderRetrieve>;
|
|
230
|
+
getCoreFolders(payload: {
|
|
231
|
+
instance_id: string;
|
|
232
|
+
entity: import('../../main.lib').CoreFolderEntityType;
|
|
233
|
+
parent_id?: string | null;
|
|
234
|
+
}): Promise<import('../../main.lib').CoreFolderContentsRetrieve>;
|
|
235
|
+
patchCoreFolder(id: string, payload: Partial<import('../../main.lib').CoreFolderRetrieve>): Promise<import('../../main.lib').CoreFolderContentsRetrieve>;
|
|
225
236
|
getFavorites(payload?: import('../../main.lib').GetFavoritesParams): Promise<import('../../main.lib').PaginatedFavoriteList>;
|
|
226
237
|
createFavorite(payload: import('../../main.lib').FavoriteCreateRequest): Promise<import('../../main.lib').Favorite>;
|
|
227
238
|
deleteFavorite(payload: {
|
|
@@ -238,5 +249,13 @@ export declare function createHighLevelApi(options?: ApiOptions): {
|
|
|
238
249
|
close(): Promise<any>;
|
|
239
250
|
openWebViewAlwaysOnTop(payload: import('../payload.types').OpenWebViewAlwaysOnTop): Promise<void>;
|
|
240
251
|
share(payload: import('../payload.types').SharePayload): Promise<import('../payload.types').ShareResponse>;
|
|
252
|
+
getThemes(payload: Partial<import('../../main.lib').CanvasThemeRetrieve>): Promise<import('../../main.lib').CanvasThemeRetrieve[]>;
|
|
253
|
+
assignCanvasTheme(payload: {
|
|
254
|
+
canvas_id: import('../../main.lib').CanvasRetrieve["id"];
|
|
255
|
+
theme_id: import('../../main.lib').CanvasThemeRetrieve["id"];
|
|
256
|
+
}): Promise<{
|
|
257
|
+
canvas_id: import('../../main.lib').CanvasRetrieve["id"];
|
|
258
|
+
theme_id: import('../../main.lib').CanvasThemeRetrieve["id"];
|
|
259
|
+
}>;
|
|
241
260
|
API: LowLevelApi;
|
|
242
261
|
};
|
|
@@ -75,6 +75,20 @@ export declare function updateCanvas(payload: PatchedCanvasUpdateRequest & {
|
|
|
75
75
|
* })
|
|
76
76
|
* })
|
|
77
77
|
* ```
|
|
78
|
+
*
|
|
79
|
+
* You can also specify a position for the canvas overlay:
|
|
80
|
+
*
|
|
81
|
+
* ```
|
|
82
|
+
* adminApi.openCanvasOverlay({
|
|
83
|
+
* id: '01HH4RCBH631K4JDHWAQB0RPR6',
|
|
84
|
+
* position: {
|
|
85
|
+
* top: '10px',
|
|
86
|
+
* left: '20px',
|
|
87
|
+
* right: '20px',
|
|
88
|
+
* bottom: '10px'
|
|
89
|
+
* }
|
|
90
|
+
* })
|
|
91
|
+
* ```
|
|
78
92
|
*/
|
|
79
93
|
export declare function openCanvasOverlay(payload: {
|
|
80
94
|
id: CanvasRetrieve['id'];
|
|
@@ -82,6 +96,12 @@ export declare function openCanvasOverlay(payload: {
|
|
|
82
96
|
fullscreen?: boolean;
|
|
83
97
|
component_id?: string;
|
|
84
98
|
section_id?: string;
|
|
99
|
+
position?: {
|
|
100
|
+
left?: number | string;
|
|
101
|
+
right?: number | string;
|
|
102
|
+
top?: number | string;
|
|
103
|
+
bottom?: number | string;
|
|
104
|
+
};
|
|
85
105
|
}): Promise<void>;
|
|
86
106
|
/**
|
|
87
107
|
* Allows the user to select (and preselect) canvases from the instance.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdminSelectAgendaRequest, AdminSelectAgendaResponse, AdminSelectCollectionPlayerRequest, AdminSelectCollectionPlayerResponse } from './types.admin';
|
|
1
|
+
import { AdminSelectAgendaRequest, AdminSelectAgendaResponse, AdminSelectCollectionPlayerRequest, AdminSelectCollectionPlayerResponse, AdminSelectContentRequest, AdminSelectContentResponse } from './types.admin';
|
|
2
2
|
/**
|
|
3
3
|
* Opens the collection player selector modal to allow the user to select collection player content and handle the outcome.
|
|
4
4
|
* ```
|
|
@@ -6,7 +6,7 @@ import { AdminSelectAgendaRequest, AdminSelectAgendaResponse, AdminSelectCollect
|
|
|
6
6
|
*
|
|
7
7
|
* adminApi.selectCollectionContent({
|
|
8
8
|
* // optional payload
|
|
9
|
-
*
|
|
9
|
+
* initial_data: {
|
|
10
10
|
* name: 'test',
|
|
11
11
|
* groups: []
|
|
12
12
|
* }
|
|
@@ -21,7 +21,7 @@ export declare function selectCollectionContent(payload?: AdminSelectCollectionP
|
|
|
21
21
|
*
|
|
22
22
|
* adminApi.selectAgendaContent({
|
|
23
23
|
* // optional payload
|
|
24
|
-
*
|
|
24
|
+
* initial_agenda: {
|
|
25
25
|
* name: 'test',
|
|
26
26
|
* groups: []
|
|
27
27
|
* }
|
|
@@ -29,3 +29,21 @@ export declare function selectCollectionContent(payload?: AdminSelectCollectionP
|
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
31
|
export declare function selectAgendaContent(payload?: AdminSelectAgendaRequest): Promise<AdminSelectAgendaResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Opens a selector that allows you to select (and preselect) from your Pitcher uploaded content.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* const api = useApi() // or useAdmin() if you know that you 're in Admin app context
|
|
37
|
+
* api
|
|
38
|
+
* .select_content({
|
|
39
|
+
* selections: [
|
|
40
|
+
* { fileId: "01HCZ623YYRFJQ0F7B69VWE510", type: "file" },
|
|
41
|
+
* {
|
|
42
|
+
* fileId: "01HD3XGZ5FN90QJGK7CH8TBZDF",
|
|
43
|
+
* type: "page",
|
|
44
|
+
* pageIndex: 2,
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* })
|
|
48
|
+
*/
|
|
49
|
+
export declare function selectContent(payload: AdminSelectContentRequest): Promise<AdminSelectContentResponse>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AdminSelectContentRequest, AdminSelectContentResponse } from './types.admin';
|
|
2
1
|
import { File, PaginatedFileList } from '../../../../../types/openapi';
|
|
3
2
|
/**
|
|
4
3
|
* Get the metadata object of an app with a given name.
|
|
@@ -44,21 +43,3 @@ export declare function open(payload: {
|
|
|
44
43
|
* adminApi.close()
|
|
45
44
|
*/
|
|
46
45
|
export declare function close(): Promise<void>;
|
|
47
|
-
/**
|
|
48
|
-
* Opens a selector that allows you to select (and preselect) from your Pitcher uploaded content.
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* const api = useApi() // or useAdmin() if you know that you 're in Admin app context
|
|
52
|
-
* api
|
|
53
|
-
* .select_content({
|
|
54
|
-
* selections: [
|
|
55
|
-
* { fileId: "01HCZ623YYRFJQ0F7B69VWE510", type: "file" },
|
|
56
|
-
* {
|
|
57
|
-
* fileId: "01HD3XGZ5FN90QJGK7CH8TBZDF",
|
|
58
|
-
* type: "page",
|
|
59
|
-
* pageIndex: 2,
|
|
60
|
-
* },
|
|
61
|
-
* ],
|
|
62
|
-
* })
|
|
63
|
-
*/
|
|
64
|
-
export declare function selectContent(payload: AdminSelectContentRequest): Promise<AdminSelectContentResponse>;
|
|
@@ -26,7 +26,6 @@ declare const _default: {
|
|
|
26
26
|
id: import('../../../../main.lib').File["id"];
|
|
27
27
|
}): Promise<void>;
|
|
28
28
|
close(): Promise<void>;
|
|
29
|
-
selectContent(payload: import('./types.admin').AdminSelectContentRequest): Promise<import('./types.admin').AdminSelectContentResponse>;
|
|
30
29
|
getInstanceMetadataTemplates(payload?: import('../../../payload.types').GetInstanceMetadataTemplatesPayload): Promise<import('../../../../main.lib').PaginatedMetadataTemplateList>;
|
|
31
30
|
createCanvas(payload: import('../../../../main.lib').CanvasCreateRequest): Promise<import('../../../../main.lib').CanvasRetrieve>;
|
|
32
31
|
getCanvases(payload: import('../../../../main.lib').GetCanvasesParams & {
|
|
@@ -48,11 +47,18 @@ declare const _default: {
|
|
|
48
47
|
fullscreen?: boolean;
|
|
49
48
|
component_id?: string;
|
|
50
49
|
section_id?: string;
|
|
50
|
+
position?: {
|
|
51
|
+
left?: number | string;
|
|
52
|
+
right?: number | string;
|
|
53
|
+
top?: number | string;
|
|
54
|
+
bottom?: number | string;
|
|
55
|
+
};
|
|
51
56
|
}): Promise<void>;
|
|
52
57
|
selectCanvases(payload?: import('./types.admin').AdminSelectCanvasesRequest): Promise<import('./types.admin').AdminSelectCanvasesResponse>;
|
|
53
58
|
getEnv(): Promise<import('./types.admin').AdminEnv>;
|
|
54
59
|
selectCollectionContent(payload?: import('./types.admin').AdminSelectCollectionPlayerRequest): Promise<import('./types.admin').AdminSelectCollectionPlayerResponse>;
|
|
55
60
|
selectAgendaContent(payload?: import('./types.admin').AdminSelectAgendaRequest): Promise<import('./types.admin').AdminSelectAgendaResponse>;
|
|
61
|
+
selectContent(payload: import('./types.admin').AdminSelectContentRequest): Promise<import('./types.admin').AdminSelectContentResponse>;
|
|
56
62
|
on: typeof on;
|
|
57
63
|
toast: typeof toast;
|
|
58
64
|
};
|