@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
package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { FolderFile } from '../../../../../../../types/openapi';
|
|
3
3
|
import { SelectedFile, SelectedFolder } from '../../../../stores/app';
|
|
4
|
-
|
|
4
|
+
type __VLS_Props = {
|
|
5
5
|
filters: ComputedRef<Record<string, any>>;
|
|
6
6
|
highlightText?: string;
|
|
7
7
|
isContextMenuOpen?: boolean;
|
|
@@ -14,27 +14,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
data: any[];
|
|
16
16
|
selectedItems: (SelectedFile | SelectedFolder)[];
|
|
17
|
-
|
|
17
|
+
isDisabled?: boolean;
|
|
18
|
+
metadata: Record<string, any>;
|
|
19
|
+
};
|
|
20
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
21
|
"open-folder": (item: FolderFile) => any;
|
|
19
22
|
"preview-file": (item: {
|
|
20
23
|
[key: string]: any;
|
|
21
24
|
id: string;
|
|
22
25
|
}, event: MouseEvent) => any;
|
|
23
26
|
"expand-file": (item: FolderFile) => any;
|
|
24
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
25
|
-
filters: ComputedRef<Record<string, any>>;
|
|
26
|
-
highlightText?: string;
|
|
27
|
-
isContextMenuOpen?: boolean;
|
|
28
|
-
doNotShowFolderDetails?: boolean;
|
|
29
|
-
isSelected?: boolean;
|
|
30
|
-
index?: number;
|
|
31
|
-
item: {
|
|
32
|
-
id: string;
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
};
|
|
35
|
-
data: any[];
|
|
36
|
-
selectedItems: (SelectedFile | SelectedFolder)[];
|
|
37
|
-
}> & Readonly<{
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
38
28
|
"onOpen-folder"?: ((item: FolderFile) => any) | undefined;
|
|
39
29
|
"onPreview-file"?: ((item: {
|
|
40
30
|
[key: string]: any;
|
|
@@ -42,10 +32,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
42
32
|
}, event: MouseEvent) => any) | undefined;
|
|
43
33
|
"onExpand-file"?: ((item: FolderFile) => any) | undefined;
|
|
44
34
|
}>, {
|
|
35
|
+
metadata: Record<string, any>;
|
|
45
36
|
isSelected: boolean;
|
|
46
37
|
index: number;
|
|
47
|
-
isContextMenuOpen: boolean;
|
|
48
38
|
highlightText: string;
|
|
39
|
+
isContextMenuOpen: boolean;
|
|
49
40
|
doNotShowFolderDetails: boolean;
|
|
50
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
51
42
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
add: (args_0: {
|
|
3
|
+
url: string;
|
|
4
|
+
content_type: "image" | "video";
|
|
5
|
+
}) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
7
|
+
onAdd?: ((args_0: {
|
|
8
|
+
url: string;
|
|
9
|
+
content_type: "image" | "video";
|
|
10
|
+
}) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -1,47 +1,30 @@
|
|
|
1
1
|
import { File, FileContentTypeEnum, User } from '../../../../../types/openapi';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
item: {
|
|
4
|
-
type?:
|
|
4
|
+
type?: 'folder' | 'file' | 'page' | 'asset';
|
|
5
5
|
content_type?: FileContentTypeEnum | null;
|
|
6
6
|
content_url?: string | null;
|
|
7
7
|
thumbnail_url?: string | null;
|
|
8
8
|
name?: string;
|
|
9
9
|
file?: {
|
|
10
|
-
id: File[
|
|
11
|
-
name?: File[
|
|
10
|
+
id: File['id'];
|
|
11
|
+
name?: File['name'];
|
|
12
12
|
};
|
|
13
13
|
page_index?: number;
|
|
14
|
-
permissions?: File[
|
|
14
|
+
permissions?: File['permissions'];
|
|
15
15
|
id?: string;
|
|
16
16
|
content_extension?: string | null;
|
|
17
|
-
created_by_user_id?: User[
|
|
17
|
+
created_by_user_id?: User['id'];
|
|
18
18
|
};
|
|
19
19
|
isSelected?: boolean;
|
|
20
|
-
}
|
|
20
|
+
};
|
|
21
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
22
|
itemSelected: (...args: any[]) => void;
|
|
22
23
|
itemDeselected: (...args: any[]) => void;
|
|
23
24
|
itemClicked: (...args: any[]) => void;
|
|
24
25
|
itemExpanded: (...args: any[]) => void;
|
|
25
26
|
itemDeleted: (...args: any[]) => void;
|
|
26
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
27
|
-
item: {
|
|
28
|
-
type?: "folder" | "file" | "page" | "asset";
|
|
29
|
-
content_type?: FileContentTypeEnum | null;
|
|
30
|
-
content_url?: string | null;
|
|
31
|
-
thumbnail_url?: string | null;
|
|
32
|
-
name?: string;
|
|
33
|
-
file?: {
|
|
34
|
-
id: File["id"];
|
|
35
|
-
name?: File["name"];
|
|
36
|
-
};
|
|
37
|
-
page_index?: number;
|
|
38
|
-
permissions?: File["permissions"];
|
|
39
|
-
id?: string;
|
|
40
|
-
content_extension?: string | null;
|
|
41
|
-
created_by_user_id?: User["id"];
|
|
42
|
-
};
|
|
43
|
-
isSelected?: boolean;
|
|
44
|
-
}> & Readonly<{
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
45
28
|
onItemSelected?: ((...args: any[]) => any) | undefined;
|
|
46
29
|
onItemDeselected?: ((...args: any[]) => any) | undefined;
|
|
47
30
|
onItemClicked?: ((...args: any[]) => any) | undefined;
|
|
@@ -65,5 +48,5 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
65
48
|
content_extension?: string | null;
|
|
66
49
|
created_by_user_id?: User["id"];
|
|
67
50
|
};
|
|
68
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
69
52
|
export default _default;
|
|
@@ -7,5 +7,5 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
7
7
|
load: (...args: any[]) => void;
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
9
9
|
onLoad?: ((...args: any[]) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
11
|
export default _default;
|
|
@@ -40,9 +40,10 @@ declare const _default: () => {
|
|
|
40
40
|
readonly name?: string | undefined;
|
|
41
41
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
42
42
|
readonly instance_id: string;
|
|
43
|
-
readonly tags?: Readonly<
|
|
44
|
-
readonly thumbnail_url?:
|
|
43
|
+
readonly tags?: Readonly<string[] | undefined>;
|
|
44
|
+
readonly thumbnail_url?: string | null | undefined;
|
|
45
45
|
readonly page_index?: number | undefined;
|
|
46
|
+
readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
|
|
46
47
|
}[];
|
|
47
48
|
readonly favorites: {
|
|
48
49
|
readonly [x: string]: {
|
|
@@ -54,6 +55,7 @@ declare const _default: () => {
|
|
|
54
55
|
readonly name: string;
|
|
55
56
|
readonly content_type: string | null;
|
|
56
57
|
readonly tags: readonly string[];
|
|
58
|
+
readonly expires_at?: string | null | undefined;
|
|
57
59
|
} | null;
|
|
58
60
|
readonly page: {
|
|
59
61
|
readonly id: string;
|
|
@@ -96,6 +98,7 @@ declare const _default: () => {
|
|
|
96
98
|
readonly content_length: number | null;
|
|
97
99
|
readonly content_url: string | null;
|
|
98
100
|
readonly original_extension: string | null;
|
|
101
|
+
readonly original_url: string | null;
|
|
99
102
|
readonly thumbnail_url: string | null;
|
|
100
103
|
readonly download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
101
104
|
readonly zip_size: number | null;
|
|
@@ -114,7 +117,7 @@ declare const _default: () => {
|
|
|
114
117
|
} | undefined;
|
|
115
118
|
readonly tags?: readonly string[] | undefined;
|
|
116
119
|
readonly published_at: string | null;
|
|
117
|
-
readonly expires_at?:
|
|
120
|
+
readonly expires_at?: string | null | undefined;
|
|
118
121
|
readonly instance_id: string;
|
|
119
122
|
readonly folder_id?: string | undefined;
|
|
120
123
|
readonly folder: {
|
|
@@ -123,10 +126,8 @@ declare const _default: () => {
|
|
|
123
126
|
};
|
|
124
127
|
readonly shared_link: {
|
|
125
128
|
readonly url: string;
|
|
126
|
-
readonly short_url?:
|
|
129
|
+
readonly short_url?: string | null | undefined;
|
|
127
130
|
};
|
|
128
|
-
readonly search_rank: string;
|
|
129
|
-
readonly search_headline: string;
|
|
130
131
|
readonly owned_by: {
|
|
131
132
|
readonly id: number;
|
|
132
133
|
readonly name: string;
|
|
@@ -167,9 +168,10 @@ declare const _default: () => {
|
|
|
167
168
|
name?: string | undefined;
|
|
168
169
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
169
170
|
readonly instance_id: string;
|
|
170
|
-
tags?: Readonly<
|
|
171
|
-
thumbnail_url?:
|
|
171
|
+
tags?: Readonly<string[] | undefined>;
|
|
172
|
+
thumbnail_url?: string | null | undefined;
|
|
172
173
|
page_index?: number | undefined;
|
|
174
|
+
status?: import('../../../../types/openapi').FileStatusEnum | undefined;
|
|
173
175
|
}[];
|
|
174
176
|
favorites: Record<MiniPage["id"] | File["id"] | Folder["id"], Favorite>;
|
|
175
177
|
filteredItems: {
|
|
@@ -184,6 +186,7 @@ declare const _default: () => {
|
|
|
184
186
|
readonly content_length: number | null;
|
|
185
187
|
readonly content_url: string | null;
|
|
186
188
|
readonly original_extension: string | null;
|
|
189
|
+
readonly original_url: string | null;
|
|
187
190
|
readonly thumbnail_url: string | null;
|
|
188
191
|
download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
189
192
|
readonly zip_size: number | null;
|
|
@@ -198,7 +201,7 @@ declare const _default: () => {
|
|
|
198
201
|
app_metadata?: Record<string, any> | undefined;
|
|
199
202
|
tags?: Array<string> | undefined;
|
|
200
203
|
readonly published_at: string | null;
|
|
201
|
-
expires_at?:
|
|
204
|
+
expires_at?: string | null | undefined;
|
|
202
205
|
readonly instance_id: string;
|
|
203
206
|
folder_id?: string | undefined;
|
|
204
207
|
readonly folder: {
|
|
@@ -207,10 +210,8 @@ declare const _default: () => {
|
|
|
207
210
|
};
|
|
208
211
|
readonly shared_link: {
|
|
209
212
|
readonly url: string;
|
|
210
|
-
short_url?:
|
|
213
|
+
short_url?: string | null | undefined;
|
|
211
214
|
};
|
|
212
|
-
readonly search_rank: string;
|
|
213
|
-
readonly search_headline: string;
|
|
214
215
|
readonly owned_by: {
|
|
215
216
|
readonly id: number;
|
|
216
217
|
readonly name: string;
|
|
@@ -2,7 +2,7 @@ import { Ref, ComputedRef, UnwrapNestedRefs } from 'vue';
|
|
|
2
2
|
import { FolderRetrieve, FolderFile, FileRetrieve, File, FolderFolder, Favorite, FileContentTypeEnum } from '../../../../types/openapi';
|
|
3
3
|
import { RecentFile } from '../../../types/recentFiles.types';
|
|
4
4
|
export type AppName = 'admin' | 'impact';
|
|
5
|
-
export type SelectorType = 'content' | 'assets' | 'external_links' | 'ai_images';
|
|
5
|
+
export type SelectorType = 'content' | 'assets' | 'external_links' | 'ai_images' | 'pexels_images';
|
|
6
6
|
export type SelectedPage = {
|
|
7
7
|
id: string;
|
|
8
8
|
name?: string;
|
|
@@ -45,7 +45,7 @@ export type BrowserSectionType = 'all' | 'favorites' | 'recent' | 'trash';
|
|
|
45
45
|
export type FolderFileWithFolderId = File & {
|
|
46
46
|
folder_id?: string;
|
|
47
47
|
};
|
|
48
|
-
type RecentFileWithFavoriteId = RecentFile & {
|
|
48
|
+
export type RecentFileWithFavoriteId = RecentFile & {
|
|
49
49
|
favoriteId: string;
|
|
50
50
|
};
|
|
51
51
|
export declare function isPage(item: ContentSelectorSelectedItem): item is SelectedPage;
|
|
@@ -56,6 +56,9 @@ interface State {
|
|
|
56
56
|
appName: Ref<AppName | ''>;
|
|
57
57
|
allowedContentTypes: Ref<FileContentTypeEnum[]>;
|
|
58
58
|
activeSelectorType: Ref<SelectorType>;
|
|
59
|
+
allowedIds: Ref<File['id'][]>;
|
|
60
|
+
initialMetadataFilters: Ref<Record<string, any>>;
|
|
61
|
+
allowedOriginalExtensions: Ref<string[] | undefined>;
|
|
59
62
|
search: Ref<string>;
|
|
60
63
|
searchMetadataFilters: Ref<Record<string, any>>;
|
|
61
64
|
selectedItems: Ref<ContentSelectorSelectedItem[]>;
|
|
@@ -73,23 +76,28 @@ interface State {
|
|
|
73
76
|
displayedFiles: ComputedRef<SelectedFile[] | SelectedFolder[] | RecentFileWithFavoriteId[] | FolderFileWithFolderId[]>;
|
|
74
77
|
activeFolderFolders: ComputedRef<FolderFolder[]>;
|
|
75
78
|
activeFolderFiles: ComputedRef<FolderFile[]>;
|
|
79
|
+
isAdmin: ComputedRef<boolean>;
|
|
76
80
|
activeFolder: Ref<FolderRetrieve | null>;
|
|
77
81
|
activeFile: Ref<FileRetrieve | null>;
|
|
78
82
|
isFetchingFolderItems: Ref<boolean>;
|
|
79
83
|
isFetchingFile: Ref<boolean>;
|
|
84
|
+
disableNoSharable: Ref<boolean>;
|
|
80
85
|
}
|
|
81
86
|
declare function deselectAllFiles(f: SelectedFile[] | Pick<FolderFile, 'id'>[]): void;
|
|
82
87
|
declare function deselectFile(f: SelectedFile | Pick<FolderFile, 'id'>): void;
|
|
83
88
|
declare function deselectPage(p: SelectedPage): void;
|
|
84
89
|
declare function deselectAsset(a: SelectedAsset): void;
|
|
85
90
|
declare function deselectExternalLink(l: SelectedExternalLink): void;
|
|
91
|
+
declare function isItemDisabled(item: SelectedFile | SelectedFolder | RecentFileWithFavoriteId | FolderFileWithFolderId): boolean;
|
|
86
92
|
export default function (): {
|
|
93
|
+
getThumbnailUrl(file: Partial<File>): string | null | undefined;
|
|
87
94
|
setAppName(appName: AppName): void;
|
|
88
95
|
resetSelectedItems(): void;
|
|
89
96
|
setSelectedItems(items: ContentSelectorSelectedItem[], maxSelections?: number): Promise<void>;
|
|
90
97
|
setActiveSelectorType(s?: SelectorType): void;
|
|
91
98
|
selectItem(i: ContentSelectorSelectedItem): void;
|
|
92
99
|
selectAllFiles(selection: SelectedFile[]): void;
|
|
100
|
+
setDisableNoSharable(disable: boolean): void;
|
|
93
101
|
deselectAllFiles: typeof deselectAllFiles;
|
|
94
102
|
deselectFile: typeof deselectFile;
|
|
95
103
|
deselectPage: typeof deselectPage;
|
|
@@ -97,14 +105,20 @@ export default function (): {
|
|
|
97
105
|
deselectExternalLink: typeof deselectExternalLink;
|
|
98
106
|
deselectItem(item: ContentSelectorSelectedItem): void;
|
|
99
107
|
deselectFilePages(f: Pick<FolderFile, "id">): void;
|
|
108
|
+
setAllowedIds(ids: File["id"][]): void;
|
|
100
109
|
setSelectedSection(section: BrowserSectionType): void;
|
|
101
110
|
setSearchQuery(searchQuery: string): void;
|
|
111
|
+
setAllowedOriginalExtensions(extensions: string[]): void;
|
|
102
112
|
setSearchMetadataFilters(filters: Record<string, any>): void;
|
|
103
113
|
fetchSectionData(): Promise<void>;
|
|
104
114
|
setState(newState: Partial<UnwrapNestedRefs<State>>): void;
|
|
115
|
+
isItemDisabled: typeof isItemDisabled;
|
|
105
116
|
appName: Ref<AppName | "">;
|
|
106
117
|
allowedContentTypes: Ref<FileContentTypeEnum[]>;
|
|
107
118
|
activeSelectorType: Ref<SelectorType>;
|
|
119
|
+
allowedIds: Ref<File["id"][]>;
|
|
120
|
+
initialMetadataFilters: Ref<Record<string, any>>;
|
|
121
|
+
allowedOriginalExtensions: Ref<string[] | undefined>;
|
|
108
122
|
search: Ref<string>;
|
|
109
123
|
searchMetadataFilters: Ref<Record<string, any>>;
|
|
110
124
|
selectedItems: Ref<ContentSelectorSelectedItem[]>;
|
|
@@ -122,9 +136,11 @@ export default function (): {
|
|
|
122
136
|
displayedFiles: ComputedRef<SelectedFile[] | SelectedFolder[] | RecentFileWithFavoriteId[] | FolderFileWithFolderId[]>;
|
|
123
137
|
activeFolderFolders: ComputedRef<FolderFolder[]>;
|
|
124
138
|
activeFolderFiles: ComputedRef<FolderFile[]>;
|
|
139
|
+
isAdmin: ComputedRef<boolean>;
|
|
125
140
|
activeFolder: Ref<FolderRetrieve | null>;
|
|
126
141
|
activeFile: Ref<FileRetrieve | null>;
|
|
127
142
|
isFetchingFolderItems: Ref<boolean>;
|
|
128
143
|
isFetchingFile: Ref<boolean>;
|
|
144
|
+
disableNoSharable: Ref<boolean>;
|
|
129
145
|
};
|
|
130
146
|
export {};
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
import { File } from '../../../../types/openapi';
|
|
2
|
+
import { SelectedPage, SelectedFile, SelectedFolder, RecentFileWithFavoriteId, FolderFileWithFolderId } from '../stores/app';
|
|
2
3
|
export declare function createPageId(fileId: File['id'], pageIndex: number): string;
|
|
4
|
+
export declare function getFileId(item: {
|
|
5
|
+
file?: {
|
|
6
|
+
id: File['id'];
|
|
7
|
+
};
|
|
8
|
+
id: File['id'];
|
|
9
|
+
}): string;
|
|
10
|
+
export declare function isShareable(item: SelectedFile | SelectedFolder | SelectedPage | RecentFileWithFavoriteId | FolderFileWithFolderId): boolean;
|
|
@@ -1,22 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
localStorageKey?: string;
|
|
3
3
|
localStorageAppUrlKey?: string;
|
|
4
4
|
fullscreen?: boolean;
|
|
5
5
|
isWidgetVisible?: boolean;
|
|
6
6
|
hideOpenInNewTab?: boolean;
|
|
7
7
|
showFocusNotes?: boolean;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
10
|
close: () => any;
|
|
10
11
|
openInNewTab: () => any;
|
|
11
12
|
focusOpenedFullscreenNotes: () => any;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
-
localStorageKey?: string;
|
|
14
|
-
localStorageAppUrlKey?: string;
|
|
15
|
-
fullscreen?: boolean;
|
|
16
|
-
isWidgetVisible?: boolean;
|
|
17
|
-
hideOpenInNewTab?: boolean;
|
|
18
|
-
showFocusNotes?: boolean;
|
|
19
|
-
}> & Readonly<{
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
14
|
onClose?: (() => any) | undefined;
|
|
21
15
|
onOpenInNewTab?: (() => any) | undefined;
|
|
22
16
|
onFocusOpenedFullscreenNotes?: (() => any) | undefined;
|
|
@@ -26,5 +20,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
26
20
|
localStorageAppUrlKey: string;
|
|
27
21
|
isWidgetVisible: boolean;
|
|
28
22
|
hideOpenInNewTab: boolean;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
notesTextAreaRef: HTMLTextAreaElement;
|
|
25
|
+
}, HTMLDivElement>;
|
|
30
26
|
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CollectionPlayerWithPages } from './types/model.type';
|
|
2
|
+
import { Api } from './stores/app.store';
|
|
3
|
+
export type Emit = {
|
|
4
|
+
close: [CollectionPlayerWithPages];
|
|
5
|
+
cancel: [];
|
|
6
|
+
contentChange: [CollectionPlayerWithPages];
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
zIndex?: number;
|
|
10
|
+
attachTo?: string | HTMLElement;
|
|
11
|
+
initialData: CollectionPlayerWithPages;
|
|
12
|
+
instanceId: string;
|
|
13
|
+
fileTags?: string[];
|
|
14
|
+
api: Api;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
cancel: () => any;
|
|
18
|
+
close: (args_0: CollectionPlayerWithPages) => any;
|
|
19
|
+
contentChange: (args_0: CollectionPlayerWithPages) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onCancel?: (() => any) | undefined;
|
|
22
|
+
onClose?: ((args_0: CollectionPlayerWithPages) => any) | undefined;
|
|
23
|
+
onContentChange?: ((args_0: CollectionPlayerWithPages) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
isLoading: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
cancel: () => any;
|
|
6
|
+
close: () => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onCancel?: (() => any) | undefined;
|
|
9
|
+
onClose?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
close: () => any;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
onClose?: (() => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CollectionGroupWithPages } from '../types/model.type';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
group: CollectionGroupWithPages;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CollectionPage } from '../../collection-player/types/collection-player.type';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
item: CollectionPage;
|
|
4
|
+
isFirst?: boolean;
|
|
5
|
+
isLast?: boolean;
|
|
6
|
+
disabledMoveToGroup?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
moveUp: () => any;
|
|
10
|
+
moveDown: () => any;
|
|
11
|
+
moveToGroup: () => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onMoveUp?: (() => any) | undefined;
|
|
14
|
+
onMoveDown?: (() => any) | undefined;
|
|
15
|
+
onMoveToGroup?: (() => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CollectionPage } from '../../../collection-player/types/collection-player.type';
|
|
2
|
+
import { CollectionGroupWithPages } from '../../types/model.type';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
zIndex?: number;
|
|
5
|
+
groups: CollectionGroupWithPages[];
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
close: () => any;
|
|
9
|
+
moveToGroup: (fromGroup: string, toGroup: string, slide: CollectionPage) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onClose?: (() => any) | undefined;
|
|
12
|
+
onMoveToGroup?: ((fromGroup: string, toGroup: string, slide: CollectionPage) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { CollectionPlayerWithPages, CollectionGroupWithPages } from '../types/model.type';
|
|
3
|
+
import { CollectionPage } from '../../collection-player/types/collection-player.type';
|
|
4
|
+
import { Api } from '../stores/app.store';
|
|
5
|
+
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
6
|
+
type UseCanvasPayload = {
|
|
7
|
+
t: (key: string, values?: Record<string, string | number>) => string;
|
|
8
|
+
api: Api;
|
|
9
|
+
collection: Ref<CollectionPlayerWithPages>;
|
|
10
|
+
tags?: string[];
|
|
11
|
+
};
|
|
12
|
+
export declare const useCanvas: ({ t, api, collection, tags }: UseCanvasPayload) => {
|
|
13
|
+
createSection: (item: CollectionPage, details: {
|
|
14
|
+
title: string;
|
|
15
|
+
id: number;
|
|
16
|
+
sequence: number;
|
|
17
|
+
}, group: CollectionGroupWithPages, image: {
|
|
18
|
+
width?: number;
|
|
19
|
+
height?: number;
|
|
20
|
+
url: string;
|
|
21
|
+
}) => Promise<CanvasRetrieve>;
|
|
22
|
+
saveTemplate: (savedSlides: CanvasRetrieve[], slidesById: Record<number, CanvasRetrieve>) => Promise<CanvasRetrieve>;
|
|
23
|
+
fetchCanvases: (ids: string[]) => Promise<import('../../../main.lib').PaginatedData<CanvasRetrieve>>;
|
|
24
|
+
updateSection: (canvasId: string, item: CollectionPage, details: {
|
|
25
|
+
title: string;
|
|
26
|
+
id: number;
|
|
27
|
+
sequence: number;
|
|
28
|
+
}, group: CollectionGroupWithPages, image: {
|
|
29
|
+
width?: number;
|
|
30
|
+
height?: number;
|
|
31
|
+
url: string;
|
|
32
|
+
}) => Promise<CanvasRetrieve>;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { ActiveElement } from '../types/move-slide-modal.type';
|
|
3
|
+
type MoveItemModal = {
|
|
4
|
+
open: (type: ActiveElement) => void;
|
|
5
|
+
close: () => void;
|
|
6
|
+
isOpen: Readonly<ComputedRef<boolean>>;
|
|
7
|
+
activeElement: Readonly<Ref<ActiveElement | null>>;
|
|
8
|
+
};
|
|
9
|
+
export declare function provideMoveSlideModal(): {
|
|
10
|
+
isOpen: ComputedRef<boolean>;
|
|
11
|
+
activeElement: Ref<{
|
|
12
|
+
groupId: string;
|
|
13
|
+
slide: {
|
|
14
|
+
id: string;
|
|
15
|
+
type: "slide";
|
|
16
|
+
file: {
|
|
17
|
+
metadata?: Record<string, any> | undefined;
|
|
18
|
+
readonly id: string;
|
|
19
|
+
name?: string | undefined;
|
|
20
|
+
readonly type: import('../../../main.lib').FileTypeEnum;
|
|
21
|
+
tags?: Array<string> | undefined;
|
|
22
|
+
readonly thumbnail_url: string | null;
|
|
23
|
+
permissions?: {
|
|
24
|
+
can_download?: boolean | undefined;
|
|
25
|
+
can_share?: boolean | undefined;
|
|
26
|
+
} | undefined;
|
|
27
|
+
readonly content_url: string | null;
|
|
28
|
+
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
29
|
+
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
30
|
+
readonly pspdfkit_document_id: string | null;
|
|
31
|
+
readonly pspdfkit_server_url: string | null;
|
|
32
|
+
};
|
|
33
|
+
slide: {
|
|
34
|
+
index: number;
|
|
35
|
+
url: import('../../../main.lib').FileRetrieve["thumbnail_url"];
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
} | null, ActiveElement | {
|
|
39
|
+
groupId: string;
|
|
40
|
+
slide: {
|
|
41
|
+
id: string;
|
|
42
|
+
type: "slide";
|
|
43
|
+
file: {
|
|
44
|
+
metadata?: Record<string, any> | undefined;
|
|
45
|
+
readonly id: string;
|
|
46
|
+
name?: string | undefined;
|
|
47
|
+
readonly type: import('../../../main.lib').FileTypeEnum;
|
|
48
|
+
tags?: Array<string> | undefined;
|
|
49
|
+
readonly thumbnail_url: string | null;
|
|
50
|
+
permissions?: {
|
|
51
|
+
can_download?: boolean | undefined;
|
|
52
|
+
can_share?: boolean | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
readonly content_url: string | null;
|
|
55
|
+
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
56
|
+
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
57
|
+
readonly pspdfkit_document_id: string | null;
|
|
58
|
+
readonly pspdfkit_server_url: string | null;
|
|
59
|
+
};
|
|
60
|
+
slide: {
|
|
61
|
+
index: number;
|
|
62
|
+
url: import('../../../main.lib').FileRetrieve["thumbnail_url"];
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
} | null>;
|
|
66
|
+
open: (type: ActiveElement) => void;
|
|
67
|
+
close: () => null;
|
|
68
|
+
};
|
|
69
|
+
export declare function useMoveSlideModal(): MoveItemModal;
|
|
70
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
type TableInput = {
|
|
3
|
+
activeInputId: Ref<string | null>;
|
|
4
|
+
setActiveInput: (id: string) => void;
|
|
5
|
+
clearActiveInput: () => void;
|
|
6
|
+
getInputState: (isEdit: boolean) => 'edit' | 'view';
|
|
7
|
+
};
|
|
8
|
+
export declare function provideTableInput(): {
|
|
9
|
+
activeInputId: Ref<string | null, string | null>;
|
|
10
|
+
setActiveInput: (id: string) => string;
|
|
11
|
+
clearActiveInput: () => void;
|
|
12
|
+
getInputState: (isEdit: boolean) => "edit" | "view";
|
|
13
|
+
};
|
|
14
|
+
export declare function useTableInput(): TableInput;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './utils/content-selector-adapter.util';
|