@pitcher/js-api 1.25.0 → 1.26.0-beta.2
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 +53 -7
- 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 +4 -4
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +2 -0
- 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 +7 -5
- package/lib/apps/browser/appTypes.d.ts +4 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +3 -0
- package/lib/apps/browser/components/Content/Common/SmartFolderListItem.vue.d.ts +4 -0
- package/lib/apps/browser/components/FileSmartFoldersToolbar.vue.d.ts +2 -2
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +9 -5
- package/lib/apps/browser/stores/api.d.ts +32 -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.helpers.d.ts +2 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +308 -262
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +4 -4
- package/lib/apps/canvas-builder/components/container/AnnotationMenu/AnnotationMenu.vue.d.ts +60 -0
- package/lib/apps/canvas-builder/components/container/CanvasCompletionWizard/CanvasCompletionWizard.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/AnnotationContent.vue.d.ts +8 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.paginated.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/page.paginated.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +1 -3
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +23 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +19 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/{EditableComponentRevamp.vue.d.ts → EditableComponentContent.vue.d.ts} +25 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/LinkableComponent/LinkableComponent.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +5 -5
- package/lib/apps/canvas-builder/components/container/PopupApps/AdaptivePopupAppsButtons.vue.d.ts +17 -0
- package/lib/apps/canvas-builder/components/container/PopupApps/PopupAppsButtons.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +1 -0
- 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 +9 -5
- package/lib/apps/canvas-builder/components/ui/Html/CAiHtmlActions.vue.d.ts +23 -0
- package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +5 -2
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +9 -5
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +9 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +39 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCompact.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListItem.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSearch.vue.d.ts +11 -0
- 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 +1741 -143
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +18 -20
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +16 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +12 -8
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +25 -7
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +3 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +19 -4
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -1
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +3 -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/useEmbeddable.d.ts +7 -0
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +7 -1
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +913 -0
- package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +1 -1
- 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/constants/canvas.const.d.ts +2 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +36 -3
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +3 -1
- package/lib/apps/canvas-builder/util/iframe.util.d.ts +16 -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 +14 -14
- 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 +18 -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 +20 -2
- 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/appTypes.d.ts +2 -0
- package/lib/apps/content-selector/components/Assets.vue.d.ts +75 -1
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +3 -0
- 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 +14 -2
- package/lib/apps/content-selector/stores/app.d.ts +34 -5
- package/lib/apps/content-selector/util/file.d.ts +6 -3
- package/lib/apps/ppt-conversion-selector/composables/canvas.use.d.ts +3 -2
- package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +7 -3
- package/lib/apps/ppt-conversion-selector/utils/thumbnail.util.d.ts +1 -0
- package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +6 -2
- package/lib/components/CAlgoliaSearch/CAlgoliaSearch.vue.d.ts +15 -0
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +3 -0
- package/lib/components/CCarousel/CCarousel.vue.d.ts +20 -0
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +3 -0
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +5 -3
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +2 -0
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +3 -0
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +31 -0
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +18 -16
- package/lib/components/CDataTable/CDataTable.vue.d.ts +12 -12
- package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +8 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +3 -9
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -5
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +2 -6
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +9 -5
- package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +1 -0
- package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -0
- package/lib/components/CImage/CImage.vue.d.ts +11 -0
- package/lib/components/CInput/CInput.vue.d.ts +4 -4
- package/lib/components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue.d.ts +1 -1
- package/lib/components/CMonacoEditor/CMonacoEditor.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/CQuickFilters/CQuickFilters.vue.d.ts +4 -0
- package/lib/components/CRenameModal/CRenameModal.vue.d.ts +28 -0
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +20 -5
- package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +28 -8
- package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +14 -4
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +4 -4
- package/lib/components/CSearch/CSearch.vue.d.ts +2 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +1 -0
- package/lib/components/CSectionSelectionActions/CSectionSelectionActions.vue.d.ts +19 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFolders.vue.d.ts +135 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFoldersToolbar.vue.d.ts +44 -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 +12 -0
- package/lib/components/CTableInput/CTableInput.vue.d.ts +10 -8
- package/lib/components/CTableTag/CTableTag.vue.d.ts +5 -4
- package/lib/components/CTags/CTags.vue.d.ts +4 -4
- package/lib/components/CThumbnail/CThumbnail.vue.d.ts +1 -0
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +4 -1
- package/lib/components/assignedCanvases/CAssignedCanvasesManagement.vue.d.ts +438 -0
- package/lib/components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue.d.ts +41 -0
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +44 -60
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +13 -19
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +39 -33
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +9 -6
- package/lib/components/filters/CSearchFilter.vue.d.ts +9 -1
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +13 -7
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +3 -2
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +4 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +2 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +12 -8
- package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +8 -3
- package/lib/components/sections/CSectionManagement.vue.d.ts +25 -1
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +7 -0
- package/lib/components/themes/CThemeManagement.vue.d.ts +96 -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/useBindValidation.d.ts +1 -1
- package/lib/composables/useBroadcastRouteChange.d.ts +4 -0
- package/lib/composables/useCanvasStandardFilters.d.ts +35 -0
- package/lib/composables/useDeleteUsedCanvasesConfirmation.d.ts +23 -0
- package/lib/composables/useElementSizeAfterDom.d.ts +5 -0
- package/lib/composables/useFileDisplayHelpers.d.ts +6 -2
- package/lib/composables/useFileInfo.d.ts +30 -0
- package/lib/composables/useFilterSuggestions.d.ts +48 -0
- package/lib/composables/useFolderNameDescription.d.ts +25 -0
- package/lib/composables/useImageAccessibility.d.ts +13 -0
- package/lib/composables/useLegacyCollectionFileLoader.d.ts +31 -0
- package/lib/composables/useMetadataSearch.d.ts +22 -1
- package/lib/composables/usePolling.d.ts +23 -0
- package/lib/composables/useWindowEvents.d.ts +1 -0
- package/lib/constants/cdp.const.d.ts +2 -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.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/main.lib.d.ts +17 -3
- package/lib/modules/algolia-instantsearch.d.ts +1 -0
- package/lib/sdk/api/HighLevelApi.d.ts +4 -2
- package/lib/sdk/api/modules/admin/types.admin.d.ts +8 -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 +1 -0
- package/lib/sdk/api/modules/files.d.ts +2 -2
- package/lib/sdk/api/modules/share.d.ts +8 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +25 -1
- package/lib/sdk/api/modules/ui/index.d.ts +2 -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 +90 -2
- package/lib/sdk/main.d.ts +24 -6
- package/lib/sdk/payload.types.d.ts +30 -0
- package/lib/stores/sectionSmartFolderStore.d.ts +112 -0
- package/lib/types/app.d.ts +20 -3
- package/lib/types/call.d.ts +1 -0
- package/lib/types/core/MetadataFilter.d.ts +2 -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 +22 -4
- package/lib/types/launchDarkly.types.d.ts +2 -4
- package/lib/types/organizationSettings.types.d.ts +36 -0
- package/lib/types/sfdc.d.ts +1 -0
- package/lib/util/date.d.ts +1 -0
- package/lib/util/network.d.ts +8 -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/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 +3 -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 +3 -0
- package/types/openapi/models/FolderCreate.d.ts +2 -1
- package/types/openapi/models/FolderFolder.d.ts +5 -0
- package/types/openapi/models/FolderRetrieve.d.ts +5 -1
- package/types/openapi/models/FolderUpdate.d.ts +2 -1
- 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 +0 -2
- package/types/openapi/models/InstanceRequest.d.ts +1 -1
- package/types/openapi/models/InstanceUpdateRequest.d.ts +1 -1
- 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 -1
- 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 +1 -0
- 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/directives/usage-track.directive.d.ts +0 -10
- package/lib/util/usage-tracking.util.d.ts +0 -5
|
@@ -10,9 +10,7 @@ export default function useCanvasBlocks(): {
|
|
|
10
10
|
readonly content?: {
|
|
11
11
|
readonly [x: string]: any;
|
|
12
12
|
} | undefined;
|
|
13
|
-
readonly context?:
|
|
14
|
-
readonly [x: string]: any;
|
|
15
|
-
} | undefined;
|
|
13
|
+
readonly context?: any;
|
|
16
14
|
readonly indicators?: {
|
|
17
15
|
readonly [x: string]: any;
|
|
18
16
|
} | null | undefined;
|
|
@@ -25,9 +23,7 @@ export default function useCanvasBlocks(): {
|
|
|
25
23
|
readonly is_block?: boolean | undefined;
|
|
26
24
|
readonly is_editable?: boolean | undefined;
|
|
27
25
|
readonly is_default?: boolean | undefined;
|
|
28
|
-
readonly metadata?:
|
|
29
|
-
readonly [x: string]: any;
|
|
30
|
-
} | undefined;
|
|
26
|
+
readonly metadata?: any;
|
|
31
27
|
readonly tags?: readonly string[] | undefined;
|
|
32
28
|
readonly start_at?: string | null | undefined;
|
|
33
29
|
readonly expires_at?: string | null | undefined;
|
|
@@ -50,6 +46,7 @@ export default function useCanvasBlocks(): {
|
|
|
50
46
|
readonly metadata?: {
|
|
51
47
|
readonly [x: string]: any;
|
|
52
48
|
} | undefined;
|
|
49
|
+
readonly is_draft: boolean;
|
|
53
50
|
}[];
|
|
54
51
|
readonly shared_link: {
|
|
55
52
|
readonly url: string;
|
|
@@ -90,9 +87,7 @@ export default function useCanvasBlocks(): {
|
|
|
90
87
|
readonly content?: {
|
|
91
88
|
readonly [x: string]: any;
|
|
92
89
|
} | undefined;
|
|
93
|
-
readonly context?:
|
|
94
|
-
readonly [x: string]: any;
|
|
95
|
-
} | undefined;
|
|
90
|
+
readonly context?: any;
|
|
96
91
|
readonly indicators?: {
|
|
97
92
|
readonly [x: string]: any;
|
|
98
93
|
} | null | undefined;
|
|
@@ -105,9 +100,7 @@ export default function useCanvasBlocks(): {
|
|
|
105
100
|
readonly is_block?: boolean | undefined;
|
|
106
101
|
readonly is_editable?: boolean | undefined;
|
|
107
102
|
readonly is_default?: boolean | undefined;
|
|
108
|
-
readonly metadata?:
|
|
109
|
-
readonly [x: string]: any;
|
|
110
|
-
} | undefined;
|
|
103
|
+
readonly metadata?: any;
|
|
111
104
|
readonly tags?: readonly string[] | undefined;
|
|
112
105
|
readonly start_at?: string | null | undefined;
|
|
113
106
|
readonly expires_at?: string | null | undefined;
|
|
@@ -130,6 +123,7 @@ export default function useCanvasBlocks(): {
|
|
|
130
123
|
readonly metadata?: {
|
|
131
124
|
readonly [x: string]: any;
|
|
132
125
|
} | undefined;
|
|
126
|
+
readonly is_draft: boolean;
|
|
133
127
|
}[];
|
|
134
128
|
readonly shared_link: {
|
|
135
129
|
readonly url: string;
|
|
@@ -247,6 +241,7 @@ export default function useCanvasBlocks(): {
|
|
|
247
241
|
} | undefined;
|
|
248
242
|
readonly name: string;
|
|
249
243
|
readonly hide_footer?: boolean | undefined;
|
|
244
|
+
readonly data_accessor?: string | undefined;
|
|
250
245
|
} | {
|
|
251
246
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
252
247
|
readonly columns: number;
|
|
@@ -296,6 +291,7 @@ export default function useCanvasBlocks(): {
|
|
|
296
291
|
readonly src: string | null;
|
|
297
292
|
readonly height?: string | undefined;
|
|
298
293
|
readonly width?: string | undefined;
|
|
294
|
+
readonly full_screen_mode?: boolean | undefined;
|
|
299
295
|
readonly embed_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
300
296
|
readonly headless_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
301
297
|
readonly properties_by_embed_location?: {
|
|
@@ -395,13 +391,14 @@ export default function useCanvasBlocks(): {
|
|
|
395
391
|
})[];
|
|
396
392
|
readonly size?: "medium" | undefined;
|
|
397
393
|
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
394
|
+
readonly data_accessor?: string | undefined;
|
|
398
395
|
} | {
|
|
399
396
|
readonly sections: readonly {
|
|
400
397
|
readonly id: string;
|
|
401
398
|
readonly style?: {
|
|
402
399
|
readonly [x: string]: any;
|
|
403
400
|
} | undefined;
|
|
404
|
-
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
401
|
+
readonly aspect_ratio?: ("contain" | "unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
405
402
|
readonly background_video_url?: string | undefined;
|
|
406
403
|
}[];
|
|
407
404
|
readonly animation_in?: string | undefined;
|
|
@@ -414,6 +411,7 @@ export default function useCanvasBlocks(): {
|
|
|
414
411
|
readonly src: string | null;
|
|
415
412
|
readonly height?: string | undefined;
|
|
416
413
|
readonly width?: string | undefined;
|
|
414
|
+
readonly full_screen_mode?: boolean | undefined;
|
|
417
415
|
readonly add_session_context?: boolean | undefined;
|
|
418
416
|
} | {
|
|
419
417
|
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
@@ -451,8 +449,6 @@ export default function useCanvasBlocks(): {
|
|
|
451
449
|
readonly [x: string]: any;
|
|
452
450
|
} | undefined;
|
|
453
451
|
readonly tags?: readonly string[] | undefined;
|
|
454
|
-
readonly transcript?: string | undefined;
|
|
455
|
-
readonly search?: string | null | undefined;
|
|
456
452
|
readonly published_at?: string | null | undefined;
|
|
457
453
|
readonly expires_at?: string | null | undefined;
|
|
458
454
|
readonly instance_id?: string | undefined;
|
|
@@ -492,7 +488,7 @@ export default function useCanvasBlocks(): {
|
|
|
492
488
|
readonly target?: "_self" | "_blank" | undefined;
|
|
493
489
|
readonly url?: string | undefined;
|
|
494
490
|
} | {} | {
|
|
495
|
-
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
491
|
+
readonly aspect_ratio?: ("contain" | "unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
496
492
|
readonly background_video_url?: string | undefined;
|
|
497
493
|
} | {
|
|
498
494
|
readonly events: readonly {
|
|
@@ -627,6 +623,7 @@ export default function useCanvasBlocks(): {
|
|
|
627
623
|
} | undefined;
|
|
628
624
|
readonly name: string;
|
|
629
625
|
readonly hide_footer?: boolean | undefined;
|
|
626
|
+
readonly data_accessor?: string | undefined;
|
|
630
627
|
} | {
|
|
631
628
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
632
629
|
readonly columns: number;
|
|
@@ -676,6 +673,7 @@ export default function useCanvasBlocks(): {
|
|
|
676
673
|
readonly src: string | null;
|
|
677
674
|
readonly height?: string | undefined;
|
|
678
675
|
readonly width?: string | undefined;
|
|
676
|
+
readonly full_screen_mode?: boolean | undefined;
|
|
679
677
|
readonly embed_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
680
678
|
readonly headless_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
681
679
|
readonly properties_by_embed_location?: {
|
|
@@ -775,13 +773,14 @@ export default function useCanvasBlocks(): {
|
|
|
775
773
|
})[];
|
|
776
774
|
readonly size?: "medium" | undefined;
|
|
777
775
|
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
776
|
+
readonly data_accessor?: string | undefined;
|
|
778
777
|
} | {
|
|
779
778
|
readonly sections: readonly {
|
|
780
779
|
readonly id: string;
|
|
781
780
|
readonly style?: {
|
|
782
781
|
readonly [x: string]: any;
|
|
783
782
|
} | undefined;
|
|
784
|
-
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
783
|
+
readonly aspect_ratio?: ("contain" | "unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
785
784
|
readonly background_video_url?: string | undefined;
|
|
786
785
|
}[];
|
|
787
786
|
readonly animation_in?: string | undefined;
|
|
@@ -794,6 +793,7 @@ export default function useCanvasBlocks(): {
|
|
|
794
793
|
readonly src: string | null;
|
|
795
794
|
readonly height?: string | undefined;
|
|
796
795
|
readonly width?: string | undefined;
|
|
796
|
+
readonly full_screen_mode?: boolean | undefined;
|
|
797
797
|
readonly add_session_context?: boolean | undefined;
|
|
798
798
|
} | {
|
|
799
799
|
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
@@ -831,8 +831,6 @@ export default function useCanvasBlocks(): {
|
|
|
831
831
|
readonly [x: string]: any;
|
|
832
832
|
} | undefined;
|
|
833
833
|
readonly tags?: readonly string[] | undefined;
|
|
834
|
-
readonly transcript?: string | undefined;
|
|
835
|
-
readonly search?: string | null | undefined;
|
|
836
834
|
readonly published_at?: string | null | undefined;
|
|
837
835
|
readonly expires_at?: string | null | undefined;
|
|
838
836
|
readonly instance_id?: string | undefined;
|
|
@@ -872,7 +870,7 @@ export default function useCanvasBlocks(): {
|
|
|
872
870
|
readonly target?: "_self" | "_blank" | undefined;
|
|
873
871
|
readonly url?: string | undefined;
|
|
874
872
|
} | {} | {
|
|
875
|
-
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
873
|
+
readonly aspect_ratio?: ("contain" | "unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
876
874
|
readonly background_video_url?: string | undefined;
|
|
877
875
|
} | {
|
|
878
876
|
readonly events: readonly {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { SectionListProps, ComponentNode } from '../types/canvas';
|
|
3
|
+
import { WizardStep } from '../components/container/CanvasCompletionWizard/CanvasCompletionWizard.vue';
|
|
4
|
+
export default function useCanvasCompletionWizard(): {
|
|
5
|
+
wizardSteps: ComputedRef<WizardStep[]>;
|
|
6
|
+
sectionListNodes: ComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[]>;
|
|
7
|
+
isCompletionWizardEnabled: ComputedRef<boolean>;
|
|
8
|
+
isCompletionWizardCompleted: ComputedRef<boolean>;
|
|
9
|
+
isCompletionWizardShowing: ComputedRef<boolean>;
|
|
10
|
+
retriggerWizard: ({ sectionListId }?: {
|
|
11
|
+
sectionListId?: string;
|
|
12
|
+
}) => Promise<void>;
|
|
13
|
+
canRetriggerWizard: () => boolean;
|
|
14
|
+
resetWizard: () => Promise<void>;
|
|
15
|
+
getStrategyLabel: (strategy?: string) => string;
|
|
16
|
+
};
|
|
@@ -79,6 +79,7 @@ export default function useCanvasHistory(): {
|
|
|
79
79
|
filters?: Record<string, any> | undefined;
|
|
80
80
|
name: string;
|
|
81
81
|
hide_footer?: boolean | undefined;
|
|
82
|
+
data_accessor?: string | undefined;
|
|
82
83
|
} | {
|
|
83
84
|
layout_type: import('../types/canvas').GridLayoutTypes;
|
|
84
85
|
columns: number;
|
|
@@ -124,6 +125,7 @@ export default function useCanvasHistory(): {
|
|
|
124
125
|
src: string | null;
|
|
125
126
|
height?: string | undefined;
|
|
126
127
|
width?: string | undefined;
|
|
128
|
+
full_screen_mode?: boolean | undefined;
|
|
127
129
|
embed_locations?: import('../../../main.lib').EmbedLocation[] | undefined;
|
|
128
130
|
headless_locations?: import('../../../main.lib').EmbedLocation[] | undefined;
|
|
129
131
|
properties_by_embed_location?: {
|
|
@@ -217,11 +219,12 @@ export default function useCanvasHistory(): {
|
|
|
217
219
|
})[];
|
|
218
220
|
size?: "medium" | undefined;
|
|
219
221
|
layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
222
|
+
data_accessor?: string | undefined;
|
|
220
223
|
} | {
|
|
221
224
|
sections: {
|
|
222
225
|
id: string;
|
|
223
226
|
style?: Record<string, any> | undefined;
|
|
224
|
-
aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
227
|
+
aspect_ratio?: ("contain" | "unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
225
228
|
background_video_url?: string | undefined;
|
|
226
229
|
}[];
|
|
227
230
|
animation_in?: string | undefined;
|
|
@@ -234,6 +237,7 @@ export default function useCanvasHistory(): {
|
|
|
234
237
|
src: string | null;
|
|
235
238
|
height?: string | undefined;
|
|
236
239
|
width?: string | undefined;
|
|
240
|
+
full_screen_mode?: boolean | undefined;
|
|
237
241
|
add_session_context?: boolean | undefined;
|
|
238
242
|
} | {
|
|
239
243
|
alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
@@ -267,8 +271,6 @@ export default function useCanvasHistory(): {
|
|
|
267
271
|
metadata?: Record<string, any> | undefined;
|
|
268
272
|
app_metadata?: Record<string, any> | undefined;
|
|
269
273
|
tags?: Array<string> | undefined;
|
|
270
|
-
transcript?: string | undefined;
|
|
271
|
-
readonly search?: string | null | undefined;
|
|
272
274
|
readonly published_at?: string | null | undefined;
|
|
273
275
|
expires_at?: string | null | undefined;
|
|
274
276
|
readonly instance_id?: string | undefined;
|
|
@@ -308,7 +310,7 @@ export default function useCanvasHistory(): {
|
|
|
308
310
|
target?: "_self" | "_blank" | undefined;
|
|
309
311
|
url?: string | undefined;
|
|
310
312
|
} | {
|
|
311
|
-
aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
313
|
+
aspect_ratio?: ("contain" | "unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
312
314
|
background_video_url?: string | undefined;
|
|
313
315
|
} | {
|
|
314
316
|
events: {
|
|
@@ -425,6 +427,7 @@ export default function useCanvasHistory(): {
|
|
|
425
427
|
filters?: Record<string, any> | undefined;
|
|
426
428
|
name: string;
|
|
427
429
|
hide_footer?: boolean | undefined;
|
|
430
|
+
data_accessor?: string | undefined;
|
|
428
431
|
} | {
|
|
429
432
|
layout_type: import('../types/canvas').GridLayoutTypes;
|
|
430
433
|
columns: number;
|
|
@@ -470,6 +473,7 @@ export default function useCanvasHistory(): {
|
|
|
470
473
|
src: string | null;
|
|
471
474
|
height?: string | undefined;
|
|
472
475
|
width?: string | undefined;
|
|
476
|
+
full_screen_mode?: boolean | undefined;
|
|
473
477
|
embed_locations?: import('../../../main.lib').EmbedLocation[] | undefined;
|
|
474
478
|
headless_locations?: import('../../../main.lib').EmbedLocation[] | undefined;
|
|
475
479
|
properties_by_embed_location?: {
|
|
@@ -563,11 +567,12 @@ export default function useCanvasHistory(): {
|
|
|
563
567
|
})[];
|
|
564
568
|
size?: "medium" | undefined;
|
|
565
569
|
layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
570
|
+
data_accessor?: string | undefined;
|
|
566
571
|
} | {
|
|
567
572
|
sections: {
|
|
568
573
|
id: string;
|
|
569
574
|
style?: Record<string, any> | undefined;
|
|
570
|
-
aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
575
|
+
aspect_ratio?: ("contain" | "unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
571
576
|
background_video_url?: string | undefined;
|
|
572
577
|
}[];
|
|
573
578
|
animation_in?: string | undefined;
|
|
@@ -580,6 +585,7 @@ export default function useCanvasHistory(): {
|
|
|
580
585
|
src: string | null;
|
|
581
586
|
height?: string | undefined;
|
|
582
587
|
width?: string | undefined;
|
|
588
|
+
full_screen_mode?: boolean | undefined;
|
|
583
589
|
add_session_context?: boolean | undefined;
|
|
584
590
|
} | {
|
|
585
591
|
alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
@@ -613,8 +619,6 @@ export default function useCanvasHistory(): {
|
|
|
613
619
|
metadata?: Record<string, any> | undefined;
|
|
614
620
|
app_metadata?: Record<string, any> | undefined;
|
|
615
621
|
tags?: Array<string> | undefined;
|
|
616
|
-
transcript?: string | undefined;
|
|
617
|
-
readonly search?: string | null | undefined;
|
|
618
622
|
readonly published_at?: string | null | undefined;
|
|
619
623
|
expires_at?: string | null | undefined;
|
|
620
624
|
readonly instance_id?: string | undefined;
|
|
@@ -654,7 +658,7 @@ export default function useCanvasHistory(): {
|
|
|
654
658
|
target?: "_self" | "_blank" | undefined;
|
|
655
659
|
url?: string | undefined;
|
|
656
660
|
} | {
|
|
657
|
-
aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
661
|
+
aspect_ratio?: ("contain" | "unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
658
662
|
background_video_url?: string | undefined;
|
|
659
663
|
} | {
|
|
660
664
|
events: {
|
|
@@ -2,16 +2,21 @@ import { ComputedRef } from 'vue';
|
|
|
2
2
|
import { ComponentNode, SectionListProps } from '../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
4
4
|
type AnimationDirection = 'Left' | 'Right';
|
|
5
|
+
declare function broadcastCanvasOpenedEvent(): Promise<void>;
|
|
6
|
+
declare function broadcastCanvasClosedEvent(canvasId?: string): Promise<void>;
|
|
5
7
|
declare function goToNextPage(): void;
|
|
6
8
|
declare function goToPreviousPage(): void;
|
|
7
|
-
declare function
|
|
8
|
-
componentId: ComponentNode['id'];
|
|
9
|
-
sectionId?: CanvasRetrieve['id'];
|
|
10
|
-
scrollTo?: 'component' | 'top';
|
|
11
|
-
itemIndex?: number;
|
|
12
|
-
}): void;
|
|
9
|
+
declare function goToFirstPage(componentId?: ComponentNode['id'], skipSetPreviousLocation?: boolean): void;
|
|
13
10
|
declare function reset(): void;
|
|
14
11
|
export default function useCanvasPages(): {
|
|
12
|
+
activeSection: ComputedRef<{
|
|
13
|
+
readonly id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
content: Record<string, any>;
|
|
16
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
17
|
+
metadata?: Record<string, any> | undefined;
|
|
18
|
+
is_draft: boolean;
|
|
19
|
+
} | null>;
|
|
15
20
|
activeSectionId: ComputedRef<string | null>;
|
|
16
21
|
activeSectionTheme: ComputedRef<Record<string, any> | null>;
|
|
17
22
|
canvasPages: ComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[][]>;
|
|
@@ -29,9 +34,22 @@ export default function useCanvasPages(): {
|
|
|
29
34
|
isLastPage: ComputedRef<boolean>;
|
|
30
35
|
goToNextPage: typeof goToNextPage;
|
|
31
36
|
goToPreviousPage: typeof goToPreviousPage;
|
|
32
|
-
goToPage:
|
|
37
|
+
goToPage: ({ componentId, sectionId, scrollTo, itemIndex, sectionIndex, skipSetPreviousLocation, }: {
|
|
38
|
+
componentId: ComponentNode["id"];
|
|
39
|
+
sectionId?: CanvasRetrieve["id"];
|
|
40
|
+
scrollTo?: "component" | "top";
|
|
41
|
+
itemIndex?: number;
|
|
42
|
+
sectionIndex?: number;
|
|
43
|
+
skipSetPreviousLocation?: boolean;
|
|
44
|
+
}) => void;
|
|
45
|
+
goToFirstPage: typeof goToFirstPage;
|
|
33
46
|
reset: typeof reset;
|
|
34
47
|
keepActivePageValid: () => void;
|
|
35
48
|
animationDirection: import('vue').Ref<"" | AnimationDirection, "" | AnimationDirection>;
|
|
49
|
+
broadcastCanvasOpenedEvent: typeof broadcastCanvasOpenedEvent;
|
|
50
|
+
broadcastCanvasClosedEvent: typeof broadcastCanvasClosedEvent;
|
|
51
|
+
backToPreviousLocation: () => void;
|
|
52
|
+
isBackToPreviousLocationVisible: ComputedRef<boolean | undefined>;
|
|
53
|
+
isBackToPreviousLocationDisabled: ComputedRef<boolean>;
|
|
36
54
|
};
|
|
37
55
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
3
|
-
import { ComponentNode, SectionComponentOverrides } from '../types/canvas';
|
|
3
|
+
import { ComponentNode, SectionOverrides, SectionComponentOverrides } from '../types/canvas';
|
|
4
4
|
declare function discardOverridesConfirmationOptions(t: (input: string) => string, callback: () => void): {
|
|
5
5
|
title: string;
|
|
6
6
|
content: string;
|
|
@@ -9,6 +9,7 @@ declare function discardOverridesConfirmationOptions(t: (input: string) => strin
|
|
|
9
9
|
hasExit: boolean;
|
|
10
10
|
onConfirm: () => Promise<void>;
|
|
11
11
|
};
|
|
12
|
+
declare function setSectionOverrides(sectionId: CanvasRetrieve['id'], overrides?: SectionOverrides): void;
|
|
12
13
|
declare function cleanup(): void;
|
|
13
14
|
export default function useCanvasSectionOverrides(): {
|
|
14
15
|
getComponentOverrides: (data: Ref<ComponentNode["data"]>, id: Ref<ComponentNode["id"]>, sectionId?: Ref<CanvasRetrieve["id"]>) => import('vue').ComputedRef<{
|
|
@@ -25,5 +26,6 @@ export default function useCanvasSectionOverrides(): {
|
|
|
25
26
|
}) => void;
|
|
26
27
|
cleanup: typeof cleanup;
|
|
27
28
|
sectionComponentOverrides: Ref<SectionComponentOverrides, SectionComponentOverrides>;
|
|
29
|
+
setSectionOverrides: typeof setSectionOverrides;
|
|
28
30
|
};
|
|
29
31
|
export {};
|
|
@@ -106,6 +106,7 @@ export default function useCanvasTheme(): {
|
|
|
106
106
|
readonly picture: string | null;
|
|
107
107
|
timezone?: string | undefined;
|
|
108
108
|
tags?: (Array<string> | null) | undefined;
|
|
109
|
+
readonly connection?: string | null | undefined;
|
|
109
110
|
};
|
|
110
111
|
created_by: {
|
|
111
112
|
readonly id: number;
|
|
@@ -133,6 +134,7 @@ export default function useCanvasTheme(): {
|
|
|
133
134
|
readonly picture: string | null;
|
|
134
135
|
timezone?: string | undefined;
|
|
135
136
|
tags?: (Array<string> | null) | undefined;
|
|
137
|
+
readonly connection?: string | null | undefined;
|
|
136
138
|
};
|
|
137
139
|
modified_by?: {
|
|
138
140
|
readonly id: number;
|
|
@@ -160,6 +162,7 @@ export default function useCanvasTheme(): {
|
|
|
160
162
|
readonly picture: string | null;
|
|
161
163
|
timezone?: string | undefined;
|
|
162
164
|
tags?: (Array<string> | null) | undefined;
|
|
165
|
+
readonly connection?: string | null | undefined;
|
|
163
166
|
} | undefined;
|
|
164
167
|
logo?: {
|
|
165
168
|
id: string;
|
|
@@ -217,6 +220,7 @@ export default function useCanvasTheme(): {
|
|
|
217
220
|
readonly picture: string | null;
|
|
218
221
|
timezone?: string | undefined;
|
|
219
222
|
tags?: (Array<string> | null) | undefined;
|
|
223
|
+
readonly connection?: string | null | undefined;
|
|
220
224
|
};
|
|
221
225
|
created_by: {
|
|
222
226
|
readonly id: number;
|
|
@@ -244,6 +248,7 @@ export default function useCanvasTheme(): {
|
|
|
244
248
|
readonly picture: string | null;
|
|
245
249
|
timezone?: string | undefined;
|
|
246
250
|
tags?: (Array<string> | null) | undefined;
|
|
251
|
+
readonly connection?: string | null | undefined;
|
|
247
252
|
};
|
|
248
253
|
modified_by?: {
|
|
249
254
|
readonly id: number;
|
|
@@ -271,6 +276,7 @@ export default function useCanvasTheme(): {
|
|
|
271
276
|
readonly picture: string | null;
|
|
272
277
|
timezone?: string | undefined;
|
|
273
278
|
tags?: (Array<string> | null) | undefined;
|
|
279
|
+
readonly connection?: string | null | undefined;
|
|
274
280
|
} | undefined;
|
|
275
281
|
logo?: {
|
|
276
282
|
id: string;
|
|
@@ -324,8 +330,6 @@ export default function useCanvasTheme(): {
|
|
|
324
330
|
metadata?: Record<string, any> | undefined;
|
|
325
331
|
app_metadata?: Record<string, any> | undefined;
|
|
326
332
|
tags?: Array<string> | undefined;
|
|
327
|
-
transcript?: string | undefined;
|
|
328
|
-
readonly search: string | null;
|
|
329
333
|
readonly published_at: string | null;
|
|
330
334
|
expires_at?: string | null | undefined;
|
|
331
335
|
readonly instance_id: string;
|
|
@@ -381,8 +385,6 @@ export default function useCanvasTheme(): {
|
|
|
381
385
|
metadata?: Record<string, any> | undefined;
|
|
382
386
|
app_metadata?: Record<string, any> | undefined;
|
|
383
387
|
tags?: Array<string> | undefined;
|
|
384
|
-
transcript?: string | undefined;
|
|
385
|
-
readonly search: string | null;
|
|
386
388
|
readonly published_at: string | null;
|
|
387
389
|
expires_at?: string | null | undefined;
|
|
388
390
|
readonly instance_id: string;
|
|
@@ -418,6 +420,7 @@ export default function useCanvasTheme(): {
|
|
|
418
420
|
inheritThemeFromParent: import('vue').Ref<boolean, boolean>;
|
|
419
421
|
isEditingCanvasTheme: import('vue').Ref<boolean, boolean>;
|
|
420
422
|
isFluid: import('vue').Ref<boolean, boolean>;
|
|
423
|
+
aspectRatio: import('vue').Ref<"contain" | "unlocked" | "16:9" | "16:10" | "4:3" | "1:1", "contain" | "unlocked" | "16:9" | "16:10" | "4:3" | "1:1">;
|
|
421
424
|
maintainSectionTheme: import('vue').Ref<boolean, boolean>;
|
|
422
425
|
palette: import('vue').Ref<string[], string[]>;
|
|
423
426
|
logo: import('vue').Ref<{
|
|
@@ -485,6 +488,7 @@ export default function useCanvasTheme(): {
|
|
|
485
488
|
readonly picture: string | null;
|
|
486
489
|
timezone?: string | undefined;
|
|
487
490
|
tags?: (Array<string> | null) | undefined;
|
|
491
|
+
readonly connection?: string | null | undefined;
|
|
488
492
|
};
|
|
489
493
|
created_by: {
|
|
490
494
|
readonly id: number;
|
|
@@ -512,6 +516,7 @@ export default function useCanvasTheme(): {
|
|
|
512
516
|
readonly picture: string | null;
|
|
513
517
|
timezone?: string | undefined;
|
|
514
518
|
tags?: (Array<string> | null) | undefined;
|
|
519
|
+
readonly connection?: string | null | undefined;
|
|
515
520
|
};
|
|
516
521
|
modified_by?: {
|
|
517
522
|
readonly id: number;
|
|
@@ -539,6 +544,7 @@ export default function useCanvasTheme(): {
|
|
|
539
544
|
readonly picture: string | null;
|
|
540
545
|
timezone?: string | undefined;
|
|
541
546
|
tags?: (Array<string> | null) | undefined;
|
|
547
|
+
readonly connection?: string | null | undefined;
|
|
542
548
|
} | undefined;
|
|
543
549
|
logo?: {
|
|
544
550
|
id: string;
|
|
@@ -596,6 +602,7 @@ export default function useCanvasTheme(): {
|
|
|
596
602
|
readonly picture: string | null;
|
|
597
603
|
timezone?: string | undefined;
|
|
598
604
|
tags?: (Array<string> | null) | undefined;
|
|
605
|
+
readonly connection?: string | null | undefined;
|
|
599
606
|
};
|
|
600
607
|
created_by: {
|
|
601
608
|
readonly id: number;
|
|
@@ -623,6 +630,7 @@ export default function useCanvasTheme(): {
|
|
|
623
630
|
readonly picture: string | null;
|
|
624
631
|
timezone?: string | undefined;
|
|
625
632
|
tags?: (Array<string> | null) | undefined;
|
|
633
|
+
readonly connection?: string | null | undefined;
|
|
626
634
|
};
|
|
627
635
|
modified_by?: {
|
|
628
636
|
readonly id: number;
|
|
@@ -650,6 +658,7 @@ export default function useCanvasTheme(): {
|
|
|
650
658
|
readonly picture: string | null;
|
|
651
659
|
timezone?: string | undefined;
|
|
652
660
|
tags?: (Array<string> | null) | undefined;
|
|
661
|
+
readonly connection?: string | null | undefined;
|
|
653
662
|
} | undefined;
|
|
654
663
|
logo?: {
|
|
655
664
|
id: string;
|
|
@@ -715,6 +724,7 @@ export default function useCanvasTheme(): {
|
|
|
715
724
|
readonly picture: string | null;
|
|
716
725
|
timezone?: string | undefined;
|
|
717
726
|
tags?: (Array<string> | null) | undefined;
|
|
727
|
+
readonly connection?: string | null | undefined;
|
|
718
728
|
};
|
|
719
729
|
created_by: {
|
|
720
730
|
readonly id: number;
|
|
@@ -742,6 +752,7 @@ export default function useCanvasTheme(): {
|
|
|
742
752
|
readonly picture: string | null;
|
|
743
753
|
timezone?: string | undefined;
|
|
744
754
|
tags?: (Array<string> | null) | undefined;
|
|
755
|
+
readonly connection?: string | null | undefined;
|
|
745
756
|
};
|
|
746
757
|
modified_by?: {
|
|
747
758
|
readonly id: number;
|
|
@@ -769,6 +780,7 @@ export default function useCanvasTheme(): {
|
|
|
769
780
|
readonly picture: string | null;
|
|
770
781
|
timezone?: string | undefined;
|
|
771
782
|
tags?: (Array<string> | null) | undefined;
|
|
783
|
+
readonly connection?: string | null | undefined;
|
|
772
784
|
} | undefined;
|
|
773
785
|
logo?: {
|
|
774
786
|
id: string;
|
|
@@ -826,6 +838,7 @@ export default function useCanvasTheme(): {
|
|
|
826
838
|
readonly picture: string | null;
|
|
827
839
|
timezone?: string | undefined;
|
|
828
840
|
tags?: (Array<string> | null) | undefined;
|
|
841
|
+
readonly connection?: string | null | undefined;
|
|
829
842
|
};
|
|
830
843
|
created_by: {
|
|
831
844
|
readonly id: number;
|
|
@@ -853,6 +866,7 @@ export default function useCanvasTheme(): {
|
|
|
853
866
|
readonly picture: string | null;
|
|
854
867
|
timezone?: string | undefined;
|
|
855
868
|
tags?: (Array<string> | null) | undefined;
|
|
869
|
+
readonly connection?: string | null | undefined;
|
|
856
870
|
};
|
|
857
871
|
modified_by?: {
|
|
858
872
|
readonly id: number;
|
|
@@ -880,6 +894,7 @@ export default function useCanvasTheme(): {
|
|
|
880
894
|
readonly picture: string | null;
|
|
881
895
|
timezone?: string | undefined;
|
|
882
896
|
tags?: (Array<string> | null) | undefined;
|
|
897
|
+
readonly connection?: string | null | undefined;
|
|
883
898
|
} | undefined;
|
|
884
899
|
logo?: {
|
|
885
900
|
id: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
2
2
|
import { ComponentNode, ComponentNodeVisible } from '../types/canvas';
|
|
3
|
+
import { CollectionPlayer } from '../../collection-player/types/collection-player.type.ts';
|
|
3
4
|
export default function useCanvasVisibility(): {
|
|
4
5
|
getComponentDefaultVisibility: (type: ComponentNode["type"], mode?: keyof ComponentNodeVisible) => boolean;
|
|
5
|
-
getVisibleCanvasContent: (data: ComponentNode[], mode?: keyof ComponentNodeVisible) => ComponentNode<
|
|
6
|
+
getVisibleCanvasContent: (data: ComponentNode[], mode?: keyof ComponentNodeVisible) => ComponentNode<CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[];
|
|
6
7
|
getVisibleKey: () => keyof ComponentNodeVisible | undefined;
|
|
7
8
|
shouldRenderComponentWrapper: (c: ComponentNode, sectionId?: CanvasRetrieve["id"]) => boolean | undefined;
|
|
8
9
|
};
|
|
@@ -12,6 +12,7 @@ type ContentSelectorPayload = {
|
|
|
12
12
|
allowedIds?: File['id'][];
|
|
13
13
|
initialMetadataFilters?: Record<string, any>;
|
|
14
14
|
maxSelections?: number;
|
|
15
|
+
onlyAllowContentPdfPages?: boolean;
|
|
15
16
|
onSelected?: (selections: (SelectedFile | SelectedPage)[]) => void;
|
|
16
17
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
17
18
|
};
|
|
@@ -63,6 +64,7 @@ export default function (): {
|
|
|
63
64
|
allowedIds?: File["id"][] | undefined;
|
|
64
65
|
initialMetadataFilters?: Record<string, any> | undefined;
|
|
65
66
|
maxSelections?: number | undefined;
|
|
67
|
+
onlyAllowContentPdfPages?: boolean | undefined;
|
|
66
68
|
onSelected?: ((selections: (SelectedFile | SelectedPage)[]) => void) | undefined;
|
|
67
69
|
usedInSectionId?: CanvasRetrieve["id"] | undefined;
|
|
68
70
|
}, ContentSelectorState | {
|
|
@@ -92,6 +94,7 @@ export default function (): {
|
|
|
92
94
|
allowedIds?: File["id"][] | undefined;
|
|
93
95
|
initialMetadataFilters?: Record<string, any> | undefined;
|
|
94
96
|
maxSelections?: number | undefined;
|
|
97
|
+
onlyAllowContentPdfPages?: boolean | undefined;
|
|
95
98
|
onSelected?: ((selections: (SelectedFile | SelectedPage)[]) => void) | undefined;
|
|
96
99
|
usedInSectionId?: CanvasRetrieve["id"] | undefined;
|
|
97
100
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { User } from '../../../../types/openapi';
|
|
3
|
-
interface DefaultCrmShape {
|
|
3
|
+
export interface DefaultCrmShape {
|
|
4
4
|
account?: {
|
|
5
5
|
name?: string;
|
|
6
6
|
};
|
|
@@ -28,4 +28,3 @@ export default function useCrmShape(): {
|
|
|
28
28
|
}) => Partial<DefaultCrmShape>;
|
|
29
29
|
setRealTimeExtraCrmShape: (shape: Record<string, any>) => void;
|
|
30
30
|
};
|
|
31
|
-
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export default function useEmbeddable(): {
|
|
2
|
+
embeddableHeights: import('vue').Ref<Record<string, number>, Record<string, number>>;
|
|
3
|
+
getEmbeddableHeight: (componentId: string) => number;
|
|
4
|
+
hasZeroHeight: (componentId: string) => boolean;
|
|
5
|
+
updateEmbeddableHeights: () => Promise<void>;
|
|
6
|
+
updateSectionEmbeddableHeights: () => Promise<void>;
|
|
7
|
+
};
|
|
@@ -7,6 +7,7 @@ export declare function useInstalledEmbeddables(): {
|
|
|
7
7
|
shouldUseDeviceUrl: ComputedRef<boolean | undefined>;
|
|
8
8
|
shortcuts: ComputedRef<Record<"edit" | "presentation" | "fullscreen", (EmbeddedAppShortcut & {
|
|
9
9
|
appName: string;
|
|
10
|
+
displayName: string;
|
|
10
11
|
})[]>>;
|
|
11
12
|
refetch: (fileId?: AppFile["id"]) => void;
|
|
12
13
|
cleanup: () => void;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
export declare const usePitcherEvents: () => {
|
|
1
|
+
export declare const usePitcherEvents: (goToNextPage?: () => void, goToPreviousPage?: () => void, onCanvasCloseRequested?: () => void) => {
|
|
2
2
|
isOpenPhotosCaptured: import('vue').Ref<boolean, boolean>;
|
|
3
3
|
registerPhotosCapturedListener: () => void;
|
|
4
4
|
unregisterPhotosCapturedListener: () => void;
|
|
5
|
+
registerCanvasPageNextListener: () => void;
|
|
6
|
+
unregisterCanvasPageNextListener: () => void;
|
|
7
|
+
registerCanvasPagePreviousListener: () => void;
|
|
8
|
+
unregisterCanvasPagePreviousListener: () => void;
|
|
9
|
+
registerCanvasCloseListener: () => void;
|
|
10
|
+
unregisterCanvasCloseListener: () => void;
|
|
5
11
|
};
|