@pitcher/js-api 1.26.0-beta.1 → 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 +28 -5
- 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/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/UploadFilesModal/UploadFilesModal.vue.d.ts +9 -5
- package/lib/apps/browser/stores/api.d.ts +29 -11
- 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 +302 -261
- 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/EditableComponent/EditableComponent.vue.d.ts +11 -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} +13 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/PopupApps/AdaptivePopupAppsButtons.vue.d.ts +17 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +2 -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/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/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 +631 -29
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +12 -16
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +3 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +6 -4
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +18 -4
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -1
- 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/usePopupApps.d.ts +0 -4
- 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/types/canvas.d.ts +22 -0
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +1 -0
- 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 +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/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 +15 -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/CFileViewer/CFileViewer.vue.d.ts +1 -9
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +0 -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/CImage/CImage.vue.d.ts +11 -0
- package/lib/components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue.d.ts +1 -1
- 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 +2 -0
- 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/CUserMenu/CUserMenu.vue.d.ts +1 -0
- 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 +17 -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 +7 -7
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +2 -2
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +2 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +12 -8
- package/lib/components/sections/CSectionManagement.vue.d.ts +24 -0
- 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/useBroadcastRouteChange.d.ts +4 -0
- package/lib/composables/useCanvasStandardFilters.d.ts +35 -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 +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 +16 -3
- package/lib/modules/algolia-instantsearch.d.ts +1 -0
- package/lib/sdk/api/HighLevelApi.d.ts +3 -2
- 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/ui/types.ui.d.ts +2 -0
- package/lib/sdk/api/modules/webView.d.ts +2 -1
- package/lib/sdk/interfaces.d.ts +46 -2
- package/lib/sdk/main.d.ts +15 -6
- package/lib/sdk/payload.types.d.ts +17 -0
- package/lib/stores/sectionSmartFolderStore.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 +6 -1
- package/lib/types/launchDarkly.types.d.ts +2 -4
- package/lib/types/organizationSettings.types.d.ts +23 -0
- package/lib/types/sfdc.d.ts +1 -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/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/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 +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/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 +0 -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/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 +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;
|
|
@@ -297,6 +291,7 @@ export default function useCanvasBlocks(): {
|
|
|
297
291
|
readonly src: string | null;
|
|
298
292
|
readonly height?: string | undefined;
|
|
299
293
|
readonly width?: string | undefined;
|
|
294
|
+
readonly full_screen_mode?: boolean | undefined;
|
|
300
295
|
readonly embed_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
301
296
|
readonly headless_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
302
297
|
readonly properties_by_embed_location?: {
|
|
@@ -396,6 +391,7 @@ export default function useCanvasBlocks(): {
|
|
|
396
391
|
})[];
|
|
397
392
|
readonly size?: "medium" | undefined;
|
|
398
393
|
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
394
|
+
readonly data_accessor?: string | undefined;
|
|
399
395
|
} | {
|
|
400
396
|
readonly sections: readonly {
|
|
401
397
|
readonly id: string;
|
|
@@ -415,6 +411,7 @@ export default function useCanvasBlocks(): {
|
|
|
415
411
|
readonly src: string | null;
|
|
416
412
|
readonly height?: string | undefined;
|
|
417
413
|
readonly width?: string | undefined;
|
|
414
|
+
readonly full_screen_mode?: boolean | undefined;
|
|
418
415
|
readonly add_session_context?: boolean | undefined;
|
|
419
416
|
} | {
|
|
420
417
|
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
@@ -452,8 +449,6 @@ export default function useCanvasBlocks(): {
|
|
|
452
449
|
readonly [x: string]: any;
|
|
453
450
|
} | undefined;
|
|
454
451
|
readonly tags?: readonly string[] | undefined;
|
|
455
|
-
readonly transcript?: string | undefined;
|
|
456
|
-
readonly search?: string | null | undefined;
|
|
457
452
|
readonly published_at?: string | null | undefined;
|
|
458
453
|
readonly expires_at?: string | null | undefined;
|
|
459
454
|
readonly instance_id?: string | undefined;
|
|
@@ -678,6 +673,7 @@ export default function useCanvasBlocks(): {
|
|
|
678
673
|
readonly src: string | null;
|
|
679
674
|
readonly height?: string | undefined;
|
|
680
675
|
readonly width?: string | undefined;
|
|
676
|
+
readonly full_screen_mode?: boolean | undefined;
|
|
681
677
|
readonly embed_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
682
678
|
readonly headless_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
683
679
|
readonly properties_by_embed_location?: {
|
|
@@ -777,6 +773,7 @@ export default function useCanvasBlocks(): {
|
|
|
777
773
|
})[];
|
|
778
774
|
readonly size?: "medium" | undefined;
|
|
779
775
|
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
776
|
+
readonly data_accessor?: string | undefined;
|
|
780
777
|
} | {
|
|
781
778
|
readonly sections: readonly {
|
|
782
779
|
readonly id: string;
|
|
@@ -796,6 +793,7 @@ export default function useCanvasBlocks(): {
|
|
|
796
793
|
readonly src: string | null;
|
|
797
794
|
readonly height?: string | undefined;
|
|
798
795
|
readonly width?: string | undefined;
|
|
796
|
+
readonly full_screen_mode?: boolean | undefined;
|
|
799
797
|
readonly add_session_context?: boolean | undefined;
|
|
800
798
|
} | {
|
|
801
799
|
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
@@ -833,8 +831,6 @@ export default function useCanvasBlocks(): {
|
|
|
833
831
|
readonly [x: string]: any;
|
|
834
832
|
} | undefined;
|
|
835
833
|
readonly tags?: readonly string[] | undefined;
|
|
836
|
-
readonly transcript?: string | undefined;
|
|
837
|
-
readonly search?: string | null | undefined;
|
|
838
834
|
readonly published_at?: string | null | undefined;
|
|
839
835
|
readonly expires_at?: string | null | undefined;
|
|
840
836
|
readonly instance_id?: string | undefined;
|
|
@@ -7,7 +7,9 @@ export default function useCanvasCompletionWizard(): {
|
|
|
7
7
|
isCompletionWizardEnabled: ComputedRef<boolean>;
|
|
8
8
|
isCompletionWizardCompleted: ComputedRef<boolean>;
|
|
9
9
|
isCompletionWizardShowing: ComputedRef<boolean>;
|
|
10
|
-
retriggerWizard: (
|
|
10
|
+
retriggerWizard: ({ sectionListId }?: {
|
|
11
|
+
sectionListId?: string;
|
|
12
|
+
}) => Promise<void>;
|
|
11
13
|
canRetriggerWizard: () => boolean;
|
|
12
14
|
resetWizard: () => Promise<void>;
|
|
13
15
|
getStrategyLabel: (strategy?: string) => string;
|
|
@@ -125,6 +125,7 @@ export default function useCanvasHistory(): {
|
|
|
125
125
|
src: string | null;
|
|
126
126
|
height?: string | undefined;
|
|
127
127
|
width?: string | undefined;
|
|
128
|
+
full_screen_mode?: boolean | undefined;
|
|
128
129
|
embed_locations?: import('../../../main.lib').EmbedLocation[] | undefined;
|
|
129
130
|
headless_locations?: import('../../../main.lib').EmbedLocation[] | undefined;
|
|
130
131
|
properties_by_embed_location?: {
|
|
@@ -218,6 +219,7 @@ export default function useCanvasHistory(): {
|
|
|
218
219
|
})[];
|
|
219
220
|
size?: "medium" | undefined;
|
|
220
221
|
layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
222
|
+
data_accessor?: string | undefined;
|
|
221
223
|
} | {
|
|
222
224
|
sections: {
|
|
223
225
|
id: string;
|
|
@@ -235,6 +237,7 @@ export default function useCanvasHistory(): {
|
|
|
235
237
|
src: string | null;
|
|
236
238
|
height?: string | undefined;
|
|
237
239
|
width?: string | undefined;
|
|
240
|
+
full_screen_mode?: boolean | undefined;
|
|
238
241
|
add_session_context?: boolean | undefined;
|
|
239
242
|
} | {
|
|
240
243
|
alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
@@ -268,8 +271,6 @@ export default function useCanvasHistory(): {
|
|
|
268
271
|
metadata?: Record<string, any> | undefined;
|
|
269
272
|
app_metadata?: Record<string, any> | undefined;
|
|
270
273
|
tags?: Array<string> | undefined;
|
|
271
|
-
transcript?: string | undefined;
|
|
272
|
-
readonly search?: string | null | undefined;
|
|
273
274
|
readonly published_at?: string | null | undefined;
|
|
274
275
|
expires_at?: string | null | undefined;
|
|
275
276
|
readonly instance_id?: string | undefined;
|
|
@@ -472,6 +473,7 @@ export default function useCanvasHistory(): {
|
|
|
472
473
|
src: string | null;
|
|
473
474
|
height?: string | undefined;
|
|
474
475
|
width?: string | undefined;
|
|
476
|
+
full_screen_mode?: boolean | undefined;
|
|
475
477
|
embed_locations?: import('../../../main.lib').EmbedLocation[] | undefined;
|
|
476
478
|
headless_locations?: import('../../../main.lib').EmbedLocation[] | undefined;
|
|
477
479
|
properties_by_embed_location?: {
|
|
@@ -565,6 +567,7 @@ export default function useCanvasHistory(): {
|
|
|
565
567
|
})[];
|
|
566
568
|
size?: "medium" | undefined;
|
|
567
569
|
layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
570
|
+
data_accessor?: string | undefined;
|
|
568
571
|
} | {
|
|
569
572
|
sections: {
|
|
570
573
|
id: string;
|
|
@@ -582,6 +585,7 @@ export default function useCanvasHistory(): {
|
|
|
582
585
|
src: string | null;
|
|
583
586
|
height?: string | undefined;
|
|
584
587
|
width?: string | undefined;
|
|
588
|
+
full_screen_mode?: boolean | undefined;
|
|
585
589
|
add_session_context?: boolean | undefined;
|
|
586
590
|
} | {
|
|
587
591
|
alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
@@ -615,8 +619,6 @@ export default function useCanvasHistory(): {
|
|
|
615
619
|
metadata?: Record<string, any> | undefined;
|
|
616
620
|
app_metadata?: Record<string, any> | undefined;
|
|
617
621
|
tags?: Array<string> | undefined;
|
|
618
|
-
transcript?: string | undefined;
|
|
619
|
-
readonly search?: string | null | undefined;
|
|
620
622
|
readonly published_at?: string | null | undefined;
|
|
621
623
|
expires_at?: string | null | undefined;
|
|
622
624
|
readonly instance_id?: string | undefined;
|
|
@@ -15,6 +15,7 @@ export default function useCanvasPages(): {
|
|
|
15
15
|
content: Record<string, any>;
|
|
16
16
|
theme?: (Record<string, any> | null) | undefined;
|
|
17
17
|
metadata?: Record<string, any> | undefined;
|
|
18
|
+
is_draft: boolean;
|
|
18
19
|
} | null>;
|
|
19
20
|
activeSectionId: ComputedRef<string | null>;
|
|
20
21
|
activeSectionTheme: ComputedRef<Record<string, any> | null>;
|
|
@@ -49,5 +50,6 @@ export default function useCanvasPages(): {
|
|
|
49
50
|
broadcastCanvasClosedEvent: typeof broadcastCanvasClosedEvent;
|
|
50
51
|
backToPreviousLocation: () => void;
|
|
51
52
|
isBackToPreviousLocationVisible: ComputedRef<boolean | undefined>;
|
|
53
|
+
isBackToPreviousLocationDisabled: ComputedRef<boolean>;
|
|
52
54
|
};
|
|
53
55
|
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;
|
|
@@ -486,6 +488,7 @@ export default function useCanvasTheme(): {
|
|
|
486
488
|
readonly picture: string | null;
|
|
487
489
|
timezone?: string | undefined;
|
|
488
490
|
tags?: (Array<string> | null) | undefined;
|
|
491
|
+
readonly connection?: string | null | undefined;
|
|
489
492
|
};
|
|
490
493
|
created_by: {
|
|
491
494
|
readonly id: number;
|
|
@@ -513,6 +516,7 @@ export default function useCanvasTheme(): {
|
|
|
513
516
|
readonly picture: string | null;
|
|
514
517
|
timezone?: string | undefined;
|
|
515
518
|
tags?: (Array<string> | null) | undefined;
|
|
519
|
+
readonly connection?: string | null | undefined;
|
|
516
520
|
};
|
|
517
521
|
modified_by?: {
|
|
518
522
|
readonly id: number;
|
|
@@ -540,6 +544,7 @@ export default function useCanvasTheme(): {
|
|
|
540
544
|
readonly picture: string | null;
|
|
541
545
|
timezone?: string | undefined;
|
|
542
546
|
tags?: (Array<string> | null) | undefined;
|
|
547
|
+
readonly connection?: string | null | undefined;
|
|
543
548
|
} | undefined;
|
|
544
549
|
logo?: {
|
|
545
550
|
id: string;
|
|
@@ -597,6 +602,7 @@ export default function useCanvasTheme(): {
|
|
|
597
602
|
readonly picture: string | null;
|
|
598
603
|
timezone?: string | undefined;
|
|
599
604
|
tags?: (Array<string> | null) | undefined;
|
|
605
|
+
readonly connection?: string | null | undefined;
|
|
600
606
|
};
|
|
601
607
|
created_by: {
|
|
602
608
|
readonly id: number;
|
|
@@ -624,6 +630,7 @@ export default function useCanvasTheme(): {
|
|
|
624
630
|
readonly picture: string | null;
|
|
625
631
|
timezone?: string | undefined;
|
|
626
632
|
tags?: (Array<string> | null) | undefined;
|
|
633
|
+
readonly connection?: string | null | undefined;
|
|
627
634
|
};
|
|
628
635
|
modified_by?: {
|
|
629
636
|
readonly id: number;
|
|
@@ -651,6 +658,7 @@ export default function useCanvasTheme(): {
|
|
|
651
658
|
readonly picture: string | null;
|
|
652
659
|
timezone?: string | undefined;
|
|
653
660
|
tags?: (Array<string> | null) | undefined;
|
|
661
|
+
readonly connection?: string | null | undefined;
|
|
654
662
|
} | undefined;
|
|
655
663
|
logo?: {
|
|
656
664
|
id: string;
|
|
@@ -716,6 +724,7 @@ export default function useCanvasTheme(): {
|
|
|
716
724
|
readonly picture: string | null;
|
|
717
725
|
timezone?: string | undefined;
|
|
718
726
|
tags?: (Array<string> | null) | undefined;
|
|
727
|
+
readonly connection?: string | null | undefined;
|
|
719
728
|
};
|
|
720
729
|
created_by: {
|
|
721
730
|
readonly id: number;
|
|
@@ -743,6 +752,7 @@ export default function useCanvasTheme(): {
|
|
|
743
752
|
readonly picture: string | null;
|
|
744
753
|
timezone?: string | undefined;
|
|
745
754
|
tags?: (Array<string> | null) | undefined;
|
|
755
|
+
readonly connection?: string | null | undefined;
|
|
746
756
|
};
|
|
747
757
|
modified_by?: {
|
|
748
758
|
readonly id: number;
|
|
@@ -770,6 +780,7 @@ export default function useCanvasTheme(): {
|
|
|
770
780
|
readonly picture: string | null;
|
|
771
781
|
timezone?: string | undefined;
|
|
772
782
|
tags?: (Array<string> | null) | undefined;
|
|
783
|
+
readonly connection?: string | null | undefined;
|
|
773
784
|
} | undefined;
|
|
774
785
|
logo?: {
|
|
775
786
|
id: string;
|
|
@@ -827,6 +838,7 @@ export default function useCanvasTheme(): {
|
|
|
827
838
|
readonly picture: string | null;
|
|
828
839
|
timezone?: string | undefined;
|
|
829
840
|
tags?: (Array<string> | null) | undefined;
|
|
841
|
+
readonly connection?: string | null | undefined;
|
|
830
842
|
};
|
|
831
843
|
created_by: {
|
|
832
844
|
readonly id: number;
|
|
@@ -854,6 +866,7 @@ export default function useCanvasTheme(): {
|
|
|
854
866
|
readonly picture: string | null;
|
|
855
867
|
timezone?: string | undefined;
|
|
856
868
|
tags?: (Array<string> | null) | undefined;
|
|
869
|
+
readonly connection?: string | null | undefined;
|
|
857
870
|
};
|
|
858
871
|
modified_by?: {
|
|
859
872
|
readonly id: number;
|
|
@@ -881,6 +894,7 @@ export default function useCanvasTheme(): {
|
|
|
881
894
|
readonly picture: string | null;
|
|
882
895
|
timezone?: string | undefined;
|
|
883
896
|
tags?: (Array<string> | null) | undefined;
|
|
897
|
+
readonly connection?: string | null | undefined;
|
|
884
898
|
} | undefined;
|
|
885
899
|
logo?: {
|
|
886
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
|
};
|
|
@@ -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 {};
|
|
@@ -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;
|
|
@@ -417,8 +417,6 @@ export declare function usePopupApps(): {
|
|
|
417
417
|
order_override?: number | undefined;
|
|
418
418
|
} | undefined;
|
|
419
419
|
tags?: Array<string> | undefined;
|
|
420
|
-
transcript?: string | undefined;
|
|
421
|
-
readonly search: string | null;
|
|
422
420
|
readonly published_at: string | null;
|
|
423
421
|
expires_at?: string | null | undefined;
|
|
424
422
|
readonly instance_id: string;
|
|
@@ -863,8 +861,6 @@ export declare function usePopupApps(): {
|
|
|
863
861
|
order_override?: number | undefined;
|
|
864
862
|
} | undefined;
|
|
865
863
|
tags?: Array<string> | undefined;
|
|
866
|
-
transcript?: string | undefined;
|
|
867
|
-
readonly search: string | null;
|
|
868
864
|
readonly published_at: string | null;
|
|
869
865
|
expires_at?: string | null | undefined;
|
|
870
866
|
readonly instance_id: string;
|
|
@@ -4,7 +4,6 @@ export default function useReorderComponent(): {
|
|
|
4
4
|
activeComponent: Ref<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 | 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> | null, 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 | 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> | null>;
|
|
5
5
|
activeChildren: import('vue').WritableComputedRef<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 | 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>[], 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 | 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
6
|
activeTitle: ComputedRef<string>;
|
|
7
|
-
isNewFeatureEnabled: ComputedRef<boolean>;
|
|
8
7
|
isContentVisible: Ref<boolean, boolean>;
|
|
9
8
|
initialize: () => void;
|
|
10
9
|
getTitle: (component: ComponentNode) => string;
|
|
@@ -14,6 +13,7 @@ export default function useReorderComponent(): {
|
|
|
14
13
|
resetActiveComponentId: () => void;
|
|
15
14
|
toggleContentVisibility: () => void;
|
|
16
15
|
removeComponent: (component: ComponentNode) => void;
|
|
16
|
+
renameComponent: (component: ComponentNode, newName: string) => void;
|
|
17
17
|
isolatedScribbleChildId: ComputedRef<string | null>;
|
|
18
18
|
shouldShowOnlyIsolatedChild: (scribbleId: string) => boolean;
|
|
19
19
|
getFilteredScribbleChildren: (scribbleId: string, children: ComponentNode[]) => 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 | 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>[];
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { ComponentNode, ComponentTypes } from '../types/canvas';
|
|
2
|
+
export declare const SCRIBBLE_CHILD_DEFAULTS: {
|
|
3
|
+
readonly POSITION: {
|
|
4
|
+
readonly TOP: "76px";
|
|
5
|
+
readonly LEFT: "16px";
|
|
6
|
+
};
|
|
7
|
+
readonly DIMENSIONS: {
|
|
8
|
+
readonly DEFAULT_WIDTH: "800px";
|
|
9
|
+
readonly DEFAULT_HEIGHT: "300px";
|
|
10
|
+
readonly EMBEDDABLE_WIDTH: "400px";
|
|
11
|
+
readonly EMBEDDABLE_HEIGHT: "300px";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export interface ScribbleChildConfig {
|
|
15
|
+
id: string;
|
|
16
|
+
parentType?: ComponentTypes;
|
|
17
|
+
style?: Record<string, any>;
|
|
18
|
+
data?: any;
|
|
19
|
+
defaultWidth?: string;
|
|
20
|
+
defaultHeight?: string;
|
|
21
|
+
/** Whether to update component data with dimensions (needed for Embeddable) */
|
|
22
|
+
updateDataWithDimensions?: boolean;
|
|
23
|
+
/** Custom style updates beyond the defaults */
|
|
24
|
+
customStyleUpdates?: Record<string, any>;
|
|
25
|
+
/** Whether to exclude height from style updates (for components like Text that should auto-size) */
|
|
26
|
+
excludeHeight?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Composable for handling scribble child component initialization and common functionality
|
|
30
|
+
* Consolidates the handleAddedToScribble pattern used across multiple components
|
|
31
|
+
*/
|
|
32
|
+
export declare function useScribbleChild(config: ScribbleChildConfig): {
|
|
33
|
+
isScribbleChild: import('vue').ComputedRef<boolean>;
|
|
34
|
+
handleAddedToScribble: (emit: (event: "style", style: Record<string, any>, id?: string) => void) => void;
|
|
35
|
+
componentNode: import('vue').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 | 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> | null>;
|
|
36
|
+
createStyleUpdate: (updates?: Partial<{
|
|
37
|
+
backgroundColor?: string;
|
|
38
|
+
backgroundAttachment?: import('../../../types/background').BackgroundAttachment;
|
|
39
|
+
backgroundImage?: string | null;
|
|
40
|
+
backgroundPositionX?: import('../../../types/background').BackgroundPositionX;
|
|
41
|
+
backgroundPositionY?: import('../../../types/background').BackgroundPositionY;
|
|
42
|
+
backgroundRepeat?: import('../../../types/background').BackgroundRepeat;
|
|
43
|
+
backgroundSize?: import('../../../types/background').BackgroundSize;
|
|
44
|
+
borderRadius?: import('./useCanvasTheme').ThemeBorderRadius;
|
|
45
|
+
height?: string | null;
|
|
46
|
+
left?: string;
|
|
47
|
+
marginBottom?: string | null;
|
|
48
|
+
padding?: import('./useCanvasTheme').ThemePadding;
|
|
49
|
+
position?: "absolute" | "relative" | "static" | "fixed";
|
|
50
|
+
top?: string;
|
|
51
|
+
width?: string;
|
|
52
|
+
}>) => Record<string, any>;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Utility function to get embeddable-specific configuration
|
|
56
|
+
*/
|
|
57
|
+
export declare function getEmbeddableScribbleConfig(id: string, parentType?: ComponentTypes, data?: any, style?: any): {
|
|
58
|
+
id: string;
|
|
59
|
+
parentType: ComponentTypes | undefined;
|
|
60
|
+
style: any;
|
|
61
|
+
data: any;
|
|
62
|
+
defaultWidth: "400px";
|
|
63
|
+
defaultHeight: "300px";
|
|
64
|
+
updateDataWithDimensions: boolean;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Utility function to get text-specific configuration
|
|
68
|
+
*/
|
|
69
|
+
export declare function getTextScribbleConfig(id: string, parentType?: ComponentTypes, style?: any): {
|
|
70
|
+
id: string;
|
|
71
|
+
parentType: ComponentTypes | undefined;
|
|
72
|
+
style: any;
|
|
73
|
+
defaultWidth: any;
|
|
74
|
+
excludeHeight: boolean;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Utility function to get multimedia-specific configuration with proportional dimensions
|
|
78
|
+
*/
|
|
79
|
+
export declare function getMultimediaScribbleConfig(id: string, parentType?: ComponentTypes, style?: any, calculateDimensions?: () => {
|
|
80
|
+
width: number;
|
|
81
|
+
height: number;
|
|
82
|
+
}): {
|
|
83
|
+
id: string;
|
|
84
|
+
parentType: ComponentTypes | undefined;
|
|
85
|
+
style: any;
|
|
86
|
+
defaultWidth: string;
|
|
87
|
+
defaultHeight: string;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Utility function to get dynamic data table-specific configuration
|
|
91
|
+
*/
|
|
92
|
+
export declare function getDynamicDataTableScribbleConfig(id: string, parentType?: ComponentTypes, style?: any): {
|
|
93
|
+
id: string;
|
|
94
|
+
parentType: ComponentTypes | undefined;
|
|
95
|
+
style: any;
|
|
96
|
+
defaultWidth: any;
|
|
97
|
+
defaultHeight: any;
|
|
98
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Composable for handling scribble component toolbar positioning
|
|
4
|
+
* Provides reactive toolbar positioning based on component Y position and feature flags
|
|
5
|
+
*/
|
|
6
|
+
export declare function useScribbleToolbar(componentId: string): {
|
|
7
|
+
isScribbleChild: ComputedRef<boolean>;
|
|
8
|
+
shouldShowOnlyTopToolbar: ComputedRef<boolean>;
|
|
9
|
+
shouldShowOnlyBottomToolbar: ComputedRef<boolean>;
|
|
10
|
+
enableReactiveToolbarPositioning: ComputedRef<boolean>;
|
|
11
|
+
};
|
|
@@ -57,6 +57,7 @@ export interface EmbeddableProps {
|
|
|
57
57
|
src: string | null;
|
|
58
58
|
height?: string;
|
|
59
59
|
width?: string;
|
|
60
|
+
full_screen_mode?: boolean;
|
|
60
61
|
embed_locations?: EmbedLocation[];
|
|
61
62
|
headless_locations?: EmbedLocation[];
|
|
62
63
|
properties_by_embed_location?: Partial<Record<EmbedLocation, EmbeddedLocationProperties>>;
|
|
@@ -73,6 +74,13 @@ export interface DynamicDatatableProperty {
|
|
|
73
74
|
};
|
|
74
75
|
group?: boolean;
|
|
75
76
|
printable?: boolean;
|
|
77
|
+
format?: {
|
|
78
|
+
type?: 'currency' | 'number' | 'percentage' | 'date';
|
|
79
|
+
currency?: string;
|
|
80
|
+
decimals?: number;
|
|
81
|
+
thousandsSeparator?: boolean;
|
|
82
|
+
dateFormat?: string;
|
|
83
|
+
};
|
|
76
84
|
}
|
|
77
85
|
export interface DynamicDatatableFilter {
|
|
78
86
|
property: string;
|
|
@@ -91,6 +99,9 @@ export interface DynamicDataTableProps {
|
|
|
91
99
|
font_family?: string;
|
|
92
100
|
};
|
|
93
101
|
break_groups_on_new_page?: boolean;
|
|
102
|
+
enable_row_striping?: boolean;
|
|
103
|
+
striping_color?: string | null;
|
|
104
|
+
striping_start_from_first?: boolean;
|
|
94
105
|
}
|
|
95
106
|
export interface TextProps {
|
|
96
107
|
content?: string;
|
|
@@ -193,6 +204,7 @@ export interface ContentGridProps {
|
|
|
193
204
|
items: (ContentGridItemSlideProps | ContentGridItemFileProps)[];
|
|
194
205
|
size?: 'medium';
|
|
195
206
|
layout_type?: ContentGridLayoutTypes;
|
|
207
|
+
data_accessor?: string;
|
|
196
208
|
}
|
|
197
209
|
export interface SectionListSection {
|
|
198
210
|
id: string;
|
|
@@ -228,6 +240,7 @@ export interface IFrameProps {
|
|
|
228
240
|
src: string | null;
|
|
229
241
|
height?: string;
|
|
230
242
|
width?: string;
|
|
243
|
+
full_screen_mode?: boolean;
|
|
231
244
|
add_session_context?: boolean;
|
|
232
245
|
}
|
|
233
246
|
export type CollectionFileEntity = Pick<FileRetrieve, 'id' | 'name' | 'type' | 'tags' | 'metadata' | 'thumbnail_url' | 'permissions' | 'content_url' | 'content_type' | 'pspdfkit_auth_payload' | 'pspdfkit_document_id' | 'pspdfkit_server_url'>;
|
|
@@ -253,6 +266,11 @@ export interface ScribbleProps {
|
|
|
253
266
|
file_id?: string;
|
|
254
267
|
page_index?: number;
|
|
255
268
|
page_id?: string;
|
|
269
|
+
is_deleted?: boolean;
|
|
270
|
+
};
|
|
271
|
+
asset_background?: {
|
|
272
|
+
asset_id?: string;
|
|
273
|
+
is_deleted?: boolean;
|
|
256
274
|
};
|
|
257
275
|
}
|
|
258
276
|
export interface PageBreakProps {
|
|
@@ -513,6 +531,8 @@ export type SharingBuilderProps = NoCRMBuilderProps & {
|
|
|
513
531
|
onEnter?: () => void;
|
|
514
532
|
onPageEnter?: (data: ComponentNode[], pageIndex: number) => void;
|
|
515
533
|
onPageExit?: (data: ComponentNode[], pageIndex: number) => void;
|
|
534
|
+
onWizardEnter?: never;
|
|
535
|
+
onWizardExit?: never;
|
|
516
536
|
onFileEnter?: (node: NodeInfo, file: CollectionFileEntity) => void;
|
|
517
537
|
onFileExit?: (node: NodeInfo, file: CollectionFileEntity) => void;
|
|
518
538
|
onFilePageEnter?: (node: NodeInfo, file: CollectionFileEntity, pageIndex: number) => void;
|
|
@@ -595,6 +615,8 @@ type AdminImpactCommonBuilderProps = {
|
|
|
595
615
|
onAppExit?: (data: {
|
|
596
616
|
src: string;
|
|
597
617
|
}) => void;
|
|
618
|
+
onWizardEnter?: () => void;
|
|
619
|
+
onWizardExit?: () => void;
|
|
598
620
|
onPageEnter?: (data: ComponentNode[], pageIndex: number) => void;
|
|
599
621
|
onPageExit?: (data: ComponentNode[], pageIndex: number) => void;
|
|
600
622
|
onFileEnter?: (node: NodeInfo, file: CollectionFileEntity) => void;
|