@pitcher/js-api 1.22.0-beta.6 → 1.22.0-rc.1
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/js-api.esm.js +48 -7
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +9 -9
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/browser/App.vue.d.ts +42 -16
- package/lib/apps/browser/components/BatchMoveItemsModal/BatchMoveItemsModal.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/ActionsToolbar/SelectionActions.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/AllContent/AllContent.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/AllContent/Table/FoldersFilesTable.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Common/BrowserListItem.vue.d.ts +17 -33
- package/lib/apps/browser/components/Content/Content.vue.d.ts +8 -3
- package/lib/apps/browser/components/Content/Favorites/FavoritesTable.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/FilePanel/BasicInfo.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/FilePanel/Details.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/FilePanel/FilePanel.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/FilePanel/Metadata.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/FilePanel/Tags.vue.d.ts +2 -25
- 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 +13 -17
- package/lib/apps/browser/components/Content/Panel/QuickAccessPanel.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Panel/QuickAccessPanelItem.vue.d.ts +3 -12
- package/lib/apps/browser/components/Content/Recent/RecentTable.vue.d.ts +1 -1
- package/lib/apps/browser/components/ContextMenu/ContextMenu.vue.d.ts +2 -23
- package/lib/apps/browser/components/ContextMenu/ContextMenuDropdown.vue.d.ts +4 -13
- package/lib/apps/browser/components/ContextMenu/FavoriteButton.vue.d.ts +3 -12
- package/lib/apps/browser/components/ContextMenu/FileDetailsPanelButton.vue.d.ts +3 -12
- package/lib/apps/browser/components/UploadFilesDropzone/UploadFilesDropzone.vue.d.ts +1 -1
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +1 -1
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalButtons.vue.d.ts +7 -16
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalFileList.vue.d.ts +7 -16
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalInput.vue.d.ts +4 -4
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalProperties.vue.d.ts +6 -15
- package/lib/apps/browser/components/UploadFilesWidget/UploadFilesWidget.vue.d.ts +5 -26
- package/lib/apps/browser/components/UpsertFolderModal/UpsertFolderModal.vue.d.ts +3 -12
- package/lib/apps/browser/stores/api.d.ts +96 -5
- package/lib/apps/browser/stores/app.d.ts +2 -32
- package/lib/apps/browser/stores/upload.d.ts +98 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +351 -128
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +3 -12
- package/lib/apps/canvas-builder/components/container/BottomBar/BottomBar.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.paginated.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.single.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/CanvasDrawerTheme/CanvasDrawerTheme.vue.d.ts +1 -10
- package/lib/apps/canvas-builder/components/container/ComponentDrawer/ComponentDrawer.vue.d.ts +11 -15
- package/lib/apps/canvas-builder/components/container/ComponentDrawerSettings/ComponentDrawerSettings.vue.d.ts +1 -10
- package/lib/apps/canvas-builder/components/container/ComponentEdit/ComponentEdit.vue.d.ts +1 -10
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +3 -12
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBarReorder.vue.d.ts +4 -25
- package/lib/apps/canvas-builder/components/container/ControlBar/InstalledEmbeddableShortcuts.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/ControlBar/ReorderButton.vue.d.ts +3 -12
- package/lib/apps/canvas-builder/components/container/ControlBar/ReorderContent.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/ControlBar/ReorderTitle.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/DownloadButton/DownloadButton.vue.d.ts +3 -3
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +32 -47
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +103 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentLegacy.vue.d.ts +104 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +107 -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 +11 -6
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +4 -25
- package/lib/apps/canvas-builder/components/container/Navigator/NavigatorPresentation.vue.d.ts +5 -28
- package/lib/apps/canvas-builder/components/container/PlaceholderComponent/PlaceholderComponent.vue.d.ts +1 -10
- 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 -12
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.settings.vue.d.ts +5 -26
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.vue.d.ts +7 -36
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionGroupSelector.vue.d.ts +21 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionListItem.vue.d.ts +37 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.edit.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.raw.vue.d.ts +19 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +30 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionSelector.vue.d.ts +17 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/components/PreviewImage.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/cache.use.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/zoom.use.d.ts +15 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/utils/type.util.d.ts +5 -0
- 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 +6 -15
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.vue.d.ts +7 -36
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridCarousel.vue.d.ts +3 -12
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridDeletedFileItem.vue.d.ts +4 -4
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridFileItem.vue.d.ts +4 -25
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridItem.vue.d.ts +8 -15
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridToolbar.vue.d.ts +6 -27
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.edit.vue.d.ts +3 -12
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +18 -32
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +5 -14
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.vue.d.ts +7 -36
- package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +8 -39
- package/lib/apps/canvas-builder/components/ui/Grid/GridItemTooltip.vue.d.ts +3 -12
- package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +4 -33
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.edit.vue.d.ts +7 -0
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +23 -0
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.settings.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.vue.d.ts +31 -0
- 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 +3 -12
- package/lib/apps/canvas-builder/components/ui/Link/Link.settings.vue.d.ts +3 -12
- package/lib/apps/canvas-builder/components/ui/Link/Link.vue.d.ts +4 -33
- 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 +4 -25
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.settings.vue.d.ts +5 -14
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.vue.d.ts +7 -36
- package/lib/apps/canvas-builder/components/ui/Page/Page.settings.vue.d.ts +3 -12
- package/lib/apps/canvas-builder/components/ui/Page/Page.vue.d.ts +12 -36
- package/lib/apps/canvas-builder/components/ui/PageBreak/PageBreak.vue.d.ts +3 -20
- package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +4 -13
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +6 -15
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCollapsibles.vue.d.ts +4 -25
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionRecommendationTile.vue.d.ts +6 -15
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.helpers.d.ts +18 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.helpers.test.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.vue.d.ts +7 -16
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorItem.vue.d.ts +16 -30
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorSelected.vue.d.ts +11 -18
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +27 -32
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +15 -0
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +7 -36
- package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.raw.vue.d.ts +3 -12
- package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.vue.d.ts +7 -36
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +839 -11251
- package/lib/apps/canvas-builder/composables/useCanvasDnd.d.ts +4 -4
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +295 -1597
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +8 -6
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +79 -7
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCollapsibles.d.ts +3 -0
- package/lib/apps/canvas-builder/composables/useCollectionPlayer.d.ts +31 -0
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +35 -4
- package/lib/apps/canvas-builder/composables/useFetchMostPopularFiles.d.ts +4 -0
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useNavigatorDrawer.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/usePopularity.d.ts +8 -0
- package/lib/apps/canvas-builder/composables/useRecommendations.d.ts +4 -9
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +3 -3
- package/lib/apps/canvas-builder/composables/useSectionNavigation.d.ts +3 -3
- package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +1 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +87 -21
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +8 -5
- package/lib/apps/canvas-builder/util/url.d.ts +1 -0
- package/lib/apps/canvas-selector/App.vue.d.ts +5 -22
- package/lib/apps/canvas-selector/appTypes.d.ts +3 -2
- package/lib/apps/canvas-selector/components/CanvasListItem.vue.d.ts +4 -34
- package/lib/apps/canvas-selector/components/CanvasSelectionArea.vue.d.ts +1 -1
- package/lib/apps/canvas-selector/components/CanvasTemplates.vue.d.ts +1 -1
- package/lib/apps/canvas-selector/components/Navbar.vue.d.ts +1 -1
- package/lib/apps/canvas-selector/components/PersonalCanvases.vue.d.ts +1 -1
- package/lib/apps/canvas-selector/components/SectionTemplates.vue.d.ts +1 -1
- package/lib/apps/canvas-selector/components/Sections.vue.d.ts +1 -1
- package/lib/apps/canvas-selector/stores/app.d.ts +232 -1
- package/lib/apps/content-selector/App.vue.d.ts +6 -27
- package/lib/apps/content-selector/appTypes.d.ts +4 -2
- package/lib/apps/content-selector/components/AiImages.vue.d.ts +10 -0
- package/lib/apps/content-selector/components/Assets/AssetUploader.vue.d.ts +3 -3
- package/lib/apps/content-selector/components/Assets.vue.d.ts +1 -1
- package/lib/apps/content-selector/components/Content/AllContent/AllContent.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 +1 -1
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +9 -41
- 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/ExternalLinks.vue.d.ts +3 -3
- package/lib/apps/content-selector/components/Navbar.vue.d.ts +2 -0
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +6 -29
- package/lib/apps/content-selector/components/ui/MediaPreview.vue.d.ts +7 -10
- package/lib/apps/content-selector/stores/app.d.ts +8 -3
- package/lib/apps/notes/NotesApp.vue.d.ts +9 -38
- package/lib/apps/notes/components/CustomerReaction.vue.d.ts +2 -0
- package/lib/apps/notes/composables/useFullscreenNotesHeartbeat.d.ts +1 -1
- package/lib/components/CAnimationSelector/CAnimationSelector.vue.d.ts +7 -28
- package/lib/components/CApexChart/CApexChartLine.vue.d.ts +2 -25
- package/lib/components/CAutoComplete/CAutoComplete.vue.d.ts +8 -3
- package/lib/components/CAvatar/CAvatar.vue.d.ts +8 -3
- package/lib/components/CBulkDeleteErrors/CBulkDeleteErrors.vue.d.ts +3 -12
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +29 -29
- package/lib/components/CButton/CButton.vue.d.ts +10 -27
- package/lib/components/CCanvasModal/CCanvasModal.vue.d.ts +10 -30
- package/lib/components/CCanvasSelector/CCanvasSelector.vue.d.ts +6 -30
- package/lib/components/CCanvasSelector/CCanvasSelectorListItem.vue.d.ts +6 -15
- package/lib/components/CCard/CCard.vue.d.ts +8 -3
- package/lib/components/CCarousel/CCarousel.vue.d.ts +4 -29
- package/lib/components/CCatalogIqSwitcher/CCatalogIqSwitcher.vue.d.ts +2 -23
- package/lib/components/CCatalogIqSwitcher/CCatalogIqSwitcherContent.vue.d.ts +4 -13
- package/lib/components/CCheckbox/CCheckbox.vue.d.ts +1 -1
- package/lib/components/CChip/CChip.vue.d.ts +12 -36
- package/lib/components/CCollapse/CCollapse.vue.d.ts +13 -27
- package/lib/components/CCollapse/CCollapseItem.vue.d.ts +8 -3
- package/lib/components/CCollapseTransition/CCollapseTransition.vue.d.ts +8 -3
- package/lib/components/CColorPicker/CColorPicker.vue.d.ts +8 -3
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +12 -16
- package/lib/components/CComponentThemeOptions/CComponentThemeOptions.vue.d.ts +3 -12
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +14 -27
- package/lib/components/CConfirmation/CConfirmationAction.vue.d.ts +8 -31
- package/lib/components/CConfirmation/CConfirmationContent.vue.d.ts +8 -3
- package/lib/components/CConfirmation/CConfirmationHeader.vue.d.ts +8 -3
- package/lib/components/CConfirmationModal/CConfirmationModal.vue.d.ts +16 -32
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +9 -18
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +6 -53
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +686 -7
- package/lib/components/CContactSelector/CContactSelectorColleagues.vue.d.ts +19 -96
- package/lib/components/CContactSelector/CContactSelectorSelected.vue.d.ts +17 -51
- package/lib/components/CCreateCanvasModal/CCreateCanvasModal.vue.d.ts +1 -74
- package/lib/components/CCreateCanvasModal/CCreateCanvasModalTemplatesSelectOption.vue.d.ts +7 -28
- package/lib/components/CCreateTemplateOrSectionModal/CCreateTemplateOrSectionModal.vue.d.ts +8 -33
- package/lib/components/CDataTable/CDataTable.vue.d.ts +3 -12
- package/lib/components/CDataTable/CDataTableEdit.use.d.ts +2 -2
- package/lib/components/CDetailPageSectionButtons/CDetailPageSectionButtons.vue.d.ts +7 -30
- package/lib/components/CDivider/CDivider.vue.d.ts +1 -10
- package/lib/components/CDrawer/CDrawer.vue.d.ts +1 -1
- package/lib/components/CDrawerContent/CDrawerContent.vue.d.ts +1 -1
- package/lib/components/CDropdown/CDropdown.vue.d.ts +8 -3
- package/lib/components/CDynamicIndicator/CDynamicIndicator.vue.d.ts +15 -0
- package/lib/components/CEmpty/CEmpty.vue.d.ts +8 -3
- package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +56 -45
- package/lib/components/CError/CErrorFullScreen.vue.d.ts +11 -41
- package/lib/components/CFeedback/CFeedback.vue.d.ts +14 -18
- package/lib/components/CFileAttributes/CFileAttributes.vue.d.ts +41 -0
- package/lib/components/CFileThumbnail/CFileThumbnail.vue.d.ts +7 -29
- package/lib/components/CFileViewer/CFileViewer.types.d.ts +1 -1
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +14 -50
- package/lib/components/CFileViewer/CFileViewerCloseDialogContent.vue.d.ts +6 -15
- package/lib/components/CFileViewer/CFileViewerShare.vue.d.ts +2 -2
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +25 -27
- package/lib/components/CFileViewer/{pdfEvents.use.d.ts → pdf/CFileViewer.events.pdf.use.d.ts} +1 -1
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.annotations.use.d.ts +21 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.link.types.d.ts +14 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.link.use.d.ts +23 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.overlayItems.use.d.ts +11 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +64 -0
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +56 -0
- package/lib/components/CFileViewer/{CFileViewerFullScreen.use.d.ts → pdf/CFileViewerFullscreen.pdf.use.d.ts} +4 -3
- package/lib/components/CFileViewer/pdf/CFileViewerSearchResultsSidebar.pdf.vue.d.ts +6 -0
- package/lib/components/CFileViewer/pdf/CLinkAnnotationsPopover.pdf.vue.d.ts +25 -0
- package/lib/components/CFilesAccessInfo/CFilesAccessInfo.vue.d.ts +9 -25
- package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +10 -35
- package/lib/components/CFilesFolderDeleteDialogContent/CFilesFolderDeleteDialogContent.vue.d.ts +3 -12
- package/lib/components/CFontSelect/CFontSelect.vue.d.ts +4 -13
- package/lib/components/CFullScreenLoader/CFullScreenLoader.vue.d.ts +4 -29
- package/lib/components/CGlobalLoader/CGlobalLoader.vue.d.ts +1 -1
- package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +8 -17
- package/lib/components/CGlobalSearch/CGlobalSearchResults.vue.d.ts +6 -15
- package/lib/components/CGlobalSearch/CGlobalSearchShortcuts.vue.d.ts +1 -1
- package/lib/components/CGlobalSearch/CResult.vue.d.ts +5 -14
- package/lib/components/CGlobalSearch/CResultSection.vue.d.ts +8 -12
- package/lib/components/CGlobalSearch/GlobalSearch.use.d.ts +2 -2
- package/lib/components/CGlobalSearch/Shortcuts.use.d.ts +1 -1
- package/lib/components/CGroupsAccessInfo/CGroupsAccessInfo.vue.d.ts +9 -25
- package/lib/components/CHelpText/CHelpText.vue.d.ts +16 -0
- package/lib/components/CIcon/CIcon.vue.d.ts +2 -23
- package/lib/components/CImage/CBrokenImage.vue.d.ts +3 -12
- package/lib/components/CImage/CImage.vue.d.ts +10 -4
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +4 -35
- package/lib/components/CInput/CInput.vue.d.ts +2 -11
- package/lib/components/CInputPlaceholder/CInputPlaceholder.vue.d.ts +24 -0
- package/lib/components/CJsonEditor/CJsonEditor.vue.d.ts +8 -17
- package/lib/components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue.d.ts +2 -25
- package/lib/components/CLabelWithHelpText/CLabelWithHelpText.vue.d.ts +20 -0
- package/lib/components/CList/CList.vue.d.ts +30 -32
- package/lib/components/CList/CListItem.vue.d.ts +32 -52
- package/lib/components/CModal/CModal.vue.d.ts +8 -3
- package/lib/components/CMovableWidget/CMovableWidget.vue.d.ts +13 -29
- package/lib/components/CMultiSelect/CMultiSelect.vue.d.ts +5 -14
- package/lib/components/CPaddingInput/CPaddingInput.vue.d.ts +6 -39
- package/lib/components/CPaginationButtons/CPaginationButtons.vue.d.ts +24 -0
- package/lib/components/CPaletteConfigurator/CPaletteConfigurator.vue.d.ts +10 -0
- package/lib/components/CPopover/CPopover.vue.d.ts +8 -3
- package/lib/components/CPopularityAndEngagementIcons/CPopularityAndEngagementExtended.vue.d.ts +4 -29
- package/lib/components/CPopularityAndEngagementIcons/CPopularityAndEngagementIcons.vue.d.ts +1 -10
- package/lib/components/CQuickFilters/CQuickFilters.vue.d.ts +6 -27
- package/lib/components/CRate/CRate.vue.d.ts +14 -0
- package/lib/components/CRatingFeedback/CRatingFeedback.vue.d.ts +28 -0
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +8 -29
- package/lib/components/CRichTextEditor/components/CAiRichTextActions.vue.d.ts +5 -14
- package/lib/components/CRichTextEditor/components/CAlignmentSelect.vue.d.ts +1 -10
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +6 -15
- package/lib/components/CRichTextEditor/components/CEditorMenu.vue.d.ts +5 -14
- package/lib/components/CRichTextEditor/components/CFontDropdown.vue.d.ts +1 -10
- package/lib/components/CRichTextEditor/components/CFontSizeSelect.vue.d.ts +1 -10
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +4 -13
- package/lib/components/CRichTextEditor/components/CInsertDropdown.vue.d.ts +5 -14
- package/lib/components/CRichTextEditor/components/CListSelect.vue.d.ts +1 -10
- package/lib/components/CRichTextEditor/components/CSuggestionList.vue.d.ts +2 -11
- package/lib/components/CRichTextEditor/components/CTableToolbar.vue.d.ts +3 -12
- package/lib/components/CRichTextEditor/components/CTextTypeSelect.vue.d.ts +1 -10
- package/lib/components/CRichTextEditor/extensions/textStyleExtended.d.ts +12 -0
- package/lib/components/CSearch/CSearch.vue.d.ts +7 -36
- package/lib/components/CSearch/CSearchOnClick.vue.d.ts +8 -29
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +10 -45
- package/lib/components/CSecondaryNav/CSecondaryNav.vue.d.ts +12 -28
- package/lib/components/CSelect/CSelect.vue.d.ts +9 -25
- package/lib/components/CSettingsEditor/CSettingsEditor.vue.d.ts +3 -12
- package/lib/components/CShortcut/CShortcut.vue.d.ts +8 -3
- package/lib/components/CShortcut/CShortcutIcon.vue.d.ts +1 -10
- package/lib/components/CSingleSelect/CSingleSelect.vue.d.ts +6 -15
- package/lib/components/CSlider/CSlider.vue.d.ts +12 -42
- package/lib/components/CSpin/CSpin.vue.d.ts +8 -3
- package/lib/components/CSwatchSelector/CSwatchSelector.vue.d.ts +17 -0
- package/lib/components/CSwitch/CSwitch.vue.d.ts +1 -1
- package/lib/components/CTable/CTable.vue.d.ts +14 -53
- package/lib/components/CTableColumnsSettings/CTableColumnsSettings.vue.d.ts +11 -32
- package/lib/components/CTableEditActionButtons/CTableEditActionButtons.vue.d.ts +5 -5
- package/lib/components/CTableInput/CTableInput.vue.d.ts +1017 -38
- package/lib/components/CTableMore/CTableMore.vue.d.ts +7 -34
- package/lib/components/CTableSelect/CTableSelect.vue.d.ts +4 -13
- package/lib/components/CTableTag/CTableTag.vue.d.ts +12 -43
- package/lib/components/CTag/CTag.vue.d.ts +1 -1
- package/lib/components/CTags/CTags.vue.d.ts +6 -30
- package/lib/components/CTagsPlaceholder/CTagsPlaceholder.vue.d.ts +6 -0
- package/lib/components/CThemeEditor/CThemeEditor.vue.d.ts +1 -1
- package/lib/components/CTimeline/CTimeline.vue.d.ts +6 -15
- package/lib/components/CTimeline/CTimelineControl.vue.d.ts +1 -1
- package/lib/components/CTimeline/CTimelineModal.vue.d.ts +7 -16
- package/lib/components/CToastProvider/CToastProvider.vue.d.ts +1 -1
- package/lib/components/CToolbar/CToolbar.vue.d.ts +4 -21
- package/lib/components/CTooltip/CTooltip.vue.d.ts +8 -12
- package/lib/components/CTooltipWrapper/CTooltipWrapper.vue.d.ts +11 -27
- package/lib/components/CTypographyConfigurator/CTypographyConfigurator.vue.d.ts +14 -0
- package/lib/components/CTypographyConfigurator/CTypographyConfiguratorItem.vue.d.ts +14 -0
- package/lib/components/CUserAvatar/CUserAvatar.vue.d.ts +3 -26
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +7 -32
- package/lib/components/CUsersAccessInfo/CUsersAccessInfo.vue.d.ts +2 -23
- package/lib/components/CUsersGroupsAccessManage/CUsersGroupsAccessManage.types.d.ts +1 -0
- package/lib/components/CUsersGroupsAccessManage/CUsersGroupsAccessManage.vue.d.ts +8 -33
- package/lib/components/CVideo/CVideo.vue.d.ts +32 -13
- package/lib/components/CVirtualTable/CVirtualTable.vue.d.ts +22 -24
- package/lib/components/CVirtualTable/CVirtualTableRow.vue.d.ts +15 -19
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +207 -23
- package/lib/components/canvas-templates/CTemplateManagementActionsCell.vue.d.ts +17 -26
- package/lib/components/canvas-templates/CTemplateManagementActionsCellIconWrapper.vue.d.ts +3 -12
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +37 -14
- package/lib/components/canvases/CCanvasDeleteDialogContent.vue.d.ts +3 -12
- package/lib/components/canvases/CCanvasMetadataFilters.vue.d.ts +7 -36
- package/lib/components/canvases/CanvasesManagementBulk.use.d.ts +8 -0
- package/lib/components/filters/CCheckboxFilter.vue.d.ts +4 -13
- package/lib/components/filters/CDateRangeFilter.vue.d.ts +7 -32
- package/lib/components/filters/CSearchFilter.vue.d.ts +8 -31
- package/lib/components/filters/CSelectFilter.vue.d.ts +9 -10
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +232 -25
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +19 -28
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +8 -33
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +4 -1
- package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +41 -14
- package/lib/components/savedCanvases/CSavedCanvasesManagementUsedTemplateCell.vue.d.ts +8 -31
- package/lib/components/savedCanvases/smartFolders/SmartFolderNameCell.vue.d.ts +10 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +386 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +14 -0
- package/lib/components/savedCanvases/smartFolders/SmartFoldersConfigurationModal.vue.d.ts +6 -0
- package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +6 -0
- package/lib/components/sections/CSectionManagement.vue.d.ts +181 -22
- package/lib/components/sections/CSectionManagementActionsCell.vue.d.ts +15 -24
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +11 -20
- package/lib/composables/appsDb.use.d.ts +32 -0
- package/lib/composables/fileViewerSettings.use.d.ts +2 -0
- package/lib/composables/instanceTagsActions.use.d.ts +5 -1
- package/lib/composables/openFileStack.use.d.ts +20 -0
- package/lib/composables/presentationHistory.use.d.ts +12 -0
- package/lib/composables/recentFiles.use.d.ts +2 -1
- package/lib/composables/suggestedTags.use.d.ts +6 -1
- package/lib/composables/useAdminAndDsrState.d.ts +6 -0
- package/lib/composables/useAssetUpload.d.ts +2 -1
- package/lib/composables/useCanvasTablesPagination.d.ts +10 -8
- package/lib/composables/useConnectUpload.d.ts +3 -1
- package/lib/composables/useElementHeightResize.d.ts +1 -1
- package/lib/composables/useFetchUsers.d.ts +1 -3
- package/lib/composables/useFileDisplayHelpers.d.ts +8 -0
- package/lib/composables/useLocation.d.ts +1 -1
- package/lib/composables/useLocationManipulation.d.ts +1 -1
- package/lib/composables/useMetadataFilters.d.ts +8 -6
- package/lib/composables/useSharedTranslations.d.ts +10 -0
- package/lib/composables/useThemeVars.d.ts +28 -0
- package/lib/constants/appsDb.const.d.ts +10 -0
- package/lib/constants/cdp.const.d.ts +10 -0
- package/lib/constants/i18n.const.d.ts +2 -2
- package/lib/constants/pitcherSettings.const.d.ts +1 -0
- package/lib/constants/timers.const.d.ts +1 -0
- package/lib/directives/tap.d.ts +9 -0
- package/lib/directives/usage-track.directive.d.ts +10 -0
- package/lib/main.lib.d.ts +11 -0
- package/lib/sdk/api/HighLevelApi.d.ts +15 -1
- package/lib/sdk/api/modules/admin/files.admin.d.ts +16 -0
- package/lib/sdk/api/modules/admin/index.d.ts +4 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +28 -2
- package/lib/sdk/api/modules/canvas.d.ts +5 -1
- package/lib/sdk/api/modules/dsr/files.dsr.d.ts +17 -0
- package/lib/sdk/api/modules/dsr/types.dsr.d.ts +3 -1
- package/lib/sdk/api/modules/files.d.ts +5 -1
- package/lib/sdk/api/modules/filesRevisions.d.ts +5 -0
- package/lib/sdk/api/modules/index.d.ts +2 -0
- package/lib/sdk/api/modules/pspdfkit.d.ts +25 -2
- package/lib/sdk/api/modules/share.d.ts +8 -0
- package/lib/sdk/api/modules/ui/index.d.ts +14 -14
- package/lib/sdk/api/modules/ui/pia.ui.d.ts +4 -4
- package/lib/sdk/api/modules/ui/types.ui.d.ts +9 -2
- package/lib/sdk/interfaces.d.ts +15 -1
- package/lib/sdk/main.d.ts +53 -3
- package/lib/sdk/payload.types.d.ts +41 -0
- package/lib/theme/light.d.ts +75 -10
- package/lib/theme/theme.utils.d.ts +17 -0
- package/lib/types/app.d.ts +1 -1
- package/lib/types/call.d.ts +10 -1
- package/lib/types/canvasTheme.d.ts +11 -0
- package/lib/types/canvases.d.ts +1 -0
- package/lib/types/instanceSettings.types.d.ts +3 -0
- package/lib/types/instanceTags.types.d.ts +3 -0
- package/lib/types/launchDarkly.types.d.ts +2 -1
- package/lib/types/metadataHighlightProperty.d.ts +8 -0
- package/lib/types/organizationSettings.types.d.ts +24 -2
- package/lib/types/recentFiles.types.d.ts +1 -0
- package/lib/util/date.d.ts +1 -0
- package/lib/util/eval.d.ts +2 -0
- package/lib/util/jwt.d.ts +1 -0
- package/lib/util/network.d.ts +1 -4
- package/lib/util/string.d.ts +1 -1
- package/lib/util/usage-tracking.util.d.ts +5 -0
- package/lib/util/userAgents.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +6 -6
- package/types/openapi/models/AppRelease.d.ts +1 -4
- package/types/openapi/models/BulkDeleteMixedObjectsRequest.d.ts +7 -0
- package/types/openapi/models/DeletedInstance.d.ts +1 -1
- package/types/openapi/models/FavoriteUpdate.d.ts +1 -1
- package/types/openapi/models/FavoriteUpdateRequest.d.ts +1 -4
- package/types/openapi/models/FileCreate.d.ts +1 -0
- package/types/openapi/models/FileRetrieve.d.ts +1 -0
- package/types/openapi/models/FileUpdate.d.ts +1 -0
- package/types/openapi/models/FolderFile.d.ts +1 -0
- package/types/openapi/models/Instance.d.ts +1 -1
- package/types/openapi/models/InstanceMembershipRoleEnum.d.ts +2 -0
- package/types/openapi/models/InstanceRequest.d.ts +0 -2
- package/types/openapi/models/MetadataTemplateField.d.ts +1 -0
- package/types/openapi/models/MetadataTemplateFieldRequest.d.ts +1 -0
- package/types/openapi/models/PSPDFKitAuthPayload.d.ts +3 -0
- package/types/openapi/models/PSPDFKitAuthPayloadRequest.d.ts +3 -0
- package/types/openapi/models/PSPDFKitToken.d.ts +6 -0
- package/types/openapi/models/PSPDFKitTokenRequest.d.ts +3 -0
- package/types/openapi/models/PatchedFavoriteUpdateRequest.d.ts +0 -3
- package/types/openapi/models/PatchedUserRequest.d.ts +2 -2
- package/types/openapi/models/User.d.ts +2 -2
- package/types/openapi/models/UserRequest.d.ts +2 -2
- package/types/openapi/models/UserRoleEnum.d.ts +10 -0
- package/lib/apps/canvas-builder/composables/useFetchSectionAnalytics.d.ts +0 -3
- package/lib/components/CFileViewer/CFileViewer.use.d.ts +0 -51
- package/lib/components/CFileViewer/CFileViewerBottomPdf.vue.d.ts +0 -70
- package/lib/components/CFileViewer/CFileViewerSearchResultsSidebar.vue.d.ts +0 -14
- package/lib/composables/useFiles.d.ts +0 -10
- package/types/openapi/models/AppOrganizationRequest.d.ts +0 -4
- package/types/openapi/models/AppRequest.d.ts +0 -8
- package/types/openapi/models/DeletedApp.d.ts +0 -22
- package/types/openapi/models/MiniPageRequest.d.ts +0 -3
- package/types/openapi/models/PaginatedAppReleaseList.d.ts +0 -7
- package/types/openapi/models/PatchedAppRequest.d.ts +0 -8
- /package/lib/components/CFileViewer/{pageThumbnailFavorite.use.d.ts → pdf/CFileViewer.pageFavorite.pdf.use.d.ts} +0 -0
|
@@ -1,11 +1,179 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { ColumnDef, SortingState, PaginationState } from '@tanstack/table-core';
|
|
1
3
|
import { PaginatedData } from '../../types/paginatedData';
|
|
2
4
|
import { CLIENT_TYPE } from '../../constants/cdp.const';
|
|
3
5
|
import { GetCanvasesParams } from '../../types/canvases';
|
|
4
6
|
import { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest } from '../../../types/openapi';
|
|
5
7
|
declare function __VLS_template(): {
|
|
6
|
-
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {
|
|
12
|
+
toolbarWrapper: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
13
|
+
hideCreate?: boolean;
|
|
14
|
+
search: string;
|
|
15
|
+
metadataFilterValues: Record<string, any>;
|
|
16
|
+
recommendedSectionIds: string[];
|
|
17
|
+
isLoadingItems?: boolean;
|
|
18
|
+
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
19
|
+
isViewHidden?: boolean;
|
|
20
|
+
}> & Readonly<{
|
|
21
|
+
onSearch?: ((s: string) => any) | undefined;
|
|
22
|
+
onSelect?: ((payload: {
|
|
23
|
+
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
24
|
+
checked: boolean;
|
|
25
|
+
}) => any) | undefined;
|
|
26
|
+
onMove?: ((payload: {
|
|
27
|
+
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
28
|
+
itemId: string;
|
|
29
|
+
}) => any) | undefined;
|
|
30
|
+
"onUpdate:metadata-filter-values"?: ((mf: Record<string, any>) => any) | undefined;
|
|
31
|
+
"onCreate:section"?: (() => any) | undefined;
|
|
32
|
+
onRestoreColumns?: (() => any) | undefined;
|
|
33
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
|
+
search: (s: string) => any;
|
|
35
|
+
select: (payload: {
|
|
36
|
+
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
37
|
+
checked: boolean;
|
|
38
|
+
}) => any;
|
|
39
|
+
move: (payload: {
|
|
40
|
+
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
41
|
+
itemId: string;
|
|
42
|
+
}) => any;
|
|
43
|
+
"update:metadata-filter-values": (mf: Record<string, any>) => any;
|
|
44
|
+
"create:section": () => any;
|
|
45
|
+
restoreColumns: () => any;
|
|
46
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
47
|
+
P: {};
|
|
48
|
+
B: {};
|
|
49
|
+
D: {};
|
|
50
|
+
C: {};
|
|
51
|
+
M: {};
|
|
52
|
+
Defaults: {};
|
|
53
|
+
}, Readonly<{
|
|
54
|
+
hideCreate?: boolean;
|
|
55
|
+
search: string;
|
|
56
|
+
metadataFilterValues: Record<string, any>;
|
|
57
|
+
recommendedSectionIds: string[];
|
|
58
|
+
isLoadingItems?: boolean;
|
|
59
|
+
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
60
|
+
isViewHidden?: boolean;
|
|
61
|
+
}> & Readonly<{
|
|
62
|
+
onSearch?: ((s: string) => any) | undefined;
|
|
63
|
+
onSelect?: ((payload: {
|
|
64
|
+
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
65
|
+
checked: boolean;
|
|
66
|
+
}) => any) | undefined;
|
|
67
|
+
onMove?: ((payload: {
|
|
68
|
+
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
69
|
+
itemId: string;
|
|
70
|
+
}) => any) | undefined;
|
|
71
|
+
"onUpdate:metadata-filter-values"?: ((mf: Record<string, any>) => any) | undefined;
|
|
72
|
+
"onCreate:section"?: (() => any) | undefined;
|
|
73
|
+
onRestoreColumns?: (() => any) | undefined;
|
|
74
|
+
}>, {}, {}, {}, {}, {}> | null;
|
|
75
|
+
tableRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
76
|
+
selectedRows?: Record<string, boolean>;
|
|
77
|
+
scrollerClass?: string;
|
|
78
|
+
columns: ColumnDef<{
|
|
79
|
+
[x: string]: any;
|
|
80
|
+
}, any>[];
|
|
81
|
+
data: {
|
|
82
|
+
[x: string]: any;
|
|
83
|
+
}[];
|
|
84
|
+
initialSorting?: SortingState;
|
|
85
|
+
loading?: boolean;
|
|
86
|
+
pageSize?: number;
|
|
87
|
+
pageSizes?: number[];
|
|
88
|
+
pageIndex?: number;
|
|
89
|
+
totalCount?: number;
|
|
90
|
+
displayedCount?: number;
|
|
91
|
+
serverSide?: boolean;
|
|
92
|
+
scrollerStyle?: import('vue').StyleValue;
|
|
93
|
+
selectable?: boolean;
|
|
94
|
+
}> & Readonly<{
|
|
95
|
+
onSortChanged?: ((s: SortingState) => any) | undefined;
|
|
96
|
+
onPageChanged?: ((p: PaginationState) => any) | undefined;
|
|
97
|
+
onPageSizeChanged?: ((p: number) => any) | undefined;
|
|
98
|
+
"onUpdate:selectedRows"?: ((s: Record<string, boolean>) => any) | undefined;
|
|
99
|
+
}>, {
|
|
100
|
+
isNoneSelected: ComputedRef<boolean>;
|
|
101
|
+
areAllSelected: ComputedRef<boolean>;
|
|
102
|
+
selectAll: () => void;
|
|
103
|
+
selectedRowsCount: ComputedRef<number>;
|
|
104
|
+
pageRowsCount: ComputedRef<number>;
|
|
105
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
106
|
+
sortChanged: (s: SortingState) => any;
|
|
107
|
+
pageChanged: (p: PaginationState) => any;
|
|
108
|
+
pageSizeChanged: (p: number) => any;
|
|
109
|
+
"update:selectedRows": (s: Record<string, boolean>) => any;
|
|
110
|
+
}, import('vue').PublicProps, {
|
|
111
|
+
data: {
|
|
112
|
+
[x: string]: any;
|
|
113
|
+
}[];
|
|
114
|
+
columns: ColumnDef<{
|
|
115
|
+
[x: string]: any;
|
|
116
|
+
}, any>[];
|
|
117
|
+
pageIndex: number;
|
|
118
|
+
loading: boolean;
|
|
119
|
+
pageSize: number;
|
|
120
|
+
initialSorting: SortingState;
|
|
121
|
+
serverSide: boolean;
|
|
122
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
123
|
+
P: {};
|
|
124
|
+
B: {};
|
|
125
|
+
D: {};
|
|
126
|
+
C: {};
|
|
127
|
+
M: {};
|
|
128
|
+
Defaults: {};
|
|
129
|
+
}, Readonly<{
|
|
130
|
+
selectedRows?: Record<string, boolean>;
|
|
131
|
+
scrollerClass?: string;
|
|
132
|
+
columns: ColumnDef<{
|
|
133
|
+
[x: string]: any;
|
|
134
|
+
}, any>[];
|
|
135
|
+
data: {
|
|
136
|
+
[x: string]: any;
|
|
137
|
+
}[];
|
|
138
|
+
initialSorting?: SortingState;
|
|
139
|
+
loading?: boolean;
|
|
140
|
+
pageSize?: number;
|
|
141
|
+
pageSizes?: number[];
|
|
142
|
+
pageIndex?: number;
|
|
143
|
+
totalCount?: number;
|
|
144
|
+
displayedCount?: number;
|
|
145
|
+
serverSide?: boolean;
|
|
146
|
+
scrollerStyle?: import('vue').StyleValue;
|
|
147
|
+
selectable?: boolean;
|
|
148
|
+
}> & Readonly<{
|
|
149
|
+
onSortChanged?: ((s: SortingState) => any) | undefined;
|
|
150
|
+
onPageChanged?: ((p: PaginationState) => any) | undefined;
|
|
151
|
+
onPageSizeChanged?: ((p: number) => any) | undefined;
|
|
152
|
+
"onUpdate:selectedRows"?: ((s: Record<string, boolean>) => any) | undefined;
|
|
153
|
+
}>, {
|
|
154
|
+
isNoneSelected: ComputedRef<boolean>;
|
|
155
|
+
areAllSelected: ComputedRef<boolean>;
|
|
156
|
+
selectAll: () => void;
|
|
157
|
+
selectedRowsCount: ComputedRef<number>;
|
|
158
|
+
pageRowsCount: ComputedRef<number>;
|
|
159
|
+
}, {}, {}, {}, {
|
|
160
|
+
data: {
|
|
161
|
+
[x: string]: any;
|
|
162
|
+
}[];
|
|
163
|
+
columns: ColumnDef<{
|
|
164
|
+
[x: string]: any;
|
|
165
|
+
}, any>[];
|
|
166
|
+
pageIndex: number;
|
|
167
|
+
loading: boolean;
|
|
168
|
+
pageSize: number;
|
|
169
|
+
initialSorting: SortingState;
|
|
170
|
+
serverSide: boolean;
|
|
171
|
+
}> | null;
|
|
172
|
+
};
|
|
173
|
+
attrs: Partial<{}>;
|
|
7
174
|
};
|
|
8
|
-
|
|
175
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
176
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
9
177
|
storageKey?: string;
|
|
10
178
|
myUserId?: CanvasRetrieve["created_by"]["id"];
|
|
11
179
|
updater: (params: PatchedCanvasUpdateRequest & {
|
|
@@ -25,14 +193,14 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOp
|
|
|
25
193
|
}) => Promise<CanvasRetrieve>;
|
|
26
194
|
client: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
27
195
|
areSectionsSystemControlled?: boolean;
|
|
28
|
-
}
|
|
196
|
+
}, {
|
|
29
197
|
refetch: () => Promise<void>;
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
edit: (canvas: CanvasRetrieve) =>
|
|
33
|
-
open: (canvas: CanvasRetrieve, newTab?: boolean | undefined) =>
|
|
34
|
-
|
|
35
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
198
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
199
|
+
create: () => any;
|
|
200
|
+
edit: (canvas: CanvasRetrieve) => any;
|
|
201
|
+
open: (canvas: CanvasRetrieve, newTab?: boolean | undefined) => any;
|
|
202
|
+
details: (canvas: CanvasRetrieve) => any;
|
|
203
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
36
204
|
storageKey?: string;
|
|
37
205
|
myUserId?: CanvasRetrieve["created_by"]["id"];
|
|
38
206
|
updater: (params: PatchedCanvasUpdateRequest & {
|
|
@@ -52,25 +220,16 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOp
|
|
|
52
220
|
}) => Promise<CanvasRetrieve>;
|
|
53
221
|
client: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
54
222
|
areSectionsSystemControlled?: boolean;
|
|
55
|
-
}
|
|
223
|
+
}> & Readonly<{
|
|
56
224
|
onCreate?: (() => any) | undefined;
|
|
57
|
-
onOpen?: ((canvas: CanvasRetrieve, newTab?: boolean | undefined) => any) | undefined;
|
|
58
225
|
onEdit?: ((canvas: CanvasRetrieve) => any) | undefined;
|
|
226
|
+
onOpen?: ((canvas: CanvasRetrieve, newTab?: boolean | undefined) => any) | undefined;
|
|
59
227
|
onDetails?: ((canvas: CanvasRetrieve) => any) | undefined;
|
|
60
|
-
}, {}, {}>;
|
|
61
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
228
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
229
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
62
230
|
export default _default;
|
|
63
231
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
232
|
new (): {
|
|
65
233
|
$slots: S;
|
|
66
234
|
};
|
|
67
235
|
};
|
|
68
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
69
|
-
type __VLS_TypePropsToOption<T> = {
|
|
70
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
71
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
72
|
-
} : {
|
|
73
|
-
type: import('vue').PropType<T[K]>;
|
|
74
|
-
required: true;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
hideCopy?: boolean;
|
|
3
3
|
hideEdit?: boolean;
|
|
4
4
|
hideDelete?: boolean;
|
|
@@ -6,15 +6,15 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
|
6
6
|
hideViewNewTab?: boolean;
|
|
7
7
|
isCopying: boolean;
|
|
8
8
|
isDeleting: boolean;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
edit: () =>
|
|
13
|
-
copy: () =>
|
|
14
|
-
|
|
15
|
-
viewNewTab: () =>
|
|
16
|
-
viewDetails: () =>
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
9
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
delete: () => any;
|
|
11
|
+
duplicate: () => any;
|
|
12
|
+
edit: () => any;
|
|
13
|
+
copy: () => any;
|
|
14
|
+
view: () => any;
|
|
15
|
+
viewNewTab: () => any;
|
|
16
|
+
viewDetails: () => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
18
18
|
hideCopy?: boolean;
|
|
19
19
|
hideEdit?: boolean;
|
|
20
20
|
hideDelete?: boolean;
|
|
@@ -22,22 +22,13 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
|
22
22
|
hideViewNewTab?: boolean;
|
|
23
23
|
isCopying: boolean;
|
|
24
24
|
isDeleting: boolean;
|
|
25
|
-
}
|
|
26
|
-
onCopy?: (() => any) | undefined;
|
|
27
|
-
onEdit?: (() => any) | undefined;
|
|
28
|
-
onView?: (() => any) | undefined;
|
|
25
|
+
}> & Readonly<{
|
|
29
26
|
onDelete?: (() => any) | undefined;
|
|
30
27
|
onDuplicate?: (() => any) | undefined;
|
|
28
|
+
onEdit?: (() => any) | undefined;
|
|
29
|
+
onCopy?: (() => any) | undefined;
|
|
30
|
+
onView?: (() => any) | undefined;
|
|
31
31
|
onViewNewTab?: (() => any) | undefined;
|
|
32
32
|
onViewDetails?: (() => any) | undefined;
|
|
33
|
-
}, {}, {}>;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
export default _default;
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TableColumnSetting } from '../CTableColumnsSettings/CTableColumnsSettings.vue';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
hideCreate?: boolean;
|
|
4
4
|
search: string;
|
|
5
5
|
metadataFilterValues: Record<string, any>;
|
|
@@ -7,20 +7,20 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
|
7
7
|
isLoadingItems?: boolean;
|
|
8
8
|
tableColumnsSettings: TableColumnSetting[];
|
|
9
9
|
isViewHidden?: boolean;
|
|
10
|
-
}
|
|
11
|
-
search: (s: string) =>
|
|
10
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
search: (s: string) => any;
|
|
12
12
|
select: (payload: {
|
|
13
13
|
id: TableColumnSetting["id"];
|
|
14
14
|
checked: boolean;
|
|
15
|
-
}) =>
|
|
15
|
+
}) => any;
|
|
16
16
|
move: (payload: {
|
|
17
17
|
targetItemId: TableColumnSetting["id"];
|
|
18
18
|
itemId: string;
|
|
19
|
-
}) =>
|
|
20
|
-
"update:metadata-filter-values": (mf: Record<string, any>) =>
|
|
21
|
-
"create:section": () =>
|
|
22
|
-
restoreColumns: () =>
|
|
23
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
19
|
+
}) => any;
|
|
20
|
+
"update:metadata-filter-values": (mf: Record<string, any>) => any;
|
|
21
|
+
"create:section": () => any;
|
|
22
|
+
restoreColumns: () => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
24
24
|
hideCreate?: boolean;
|
|
25
25
|
search: string;
|
|
26
26
|
metadataFilterValues: Record<string, any>;
|
|
@@ -28,7 +28,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
|
28
28
|
isLoadingItems?: boolean;
|
|
29
29
|
tableColumnsSettings: TableColumnSetting[];
|
|
30
30
|
isViewHidden?: boolean;
|
|
31
|
-
}
|
|
31
|
+
}> & Readonly<{
|
|
32
32
|
onSearch?: ((s: string) => any) | undefined;
|
|
33
33
|
onSelect?: ((payload: {
|
|
34
34
|
id: TableColumnSetting["id"];
|
|
@@ -41,14 +41,5 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
|
41
41
|
"onUpdate:metadata-filter-values"?: ((mf: Record<string, any>) => any) | undefined;
|
|
42
42
|
"onCreate:section"?: (() => any) | undefined;
|
|
43
43
|
onRestoreColumns?: (() => any) | undefined;
|
|
44
|
-
}, {}, {}>;
|
|
44
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
45
45
|
export default _default;
|
|
46
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
type __VLS_TypePropsToOption<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
-
} : {
|
|
51
|
-
type: import('vue').PropType<T[K]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { User, AppsDBEntry as GeneratedAppsDbEntry } from '../../types/openapi';
|
|
2
|
+
type AppsDBEntry = GeneratedAppsDbEntry & {
|
|
3
|
+
value: Record<string, any> | null;
|
|
4
|
+
};
|
|
5
|
+
interface EntryParams {
|
|
6
|
+
store_name: string;
|
|
7
|
+
user_id: User['id'];
|
|
8
|
+
entry_key: string;
|
|
9
|
+
}
|
|
10
|
+
interface GlobalEntryParams {
|
|
11
|
+
store_name: string;
|
|
12
|
+
entry_key: string;
|
|
13
|
+
}
|
|
14
|
+
interface UpsertEntryParams extends EntryParams {
|
|
15
|
+
data: Record<string, any>;
|
|
16
|
+
}
|
|
17
|
+
interface UpsertGlobalEntryParams extends GlobalEntryParams {
|
|
18
|
+
data: Record<string, any>;
|
|
19
|
+
}
|
|
20
|
+
export declare function useAppsDb(): {
|
|
21
|
+
upsertEntry: (payload: UpsertEntryParams) => Promise<AppsDBEntry>;
|
|
22
|
+
getEntry: (params: EntryParams) => Promise<GeneratedAppsDbEntry & {
|
|
23
|
+
value: Record<string, any> | null;
|
|
24
|
+
} & {
|
|
25
|
+
value: Record<string, any>;
|
|
26
|
+
}>;
|
|
27
|
+
deleteEntry: (params: EntryParams) => Promise<import('axios').AxiosResponse<void, any>>;
|
|
28
|
+
upsertGlobalEntry: (payload: UpsertGlobalEntryParams) => Promise<AppsDBEntry>;
|
|
29
|
+
getGlobalEntry: (params: GlobalEntryParams) => Promise<AppsDBEntry>;
|
|
30
|
+
deleteGlobalEntry: (params: GlobalEntryParams) => Promise<import('axios').AxiosResponse<void, any>>;
|
|
31
|
+
};
|
|
32
|
+
export {};
|
|
@@ -2,6 +2,8 @@ import { FileViewerSettings } from '../types/fileViewerSettings.types';
|
|
|
2
2
|
export default function useFileViewerSettings(): {
|
|
3
3
|
fileViewerSettings: Readonly<import('vue').Ref<{
|
|
4
4
|
readonly fitMode: "width" | "viewport";
|
|
5
|
+
}, {
|
|
6
|
+
readonly fitMode: "width" | "viewport";
|
|
5
7
|
}>>;
|
|
6
8
|
updateFileViewerSettings: (partialSettings: Partial<FileViewerSettings>) => void;
|
|
7
9
|
};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { Tag, Instance } from '../../types/openapi';
|
|
2
|
+
import { InstanceTagsCanvasType, InstanceTagsType } from '../types/instanceTags.types';
|
|
2
3
|
export default function useInstanceTagsActions(): {
|
|
3
|
-
fetchInstanceTags: ({ search, instanceId, page, pageSize, }: {
|
|
4
|
+
fetchInstanceTags: ({ search, instanceId, page, pageSize, includeHidden, canvasType, type, }: {
|
|
4
5
|
search: string;
|
|
5
6
|
instanceId?: Instance["id"];
|
|
6
7
|
page?: number;
|
|
7
8
|
pageSize?: number;
|
|
9
|
+
includeHidden?: boolean;
|
|
10
|
+
canvasType?: InstanceTagsCanvasType;
|
|
11
|
+
type?: InstanceTagsType[];
|
|
8
12
|
}) => Promise<Tag[]>;
|
|
9
13
|
fetchAllInstanceTags: ({ search, instanceId }: {
|
|
10
14
|
search?: string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface StackItem {
|
|
2
|
+
fileId: string;
|
|
3
|
+
pageIndex: number;
|
|
4
|
+
startTime?: number;
|
|
5
|
+
}
|
|
6
|
+
export default function useOpenFileStack(): {
|
|
7
|
+
resetStack: () => void;
|
|
8
|
+
pushToStack: (fileId: string, pageIndex: number, startTime?: number) => void;
|
|
9
|
+
popFromStack: () => StackItem | undefined;
|
|
10
|
+
fileStack: Readonly<import('vue').Ref<readonly {
|
|
11
|
+
readonly fileId: string;
|
|
12
|
+
readonly pageIndex: number;
|
|
13
|
+
readonly startTime?: number | undefined;
|
|
14
|
+
}[], readonly {
|
|
15
|
+
readonly fileId: string;
|
|
16
|
+
readonly pageIndex: number;
|
|
17
|
+
readonly startTime?: number | undefined;
|
|
18
|
+
}[]>>;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { Call, ContentRating } from '../types/call';
|
|
3
|
+
import { CDP_EVENT_TYPE } from '../constants/cdp.const';
|
|
4
|
+
export default function usePresentationHistory(): {
|
|
5
|
+
updatePresentationHistory: (p: {
|
|
6
|
+
eventName: (typeof CDP_EVENT_TYPE)[keyof typeof CDP_EVENT_TYPE];
|
|
7
|
+
payload: any;
|
|
8
|
+
call: Ref<Call>;
|
|
9
|
+
canvasName?: string;
|
|
10
|
+
}) => void;
|
|
11
|
+
setMetadataItem: (call: Ref<Call>, id: string, rating: ContentRating) => void;
|
|
12
|
+
};
|
|
@@ -7,5 +7,6 @@ export default function useRecentFiles({ instanceId, app, }: {
|
|
|
7
7
|
}): {
|
|
8
8
|
addRecentFile: (file: RecentFile) => void;
|
|
9
9
|
instanceRecentFiles: ComputedRef<RecentFile[]>;
|
|
10
|
-
updateRecentFiles: (files: Partial<RecentFile>[]) =>
|
|
10
|
+
updateRecentFiles: (files: Partial<RecentFile>[]) => RecentFile[];
|
|
11
|
+
updatePageInRecentFile: (fileId: string, pageIndex: number) => void;
|
|
11
12
|
};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { InstanceTagsCanvasType, InstanceTagsType } from '../types/instanceTags.types';
|
|
1
2
|
export default function useSuggestedTags(): {
|
|
2
|
-
fetchSuggestedInstanceTags: (search: string
|
|
3
|
+
fetchSuggestedInstanceTags: (search: string, { includeHidden, canvasType, type, }?: {
|
|
4
|
+
includeHidden?: boolean;
|
|
5
|
+
canvasType?: InstanceTagsCanvasType;
|
|
6
|
+
type?: InstanceTagsType[];
|
|
7
|
+
}) => Promise<string[]>;
|
|
3
8
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
1
2
|
import { AxiosProgressEvent } from 'axios';
|
|
2
3
|
export declare function useAssetUpload(): {
|
|
3
|
-
isUploading:
|
|
4
|
+
isUploading: Ref<boolean, boolean>;
|
|
4
5
|
uploadAsset: (file: File, onUploadProgress?: (progress: AxiosProgressEvent, file: File) => void) => Promise<import('../../types/openapi').FileRetrieve>;
|
|
5
6
|
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import { Ref, UnwrapRef } from 'vue';
|
|
2
|
+
type PaginationPayload<T> = {
|
|
2
3
|
storageKey?: string;
|
|
3
4
|
initialFilters: T;
|
|
4
5
|
initialOrdering: string;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: <T>({ storageKey, initialFilters, initialOrdering }: PaginationPayload<T>) => {
|
|
7
|
-
search: import('vue').Ref<string>;
|
|
8
|
-
pageSize: import('vue').Ref<number>;
|
|
9
|
-
selectedFilters: import('vue').Ref<T | import('vue').UnwrapRef<T>>;
|
|
10
|
-
page: import('vue').Ref<number>;
|
|
11
|
-
ordering: import('vue').Ref<string>;
|
|
12
6
|
};
|
|
7
|
+
type PaginationReturn<T> = {
|
|
8
|
+
search: Ref<string>;
|
|
9
|
+
pageSize: Ref<number>;
|
|
10
|
+
selectedFilters: Ref<T> | Ref<UnwrapRef<T>, T | UnwrapRef<T>>;
|
|
11
|
+
page: Ref<number>;
|
|
12
|
+
ordering: Ref<string>;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: <T>({ storageKey, initialFilters, initialOrdering }: PaginationPayload<T>) => PaginationReturn<T>;
|
|
13
15
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
interface UploadResponse {
|
|
2
2
|
url: string;
|
|
3
3
|
}
|
|
4
|
-
export
|
|
4
|
+
export default function useConnectUpload(): {
|
|
5
|
+
uploadToConnect: (formData: FormData) => Promise<UploadResponse>;
|
|
6
|
+
};
|
|
5
7
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SelectOption } from 'naive-ui';
|
|
2
|
-
import { PitcherInfo } from '../types/app';
|
|
3
2
|
import { User } from '../../types/openapi';
|
|
4
3
|
export type Owner = {
|
|
5
4
|
value: User['id'];
|
|
@@ -8,9 +7,8 @@ export type Owner = {
|
|
|
8
7
|
};
|
|
9
8
|
declare function insertUserSorted(users: Owner[], newUser: Owner): Owner[];
|
|
10
9
|
declare function filterUsers(searchTerm: string | null | undefined, option: SelectOption): boolean;
|
|
11
|
-
declare function fetchUsers(pitcherInfo: PitcherInfo, myUser?: User | null): Promise<Owner[]>;
|
|
12
10
|
export default function useFetchUsers(): {
|
|
13
|
-
fetchUsers:
|
|
11
|
+
fetchUsers: (myUser?: User | null) => Promise<Owner[]>;
|
|
14
12
|
filterUsers: typeof filterUsers;
|
|
15
13
|
insertUserSorted: typeof insertUserSorted;
|
|
16
14
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ViewCompactFolder } from '../types/files';
|
|
2
|
+
import { FileContentTypeEnum } from '../../types/openapi';
|
|
3
|
+
export default function useFileDisplayHelpers(): {
|
|
4
|
+
getFolderDescription: (item: Partial<ViewCompactFolder>) => string;
|
|
5
|
+
renderContentType: (contentType: FileContentTypeEnum) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>;
|
|
8
|
+
};
|
|
@@ -18,7 +18,7 @@ export default function useLocation({ app, router, isReady, isRoot, selfRegister
|
|
|
18
18
|
relations: Record<string, string>;
|
|
19
19
|
unmount: () => Promise<void>;
|
|
20
20
|
update: (newRoutes: UpdateLocationOnUpdate["routes"]) => Promise<void>;
|
|
21
|
-
isPathRestored: import('vue').Ref<boolean>;
|
|
21
|
+
isPathRestored: import('vue').Ref<boolean, boolean>;
|
|
22
22
|
isAppMounted: import('vue').ComputedRef<boolean>;
|
|
23
23
|
isAppRestored: import('vue').ComputedRef<boolean>;
|
|
24
24
|
app: string;
|
|
@@ -21,7 +21,7 @@ interface Route {
|
|
|
21
21
|
query: LocationQuery;
|
|
22
22
|
}
|
|
23
23
|
export default function useLocationManipulation({ routes, relations, app, actionsQueue }: UseLocationManipulation): {
|
|
24
|
-
isPathRestored: Ref<boolean>;
|
|
24
|
+
isPathRestored: Ref<boolean, boolean>;
|
|
25
25
|
isAppMounted: import('vue').ComputedRef<boolean>;
|
|
26
26
|
isAppRestored: import('vue').ComputedRef<boolean>;
|
|
27
27
|
recoverRouteFromLocations: (rootApp: string) => Route;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { MetadataTemplateField, MetadataTemplateOption } from '../../types/openapi';
|
|
1
2
|
export declare function getComponentNameByFilterType(type: string): "CSearchFilter" | "CSelectFilter" | "CDateRangeFilter";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
getBooleanOptions: typeof getBooleanOptions;
|
|
3
|
+
export default function useMetadataFilters(t: (input: string) => string): {
|
|
4
|
+
getBooleanOptions: () => {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
8
|
getComponentNameByFilterType: typeof getComponentNameByFilterType;
|
|
9
|
+
getDefaultDateOptions: () => MetadataTemplateOption[];
|
|
10
|
+
getFilterOptions: (type: MetadataTemplateField["type"], options: MetadataTemplateField["options"]) => MetadataTemplateOption[];
|
|
9
11
|
};
|
|
@@ -26,5 +26,33 @@ declare const _default: () => import('vue').Ref<{
|
|
|
26
26
|
boxShadow: string;
|
|
27
27
|
boxShadow2: string;
|
|
28
28
|
boxShadow3: string;
|
|
29
|
+
}, import('../main.lib').BasicPalette | {
|
|
30
|
+
base: string;
|
|
31
|
+
primary: string;
|
|
32
|
+
primary2: string;
|
|
33
|
+
primary3: string;
|
|
34
|
+
primary4: string;
|
|
35
|
+
primary5: string;
|
|
36
|
+
primary6: string;
|
|
37
|
+
primary6_1: string;
|
|
38
|
+
accent: string;
|
|
39
|
+
text: string;
|
|
40
|
+
text2: string;
|
|
41
|
+
text3: string;
|
|
42
|
+
error: string;
|
|
43
|
+
error2: string;
|
|
44
|
+
error3: string;
|
|
45
|
+
warning: string;
|
|
46
|
+
warning2: string;
|
|
47
|
+
warning3: string;
|
|
48
|
+
success: string;
|
|
49
|
+
success2: string;
|
|
50
|
+
success3: string;
|
|
51
|
+
info: string;
|
|
52
|
+
info2: string;
|
|
53
|
+
info3: string;
|
|
54
|
+
boxShadow: string;
|
|
55
|
+
boxShadow2: string;
|
|
56
|
+
boxShadow3: string;
|
|
29
57
|
}>;
|
|
30
58
|
export default _default;
|