@pitcher/js-api 1.23.0 → 1.24.0-beta.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.
Files changed (171) hide show
  1. package/js-api.esm.js +18 -0
  2. package/js-api.esm.js.map +1 -1
  3. package/js-api.umd.min.js +9 -9
  4. package/js-api.umd.min.js.map +1 -1
  5. package/lib/apps/agenda-selector/App.vue.d.ts +9 -0
  6. package/lib/apps/agenda-selector/components/AgendaGroup.vue.d.ts +7 -0
  7. package/lib/apps/agenda-selector/components/AgendaItem.vue.d.ts +29 -0
  8. package/lib/apps/agenda-selector/components/AgendaToolbar.vue.d.ts +2 -0
  9. package/lib/apps/agenda-selector/components/AppFooter.vue.d.ts +8 -0
  10. package/lib/apps/agenda-selector/components/AppHeader.vue.d.ts +6 -0
  11. package/lib/apps/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +8 -0
  12. package/lib/apps/agenda-selector/components/modals/MoveItemModal.vue.d.ts +15 -0
  13. package/lib/apps/agenda-selector/composables/application-block-selector-modal.use.d.ts +17 -0
  14. package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +128 -0
  15. package/lib/apps/agenda-selector/composables/table-input.use.d.ts +15 -0
  16. package/lib/apps/agenda-selector/stores/app.store.d.ts +32 -0
  17. package/lib/apps/agenda-selector/types/agenda.type.d.ts +28 -0
  18. package/lib/apps/agenda-selector/types/common.type.d.ts +8 -0
  19. package/lib/apps/agenda-selector/types/move-item-modal.type.d.ts +5 -0
  20. package/lib/apps/agenda-selector/utils/data.util.d.ts +14 -0
  21. package/lib/apps/agenda-selector/utils/theme-overrides.util.d.ts +8 -0
  22. package/lib/apps/browser/App.vue.d.ts +3 -1
  23. package/lib/apps/browser/components/UploadFilesDropzone/UploadFilesDropzone.vue.d.ts +5 -1
  24. package/lib/apps/browser/stores/api.d.ts +28 -6
  25. package/lib/apps/browser/stores/upload.d.ts +12 -12
  26. package/lib/apps/canvas-builder/App.vue.d.ts +56 -32
  27. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +9 -0
  28. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +10 -10
  29. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentLegacy.vue.d.ts +9 -0
  30. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +13 -0
  31. package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +23 -0
  32. package/lib/apps/canvas-builder/components/ui/Block/Block.helpers.d.ts +2 -0
  33. package/lib/apps/canvas-builder/components/ui/Block/Block.types.d.ts +7 -0
  34. package/lib/apps/canvas-builder/components/ui/{CollectionPlayer/CollectionSelector.vue.d.ts → Block/BlockToolbar.vue.d.ts} +6 -11
  35. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +4 -3
  36. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/{CollectionPlayer.edit.vue.d.ts → CollectionPlayerEmpty.vue.d.ts} +5 -5
  37. package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.raw.vue.d.ts +3 -1
  38. package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.vue.d.ts +4 -5
  39. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +34 -0
  40. package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +5 -0
  41. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.helpers.d.ts +6 -1
  42. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorSelected.vue.d.ts +2 -2
  43. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +519 -439
  44. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +117 -94
  45. package/lib/apps/canvas-builder/composables/useCanvasDnd.d.ts +1 -1
  46. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +104 -86
  47. package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +1 -1
  48. package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +1 -1
  49. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +38 -0
  50. package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +1 -1
  51. package/lib/apps/canvas-builder/composables/useCollectionSelector.d.ts +9 -0
  52. package/lib/apps/canvas-builder/composables/useComponentStyle.d.ts +22 -0
  53. package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +5 -14
  54. package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +28 -0
  55. package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -2
  56. package/lib/apps/canvas-builder/types/canvas.d.ts +22 -31
  57. package/lib/apps/canvas-builder/util/canvas.util.d.ts +6 -5
  58. package/lib/apps/canvas-builder/util/url.d.ts +1 -0
  59. package/lib/apps/canvas-selector/stores/app.d.ts +28 -0
  60. package/lib/apps/collection-player/App.vue.d.ts +33 -0
  61. package/lib/apps/collection-player/components/AppFooter.vue.d.ts +2 -0
  62. package/lib/apps/collection-player/components/AppHeader.vue.d.ts +2 -0
  63. package/lib/apps/collection-player/components/AppWrapper.vue.d.ts +17 -0
  64. package/lib/apps/collection-player/components/MainContent.vue.d.ts +2 -0
  65. package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/components/MainImage.vue.d.ts +3 -3
  66. package/lib/apps/collection-player/components/TableOfContents.vue.d.ts +2 -0
  67. package/lib/apps/collection-player/composables/focus-trap.use.d.ts +9 -0
  68. package/lib/apps/collection-player/composables/fullscreen.use.d.ts +10 -0
  69. package/lib/apps/{canvas-builder/components/ui/CollectionPlayer/composables/gestures.use.d.ts → collection-player/composables/moving-group-gestures.use.d.ts} +6 -3
  70. package/lib/apps/collection-player/composables/slide-direction.use.d.ts +11 -0
  71. package/lib/apps/collection-player/composables/tracking.use.d.ts +10 -0
  72. package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/zoom.use.d.ts +2 -2
  73. package/lib/apps/collection-player/export.d.ts +3 -0
  74. package/lib/apps/collection-player/stores/app.store.d.ts +77 -0
  75. package/lib/apps/collection-player/types/collection-player.type.d.ts +26 -0
  76. package/lib/apps/collection-player/utils/node.util.d.ts +4 -0
  77. package/lib/apps/collection-player/utils/slide-type.util.d.ts +5 -0
  78. package/lib/apps/collection-selector/App.vue.d.ts +29 -0
  79. package/lib/apps/collection-selector/components/AppFooter.vue.d.ts +8 -0
  80. package/lib/apps/collection-selector/components/AppHeader.vue.d.ts +6 -0
  81. package/lib/apps/collection-selector/components/CollectionGroup.vue.d.ts +7 -0
  82. package/lib/apps/collection-selector/components/CollectionItem.vue.d.ts +21 -0
  83. package/lib/apps/collection-selector/components/CollectionToolbar.vue.d.ts +2 -0
  84. package/lib/apps/{canvas-builder/components/ui/CollectionPlayer/CollectionGroupSelector.vue.d.ts → collection-selector/components/modals/MoveSlideModal.vue.d.ts} +7 -13
  85. package/lib/apps/collection-selector/composables/move-slide-modal.use.d.ts +106 -0
  86. package/lib/apps/collection-selector/composables/table-input.use.d.ts +15 -0
  87. package/lib/apps/collection-selector/stores/app.store.d.ts +156 -0
  88. package/lib/apps/collection-selector/types/collection-selector.type.d.ts +12 -0
  89. package/lib/apps/collection-selector/types/common.type.d.ts +18 -0
  90. package/lib/apps/collection-selector/types/move-slide-modal.type.d.ts +5 -0
  91. package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +41 -0
  92. package/lib/apps/collection-selector/utils/data.util.d.ts +23 -0
  93. package/lib/apps/collection-selector/utils/theme-overrides.util.d.ts +8 -0
  94. package/lib/apps/content-selector/appTypes.d.ts +7 -29
  95. package/lib/apps/content-selector/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +2 -0
  96. package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +6 -3
  97. package/lib/apps/content-selector/stores/api.d.ts +252 -0
  98. package/lib/apps/content-selector/stores/app.d.ts +42 -7
  99. package/lib/components/CBackgroundImageThemeOptions/CBackgroundImageThemeOptions.vue.d.ts +42 -0
  100. package/lib/components/CCanvasSelector/CCanvasSelector.vue.d.ts +3 -0
  101. package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +9 -2
  102. package/lib/components/CComponentThemeOptions/CComponentThemeOptions.vue.d.ts +55 -15
  103. package/lib/components/CDataTable/CDataTableEdit.use.d.ts +1 -1
  104. package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +5 -1
  105. package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -2
  106. package/lib/components/CIcon/CIcon.vue.d.ts +1 -0
  107. package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +1 -1
  108. package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +8 -0
  109. package/lib/components/CRichTextEditor/components/CContentLinkToolbar.vue.d.ts +8 -0
  110. package/lib/components/CRichTextEditor/components/CEditorMenu.vue.d.ts +8 -0
  111. package/lib/components/CRichTextEditor/extensions/contentLink.d.ts +9 -3
  112. package/lib/components/CSearch/CSearchOnClick.vue.d.ts +15 -1
  113. package/lib/components/CSearchFilters/CSearchFilters.types.d.ts +5 -0
  114. package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +22 -1
  115. package/lib/components/CSingleFileSelector/CSingleFileSelector.vue.d.ts +9 -3
  116. package/lib/components/CTable/CTable.vue.d.ts +2 -2
  117. package/lib/components/CTableColumnsSettings/CTableColumnsSettings.vue.d.ts +2 -2
  118. package/lib/components/CTableTag/CTableTag.vue.d.ts +1 -1
  119. package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +6 -6
  120. package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +39 -54
  121. package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +26 -35
  122. package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +32 -43
  123. package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +1 -0
  124. package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +25 -33
  125. package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +11 -6
  126. package/lib/components/sections/CSectionManagement.vue.d.ts +6 -6
  127. package/lib/composables/useConfirmation.d.ts +1 -0
  128. package/lib/composables/useToast.d.ts +6 -5
  129. package/lib/constants/appsDb.const.d.ts +2 -0
  130. package/lib/main.lib.d.ts +10 -0
  131. package/lib/sdk/api/modules/admin/types.admin.d.ts +20 -1
  132. package/lib/sdk/api/modules/ui/content.ui.d.ts +31 -1
  133. package/lib/sdk/api/modules/ui/index.d.ts +2 -0
  134. package/lib/sdk/api/modules/ui/types.ui.d.ts +29 -2
  135. package/lib/sdk/interfaces.d.ts +6 -0
  136. package/lib/sdk/main.d.ts +6 -0
  137. package/lib/types/app.d.ts +1 -1
  138. package/lib/types/background.d.ts +5 -0
  139. package/lib/types/common.d.ts +2 -0
  140. package/lib/types/instanceSettings.types.d.ts +2 -0
  141. package/lib/types/launchDarkly.types.d.ts +3 -1
  142. package/lib/types/organizationSettings.types.d.ts +1 -1
  143. package/lib/types/selections.d.ts +19 -0
  144. package/lib/util/eval.d.ts +1 -0
  145. package/package.json +1 -1
  146. package/types/openapi/index.d.ts +2 -0
  147. package/types/openapi/models/Canvas.d.ts +2 -0
  148. package/types/openapi/models/CanvasCreate.d.ts +2 -0
  149. package/types/openapi/models/CanvasRecommendedFile.d.ts +4 -0
  150. package/types/openapi/models/CanvasRetrieve.d.ts +2 -0
  151. package/types/openapi/models/CanvasUpdate.d.ts +2 -0
  152. package/types/openapi/models/DeletedCanvas.d.ts +2 -0
  153. package/types/openapi/models/DeletedFavorite.d.ts +2 -2
  154. package/types/openapi/models/DeletedFile.d.ts +4 -0
  155. package/types/openapi/models/Favorite.d.ts +2 -2
  156. package/types/openapi/models/FavoriteCreate.d.ts +2 -2
  157. package/types/openapi/models/FavoriteFolder.d.ts +6 -0
  158. package/types/openapi/models/FavoriteFolderRequest.d.ts +3 -0
  159. package/types/openapi/models/FavoriteUpdate.d.ts +2 -2
  160. package/types/openapi/models/File.d.ts +4 -0
  161. package/types/openapi/models/FileCreate.d.ts +4 -0
  162. package/types/openapi/models/FileRetrieve.d.ts +4 -0
  163. package/types/openapi/models/FileUpdate.d.ts +4 -0
  164. package/types/openapi/models/SearchCanvas.d.ts +1 -0
  165. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionListItem.vue.d.ts +0 -37
  166. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.raw.vue.d.ts +0 -19
  167. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/tracking.use.d.ts +0 -4
  168. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/utils/type.util.d.ts +0 -5
  169. package/lib/apps/canvas-builder/composables/useCollectionPlayer.d.ts +0 -31
  170. /package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/arrow-keys.use.d.ts +0 -0
  171. /package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/image-cache.use.d.ts +0 -0
