@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,7 +1,7 @@
|
|
|
1
1
|
import { PitcherEnv } from '../../../interfaces';
|
|
2
|
-
import { SelectedPage as ContentSelectorSelectedPage, SelectedFile as ContentSelectorSelectedFile } from '../../../../apps/content-selector/stores/app';
|
|
2
|
+
import { SelectedPage as ContentSelectorSelectedPage, SelectedFile as ContentSelectorSelectedFile, SelectorType } from '../../../../apps/content-selector/stores/app';
|
|
3
3
|
import { Selection as ContentSelectorSelection } from '../../../../types/selections';
|
|
4
|
-
import { Canvas } from '../../../../../types/openapi';
|
|
4
|
+
import { Canvas, File } from '../../../../../types/openapi';
|
|
5
5
|
import { CanvasSelection } from '../../../../apps/canvas-selector/appTypes';
|
|
6
6
|
import { CLIENT_TYPE } from '../../../../constants/cdp.const';
|
|
7
7
|
import { LaunchDarklyEnv } from '../../../../types/launchDarkly.types';
|
|
@@ -106,6 +106,10 @@ export type AdminSelectContentRequest = {
|
|
|
106
106
|
* Maximum number of selections allowed (optional).
|
|
107
107
|
*/
|
|
108
108
|
max_selections?: number;
|
|
109
|
+
/**
|
|
110
|
+
* Minimum number of selections allowed (optional).
|
|
111
|
+
*/
|
|
112
|
+
min_selections?: number;
|
|
109
113
|
/**
|
|
110
114
|
* Type of content to allow selection for (optional).
|
|
111
115
|
* file: Files only
|
|
@@ -118,6 +122,26 @@ export type AdminSelectContentRequest = {
|
|
|
118
122
|
* CSS style to apply to the picker (optional).
|
|
119
123
|
*/
|
|
120
124
|
style?: Record<string, any>;
|
|
125
|
+
/**
|
|
126
|
+
* Array of file ids to include in the picker (optional).
|
|
127
|
+
*/
|
|
128
|
+
allowed_ids?: File['id'][];
|
|
129
|
+
/**
|
|
130
|
+
* Array of file extensions to scope out list of the results (optional). Only files with these extensions will be shown.
|
|
131
|
+
*/
|
|
132
|
+
allowed_original_extensions?: string[];
|
|
133
|
+
/**
|
|
134
|
+
* Initial metadata filters to apply to the picker (optional).
|
|
135
|
+
*/
|
|
136
|
+
initial_metadata_filters?: Record<string, any>;
|
|
137
|
+
/**
|
|
138
|
+
* Array of selector types to include in the picker (optional).
|
|
139
|
+
*/
|
|
140
|
+
allowed_selector_types?: SelectorType[];
|
|
141
|
+
/**
|
|
142
|
+
* Disables files from selection which are not sharable (optional).
|
|
143
|
+
*/
|
|
144
|
+
disable_no_sharable?: boolean;
|
|
121
145
|
};
|
|
122
146
|
/**
|
|
123
147
|
* Represents a response to a content selection request.
|
|
@@ -133,9 +157,22 @@ export type AdminSelectContentResponse = {
|
|
|
133
157
|
content?: (ContentSelectorSelectedFile | ContentSelectorSelectedPage)[];
|
|
134
158
|
};
|
|
135
159
|
export type AdminSelectCanvasesRequest = {
|
|
136
|
-
/**
|
|
160
|
+
/**
|
|
161
|
+
* Array of selections.
|
|
162
|
+
*/
|
|
137
163
|
selections?: CanvasSelection[];
|
|
164
|
+
/**
|
|
165
|
+
* Array of canvas types to include in the picker (optional).
|
|
166
|
+
*/
|
|
138
167
|
allowed_types?: ('canvas' | 'canvas-template' | 'section' | 'section-template')[];
|
|
168
|
+
/**
|
|
169
|
+
* Array of canvas ids to include in the picker (optional).
|
|
170
|
+
*/
|
|
171
|
+
allowed_ids?: Canvas['id'][];
|
|
172
|
+
/**
|
|
173
|
+
* Initial metadata filters to apply to the picker (optional).
|
|
174
|
+
*/
|
|
175
|
+
initial_metadata_filters?: Record<string, any>;
|
|
139
176
|
};
|
|
140
177
|
export type AdminSelectCanvasesResponse = {
|
|
141
178
|
/** User action result */
|
|
@@ -202,14 +239,26 @@ export type AdminEnv = {
|
|
|
202
239
|
crm_shape?: Record<string, any>;
|
|
203
240
|
state?: PitcherEnv['state'];
|
|
204
241
|
};
|
|
205
|
-
export type AdminSelectCollectionPlayerRequest =
|
|
242
|
+
export type AdminSelectCollectionPlayerRequest = {
|
|
243
|
+
initial_data?: CollectionSelectorProps['initialData'];
|
|
244
|
+
attach_to?: CollectionSelectorProps['attachTo'];
|
|
245
|
+
open_settings?: CollectionSelectorProps['openSettings'];
|
|
246
|
+
readonly_name?: CollectionSelectorProps['readonlyName'];
|
|
247
|
+
close_on_settings?: CollectionSelectorProps['closeOnSettings'];
|
|
248
|
+
translations?: CollectionSelectorProps['translations'];
|
|
249
|
+
initial_metadata_filters?: CollectionSelectorProps['initialMetadataFilters'];
|
|
250
|
+
hide_close?: CollectionSelectorProps['hideClose'];
|
|
251
|
+
};
|
|
206
252
|
export type AdminSelectCollectionPlayerResponse = {
|
|
207
253
|
/** User action result */
|
|
208
|
-
user_action: 'cancelled' | 'selected';
|
|
254
|
+
user_action: 'cancelled' | 'selected' | 'settings';
|
|
209
255
|
/** Selected content */
|
|
210
256
|
content?: CollectionPlayer;
|
|
211
257
|
};
|
|
212
|
-
export type AdminSelectAgendaRequest =
|
|
258
|
+
export type AdminSelectAgendaRequest = {
|
|
259
|
+
initial_agenda?: AgendaSelectorProps['initialAgenda'];
|
|
260
|
+
attach_to?: AgendaSelectorProps['attachTo'];
|
|
261
|
+
};
|
|
213
262
|
export type AdminSelectAgendaResponse = {
|
|
214
263
|
/** User action result */
|
|
215
264
|
user_action: 'cancelled' | 'selected';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest, SharedLink, Instance, CanvasRecommendedFiles } from '../../../../types/openapi';
|
|
2
2
|
import { GetCanvasesParams, CanvasIndicator } from '../../../types/canvases';
|
|
3
3
|
import { PaginatedData } from '../../../types/paginatedData';
|
|
4
|
+
import { CanvasThemeRetrieve } from '../../../types/canvasTheme';
|
|
4
5
|
/**
|
|
5
6
|
* Fetches a list of canvases to use in your app.
|
|
6
7
|
*
|
|
@@ -80,3 +81,9 @@ export declare function getCanvasRecommendedFiles(payload: {
|
|
|
80
81
|
canvas_id: CanvasRetrieve['id'];
|
|
81
82
|
match?: ('tags' | 'metadata')[];
|
|
82
83
|
}): Promise<CanvasRecommendedFiles>;
|
|
84
|
+
export declare function getCanvasTheme(payload: {
|
|
85
|
+
canvas_id: CanvasRetrieve['id'];
|
|
86
|
+
}): Promise<CanvasThemeRetrieve>;
|
|
87
|
+
export declare function unassignCanvasTheme(payload: {
|
|
88
|
+
canvas_id: CanvasRetrieve['id'];
|
|
89
|
+
}): Promise<void>;
|
|
@@ -17,6 +17,6 @@ import { User } from '../../../../types/openapi';
|
|
|
17
17
|
* })
|
|
18
18
|
*/
|
|
19
19
|
export declare function getEnv(): Promise<PitcherEnv>;
|
|
20
|
-
type UpdateEnvParams = Pick<User, 'language'
|
|
20
|
+
type UpdateEnvParams = Pick<User, 'language'>;
|
|
21
21
|
export declare function updateMyUser(payload: UpdateEnvParams): Promise<User>;
|
|
22
22
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CoreFolderContentsRetrieve, CoreFolderEntityType, CoreFolderRetrieve } from '../../../types/folder';
|
|
2
|
+
export declare function getCoreFolders(payload: {
|
|
3
|
+
instance_id: string;
|
|
4
|
+
entity: CoreFolderEntityType;
|
|
5
|
+
parent_id?: string | null;
|
|
6
|
+
}): Promise<CoreFolderContentsRetrieve>;
|
|
7
|
+
export declare function patchCoreFolder(id: string, payload: Partial<CoreFolderRetrieve>): Promise<CoreFolderContentsRetrieve>;
|
|
@@ -11,6 +11,7 @@ export * from './pspdfkit';
|
|
|
11
11
|
export * from './toast';
|
|
12
12
|
export * from './query';
|
|
13
13
|
export * from './folders';
|
|
14
|
+
export * from './folders.core';
|
|
14
15
|
export * from './favorites';
|
|
15
16
|
export * from './notifications';
|
|
16
17
|
export * from './track';
|
|
@@ -19,3 +20,4 @@ export * from './sync';
|
|
|
19
20
|
export * from './feedback';
|
|
20
21
|
export * from './webView';
|
|
21
22
|
export * from './share';
|
|
23
|
+
export * from './theme';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CanvasThemeRetrieve } from '../../../types/canvasTheme';
|
|
2
|
+
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
3
|
+
export declare function getThemes(payload: Partial<CanvasThemeRetrieve>): Promise<CanvasThemeRetrieve[]>;
|
|
4
|
+
export declare function assignCanvasTheme(payload: {
|
|
5
|
+
canvas_id: CanvasRetrieve['id'];
|
|
6
|
+
theme_id: CanvasThemeRetrieve['id'];
|
|
7
|
+
}): Promise<{
|
|
8
|
+
canvas_id: CanvasRetrieve['id'];
|
|
9
|
+
theme_id: CanvasThemeRetrieve['id'];
|
|
10
|
+
}>;
|
|
@@ -81,6 +81,20 @@ export declare function canvasNavigatePage(payload: UiCanvasNavigatePageRequest)
|
|
|
81
81
|
* })
|
|
82
82
|
* })
|
|
83
83
|
* ```
|
|
84
|
+
*
|
|
85
|
+
* You can also specify a position for the canvas overlay:
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
* uiApi.openCanvasOverlay({
|
|
89
|
+
* id: '01HH4RCBH631K4JDHWAQB0RPR6',
|
|
90
|
+
* position: {
|
|
91
|
+
* top: '10px',
|
|
92
|
+
* left: '20px',
|
|
93
|
+
* right: '20px',
|
|
94
|
+
* bottom: '10px'
|
|
95
|
+
* }
|
|
96
|
+
* })
|
|
97
|
+
* ```
|
|
84
98
|
*/
|
|
85
99
|
export declare function openCanvasOverlay(payload: {
|
|
86
100
|
id: CanvasRetrieve['id'];
|
|
@@ -88,6 +102,12 @@ export declare function openCanvasOverlay(payload: {
|
|
|
88
102
|
fullscreen?: boolean;
|
|
89
103
|
component_id?: string;
|
|
90
104
|
section_id?: string;
|
|
105
|
+
position?: {
|
|
106
|
+
left?: number | string;
|
|
107
|
+
right?: number | string;
|
|
108
|
+
top?: number | string;
|
|
109
|
+
bottom?: number | string;
|
|
110
|
+
};
|
|
91
111
|
}): Promise<void>;
|
|
92
112
|
/**
|
|
93
113
|
* Allows the user to select (and preselect) canvases from the instance.
|
|
@@ -61,7 +61,7 @@ export declare function preselectSfdcMeetingId(payload: UiPreselectSfdcMeetingId
|
|
|
61
61
|
*
|
|
62
62
|
* uiApi.selectCollectionContent({
|
|
63
63
|
* // optional payload
|
|
64
|
-
*
|
|
64
|
+
* initial_data: {
|
|
65
65
|
* name: 'test',
|
|
66
66
|
* groups: []
|
|
67
67
|
* }
|
|
@@ -76,7 +76,7 @@ export declare function selectCollectionContent(payload?: UiSelectCollectionPlay
|
|
|
76
76
|
*
|
|
77
77
|
* uiApi.selectAgendaContent({
|
|
78
78
|
* // optional payload
|
|
79
|
-
*
|
|
79
|
+
* initial_agenda: {
|
|
80
80
|
* name: 'test',
|
|
81
81
|
* groups: []
|
|
82
82
|
* }
|
|
@@ -134,6 +134,12 @@ declare const _default: {
|
|
|
134
134
|
fullscreen?: boolean;
|
|
135
135
|
component_id?: string;
|
|
136
136
|
section_id?: string;
|
|
137
|
+
position?: {
|
|
138
|
+
left?: number | string;
|
|
139
|
+
right?: number | string;
|
|
140
|
+
top?: number | string;
|
|
141
|
+
bottom?: number | string;
|
|
142
|
+
};
|
|
137
143
|
}): Promise<void>;
|
|
138
144
|
selectCanvases(payload?: import('./types.ui').UiSelectCanvasesRequest): Promise<import('./types.ui').UiSelectCanvasesResponse>;
|
|
139
145
|
captureAppError(payload: import('./types.ui').UiCaptureAppErrorRequest): Promise<void>;
|
|
@@ -4,7 +4,7 @@ import { CanvasSelection } from '../../../../apps/canvas-selector/appTypes';
|
|
|
4
4
|
import { ComponentNode, EmbeddableProps } from '../../../../apps/canvas-builder/types/canvas';
|
|
5
5
|
import { SfEvent } from '../../../../types/sfdc';
|
|
6
6
|
import { Mutable } from '../../../../types/ts';
|
|
7
|
-
import { CanvasRetrieve, User, Canvas, CanvasSection, FileContentTypeEnum } from '../../../../../types/openapi';
|
|
7
|
+
import { CanvasRetrieve, File, User, Canvas, CanvasSection, FileContentTypeEnum } from '../../../../../types/openapi';
|
|
8
8
|
import { OpenRequestPayload } from '../../../payload.types';
|
|
9
9
|
import { Range } from '../../../../util/tsHelpers';
|
|
10
10
|
import { Agenda, AgendaSelectorProps } from '../../../../apps/agenda-selector/types/agenda.type';
|
|
@@ -60,6 +60,16 @@ export type UiSelectContentRequest = {
|
|
|
60
60
|
allowed_asset_content_types?: FileContentTypeEnum[];
|
|
61
61
|
max_selections?: number;
|
|
62
62
|
min_selections?: Range<0, 999>;
|
|
63
|
+
allowed_ids?: File['id'][];
|
|
64
|
+
initial_metadata_filters?: Record<string, any>;
|
|
65
|
+
/**
|
|
66
|
+
* Array of file extensions to scope out list of the results (optional). Only files with these extensions will be shown.
|
|
67
|
+
*/
|
|
68
|
+
allowed_original_extensions?: string[];
|
|
69
|
+
/**
|
|
70
|
+
* Disables files from selection which are not sharable (optional).
|
|
71
|
+
*/
|
|
72
|
+
disable_no_sharable?: boolean;
|
|
63
73
|
};
|
|
64
74
|
export type UiSelectContentResponse = {
|
|
65
75
|
/** User action result */
|
|
@@ -67,14 +77,26 @@ export type UiSelectContentResponse = {
|
|
|
67
77
|
/** Selected content */
|
|
68
78
|
content?: (ContentSelectorSelectedFile | ContentSelectorSelectedPage)[];
|
|
69
79
|
};
|
|
70
|
-
export type UiSelectCollectionPlayerRequest =
|
|
80
|
+
export type UiSelectCollectionPlayerRequest = {
|
|
81
|
+
initial_data?: CollectionSelectorProps['initialData'];
|
|
82
|
+
attach_to?: CollectionSelectorProps['attachTo'];
|
|
83
|
+
open_settings?: CollectionSelectorProps['openSettings'];
|
|
84
|
+
readonly_name?: CollectionSelectorProps['readonlyName'];
|
|
85
|
+
close_on_settings?: CollectionSelectorProps['closeOnSettings'];
|
|
86
|
+
translations?: CollectionSelectorProps['translations'];
|
|
87
|
+
initial_metadata_filters?: CollectionSelectorProps['initialMetadataFilters'];
|
|
88
|
+
hide_close?: CollectionSelectorProps['hideClose'];
|
|
89
|
+
};
|
|
71
90
|
export type UiSelectCollectionPlayerResponse = {
|
|
72
91
|
/** User action result */
|
|
73
|
-
user_action: 'cancelled' | 'selected';
|
|
92
|
+
user_action: 'cancelled' | 'selected' | 'settings';
|
|
74
93
|
/** Selected content */
|
|
75
94
|
content?: CollectionPlayer;
|
|
76
95
|
};
|
|
77
|
-
export type UiSelectAgendaRequest =
|
|
96
|
+
export type UiSelectAgendaRequest = {
|
|
97
|
+
initial_agenda?: AgendaSelectorProps['initialAgenda'];
|
|
98
|
+
attach_to?: AgendaSelectorProps['attachTo'];
|
|
99
|
+
};
|
|
78
100
|
export type UiSelectAgendaResponse = {
|
|
79
101
|
/** User action result */
|
|
80
102
|
user_action: 'cancelled' | 'selected';
|
|
@@ -85,6 +107,8 @@ export type UiSelectCanvasesRequest = {
|
|
|
85
107
|
/** Array of selections */
|
|
86
108
|
selections?: CanvasSelection[];
|
|
87
109
|
allowed_types?: ('canvas' | 'canvas-template' | 'section' | 'section-template')[];
|
|
110
|
+
allowed_ids?: Canvas['id'][];
|
|
111
|
+
initial_metadata_filters?: Record<string, any>;
|
|
88
112
|
};
|
|
89
113
|
export type UiSelectCanvasesResponse = {
|
|
90
114
|
/** User action result */
|
package/lib/sdk/interfaces.d.ts
CHANGED
|
@@ -29,11 +29,30 @@ export interface ApiOptions {
|
|
|
29
29
|
casing?: 'camel' | 'snake';
|
|
30
30
|
fetchMode?: FetchMode;
|
|
31
31
|
}
|
|
32
|
+
export interface OrgConfigResponse {
|
|
33
|
+
auth0: {
|
|
34
|
+
domain: string;
|
|
35
|
+
issuer: string;
|
|
36
|
+
audience: string;
|
|
37
|
+
auth0_domain: string;
|
|
38
|
+
web_client_id: string;
|
|
39
|
+
region: 'us' | 'eu' | 'au';
|
|
40
|
+
};
|
|
41
|
+
segment: {
|
|
42
|
+
web_write_key: string;
|
|
43
|
+
};
|
|
44
|
+
region: 'us' | 'eu' | 'au';
|
|
45
|
+
auth0_tenant_region: 'us' | 'eu' | 'au';
|
|
46
|
+
datadog_region: 'us' | 'eu';
|
|
47
|
+
segment_region: 'us' | 'eu';
|
|
48
|
+
sentry_region: 'us' | 'eu';
|
|
49
|
+
}
|
|
32
50
|
export interface PitcherEnv {
|
|
33
51
|
mode: 'WEB' | 'IOS' | 'WINDOWS' | 'ANDROID';
|
|
34
52
|
pitcher: {
|
|
35
53
|
token_claims: Record<string, any>;
|
|
36
54
|
organization: PitcherOrg;
|
|
55
|
+
org_config?: OrgConfigResponse;
|
|
37
56
|
instance: PitcherInstance;
|
|
38
57
|
user: User;
|
|
39
58
|
access_token: string;
|
|
@@ -148,6 +167,10 @@ export interface LocationRoute {
|
|
|
148
167
|
* Indicates if the route is mounted.
|
|
149
168
|
*/
|
|
150
169
|
is_mounted: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* Indicates when application is still registered but not used right now.
|
|
172
|
+
*/
|
|
173
|
+
is_inactive: boolean;
|
|
151
174
|
}
|
|
152
175
|
/**
|
|
153
176
|
* A record of location routes.
|
|
@@ -202,7 +225,7 @@ export interface UpdateLocationOnUpdate extends UpdateLocation {
|
|
|
202
225
|
/**
|
|
203
226
|
* The routes to be updated.
|
|
204
227
|
*/
|
|
205
|
-
routes: Record<string, Omit<LocationRoute, 'is_restoring' | 'is_mounted'>>;
|
|
228
|
+
routes: Record<string, Omit<LocationRoute, 'is_restoring' | 'is_mounted' | 'is_inactive'>>;
|
|
206
229
|
}
|
|
207
230
|
/**
|
|
208
231
|
* Interface for the 'mounted' update location action.
|
package/lib/sdk/main.d.ts
CHANGED
|
@@ -45,6 +45,12 @@ export declare function useUi(): {
|
|
|
45
45
|
fullscreen?: boolean;
|
|
46
46
|
component_id?: string;
|
|
47
47
|
section_id?: string;
|
|
48
|
+
position?: {
|
|
49
|
+
left?: number | string;
|
|
50
|
+
right?: number | string;
|
|
51
|
+
top?: number | string;
|
|
52
|
+
bottom?: number | string;
|
|
53
|
+
};
|
|
48
54
|
}): Promise<void>;
|
|
49
55
|
selectCanvases(payload?: import('./api/modules/ui/types.ui').UiSelectCanvasesRequest): Promise<import('./api/modules/ui/types.ui').UiSelectCanvasesResponse>;
|
|
50
56
|
captureAppError(payload: import('./api/modules/ui/types.ui').UiCaptureAppErrorRequest): Promise<void>;
|
|
@@ -90,7 +96,6 @@ export declare function useAdmin(): {
|
|
|
90
96
|
id: import('../main.lib').File["id"];
|
|
91
97
|
}): Promise<void>;
|
|
92
98
|
close(): Promise<void>;
|
|
93
|
-
selectContent(payload: import('./api/modules/admin/types.admin').AdminSelectContentRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectContentResponse>;
|
|
94
99
|
getInstanceMetadataTemplates(payload?: import('./payload.types').GetInstanceMetadataTemplatesPayload): Promise<import('../main.lib').PaginatedMetadataTemplateList>;
|
|
95
100
|
createCanvas(payload: import('../main.lib').CanvasCreateRequest): Promise<import('../main.lib').CanvasRetrieve>;
|
|
96
101
|
getCanvases(payload: import('../main.lib').GetCanvasesParams & {
|
|
@@ -112,11 +117,18 @@ export declare function useAdmin(): {
|
|
|
112
117
|
fullscreen?: boolean;
|
|
113
118
|
component_id?: string;
|
|
114
119
|
section_id?: string;
|
|
120
|
+
position?: {
|
|
121
|
+
left?: number | string;
|
|
122
|
+
right?: number | string;
|
|
123
|
+
top?: number | string;
|
|
124
|
+
bottom?: number | string;
|
|
125
|
+
};
|
|
115
126
|
}): Promise<void>;
|
|
116
127
|
selectCanvases(payload?: import('./api/modules/admin/types.admin').AdminSelectCanvasesRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectCanvasesResponse>;
|
|
117
128
|
getEnv(): Promise<import('./api/modules/admin/types.admin').AdminEnv>;
|
|
118
129
|
selectCollectionContent(payload?: import('./api/modules/admin/types.admin').AdminSelectCollectionPlayerRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectCollectionPlayerResponse>;
|
|
119
130
|
selectAgendaContent(payload?: import('./api/modules/admin/types.admin').AdminSelectAgendaRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectAgendaResponse>;
|
|
131
|
+
selectContent(payload: import('./api/modules/admin/types.admin').AdminSelectContentRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectContentResponse>;
|
|
120
132
|
on: (type: typeof import('./api/modules/admin/types.admin').ADMIN_MESSAGE_TYPES[keyof typeof import('./api/modules/admin/types.admin').ADMIN_MESSAGE_TYPES], handler: (data: import('./api/modules/admin/types.admin').AdminMessagePayloads[typeof type]) => Promise<void>) => Promise<() => void>;
|
|
121
133
|
toast: (payload: import('./api/modules/admin/types.admin').AdminToastRequest) => Promise<void>;
|
|
122
134
|
};
|
|
@@ -174,7 +186,6 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
174
186
|
getEnv(): Promise<import('./interfaces').PitcherEnv>;
|
|
175
187
|
updateMyUser(payload: {
|
|
176
188
|
language?: import('../main.lib').LanguageEnum | undefined;
|
|
177
|
-
dark_mode?: boolean | undefined;
|
|
178
189
|
}): Promise<import('../main.lib').User>;
|
|
179
190
|
getLanguages(): Promise<import('./api/modules').Language[]>;
|
|
180
191
|
getEvents(payload: Partial<import('../main.lib').EventRequest>): Promise<import('../main.lib').PaginatedData<import('../main.lib').Event>>;
|
|
@@ -210,6 +221,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
210
221
|
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
211
222
|
match?: ("tags" | "metadata")[];
|
|
212
223
|
}): Promise<import('../main.lib').CanvasRecommendedFiles>;
|
|
224
|
+
getCanvasTheme(payload: {
|
|
225
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
226
|
+
}): Promise<import('../main.lib').CanvasThemeRetrieve>;
|
|
227
|
+
unassignCanvasTheme(payload: {
|
|
228
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
229
|
+
}): Promise<void>;
|
|
213
230
|
getFiles(payload: import('./payload.types').ListFilesPayload & {
|
|
214
231
|
filters?: Record<string, any>;
|
|
215
232
|
fields?: string;
|
|
@@ -286,6 +303,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
286
303
|
type: "folder" | "file";
|
|
287
304
|
}[];
|
|
288
305
|
}): Promise<import('../main.lib').FolderRetrieve>;
|
|
306
|
+
getCoreFolders(payload: {
|
|
307
|
+
instance_id: string;
|
|
308
|
+
entity: import('../main.lib').CoreFolderEntityType;
|
|
309
|
+
parent_id?: string | null;
|
|
310
|
+
}): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
311
|
+
patchCoreFolder(id: string, payload: Partial<import('../main.lib').CoreFolderRetrieve>): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
289
312
|
getFavorites(payload?: import('../main.lib').GetFavoritesParams): Promise<import('../main.lib').PaginatedFavoriteList>;
|
|
290
313
|
createFavorite(payload: import('../main.lib').FavoriteCreateRequest): Promise<import('../main.lib').Favorite>;
|
|
291
314
|
deleteFavorite(payload: {
|
|
@@ -302,6 +325,14 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
302
325
|
close(): Promise<any>;
|
|
303
326
|
openWebViewAlwaysOnTop(payload: import('./payload.types').OpenWebViewAlwaysOnTop): Promise<void>;
|
|
304
327
|
share(payload: import('./payload.types').SharePayload): Promise<import('./payload.types').ShareResponse>;
|
|
328
|
+
getThemes(payload: Partial<import('../main.lib').CanvasThemeRetrieve>): Promise<import('../main.lib').CanvasThemeRetrieve[]>;
|
|
329
|
+
assignCanvasTheme(payload: {
|
|
330
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
331
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
332
|
+
}): Promise<{
|
|
333
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
334
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
335
|
+
}>;
|
|
305
336
|
API: import('./api/LowLevelApi').LowLevelApi;
|
|
306
337
|
} | {
|
|
307
338
|
getAppConfig(payload: {
|
|
@@ -315,7 +346,6 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
315
346
|
id: import('../main.lib').File["id"];
|
|
316
347
|
}): Promise<void>;
|
|
317
348
|
close(): Promise<void>;
|
|
318
|
-
selectContent(payload: import('./api/modules/admin/types.admin').AdminSelectContentRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectContentResponse>;
|
|
319
349
|
getInstanceMetadataTemplates(payload?: import('./payload.types').GetInstanceMetadataTemplatesPayload): Promise<import('../main.lib').PaginatedMetadataTemplateList>;
|
|
320
350
|
createCanvas(payload: import('../main.lib').CanvasCreateRequest): Promise<import('../main.lib').CanvasRetrieve>;
|
|
321
351
|
getCanvases(payload: import('../main.lib').GetCanvasesParams & {
|
|
@@ -337,11 +367,18 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
337
367
|
fullscreen?: boolean;
|
|
338
368
|
component_id?: string;
|
|
339
369
|
section_id?: string;
|
|
370
|
+
position?: {
|
|
371
|
+
left?: number | string;
|
|
372
|
+
right?: number | string;
|
|
373
|
+
top?: number | string;
|
|
374
|
+
bottom?: number | string;
|
|
375
|
+
};
|
|
340
376
|
}): Promise<void>;
|
|
341
377
|
selectCanvases(payload?: import('./api/modules/admin/types.admin').AdminSelectCanvasesRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectCanvasesResponse>;
|
|
342
378
|
getEnv(): Promise<import('./api/modules/admin/types.admin').AdminEnv>;
|
|
343
379
|
selectCollectionContent(payload?: import('./api/modules/admin/types.admin').AdminSelectCollectionPlayerRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectCollectionPlayerResponse>;
|
|
344
380
|
selectAgendaContent(payload?: import('./api/modules/admin/types.admin').AdminSelectAgendaRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectAgendaResponse>;
|
|
381
|
+
selectContent(payload: import('./api/modules/admin/types.admin').AdminSelectContentRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectContentResponse>;
|
|
345
382
|
on: (type: typeof import('./api/modules/admin/types.admin').ADMIN_MESSAGE_TYPES[keyof typeof import('./api/modules/admin/types.admin').ADMIN_MESSAGE_TYPES], handler: (data: import('./api/modules/admin/types.admin').AdminMessagePayloads[typeof type]) => Promise<void>) => Promise<() => void>;
|
|
346
383
|
toast: (payload: import('./api/modules/admin/types.admin').AdminToastRequest) => Promise<void>;
|
|
347
384
|
} | {
|
|
@@ -375,6 +412,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
375
412
|
fullscreen?: boolean;
|
|
376
413
|
component_id?: string;
|
|
377
414
|
section_id?: string;
|
|
415
|
+
position?: {
|
|
416
|
+
left?: number | string;
|
|
417
|
+
right?: number | string;
|
|
418
|
+
top?: number | string;
|
|
419
|
+
bottom?: number | string;
|
|
420
|
+
};
|
|
378
421
|
}): Promise<void>;
|
|
379
422
|
selectCanvases(payload?: import('./api/modules/ui/types.ui').UiSelectCanvasesRequest): Promise<import('./api/modules/ui/types.ui').UiSelectCanvasesResponse>;
|
|
380
423
|
captureAppError(payload: import('./api/modules/ui/types.ui').UiCaptureAppErrorRequest): Promise<void>;
|
|
@@ -412,7 +455,6 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
412
455
|
getEnv(): Promise<import('./interfaces').PitcherEnv>;
|
|
413
456
|
updateMyUser(payload: {
|
|
414
457
|
language?: import('../main.lib').LanguageEnum | undefined;
|
|
415
|
-
dark_mode?: boolean | undefined;
|
|
416
458
|
}): Promise<import('../main.lib').User>;
|
|
417
459
|
getLanguages(): Promise<import('./api/modules').Language[]>;
|
|
418
460
|
getEvents(payload: Partial<import('../main.lib').EventRequest>): Promise<import('../main.lib').PaginatedData<import('../main.lib').Event>>;
|
|
@@ -448,6 +490,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
448
490
|
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
449
491
|
match?: ("tags" | "metadata")[];
|
|
450
492
|
}): Promise<import('../main.lib').CanvasRecommendedFiles>;
|
|
493
|
+
getCanvasTheme(payload: {
|
|
494
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
495
|
+
}): Promise<import('../main.lib').CanvasThemeRetrieve>;
|
|
496
|
+
unassignCanvasTheme(payload: {
|
|
497
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
498
|
+
}): Promise<void>;
|
|
451
499
|
getFiles(payload: import('./payload.types').ListFilesPayload & {
|
|
452
500
|
filters?: Record<string, any>;
|
|
453
501
|
fields?: string;
|
|
@@ -524,6 +572,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
524
572
|
type: "folder" | "file";
|
|
525
573
|
}[];
|
|
526
574
|
}): Promise<import('../main.lib').FolderRetrieve>;
|
|
575
|
+
getCoreFolders(payload: {
|
|
576
|
+
instance_id: string;
|
|
577
|
+
entity: import('../main.lib').CoreFolderEntityType;
|
|
578
|
+
parent_id?: string | null;
|
|
579
|
+
}): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
580
|
+
patchCoreFolder(id: string, payload: Partial<import('../main.lib').CoreFolderRetrieve>): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
527
581
|
getFavorites(payload?: import('../main.lib').GetFavoritesParams): Promise<import('../main.lib').PaginatedFavoriteList>;
|
|
528
582
|
createFavorite(payload: import('../main.lib').FavoriteCreateRequest): Promise<import('../main.lib').Favorite>;
|
|
529
583
|
deleteFavorite(payload: {
|
|
@@ -540,6 +594,14 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
540
594
|
close(): Promise<any>;
|
|
541
595
|
openWebViewAlwaysOnTop(payload: import('./payload.types').OpenWebViewAlwaysOnTop): Promise<void>;
|
|
542
596
|
share(payload: import('./payload.types').SharePayload): Promise<import('./payload.types').ShareResponse>;
|
|
597
|
+
getThemes(payload: Partial<import('../main.lib').CanvasThemeRetrieve>): Promise<import('../main.lib').CanvasThemeRetrieve[]>;
|
|
598
|
+
assignCanvasTheme(payload: {
|
|
599
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
600
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
601
|
+
}): Promise<{
|
|
602
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
603
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
604
|
+
}>;
|
|
543
605
|
API: import('./api/LowLevelApi').LowLevelApi;
|
|
544
606
|
};
|
|
545
607
|
promptPia(payload: import('./api/modules/ui/types.ui').UiPromptPiaRequest): Promise<import('./api/modules/ui/types.ui').UiPromptPiaResponse>;
|
|
@@ -563,6 +625,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
563
625
|
fullscreen?: boolean;
|
|
564
626
|
component_id?: string;
|
|
565
627
|
section_id?: string;
|
|
628
|
+
position?: {
|
|
629
|
+
left?: number | string;
|
|
630
|
+
right?: number | string;
|
|
631
|
+
top?: number | string;
|
|
632
|
+
bottom?: number | string;
|
|
633
|
+
};
|
|
566
634
|
}): Promise<void>;
|
|
567
635
|
selectCanvases(payload?: import('./api/modules/ui/types.ui').UiSelectCanvasesRequest): Promise<import('./api/modules/ui/types.ui').UiSelectCanvasesResponse>;
|
|
568
636
|
captureAppError(payload: import('./api/modules/ui/types.ui').UiCaptureAppErrorRequest): Promise<void>;
|
|
@@ -596,7 +664,6 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
596
664
|
getEnv(): Promise<import('./interfaces').PitcherEnv>;
|
|
597
665
|
updateMyUser(payload: {
|
|
598
666
|
language?: import('../main.lib').LanguageEnum | undefined;
|
|
599
|
-
dark_mode?: boolean | undefined;
|
|
600
667
|
}): Promise<import('../main.lib').User>;
|
|
601
668
|
getLanguages(): Promise<import('./api/modules').Language[]>;
|
|
602
669
|
getEvents(payload: Partial<import('../main.lib').EventRequest>): Promise<import('../main.lib').PaginatedData<import('../main.lib').Event>>;
|
|
@@ -627,6 +694,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
627
694
|
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
628
695
|
match?: ("tags" | "metadata")[];
|
|
629
696
|
}): Promise<import('../main.lib').CanvasRecommendedFiles>;
|
|
697
|
+
getCanvasTheme(payload: {
|
|
698
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
699
|
+
}): Promise<import('../main.lib').CanvasThemeRetrieve>;
|
|
700
|
+
unassignCanvasTheme(payload: {
|
|
701
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
702
|
+
}): Promise<void>;
|
|
630
703
|
getFiles(payload: import('./payload.types').ListFilesPayload & {
|
|
631
704
|
filters?: Record<string, any>;
|
|
632
705
|
fields?: string;
|
|
@@ -699,6 +772,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
699
772
|
type: "folder" | "file";
|
|
700
773
|
}[];
|
|
701
774
|
}): Promise<import('../main.lib').FolderRetrieve>;
|
|
775
|
+
getCoreFolders(payload: {
|
|
776
|
+
instance_id: string;
|
|
777
|
+
entity: import('../main.lib').CoreFolderEntityType;
|
|
778
|
+
parent_id?: string | null;
|
|
779
|
+
}): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
780
|
+
patchCoreFolder(id: string, payload: Partial<import('../main.lib').CoreFolderRetrieve>): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
702
781
|
getFavorites(payload?: import('../main.lib').GetFavoritesParams): Promise<import('../main.lib').PaginatedFavoriteList>;
|
|
703
782
|
createFavorite(payload: import('../main.lib').FavoriteCreateRequest): Promise<import('../main.lib').Favorite>;
|
|
704
783
|
deleteFavorite(payload: {
|
|
@@ -715,5 +794,13 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
715
794
|
close(): Promise<any>;
|
|
716
795
|
openWebViewAlwaysOnTop(payload: import('./payload.types').OpenWebViewAlwaysOnTop): Promise<void>;
|
|
717
796
|
share(payload: import('./payload.types').SharePayload): Promise<import('./payload.types').ShareResponse>;
|
|
797
|
+
getThemes(payload: Partial<import('../main.lib').CanvasThemeRetrieve>): Promise<import('../main.lib').CanvasThemeRetrieve[]>;
|
|
798
|
+
assignCanvasTheme(payload: {
|
|
799
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
800
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
801
|
+
}): Promise<{
|
|
802
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
803
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
804
|
+
}>;
|
|
718
805
|
API: import('./api/LowLevelApi').LowLevelApi;
|
|
719
806
|
};
|
|
@@ -112,6 +112,10 @@ export interface OpenRequestPayload {
|
|
|
112
112
|
ids: File['id'][];
|
|
113
113
|
strategy: 'simultaneous' | 'swap';
|
|
114
114
|
};
|
|
115
|
+
/**
|
|
116
|
+
* Id of the canvas section from which the file is opened.
|
|
117
|
+
*/
|
|
118
|
+
usedInSectionId?: CanvasRetrieve['id'];
|
|
115
119
|
/**
|
|
116
120
|
* Id of the canvas from which the file is opened.
|
|
117
121
|
*/
|
|
@@ -152,6 +156,10 @@ export interface OpenRequestPayload {
|
|
|
152
156
|
* Indicates if the app should be opened as overlay.
|
|
153
157
|
*/
|
|
154
158
|
isOverlayApp?: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* Tracking id for the canvas presentation session.
|
|
161
|
+
*/
|
|
162
|
+
canvasCorrelationId?: string;
|
|
155
163
|
}
|
|
156
164
|
/**
|
|
157
165
|
* Payload object for opening an external URL.
|
package/lib/theme/light.d.ts
CHANGED
|
@@ -368,6 +368,7 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
368
368
|
rippleDuration: string;
|
|
369
369
|
}>;
|
|
370
370
|
Input: Partial<{
|
|
371
|
+
fontWeight: string;
|
|
371
372
|
countTextColorDisabled: string;
|
|
372
373
|
countTextColor: string;
|
|
373
374
|
heightTiny: string;
|
|
@@ -682,6 +683,7 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
682
683
|
heightMedium: string;
|
|
683
684
|
heightLarge: string;
|
|
684
685
|
borderRadius: string;
|
|
686
|
+
fontWeight: string;
|
|
685
687
|
textColor: string;
|
|
686
688
|
textColorDisabled: string;
|
|
687
689
|
placeholderColor: string;
|
|
@@ -886,6 +888,7 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
886
888
|
}, any>;
|
|
887
889
|
}>> | undefined;
|
|
888
890
|
Input?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
|
|
891
|
+
fontWeight: string;
|
|
889
892
|
countTextColorDisabled: string;
|
|
890
893
|
countTextColor: string;
|
|
891
894
|
heightTiny: string;
|
|
@@ -960,6 +963,7 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
960
963
|
heightMedium: string;
|
|
961
964
|
heightLarge: string;
|
|
962
965
|
borderRadius: string;
|
|
966
|
+
fontWeight: string;
|
|
963
967
|
textColor: string;
|
|
964
968
|
textColorDisabled: string;
|
|
965
969
|
placeholderColor: string;
|
|
@@ -1476,6 +1480,7 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1476
1480
|
heightMedium: string;
|
|
1477
1481
|
heightLarge: string;
|
|
1478
1482
|
borderRadius: string;
|
|
1483
|
+
fontWeight: string;
|
|
1479
1484
|
textColor: string;
|
|
1480
1485
|
textColorDisabled: string;
|
|
1481
1486
|
placeholderColor: string;
|
|
@@ -1604,6 +1609,7 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1604
1609
|
}>;
|
|
1605
1610
|
}>;
|
|
1606
1611
|
Input: import('naive-ui/es/_mixins').Theme<"Input", {
|
|
1612
|
+
fontWeight: string;
|
|
1607
1613
|
countTextColorDisabled: string;
|
|
1608
1614
|
countTextColor: string;
|
|
1609
1615
|
heightTiny: string;
|