@pitcher/js-api 1.24.0-beta.2 → 1.24.0-rc.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 +2416 -2358
- 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 +8 -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 +162 -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 +48 -18
- package/lib/apps/browser/stores/app.d.ts +9 -3
- package/lib/apps/browser/stores/fileSmartFolderStore.d.ts +95 -0
- package/lib/apps/browser/stores/upload.d.ts +20 -12
- package/lib/apps/browser/util/file.d.ts +1 -0
- package/lib/apps/canvas-builder/App.helpers.d.ts +5 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +27 -32
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +1037 -4
- 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 +56 -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 +12 -16
- package/lib/apps/canvas-builder/components/ui/SectionList/Execution/SectionListExecution.vue.d.ts +5 -5
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +15 -11
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +45 -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 +15 -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 +9 -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 +39 -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/useCanvas.d.ts +251 -119
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +64 -36
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +52 -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 +4 -0
- package/lib/apps/canvas-builder/constants/theme.const.d.ts +4 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +112 -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 +7 -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/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 +7 -3
- package/lib/apps/collection-player/types/collection-player.type.d.ts +1 -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 +164 -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 +11 -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 +15 -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 +25 -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 +3 -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 +211 -57
- package/lib/components/CFileViewer/CFileViewerCloseDialogContent.vue.d.ts +5 -6
- 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 +3 -6
- package/lib/components/CImage/CImage.vue.d.ts +5 -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/CSearchFilters/CSearchFilters.vue.d.ts +88 -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 +9 -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 +1126 -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 +397 -52
- 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 +38 -18
- 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 +8 -3
- package/lib/components/filters/CDateRangeFilter.vue.d.ts +2 -1
- package/lib/components/filters/CSearchFilter.vue.d.ts +76 -2
- package/lib/components/filters/CSelectFilter.vue.d.ts +2 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +531 -62
- 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 +5 -17
- 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 +53 -0
- package/lib/composables/useCoreApi.d.ts +7 -0
- package/lib/composables/useFileDisplayHelpers.d.ts +7 -2
- package/lib/composables/useMetadataTemplates.d.ts +246 -0
- package/lib/composables/useWindowEvents.d.ts +1 -0
- package/lib/constants/appsDb.const.d.ts +4 -0
- 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 +22 -1
- package/lib/sdk/api/HighLevelApi.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 +1 -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/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/content.ui.d.ts +2 -2
- 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 +62 -2
- package/lib/sdk/payload.types.d.ts +4 -0
- package/lib/theme/light.d.ts +6 -0
- package/lib/theme/theme.types.d.ts +7 -0
- package/lib/types/app.d.ts +1 -0
- package/lib/types/canvasTheme.d.ts +37 -0
- package/lib/types/canvases.d.ts +9 -0
- package/lib/types/core/MetadataFilter.d.ts +12 -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 +2 -1
- package/lib/types/folder.d.ts +35 -0
- package/lib/types/instanceSettings.types.d.ts +4 -0
- package/lib/types/launchDarkly.types.d.ts +4 -1
- package/lib/types/organizationSettings.types.d.ts +6 -0
- package/lib/types/query-builder.types.d.ts +7 -0
- 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/query-builder.util.d.ts +2 -0
- package/lib/util/style.util.d.ts +1 -0
- package/lib/util/tree-transformation.util.d.ts +7 -0
- package/lib/util/url.d.ts +2 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +0 -2
- 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/FileRetrieve.d.ts +1 -2
- package/types/openapi/models/FileUpdate.d.ts +1 -2
- 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/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/PatchedInstanceUpdateRequest.d.ts +1 -1
- package/types/openapi/models/SearchCanvas.d.ts +0 -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/StorageRegion.d.ts +0 -5
|
@@ -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
|
* }
|
|
@@ -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
|
@@ -90,7 +90,6 @@ export declare function useAdmin(): {
|
|
|
90
90
|
id: import('../main.lib').File["id"];
|
|
91
91
|
}): Promise<void>;
|
|
92
92
|
close(): Promise<void>;
|
|
93
|
-
selectContent(payload: import('./api/modules/admin/types.admin').AdminSelectContentRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectContentResponse>;
|
|
94
93
|
getInstanceMetadataTemplates(payload?: import('./payload.types').GetInstanceMetadataTemplatesPayload): Promise<import('../main.lib').PaginatedMetadataTemplateList>;
|
|
95
94
|
createCanvas(payload: import('../main.lib').CanvasCreateRequest): Promise<import('../main.lib').CanvasRetrieve>;
|
|
96
95
|
getCanvases(payload: import('../main.lib').GetCanvasesParams & {
|
|
@@ -117,6 +116,7 @@ export declare function useAdmin(): {
|
|
|
117
116
|
getEnv(): Promise<import('./api/modules/admin/types.admin').AdminEnv>;
|
|
118
117
|
selectCollectionContent(payload?: import('./api/modules/admin/types.admin').AdminSelectCollectionPlayerRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectCollectionPlayerResponse>;
|
|
119
118
|
selectAgendaContent(payload?: import('./api/modules/admin/types.admin').AdminSelectAgendaRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectAgendaResponse>;
|
|
119
|
+
selectContent(payload: import('./api/modules/admin/types.admin').AdminSelectContentRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectContentResponse>;
|
|
120
120
|
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
121
|
toast: (payload: import('./api/modules/admin/types.admin').AdminToastRequest) => Promise<void>;
|
|
122
122
|
};
|
|
@@ -210,6 +210,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
210
210
|
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
211
211
|
match?: ("tags" | "metadata")[];
|
|
212
212
|
}): Promise<import('../main.lib').CanvasRecommendedFiles>;
|
|
213
|
+
getCanvasTheme(payload: {
|
|
214
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
215
|
+
}): Promise<import('../main.lib').CanvasThemeRetrieve>;
|
|
216
|
+
unassignCanvasTheme(payload: {
|
|
217
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
218
|
+
}): Promise<void>;
|
|
213
219
|
getFiles(payload: import('./payload.types').ListFilesPayload & {
|
|
214
220
|
filters?: Record<string, any>;
|
|
215
221
|
fields?: string;
|
|
@@ -286,6 +292,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
286
292
|
type: "folder" | "file";
|
|
287
293
|
}[];
|
|
288
294
|
}): Promise<import('../main.lib').FolderRetrieve>;
|
|
295
|
+
getCoreFolders(payload: {
|
|
296
|
+
instance_id: string;
|
|
297
|
+
entity: import('../main.lib').CoreFolderEntityType;
|
|
298
|
+
parent_id?: string | null;
|
|
299
|
+
}): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
300
|
+
patchCoreFolder(id: string, payload: Partial<import('../main.lib').CoreFolderRetrieve>): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
289
301
|
getFavorites(payload?: import('../main.lib').GetFavoritesParams): Promise<import('../main.lib').PaginatedFavoriteList>;
|
|
290
302
|
createFavorite(payload: import('../main.lib').FavoriteCreateRequest): Promise<import('../main.lib').Favorite>;
|
|
291
303
|
deleteFavorite(payload: {
|
|
@@ -302,6 +314,14 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
302
314
|
close(): Promise<any>;
|
|
303
315
|
openWebViewAlwaysOnTop(payload: import('./payload.types').OpenWebViewAlwaysOnTop): Promise<void>;
|
|
304
316
|
share(payload: import('./payload.types').SharePayload): Promise<import('./payload.types').ShareResponse>;
|
|
317
|
+
getThemes(payload: Partial<import('../main.lib').CanvasThemeRetrieve>): Promise<import('../main.lib').CanvasThemeRetrieve[]>;
|
|
318
|
+
assignCanvasTheme(payload: {
|
|
319
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
320
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
321
|
+
}): Promise<{
|
|
322
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
323
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
324
|
+
}>;
|
|
305
325
|
API: import('./api/LowLevelApi').LowLevelApi;
|
|
306
326
|
} | {
|
|
307
327
|
getAppConfig(payload: {
|
|
@@ -315,7 +335,6 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
315
335
|
id: import('../main.lib').File["id"];
|
|
316
336
|
}): Promise<void>;
|
|
317
337
|
close(): Promise<void>;
|
|
318
|
-
selectContent(payload: import('./api/modules/admin/types.admin').AdminSelectContentRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectContentResponse>;
|
|
319
338
|
getInstanceMetadataTemplates(payload?: import('./payload.types').GetInstanceMetadataTemplatesPayload): Promise<import('../main.lib').PaginatedMetadataTemplateList>;
|
|
320
339
|
createCanvas(payload: import('../main.lib').CanvasCreateRequest): Promise<import('../main.lib').CanvasRetrieve>;
|
|
321
340
|
getCanvases(payload: import('../main.lib').GetCanvasesParams & {
|
|
@@ -342,6 +361,7 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
342
361
|
getEnv(): Promise<import('./api/modules/admin/types.admin').AdminEnv>;
|
|
343
362
|
selectCollectionContent(payload?: import('./api/modules/admin/types.admin').AdminSelectCollectionPlayerRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectCollectionPlayerResponse>;
|
|
344
363
|
selectAgendaContent(payload?: import('./api/modules/admin/types.admin').AdminSelectAgendaRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectAgendaResponse>;
|
|
364
|
+
selectContent(payload: import('./api/modules/admin/types.admin').AdminSelectContentRequest): Promise<import('./api/modules/admin/types.admin').AdminSelectContentResponse>;
|
|
345
365
|
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
366
|
toast: (payload: import('./api/modules/admin/types.admin').AdminToastRequest) => Promise<void>;
|
|
347
367
|
} | {
|
|
@@ -448,6 +468,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
448
468
|
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
449
469
|
match?: ("tags" | "metadata")[];
|
|
450
470
|
}): Promise<import('../main.lib').CanvasRecommendedFiles>;
|
|
471
|
+
getCanvasTheme(payload: {
|
|
472
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
473
|
+
}): Promise<import('../main.lib').CanvasThemeRetrieve>;
|
|
474
|
+
unassignCanvasTheme(payload: {
|
|
475
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
476
|
+
}): Promise<void>;
|
|
451
477
|
getFiles(payload: import('./payload.types').ListFilesPayload & {
|
|
452
478
|
filters?: Record<string, any>;
|
|
453
479
|
fields?: string;
|
|
@@ -524,6 +550,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
524
550
|
type: "folder" | "file";
|
|
525
551
|
}[];
|
|
526
552
|
}): Promise<import('../main.lib').FolderRetrieve>;
|
|
553
|
+
getCoreFolders(payload: {
|
|
554
|
+
instance_id: string;
|
|
555
|
+
entity: import('../main.lib').CoreFolderEntityType;
|
|
556
|
+
parent_id?: string | null;
|
|
557
|
+
}): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
558
|
+
patchCoreFolder(id: string, payload: Partial<import('../main.lib').CoreFolderRetrieve>): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
527
559
|
getFavorites(payload?: import('../main.lib').GetFavoritesParams): Promise<import('../main.lib').PaginatedFavoriteList>;
|
|
528
560
|
createFavorite(payload: import('../main.lib').FavoriteCreateRequest): Promise<import('../main.lib').Favorite>;
|
|
529
561
|
deleteFavorite(payload: {
|
|
@@ -540,6 +572,14 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
540
572
|
close(): Promise<any>;
|
|
541
573
|
openWebViewAlwaysOnTop(payload: import('./payload.types').OpenWebViewAlwaysOnTop): Promise<void>;
|
|
542
574
|
share(payload: import('./payload.types').SharePayload): Promise<import('./payload.types').ShareResponse>;
|
|
575
|
+
getThemes(payload: Partial<import('../main.lib').CanvasThemeRetrieve>): Promise<import('../main.lib').CanvasThemeRetrieve[]>;
|
|
576
|
+
assignCanvasTheme(payload: {
|
|
577
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
578
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
579
|
+
}): Promise<{
|
|
580
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
581
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
582
|
+
}>;
|
|
543
583
|
API: import('./api/LowLevelApi').LowLevelApi;
|
|
544
584
|
};
|
|
545
585
|
promptPia(payload: import('./api/modules/ui/types.ui').UiPromptPiaRequest): Promise<import('./api/modules/ui/types.ui').UiPromptPiaResponse>;
|
|
@@ -627,6 +667,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
627
667
|
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
628
668
|
match?: ("tags" | "metadata")[];
|
|
629
669
|
}): Promise<import('../main.lib').CanvasRecommendedFiles>;
|
|
670
|
+
getCanvasTheme(payload: {
|
|
671
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
672
|
+
}): Promise<import('../main.lib').CanvasThemeRetrieve>;
|
|
673
|
+
unassignCanvasTheme(payload: {
|
|
674
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
675
|
+
}): Promise<void>;
|
|
630
676
|
getFiles(payload: import('./payload.types').ListFilesPayload & {
|
|
631
677
|
filters?: Record<string, any>;
|
|
632
678
|
fields?: string;
|
|
@@ -699,6 +745,12 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
699
745
|
type: "folder" | "file";
|
|
700
746
|
}[];
|
|
701
747
|
}): Promise<import('../main.lib').FolderRetrieve>;
|
|
748
|
+
getCoreFolders(payload: {
|
|
749
|
+
instance_id: string;
|
|
750
|
+
entity: import('../main.lib').CoreFolderEntityType;
|
|
751
|
+
parent_id?: string | null;
|
|
752
|
+
}): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
753
|
+
patchCoreFolder(id: string, payload: Partial<import('../main.lib').CoreFolderRetrieve>): Promise<import('../main.lib').CoreFolderContentsRetrieve>;
|
|
702
754
|
getFavorites(payload?: import('../main.lib').GetFavoritesParams): Promise<import('../main.lib').PaginatedFavoriteList>;
|
|
703
755
|
createFavorite(payload: import('../main.lib').FavoriteCreateRequest): Promise<import('../main.lib').Favorite>;
|
|
704
756
|
deleteFavorite(payload: {
|
|
@@ -715,5 +767,13 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
715
767
|
close(): Promise<any>;
|
|
716
768
|
openWebViewAlwaysOnTop(payload: import('./payload.types').OpenWebViewAlwaysOnTop): Promise<void>;
|
|
717
769
|
share(payload: import('./payload.types').SharePayload): Promise<import('./payload.types').ShareResponse>;
|
|
770
|
+
getThemes(payload: Partial<import('../main.lib').CanvasThemeRetrieve>): Promise<import('../main.lib').CanvasThemeRetrieve[]>;
|
|
771
|
+
assignCanvasTheme(payload: {
|
|
772
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
773
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
774
|
+
}): Promise<{
|
|
775
|
+
canvas_id: import('../main.lib').CanvasRetrieve["id"];
|
|
776
|
+
theme_id: import('../main.lib').CanvasThemeRetrieve["id"];
|
|
777
|
+
}>;
|
|
718
778
|
API: import('./api/LowLevelApi').LowLevelApi;
|
|
719
779
|
};
|
|
@@ -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
|
*/
|
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;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SelectOption } from 'naive-ui';
|
|
1
2
|
export type BasicPalette = {
|
|
2
3
|
base: string;
|
|
3
4
|
primary: string;
|
|
@@ -27,3 +28,9 @@ export type BasicPalette = {
|
|
|
27
28
|
boxShadow2: string;
|
|
28
29
|
boxShadow3: string;
|
|
29
30
|
};
|
|
31
|
+
export interface SelectOptionActionUrl extends SelectOption {
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
action?: 'add';
|
|
35
|
+
url?: string | null;
|
|
36
|
+
}
|
package/lib/types/app.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { User } from '../../types/openapi';
|
|
1
2
|
export type CanvasTypographyPresetId = 'h_1' | 'h_2' | 'h_3' | 'big_text' | 'normal_text' | 'small_text';
|
|
2
3
|
export type CanvasTypographyPreset = {
|
|
3
4
|
id: CanvasTypographyPresetId;
|
|
@@ -9,3 +10,39 @@ export type CanvasTypographyPreset = {
|
|
|
9
10
|
line_height: string;
|
|
10
11
|
text_transform: 'capitalize' | 'lowercase' | 'none' | 'uppercase';
|
|
11
12
|
};
|
|
13
|
+
export declare enum CanvasThemeStatus {
|
|
14
|
+
READY = "ready",
|
|
15
|
+
DRAFT = "draft"
|
|
16
|
+
}
|
|
17
|
+
export interface CanvasThemeSettings {
|
|
18
|
+
component_spacing: number;
|
|
19
|
+
background_color: string;
|
|
20
|
+
palette: string[];
|
|
21
|
+
}
|
|
22
|
+
export interface CanvasThemeRetrieve {
|
|
23
|
+
id: string;
|
|
24
|
+
instance_id: string;
|
|
25
|
+
status: CanvasThemeStatus;
|
|
26
|
+
is_default: boolean;
|
|
27
|
+
name: string;
|
|
28
|
+
created_at: string;
|
|
29
|
+
modified_at: string;
|
|
30
|
+
owned_by: User;
|
|
31
|
+
created_by: User;
|
|
32
|
+
modified_by?: User;
|
|
33
|
+
settings: CanvasThemeSettings;
|
|
34
|
+
typography: Record<string, CanvasTypographyPreset>;
|
|
35
|
+
used_in_canvases_count?: number;
|
|
36
|
+
}
|
|
37
|
+
export interface CanvasThemeFormData {
|
|
38
|
+
settings: {
|
|
39
|
+
name: string;
|
|
40
|
+
status: CanvasThemeStatus;
|
|
41
|
+
componentSpacing: number;
|
|
42
|
+
};
|
|
43
|
+
colors: {
|
|
44
|
+
background_color: string;
|
|
45
|
+
palette: string[];
|
|
46
|
+
};
|
|
47
|
+
typography: Record<string, CanvasTypographyPreset>;
|
|
48
|
+
}
|
package/lib/types/canvases.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CanvasRetrieve, User } from '../../types/openapi';
|
|
1
2
|
export interface GetCanvasesParams {
|
|
2
3
|
search?: string;
|
|
3
4
|
account__id?: string;
|
|
@@ -12,6 +13,14 @@ export interface GetCanvasesParams {
|
|
|
12
13
|
page_size?: number;
|
|
13
14
|
section_ids?: string[];
|
|
14
15
|
tags__in?: string[];
|
|
16
|
+
id__in?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface CanvasMetadataRetrieve {
|
|
19
|
+
canvas_id: CanvasRetrieve['id'];
|
|
20
|
+
config: Record<string, any> & {
|
|
21
|
+
presentation_component_metadata: Record<string, any>;
|
|
22
|
+
};
|
|
23
|
+
owner_id: User['id'];
|
|
15
24
|
}
|
|
16
25
|
export declare enum CanvasesViewsTypes {
|
|
17
26
|
SAVED = "saved",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type UpsertPptxSlideImagesRequestPayload = {
|
|
2
|
+
slide_ids?: number[];
|
|
3
|
+
instance_id: string;
|
|
4
|
+
};
|
|
5
|
+
export type UpsertPptxSlideImagesRequestParams = {
|
|
6
|
+
id: string;
|
|
7
|
+
};
|
|
8
|
+
export type UpsertPptxSlideImagesResponse = {
|
|
9
|
+
width?: number;
|
|
10
|
+
height?: number;
|
|
11
|
+
url: string;
|
|
12
|
+
}[];
|
package/lib/types/files.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ export interface DeviceFileCreateRequest extends Omit<FileCreateRequest, 'conten
|
|
|
7
7
|
export type AllFileCreateRequest = FileCreateRequest | DeviceFileCreateRequest;
|
|
8
8
|
export declare enum ViewCompactItemType {
|
|
9
9
|
File = "file",
|
|
10
|
-
Folder = "folder"
|
|
10
|
+
Folder = "folder",
|
|
11
|
+
SmartFolder = "smart_folder"
|
|
11
12
|
}
|
|
12
13
|
export type ViewCompactFile = Omit<CompactFile, 'created_by'> & {
|
|
13
14
|
type: ViewCompactItemType.File;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CanvasRetrieve, MiniUser } from '../../types/openapi';
|
|
2
|
+
export declare enum CoreFolderEntityType {
|
|
3
|
+
Block = "canvas_block",
|
|
4
|
+
Canvas = "canvas",
|
|
5
|
+
File = "file",
|
|
6
|
+
Section = "canvas_section",
|
|
7
|
+
Template = "canvas_template"
|
|
8
|
+
}
|
|
9
|
+
export type CoreFolderContentsRetrieve = {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
folders: CoreFolderRetrieve[];
|
|
13
|
+
contents: CanvasRetrieve[];
|
|
14
|
+
path?: any[];
|
|
15
|
+
};
|
|
16
|
+
export interface CoreFolderRetrieve {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
path: string;
|
|
20
|
+
parent_id: string | null;
|
|
21
|
+
created_at: string;
|
|
22
|
+
modified_at: string;
|
|
23
|
+
instance_id: string;
|
|
24
|
+
metadata: Record<string, any>;
|
|
25
|
+
access_type: 'private' | 'public';
|
|
26
|
+
breadcrumbs: Array<{
|
|
27
|
+
id: string | null;
|
|
28
|
+
name: string;
|
|
29
|
+
}>;
|
|
30
|
+
files_count: number;
|
|
31
|
+
folders_count: number;
|
|
32
|
+
created_by: MiniUser;
|
|
33
|
+
modified_by: MiniUser | null;
|
|
34
|
+
owned_by: MiniUser;
|
|
35
|
+
}
|
|
@@ -29,6 +29,10 @@ export type InstanceSettings = OrganizationSettings & {
|
|
|
29
29
|
enable_collection_player_component?: boolean;
|
|
30
30
|
autoselect_selected_canvas_account?: boolean;
|
|
31
31
|
require_account_on_canvas_creation?: boolean;
|
|
32
|
+
pptx_slide_image_width?: number;
|
|
33
|
+
completion_wizard?: {
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
};
|
|
32
36
|
};
|
|
33
37
|
ios?: InstanceSettings;
|
|
34
38
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type LaunchDarklyBooleanFlagKey = 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_canvas_duplication' | 'allow_canvas_history' | 'allow_canvas_ownership_change' | 'allow_canvases_tables_columns_settings' | 'allow_content_grid_autofill' | 'allow_creating_canvas_with_no_template' | 'allow_embeddable_hiding' | 'allow_multimedia_for_scribble_component' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'allow_saving_annotations_in_personal_layer' | 'are_sections_system_controlled' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'enable_analytics' | 'enable_app_developer_role' | 'enable_background_image_theme_options' | 'enable_bulk_update_file_attributes' | 'enable_canvas_blocks' | 'enable_canvas_node_debugging' | 'enable_canvas_tokens' | 'enable_create_section_from_section_template' | 'enable_default_crm_shape' | 'enable_embedded_video_autoplay' | 'enable_embedded_video' | 'enable_enhanced_indicators' | 'enable_experimental_canvas_builder_dnd' | 'enable_file_pages_metadata' | 'enable_file_revisions' | 'enable_folder_details_edit' | 'enable_instance_editor_role' | 'enable_knock_notifications' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_multimedia_component_ai_images' | 'enable_pipe_character_multi_search' | '
|
|
1
|
+
export type LaunchDarklyBooleanFlagKey = 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_canvas_duplication' | 'allow_canvas_history' | 'allow_canvas_ownership_change' | 'allow_canvases_tables_columns_settings' | 'allow_content_grid_autofill' | 'allow_creating_canvas_with_no_template' | 'allow_embeddable_hiding' | 'allow_multimedia_for_scribble_component' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'allow_saving_annotations_in_personal_layer' | 'allow_user_to_edit_font_size_and_color_in_canvas_tokens' | 'are_sections_system_controlled' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'enable_analytics' | 'enable_app_developer_role' | 'enable_background_image_theme_options' | 'enable_bulk_update_file_attributes' | 'enable_canvas_blocks' | 'enable_canvas_node_debugging' | 'enable_canvas_tokens' | 'enable_content_type_change_in_content_selector' | 'enable_create_section_from_section_template' | 'enable_default_crm_shape' | 'enable_dynamic_data_table_component' | 'enable_embedded_video_autoplay' | 'enable_embedded_video' | 'enable_enhanced_indicators' | 'enable_experimental_canvas_builder_dnd' | 'enable_file_pages_metadata' | 'enable_file_revisions' | 'enable_folder_details_edit' | 'enable_handlebar_template_support' | 'enable_height_in_component_theming' | 'enable_insearch_in_section_selector' | 'enable_instance_editor_role' | 'enable_knock_notifications' | 'enable_maintain_section_theme_control' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_multimedia_component_ai_images' | 'enable_pipe_character_multi_search' | 'enable_resizable_multimedia_component' | 'enable_saved_canvases_filters' | 'enable_scribble_component' | 'enable_search_and_filters_in_multimedia_component' | 'enable_section_context_in_dsr' | 'enable_section_selector_drag_n_drop' | 'enable_smart_folders' | 'enable_smart_folders_in_files' | 'enable_suggested_tags' | 'enable_template_folders' | 'enable_theme_options_border_radius' | 'enable_themes' | 'hide_asset_uploader' | 'include_files_content_in_print' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_meeting_bar_account_selection_disabled' | 'is_meeting_bar_hidden' | 'is_rep_canvas_creation_disabled' | 'is_shared_link_creation_disabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'launch_in_present_mode_on_creation' | 'prefer_online_handlers' | 'reorder_component_in_drawer' | 'show_asset_manager_for_multimedia' | 'show_clear_all_annotations_button' | 'show_content_selector_list_view' | 'show_popularity_icons' | 'show_system_filters' | 'use_core_endpoint_for_analytics' | 'use_short_url_for_shared_link' | 'use_zoho_instead_of_ms_wopi';
|
|
2
2
|
export type LaunchDarklyNumberFlagKey = 'canvas_section_selector_page_size' | 'canvas_section_selector_selected_items_with_thumbnail_size';
|
|
3
3
|
type LaunchDarklyObjectFlags = {
|
|
4
4
|
canvas_table_pagination: CanvasTablePagination;
|
|
@@ -15,6 +15,9 @@ declare const LaunchDarklyStringFlags: {
|
|
|
15
15
|
readonly pspdfkit_client_version: readonly ["2024.6.0", "2024.7.0"];
|
|
16
16
|
readonly slotty_ui_remote_script_url: readonly ["https://anyvalidurl.xyz", ""];
|
|
17
17
|
readonly dsr_remote_script_url: readonly ["https://anyvalidurl.xyz", ""];
|
|
18
|
+
readonly ai_image_generation_model: readonly ["minimax/image-01", ""];
|
|
19
|
+
readonly ai_video_generation_model: readonly ["minimax/video-01", ""];
|
|
20
|
+
readonly ai_text_generation_model: readonly ["anthropic/claude-3.5-sonnet", ""];
|
|
18
21
|
};
|
|
19
22
|
type LaunchDarklyStringFlagValue<K extends LaunchDarklyStringFlagKey = LaunchDarklyStringFlagKey> = K extends LaunchDarklyStringFlagKey ? (typeof LaunchDarklyStringFlags)[K][number] : never;
|
|
20
23
|
type CanvasManagerVisibility = {
|
|
@@ -15,6 +15,8 @@ type SmartFolderRuleAttributes = {
|
|
|
15
15
|
canvas_templates?: SmartFolderRuleAttribute[];
|
|
16
16
|
};
|
|
17
17
|
export type OrganizationSettings = {
|
|
18
|
+
canvases_route_order?: number;
|
|
19
|
+
content_browser_route_order?: number;
|
|
18
20
|
impact_show_only_saved_canvases_in_canvas_manager?: boolean;
|
|
19
21
|
translation_overrides?: TranslationOverrides;
|
|
20
22
|
file_annotations_mode?: 'admin' | 'personal';
|
|
@@ -28,6 +30,7 @@ export type OrganizationSettings = {
|
|
|
28
30
|
pipe_multi_search_separator?: string;
|
|
29
31
|
enable_crm_privacy_mode?: boolean;
|
|
30
32
|
enable_indicators?: boolean;
|
|
33
|
+
enable_metadata_info_in_list_item?: boolean;
|
|
31
34
|
smart_folder_rule_attributes?: SmartFolderRuleAttributes;
|
|
32
35
|
ios?: OrganizationSettings;
|
|
33
36
|
full_text_search_config?: string;
|
|
@@ -36,5 +39,8 @@ export type OrganizationSettings = {
|
|
|
36
39
|
include_canvas_content_in_full_text_search?: boolean;
|
|
37
40
|
include_canvas_metadata_in_full_text_search?: boolean;
|
|
38
41
|
use_collection_player_as_default_file_viewer?: boolean;
|
|
42
|
+
use_collection_player_as_default_file_viewer_for_content_extensions?: string[];
|
|
43
|
+
use_collection_player_as_default_file_viewer_for_original_extensions?: string[];
|
|
44
|
+
enable_ppt_converter_in_canvas_templates?: boolean;
|
|
39
45
|
};
|
|
40
46
|
export {};
|
package/lib/util/array.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NestedKeyOf } from '../types/ts';
|
|
2
|
-
export declare const sortCollectionByString: <T>(rowA: T, rowB: T, property: NestedKeyOf<T>) => 1 |
|
|
2
|
+
export declare const sortCollectionByString: <T>(rowA: T, rowB: T, property: NestedKeyOf<T>) => 1 | 0 | -1;
|
|
3
3
|
export declare function insertItemSorted<T>(array: ReadonlyArray<T>, item: T, compareFn: (a: T, b: T) => number): ReadonlyArray<T>;
|
|
4
4
|
export declare function getExcessItemsIndexes(arrA: any[], arrB: any[]): number[];
|
package/lib/util/color.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { Range } from './tsHelpers';
|
|
2
2
|
export declare const isValidHex: (color?: string) => boolean;
|
|
3
|
+
export declare function getLuminance(color: string): number;
|
|
4
|
+
export declare function getContrastTextColor(backgroundColor: string): string;
|
|
3
5
|
export declare const stringToHslColor: (str: string, s?: Range<0, 100>, l?: Range<0, 100>) => string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { OrganizationSettings } from '../types/organizationSettings.types';
|
|
2
|
+
import { InstanceSettings } from '../types/instanceSettings.types';
|
|
3
|
+
import { FileRetrieve } from '../../types/openapi';
|
|
4
|
+
export declare const shouldOpenInCollectionPlayerViewer: (pitcherSettings: OrganizationSettings & InstanceSettings, file?: FileRetrieve) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function hasPadding(style?: Record<string, any>): boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TreeSelectOption } from 'naive-ui';
|
|
2
|
+
export declare function formatLabel(key: string): string;
|
|
3
|
+
export declare function transformToArrayTree(data: Record<string, any>, parentKey?: string): TreeSelectOption[];
|
|
4
|
+
export declare function transformToTree(data: Record<string, any>, parentKey?: string, arrayDict?: Record<string, any>): {
|
|
5
|
+
options: TreeSelectOption[];
|
|
6
|
+
arrayDict: Record<string, any>;
|
|
7
|
+
};
|