@@ -19,6 +19,63 @@ declare const componentNodesById: import('vue').ComputedRef<{
19
19
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
20
20
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
21
21
  readonly data?: {
22
+ readonly groups: readonly {
23
+ readonly id: string;
24
+ readonly name: string;
25
+ readonly slides: readonly ({
26
+ readonly id: string;
27
+ readonly type: "slide";
28
+ readonly file: {
29
+ readonly metadata?: {
30
+ readonly [x: string]: any;
31
+ } | undefined;
32
+ readonly id: string;
33
+ readonly name?: string | undefined;
34
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
35
+ readonly thumbnail_url: string | null;
36
+ readonly permissions?: {
37
+ readonly can_download?: boolean | undefined;
38
+ readonly can_share?: boolean | undefined;
39
+ } | undefined;
40
+ readonly content_url: string | null;
41
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
42
+ readonly pspdfkit_auth_payload: {
43
+ readonly [x: string]: any;
44
+ } | null;
45
+ readonly pspdfkit_document_id: string | null;
46
+ readonly pspdfkit_server_url: string | null;
47
+ };
48
+ readonly slide: {
49
+ readonly index: number;
50
+ readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
51
+ };
52
+ } | {
53
+ readonly id: string;
54
+ readonly type: "file";
55
+ readonly file: {
56
+ readonly metadata?: {
57
+ readonly [x: string]: any;
58
+ } | undefined;
59
+ readonly id: string;
60
+ readonly name?: string | undefined;
61
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
62
+ readonly thumbnail_url: string | null;
63
+ readonly permissions?: {
64
+ readonly can_download?: boolean | undefined;
65
+ readonly can_share?: boolean | undefined;
66
+ } | undefined;
67
+ readonly content_url: string | null;
68
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
69
+ readonly pspdfkit_auth_payload: {
70
+ readonly [x: string]: any;
71
+ } | null;
72
+ readonly pspdfkit_document_id: string | null;
73
+ readonly pspdfkit_server_url: string | null;
74
+ };
75
+ })[];
76
+ }[];
77
+ readonly name: string;
78
+ } | {
22
79
  readonly layout_type: import('../types/canvas').GridLayoutTypes;
23
80
  readonly columns: number;
24
81
  } | {
@@ -86,6 +143,9 @@ declare const componentNodesById: import('vue').ComputedRef<{
86
143
  readonly canvas_section_execution?: {
87
144
  readonly start_in_loading_mode?: boolean | undefined;
88
145
  } | undefined;
146
+ readonly canvas_drawer?: {
147
+ readonly start_in_loading_mode?: boolean | undefined;
148
+ } | undefined;
89
149
  } | undefined;
90
150
  readonly file: {
91
151
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -211,10 +271,16 @@ declare const componentNodesById: import('vue').ComputedRef<{
211
271
  readonly expires_at?: (string | null) | undefined;
212
272
  readonly instance_id?: string | undefined;
213
273
  readonly folder_id?: string | undefined;
274
+ readonly folder?: {
275
+ readonly id: string;
276
+ readonly name: string;
277
+ } | undefined;
214
278
  readonly shared_link?: {
215
279
  readonly url: string;
216
280
  readonly short_url?: (string | null) | undefined;
217
281
  } | undefined;
282
+ readonly search_rank?: string | undefined;
283
+ readonly search_headline?: string | undefined;
218
284
  readonly owned_by?: {
219
285
  readonly id: number;
220
286
  readonly name: string;
@@ -270,63 +336,6 @@ declare const componentNodesById: import('vue').ComputedRef<{
270
336
  } | undefined;
271
337
  }[];
272
338
  readonly layout: "vertical" | "horizontal";
273
- } | {
274
- readonly groups: readonly {
275
- readonly id: string;
276
- readonly name: string;
277
- readonly slides: readonly ({
278
- readonly id: string;
279
- readonly type: "slide";
280
- readonly file: {
281
- readonly metadata?: {
282
- readonly [x: string]: any;
283
- } | undefined;
284
- readonly id: string;
285
- readonly name?: string | undefined;
286
- readonly type: import('../../../../types/openapi').FileTypeEnum;
287
- readonly content_url: string | null;
288
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
289
- readonly thumbnail_url: string | null;
290
- readonly permissions?: {
291
- readonly can_download?: boolean | undefined;
292
- readonly can_share?: boolean | undefined;
293
- } | undefined;
294
- readonly pspdfkit_server_url: string | null;
295
- readonly pspdfkit_auth_payload: {
296
- readonly [x: string]: any;
297
- } | null;
298
- readonly pspdfkit_document_id: string | null;
299
- };
300
- readonly slide: {
301
- readonly index: number;
302
- readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
303
- };
304
- } | {
305
- readonly id: string;
306
- readonly type: "file";
307
- readonly file: {
308
- readonly metadata?: {
309
- readonly [x: string]: any;
310
- } | undefined;
311
- readonly id: string;
312
- readonly name?: string | undefined;
313
- readonly type: import('../../../../types/openapi').FileTypeEnum;
314
- readonly content_url: string | null;
315
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
316
- readonly thumbnail_url: string | null;
317
- readonly permissions?: {
318
- readonly can_download?: boolean | undefined;
319
- readonly can_share?: boolean | undefined;
320
- } | undefined;
321
- readonly pspdfkit_server_url: string | null;
322
- readonly pspdfkit_auth_payload: {
323
- readonly [x: string]: any;
324
- } | null;
325
- readonly pspdfkit_document_id: string | null;
326
- };
327
- })[];
328
- }[];
329
- readonly name: string;
330
339
  } | undefined;
331
340
  readonly children?: readonly any[] | undefined;
332
341
  readonly when_used_in_section?: {
@@ -356,6 +365,63 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
356
365
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
357
366
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
358
367
  readonly data?: {
368
+ readonly groups: readonly {
369
+ readonly id: string;
370
+ readonly name: string;
371
+ readonly slides: readonly ({
372
+ readonly id: string;
373
+ readonly type: "slide";
374
+ readonly file: {
375
+ readonly metadata?: {
376
+ readonly [x: string]: any;
377
+ } | undefined;
378
+ readonly id: string;
379
+ readonly name?: string | undefined;
380
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
381
+ readonly thumbnail_url: string | null;
382
+ readonly permissions?: {
383
+ readonly can_download?: boolean | undefined;
384
+ readonly can_share?: boolean | undefined;
385
+ } | undefined;
386
+ readonly content_url: string | null;
387
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
388
+ readonly pspdfkit_auth_payload: {
389
+ readonly [x: string]: any;
390
+ } | null;
391
+ readonly pspdfkit_document_id: string | null;
392
+ readonly pspdfkit_server_url: string | null;
393
+ };
394
+ readonly slide: {
395
+ readonly index: number;
396
+ readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
397
+ };
398
+ } | {
399
+ readonly id: string;
400
+ readonly type: "file";
401
+ readonly file: {
402
+ readonly metadata?: {
403
+ readonly [x: string]: any;
404
+ } | undefined;
405
+ readonly id: string;
406
+ readonly name?: string | undefined;
407
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
408
+ readonly thumbnail_url: string | null;
409
+ readonly permissions?: {
410
+ readonly can_download?: boolean | undefined;
411
+ readonly can_share?: boolean | undefined;
412
+ } | undefined;
413
+ readonly content_url: string | null;
414
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
415
+ readonly pspdfkit_auth_payload: {
416
+ readonly [x: string]: any;
417
+ } | null;
418
+ readonly pspdfkit_document_id: string | null;
419
+ readonly pspdfkit_server_url: string | null;
420
+ };
421
+ })[];
422
+ }[];
423
+ readonly name: string;
424
+ } | {
359
425
  readonly layout_type: import('../types/canvas').GridLayoutTypes;
360
426
  readonly columns: number;
361
427
  } | {
@@ -423,6 +489,9 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
423
489
  readonly canvas_section_execution?: {
424
490
  readonly start_in_loading_mode?: boolean | undefined;
425
491
  } | undefined;
492
+ readonly canvas_drawer?: {
493
+ readonly start_in_loading_mode?: boolean | undefined;
494
+ } | undefined;
426
495
  } | undefined;
427
496
  readonly file: {
428
497
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -548,10 +617,16 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
548
617
  readonly expires_at?: (string | null) | undefined;
549
618
  readonly instance_id?: string | undefined;
550
619
  readonly folder_id?: string | undefined;
620
+ readonly folder?: {
621
+ readonly id: string;
622
+ readonly name: string;
623
+ } | undefined;
551
624
  readonly shared_link?: {
552
625
  readonly url: string;
553
626
  readonly short_url?: (string | null) | undefined;
554
627
  } | undefined;
628
+ readonly search_rank?: string | undefined;
629
+ readonly search_headline?: string | undefined;
555
630
  readonly owned_by?: {
556
631
  readonly id: number;
557
632
  readonly name: string;
@@ -607,63 +682,6 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
607
682
  } | undefined;
608
683
  }[];
609
684
  readonly layout: "vertical" | "horizontal";
610
- } | {
611
- readonly groups: readonly {
612
- readonly id: string;
613
- readonly name: string;
614
- readonly slides: readonly ({
615
- readonly id: string;
616
- readonly type: "slide";
617
- readonly file: {
618
- readonly metadata?: {
619
- readonly [x: string]: any;
620
- } | undefined;
621
- readonly id: string;
622
- readonly name?: string | undefined;
623
- readonly type: import('../../../../types/openapi').FileTypeEnum;
624
- readonly content_url: string | null;
625
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
626
- readonly thumbnail_url: string | null;
627
- readonly permissions?: {
628
- readonly can_download?: boolean | undefined;
629
- readonly can_share?: boolean | undefined;
630
- } | undefined;
631
- readonly pspdfkit_server_url: string | null;
632
- readonly pspdfkit_auth_payload: {
633
- readonly [x: string]: any;
634
- } | null;
635
- readonly pspdfkit_document_id: string | null;
636
- };
637
- readonly slide: {
638
- readonly index: number;
639
- readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
640
- };
641
- } | {
642
- readonly id: string;
643
- readonly type: "file";
644
- readonly file: {
645
- readonly metadata?: {
646
- readonly [x: string]: any;
647
- } | undefined;
648
- readonly id: string;
649
- readonly name?: string | undefined;
650
- readonly type: import('../../../../types/openapi').FileTypeEnum;
651
- readonly content_url: string | null;
652
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
653
- readonly thumbnail_url: string | null;
654
- readonly permissions?: {
655
- readonly can_download?: boolean | undefined;
656
- readonly can_share?: boolean | undefined;
657
- } | undefined;
658
- readonly pspdfkit_server_url: string | null;
659
- readonly pspdfkit_auth_payload: {
660
- readonly [x: string]: any;
661
- } | null;
662
- readonly pspdfkit_document_id: string | null;
663
- };
664
- })[];
665
- }[];
666
- readonly name: string;
667
685
  } | undefined;
668
686
  readonly children?: readonly any[] | undefined;
669
687
  readonly when_used_in_section?: {
@@ -682,6 +700,9 @@ declare function enterFullscreen(): void;
682
700
  declare function saveCanvasContent({ showToast }?: {
683
701
  showToast: boolean;
684
702
  }): Promise<void>;
703
+ declare function saveCanvasContext(context: any, { showToast }: {
704
+ showToast?: boolean;
705
+ }): Promise<undefined>;
685
706
  export default function useCanvas(): {
686
707
  activeCanvas: Ref<{
687
708
  readonly id: string;
@@ -727,6 +748,8 @@ export default function useCanvas(): {
727
748
  subject: string;
728
749
  }[];
729
750
  folder_id?: (string | null) | undefined;
751
+ readonly search_rank: string;
752
+ readonly search_headline: string;
730
753
  readonly owned_by: {
731
754
  readonly id: number;
732
755
  readonly name: string;
@@ -788,6 +811,8 @@ export default function useCanvas(): {
788
811
  subject: string;
789
812
  }[];
790
813
  folder_id?: (string | null) | undefined;
814
+ readonly search_rank: string;
815
+ readonly search_headline: string;
791
816
  readonly owned_by: {
792
817
  readonly id: number;
793
818
  readonly name: string;
@@ -827,6 +852,63 @@ export default function useCanvas(): {
827
852
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
828
853
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
829
854
  readonly data?: {
855
+ readonly groups: readonly {
856
+ readonly id: string;
857
+ readonly name: string;
858
+ readonly slides: readonly ({
859
+ readonly id: string;
860
+ readonly type: "slide";
861
+ readonly file: {
862
+ readonly metadata?: {
863
+ readonly [x: string]: any;
864
+ } | undefined;
865
+ readonly id: string;
866
+ readonly name?: string | undefined;
867
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
868
+ readonly thumbnail_url: string | null;
869
+ readonly permissions?: {
870
+ readonly can_download?: boolean | undefined;
871
+ readonly can_share?: boolean | undefined;
872
+ } | undefined;
873
+ readonly content_url: string | null;
874
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
875
+ readonly pspdfkit_auth_payload: {
876
+ readonly [x: string]: any;
877
+ } | null;
878
+ readonly pspdfkit_document_id: string | null;
879
+ readonly pspdfkit_server_url: string | null;
880
+ };
881
+ readonly slide: {
882
+ readonly index: number;
883
+ readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
884
+ };
885
+ } | {
886
+ readonly id: string;
887
+ readonly type: "file";
888
+ readonly file: {
889
+ readonly metadata?: {
890
+ readonly [x: string]: any;
891
+ } | undefined;
892
+ readonly id: string;
893
+ readonly name?: string | undefined;
894
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
895
+ readonly thumbnail_url: string | null;
896
+ readonly permissions?: {
897
+ readonly can_download?: boolean | undefined;
898
+ readonly can_share?: boolean | undefined;
899
+ } | undefined;
900
+ readonly content_url: string | null;
901
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
902
+ readonly pspdfkit_auth_payload: {
903
+ readonly [x: string]: any;
904
+ } | null;
905
+ readonly pspdfkit_document_id: string | null;
906
+ readonly pspdfkit_server_url: string | null;
907
+ };
908
+ })[];
909
+ }[];
910
+ readonly name: string;
911
+ } | {
830
912
  readonly layout_type: import('../types/canvas').GridLayoutTypes;
831
913
  readonly columns: number;
832
914
  } | {
@@ -894,6 +976,9 @@ export default function useCanvas(): {
894
976
  readonly canvas_section_execution?: {
895
977
  readonly start_in_loading_mode?: boolean | undefined;
896
978
  } | undefined;
979
+ readonly canvas_drawer?: {
980
+ readonly start_in_loading_mode?: boolean | undefined;
981
+ } | undefined;
897
982
  } | undefined;
898
983
  readonly file: {
899
984
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -1019,10 +1104,16 @@ export default function useCanvas(): {
1019
1104
  readonly expires_at?: (string | null) | undefined;
1020
1105
  readonly instance_id?: string | undefined;
1021
1106
  readonly folder_id?: string | undefined;
1107
+ readonly folder?: {
1108
+ readonly id: string;
1109
+ readonly name: string;
1110
+ } | undefined;
1022
1111
  readonly shared_link?: {
1023
1112
  readonly url: string;
1024
1113
  readonly short_url?: (string | null) | undefined;
1025
1114
  } | undefined;
1115
+ readonly search_rank?: string | undefined;
1116
+ readonly search_headline?: string | undefined;
1026
1117
  readonly owned_by?: {
1027
1118
  readonly id: number;
1028
1119
  readonly name: string;
@@ -1078,63 +1169,6 @@ export default function useCanvas(): {
1078
1169
  } | undefined;
1079
1170
  }[];
1080
1171
  readonly layout: "vertical" | "horizontal";
1081
- } | {
1082
- readonly groups: readonly {
1083
- readonly id: string;
1084
- readonly name: string;
1085
- readonly slides: readonly ({
1086
- readonly id: string;
1087
- readonly type: "slide";
1088
- readonly file: {
1089
- readonly metadata?: {
1090
- readonly [x: string]: any;
1091
- } | undefined;
1092
- readonly id: string;
1093
- readonly name?: string | undefined;
1094
- readonly type: import('../../../../types/openapi').FileTypeEnum;
1095
- readonly content_url: string | null;
1096
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1097
- readonly thumbnail_url: string | null;
1098
- readonly permissions?: {
1099
- readonly can_download?: boolean | undefined;
1100
- readonly can_share?: boolean | undefined;
1101
- } | undefined;
1102
- readonly pspdfkit_server_url: string | null;
1103
- readonly pspdfkit_auth_payload: {
1104
- readonly [x: string]: any;
1105
- } | null;
1106
- readonly pspdfkit_document_id: string | null;
1107
- };
1108
- readonly slide: {
1109
- readonly index: number;
1110
- readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
1111
- };
1112
- } | {
1113
- readonly id: string;
1114
- readonly type: "file";
1115
- readonly file: {
1116
- readonly metadata?: {
1117
- readonly [x: string]: any;
1118
- } | undefined;
1119
- readonly id: string;
1120
- readonly name?: string | undefined;
1121
- readonly type: import('../../../../types/openapi').FileTypeEnum;
1122
- readonly content_url: string | null;
1123
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1124
- readonly thumbnail_url: string | null;
1125
- readonly permissions?: {
1126
- readonly can_download?: boolean | undefined;
1127
- readonly can_share?: boolean | undefined;
1128
- } | undefined;
1129
- readonly pspdfkit_server_url: string | null;
1130
- readonly pspdfkit_auth_payload: {
1131
- readonly [x: string]: any;
1132
- } | null;
1133
- readonly pspdfkit_document_id: string | null;
1134
- };
1135
- })[];
1136
- }[];
1137
- readonly name: string;
1138
1172
  } | undefined;
1139
1173
  readonly children?: readonly any[] | undefined;
1140
1174
  readonly when_used_in_section?: {
@@ -1173,6 +1207,63 @@ export default function useCanvas(): {
1173
1207
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
1174
1208
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
1175
1209
  readonly data?: {
1210
+ readonly groups: readonly {
1211
+ readonly id: string;
1212
+ readonly name: string;
1213
+ readonly slides: readonly ({
1214
+ readonly id: string;
1215
+ readonly type: "slide";
1216
+ readonly file: {
1217
+ readonly metadata?: {
1218
+ readonly [x: string]: any;
1219
+ } | undefined;
1220
+ readonly id: string;
1221
+ readonly name?: string | undefined;
1222
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1223
+ readonly thumbnail_url: string | null;
1224
+ readonly permissions?: {
1225
+ readonly can_download?: boolean | undefined;
1226
+ readonly can_share?: boolean | undefined;
1227
+ } | undefined;
1228
+ readonly content_url: string | null;
1229
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1230
+ readonly pspdfkit_auth_payload: {
1231
+ readonly [x: string]: any;
1232
+ } | null;
1233
+ readonly pspdfkit_document_id: string | null;
1234
+ readonly pspdfkit_server_url: string | null;
1235
+ };
1236
+ readonly slide: {
1237
+ readonly index: number;
1238
+ readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
1239
+ };
1240
+ } | {
1241
+ readonly id: string;
1242
+ readonly type: "file";
1243
+ readonly file: {
1244
+ readonly metadata?: {
1245
+ readonly [x: string]: any;
1246
+ } | undefined;
1247
+ readonly id: string;
1248
+ readonly name?: string | undefined;
1249
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1250
+ readonly thumbnail_url: string | null;
1251
+ readonly permissions?: {
1252
+ readonly can_download?: boolean | undefined;
1253
+ readonly can_share?: boolean | undefined;
1254
+ } | undefined;
1255
+ readonly content_url: string | null;
1256
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1257
+ readonly pspdfkit_auth_payload: {
1258
+ readonly [x: string]: any;
1259
+ } | null;
1260
+ readonly pspdfkit_document_id: string | null;
1261
+ readonly pspdfkit_server_url: string | null;
1262
+ };
1263
+ })[];
1264
+ }[];
1265
+ readonly name: string;
1266
+ } | {
1176
1267
  readonly layout_type: import('../types/canvas').GridLayoutTypes;
1177
1268
  readonly columns: number;
1178
1269
  } | {
@@ -1240,6 +1331,9 @@ export default function useCanvas(): {
1240
1331
  readonly canvas_section_execution?: {
1241
1332
  readonly start_in_loading_mode?: boolean | undefined;
1242
1333
  } | undefined;
1334
+ readonly canvas_drawer?: {
1335
+ readonly start_in_loading_mode?: boolean | undefined;
1336
+ } | undefined;
1243
1337
  } | undefined;
1244
1338
  readonly file: {
1245
1339
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -1365,10 +1459,16 @@ export default function useCanvas(): {
1365
1459
  readonly expires_at?: (string | null) | undefined;
1366
1460
  readonly instance_id?: string | undefined;
1367
1461
  readonly folder_id?: string | undefined;
1462
+ readonly folder?: {
1463
+ readonly id: string;
1464
+ readonly name: string;
1465
+ } | undefined;
1368
1466
  readonly shared_link?: {
1369
1467
  readonly url: string;
1370
1468
  readonly short_url?: (string | null) | undefined;
1371
1469
  } | undefined;
1470
+ readonly search_rank?: string | undefined;
1471
+ readonly search_headline?: string | undefined;
1372
1472
  readonly owned_by?: {
1373
1473
  readonly id: number;
1374
1474
  readonly name: string;
@@ -1424,63 +1524,6 @@ export default function useCanvas(): {
1424
1524
  } | undefined;
1425
1525
  }[];
1426
1526
  readonly layout: "vertical" | "horizontal";
1427
- } | {
1428
- readonly groups: readonly {
1429
- readonly id: string;
1430
- readonly name: string;
1431
- readonly slides: readonly ({
1432
- readonly id: string;
1433
- readonly type: "slide";
1434
- readonly file: {
1435
- readonly metadata?: {
1436
- readonly [x: string]: any;
1437
- } | undefined;
1438
- readonly id: string;
1439
- readonly name?: string | undefined;
1440
- readonly type: import('../../../../types/openapi').FileTypeEnum;
1441
- readonly content_url: string | null;
1442
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1443
- readonly thumbnail_url: string | null;
1444
- readonly permissions?: {
1445
- readonly can_download?: boolean | undefined;
1446
- readonly can_share?: boolean | undefined;
1447
- } | undefined;
1448
- readonly pspdfkit_server_url: string | null;
1449
- readonly pspdfkit_auth_payload: {
1450
- readonly [x: string]: any;
1451
- } | null;
1452
- readonly pspdfkit_document_id: string | null;
1453
- };
1454
- readonly slide: {
1455
- readonly index: number;
1456
- readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
1457
- };
1458
- } | {
1459
- readonly id: string;
1460
- readonly type: "file";
1461
- readonly file: {
1462
- readonly metadata?: {
1463
- readonly [x: string]: any;
1464
- } | undefined;
1465
- readonly id: string;
1466
- readonly name?: string | undefined;
1467
- readonly type: import('../../../../types/openapi').FileTypeEnum;
1468
- readonly content_url: string | null;
1469
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1470
- readonly thumbnail_url: string | null;
1471
- readonly permissions?: {
1472
- readonly can_download?: boolean | undefined;
1473
- readonly can_share?: boolean | undefined;
1474
- } | undefined;
1475
- readonly pspdfkit_server_url: string | null;
1476
- readonly pspdfkit_auth_payload: {
1477
- readonly [x: string]: any;
1478
- } | null;
1479
- readonly pspdfkit_document_id: string | null;
1480
- };
1481
- })[];
1482
- }[];
1483
- readonly name: string;
1484
1527
  } | undefined;
1485
1528
  readonly children?: readonly any[] | undefined;
1486
1529
  readonly when_used_in_section?: {
@@ -1519,6 +1562,55 @@ export default function useCanvas(): {
1519
1562
  autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
1520
1563
  autofill_content_types?: (import('../../../../types/openapi').FileContentTypeEnum[] | null) | undefined;
1521
1564
  data?: import('../types/canvas').PageBreakProps | {
1565
+ groups: {
1566
+ id: string;
1567
+ name: string;
1568
+ slides: ({
1569
+ id: string;
1570
+ type: "slide";
1571
+ file: {
1572
+ metadata?: Record<string, any> | undefined;
1573
+ readonly id: string;
1574
+ name?: string | undefined;
1575
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1576
+ readonly thumbnail_url: string | null;
1577
+ permissions?: {
1578
+ can_download?: boolean | undefined;
1579
+ can_share?: boolean | undefined;
1580
+ } | undefined;
1581
+ readonly content_url: string | null;
1582
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1583
+ readonly pspdfkit_auth_payload: Record<string, any> | null;
1584
+ readonly pspdfkit_document_id: string | null;
1585
+ readonly pspdfkit_server_url: string | null;
1586
+ };
1587
+ slide: {
1588
+ index: number;
1589
+ url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
1590
+ };
1591
+ } | {
1592
+ id: string;
1593
+ type: "file";
1594
+ file: {
1595
+ metadata?: Record<string, any> | undefined;
1596
+ readonly id: string;
1597
+ name?: string | undefined;
1598
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1599
+ readonly thumbnail_url: string | null;
1600
+ permissions?: {
1601
+ can_download?: boolean | undefined;
1602
+ can_share?: boolean | undefined;
1603
+ } | undefined;
1604
+ readonly content_url: string | null;
1605
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1606
+ readonly pspdfkit_auth_payload: Record<string, any> | null;
1607
+ readonly pspdfkit_document_id: string | null;
1608
+ readonly pspdfkit_server_url: string | null;
1609
+ };
1610
+ })[];
1611
+ }[];
1612
+ name: string;
1613
+ } | {
1522
1614
  layout_type: import('../types/canvas').GridLayoutTypes;
1523
1615
  columns: number;
1524
1616
  } | {
@@ -1582,6 +1674,9 @@ export default function useCanvas(): {
1582
1674
  canvas_section_execution?: {
1583
1675
  start_in_loading_mode?: boolean | undefined;
1584
1676
  } | undefined;
1677
+ canvas_drawer?: {
1678
+ start_in_loading_mode?: boolean | undefined;
1679
+ } | undefined;
1585
1680
  } | undefined;
1586
1681
  file: {
1587
1682
  id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -1695,10 +1790,16 @@ export default function useCanvas(): {
1695
1790
  expires_at?: (string | null) | undefined;
1696
1791
  readonly instance_id?: string | undefined;
1697
1792
  folder_id?: string | undefined;
1793
+ readonly folder?: {
1794
+ readonly id: string;
1795
+ name: string;
1796
+ } | undefined;
1698
1797
  readonly shared_link?: {
1699
1798
  readonly url: string;
1700
1799
  short_url?: (string | null) | undefined;
1701
1800
  } | undefined;
1801
+ readonly search_rank?: string | undefined;
1802
+ readonly search_headline?: string | undefined;
1702
1803
  readonly owned_by?: {
1703
1804
  readonly id: number;
1704
1805
  readonly name: string;
@@ -1742,7 +1843,28 @@ export default function useCanvas(): {
1742
1843
  card_style?: Record<string, any> | undefined;
1743
1844
  }[];
1744
1845
  layout: "vertical" | "horizontal";
1745
- } | {
1846
+ } | undefined;
1847
+ children?: any[] | undefined;
1848
+ when_used_in_section?: {
1849
+ is_editable: boolean;
1850
+ is_removable: boolean;
1851
+ } | undefined;
1852
+ style?: Record<string, any> | undefined;
1853
+ tags?: string[] | undefined;
1854
+ }[], ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[] | {
1855
+ id: string;
1856
+ type: ComponentTypes;
1857
+ tracking_id: string;
1858
+ visible?: {
1859
+ edit_mode: boolean;
1860
+ presentation_mode: boolean;
1861
+ pdf: boolean;
1862
+ web: boolean;
1863
+ } | undefined;
1864
+ allow_admins_to_overwrite?: boolean | undefined;
1865
+ autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
1866
+ autofill_content_types?: (import('../../../../types/openapi').FileContentTypeEnum[] | null) | undefined;
1867
+ data?: import('../types/canvas').PageBreakProps | {
1746
1868
  groups: {
1747
1869
  id: string;
1748
1870
  name: string;
@@ -1754,16 +1876,16 @@ export default function useCanvas(): {
1754
1876
  readonly id: string;
1755
1877
  name?: string | undefined;
1756
1878
  readonly type: import('../../../../types/openapi').FileTypeEnum;
1757
- readonly content_url: string | null;
1758
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1759
1879
  readonly thumbnail_url: string | null;
1760
1880
  permissions?: {
1761
1881
  can_download?: boolean | undefined;
1762
1882
  can_share?: boolean | undefined;
1763
1883
  } | undefined;
1764
- readonly pspdfkit_server_url: string | null;
1884
+ readonly content_url: string | null;
1885
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1765
1886
  readonly pspdfkit_auth_payload: Record<string, any> | null;
1766
1887
  readonly pspdfkit_document_id: string | null;
1888
+ readonly pspdfkit_server_url: string | null;
1767
1889
  };
1768
1890
  slide: {
1769
1891
  index: number;
@@ -1777,42 +1899,21 @@ export default function useCanvas(): {
1777
1899
  readonly id: string;
1778
1900
  name?: string | undefined;
1779
1901
  readonly type: import('../../../../types/openapi').FileTypeEnum;
1780
- readonly content_url: string | null;
1781
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1782
1902
  readonly thumbnail_url: string | null;
1783
1903
  permissions?: {
1784
1904
  can_download?: boolean | undefined;
1785
1905
  can_share?: boolean | undefined;
1786
1906
  } | undefined;
1787
- readonly pspdfkit_server_url: string | null;
1907
+ readonly content_url: string | null;
1908
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1788
1909
  readonly pspdfkit_auth_payload: Record<string, any> | null;
1789
1910
  readonly pspdfkit_document_id: string | null;
1911
+ readonly pspdfkit_server_url: string | null;
1790
1912
  };
1791
1913
  })[];
1792
1914
  }[];
1793
1915
  name: string;
1794
- } | undefined;
1795
- children?: any[] | undefined;
1796
- when_used_in_section?: {
1797
- is_editable: boolean;
1798
- is_removable: boolean;
1799
- } | undefined;
1800
- style?: Record<string, any> | undefined;
1801
- tags?: string[] | undefined;
1802
- }[], ComponentNode<import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').CollectionPlayerProps>[] | {
1803
- id: string;
1804
- type: ComponentTypes;
1805
- tracking_id: string;
1806
- visible?: {
1807
- edit_mode: boolean;
1808
- presentation_mode: boolean;
1809
- pdf: boolean;
1810
- web: boolean;
1811
- } | undefined;
1812
- allow_admins_to_overwrite?: boolean | undefined;
1813
- autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
1814
- autofill_content_types?: (import('../../../../types/openapi').FileContentTypeEnum[] | null) | undefined;
1815
- data?: import('../types/canvas').PageBreakProps | {
1916
+ } | {
1816
1917
  layout_type: import('../types/canvas').GridLayoutTypes;
1817
1918
  columns: number;
1818
1919
  } | {
@@ -1876,6 +1977,9 @@ export default function useCanvas(): {
1876
1977
  canvas_section_execution?: {
1877
1978
  start_in_loading_mode?: boolean | undefined;
1878
1979
  } | undefined;
1980
+ canvas_drawer?: {
1981
+ start_in_loading_mode?: boolean | undefined;
1982
+ } | undefined;
1879
1983
  } | undefined;
1880
1984
  file: {
1881
1985
  id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -1989,10 +2093,16 @@ export default function useCanvas(): {
1989
2093
  expires_at?: (string | null) | undefined;
1990
2094
  readonly instance_id?: string | undefined;
1991
2095
  folder_id?: string | undefined;
2096
+ readonly folder?: {
2097
+ readonly id: string;
2098
+ name: string;
2099
+ } | undefined;
1992
2100
  readonly shared_link?: {
1993
2101
  readonly url: string;
1994
2102
  short_url?: (string | null) | undefined;
1995
2103
  } | undefined;
2104
+ readonly search_rank?: string | undefined;
2105
+ readonly search_headline?: string | undefined;
1996
2106
  readonly owned_by?: {
1997
2107
  readonly id: number;
1998
2108
  readonly name: string;
@@ -2018,73 +2128,24 @@ export default function useCanvas(): {
2018
2128
  preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
2019
2129
  target?: ("_self" | "_blank") | undefined;
2020
2130
  url?: string | undefined;
2021
- } | {
2022
- aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
2023
- background_video_url?: string | undefined;
2024
- } | {
2025
- events: {
2026
- top_hint?: string | undefined;
2027
- top_hint_style?: Record<string, any> | undefined;
2028
- title?: string | undefined;
2029
- title_style?: Record<string, any> | undefined;
2030
- description?: string | undefined;
2031
- description_style?: Record<string, any> | undefined;
2032
- image_url?: string | undefined;
2033
- image_style?: Record<string, any> | undefined;
2034
- icon?: string | undefined;
2035
- icon_style?: Record<string, any> | undefined;
2036
- card_style?: Record<string, any> | undefined;
2037
- }[];
2038
- layout: "vertical" | "horizontal";
2039
- } | {
2040
- groups: {
2041
- id: string;
2042
- name: string;
2043
- slides: ({
2044
- id: string;
2045
- type: "slide";
2046
- file: {
2047
- metadata?: Record<string, any> | undefined;
2048
- readonly id: string;
2049
- name?: string | undefined;
2050
- readonly type: import('../../../../types/openapi').FileTypeEnum;
2051
- readonly content_url: string | null;
2052
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2053
- readonly thumbnail_url: string | null;
2054
- permissions?: {
2055
- can_download?: boolean | undefined;
2056
- can_share?: boolean | undefined;
2057
- } | undefined;
2058
- readonly pspdfkit_server_url: string | null;
2059
- readonly pspdfkit_auth_payload: Record<string, any> | null;
2060
- readonly pspdfkit_document_id: string | null;
2061
- };
2062
- slide: {
2063
- index: number;
2064
- url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
2065
- };
2066
- } | {
2067
- id: string;
2068
- type: "file";
2069
- file: {
2070
- metadata?: Record<string, any> | undefined;
2071
- readonly id: string;
2072
- name?: string | undefined;
2073
- readonly type: import('../../../../types/openapi').FileTypeEnum;
2074
- readonly content_url: string | null;
2075
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2076
- readonly thumbnail_url: string | null;
2077
- permissions?: {
2078
- can_download?: boolean | undefined;
2079
- can_share?: boolean | undefined;
2080
- } | undefined;
2081
- readonly pspdfkit_server_url: string | null;
2082
- readonly pspdfkit_auth_payload: Record<string, any> | null;
2083
- readonly pspdfkit_document_id: string | null;
2084
- };
2085
- })[];
2131
+ } | {
2132
+ aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
2133
+ background_video_url?: string | undefined;
2134
+ } | {
2135
+ events: {
2136
+ top_hint?: string | undefined;
2137
+ top_hint_style?: Record<string, any> | undefined;
2138
+ title?: string | undefined;
2139
+ title_style?: Record<string, any> | undefined;
2140
+ description?: string | undefined;
2141
+ description_style?: Record<string, any> | undefined;
2142
+ image_url?: string | undefined;
2143
+ image_style?: Record<string, any> | undefined;
2144
+ icon?: string | undefined;
2145
+ icon_style?: Record<string, any> | undefined;
2146
+ card_style?: Record<string, any> | undefined;
2086
2147
  }[];
2087
- name: string;
2148
+ layout: "vertical" | "horizontal";
2088
2149
  } | undefined;
2089
2150
  children?: any[] | undefined;
2090
2151
  when_used_in_section?: {
@@ -2125,6 +2186,63 @@ export default function useCanvas(): {
2125
2186
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
2126
2187
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
2127
2188
  readonly data?: {
2189
+ readonly groups: readonly {
2190
+ readonly id: string;
2191
+ readonly name: string;
2192
+ readonly slides: readonly ({
2193
+ readonly id: string;
2194
+ readonly type: "slide";
2195
+ readonly file: {
2196
+ readonly metadata?: {
2197
+ readonly [x: string]: any;
2198
+ } | undefined;
2199
+ readonly id: string;
2200
+ readonly name?: string | undefined;
2201
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
2202
+ readonly thumbnail_url: string | null;
2203
+ readonly permissions?: {
2204
+ readonly can_download?: boolean | undefined;
2205
+ readonly can_share?: boolean | undefined;
2206
+ } | undefined;
2207
+ readonly content_url: string | null;
2208
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2209
+ readonly pspdfkit_auth_payload: {
2210
+ readonly [x: string]: any;
2211
+ } | null;
2212
+ readonly pspdfkit_document_id: string | null;
2213
+ readonly pspdfkit_server_url: string | null;
2214
+ };
2215
+ readonly slide: {
2216
+ readonly index: number;
2217
+ readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
2218
+ };
2219
+ } | {
2220
+ readonly id: string;
2221
+ readonly type: "file";
2222
+ readonly file: {
2223
+ readonly metadata?: {
2224
+ readonly [x: string]: any;
2225
+ } | undefined;
2226
+ readonly id: string;
2227
+ readonly name?: string | undefined;
2228
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
2229
+ readonly thumbnail_url: string | null;
2230
+ readonly permissions?: {
2231
+ readonly can_download?: boolean | undefined;
2232
+ readonly can_share?: boolean | undefined;
2233
+ } | undefined;
2234
+ readonly content_url: string | null;
2235
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2236
+ readonly pspdfkit_auth_payload: {
2237
+ readonly [x: string]: any;
2238
+ } | null;
2239
+ readonly pspdfkit_document_id: string | null;
2240
+ readonly pspdfkit_server_url: string | null;
2241
+ };
2242
+ })[];
2243
+ }[];
2244
+ readonly name: string;
2245
+ } | {
2128
2246
  readonly layout_type: import('../types/canvas').GridLayoutTypes;
2129
2247
  readonly columns: number;
2130
2248
  } | {
@@ -2192,6 +2310,9 @@ export default function useCanvas(): {
2192
2310
  readonly canvas_section_execution?: {
2193
2311
  readonly start_in_loading_mode?: boolean | undefined;
2194
2312
  } | undefined;
2313
+ readonly canvas_drawer?: {
2314
+ readonly start_in_loading_mode?: boolean | undefined;
2315
+ } | undefined;
2195
2316
  } | undefined;
2196
2317
  readonly file: {
2197
2318
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -2317,10 +2438,16 @@ export default function useCanvas(): {
2317
2438
  readonly expires_at?: (string | null) | undefined;
2318
2439
  readonly instance_id?: string | undefined;
2319
2440
  readonly folder_id?: string | undefined;
2441
+ readonly folder?: {
2442
+ readonly id: string;
2443
+ readonly name: string;
2444
+ } | undefined;
2320
2445
  readonly shared_link?: {
2321
2446
  readonly url: string;
2322
2447
  readonly short_url?: (string | null) | undefined;
2323
2448
  } | undefined;
2449
+ readonly search_rank?: string | undefined;
2450
+ readonly search_headline?: string | undefined;
2324
2451
  readonly owned_by?: {
2325
2452
  readonly id: number;
2326
2453
  readonly name: string;
@@ -2376,63 +2503,6 @@ export default function useCanvas(): {
2376
2503
  } | undefined;
2377
2504
  }[];
2378
2505
  readonly layout: "vertical" | "horizontal";
2379
- } | {
2380
- readonly groups: readonly {
2381
- readonly id: string;
2382
- readonly name: string;
2383
- readonly slides: readonly ({
2384
- readonly id: string;
2385
- readonly type: "slide";
2386
- readonly file: {
2387
- readonly metadata?: {
2388
- readonly [x: string]: any;
2389
- } | undefined;
2390
- readonly id: string;
2391
- readonly name?: string | undefined;
2392
- readonly type: import('../../../../types/openapi').FileTypeEnum;
2393
- readonly content_url: string | null;
2394
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2395
- readonly thumbnail_url: string | null;
2396
- readonly permissions?: {
2397
- readonly can_download?: boolean | undefined;
2398
- readonly can_share?: boolean | undefined;
2399
- } | undefined;
2400
- readonly pspdfkit_server_url: string | null;
2401
- readonly pspdfkit_auth_payload: {
2402
- readonly [x: string]: any;
2403
- } | null;
2404
- readonly pspdfkit_document_id: string | null;
2405
- };
2406
- readonly slide: {
2407
- readonly index: number;
2408
- readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
2409
- };
2410
- } | {
2411
- readonly id: string;
2412
- readonly type: "file";
2413
- readonly file: {
2414
- readonly metadata?: {
2415
- readonly [x: string]: any;
2416
- } | undefined;
2417
- readonly id: string;
2418
- readonly name?: string | undefined;
2419
- readonly type: import('../../../../types/openapi').FileTypeEnum;
2420
- readonly content_url: string | null;
2421
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2422
- readonly thumbnail_url: string | null;
2423
- readonly permissions?: {
2424
- readonly can_download?: boolean | undefined;
2425
- readonly can_share?: boolean | undefined;
2426
- } | undefined;
2427
- readonly pspdfkit_server_url: string | null;
2428
- readonly pspdfkit_auth_payload: {
2429
- readonly [x: string]: any;
2430
- } | null;
2431
- readonly pspdfkit_document_id: string | null;
2432
- };
2433
- })[];
2434
- }[];
2435
- readonly name: string;
2436
2506
  } | undefined;
2437
2507
  readonly children?: readonly any[] | undefined;
2438
2508
  readonly when_used_in_section?: {
@@ -2559,7 +2629,7 @@ export default function useCanvas(): {
2559
2629
  } | {
2560
2630
  height: number;
2561
2631
  };
2562
- }) => Promise<ArrayBuffer>) | ((...data: any[]) => Promise<ArrayBuffer> | void) | undefined, ((payload: {
2632
+ }) => Promise<ArrayBuffer>) | ((...data: any[]) => Promise<ArrayBuffer> | void), ((payload: {
2563
2633
  fileId: import('../../../../types/openapi').File["id"];
2564
2634
  documentId?: import('../../../../types/openapi').File["id"];
2565
2635
  pageIndex: number;
@@ -2577,7 +2647,7 @@ export default function useCanvas(): {
2577
2647
  } | {
2578
2648
  height: number;
2579
2649
  };
2580
- }) => Promise<ArrayBuffer>) | ((...data: any[]) => Promise<ArrayBuffer> | void) | undefined>;
2650
+ }) => Promise<ArrayBuffer>) | ((...data: any[]) => Promise<ArrayBuffer> | void)>;
2581
2651
  sectionComponentNodesBySectionId: import('vue').ComputedRef<{
2582
2652
  readonly [x: string]: {
2583
2653
  readonly [x: string]: {
@@ -2594,6 +2664,63 @@ export default function useCanvas(): {
2594
2664
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
2595
2665
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
2596
2666
  readonly data?: {
2667
+ readonly groups: readonly {
2668
+ readonly id: string;
2669
+ readonly name: string;
2670
+ readonly slides: readonly ({
2671
+ readonly id: string;
2672
+ readonly type: "slide";
2673
+ readonly file: {
2674
+ readonly metadata?: {
2675
+ readonly [x: string]: any;
2676
+ } | undefined;
2677
+ readonly id: string;
2678
+ readonly name?: string | undefined;
2679
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
2680
+ readonly thumbnail_url: string | null;
2681
+ readonly permissions?: {
2682
+ readonly can_download?: boolean | undefined;
2683
+ readonly can_share?: boolean | undefined;
2684
+ } | undefined;
2685
+ readonly content_url: string | null;
2686
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2687
+ readonly pspdfkit_auth_payload: {
2688
+ readonly [x: string]: any;
2689
+ } | null;
2690
+ readonly pspdfkit_document_id: string | null;
2691
+ readonly pspdfkit_server_url: string | null;
2692
+ };
2693
+ readonly slide: {
2694
+ readonly index: number;
2695
+ readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
2696
+ };
2697
+ } | {
2698
+ readonly id: string;
2699
+ readonly type: "file";
2700
+ readonly file: {
2701
+ readonly metadata?: {
2702
+ readonly [x: string]: any;
2703
+ } | undefined;
2704
+ readonly id: string;
2705
+ readonly name?: string | undefined;
2706
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
2707
+ readonly thumbnail_url: string | null;
2708
+ readonly permissions?: {
2709
+ readonly can_download?: boolean | undefined;
2710
+ readonly can_share?: boolean | undefined;
2711
+ } | undefined;
2712
+ readonly content_url: string | null;
2713
+ readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2714
+ readonly pspdfkit_auth_payload: {
2715
+ readonly [x: string]: any;
2716
+ } | null;
2717
+ readonly pspdfkit_document_id: string | null;
2718
+ readonly pspdfkit_server_url: string | null;
2719
+ };
2720
+ })[];
2721
+ }[];
2722
+ readonly name: string;
2723
+ } | {
2597
2724
  readonly layout_type: import('../types/canvas').GridLayoutTypes;
2598
2725
  readonly columns: number;
2599
2726
  } | {
@@ -2661,6 +2788,9 @@ export default function useCanvas(): {
2661
2788
  readonly canvas_section_execution?: {
2662
2789
  readonly start_in_loading_mode?: boolean | undefined;
2663
2790
  } | undefined;
2791
+ readonly canvas_drawer?: {
2792
+ readonly start_in_loading_mode?: boolean | undefined;
2793
+ } | undefined;
2664
2794
  } | undefined;
2665
2795
  readonly file: {
2666
2796
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -2786,10 +2916,16 @@ export default function useCanvas(): {
2786
2916
  readonly expires_at?: (string | null) | undefined;
2787
2917
  readonly instance_id?: string | undefined;
2788
2918
  readonly folder_id?: string | undefined;
2919
+ readonly folder?: {
2920
+ readonly id: string;
2921
+ readonly name: string;
2922
+ } | undefined;
2789
2923
  readonly shared_link?: {
2790
2924
  readonly url: string;
2791
2925
  readonly short_url?: (string | null) | undefined;
2792
2926
  } | undefined;
2927
+ readonly search_rank?: string | undefined;
2928
+ readonly search_headline?: string | undefined;
2793
2929
  readonly owned_by?: {
2794
2930
  readonly id: number;
2795
2931
  readonly name: string;
@@ -2845,63 +2981,6 @@ export default function useCanvas(): {
2845
2981
  } | undefined;
2846
2982
  }[];
2847
2983
  readonly layout: "vertical" | "horizontal";
2848
- } | {
2849
- readonly groups: readonly {
2850
- readonly id: string;
2851
- readonly name: string;
2852
- readonly slides: readonly ({
2853
- readonly id: string;
2854
- readonly type: "slide";
2855
- readonly file: {
2856
- readonly metadata?: {
2857
- readonly [x: string]: any;
2858
- } | undefined;
2859
- readonly id: string;
2860
- readonly name?: string | undefined;
2861
- readonly type: import('../../../../types/openapi').FileTypeEnum;
2862
- readonly content_url: string | null;
2863
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2864
- readonly thumbnail_url: string | null;
2865
- readonly permissions?: {
2866
- readonly can_download?: boolean | undefined;
2867
- readonly can_share?: boolean | undefined;
2868
- } | undefined;
2869
- readonly pspdfkit_server_url: string | null;
2870
- readonly pspdfkit_auth_payload: {
2871
- readonly [x: string]: any;
2872
- } | null;
2873
- readonly pspdfkit_document_id: string | null;
2874
- };
2875
- readonly slide: {
2876
- readonly index: number;
2877
- readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
2878
- };
2879
- } | {
2880
- readonly id: string;
2881
- readonly type: "file";
2882
- readonly file: {
2883
- readonly metadata?: {
2884
- readonly [x: string]: any;
2885
- } | undefined;
2886
- readonly id: string;
2887
- readonly name?: string | undefined;
2888
- readonly type: import('../../../../types/openapi').FileTypeEnum;
2889
- readonly content_url: string | null;
2890
- readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2891
- readonly thumbnail_url: string | null;
2892
- readonly permissions?: {
2893
- readonly can_download?: boolean | undefined;
2894
- readonly can_share?: boolean | undefined;
2895
- } | undefined;
2896
- readonly pspdfkit_server_url: string | null;
2897
- readonly pspdfkit_auth_payload: {
2898
- readonly [x: string]: any;
2899
- } | null;
2900
- readonly pspdfkit_document_id: string | null;
2901
- };
2902
- })[];
2903
- }[];
2904
- readonly name: string;
2905
2984
  } | undefined;
2906
2985
  readonly children?: readonly any[] | undefined;
2907
2986
  readonly when_used_in_section?: {
@@ -2966,5 +3045,6 @@ export default function useCanvas(): {
2966
3045
  deepMergeNodeById: (id: ComponentNode["id"], patch: Partial<ComponentNode>) => void;
2967
3046
  cleanup: typeof cleanup;
2968
3047
  saveCanvasContent: typeof saveCanvasContent;
3048
+ saveCanvasContext: typeof saveCanvasContext;
2969
3049
  };
2970
3050
  export {};