@pitcher/js-api 1.25.0-beta.2 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/impact-js-api.spec.json +7 -1
- package/js-api.esm.js +25 -4
- 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/browser/App.vue.d.ts +10 -9
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +195 -132
- package/lib/apps/browser/components/Content/AllContent/Table/FoldersFilesTable.vue.d.ts +96 -0
- package/lib/apps/browser/components/Content/Panel/DetailsDrawer/DetailsDrawer.vue.d.ts +17 -0
- package/lib/apps/browser/components/FileSmartFolders.vue.d.ts +209 -0
- package/lib/apps/browser/stores/api.d.ts +6 -0
- package/lib/apps/browser/stores/app.d.ts +7 -2
- package/lib/apps/browser/stores/upload.d.ts +4 -4
- package/lib/apps/browser/stores/upload.types.d.ts +0 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +356 -11
- package/lib/apps/canvas-builder/components/container/CanvasDrawerTheme/CanvasDrawerTheme.vue.d.ts +5 -1
- package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +10 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +3 -1
- package/lib/apps/canvas-builder/components/container/ControlBar/ReorderContent.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +1230 -0
- package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +22 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +3 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridFileItem.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridList.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.grouped.vue.d.ts +7 -2
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.header.vue.d.ts +9 -1
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.simple.vue.d.ts +6 -2
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.edit.vue.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +31 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +31 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +1 -6
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCollapsibles.vue.d.ts +12 -6
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +111 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +206 -31
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +46 -6
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +44 -6
- package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useCanvasNodes.d.ts +16 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +120 -3
- package/lib/apps/canvas-builder/composables/useCanvasThemeAssets.d.ts +31 -0
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +4 -1
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useDataTablePrint.d.ts +5 -0
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -0
- package/lib/apps/canvas-builder/composables/useSectionNavigation.d.ts +3 -2
- package/lib/apps/canvas-builder/constants/canvas.const.d.ts +1 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +45 -11
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +4 -1
- package/lib/apps/canvas-builder/util/print.util.d.ts +1 -1
- package/lib/apps/canvas-builder/util/tiptap-table.util.d.ts +20 -0
- package/lib/apps/collection-player/App.vue.d.ts +1 -0
- package/lib/apps/collection-player/components/AppFooter.vue.d.ts +56 -1
- package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +15 -0
- package/lib/apps/collection-player/components/MainImage.vue.d.ts +3 -1
- package/lib/apps/collection-player/composables/annotation-layer.use.d.ts +13 -0
- package/lib/apps/collection-player/composables/laser-pointer-marker.use.d.ts +166 -0
- package/lib/apps/collection-player/composables/markerjs.use.d.ts +8 -0
- package/lib/apps/collection-player/composables/new-zoom.use.d.ts +12 -0
- package/lib/apps/collection-player/stores/app.store.d.ts +4 -1
- package/lib/apps/collection-selector/App.vue.d.ts +33 -0
- package/lib/apps/content-selector/appTypes.d.ts +1 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +195 -132
- package/lib/apps/content-selector/components/MultimediaSelectorApp.vue.d.ts +12 -0
- package/lib/apps/content-selector/components/ThemeImages.vue.d.ts +2 -0
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +4 -0
- package/lib/apps/content-selector/composables/useMultimediaSelectorApps.d.ts +21 -0
- package/lib/apps/content-selector/composables/useStore.d.ts +4 -0
- package/lib/apps/content-selector/stores/api.d.ts +19 -228
- package/lib/apps/content-selector/stores/app.d.ts +45 -66
- package/lib/apps/ppt-conversion-selector/components/AppHeader.vue.d.ts +2 -0
- package/lib/canvas-comments/components/CommentButton.vue.d.ts +6 -0
- package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +21 -0
- package/lib/canvas-comments/components/SimpleComments.vue.d.ts +14 -0
- package/lib/components/CApexChart/CApexChartLine.vue.d.ts +1 -1
- package/lib/components/CButton/CButton.vue.d.ts +3 -3
- package/lib/components/CCreateThemeModal/steps/CThemeAssetsStep.vue.d.ts +19 -0
- package/lib/components/CFileThumbnail/CFileThumbnail.vue.d.ts +1 -1
- package/lib/components/CFileViewer/CFileViewer.types.d.ts +8 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +18 -0
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +3 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +1 -0
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +5 -0
- package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +69 -0
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +2 -0
- package/lib/components/CInput/CInput.vue.d.ts +3 -3
- package/lib/components/CList/CList.vue.d.ts +1 -1
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +4 -4
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +90 -1
- package/lib/components/CTable/CTable.vue.d.ts +3 -1
- package/lib/components/CTableTag/CTableTag.vue.d.ts +4687 -0
- package/lib/components/CTags/CTags.vue.d.ts +3 -3
- package/lib/components/CThemePreview/CThemePreview.vue.d.ts +1 -1
- package/lib/components/CThumbnail/CThumbnail.vue.d.ts +43 -0
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +7 -9
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +6 -2
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +582 -266
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +195 -132
- package/lib/components/filters/CSearchFilter.vue.d.ts +2 -0
- package/lib/components/savedCanvases/CCanvasAccountModal.vue.d.ts +23 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +20 -5
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +21 -2
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +4 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +3 -1
- package/lib/components/sections/CSectionManagement.vue.d.ts +6 -2
- package/lib/components/themes/CThemeManagement.vue.d.ts +6 -2
- package/lib/composables/useCanvasLocks.d.ts +3 -4
- package/lib/composables/useCommentTracking.d.ts +25 -0
- package/lib/composables/useCommentsStorage.d.ts +70 -0
- package/lib/composables/useFileDisplayHelpers.d.ts +2 -0
- package/lib/composables/useInstalledApps.d.ts +1 -0
- package/lib/composables/useMetadataFilters.d.ts +2 -2
- package/lib/composables/useMetadataSearch.d.ts +2 -1
- package/lib/composables/useSharedCommentsStorage.d.ts +32 -0
- package/lib/constants/cdp.const.d.ts +6 -0
- package/lib/constants/roles.const.d.ts +16 -0
- package/lib/directives/element-mounted.d.ts +4 -0
- package/lib/main.lib.d.ts +6 -0
- package/lib/sdk/api/HighLevelApi.d.ts +2 -0
- package/lib/sdk/api/modules/admin/index.d.ts +1 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +1 -0
- package/lib/sdk/api/modules/admin/users.admin.d.ts +14 -0
- package/lib/sdk/api/modules/env.d.ts +1 -0
- package/lib/sdk/api/modules/query.d.ts +2 -1
- package/lib/sdk/api/modules/ui/types.ui.d.ts +4 -0
- package/lib/sdk/interfaces.d.ts +1 -0
- package/lib/sdk/main.d.ts +8 -0
- package/lib/sdk/payload.types.d.ts +14 -0
- package/lib/types/app.d.ts +12 -1
- package/lib/types/call.d.ts +1 -2
- package/lib/types/canvasTheme.d.ts +12 -0
- package/lib/types/core/MetadataFilter.d.ts +1 -0
- package/lib/types/i18n.types.d.ts +1 -1
- package/lib/types/instanceSettings.types.d.ts +2 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +19 -0
- package/lib/util/image.d.ts +4 -0
- package/lib/util/style.util.d.ts +1 -0
- package/lib/util/userAgents.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/models/App.d.ts +1 -0
- package/types/openapi/models/CanvasCreate.d.ts +1 -0
- package/types/openapi/models/CanvasRecommendedFile.d.ts +2 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +1 -0
- package/types/openapi/models/CanvasUpdate.d.ts +1 -0
- package/types/openapi/models/CanvasUpdateRequest.d.ts +1 -0
- package/types/openapi/models/DeletedFile.d.ts +2 -0
- package/types/openapi/models/File.d.ts +2 -0
- package/types/openapi/models/FileCreate.d.ts +2 -0
- package/types/openapi/models/FileCreateRequest.d.ts +1 -0
- package/types/openapi/models/FileRetrieve.d.ts +2 -0
- package/types/openapi/models/FileUpdate.d.ts +2 -0
- package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +2 -0
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +1 -0
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { CanvasBuilderMode, CanvasBuilderProps, ComponentNode,
|
|
2
|
+
import { CanvasBuilderMode, ComponentTypes, CanvasBuilderProps, ComponentNode, SectionComponentOverrides, SectionListProps, MultimediaProps } from '../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
4
4
|
import { EmbedLocation } from '../../../types/app';
|
|
5
5
|
import { LaunchDarklyEnv } from '../../../types/launchDarkly.types';
|
|
@@ -22,6 +22,9 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
22
22
|
readonly linkable?: {
|
|
23
23
|
readonly linkable_in_templates: boolean;
|
|
24
24
|
} | undefined;
|
|
25
|
+
readonly print?: {
|
|
26
|
+
readonly scale_to_fit_page?: boolean | undefined;
|
|
27
|
+
} | undefined;
|
|
25
28
|
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
26
29
|
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags" | undefined;
|
|
27
30
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
@@ -167,6 +170,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
167
170
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
168
171
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
169
172
|
readonly is_deleted?: boolean | undefined;
|
|
173
|
+
readonly expires_at?: string | null | undefined;
|
|
170
174
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
171
175
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
172
176
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -174,6 +178,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
174
178
|
readonly can_download?: boolean | undefined;
|
|
175
179
|
readonly can_share?: boolean | undefined;
|
|
176
180
|
} | undefined;
|
|
181
|
+
readonly tags?: readonly string[] | undefined;
|
|
177
182
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
178
183
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
179
184
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -192,6 +197,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
192
197
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
193
198
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
194
199
|
readonly is_deleted?: boolean | undefined;
|
|
200
|
+
readonly expires_at?: string | null | undefined;
|
|
195
201
|
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
196
202
|
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
197
203
|
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
@@ -199,6 +205,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
199
205
|
readonly can_download?: boolean | undefined;
|
|
200
206
|
readonly can_share?: boolean | undefined;
|
|
201
207
|
} | undefined;
|
|
208
|
+
readonly tags?: readonly string[] | undefined;
|
|
202
209
|
};
|
|
203
210
|
readonly slide: {
|
|
204
211
|
readonly index: number;
|
|
@@ -211,6 +218,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
211
218
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
212
219
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
213
220
|
readonly is_deleted?: boolean | undefined;
|
|
221
|
+
readonly expires_at?: string | null | undefined;
|
|
214
222
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
215
223
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
216
224
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -218,6 +226,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
218
226
|
readonly can_download?: boolean | undefined;
|
|
219
227
|
readonly can_share?: boolean | undefined;
|
|
220
228
|
} | undefined;
|
|
229
|
+
readonly tags?: readonly string[] | undefined;
|
|
221
230
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
222
231
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
223
232
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -286,6 +295,8 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
286
295
|
readonly [x: string]: any;
|
|
287
296
|
} | undefined;
|
|
288
297
|
readonly tags?: readonly string[] | undefined;
|
|
298
|
+
readonly transcript?: string | undefined;
|
|
299
|
+
readonly search?: string | null | undefined;
|
|
289
300
|
readonly published_at?: string | null | undefined;
|
|
290
301
|
readonly expires_at?: string | null | undefined;
|
|
291
302
|
readonly instance_id?: string | undefined;
|
|
@@ -320,6 +331,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
320
331
|
readonly font_family?: string | undefined;
|
|
321
332
|
readonly font_size?: number | undefined;
|
|
322
333
|
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
334
|
+
readonly page_index?: number | undefined;
|
|
323
335
|
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
324
336
|
readonly target?: "_self" | "_blank" | undefined;
|
|
325
337
|
readonly url?: string | undefined;
|
|
@@ -364,10 +376,17 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
364
376
|
} | undefined;
|
|
365
377
|
readonly tags?: readonly string[] | undefined;
|
|
366
378
|
readonly theme_meta?: {
|
|
367
|
-
readonly bg_color_palette_index
|
|
368
|
-
|
|
369
|
-
readonly
|
|
379
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
380
|
+
} | {
|
|
381
|
+
readonly dt_header_bg_palette_index?: number | undefined;
|
|
382
|
+
readonly dt_group_header_bg_palette_index?: number | undefined;
|
|
383
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
384
|
+
} | {
|
|
385
|
+
readonly is_theme_logo?: boolean | undefined;
|
|
386
|
+
readonly theme_asset_index?: number | undefined;
|
|
387
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
370
388
|
} | undefined;
|
|
389
|
+
readonly height?: string | undefined;
|
|
371
390
|
};
|
|
372
391
|
}>;
|
|
373
392
|
export type SectionComponentNodesBySectionId = typeof sectionComponentNodesBySectionId;
|
|
@@ -386,6 +405,9 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
386
405
|
readonly linkable?: {
|
|
387
406
|
readonly linkable_in_templates: boolean;
|
|
388
407
|
} | undefined;
|
|
408
|
+
readonly print?: {
|
|
409
|
+
readonly scale_to_fit_page?: boolean | undefined;
|
|
410
|
+
} | undefined;
|
|
389
411
|
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
390
412
|
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags" | undefined;
|
|
391
413
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
@@ -531,6 +553,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
531
553
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
532
554
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
533
555
|
readonly is_deleted?: boolean | undefined;
|
|
556
|
+
readonly expires_at?: string | null | undefined;
|
|
534
557
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
535
558
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
536
559
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -538,6 +561,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
538
561
|
readonly can_download?: boolean | undefined;
|
|
539
562
|
readonly can_share?: boolean | undefined;
|
|
540
563
|
} | undefined;
|
|
564
|
+
readonly tags?: readonly string[] | undefined;
|
|
541
565
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
542
566
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
543
567
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -556,6 +580,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
556
580
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
557
581
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
558
582
|
readonly is_deleted?: boolean | undefined;
|
|
583
|
+
readonly expires_at?: string | null | undefined;
|
|
559
584
|
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
560
585
|
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
561
586
|
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
@@ -563,6 +588,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
563
588
|
readonly can_download?: boolean | undefined;
|
|
564
589
|
readonly can_share?: boolean | undefined;
|
|
565
590
|
} | undefined;
|
|
591
|
+
readonly tags?: readonly string[] | undefined;
|
|
566
592
|
};
|
|
567
593
|
readonly slide: {
|
|
568
594
|
readonly index: number;
|
|
@@ -575,6 +601,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
575
601
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
576
602
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
577
603
|
readonly is_deleted?: boolean | undefined;
|
|
604
|
+
readonly expires_at?: string | null | undefined;
|
|
578
605
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
579
606
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
580
607
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -582,6 +609,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
582
609
|
readonly can_download?: boolean | undefined;
|
|
583
610
|
readonly can_share?: boolean | undefined;
|
|
584
611
|
} | undefined;
|
|
612
|
+
readonly tags?: readonly string[] | undefined;
|
|
585
613
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
586
614
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
587
615
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -650,6 +678,8 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
650
678
|
readonly [x: string]: any;
|
|
651
679
|
} | undefined;
|
|
652
680
|
readonly tags?: readonly string[] | undefined;
|
|
681
|
+
readonly transcript?: string | undefined;
|
|
682
|
+
readonly search?: string | null | undefined;
|
|
653
683
|
readonly published_at?: string | null | undefined;
|
|
654
684
|
readonly expires_at?: string | null | undefined;
|
|
655
685
|
readonly instance_id?: string | undefined;
|
|
@@ -684,6 +714,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
684
714
|
readonly font_family?: string | undefined;
|
|
685
715
|
readonly font_size?: number | undefined;
|
|
686
716
|
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
717
|
+
readonly page_index?: number | undefined;
|
|
687
718
|
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
688
719
|
readonly target?: "_self" | "_blank" | undefined;
|
|
689
720
|
readonly url?: string | undefined;
|
|
@@ -728,10 +759,17 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
728
759
|
} | undefined;
|
|
729
760
|
readonly tags?: readonly string[] | undefined;
|
|
730
761
|
readonly theme_meta?: {
|
|
731
|
-
readonly bg_color_palette_index
|
|
732
|
-
|
|
733
|
-
readonly
|
|
762
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
763
|
+
} | {
|
|
764
|
+
readonly dt_header_bg_palette_index?: number | undefined;
|
|
765
|
+
readonly dt_group_header_bg_palette_index?: number | undefined;
|
|
766
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
767
|
+
} | {
|
|
768
|
+
readonly is_theme_logo?: boolean | undefined;
|
|
769
|
+
readonly theme_asset_index?: number | undefined;
|
|
770
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
734
771
|
} | undefined;
|
|
772
|
+
readonly height?: string | undefined;
|
|
735
773
|
};
|
|
736
774
|
};
|
|
737
775
|
}>;
|
|
@@ -745,7 +783,7 @@ declare function saveCanvasContext(context: any, { showToast }?: {
|
|
|
745
783
|
}): Promise<undefined>;
|
|
746
784
|
declare function saveCanvasContentWithContext(context: any, { showToast }?: {
|
|
747
785
|
showToast?: boolean;
|
|
748
|
-
}): Promise<
|
|
786
|
+
}): Promise<undefined>;
|
|
749
787
|
export default function useCanvas(): {
|
|
750
788
|
activeCanvas: Ref<{
|
|
751
789
|
readonly id: string;
|
|
@@ -766,6 +804,7 @@ export default function useCanvas(): {
|
|
|
766
804
|
expires_at?: string | null | undefined;
|
|
767
805
|
access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
|
|
768
806
|
thumbnail_url?: string | null | undefined;
|
|
807
|
+
instance_id: string;
|
|
769
808
|
readonly template: {
|
|
770
809
|
readonly id: string;
|
|
771
810
|
name: string;
|
|
@@ -827,6 +866,7 @@ export default function useCanvas(): {
|
|
|
827
866
|
expires_at?: string | null | undefined;
|
|
828
867
|
access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
|
|
829
868
|
thumbnail_url?: string | null | undefined;
|
|
869
|
+
instance_id: string;
|
|
830
870
|
readonly template: {
|
|
831
871
|
readonly id: string;
|
|
832
872
|
name: string;
|
|
@@ -890,6 +930,9 @@ export default function useCanvas(): {
|
|
|
890
930
|
readonly linkable?: {
|
|
891
931
|
readonly linkable_in_templates: boolean;
|
|
892
932
|
} | undefined;
|
|
933
|
+
readonly print?: {
|
|
934
|
+
readonly scale_to_fit_page?: boolean | undefined;
|
|
935
|
+
} | undefined;
|
|
893
936
|
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
894
937
|
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags" | undefined;
|
|
895
938
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
@@ -1035,6 +1078,7 @@ export default function useCanvas(): {
|
|
|
1035
1078
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1036
1079
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1037
1080
|
readonly is_deleted?: boolean | undefined;
|
|
1081
|
+
readonly expires_at?: string | null | undefined;
|
|
1038
1082
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1039
1083
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1040
1084
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -1042,6 +1086,7 @@ export default function useCanvas(): {
|
|
|
1042
1086
|
readonly can_download?: boolean | undefined;
|
|
1043
1087
|
readonly can_share?: boolean | undefined;
|
|
1044
1088
|
} | undefined;
|
|
1089
|
+
readonly tags?: readonly string[] | undefined;
|
|
1045
1090
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
1046
1091
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
1047
1092
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -1060,6 +1105,7 @@ export default function useCanvas(): {
|
|
|
1060
1105
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1061
1106
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1062
1107
|
readonly is_deleted?: boolean | undefined;
|
|
1108
|
+
readonly expires_at?: string | null | undefined;
|
|
1063
1109
|
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
1064
1110
|
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
1065
1111
|
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
@@ -1067,6 +1113,7 @@ export default function useCanvas(): {
|
|
|
1067
1113
|
readonly can_download?: boolean | undefined;
|
|
1068
1114
|
readonly can_share?: boolean | undefined;
|
|
1069
1115
|
} | undefined;
|
|
1116
|
+
readonly tags?: readonly string[] | undefined;
|
|
1070
1117
|
};
|
|
1071
1118
|
readonly slide: {
|
|
1072
1119
|
readonly index: number;
|
|
@@ -1079,6 +1126,7 @@ export default function useCanvas(): {
|
|
|
1079
1126
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1080
1127
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1081
1128
|
readonly is_deleted?: boolean | undefined;
|
|
1129
|
+
readonly expires_at?: string | null | undefined;
|
|
1082
1130
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1083
1131
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1084
1132
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -1086,6 +1134,7 @@ export default function useCanvas(): {
|
|
|
1086
1134
|
readonly can_download?: boolean | undefined;
|
|
1087
1135
|
readonly can_share?: boolean | undefined;
|
|
1088
1136
|
} | undefined;
|
|
1137
|
+
readonly tags?: readonly string[] | undefined;
|
|
1089
1138
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
1090
1139
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
1091
1140
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -1154,6 +1203,8 @@ export default function useCanvas(): {
|
|
|
1154
1203
|
readonly [x: string]: any;
|
|
1155
1204
|
} | undefined;
|
|
1156
1205
|
readonly tags?: readonly string[] | undefined;
|
|
1206
|
+
readonly transcript?: string | undefined;
|
|
1207
|
+
readonly search?: string | null | undefined;
|
|
1157
1208
|
readonly published_at?: string | null | undefined;
|
|
1158
1209
|
readonly expires_at?: string | null | undefined;
|
|
1159
1210
|
readonly instance_id?: string | undefined;
|
|
@@ -1188,6 +1239,7 @@ export default function useCanvas(): {
|
|
|
1188
1239
|
readonly font_family?: string | undefined;
|
|
1189
1240
|
readonly font_size?: number | undefined;
|
|
1190
1241
|
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
1242
|
+
readonly page_index?: number | undefined;
|
|
1191
1243
|
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
1192
1244
|
readonly target?: "_self" | "_blank" | undefined;
|
|
1193
1245
|
readonly url?: string | undefined;
|
|
@@ -1232,10 +1284,17 @@ export default function useCanvas(): {
|
|
|
1232
1284
|
} | undefined;
|
|
1233
1285
|
readonly tags?: readonly string[] | undefined;
|
|
1234
1286
|
readonly theme_meta?: {
|
|
1235
|
-
readonly bg_color_palette_index
|
|
1236
|
-
|
|
1237
|
-
readonly
|
|
1287
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
1288
|
+
} | {
|
|
1289
|
+
readonly dt_header_bg_palette_index?: number | undefined;
|
|
1290
|
+
readonly dt_group_header_bg_palette_index?: number | undefined;
|
|
1291
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
1292
|
+
} | {
|
|
1293
|
+
readonly is_theme_logo?: boolean | undefined;
|
|
1294
|
+
readonly theme_asset_index?: number | undefined;
|
|
1295
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
1238
1296
|
} | undefined;
|
|
1297
|
+
readonly height?: string | undefined;
|
|
1239
1298
|
} | null>;
|
|
1240
1299
|
activeNavigationItems: Ref<{
|
|
1241
1300
|
id: string;
|
|
@@ -1263,6 +1322,9 @@ export default function useCanvas(): {
|
|
|
1263
1322
|
readonly linkable?: {
|
|
1264
1323
|
readonly linkable_in_templates: boolean;
|
|
1265
1324
|
} | undefined;
|
|
1325
|
+
readonly print?: {
|
|
1326
|
+
readonly scale_to_fit_page?: boolean | undefined;
|
|
1327
|
+
} | undefined;
|
|
1266
1328
|
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
1267
1329
|
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags" | undefined;
|
|
1268
1330
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
@@ -1408,6 +1470,7 @@ export default function useCanvas(): {
|
|
|
1408
1470
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1409
1471
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1410
1472
|
readonly is_deleted?: boolean | undefined;
|
|
1473
|
+
readonly expires_at?: string | null | undefined;
|
|
1411
1474
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1412
1475
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1413
1476
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -1415,6 +1478,7 @@ export default function useCanvas(): {
|
|
|
1415
1478
|
readonly can_download?: boolean | undefined;
|
|
1416
1479
|
readonly can_share?: boolean | undefined;
|
|
1417
1480
|
} | undefined;
|
|
1481
|
+
readonly tags?: readonly string[] | undefined;
|
|
1418
1482
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
1419
1483
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
1420
1484
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -1433,6 +1497,7 @@ export default function useCanvas(): {
|
|
|
1433
1497
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1434
1498
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1435
1499
|
readonly is_deleted?: boolean | undefined;
|
|
1500
|
+
readonly expires_at?: string | null | undefined;
|
|
1436
1501
|
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
1437
1502
|
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
1438
1503
|
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
@@ -1440,6 +1505,7 @@ export default function useCanvas(): {
|
|
|
1440
1505
|
readonly can_download?: boolean | undefined;
|
|
1441
1506
|
readonly can_share?: boolean | undefined;
|
|
1442
1507
|
} | undefined;
|
|
1508
|
+
readonly tags?: readonly string[] | undefined;
|
|
1443
1509
|
};
|
|
1444
1510
|
readonly slide: {
|
|
1445
1511
|
readonly index: number;
|
|
@@ -1452,6 +1518,7 @@ export default function useCanvas(): {
|
|
|
1452
1518
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1453
1519
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1454
1520
|
readonly is_deleted?: boolean | undefined;
|
|
1521
|
+
readonly expires_at?: string | null | undefined;
|
|
1455
1522
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1456
1523
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1457
1524
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -1459,6 +1526,7 @@ export default function useCanvas(): {
|
|
|
1459
1526
|
readonly can_download?: boolean | undefined;
|
|
1460
1527
|
readonly can_share?: boolean | undefined;
|
|
1461
1528
|
} | undefined;
|
|
1529
|
+
readonly tags?: readonly string[] | undefined;
|
|
1462
1530
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
1463
1531
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
1464
1532
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -1527,6 +1595,8 @@ export default function useCanvas(): {
|
|
|
1527
1595
|
readonly [x: string]: any;
|
|
1528
1596
|
} | undefined;
|
|
1529
1597
|
readonly tags?: readonly string[] | undefined;
|
|
1598
|
+
readonly transcript?: string | undefined;
|
|
1599
|
+
readonly search?: string | null | undefined;
|
|
1530
1600
|
readonly published_at?: string | null | undefined;
|
|
1531
1601
|
readonly expires_at?: string | null | undefined;
|
|
1532
1602
|
readonly instance_id?: string | undefined;
|
|
@@ -1561,6 +1631,7 @@ export default function useCanvas(): {
|
|
|
1561
1631
|
readonly font_family?: string | undefined;
|
|
1562
1632
|
readonly font_size?: number | undefined;
|
|
1563
1633
|
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
1634
|
+
readonly page_index?: number | undefined;
|
|
1564
1635
|
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
1565
1636
|
readonly target?: "_self" | "_blank" | undefined;
|
|
1566
1637
|
readonly url?: string | undefined;
|
|
@@ -1605,10 +1676,17 @@ export default function useCanvas(): {
|
|
|
1605
1676
|
} | undefined;
|
|
1606
1677
|
readonly tags?: readonly string[] | undefined;
|
|
1607
1678
|
readonly theme_meta?: {
|
|
1608
|
-
readonly bg_color_palette_index
|
|
1609
|
-
|
|
1610
|
-
readonly
|
|
1679
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
1680
|
+
} | {
|
|
1681
|
+
readonly dt_header_bg_palette_index?: number | undefined;
|
|
1682
|
+
readonly dt_group_header_bg_palette_index?: number | undefined;
|
|
1683
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
1684
|
+
} | {
|
|
1685
|
+
readonly is_theme_logo?: boolean | undefined;
|
|
1686
|
+
readonly theme_asset_index?: number | undefined;
|
|
1687
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
1611
1688
|
} | undefined;
|
|
1689
|
+
readonly height?: string | undefined;
|
|
1612
1690
|
} | null>;
|
|
1613
1691
|
addMode: Ref<false | {
|
|
1614
1692
|
type: ComponentTypes;
|
|
@@ -1624,6 +1702,8 @@ export default function useCanvas(): {
|
|
|
1624
1702
|
afterSiblingId: ComponentNode["id"] | null;
|
|
1625
1703
|
}>;
|
|
1626
1704
|
areTokenConstraintsActive: import('vue').ComputedRef<boolean>;
|
|
1705
|
+
areThemesEnabled: Ref<boolean, boolean>;
|
|
1706
|
+
areThemeAssetsEnabled: Ref<boolean, boolean>;
|
|
1627
1707
|
canvasContent: Ref<{
|
|
1628
1708
|
id: string;
|
|
1629
1709
|
type: ComponentTypes;
|
|
@@ -1637,6 +1717,9 @@ export default function useCanvas(): {
|
|
|
1637
1717
|
linkable?: {
|
|
1638
1718
|
linkable_in_templates: boolean;
|
|
1639
1719
|
} | undefined;
|
|
1720
|
+
print?: {
|
|
1721
|
+
scale_to_fit_page?: boolean | undefined;
|
|
1722
|
+
} | undefined;
|
|
1640
1723
|
allow_admins_to_overwrite?: boolean | undefined;
|
|
1641
1724
|
autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags" | undefined;
|
|
1642
1725
|
autofill_content_types?: import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
@@ -1768,6 +1851,7 @@ export default function useCanvas(): {
|
|
|
1768
1851
|
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1769
1852
|
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1770
1853
|
is_deleted?: boolean | undefined;
|
|
1854
|
+
expires_at?: string | null | undefined;
|
|
1771
1855
|
content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1772
1856
|
content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1773
1857
|
content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -1775,6 +1859,7 @@ export default function useCanvas(): {
|
|
|
1775
1859
|
can_download?: boolean | undefined;
|
|
1776
1860
|
can_share?: boolean | undefined;
|
|
1777
1861
|
} | undefined;
|
|
1862
|
+
tags?: string[] | undefined;
|
|
1778
1863
|
thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
1779
1864
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
1780
1865
|
content_thumbnails?: (import('../../../../types/openapi').FileRetrieve["content_thumbnails"] | null) | undefined;
|
|
@@ -1789,6 +1874,7 @@ export default function useCanvas(): {
|
|
|
1789
1874
|
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1790
1875
|
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1791
1876
|
is_deleted?: boolean | undefined;
|
|
1877
|
+
expires_at?: string | null | undefined;
|
|
1792
1878
|
content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
1793
1879
|
content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
1794
1880
|
content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
@@ -1796,6 +1882,7 @@ export default function useCanvas(): {
|
|
|
1796
1882
|
can_download?: boolean | undefined;
|
|
1797
1883
|
can_share?: boolean | undefined;
|
|
1798
1884
|
} | undefined;
|
|
1885
|
+
tags?: string[] | undefined;
|
|
1799
1886
|
};
|
|
1800
1887
|
slide: {
|
|
1801
1888
|
index: number;
|
|
@@ -1808,6 +1895,7 @@ export default function useCanvas(): {
|
|
|
1808
1895
|
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1809
1896
|
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1810
1897
|
is_deleted?: boolean | undefined;
|
|
1898
|
+
expires_at?: string | null | undefined;
|
|
1811
1899
|
content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1812
1900
|
content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1813
1901
|
content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -1815,6 +1903,7 @@ export default function useCanvas(): {
|
|
|
1815
1903
|
can_download?: boolean | undefined;
|
|
1816
1904
|
can_share?: boolean | undefined;
|
|
1817
1905
|
} | undefined;
|
|
1906
|
+
tags?: string[] | undefined;
|
|
1818
1907
|
thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
1819
1908
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
1820
1909
|
content_thumbnails?: (import('../../../../types/openapi').FileRetrieve["content_thumbnails"] | null) | undefined;
|
|
@@ -1875,6 +1964,8 @@ export default function useCanvas(): {
|
|
|
1875
1964
|
metadata?: Record<string, any> | undefined;
|
|
1876
1965
|
app_metadata?: Record<string, any> | undefined;
|
|
1877
1966
|
tags?: Array<string> | undefined;
|
|
1967
|
+
transcript?: string | undefined;
|
|
1968
|
+
readonly search?: string | null | undefined;
|
|
1878
1969
|
readonly published_at?: string | null | undefined;
|
|
1879
1970
|
expires_at?: string | null | undefined;
|
|
1880
1971
|
readonly instance_id?: string | undefined;
|
|
@@ -1909,6 +2000,7 @@ export default function useCanvas(): {
|
|
|
1909
2000
|
font_family?: string | undefined;
|
|
1910
2001
|
font_size?: number | undefined;
|
|
1911
2002
|
link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
2003
|
+
page_index?: number | undefined;
|
|
1912
2004
|
preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
1913
2005
|
target?: "_self" | "_blank" | undefined;
|
|
1914
2006
|
url?: string | undefined;
|
|
@@ -1939,11 +2031,18 @@ export default function useCanvas(): {
|
|
|
1939
2031
|
style?: Record<string, any> | undefined;
|
|
1940
2032
|
tags?: string[] | undefined;
|
|
1941
2033
|
theme_meta?: {
|
|
1942
|
-
bg_color_palette_index
|
|
1943
|
-
|
|
1944
|
-
|
|
2034
|
+
bg_color_palette_index?: number | undefined;
|
|
2035
|
+
} | {
|
|
2036
|
+
dt_header_bg_palette_index?: number | undefined;
|
|
2037
|
+
dt_group_header_bg_palette_index?: number | undefined;
|
|
2038
|
+
bg_color_palette_index?: number | undefined;
|
|
2039
|
+
} | {
|
|
2040
|
+
is_theme_logo?: boolean | undefined;
|
|
2041
|
+
theme_asset_index?: number | undefined;
|
|
2042
|
+
bg_color_palette_index?: number | undefined;
|
|
1945
2043
|
} | undefined;
|
|
1946
|
-
|
|
2044
|
+
height?: string | undefined;
|
|
2045
|
+
}[], ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | 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>[] | {
|
|
1947
2046
|
id: string;
|
|
1948
2047
|
type: ComponentTypes;
|
|
1949
2048
|
tracking_id: string;
|
|
@@ -1956,6 +2055,9 @@ export default function useCanvas(): {
|
|
|
1956
2055
|
linkable?: {
|
|
1957
2056
|
linkable_in_templates: boolean;
|
|
1958
2057
|
} | undefined;
|
|
2058
|
+
print?: {
|
|
2059
|
+
scale_to_fit_page?: boolean | undefined;
|
|
2060
|
+
} | undefined;
|
|
1959
2061
|
allow_admins_to_overwrite?: boolean | undefined;
|
|
1960
2062
|
autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags" | undefined;
|
|
1961
2063
|
autofill_content_types?: import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
@@ -2087,6 +2189,7 @@ export default function useCanvas(): {
|
|
|
2087
2189
|
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
2088
2190
|
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
2089
2191
|
is_deleted?: boolean | undefined;
|
|
2192
|
+
expires_at?: string | null | undefined;
|
|
2090
2193
|
content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
2091
2194
|
content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
2092
2195
|
content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -2094,6 +2197,7 @@ export default function useCanvas(): {
|
|
|
2094
2197
|
can_download?: boolean | undefined;
|
|
2095
2198
|
can_share?: boolean | undefined;
|
|
2096
2199
|
} | undefined;
|
|
2200
|
+
tags?: string[] | undefined;
|
|
2097
2201
|
thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
2098
2202
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
2099
2203
|
content_thumbnails?: (import('../../../../types/openapi').FileRetrieve["content_thumbnails"] | null) | undefined;
|
|
@@ -2108,6 +2212,7 @@ export default function useCanvas(): {
|
|
|
2108
2212
|
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
2109
2213
|
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
2110
2214
|
is_deleted?: boolean | undefined;
|
|
2215
|
+
expires_at?: string | null | undefined;
|
|
2111
2216
|
content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
2112
2217
|
content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
2113
2218
|
content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
@@ -2115,6 +2220,7 @@ export default function useCanvas(): {
|
|
|
2115
2220
|
can_download?: boolean | undefined;
|
|
2116
2221
|
can_share?: boolean | undefined;
|
|
2117
2222
|
} | undefined;
|
|
2223
|
+
tags?: string[] | undefined;
|
|
2118
2224
|
};
|
|
2119
2225
|
slide: {
|
|
2120
2226
|
index: number;
|
|
@@ -2127,6 +2233,7 @@ export default function useCanvas(): {
|
|
|
2127
2233
|
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
2128
2234
|
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
2129
2235
|
is_deleted?: boolean | undefined;
|
|
2236
|
+
expires_at?: string | null | undefined;
|
|
2130
2237
|
content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
2131
2238
|
content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
2132
2239
|
content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -2134,6 +2241,7 @@ export default function useCanvas(): {
|
|
|
2134
2241
|
can_download?: boolean | undefined;
|
|
2135
2242
|
can_share?: boolean | undefined;
|
|
2136
2243
|
} | undefined;
|
|
2244
|
+
tags?: string[] | undefined;
|
|
2137
2245
|
thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
2138
2246
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
2139
2247
|
content_thumbnails?: (import('../../../../types/openapi').FileRetrieve["content_thumbnails"] | null) | undefined;
|
|
@@ -2194,6 +2302,8 @@ export default function useCanvas(): {
|
|
|
2194
2302
|
metadata?: Record<string, any> | undefined;
|
|
2195
2303
|
app_metadata?: Record<string, any> | undefined;
|
|
2196
2304
|
tags?: Array<string> | undefined;
|
|
2305
|
+
transcript?: string | undefined;
|
|
2306
|
+
readonly search?: string | null | undefined;
|
|
2197
2307
|
readonly published_at?: string | null | undefined;
|
|
2198
2308
|
expires_at?: string | null | undefined;
|
|
2199
2309
|
readonly instance_id?: string | undefined;
|
|
@@ -2228,6 +2338,7 @@ export default function useCanvas(): {
|
|
|
2228
2338
|
font_family?: string | undefined;
|
|
2229
2339
|
font_size?: number | undefined;
|
|
2230
2340
|
link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
2341
|
+
page_index?: number | undefined;
|
|
2231
2342
|
preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
2232
2343
|
target?: "_self" | "_blank" | undefined;
|
|
2233
2344
|
url?: string | undefined;
|
|
@@ -2258,10 +2369,17 @@ export default function useCanvas(): {
|
|
|
2258
2369
|
style?: Record<string, any> | undefined;
|
|
2259
2370
|
tags?: string[] | undefined;
|
|
2260
2371
|
theme_meta?: {
|
|
2261
|
-
bg_color_palette_index
|
|
2262
|
-
|
|
2263
|
-
|
|
2372
|
+
bg_color_palette_index?: number | undefined;
|
|
2373
|
+
} | {
|
|
2374
|
+
dt_header_bg_palette_index?: number | undefined;
|
|
2375
|
+
dt_group_header_bg_palette_index?: number | undefined;
|
|
2376
|
+
bg_color_palette_index?: number | undefined;
|
|
2377
|
+
} | {
|
|
2378
|
+
is_theme_logo?: boolean | undefined;
|
|
2379
|
+
theme_asset_index?: number | undefined;
|
|
2380
|
+
bg_color_palette_index?: number | undefined;
|
|
2264
2381
|
} | undefined;
|
|
2382
|
+
height?: string | undefined;
|
|
2265
2383
|
}[]>;
|
|
2266
2384
|
canvasHomePage: Ref<{
|
|
2267
2385
|
component_id: ComponentNode["id"];
|
|
@@ -2312,6 +2430,9 @@ export default function useCanvas(): {
|
|
|
2312
2430
|
readonly linkable?: {
|
|
2313
2431
|
readonly linkable_in_templates: boolean;
|
|
2314
2432
|
} | undefined;
|
|
2433
|
+
readonly print?: {
|
|
2434
|
+
readonly scale_to_fit_page?: boolean | undefined;
|
|
2435
|
+
} | undefined;
|
|
2315
2436
|
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
2316
2437
|
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags" | undefined;
|
|
2317
2438
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
@@ -2457,6 +2578,7 @@ export default function useCanvas(): {
|
|
|
2457
2578
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
2458
2579
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
2459
2580
|
readonly is_deleted?: boolean | undefined;
|
|
2581
|
+
readonly expires_at?: string | null | undefined;
|
|
2460
2582
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
2461
2583
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
2462
2584
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -2464,6 +2586,7 @@ export default function useCanvas(): {
|
|
|
2464
2586
|
readonly can_download?: boolean | undefined;
|
|
2465
2587
|
readonly can_share?: boolean | undefined;
|
|
2466
2588
|
} | undefined;
|
|
2589
|
+
readonly tags?: readonly string[] | undefined;
|
|
2467
2590
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
2468
2591
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
2469
2592
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -2482,6 +2605,7 @@ export default function useCanvas(): {
|
|
|
2482
2605
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
2483
2606
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
2484
2607
|
readonly is_deleted?: boolean | undefined;
|
|
2608
|
+
readonly expires_at?: string | null | undefined;
|
|
2485
2609
|
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
2486
2610
|
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
2487
2611
|
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
@@ -2489,6 +2613,7 @@ export default function useCanvas(): {
|
|
|
2489
2613
|
readonly can_download?: boolean | undefined;
|
|
2490
2614
|
readonly can_share?: boolean | undefined;
|
|
2491
2615
|
} | undefined;
|
|
2616
|
+
readonly tags?: readonly string[] | undefined;
|
|
2492
2617
|
};
|
|
2493
2618
|
readonly slide: {
|
|
2494
2619
|
readonly index: number;
|
|
@@ -2501,6 +2626,7 @@ export default function useCanvas(): {
|
|
|
2501
2626
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
2502
2627
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
2503
2628
|
readonly is_deleted?: boolean | undefined;
|
|
2629
|
+
readonly expires_at?: string | null | undefined;
|
|
2504
2630
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
2505
2631
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
2506
2632
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -2508,6 +2634,7 @@ export default function useCanvas(): {
|
|
|
2508
2634
|
readonly can_download?: boolean | undefined;
|
|
2509
2635
|
readonly can_share?: boolean | undefined;
|
|
2510
2636
|
} | undefined;
|
|
2637
|
+
readonly tags?: readonly string[] | undefined;
|
|
2511
2638
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
2512
2639
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
2513
2640
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -2576,6 +2703,8 @@ export default function useCanvas(): {
|
|
|
2576
2703
|
readonly [x: string]: any;
|
|
2577
2704
|
} | undefined;
|
|
2578
2705
|
readonly tags?: readonly string[] | undefined;
|
|
2706
|
+
readonly transcript?: string | undefined;
|
|
2707
|
+
readonly search?: string | null | undefined;
|
|
2579
2708
|
readonly published_at?: string | null | undefined;
|
|
2580
2709
|
readonly expires_at?: string | null | undefined;
|
|
2581
2710
|
readonly instance_id?: string | undefined;
|
|
@@ -2610,6 +2739,7 @@ export default function useCanvas(): {
|
|
|
2610
2739
|
readonly font_family?: string | undefined;
|
|
2611
2740
|
readonly font_size?: number | undefined;
|
|
2612
2741
|
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
2742
|
+
readonly page_index?: number | undefined;
|
|
2613
2743
|
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
2614
2744
|
readonly target?: "_self" | "_blank" | undefined;
|
|
2615
2745
|
readonly url?: string | undefined;
|
|
@@ -2654,18 +2784,28 @@ export default function useCanvas(): {
|
|
|
2654
2784
|
} | undefined;
|
|
2655
2785
|
readonly tags?: readonly string[] | undefined;
|
|
2656
2786
|
readonly theme_meta?: {
|
|
2657
|
-
readonly bg_color_palette_index
|
|
2658
|
-
|
|
2659
|
-
readonly
|
|
2787
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
2788
|
+
} | {
|
|
2789
|
+
readonly dt_header_bg_palette_index?: number | undefined;
|
|
2790
|
+
readonly dt_group_header_bg_palette_index?: number | undefined;
|
|
2791
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
2792
|
+
} | {
|
|
2793
|
+
readonly is_theme_logo?: boolean | undefined;
|
|
2794
|
+
readonly theme_asset_index?: number | undefined;
|
|
2795
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
2660
2796
|
} | undefined;
|
|
2797
|
+
readonly height?: string | undefined;
|
|
2661
2798
|
};
|
|
2662
2799
|
}>;
|
|
2663
2800
|
componentSelectedMode: Ref<false | {
|
|
2664
2801
|
id: ComponentNode["id"];
|
|
2802
|
+
navigatorItemIndex?: number | undefined;
|
|
2665
2803
|
}, false | {
|
|
2666
2804
|
id: ComponentNode["id"];
|
|
2805
|
+
navigatorItemIndex?: number;
|
|
2667
2806
|
} | {
|
|
2668
2807
|
id: ComponentNode["id"];
|
|
2808
|
+
navigatorItemIndex?: number | undefined;
|
|
2669
2809
|
}>;
|
|
2670
2810
|
componentSettingsMode: Ref<string | false, string | false>;
|
|
2671
2811
|
contentRef: Ref<{
|
|
@@ -2676,7 +2816,7 @@ export default function useCanvas(): {
|
|
|
2676
2816
|
$el: HTMLElement;
|
|
2677
2817
|
} | null>;
|
|
2678
2818
|
currentEmbedLocation: import('vue').ComputedRef<"dsr" | "canvas">;
|
|
2679
|
-
displayMode: Ref<"
|
|
2819
|
+
displayMode: Ref<"print" | "default" | undefined, "print" | "default" | undefined>;
|
|
2680
2820
|
endPage: Ref<number | undefined, number | undefined>;
|
|
2681
2821
|
fetchFile: Ref<((fileId: import('../../../../types/openapi').FileRetrieve["id"]) => Promise<import('../../../../types/openapi').FileRetrieve>) | ((...data: any[]) => void) | undefined, ((fileId: import('../../../../types/openapi').FileRetrieve["id"]) => Promise<import('../../../../types/openapi').FileRetrieve>) | ((...data: any[]) => void) | undefined>;
|
|
2682
2822
|
getEnv: Ref<(() => Promise<import('../../../main.lib').PitcherEnv>) | (() => Promise<import('../../../main.lib').PitcherEnv>) | ((...data: any[]) => void) | undefined, (() => Promise<import('../../../main.lib').PitcherEnv>) | (() => Promise<import('../../../main.lib').PitcherEnv>) | ((...data: any[]) => void) | undefined>;
|
|
@@ -2689,6 +2829,7 @@ export default function useCanvas(): {
|
|
|
2689
2829
|
isDsr: import('vue').ComputedRef<boolean>;
|
|
2690
2830
|
isEditMode: Ref<boolean, boolean>;
|
|
2691
2831
|
isFullscreen: Ref<boolean, boolean>;
|
|
2832
|
+
isHomeMode: import('vue').ComputedRef<boolean>;
|
|
2692
2833
|
isImpact: import('vue').ComputedRef<boolean>;
|
|
2693
2834
|
isPrintDisplayMode: import('vue').ComputedRef<boolean>;
|
|
2694
2835
|
isRedirectEvent: Ref<boolean, boolean>;
|
|
@@ -2705,9 +2846,15 @@ export default function useCanvas(): {
|
|
|
2705
2846
|
listRecommendedFiles: Ref<((params: {
|
|
2706
2847
|
sectionId: CanvasRetrieve["id"];
|
|
2707
2848
|
matchingStrategy: ("tags" | "metadata")[];
|
|
2849
|
+
}) => Promise<import('../../../../types/openapi').File[]>) | ((params: {
|
|
2850
|
+
sectionId: CanvasRetrieve["id"];
|
|
2851
|
+
matchingStrategy: ("tags" | "metadata")[];
|
|
2708
2852
|
}) => Promise<import('../../../../types/openapi').File[]>) | ((...data: any[]) => void) | undefined, ((params: {
|
|
2709
2853
|
sectionId: CanvasRetrieve["id"];
|
|
2710
2854
|
matchingStrategy: ("tags" | "metadata")[];
|
|
2855
|
+
}) => Promise<import('../../../../types/openapi').File[]>) | ((params: {
|
|
2856
|
+
sectionId: CanvasRetrieve["id"];
|
|
2857
|
+
matchingStrategy: ("tags" | "metadata")[];
|
|
2711
2858
|
}) => Promise<import('../../../../types/openapi').File[]>) | ((...data: any[]) => void) | undefined>;
|
|
2712
2859
|
mode: Ref<CanvasBuilderMode | undefined, CanvasBuilderMode | undefined>;
|
|
2713
2860
|
myUserId: Ref<number | null, number | null>;
|
|
@@ -2750,7 +2897,7 @@ export default function useCanvas(): {
|
|
|
2750
2897
|
}) => void) | undefined>;
|
|
2751
2898
|
onPageEnter: Ref<((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined, ((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined>;
|
|
2752
2899
|
onPageExit: Ref<((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined, ((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined>;
|
|
2753
|
-
onDownloadCanvas: Ref<((canvas: CanvasRetrieve) => Promise<void>) | ((canvas: CanvasRetrieve) => Promise<void>) | ((...data: any[]) => void) | undefined, ((canvas: CanvasRetrieve) => Promise<void>) | ((canvas: CanvasRetrieve) => Promise<void>) | ((...data: any[]) => void) | undefined>;
|
|
2900
|
+
onDownloadCanvas: Ref<((canvas: CanvasRetrieve, fileFormat?: "pdf" | "pptx") => Promise<void>) | ((canvas: CanvasRetrieve, fileFormat?: "pdf" | "pptx") => Promise<void>) | ((...data: any[]) => void) | undefined, ((canvas: CanvasRetrieve, fileFormat?: "pdf" | "pptx") => Promise<void>) | ((canvas: CanvasRetrieve, fileFormat?: "pdf" | "pptx") => Promise<void>) | ((...data: any[]) => void) | undefined>;
|
|
2754
2901
|
onDownloadFile: Ref<((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((...data: any[]) => void) | undefined, ((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((...data: any[]) => void) | undefined>;
|
|
2755
2902
|
onExit: Ref<(() => void) | (() => void), (() => void) | (() => void)>;
|
|
2756
2903
|
onFileOpen: Ref<((file: import('../types/canvas').FileOpenParams) => void) | ((file: import('../types/canvas').FileOpenParams) => void), ((file: import('../types/canvas').FileOpenParams) => void) | ((file: import('../types/canvas').FileOpenParams) => void)>;
|
|
@@ -2771,8 +2918,10 @@ export default function useCanvas(): {
|
|
|
2771
2918
|
}) => void) | undefined>;
|
|
2772
2919
|
onSave: Ref<((canvasId: CanvasRetrieve["id"], canvas: import('../../../../types/openapi').PatchedCanvasUpdateRequest & {
|
|
2773
2920
|
fields?: string;
|
|
2921
|
+
include_expired_files?: boolean;
|
|
2774
2922
|
}, showToast?: boolean) => Promise<CanvasRetrieve>) | ((...data: any[]) => Promise<void>) | undefined, ((canvasId: CanvasRetrieve["id"], canvas: import('../../../../types/openapi').PatchedCanvasUpdateRequest & {
|
|
2775
2923
|
fields?: string;
|
|
2924
|
+
include_expired_files?: boolean;
|
|
2776
2925
|
}, showToast?: boolean) => Promise<CanvasRetrieve>) | ((...data: any[]) => Promise<void>) | undefined>;
|
|
2777
2926
|
onSfdcAccountSearch: Ref<((searchTerm?: import('vue').MaybeRef<string>) => {
|
|
2778
2927
|
accountsLoading: Ref<boolean>;
|
|
@@ -2840,6 +2989,9 @@ export default function useCanvas(): {
|
|
|
2840
2989
|
readonly linkable?: {
|
|
2841
2990
|
readonly linkable_in_templates: boolean;
|
|
2842
2991
|
} | undefined;
|
|
2992
|
+
readonly print?: {
|
|
2993
|
+
readonly scale_to_fit_page?: boolean | undefined;
|
|
2994
|
+
} | undefined;
|
|
2843
2995
|
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
2844
2996
|
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags" | undefined;
|
|
2845
2997
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
@@ -2985,6 +3137,7 @@ export default function useCanvas(): {
|
|
|
2985
3137
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
2986
3138
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
2987
3139
|
readonly is_deleted?: boolean | undefined;
|
|
3140
|
+
readonly expires_at?: string | null | undefined;
|
|
2988
3141
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
2989
3142
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
2990
3143
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -2992,6 +3145,7 @@ export default function useCanvas(): {
|
|
|
2992
3145
|
readonly can_download?: boolean | undefined;
|
|
2993
3146
|
readonly can_share?: boolean | undefined;
|
|
2994
3147
|
} | undefined;
|
|
3148
|
+
readonly tags?: readonly string[] | undefined;
|
|
2995
3149
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
2996
3150
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
2997
3151
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -3010,6 +3164,7 @@ export default function useCanvas(): {
|
|
|
3010
3164
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
3011
3165
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
3012
3166
|
readonly is_deleted?: boolean | undefined;
|
|
3167
|
+
readonly expires_at?: string | null | undefined;
|
|
3013
3168
|
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
3014
3169
|
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
3015
3170
|
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
@@ -3017,6 +3172,7 @@ export default function useCanvas(): {
|
|
|
3017
3172
|
readonly can_download?: boolean | undefined;
|
|
3018
3173
|
readonly can_share?: boolean | undefined;
|
|
3019
3174
|
} | undefined;
|
|
3175
|
+
readonly tags?: readonly string[] | undefined;
|
|
3020
3176
|
};
|
|
3021
3177
|
readonly slide: {
|
|
3022
3178
|
readonly index: number;
|
|
@@ -3029,6 +3185,7 @@ export default function useCanvas(): {
|
|
|
3029
3185
|
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
3030
3186
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
3031
3187
|
readonly is_deleted?: boolean | undefined;
|
|
3188
|
+
readonly expires_at?: string | null | undefined;
|
|
3032
3189
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
3033
3190
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
3034
3191
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
@@ -3036,6 +3193,7 @@ export default function useCanvas(): {
|
|
|
3036
3193
|
readonly can_download?: boolean | undefined;
|
|
3037
3194
|
readonly can_share?: boolean | undefined;
|
|
3038
3195
|
} | undefined;
|
|
3196
|
+
readonly tags?: readonly string[] | undefined;
|
|
3039
3197
|
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
3040
3198
|
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
3041
3199
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
@@ -3104,6 +3262,8 @@ export default function useCanvas(): {
|
|
|
3104
3262
|
readonly [x: string]: any;
|
|
3105
3263
|
} | undefined;
|
|
3106
3264
|
readonly tags?: readonly string[] | undefined;
|
|
3265
|
+
readonly transcript?: string | undefined;
|
|
3266
|
+
readonly search?: string | null | undefined;
|
|
3107
3267
|
readonly published_at?: string | null | undefined;
|
|
3108
3268
|
readonly expires_at?: string | null | undefined;
|
|
3109
3269
|
readonly instance_id?: string | undefined;
|
|
@@ -3138,6 +3298,7 @@ export default function useCanvas(): {
|
|
|
3138
3298
|
readonly font_family?: string | undefined;
|
|
3139
3299
|
readonly font_size?: number | undefined;
|
|
3140
3300
|
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
3301
|
+
readonly page_index?: number | undefined;
|
|
3141
3302
|
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
3142
3303
|
readonly target?: "_self" | "_blank" | undefined;
|
|
3143
3304
|
readonly url?: string | undefined;
|
|
@@ -3182,10 +3343,17 @@ export default function useCanvas(): {
|
|
|
3182
3343
|
} | undefined;
|
|
3183
3344
|
readonly tags?: readonly string[] | undefined;
|
|
3184
3345
|
readonly theme_meta?: {
|
|
3185
|
-
readonly bg_color_palette_index
|
|
3186
|
-
|
|
3187
|
-
readonly
|
|
3346
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
3347
|
+
} | {
|
|
3348
|
+
readonly dt_header_bg_palette_index?: number | undefined;
|
|
3349
|
+
readonly dt_group_header_bg_palette_index?: number | undefined;
|
|
3350
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
3351
|
+
} | {
|
|
3352
|
+
readonly is_theme_logo?: boolean | undefined;
|
|
3353
|
+
readonly theme_asset_index?: number | undefined;
|
|
3354
|
+
readonly bg_color_palette_index?: number | undefined;
|
|
3188
3355
|
} | undefined;
|
|
3356
|
+
readonly height?: string | undefined;
|
|
3189
3357
|
};
|
|
3190
3358
|
};
|
|
3191
3359
|
}>;
|
|
@@ -3194,7 +3362,6 @@ export default function useCanvas(): {
|
|
|
3194
3362
|
share: Ref<((canvasId: CanvasRetrieve["id"]) => Promise<import('../../../../types/openapi').SharedLink>) | undefined, ((canvasId: CanvasRetrieve["id"]) => Promise<import('../../../../types/openapi').SharedLink>) | undefined>;
|
|
3195
3363
|
singletonsInCanvasMap: import('vue').ComputedRef<Record<ComponentTypes, boolean>>;
|
|
3196
3364
|
startPage: Ref<number | undefined, number | undefined>;
|
|
3197
|
-
renderBuilder: Ref<boolean, boolean>;
|
|
3198
3365
|
visibleCollectionPlayerRefs: Ref<Set<Ref<{
|
|
3199
3366
|
isFullscreen: Ref<boolean>;
|
|
3200
3367
|
handleKeyAction: ActionCallback;
|
|
@@ -3236,6 +3403,7 @@ export default function useCanvas(): {
|
|
|
3236
3403
|
handleKeyAction: ActionCallback;
|
|
3237
3404
|
element: HTMLElement;
|
|
3238
3405
|
} | null>>, keyof Set<any>>)>;
|
|
3406
|
+
builderCache: Ref<Record<string, any>, Record<string, any>>;
|
|
3239
3407
|
initialize: (props: CanvasBuilderProps, launchDarkly: LaunchDarklyEnv) => void;
|
|
3240
3408
|
activateNavigationItem: (id: string, sectionId?: string, previewMode?: boolean) => void;
|
|
3241
3409
|
deactivateNavigationItem: (id: string, sectionId?: string, previewMode?: boolean) => void;
|
|
@@ -3263,7 +3431,7 @@ export default function useCanvas(): {
|
|
|
3263
3431
|
}) => void;
|
|
3264
3432
|
setCanvasMetadata: (metadata: CanvasMetadataRetrieve["config"] | null) => void;
|
|
3265
3433
|
setComponentEditMode: (type: false | ComponentTypes, id?: ComponentNode["id"] | null, usedInSectionId?: CanvasRetrieve["id"]) => void;
|
|
3266
|
-
setComponentSelectedMode: (id?: ComponentNode["id"]) => void;
|
|
3434
|
+
setComponentSelectedMode: (id?: ComponentNode["id"], navigatorItemIndex?: number) => void;
|
|
3267
3435
|
setComponentSettingsMode: (id?: ComponentNode["id"] | false) => void;
|
|
3268
3436
|
setInCall: (value?: boolean | undefined) => void;
|
|
3269
3437
|
setIsEditMode: (value: boolean) => void;
|
|
@@ -3280,5 +3448,12 @@ export default function useCanvas(): {
|
|
|
3280
3448
|
saveCanvasContext: typeof saveCanvasContext;
|
|
3281
3449
|
saveCanvasContentWithContext: typeof saveCanvasContentWithContext;
|
|
3282
3450
|
navigateToHome: () => Promise<boolean>;
|
|
3451
|
+
processCanvasNodesForDisplay: (nodes: ComponentNode[]) => ComponentNode[];
|
|
3452
|
+
updateMultimediaNodeWithThemeAsset: (nodeId: string, multimediaProps: MultimediaProps, directNodeUpdate?: {
|
|
3453
|
+
node: ComponentNode;
|
|
3454
|
+
section: CanvasRetrieve["sections"][number];
|
|
3455
|
+
}) => boolean;
|
|
3456
|
+
findNodeInSection: (sectionId: string, nodeId: string) => ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | 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> | null;
|
|
3457
|
+
updateNodeInSection: (sectionId: string, nodeId: string, newData: ComponentNode["data"]) => boolean;
|
|
3283
3458
|
};
|
|
3284
3459
|
export {};
|