@pitcher/js-api 1.26.0-beta.1 → 1.26.0-beta.11
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/impact-js-api.spec.json +15 -0
- package/js-api.esm.js +440 -12
- 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/modals/ApplicationBlockSelectorModal.vue.d.ts +148 -36
- package/lib/apps/assets-manager/App.vue.d.ts +75 -0
- package/lib/apps/assets-manager/AssetsTab.vue.d.ts +22 -0
- package/lib/apps/assets-manager/components/AssetGridItem.vue.d.ts +16 -0
- package/lib/apps/browser/App.vue.d.ts +3 -1
- package/lib/apps/browser/appTypes.d.ts +4 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/BulkShareboxWarningModal.vue.d.ts +15 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/SelectionActions.vue.d.ts +1 -1
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +11 -7
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalProperties.vue.d.ts +5 -1
- package/lib/apps/browser/stores/api.d.ts +51 -12
- package/lib/apps/browser/stores/app.d.ts +3 -0
- package/lib/apps/browser/stores/upload.d.ts +16 -20
- package/lib/apps/browser/types/actionKeys.d.ts +22 -0
- package/lib/apps/canvas-builder/App.vue.d.ts +317 -261
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +148 -36
- package/lib/apps/canvas-builder/components/container/AnnotationMenu/AnnotationMenu.vue.d.ts +60 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/AnnotationContent.vue.d.ts +8 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts +21 -9
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +7 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/{EditableComponentRevamp.vue.d.ts → EditableComponentContent.vue.d.ts} +15 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/NavigationWrapper/NavigationWrapper.vue.d.ts +5 -1
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +162 -37
- package/lib/apps/canvas-builder/components/container/PopupApps/AdaptivePopupAppsButtons.vue.d.ts +17 -0
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridCarousel.vue.d.ts +20 -20
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.raw.vue.d.ts +30 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.vue.d.ts +76 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentListItems.vue.d.ts +21 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/content.store.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.edit.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.header.vue.d.ts +19 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.settings.vue.d.ts +10 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.utils.d.ts +32 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/DataCharts.raw.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/types.d.ts +87 -8
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.utils.d.ts +16 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +13 -9
- package/lib/apps/canvas-builder/components/ui/Html/CAiHtmlActions.vue.d.ts +23 -0
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Link/Link.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Page/Page.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +11 -7
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +6 -2
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +7 -7
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +154 -0
- package/lib/apps/canvas-builder/composables/useAnnotation.d.ts +29 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +1815 -286
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +192 -18
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +4 -2
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +184 -4
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +9 -9
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +21 -4
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -1
- package/lib/apps/canvas-builder/composables/useControlBarCollapse.d.ts +8 -0
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -2
- package/lib/apps/canvas-builder/composables/useCrmShapeWithSectionContext.d.ts +5 -0
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +0 -6
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +2 -4
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -4
- package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +98 -0
- package/lib/apps/canvas-builder/composables/useScribbleToolbar.d.ts +11 -0
- package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useTemporaryContext.d.ts +14 -0
- package/lib/apps/canvas-builder/constants/theme.const.d.ts +34 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +71 -2
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +5 -4
- package/lib/apps/canvas-builder/util/iframe.util.d.ts +16 -0
- package/lib/apps/canvas-builder/util/print.util.d.ts +22 -0
- package/lib/apps/canvas-selector/components/CanvasSelectionArea.vue.d.ts +171 -1
- package/lib/apps/canvas-selector/components/Sections.vue.d.ts +160 -1
- package/lib/apps/canvas-selector/stores/app.d.ts +28 -28
- package/lib/apps/collection-player/App.vue.d.ts +1 -0
- package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +5 -1
- package/lib/apps/collection-player/stores/app.store.d.ts +3 -0
- package/lib/apps/collection-player/types/collection-player.type.d.ts +17 -0
- package/lib/apps/collection-selector/App.vue.d.ts +7 -7
- package/lib/apps/collection-selector/stores/app.store.d.ts +4 -2
- package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +16 -7
- package/lib/apps/collection-selector/utils/data.util.d.ts +4 -4
- package/lib/apps/content-selector/App.vue.d.ts +2 -0
- package/lib/apps/content-selector/components/Assets.vue.d.ts +2 -2
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +1 -0
- package/lib/apps/content-selector/components/Content.vue.d.ts +74 -1
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +12 -2
- package/lib/apps/content-selector/stores/app.d.ts +16 -1
- package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +4 -1
- package/lib/apps/ppt-conversion-selector/utils/thumbnail.util.d.ts +1 -0
- package/lib/components/CAlgoliaSearch/CAlgoliaSearch.vue.d.ts +18 -0
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +2 -0
- package/lib/components/CCarousel/CCarousel.vue.d.ts +118 -20
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +9 -6
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +7 -5
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +4 -0
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +7 -0
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +56 -3
- package/lib/components/CContentError/CContentError.vue.d.ts +9 -0
- package/lib/components/CCreateCanvasModal/CCreateCanvasModalTemplatesSelectOption.vue.d.ts +3 -0
- package/lib/components/CCreateTemplateSectionBlockModal/CCreateTemplateSectionBlockModal.vue.d.ts +2 -2
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +10 -8
- package/lib/components/CDataTable/CDataTable.vue.d.ts +876 -100
- package/lib/components/CFileAccessManagement/CFileAccessManagement.vue.d.ts +6 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +5 -9
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +0 -5
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.link.types.d.ts +3 -2
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +2 -6
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +1 -0
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +11 -7
- package/lib/components/CImage/CImage.vue.d.ts +110 -20
- package/lib/components/CInput/CInput.vue.d.ts +148 -36
- package/lib/components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue.d.ts +1 -1
- package/lib/components/CMonacoEditor/CMonacoEditor.vue.d.ts +2 -0
- package/lib/components/CPdfDimensionsSelector/CPdfDimensionsSelector.vue.d.ts +27 -0
- package/lib/components/CPillSelect/CPillSelect.vue.d.ts +14 -0
- package/lib/components/CPopularityAndEngagementIcons/CPopularityAndEngagementExtended.vue.d.ts +1 -1
- package/lib/components/CProcessingOverlay/CProcessingOverlay.vue.d.ts +19 -0
- package/lib/components/CRenameModal/CRenameModal.vue.d.ts +28 -0
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +290 -80
- package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +468 -130
- package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +288 -80
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +148 -36
- package/lib/components/CSectionSelectionActions/CSectionSelectionActions.vue.d.ts +19 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFolders.vue.d.ts +27 -1
- package/lib/components/CSectionSmartFolders/CSectionSmartFoldersToolbar.vue.d.ts +11 -0
- package/lib/components/CSlideViewer/CSlideViewer.pdfjs.vue.d.ts +18 -0
- package/lib/components/CSlideViewer/CSlideViewer.pspdfkit.vue.d.ts +14 -0
- package/lib/components/CSlideViewer/CSlideViewer.vue.d.ts +2 -7
- package/lib/components/CTable/CTable.vue.d.ts +6 -5
- package/lib/components/CTableInput/CTableInput.vue.d.ts +296 -72
- package/lib/components/CTableTag/CTableTag.vue.d.ts +290 -38
- package/lib/components/CTags/CTags.vue.d.ts +290 -38
- package/lib/components/CTemplateAccessInfo/CTemplateAccessInfo.vue.d.ts +25 -0
- package/lib/components/CTemplateAccessManage/CTemplateAccessManage.vue.d.ts +26 -0
- package/lib/components/CUpsertFolderModal/CUpsertFolderModal.vue.d.ts +2 -2
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +109 -30
- package/lib/components/assignedCanvases/CAssignedCanvasesManagement.vue.d.ts +440 -0
- package/lib/components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue.d.ts +41 -0
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +46 -60
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +13 -19
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +21 -17
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +2 -2
- package/lib/components/filters/CSearchFilter.vue.d.ts +3 -1
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +11 -7
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +2 -2
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +176 -46
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +2 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +16 -12
- package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +1 -0
- package/lib/components/sections/CSectionManagement.vue.d.ts +26 -0
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +7 -0
- package/lib/components/themes/CThemeManagement.vue.d.ts +98 -10
- package/lib/components/themes/CThemeManagementToolbar.vue.d.ts +31 -3
- package/lib/composables/appsDb.use.d.ts +2 -2
- package/lib/composables/bulkActions.use.d.ts +2 -2
- package/lib/composables/useBroadcastRouteChange.d.ts +4 -0
- package/lib/composables/useCanvasStandardFilters.d.ts +35 -0
- package/lib/composables/useCollectionPlayerOverlay.d.ts +18 -0
- package/lib/composables/useDeleteUsedCanvasesConfirmation.d.ts +23 -0
- package/lib/composables/useFileDisplayHelpers.d.ts +6 -2
- package/lib/composables/useFileInfo.d.ts +30 -0
- package/lib/composables/useFilterSuggestions.d.ts +8 -16
- package/lib/composables/useFolderNameDescription.d.ts +25 -0
- package/lib/composables/useLegacyCollectionFileLoader.d.ts +31 -0
- package/lib/composables/useMetadataSearch.d.ts +1 -0
- package/lib/composables/usePolling.d.ts +23 -0
- package/lib/composables/useWindowEvents.d.ts +1 -0
- package/lib/constants/cdp.const.d.ts +5 -0
- package/lib/constants/dimensions.const.d.ts +23 -0
- package/lib/constants/tables.const.d.ts +1 -1
- package/lib/custom-naive-locales/it.d.ts +124 -0
- package/lib/custom-naive-locales/ja.d.ts +124 -0
- package/lib/custom-naive-locales/nl.d.ts +124 -0
- package/lib/custom-naive-locales/pt-br.d.ts +124 -0
- package/lib/custom-naive-locales/pt.d.ts +124 -0
- package/lib/custom-naive-locales/th.d.ts +124 -0
- package/lib/custom-naive-locales/zh.d.ts +124 -0
- package/lib/directives/vTrustedHtml.d.ts +6 -0
- package/lib/main.lib.d.ts +26 -3
- package/lib/sdk/api/HighLevelApi.d.ts +31 -2
- package/lib/sdk/api/modules/admin/canvas.admin.d.ts +24 -1
- package/lib/sdk/api/modules/admin/index.d.ts +1 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +13 -0
- package/lib/sdk/api/modules/dsr/files.dsr.d.ts +12 -0
- package/lib/sdk/api/modules/dsr/index.d.ts +3 -0
- package/lib/sdk/api/modules/dsr/types.dsr.d.ts +6 -1
- package/lib/sdk/api/modules/files.d.ts +12 -2
- package/lib/sdk/api/modules/query.d.ts +153 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +35 -1
- package/lib/sdk/api/modules/ui/index.d.ts +1 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +24 -0
- package/lib/sdk/api/modules/webView.d.ts +2 -1
- package/lib/sdk/interfaces.d.ts +61 -3
- package/lib/sdk/main.d.ts +63 -14
- package/lib/sdk/payload.types.d.ts +133 -0
- package/lib/sdk/peer-connectivity/index.d.ts +3 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.constants.d.ts +13 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.d.ts +3 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.types.d.ts +35 -0
- package/lib/stores/sectionSmartFolderStore.d.ts +2 -0
- package/lib/theme/light.d.ts +113 -8
- package/lib/types/app.d.ts +7 -0
- package/lib/types/canvases.d.ts +3 -0
- package/lib/types/files.d.ts +2 -0
- package/lib/types/i18n.types.d.ts +1 -1
- package/lib/types/instanceSettings.types.d.ts +11 -1
- package/lib/types/launchDarkly.types.d.ts +2 -4
- package/lib/types/organizationMetadata.types.d.ts +3 -2
- package/lib/types/organizationSettings.types.d.ts +38 -3
- package/lib/types/sfdc.d.ts +1 -0
- package/lib/util/app.util.d.ts +46 -0
- package/lib/util/handlebars.d.ts +35 -0
- package/lib/util/soql.util.d.ts +2 -0
- package/lib/util/storage.util.d.ts +2 -0
- package/lib/util/string.d.ts +1 -1
- package/lib/util/toCssClassKey.d.ts +1 -0
- package/lib/utils/defaultThumbnail.util.d.ts +3 -0
- package/lib/utils/iframeInitialize.d.ts +12 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +7 -0
- package/types/openapi/models/Account.d.ts +1 -1
- package/types/openapi/models/AccountRequest.d.ts +1 -1
- package/types/openapi/models/Canvas.d.ts +1 -1
- package/types/openapi/models/CanvasCreate.d.ts +2 -2
- package/types/openapi/models/CanvasCreateRequest.d.ts +2 -2
- package/types/openapi/models/CanvasRecommendedFile.d.ts +0 -2
- package/types/openapi/models/CanvasRetrieve.d.ts +2 -2
- package/types/openapi/models/CanvasSection.d.ts +1 -0
- package/types/openapi/models/CanvasUpdate.d.ts +2 -2
- package/types/openapi/models/CanvasUpdateRequest.d.ts +2 -2
- package/types/openapi/models/ContentDistributionGroup.d.ts +1 -0
- package/types/openapi/models/ContentDistributionGroupCreate.d.ts +1 -0
- package/types/openapi/models/DeletedCanvas.d.ts +1 -1
- package/types/openapi/models/DeletedContentDistributionGroup.d.ts +1 -0
- package/types/openapi/models/DeletedFile.d.ts +0 -2
- package/types/openapi/models/DeletedFolder.d.ts +4 -0
- package/types/openapi/models/DeletedInstance.d.ts +2 -0
- package/types/openapi/models/DeletedRegion.d.ts +12 -0
- package/types/openapi/models/FavoriteFolder.d.ts +3 -0
- package/types/openapi/models/FavoriteFolderRequest.d.ts +3 -0
- package/types/openapi/models/File.d.ts +0 -2
- package/types/openapi/models/FileCreate.d.ts +0 -2
- package/types/openapi/models/FileCreateRequest.d.ts +0 -1
- package/types/openapi/models/FileRetrieve.d.ts +0 -2
- package/types/openapi/models/FileUpdate.d.ts +0 -2
- package/types/openapi/models/FileUpdateRequest.d.ts +0 -1
- package/types/openapi/models/Folder.d.ts +4 -0
- package/types/openapi/models/FolderCreate.d.ts +5 -1
- package/types/openapi/models/FolderFile.d.ts +2 -0
- package/types/openapi/models/FolderFolder.d.ts +5 -0
- package/types/openapi/models/FolderRetrieve.d.ts +9 -1
- package/types/openapi/models/FolderUpdate.d.ts +5 -1
- package/types/openapi/models/Instance.d.ts +2 -0
- package/types/openapi/models/InstanceMembership.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipCreate.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipCreateRequest.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipRequest.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +1 -2
- package/types/openapi/models/InstanceRequest.d.ts +1 -0
- package/types/openapi/models/InstanceUpdate.d.ts +2 -0
- package/types/openapi/models/InstanceUpdateRequest.d.ts +1 -0
- package/types/openapi/models/MiniRegion.d.ts +4 -0
- package/types/openapi/models/MiniRegionRequest.d.ts +3 -0
- package/types/openapi/models/OfflineSyncFolder.d.ts +1 -0
- package/types/openapi/models/OrganizationAnalyticsInstance.d.ts +2 -0
- package/types/openapi/models/OrganizationAnalyticsTop3Instances.d.ts +2 -0
- package/types/openapi/models/PaginatedRegionList.d.ts +7 -0
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +2 -2
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +0 -1
- package/types/openapi/models/PatchedInstanceMembershipRequest.d.ts +4 -0
- package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +1 -0
- package/types/openapi/models/PatchedRegionRequest.d.ts +3 -0
- package/types/openapi/models/Region.d.ts +10 -0
- package/types/openapi/models/RegionRequest.d.ts +3 -0
- package/types/openapi/models/SharedLinkCanvas.d.ts +1 -1
- package/types/openapi/models/SharedLinkCanvasRequest.d.ts +1 -1
- package/types/openapi/models/User.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +0 -111
- package/lib/components/CFileViewer/pdf/CFileViewer.pageThumbFavorite.pdf.use.d.ts +0 -10
- package/lib/components/CImage/CBrokenImage.vue.d.ts +0 -10
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +0 -59
- package/lib/directives/usage-track.directive.d.ts +0 -10
- package/lib/util/usage-tracking.util.d.ts +0 -5
- /package/lib/apps/canvas-builder/components/{ui/SectionList/SectionSearch.vue.d.ts → container/Search/Search.vue.d.ts} +0 -0
|
@@ -14,7 +14,7 @@ export default function useApp(): {
|
|
|
14
14
|
is_block?: boolean | undefined;
|
|
15
15
|
is_editable?: boolean | undefined;
|
|
16
16
|
is_default?: boolean | undefined;
|
|
17
|
-
metadata?:
|
|
17
|
+
metadata?: any;
|
|
18
18
|
tags?: Array<string> | undefined;
|
|
19
19
|
start_at?: string | null | undefined;
|
|
20
20
|
expires_at?: string | null | undefined;
|
|
@@ -29,7 +29,7 @@ export default function useApp(): {
|
|
|
29
29
|
short_url?: string | null | undefined;
|
|
30
30
|
};
|
|
31
31
|
account?: {
|
|
32
|
-
id
|
|
32
|
+
id?: string | undefined;
|
|
33
33
|
name?: string | undefined;
|
|
34
34
|
} | null | undefined;
|
|
35
35
|
folder_id?: string | null | undefined;
|
|
@@ -61,7 +61,7 @@ export default function useApp(): {
|
|
|
61
61
|
is_block?: boolean | undefined;
|
|
62
62
|
is_editable?: boolean | undefined;
|
|
63
63
|
is_default?: boolean | undefined;
|
|
64
|
-
metadata?:
|
|
64
|
+
metadata?: any;
|
|
65
65
|
tags?: Array<string> | undefined;
|
|
66
66
|
start_at?: string | null | undefined;
|
|
67
67
|
expires_at?: string | null | undefined;
|
|
@@ -76,7 +76,7 @@ export default function useApp(): {
|
|
|
76
76
|
short_url?: string | null | undefined;
|
|
77
77
|
};
|
|
78
78
|
account?: {
|
|
79
|
-
id
|
|
79
|
+
id?: string | undefined;
|
|
80
80
|
name?: string | undefined;
|
|
81
81
|
} | null | undefined;
|
|
82
82
|
folder_id?: string | null | undefined;
|
|
@@ -108,7 +108,7 @@ export default function useApp(): {
|
|
|
108
108
|
is_block?: boolean | undefined;
|
|
109
109
|
is_editable?: boolean | undefined;
|
|
110
110
|
is_default?: boolean | undefined;
|
|
111
|
-
metadata?:
|
|
111
|
+
metadata?: any;
|
|
112
112
|
tags?: Array<string> | undefined;
|
|
113
113
|
start_at?: string | null | undefined;
|
|
114
114
|
expires_at?: string | null | undefined;
|
|
@@ -123,7 +123,7 @@ export default function useApp(): {
|
|
|
123
123
|
short_url?: string | null | undefined;
|
|
124
124
|
};
|
|
125
125
|
account?: {
|
|
126
|
-
id
|
|
126
|
+
id?: string | undefined;
|
|
127
127
|
name?: string | undefined;
|
|
128
128
|
} | null | undefined;
|
|
129
129
|
folder_id?: string | null | undefined;
|
|
@@ -155,7 +155,7 @@ export default function useApp(): {
|
|
|
155
155
|
is_block?: boolean | undefined;
|
|
156
156
|
is_editable?: boolean | undefined;
|
|
157
157
|
is_default?: boolean | undefined;
|
|
158
|
-
metadata?:
|
|
158
|
+
metadata?: any;
|
|
159
159
|
tags?: Array<string> | undefined;
|
|
160
160
|
start_at?: string | null | undefined;
|
|
161
161
|
expires_at?: string | null | undefined;
|
|
@@ -170,7 +170,7 @@ export default function useApp(): {
|
|
|
170
170
|
short_url?: string | null | undefined;
|
|
171
171
|
};
|
|
172
172
|
account?: {
|
|
173
|
-
id
|
|
173
|
+
id?: string | undefined;
|
|
174
174
|
name?: string | undefined;
|
|
175
175
|
} | null | undefined;
|
|
176
176
|
folder_id?: string | null | undefined;
|
|
@@ -208,7 +208,7 @@ export default function useApp(): {
|
|
|
208
208
|
is_block?: boolean | undefined;
|
|
209
209
|
is_editable?: boolean | undefined;
|
|
210
210
|
is_default?: boolean | undefined;
|
|
211
|
-
metadata?:
|
|
211
|
+
metadata?: any;
|
|
212
212
|
tags?: Array<string> | undefined;
|
|
213
213
|
start_at?: string | null | undefined;
|
|
214
214
|
expires_at?: string | null | undefined;
|
|
@@ -223,7 +223,7 @@ export default function useApp(): {
|
|
|
223
223
|
short_url?: string | null | undefined;
|
|
224
224
|
};
|
|
225
225
|
account?: {
|
|
226
|
-
id
|
|
226
|
+
id?: string | undefined;
|
|
227
227
|
name?: string | undefined;
|
|
228
228
|
} | null | undefined;
|
|
229
229
|
folder_id?: string | null | undefined;
|
|
@@ -255,7 +255,7 @@ export default function useApp(): {
|
|
|
255
255
|
is_block?: boolean | undefined;
|
|
256
256
|
is_editable?: boolean | undefined;
|
|
257
257
|
is_default?: boolean | undefined;
|
|
258
|
-
metadata?:
|
|
258
|
+
metadata?: any;
|
|
259
259
|
tags?: Array<string> | undefined;
|
|
260
260
|
start_at?: string | null | undefined;
|
|
261
261
|
expires_at?: string | null | undefined;
|
|
@@ -270,7 +270,7 @@ export default function useApp(): {
|
|
|
270
270
|
short_url?: string | null | undefined;
|
|
271
271
|
};
|
|
272
272
|
account?: {
|
|
273
|
-
id
|
|
273
|
+
id?: string | undefined;
|
|
274
274
|
name?: string | undefined;
|
|
275
275
|
} | null | undefined;
|
|
276
276
|
folder_id?: string | null | undefined;
|
|
@@ -302,7 +302,7 @@ export default function useApp(): {
|
|
|
302
302
|
is_block?: boolean | undefined;
|
|
303
303
|
is_editable?: boolean | undefined;
|
|
304
304
|
is_default?: boolean | undefined;
|
|
305
|
-
metadata?:
|
|
305
|
+
metadata?: any;
|
|
306
306
|
tags?: Array<string> | undefined;
|
|
307
307
|
start_at?: string | null | undefined;
|
|
308
308
|
expires_at?: string | null | undefined;
|
|
@@ -317,7 +317,7 @@ export default function useApp(): {
|
|
|
317
317
|
short_url?: string | null | undefined;
|
|
318
318
|
};
|
|
319
319
|
account?: {
|
|
320
|
-
id
|
|
320
|
+
id?: string | undefined;
|
|
321
321
|
name?: string | undefined;
|
|
322
322
|
} | null | undefined;
|
|
323
323
|
folder_id?: string | null | undefined;
|
|
@@ -349,7 +349,7 @@ export default function useApp(): {
|
|
|
349
349
|
is_block?: boolean | undefined;
|
|
350
350
|
is_editable?: boolean | undefined;
|
|
351
351
|
is_default?: boolean | undefined;
|
|
352
|
-
metadata?:
|
|
352
|
+
metadata?: any;
|
|
353
353
|
tags?: Array<string> | undefined;
|
|
354
354
|
start_at?: string | null | undefined;
|
|
355
355
|
expires_at?: string | null | undefined;
|
|
@@ -364,7 +364,7 @@ export default function useApp(): {
|
|
|
364
364
|
short_url?: string | null | undefined;
|
|
365
365
|
};
|
|
366
366
|
account?: {
|
|
367
|
-
id
|
|
367
|
+
id?: string | undefined;
|
|
368
368
|
name?: string | undefined;
|
|
369
369
|
} | null | undefined;
|
|
370
370
|
folder_id?: string | null | undefined;
|
|
@@ -397,7 +397,7 @@ export default function useApp(): {
|
|
|
397
397
|
is_block?: boolean | undefined;
|
|
398
398
|
is_editable?: boolean | undefined;
|
|
399
399
|
is_default?: boolean | undefined;
|
|
400
|
-
metadata?:
|
|
400
|
+
metadata?: any;
|
|
401
401
|
tags?: Array<string> | undefined;
|
|
402
402
|
start_at?: string | null | undefined;
|
|
403
403
|
expires_at?: string | null | undefined;
|
|
@@ -412,7 +412,7 @@ export default function useApp(): {
|
|
|
412
412
|
short_url?: string | null | undefined;
|
|
413
413
|
};
|
|
414
414
|
account?: {
|
|
415
|
-
id
|
|
415
|
+
id?: string | undefined;
|
|
416
416
|
name?: string | undefined;
|
|
417
417
|
} | null | undefined;
|
|
418
418
|
folder_id?: string | null | undefined;
|
|
@@ -443,7 +443,7 @@ export default function useApp(): {
|
|
|
443
443
|
is_block?: boolean | undefined;
|
|
444
444
|
is_editable?: boolean | undefined;
|
|
445
445
|
is_default?: boolean | undefined;
|
|
446
|
-
metadata?:
|
|
446
|
+
metadata?: any;
|
|
447
447
|
tags?: Array<string> | undefined;
|
|
448
448
|
start_at?: string | null | undefined;
|
|
449
449
|
expires_at?: string | null | undefined;
|
|
@@ -458,7 +458,7 @@ export default function useApp(): {
|
|
|
458
458
|
short_url?: string | null | undefined;
|
|
459
459
|
};
|
|
460
460
|
account?: {
|
|
461
|
-
id
|
|
461
|
+
id?: string | undefined;
|
|
462
462
|
name?: string | undefined;
|
|
463
463
|
} | null | undefined;
|
|
464
464
|
folder_id?: string | null | undefined;
|
|
@@ -490,7 +490,7 @@ export default function useApp(): {
|
|
|
490
490
|
is_block?: boolean | undefined;
|
|
491
491
|
is_editable?: boolean | undefined;
|
|
492
492
|
is_default?: boolean | undefined;
|
|
493
|
-
metadata?:
|
|
493
|
+
metadata?: any;
|
|
494
494
|
tags?: Array<string> | undefined;
|
|
495
495
|
start_at?: string | null | undefined;
|
|
496
496
|
expires_at?: string | null | undefined;
|
|
@@ -505,7 +505,7 @@ export default function useApp(): {
|
|
|
505
505
|
short_url?: string | null | undefined;
|
|
506
506
|
};
|
|
507
507
|
account?: {
|
|
508
|
-
id
|
|
508
|
+
id?: string | undefined;
|
|
509
509
|
name?: string | undefined;
|
|
510
510
|
} | null | undefined;
|
|
511
511
|
folder_id?: string | null | undefined;
|
|
@@ -537,7 +537,7 @@ export default function useApp(): {
|
|
|
537
537
|
is_block?: boolean | undefined;
|
|
538
538
|
is_editable?: boolean | undefined;
|
|
539
539
|
is_default?: boolean | undefined;
|
|
540
|
-
metadata?:
|
|
540
|
+
metadata?: any;
|
|
541
541
|
tags?: Array<string> | undefined;
|
|
542
542
|
start_at?: string | null | undefined;
|
|
543
543
|
expires_at?: string | null | undefined;
|
|
@@ -552,7 +552,7 @@ export default function useApp(): {
|
|
|
552
552
|
short_url?: string | null | undefined;
|
|
553
553
|
};
|
|
554
554
|
account?: {
|
|
555
|
-
id
|
|
555
|
+
id?: string | undefined;
|
|
556
556
|
name?: string | undefined;
|
|
557
557
|
} | null | undefined;
|
|
558
558
|
folder_id?: string | null | undefined;
|
|
@@ -584,7 +584,7 @@ export default function useApp(): {
|
|
|
584
584
|
is_block?: boolean | undefined;
|
|
585
585
|
is_editable?: boolean | undefined;
|
|
586
586
|
is_default?: boolean | undefined;
|
|
587
|
-
metadata?:
|
|
587
|
+
metadata?: any;
|
|
588
588
|
tags?: Array<string> | undefined;
|
|
589
589
|
start_at?: string | null | undefined;
|
|
590
590
|
expires_at?: string | null | undefined;
|
|
@@ -599,7 +599,7 @@ export default function useApp(): {
|
|
|
599
599
|
short_url?: string | null | undefined;
|
|
600
600
|
};
|
|
601
601
|
account?: {
|
|
602
|
-
id
|
|
602
|
+
id?: string | undefined;
|
|
603
603
|
name?: string | undefined;
|
|
604
604
|
} | null | undefined;
|
|
605
605
|
folder_id?: string | null | undefined;
|
|
@@ -631,7 +631,7 @@ export default function useApp(): {
|
|
|
631
631
|
is_block?: boolean | undefined;
|
|
632
632
|
is_editable?: boolean | undefined;
|
|
633
633
|
is_default?: boolean | undefined;
|
|
634
|
-
metadata?:
|
|
634
|
+
metadata?: any;
|
|
635
635
|
tags?: Array<string> | undefined;
|
|
636
636
|
start_at?: string | null | undefined;
|
|
637
637
|
expires_at?: string | null | undefined;
|
|
@@ -646,7 +646,7 @@ export default function useApp(): {
|
|
|
646
646
|
short_url?: string | null | undefined;
|
|
647
647
|
};
|
|
648
648
|
account?: {
|
|
649
|
-
id
|
|
649
|
+
id?: string | undefined;
|
|
650
650
|
name?: string | undefined;
|
|
651
651
|
} | null | undefined;
|
|
652
652
|
folder_id?: string | null | undefined;
|
|
@@ -17,6 +17,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
17
17
|
isFullscreen: import('vue').Ref<boolean, boolean>;
|
|
18
18
|
handleKeyAction: import('./composables/keyboard-bindings.use').ActionCallback;
|
|
19
19
|
element: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
20
|
+
updateResolvedData: (resolvedData: CollectionPlayer) => void;
|
|
20
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
22
|
click: (event: MouseEvent) => any;
|
|
22
23
|
close: () => any;
|
|
@@ -9,7 +9,11 @@ type __VLS_Props = {
|
|
|
9
9
|
zoom: number;
|
|
10
10
|
scalingMode: 'fit-content' | 'fit-width' | 'fit-height';
|
|
11
11
|
};
|
|
12
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
repaint: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onRepaint?: (() => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
17
|
editorContainer: HTMLDivElement;
|
|
14
18
|
}, HTMLDivElement>;
|
|
15
19
|
export default _default;
|
|
@@ -79,6 +79,9 @@ type StoreData = {
|
|
|
79
79
|
nodeId?: string;
|
|
80
80
|
handleKeyAction: ActionCallback;
|
|
81
81
|
annotationLayer: ReturnType<typeof useAnnotationLayer>;
|
|
82
|
+
updateSlideInSwiper: (index: number) => void;
|
|
83
|
+
rootElement: Ref<HTMLElement | null>;
|
|
84
|
+
updateResolvedData: (resolvedData: CollectionPlayer) => void;
|
|
82
85
|
};
|
|
83
86
|
export declare function provideAppStore({ data, isEditMode, rootElement, api, emit, options, isLoading, nodeId, inModal, }: StorePayload): StoreData;
|
|
84
87
|
export declare function useAppStore(): StoreData;
|
|
@@ -14,12 +14,22 @@ export type CollectionFile = {
|
|
|
14
14
|
type: 'file';
|
|
15
15
|
file: CollectionFileEntity;
|
|
16
16
|
};
|
|
17
|
+
export type CollectionSlideV2 = {
|
|
18
|
+
id: string;
|
|
19
|
+
file_id: FileRetrieve['id'];
|
|
20
|
+
index?: number;
|
|
21
|
+
};
|
|
17
22
|
export type CollectionSlide = CollectionPage | CollectionFile;
|
|
18
23
|
export type CollectionGroup = {
|
|
19
24
|
id: string;
|
|
20
25
|
name: string;
|
|
21
26
|
slides: CollectionSlide[];
|
|
22
27
|
};
|
|
28
|
+
export type CollectionGroupV2 = {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
slides: CollectionSlideV2[];
|
|
32
|
+
};
|
|
23
33
|
export type CollectionPlayer = {
|
|
24
34
|
groups: CollectionGroup[];
|
|
25
35
|
filters?: Record<string, any>;
|
|
@@ -27,3 +37,10 @@ export type CollectionPlayer = {
|
|
|
27
37
|
hide_footer?: boolean;
|
|
28
38
|
data_accessor?: string;
|
|
29
39
|
};
|
|
40
|
+
export interface CollectionPlayerV2 {
|
|
41
|
+
groups: CollectionGroupV2[];
|
|
42
|
+
filters?: Record<string, any>;
|
|
43
|
+
name: string;
|
|
44
|
+
hide_footer?: boolean;
|
|
45
|
+
data_accessor?: string;
|
|
46
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CollectionPlayerV2, CollectionSlide } from '../collection-player/types/collection-player.type';
|
|
2
2
|
import { CollectionSelectorProps } from './types/collection-selector.type';
|
|
3
3
|
export type Emit = {
|
|
4
|
-
close: [
|
|
5
|
-
settings: [
|
|
4
|
+
close: [CollectionPlayerV2];
|
|
5
|
+
settings: [CollectionPlayerV2];
|
|
6
6
|
cancel: [];
|
|
7
7
|
contentChange: [CollectionSlide];
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import('vue').DefineComponent<CollectionSelectorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
settings: (args_0:
|
|
10
|
+
settings: (args_0: CollectionPlayerV2) => any;
|
|
11
11
|
cancel: () => any;
|
|
12
|
-
close: (args_0:
|
|
12
|
+
close: (args_0: CollectionPlayerV2) => any;
|
|
13
13
|
contentChange: (args_0: CollectionSlide) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<CollectionSelectorProps> & Readonly<{
|
|
15
|
-
onSettings?: ((args_0:
|
|
15
|
+
onSettings?: ((args_0: CollectionPlayerV2) => any) | undefined;
|
|
16
16
|
onCancel?: (() => any) | undefined;
|
|
17
|
-
onClose?: ((args_0:
|
|
17
|
+
onClose?: ((args_0: CollectionPlayerV2) => any) | undefined;
|
|
18
18
|
onContentChange?: ((args_0: CollectionSlide) => any) | undefined;
|
|
19
19
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
20
|
contentRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<import('vue-draggable-plus').VueDraggableProps>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
@@ -2,7 +2,7 @@ import { Ref, EmitFn, ComputedRef, ComponentPublicInstance } from 'vue';
|
|
|
2
2
|
import { default as useConfirmation } from '../../../composables/useConfirmation';
|
|
3
3
|
import { CollectionGroup, CollectionPlayer, CollectionSlide } from '../../collection-player/types/collection-player.type';
|
|
4
4
|
import { FetchFileList, SelectFileContent } from '../types/common.type';
|
|
5
|
-
import {
|
|
5
|
+
import { FileRetrieve } from '../../../../types/openapi';
|
|
6
6
|
import { Translations } from '../types/collection-selector.type';
|
|
7
7
|
import { Emit } from '../App.vue';
|
|
8
8
|
import { useContentWarning } from '../composables/content-warning.use';
|
|
@@ -24,7 +24,7 @@ type StorePayload = {
|
|
|
24
24
|
type StoreData = {
|
|
25
25
|
collection: Ref<CollectionPlayer>;
|
|
26
26
|
expandedGroups: Ref<string[]>;
|
|
27
|
-
usedFiles: Ref<Record<
|
|
27
|
+
usedFiles: Ref<Record<FileRetrieve['id'], FileRetrieve>>;
|
|
28
28
|
addGroup: (group?: Partial<CollectionGroup>) => CollectionGroup | undefined;
|
|
29
29
|
deleteGroup: (groupId: string, groupName: string) => void;
|
|
30
30
|
updateGroup: (group: Partial<Omit<CollectionGroup, 'id'>> & Pick<CollectionGroup, 'id'>) => void;
|
|
@@ -46,6 +46,8 @@ type StoreData = {
|
|
|
46
46
|
translations?: Translations;
|
|
47
47
|
isSettingsButtonVisible: ComputedRef<boolean>;
|
|
48
48
|
contentWarning: ReturnType<typeof useContentWarning>;
|
|
49
|
+
isLoadingFiles: ComputedRef<boolean>;
|
|
50
|
+
areRequiredFilesLoaded: ComputedRef<boolean>;
|
|
49
51
|
};
|
|
50
52
|
export declare function provideAppStore({ initialCollection, t, confirmation, selectFileContent, attachTo, openSettings: openSettingsFn, closeOnSettings, fetchFile, fetchFileList, zIndex, emit, translations, contentRef, }: StorePayload): StoreData;
|
|
51
53
|
export declare function useAppStore(): StoreData;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SelectedFile, SelectedPage } from '../../content-selector/stores/app';
|
|
2
2
|
import { Selection } from '../../../types/selections';
|
|
3
3
|
import { FileRetrieve } from '../../../../types/openapi';
|
|
4
|
-
import {
|
|
4
|
+
import { ContentGridProps } from '../../canvas-builder/types/canvas';
|
|
5
|
+
import { CollectionFile, CollectionPage, CollectionGroup, CollectionPlayerV2, CollectionSlideV2 } from '../../collection-player/types/collection-player.type';
|
|
5
6
|
import { I18nTranslate } from '../../../types/common';
|
|
6
7
|
export declare function parsePptxFileToCollectionPlayer(t: I18nTranslate, _file: FileRetrieve): {
|
|
7
8
|
name: string;
|
|
@@ -38,13 +39,21 @@ export declare function parseContentSelectorToCollectionPlayerSlides({ selectedI
|
|
|
38
39
|
selectedItems: (SelectedFile | SelectedPage)[];
|
|
39
40
|
filesById: Record<FileRetrieve['id'], FileRetrieve>;
|
|
40
41
|
}): (CollectionPage | CollectionFile)[];
|
|
41
|
-
export declare function parseCollectionPlayerSlidesToContentSelector(slides?: CollectionGroup['slides']): Selection[];
|
|
42
|
+
export declare function parseCollectionPlayerSlidesToContentSelector(slides?: CollectionGroup['slides'] | CollectionSlideV2[]): Selection[];
|
|
42
43
|
/**
|
|
43
|
-
* Transform an array of file data into
|
|
44
|
-
*
|
|
44
|
+
* Transform an array of file data into CollectionPlayerV2 format
|
|
45
|
+
* Returns minimal data structure with only file_id references
|
|
46
|
+
* Each file gets its own group to maintain proper structure for PPTX sections
|
|
45
47
|
* @param t - Translation function
|
|
46
|
-
* @param filesData - Array of file data with optional selectedPages
|
|
48
|
+
* @param filesData - Array of file data with id, name, and optional selectedPages
|
|
47
49
|
* @param name - Name for the collection (defaults to 'Collection')
|
|
48
|
-
* @returns Transformed
|
|
50
|
+
* @returns Transformed CollectionPlayerV2 data with file_id references
|
|
49
51
|
*/
|
|
50
|
-
export declare function transformFilesToCollectionPlayer(t: I18nTranslate, filesData: any[], name?: string):
|
|
52
|
+
export declare function transformFilesToCollectionPlayer(t: I18nTranslate, filesData: any[], name?: string): CollectionPlayerV2;
|
|
53
|
+
/**
|
|
54
|
+
* Transform an array of file data into ContentGrid format
|
|
55
|
+
* Handles the new data structure with file references and selectedPages arrays
|
|
56
|
+
* @param filesData - Array of file data with id, name, and optional selectedPages
|
|
57
|
+
* @returns Transformed ContentGridProps data
|
|
58
|
+
*/
|
|
59
|
+
export declare function transformFilesToContentGrid(filesData: any[]): ContentGridProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { I18nTranslate } from '../../../types/common';
|
|
2
|
-
import { CollectionFile, CollectionPage, CollectionPlayer } from '../../collection-player/types/collection-player.type';
|
|
2
|
+
import { CollectionFile, CollectionPage, CollectionPlayer, CollectionPlayerV2 } from '../../collection-player/types/collection-player.type';
|
|
3
3
|
export declare const getDefaultNewGroupName: (t: I18nTranslate) => string;
|
|
4
4
|
export declare const getDefaultGroupName: (t: I18nTranslate) => string;
|
|
5
5
|
export declare const getDefaultCollectionName: (t: I18nTranslate) => string;
|
|
@@ -18,6 +18,6 @@ export declare const generateNewCollection: (t: I18nTranslate) => {
|
|
|
18
18
|
};
|
|
19
19
|
export declare const generateNewCollectionSlide: (payload: Pick<CollectionPage, "file" | "slide">) => CollectionPage;
|
|
20
20
|
export declare const generateNewCollectionFile: (file: CollectionFile["file"]) => CollectionFile;
|
|
21
|
-
export declare const getUniqueFilesCount: (data: CollectionPlayer) => number;
|
|
22
|
-
export declare const getGroupsCount: (data: CollectionPlayer) => number;
|
|
23
|
-
export declare const getSlidesCount: (data: CollectionPlayer) => number;
|
|
21
|
+
export declare const getUniqueFilesCount: (data: CollectionPlayer | CollectionPlayerV2) => number;
|
|
22
|
+
export declare const getGroupsCount: (data: CollectionPlayer | CollectionPlayerV2) => number;
|
|
23
|
+
export declare const getSlidesCount: (data: CollectionPlayer | CollectionPlayerV2) => number;
|
|
@@ -2,11 +2,13 @@ import { ContentSelectorSelectedItem } from './stores/app';
|
|
|
2
2
|
import { AppProps } from './appTypes';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<AppProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
4
|
cancel: () => any;
|
|
5
|
+
"asset-deleted": (id: string) => any;
|
|
5
6
|
"primary-action": (p: {
|
|
6
7
|
selectedItems: ContentSelectorSelectedItem[];
|
|
7
8
|
}) => any;
|
|
8
9
|
}, string, import('vue').PublicProps, Readonly<AppProps> & Readonly<{
|
|
9
10
|
onCancel?: (() => any) | undefined;
|
|
11
|
+
"onAsset-deleted"?: ((id: string) => any) | undefined;
|
|
10
12
|
"onPrimary-action"?: ((p: {
|
|
11
13
|
selectedItems: ContentSelectorSelectedItem[];
|
|
12
14
|
}) => any) | undefined;
|
|
@@ -28,8 +28,8 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
28
28
|
marginLeft: string;
|
|
29
29
|
};
|
|
30
30
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
31
|
-
readonly span: string | number;
|
|
32
31
|
readonly offset: string | number;
|
|
32
|
+
readonly span: string | number;
|
|
33
33
|
readonly suffix: boolean;
|
|
34
34
|
readonly privateShow: boolean;
|
|
35
35
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -67,8 +67,8 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
67
67
|
marginLeft: string;
|
|
68
68
|
};
|
|
69
69
|
}, {}, {}, {}, {
|
|
70
|
-
readonly span: string | number;
|
|
71
70
|
readonly offset: string | number;
|
|
71
|
+
readonly span: string | number;
|
|
72
72
|
readonly suffix: boolean;
|
|
73
73
|
readonly privateShow: boolean;
|
|
74
74
|
}> | null;
|
package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ type __VLS_Props = {
|
|
|
16
16
|
selectedItems: (SelectedFile | SelectedFolder)[];
|
|
17
17
|
isDisabled?: boolean;
|
|
18
18
|
metadata: Record<string, any>;
|
|
19
|
+
hideFilesCount?: boolean;
|
|
19
20
|
};
|
|
20
21
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
22
|
"open-folder": (item: FolderFile) => any;
|
|
@@ -1,2 +1,75 @@
|
|
|
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, {
|
|
2
|
+
sectionPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
readonly span: {
|
|
4
|
+
readonly type: import('vue').PropType<string | number>;
|
|
5
|
+
readonly default: 1;
|
|
6
|
+
};
|
|
7
|
+
readonly offset: {
|
|
8
|
+
readonly type: import('vue').PropType<string | number>;
|
|
9
|
+
readonly default: 0;
|
|
10
|
+
};
|
|
11
|
+
readonly suffix: BooleanConstructor;
|
|
12
|
+
readonly privateOffset: NumberConstructor;
|
|
13
|
+
readonly privateSpan: NumberConstructor;
|
|
14
|
+
readonly privateColStart: NumberConstructor;
|
|
15
|
+
readonly privateShow: {
|
|
16
|
+
readonly type: BooleanConstructor;
|
|
17
|
+
readonly default: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
overflow: import('vue').Ref<boolean, boolean>;
|
|
21
|
+
itemStyle: import('vue').Ref<string | import('vue').CSSProperties | undefined, string | import('vue').CSSProperties | undefined>;
|
|
22
|
+
layoutShiftDisabled: import('vue').Ref<boolean, boolean>;
|
|
23
|
+
mergedXGap: import('vue').ComputedRef<string>;
|
|
24
|
+
deriveStyle: () => {
|
|
25
|
+
display: string;
|
|
26
|
+
gridColumn: string;
|
|
27
|
+
marginLeft: string;
|
|
28
|
+
};
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
30
|
+
readonly offset: string | number;
|
|
31
|
+
readonly span: string | number;
|
|
32
|
+
readonly suffix: boolean;
|
|
33
|
+
readonly privateShow: boolean;
|
|
34
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
35
|
+
P: {};
|
|
36
|
+
B: {};
|
|
37
|
+
D: {};
|
|
38
|
+
C: {};
|
|
39
|
+
M: {};
|
|
40
|
+
Defaults: {};
|
|
41
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
42
|
+
readonly span: {
|
|
43
|
+
readonly type: import('vue').PropType<string | number>;
|
|
44
|
+
readonly default: 1;
|
|
45
|
+
};
|
|
46
|
+
readonly offset: {
|
|
47
|
+
readonly type: import('vue').PropType<string | number>;
|
|
48
|
+
readonly default: 0;
|
|
49
|
+
};
|
|
50
|
+
readonly suffix: BooleanConstructor;
|
|
51
|
+
readonly privateOffset: NumberConstructor;
|
|
52
|
+
readonly privateSpan: NumberConstructor;
|
|
53
|
+
readonly privateColStart: NumberConstructor;
|
|
54
|
+
readonly privateShow: {
|
|
55
|
+
readonly type: BooleanConstructor;
|
|
56
|
+
readonly default: true;
|
|
57
|
+
};
|
|
58
|
+
}>> & Readonly<{}>, {
|
|
59
|
+
overflow: import('vue').Ref<boolean, boolean>;
|
|
60
|
+
itemStyle: import('vue').Ref<string | import('vue').CSSProperties | undefined, string | import('vue').CSSProperties | undefined>;
|
|
61
|
+
layoutShiftDisabled: import('vue').Ref<boolean, boolean>;
|
|
62
|
+
mergedXGap: import('vue').ComputedRef<string>;
|
|
63
|
+
deriveStyle: () => {
|
|
64
|
+
display: string;
|
|
65
|
+
gridColumn: string;
|
|
66
|
+
marginLeft: string;
|
|
67
|
+
};
|
|
68
|
+
}, {}, {}, {}, {
|
|
69
|
+
readonly offset: string | number;
|
|
70
|
+
readonly span: string | number;
|
|
71
|
+
readonly suffix: boolean;
|
|
72
|
+
readonly privateShow: boolean;
|
|
73
|
+
}> | null;
|
|
74
|
+
}, HTMLDivElement>;
|
|
2
75
|
export default _default;
|
|
@@ -13,21 +13,29 @@ type __VLS_Props = {
|
|
|
13
13
|
metadata?: Record<string, any>;
|
|
14
14
|
page_index?: number;
|
|
15
15
|
permissions?: File['permissions'];
|
|
16
|
-
id
|
|
16
|
+
id: string;
|
|
17
17
|
content_extension?: string | null;
|
|
18
18
|
created_by_user_id?: User['id'];
|
|
19
19
|
};
|
|
20
20
|
isSelected?: boolean;
|
|
21
21
|
isDeleteDisabled?: boolean;
|
|
22
22
|
deleteDisabledTooltip?: string;
|
|
23
|
+
movable?: boolean;
|
|
24
|
+
selectedIds?: (number | string)[];
|
|
23
25
|
};
|
|
24
26
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
move: (...args: any[]) => void;
|
|
28
|
+
dragOver: (...args: any[]) => void;
|
|
29
|
+
dragging: (...args: any[]) => void;
|
|
25
30
|
itemSelected: (...args: any[]) => void;
|
|
26
31
|
itemDeselected: (...args: any[]) => void;
|
|
27
32
|
itemClicked: (...args: any[]) => void;
|
|
28
33
|
itemExpanded: (...args: any[]) => void;
|
|
29
34
|
itemDeleted: (...args: any[]) => void;
|
|
30
35
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onDragOver?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onDragging?: ((...args: any[]) => any) | undefined;
|
|
31
39
|
onItemSelected?: ((...args: any[]) => any) | undefined;
|
|
32
40
|
onItemDeselected?: ((...args: any[]) => any) | undefined;
|
|
33
41
|
onItemClicked?: ((...args: any[]) => any) | undefined;
|
|
@@ -48,10 +56,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
48
56
|
metadata?: Record<string, any>;
|
|
49
57
|
page_index?: number;
|
|
50
58
|
permissions?: File["permissions"];
|
|
51
|
-
id
|
|
59
|
+
id: string;
|
|
52
60
|
content_extension?: string | null;
|
|
53
61
|
created_by_user_id?: User["id"];
|
|
54
62
|
};
|
|
63
|
+
selectedIds: (number | string)[];
|
|
64
|
+
movable: boolean;
|
|
55
65
|
isDeleteDisabled: boolean;
|
|
56
66
|
deleteDisabledTooltip: string;
|
|
57
67
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -4,6 +4,7 @@ import { RecentFile } from '../../../types/recentFiles.types';
|
|
|
4
4
|
import { ApiStore } from './api';
|
|
5
5
|
export type AppName = 'admin' | 'impact';
|
|
6
6
|
export type SelectorType = 'content' | 'assets' | 'external_links' | 'ai_images' | 'pexels_images' | 'theme' | `multimedia-selector-${string}`;
|
|
7
|
+
export type SortOption = 'nameAsc' | 'nameDesc' | 'modifiedAsc' | 'modifiedDesc';
|
|
7
8
|
export type SelectedPage = {
|
|
8
9
|
id: string;
|
|
9
10
|
name?: string;
|
|
@@ -77,8 +78,11 @@ export type AppStateProperties = {
|
|
|
77
78
|
search: Ref<string>;
|
|
78
79
|
searchMetadataFilters: Ref<Record<string, any>>;
|
|
79
80
|
isLocalSearch: Ref<boolean>;
|
|
81
|
+
selectedSortOption: Ref<SortOption>;
|
|
80
82
|
selectedItems: Ref<ContentSelectorSelectedItem[]>;
|
|
83
|
+
addedItems: Ref<ContentSelectorSelectedItem[]>;
|
|
81
84
|
selectedSection: Ref<BrowserSectionType>;
|
|
85
|
+
isDragNDropEnabled: ComputedRef<boolean>;
|
|
82
86
|
selectedFiles: ComputedRef<SelectedFile[]>;
|
|
83
87
|
selectedPages: ComputedRef<SelectedPage[]>;
|
|
84
88
|
selectedAssets: ComputedRef<SelectedAsset[]>;
|
|
@@ -93,6 +97,8 @@ export type AppStateProperties = {
|
|
|
93
97
|
activeFolderFolders: ComputedRef<FolderFolder[]>;
|
|
94
98
|
activeFolderFiles: ComputedRef<FolderFile[]>;
|
|
95
99
|
isAdmin: ComputedRef<boolean>;
|
|
100
|
+
allowMultimediaSelectorApp: Ref<boolean>;
|
|
101
|
+
sectionPanelRef: Ref<HTMLElement | null>;
|
|
96
102
|
activeFolder: Ref<FolderRetrieve | null>;
|
|
97
103
|
activeFile: Ref<FileRetrieve | null>;
|
|
98
104
|
disableNoSharable: Ref<boolean>;
|
|
@@ -100,14 +106,22 @@ export type AppStateProperties = {
|
|
|
100
106
|
recent: Ref<RecentFile[]>;
|
|
101
107
|
favorites: Ref<Record<MiniPage['id'] | File['id'] | Folder['id'], Favorite>>;
|
|
102
108
|
filteredItems: Ref<FolderItemWithFolderId[]>;
|
|
109
|
+
allowedSelectorTypes: Ref<SelectorType[]>;
|
|
103
110
|
};
|
|
104
111
|
export type AppStore = AppStateProperties & {
|
|
105
112
|
getThumbnailUrl: (file: Partial<File>) => string | null | undefined;
|
|
106
113
|
setAppName: (appName: AppName) => void;
|
|
107
114
|
resetSelectedItems: () => void;
|
|
108
|
-
|
|
115
|
+
resetAddedItems: () => void;
|
|
116
|
+
setItems: (variable: 'added' | 'selected', items: ContentSelectorSelectedItem[], maxSelections?: number) => Promise<void>;
|
|
109
117
|
setActiveSelectorType: (s?: SelectorType) => void;
|
|
118
|
+
setAllowedSelectorTypes: (s: SelectorType[]) => void;
|
|
110
119
|
selectItem: (i: ContentSelectorSelectedItem) => void;
|
|
120
|
+
handleItemClick: (item: ContentSelectorSelectedItem) => void;
|
|
121
|
+
addItems: (position?: 'top' | 'bottom' | number) => void;
|
|
122
|
+
deleteItems: () => void;
|
|
123
|
+
deleteItem: (item: ContentSelectorSelectedItem) => void;
|
|
124
|
+
setSectionPanelRef: (element: HTMLElement | null) => void;
|
|
111
125
|
selectAllFiles: (selection: SelectedFile[]) => void;
|
|
112
126
|
setDisableNoSharable: (disable: boolean) => void;
|
|
113
127
|
setDisableNoPptxData: (disable: boolean) => void;
|
|
@@ -123,6 +137,7 @@ export type AppStore = AppStateProperties & {
|
|
|
123
137
|
setSearchQuery: (searchQuery: string) => void;
|
|
124
138
|
setAllowedOriginalExtensions: (extensions: string[]) => void;
|
|
125
139
|
setSearchMetadataFilters: (filters: Record<string, any>) => void;
|
|
140
|
+
setSortOption: (sortOption: SortOption) => void;
|
|
126
141
|
setFavorites: (favorites: Record<MiniPage['id'] | File['id'] | Folder['id'], Favorite>) => void;
|
|
127
142
|
setRecentFiles: (recentFiles: RecentFile[]) => void;
|
|
128
143
|
setFilteredItems: (filteredItems: FolderItemWithFolderId[]) => void;
|