@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.
Files changed (163) hide show
  1. package/impact-js-api.spec.json +7 -1
  2. package/js-api.esm.js +25 -4
  3. package/js-api.esm.js.map +1 -1
  4. package/js-api.umd.min.js +10 -10
  5. package/js-api.umd.min.js.map +1 -1
  6. package/lib/apps/browser/App.vue.d.ts +10 -9
  7. package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +195 -132
  8. package/lib/apps/browser/components/Content/AllContent/Table/FoldersFilesTable.vue.d.ts +96 -0
  9. package/lib/apps/browser/components/Content/Panel/DetailsDrawer/DetailsDrawer.vue.d.ts +17 -0
  10. package/lib/apps/browser/components/FileSmartFolders.vue.d.ts +209 -0
  11. package/lib/apps/browser/stores/api.d.ts +6 -0
  12. package/lib/apps/browser/stores/app.d.ts +7 -2
  13. package/lib/apps/browser/stores/upload.d.ts +4 -4
  14. package/lib/apps/browser/stores/upload.types.d.ts +0 -1
  15. package/lib/apps/canvas-builder/App.vue.d.ts +356 -11
  16. package/lib/apps/canvas-builder/components/container/CanvasDrawerTheme/CanvasDrawerTheme.vue.d.ts +5 -1
  17. package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +10 -0
  18. package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +3 -1
  19. package/lib/apps/canvas-builder/components/container/ControlBar/ReorderContent.vue.d.ts +1 -1
  20. package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +1230 -0
  21. package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +22 -0
  22. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +3 -0
  23. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridFileItem.vue.d.ts +2 -0
  24. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridList.vue.d.ts +12 -0
  25. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +12 -0
  26. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.grouped.vue.d.ts +7 -2
  27. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.header.vue.d.ts +9 -1
  28. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.simple.vue.d.ts +6 -2
  29. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.vue.d.ts +4 -0
  30. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.vue.d.ts +2 -1
  31. package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +1 -0
  32. package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.edit.vue.d.ts +6 -1
  33. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +31 -0
  34. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +31 -0
  35. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +1 -6
  36. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +1 -0
  37. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +2 -0
  38. package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCollapsibles.vue.d.ts +12 -6
  39. package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +111 -0
  40. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +206 -31
  41. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +46 -6
  42. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +44 -6
  43. package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +2 -0
  44. package/lib/apps/canvas-builder/composables/useCanvasNodes.d.ts +16 -0
  45. package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -1
  46. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +120 -3
  47. package/lib/apps/canvas-builder/composables/useCanvasThemeAssets.d.ts +31 -0
  48. package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +4 -1
  49. package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -0
  50. package/lib/apps/canvas-builder/composables/useDataTablePrint.d.ts +5 -0
  51. package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -1
  52. package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -0
  53. package/lib/apps/canvas-builder/composables/useSectionNavigation.d.ts +3 -2
  54. package/lib/apps/canvas-builder/constants/canvas.const.d.ts +1 -0
  55. package/lib/apps/canvas-builder/types/canvas.d.ts +45 -11
  56. package/lib/apps/canvas-builder/util/canvas.util.d.ts +4 -1
  57. package/lib/apps/canvas-builder/util/print.util.d.ts +1 -1
  58. package/lib/apps/canvas-builder/util/tiptap-table.util.d.ts +20 -0
  59. package/lib/apps/collection-player/App.vue.d.ts +1 -0
  60. package/lib/apps/collection-player/components/AppFooter.vue.d.ts +56 -1
  61. package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +15 -0
  62. package/lib/apps/collection-player/components/MainImage.vue.d.ts +3 -1
  63. package/lib/apps/collection-player/composables/annotation-layer.use.d.ts +13 -0
  64. package/lib/apps/collection-player/composables/laser-pointer-marker.use.d.ts +166 -0
  65. package/lib/apps/collection-player/composables/markerjs.use.d.ts +8 -0
  66. package/lib/apps/collection-player/composables/new-zoom.use.d.ts +12 -0
  67. package/lib/apps/collection-player/stores/app.store.d.ts +4 -1
  68. package/lib/apps/collection-selector/App.vue.d.ts +33 -0
  69. package/lib/apps/content-selector/appTypes.d.ts +1 -0
  70. package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +195 -132
  71. package/lib/apps/content-selector/components/MultimediaSelectorApp.vue.d.ts +12 -0
  72. package/lib/apps/content-selector/components/ThemeImages.vue.d.ts +2 -0
  73. package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +4 -0
  74. package/lib/apps/content-selector/composables/useMultimediaSelectorApps.d.ts +21 -0
  75. package/lib/apps/content-selector/composables/useStore.d.ts +4 -0
  76. package/lib/apps/content-selector/stores/api.d.ts +19 -228
  77. package/lib/apps/content-selector/stores/app.d.ts +45 -66
  78. package/lib/apps/ppt-conversion-selector/components/AppHeader.vue.d.ts +2 -0
  79. package/lib/canvas-comments/components/CommentButton.vue.d.ts +6 -0
  80. package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +21 -0
  81. package/lib/canvas-comments/components/SimpleComments.vue.d.ts +14 -0
  82. package/lib/components/CApexChart/CApexChartLine.vue.d.ts +1 -1
  83. package/lib/components/CButton/CButton.vue.d.ts +3 -3
  84. package/lib/components/CCreateThemeModal/steps/CThemeAssetsStep.vue.d.ts +19 -0
  85. package/lib/components/CFileThumbnail/CFileThumbnail.vue.d.ts +1 -1
  86. package/lib/components/CFileViewer/CFileViewer.types.d.ts +8 -0
  87. package/lib/components/CFileViewer/CFileViewer.vue.d.ts +18 -0
  88. package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +3 -0
  89. package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +1 -0
  90. package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +5 -0
  91. package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +69 -0
  92. package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +2 -0
  93. package/lib/components/CInput/CInput.vue.d.ts +3 -3
  94. package/lib/components/CList/CList.vue.d.ts +1 -1
  95. package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +4 -4
  96. package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +90 -1
  97. package/lib/components/CTable/CTable.vue.d.ts +3 -1
  98. package/lib/components/CTableTag/CTableTag.vue.d.ts +4687 -0
  99. package/lib/components/CTags/CTags.vue.d.ts +3 -3
  100. package/lib/components/CThemePreview/CThemePreview.vue.d.ts +1 -1
  101. package/lib/components/CThumbnail/CThumbnail.vue.d.ts +43 -0
  102. package/lib/components/CUserMenu/CUserMenu.vue.d.ts +7 -9
  103. package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +6 -2
  104. package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +582 -266
  105. package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +195 -132
  106. package/lib/components/filters/CSearchFilter.vue.d.ts +2 -0
  107. package/lib/components/savedCanvases/CCanvasAccountModal.vue.d.ts +23 -0
  108. package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +20 -5
  109. package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +21 -2
  110. package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +4 -0
  111. package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +3 -1
  112. package/lib/components/sections/CSectionManagement.vue.d.ts +6 -2
  113. package/lib/components/themes/CThemeManagement.vue.d.ts +6 -2
  114. package/lib/composables/useCanvasLocks.d.ts +3 -4
  115. package/lib/composables/useCommentTracking.d.ts +25 -0
  116. package/lib/composables/useCommentsStorage.d.ts +70 -0
  117. package/lib/composables/useFileDisplayHelpers.d.ts +2 -0
  118. package/lib/composables/useInstalledApps.d.ts +1 -0
  119. package/lib/composables/useMetadataFilters.d.ts +2 -2
  120. package/lib/composables/useMetadataSearch.d.ts +2 -1
  121. package/lib/composables/useSharedCommentsStorage.d.ts +32 -0
  122. package/lib/constants/cdp.const.d.ts +6 -0
  123. package/lib/constants/roles.const.d.ts +16 -0
  124. package/lib/directives/element-mounted.d.ts +4 -0
  125. package/lib/main.lib.d.ts +6 -0
  126. package/lib/sdk/api/HighLevelApi.d.ts +2 -0
  127. package/lib/sdk/api/modules/admin/index.d.ts +1 -0
  128. package/lib/sdk/api/modules/admin/types.admin.d.ts +1 -0
  129. package/lib/sdk/api/modules/admin/users.admin.d.ts +14 -0
  130. package/lib/sdk/api/modules/env.d.ts +1 -0
  131. package/lib/sdk/api/modules/query.d.ts +2 -1
  132. package/lib/sdk/api/modules/ui/types.ui.d.ts +4 -0
  133. package/lib/sdk/interfaces.d.ts +1 -0
  134. package/lib/sdk/main.d.ts +8 -0
  135. package/lib/sdk/payload.types.d.ts +14 -0
  136. package/lib/types/app.d.ts +12 -1
  137. package/lib/types/call.d.ts +1 -2
  138. package/lib/types/canvasTheme.d.ts +12 -0
  139. package/lib/types/core/MetadataFilter.d.ts +1 -0
  140. package/lib/types/i18n.types.d.ts +1 -1
  141. package/lib/types/instanceSettings.types.d.ts +2 -0
  142. package/lib/types/launchDarkly.types.d.ts +1 -1
  143. package/lib/types/organizationSettings.types.d.ts +19 -0
  144. package/lib/util/image.d.ts +4 -0
  145. package/lib/util/style.util.d.ts +1 -0
  146. package/lib/util/userAgents.d.ts +1 -0
  147. package/package.json +1 -1
  148. package/types/openapi/models/App.d.ts +1 -0
  149. package/types/openapi/models/CanvasCreate.d.ts +1 -0
  150. package/types/openapi/models/CanvasRecommendedFile.d.ts +2 -0
  151. package/types/openapi/models/CanvasRetrieve.d.ts +1 -0
  152. package/types/openapi/models/CanvasUpdate.d.ts +1 -0
  153. package/types/openapi/models/CanvasUpdateRequest.d.ts +1 -0
  154. package/types/openapi/models/DeletedFile.d.ts +2 -0
  155. package/types/openapi/models/File.d.ts +2 -0
  156. package/types/openapi/models/FileCreate.d.ts +2 -0
  157. package/types/openapi/models/FileCreateRequest.d.ts +1 -0
  158. package/types/openapi/models/FileRetrieve.d.ts +2 -0
  159. package/types/openapi/models/FileUpdate.d.ts +2 -0
  160. package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
  161. package/types/openapi/models/InstanceMembershipUser.d.ts +2 -0
  162. package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +1 -0
  163. package/types/openapi/models/PatchedFileUpdateRequest.d.ts +1 -0
@@ -1,6 +1,6 @@
1
1
  import { FileTypeEnum, File, CanvasRetrieve } from '../../../../types/openapi';
2
- import { CanvasTheme } from '../types/canvas.ts';
3
- import { CanvasThemeRetrieve, CanvasTypographyPreset, CanvasTypographyPresetId } from '../../../types/canvasTheme';
2
+ import { CanvasTheme, ComponentNode, MultimediaProps } from '../types/canvas.ts';
3
+ import { CanvasThemeRetrieve, CanvasTypographyPreset, CanvasTypographyPresetId, CanvasThemeAsset } from '../../../types/canvasTheme';
4
4
  import { BackgroundAttachment, BackgroundPositionX, BackgroundPositionY, BackgroundRepeat, BackgroundSize } from '../../../types/background';
5
5
  export declare enum ThemeComponentOptionEnum {
6
6
  COLOR_PICKER = 0,
@@ -64,7 +64,11 @@ declare function handleComponentThemeUpdate(updates: ThemeOptions, currentTheme:
64
64
  declare function updateThemeProperties(theme: Partial<CanvasTheme>): void;
65
65
  declare function setBackgroundImageProperties(style?: Partial<CanvasTheme['style']>): void;
66
66
  declare function updateTextCSSVariables(typography: Record<string, CanvasTypographyPreset>): void;
67
- declare function loadSectionThemes(sections: CanvasRetrieve['sections'], section?: CanvasRetrieve['sections'][number]): void;
67
+ declare function loadSectionThemes(sections: CanvasRetrieve['sections'], specificSection?: CanvasRetrieve['sections'][number]): void;
68
+ declare function loadSectionThemesAssets(sections: CanvasRetrieve['sections'], updateMultimediaNodeFn?: (nodeId: string, props: MultimediaProps, directNodeUpdate?: {
69
+ node: ComponentNode;
70
+ section: CanvasRetrieve['sections'][number];
71
+ }) => boolean, specificSection?: CanvasRetrieve['sections'][number]): number;
68
72
  declare function clearSectionThemes(sections?: CanvasRetrieve['sections'], sectionId?: CanvasRetrieve['sections'][number]): void;
69
73
  declare function removeCssUrlFunc(url: string): string;
70
74
  export default function useCanvasTheme(): {
@@ -157,10 +161,25 @@ export default function useCanvasTheme(): {
157
161
  timezone?: string | undefined;
158
162
  tags?: (Array<string> | null) | undefined;
159
163
  } | undefined;
164
+ logo?: {
165
+ id: string;
166
+ name: string;
167
+ url: string;
168
+ } | undefined;
169
+ assets?: {
170
+ id: string;
171
+ name: string;
172
+ url: string;
173
+ }[] | undefined;
160
174
  settings: {
161
175
  component_spacing: number;
162
176
  background_color: string;
163
177
  palette: string[];
178
+ assets?: {
179
+ id: string;
180
+ name: string;
181
+ url: string;
182
+ }[] | undefined;
164
183
  };
165
184
  typography: Record<string, CanvasTypographyPreset>;
166
185
  used_in_canvases_count?: number | undefined;
@@ -253,10 +272,25 @@ export default function useCanvasTheme(): {
253
272
  timezone?: string | undefined;
254
273
  tags?: (Array<string> | null) | undefined;
255
274
  } | undefined;
275
+ logo?: {
276
+ id: string;
277
+ name: string;
278
+ url: string;
279
+ } | undefined;
280
+ assets?: {
281
+ id: string;
282
+ name: string;
283
+ url: string;
284
+ }[] | undefined;
256
285
  settings: {
257
286
  component_spacing: number;
258
287
  background_color: string;
259
288
  palette: string[];
289
+ assets?: {
290
+ id: string;
291
+ name: string;
292
+ url: string;
293
+ }[] | undefined;
260
294
  };
261
295
  typography: Record<string, CanvasTypographyPreset>;
262
296
  used_in_canvases_count?: number | undefined;
@@ -290,6 +324,8 @@ export default function useCanvasTheme(): {
290
324
  metadata?: Record<string, any> | undefined;
291
325
  app_metadata?: Record<string, any> | undefined;
292
326
  tags?: Array<string> | undefined;
327
+ transcript?: string | undefined;
328
+ readonly search: string | null;
293
329
  readonly published_at: string | null;
294
330
  expires_at?: string | null | undefined;
295
331
  readonly instance_id: string;
@@ -345,6 +381,8 @@ export default function useCanvasTheme(): {
345
381
  metadata?: Record<string, any> | undefined;
346
382
  app_metadata?: Record<string, any> | undefined;
347
383
  tags?: Array<string> | undefined;
384
+ transcript?: string | undefined;
385
+ readonly search: string | null;
348
386
  readonly published_at: string | null;
349
387
  expires_at?: string | null | undefined;
350
388
  readonly instance_id: string;
@@ -382,6 +420,24 @@ export default function useCanvasTheme(): {
382
420
  isFluid: import('vue').Ref<boolean, boolean>;
383
421
  maintainSectionTheme: import('vue').Ref<boolean, boolean>;
384
422
  palette: import('vue').Ref<string[], string[]>;
423
+ logo: import('vue').Ref<{
424
+ id: string;
425
+ name: string;
426
+ url: string;
427
+ } | null, CanvasThemeAsset | {
428
+ id: string;
429
+ name: string;
430
+ url: string;
431
+ } | null>;
432
+ assets: import('vue').Ref<{
433
+ id: string;
434
+ name: string;
435
+ url: string;
436
+ }[], CanvasThemeAsset[] | {
437
+ id: string;
438
+ name: string;
439
+ url: string;
440
+ }[]>;
385
441
  typography: import('vue').Ref<Record<string, CanvasTypographyPreset>, Record<string, CanvasTypographyPreset>>;
386
442
  backgroundAttachment: import('vue').Ref<BackgroundAttachment, BackgroundAttachment>;
387
443
  backgroundImage: import('vue').Ref<string, string>;
@@ -484,10 +540,25 @@ export default function useCanvasTheme(): {
484
540
  timezone?: string | undefined;
485
541
  tags?: (Array<string> | null) | undefined;
486
542
  } | undefined;
543
+ logo?: {
544
+ id: string;
545
+ name: string;
546
+ url: string;
547
+ } | undefined;
548
+ assets?: {
549
+ id: string;
550
+ name: string;
551
+ url: string;
552
+ }[] | undefined;
487
553
  settings: {
488
554
  component_spacing: number;
489
555
  background_color: string;
490
556
  palette: string[];
557
+ assets?: {
558
+ id: string;
559
+ name: string;
560
+ url: string;
561
+ }[] | undefined;
491
562
  };
492
563
  typography: Record<string, CanvasTypographyPreset>;
493
564
  used_in_canvases_count?: number | undefined;
@@ -580,10 +651,25 @@ export default function useCanvasTheme(): {
580
651
  timezone?: string | undefined;
581
652
  tags?: (Array<string> | null) | undefined;
582
653
  } | undefined;
654
+ logo?: {
655
+ id: string;
656
+ name: string;
657
+ url: string;
658
+ } | undefined;
659
+ assets?: {
660
+ id: string;
661
+ name: string;
662
+ url: string;
663
+ }[] | undefined;
583
664
  settings: {
584
665
  component_spacing: number;
585
666
  background_color: string;
586
667
  palette: string[];
668
+ assets?: {
669
+ id: string;
670
+ name: string;
671
+ url: string;
672
+ }[] | undefined;
587
673
  };
588
674
  typography: Record<string, CanvasTypographyPreset>;
589
675
  used_in_canvases_count?: number | undefined;
@@ -591,6 +677,7 @@ export default function useCanvasTheme(): {
591
677
  updateTextCSSVariables: typeof updateTextCSSVariables;
592
678
  updateThemeProperties: typeof updateThemeProperties;
593
679
  loadSectionThemes: typeof loadSectionThemes;
680
+ loadSectionThemesAssets: typeof loadSectionThemesAssets;
594
681
  removeCssUrlFunc: typeof removeCssUrlFunc;
595
682
  cleanup: typeof cleanup;
596
683
  handleComponentThemeUpdate: typeof handleComponentThemeUpdate;
@@ -683,10 +770,25 @@ export default function useCanvasTheme(): {
683
770
  timezone?: string | undefined;
684
771
  tags?: (Array<string> | null) | undefined;
685
772
  } | undefined;
773
+ logo?: {
774
+ id: string;
775
+ name: string;
776
+ url: string;
777
+ } | undefined;
778
+ assets?: {
779
+ id: string;
780
+ name: string;
781
+ url: string;
782
+ }[] | undefined;
686
783
  settings: {
687
784
  component_spacing: number;
688
785
  background_color: string;
689
786
  palette: string[];
787
+ assets?: {
788
+ id: string;
789
+ name: string;
790
+ url: string;
791
+ }[] | undefined;
690
792
  };
691
793
  typography: Record<string, CanvasTypographyPreset>;
692
794
  used_in_canvases_count?: number | undefined;
@@ -779,10 +881,25 @@ export default function useCanvasTheme(): {
779
881
  timezone?: string | undefined;
780
882
  tags?: (Array<string> | null) | undefined;
781
883
  } | undefined;
884
+ logo?: {
885
+ id: string;
886
+ name: string;
887
+ url: string;
888
+ } | undefined;
889
+ assets?: {
890
+ id: string;
891
+ name: string;
892
+ url: string;
893
+ }[] | undefined;
782
894
  settings: {
783
895
  component_spacing: number;
784
896
  background_color: string;
785
897
  palette: string[];
898
+ assets?: {
899
+ id: string;
900
+ name: string;
901
+ url: string;
902
+ }[] | undefined;
786
903
  };
787
904
  typography: Record<string, CanvasTypographyPreset>;
788
905
  used_in_canvases_count?: number | undefined;
@@ -0,0 +1,31 @@
1
+ import { ComponentNode, MultimediaProps } from '../types/canvas';
2
+ import { CanvasRetrieve } from '../../../../types/openapi';
3
+ import { CanvasThemeRetrieve } from '../../../types/canvasTheme';
4
+ declare function resetProcessedNodes(): void;
5
+ declare function addManuallyChangedThemeAsset(componentId: string): void;
6
+ declare function removeManuallyChangedThemeAsset(componentId: string): void;
7
+ declare function isManuallyChangedThemeAsset(componentId: string): boolean;
8
+ declare function clearManuallyChangedThemeAssets(): void;
9
+ declare function processThemeAssetForNode(node: ComponentNode, theme: CanvasThemeRetrieve, updateNodeFn: (nodeId: string, props: MultimediaProps, directNodeUpdate?: {
10
+ node: ComponentNode;
11
+ section: CanvasRetrieve['sections'][number];
12
+ }) => boolean, section?: CanvasRetrieve['sections'][number]): boolean;
13
+ declare function processThemeAssetsForNodes(nodes: ComponentNode[], theme: CanvasThemeRetrieve, updateNodeFn: (nodeId: string, props: MultimediaProps, directNodeUpdate?: {
14
+ node: ComponentNode;
15
+ section: CanvasRetrieve['sections'][number];
16
+ }) => boolean, section?: CanvasRetrieve['sections'][number]): number;
17
+ declare function processThemeAssetsForSections(sections: CanvasRetrieve['sections'], updateNodeFn: (nodeId: string, props: MultimediaProps, directNodeUpdate?: {
18
+ node: ComponentNode;
19
+ section: CanvasRetrieve['sections'][number];
20
+ }) => boolean, specificSection?: CanvasRetrieve['sections'][number]): number;
21
+ export default function useCanvasThemeAssets(): {
22
+ processThemeAssetForNode: typeof processThemeAssetForNode;
23
+ processThemeAssetsForNodes: typeof processThemeAssetsForNodes;
24
+ processThemeAssetsForSections: typeof processThemeAssetsForSections;
25
+ resetProcessedNodes: typeof resetProcessedNodes;
26
+ addManuallyChangedThemeAsset: typeof addManuallyChangedThemeAsset;
27
+ removeManuallyChangedThemeAsset: typeof removeManuallyChangedThemeAsset;
28
+ isManuallyChangedThemeAsset: typeof isManuallyChangedThemeAsset;
29
+ clearManuallyChangedThemeAssets: typeof clearManuallyChangedThemeAssets;
30
+ };
31
+ export {};
@@ -30,7 +30,10 @@ declare function prepareLinkNodeData({ selectedItems, filesById, node, }: {
30
30
  }): LinkProps;
31
31
  declare function prepareMultimediaNodeData({ selectedItems, }: {
32
32
  selectedItems: (SelectedExternalLink | SelectedAsset)[];
33
- }): MultimediaProps | undefined;
33
+ }): {
34
+ data: MultimediaProps;
35
+ theme_meta?: Partial<ComponentNode['theme_meta']>;
36
+ } | undefined;
34
37
  export default function (): {
35
38
  clearContentSelectorMode: typeof clearContentSelectorMode;
36
39
  contentSelectorMode: import('vue').Ref<false | {
@@ -26,5 +26,6 @@ export default function useCrmShape(): {
26
26
  myUser: User | null;
27
27
  showDefault?: boolean;
28
28
  }) => Partial<DefaultCrmShape>;
29
+ setRealTimeExtraCrmShape: (shape: Record<string, any>) => void;
29
30
  };
30
31
  export {};
@@ -0,0 +1,5 @@
1
+ export default function useDataTablePrint(): {
2
+ applyHeaderPrintStyles: (headerElement: HTMLElement | null, headerBackgroundColor: string, headerForegroundColor: string) => void;
3
+ applyRowPrintStyles: (container: HTMLElement | null) => void;
4
+ applyPropertyCellPrintStyles: (container: HTMLElement | null, headerBackgroundColor: string, headerForegroundColor: string) => void;
5
+ };
@@ -5,7 +5,7 @@ export declare function useInstalledEmbeddables(): {
5
5
  installedEmbeddablesById: import('vue').Ref<Record<string, AppFile> | null, Record<string, AppFile> | null>;
6
6
  refetchedFor: Record<string, boolean>;
7
7
  shouldUseDeviceUrl: ComputedRef<boolean | undefined>;
8
- shortcuts: ComputedRef<Record<"edit" | "fullscreen" | "presentation", (EmbeddedAppShortcut & {
8
+ shortcuts: ComputedRef<Record<"edit" | "presentation" | "fullscreen", (EmbeddedAppShortcut & {
9
9
  appName: string;
10
10
  })[]>>;
11
11
  refetch: (fileId?: AppFile["id"]) => void;
@@ -14,4 +14,8 @@ export default function useReorderComponent(): {
14
14
  resetActiveComponentId: () => void;
15
15
  toggleContentVisibility: () => void;
16
16
  removeComponent: (component: ComponentNode) => void;
17
+ isolatedScribbleChildId: ComputedRef<string | null>;
18
+ shouldShowOnlyIsolatedChild: (scribbleId: string) => boolean;
19
+ getFilteredScribbleChildren: (scribbleId: string, children: ComponentNode[]) => ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[];
20
+ isComponentIsolated: (componentId: string) => boolean;
17
21
  };
@@ -4,12 +4,13 @@ export default function useSectionNavigation(contentRef: Ref<{
4
4
  } | null>, navigationItems: ComputedRef<{
5
5
  id: string;
6
6
  sectionId?: string;
7
+ index?: number;
7
8
  }[]>, activeNavigationItems: Ref<{
8
9
  id: string;
9
10
  sectionId?: string;
10
11
  previewMode?: boolean;
11
12
  }[]>, isEditMode: Ref<boolean>): {
12
- scrollTo: (id: string, sectionId?: string, offset?: number) => void;
13
- navigateTo: (index: number | null, scrollOffset?: number) => void;
13
+ scrollTo: (id: string, sectionId?: string, sectionIndex?: number, scrollOffset?: number) => void;
14
+ navigateTo: (index: number | null, sectionIndex?: number, scrollOffset?: number) => void;
14
15
  activeIndex: Ref<number, number>;
15
16
  };
@@ -4,6 +4,7 @@ export declare const defaultWhenUsedInSection: {
4
4
  is_editable: boolean;
5
5
  is_removable: boolean;
6
6
  };
7
+ export declare const SERVER_ONLY_PROPS: readonly ["content_url", "thumbnail_url", "content_thumbnails", "pspdfkit_token", "pspdfkit_server_url", "pspdfkit_auth_payload", "external_url"];
7
8
  export declare const aspectRatios: readonly ["unlocked", "16:9", "16:10", "4:3", "1:1"];
8
9
  export declare const aspectRatioClasses: {
9
10
  readonly '16:9': "aspect-ratio-video";
@@ -9,7 +9,7 @@ import { EmbedLocation, EmbeddedLocationProperties } from '../../../types/app';
9
9
  import { BackgroundSize } from '../../../types/background';
10
10
  import { Call } from '../../../types/call';
11
11
  import { CanvasActions } from '../../../types/canvasActions';
12
- import { CanvasThemeRetrieve, CanvasTypographyPreset } from '../../../types/canvasTheme';
12
+ import { CanvasThemeAsset, CanvasThemeRetrieve, CanvasTypographyPreset } from '../../../types/canvasTheme';
13
13
  import { CanvasMetadataRetrieve } from '../../../types/canvases';
14
14
  import { PaginatedData } from '../../../types/paginatedData';
15
15
  import { QueryOperator } from '../../../types/query-builder.types';
@@ -25,7 +25,8 @@ export declare enum HtmlLayoutTypes {
25
25
  }
26
26
  export declare enum ContentGridLayoutTypes {
27
27
  CAROUSEL = "carousel",
28
- GRID = "grid"
28
+ GRID = "grid",
29
+ LIST = "list"
29
30
  }
30
31
  export declare enum GridLayoutTypes {
31
32
  ONE = "one",
@@ -71,6 +72,7 @@ export interface DynamicDatatableProperty {
71
72
  enabled: boolean;
72
73
  };
73
74
  group?: boolean;
75
+ printable?: boolean;
74
76
  }
75
77
  export interface DynamicDatatableFilter {
76
78
  property: string;
@@ -88,6 +90,7 @@ export interface DynamicDataTableProps {
88
90
  group_header_color?: string | null;
89
91
  font_family?: string;
90
92
  };
93
+ break_groups_on_new_page?: boolean;
91
94
  }
92
95
  export interface TextProps {
93
96
  content?: string;
@@ -157,10 +160,12 @@ export type ContentGridCommonFileProps = {
157
160
  snapshot_id?: FileRetrieve['id'];
158
161
  name: FileRetrieve['name'];
159
162
  is_deleted?: boolean;
163
+ expires_at?: FileRetrieve['expires_at'];
160
164
  content_url?: FileRetrieve['content_url'];
161
165
  content_type?: FileContentTypeEnum | null;
162
166
  content_extension?: FileRetrieve['content_extension'];
163
167
  permissions?: FileRetrieve['permissions'];
168
+ tags?: FileRetrieve['tags'];
164
169
  };
165
170
  export type ContentGridFileProps = ContentGridCommonFileProps & {
166
171
  thumbnail_url?: FileRetrieve['thumbnail_url'];
@@ -238,6 +243,7 @@ export interface LinkProps {
238
243
  font_family?: string;
239
244
  font_size?: number;
240
245
  link_type?: LinkAnchorTypes;
246
+ page_index?: number;
241
247
  preview_type?: LinkPreviewTypes;
242
248
  target?: '_self' | '_blank';
243
249
  url?: string;
@@ -274,20 +280,31 @@ export interface ComponentNodeVisible {
274
280
  pdf: boolean;
275
281
  web: boolean;
276
282
  }
277
- export interface ComponentNodeThemeMeta {
278
- bg_color_palette_index: number;
279
- dt_header_bg_palette_index: number;
280
- dt_group_header_bg_palette_index: number;
283
+ export interface ComponentNodeGenericThemeMeta {
284
+ bg_color_palette_index?: number;
285
+ }
286
+ export interface ComponentNodeDynamicDataTableThemeMeta extends ComponentNodeGenericThemeMeta {
287
+ dt_header_bg_palette_index?: number;
288
+ dt_group_header_bg_palette_index?: number;
281
289
  }
290
+ export interface ComponentNodeMultimediaThemeMeta extends ComponentNodeGenericThemeMeta {
291
+ is_theme_logo?: boolean;
292
+ theme_asset_index?: number;
293
+ }
294
+ export type ComponentNodeThemeMeta = ComponentNodeGenericThemeMeta | ComponentNodeDynamicDataTableThemeMeta | ComponentNodeMultimediaThemeMeta;
282
295
  export interface ComponentNodeLinkable {
283
296
  linkable_in_templates: boolean;
284
297
  }
298
+ export interface ComponentNodePrint {
299
+ scale_to_fit_page?: boolean;
300
+ }
285
301
  export interface ComponentNode<T = AvailableComponentProps> {
286
302
  id: string;
287
303
  type: ComponentTypes;
288
304
  tracking_id: string;
289
305
  visible?: ComponentNodeVisible;
290
306
  linkable?: ComponentNodeLinkable;
307
+ print?: ComponentNodePrint;
291
308
  allow_admins_to_overwrite?: boolean;
292
309
  autofill?: 'off' | 'ai' | 'matching_metadata' | 'matching_tags' | 'matching_metadata_or_tags';
293
310
  autofill_content_types?: FileContentTypeEnum[] | null;
@@ -300,6 +317,7 @@ export interface ComponentNode<T = AvailableComponentProps> {
300
317
  style?: Record<string, any>;
301
318
  tags?: string[];
302
319
  theme_meta?: ComponentNodeThemeMeta;
320
+ height?: string;
303
321
  }
304
322
  export interface HomePageConfig {
305
323
  component_id: string;
@@ -404,11 +422,14 @@ export type CanvasTheme = {
404
422
  aspect_ratio?: AvailableAspectRatio;
405
423
  maintain_section_theme?: boolean;
406
424
  inherit_theme_from_parent?: boolean;
425
+ logo?: CanvasThemeAsset | null;
426
+ assets?: CanvasThemeAsset[];
407
427
  };
408
428
  export declare enum CanvasBuilderMode {
409
429
  ADMIN = "admin",
410
430
  IMPACT = "impact",
411
- SHARING = "sharing"
431
+ SHARING = "sharing",
432
+ HOME = "home"
412
433
  }
413
434
  export interface ComponentTrackingParams {
414
435
  trackable: boolean;
@@ -417,7 +438,8 @@ export declare enum CanvasHistoryAction {
417
438
  ADD = "add",
418
439
  REMOVE = "remove",
419
440
  REORDER = "reorder",
420
- OPEN = "open"
441
+ OPEN = "open",
442
+ SAVE = "save"
421
443
  }
422
444
  export interface CanvasHistoryItem {
423
445
  active?: boolean;
@@ -522,7 +544,7 @@ export type SharingBuilderProps = NoCRMBuilderProps & {
522
544
  inCall?: never;
523
545
  myUserId?: never;
524
546
  onDownloadFile?: (file: File | ContentGridFileProps | ContentGridCommonFileProps) => Promise<void>;
525
- onDownloadCanvas?: (canvas: CanvasRetrieve) => Promise<void>;
547
+ onDownloadCanvas?: (canvas: CanvasRetrieve, fileFormat?: 'pdf' | 'pptx') => Promise<void>;
526
548
  theme: CanvasThemeRetrieve | null;
527
549
  isAnyTypeOfAdmin: boolean;
528
550
  canvasMetadata: CanvasMetadataRetrieve | null;
@@ -576,6 +598,7 @@ type AdminImpactCommonBuilderProps = {
576
598
  }) => void;
577
599
  onSave: (canvasId: CanvasRetrieve['id'], canvas: PatchedCanvasUpdateRequest & {
578
600
  fields?: string;
601
+ include_expired_files?: boolean;
579
602
  }, showToast?: boolean) => Promise<CanvasRetrieve>;
580
603
  onFileOpen: (file: FileOpenParams) => void;
581
604
  deleteFile: (fileId: FileRetrieve['id']) => Promise<string | void>;
@@ -604,7 +627,7 @@ type AdminImpactCommonBuilderProps = {
604
627
  share?: (canvasId: CanvasRetrieve['id']) => Promise<SharedLink>;
605
628
  isCRM: boolean;
606
629
  onDownloadFile?: (file: File | ContentGridFileProps | ContentGridCommonFileProps) => Promise<void>;
607
- onDownloadCanvas?: (canvas: CanvasRetrieve) => Promise<void>;
630
+ onDownloadCanvas?: (canvas: CanvasRetrieve, fileFormat?: 'pdf' | 'pptx') => Promise<void>;
608
631
  theme: CanvasThemeRetrieve | null;
609
632
  isAnyTypeOfAdmin: boolean;
610
633
  canvasMetadata: CanvasMetadataRetrieve | null;
@@ -627,5 +650,16 @@ type ImpactBuilderProps = AdminImpactCommonBuilderProps & (CRMBuilderProps | NoC
627
650
  matchingStrategy: ('tags' | 'metadata')[];
628
651
  }) => Promise<File[]>;
629
652
  };
630
- export type CanvasBuilderProps = AdminBuilderProps | ImpactBuilderProps | SharingBuilderProps;
653
+ type HomeBuilderProps = AdminImpactCommonBuilderProps & (CRMBuilderProps | NoCRMBuilderProps) & {
654
+ isRedirectEvent?: boolean;
655
+ mode: CanvasBuilderMode.HOME;
656
+ inCall?: boolean;
657
+ call?: Call;
658
+ myUserId?: User['id'];
659
+ listRecommendedFiles: (params: {
660
+ sectionId: CanvasRetrieve['id'];
661
+ matchingStrategy: ('tags' | 'metadata')[];
662
+ }) => Promise<File[]>;
663
+ };
664
+ export type CanvasBuilderProps = AdminBuilderProps | ImpactBuilderProps | SharingBuilderProps | HomeBuilderProps;
631
665
  export {};
@@ -47,6 +47,9 @@ type FoundComponent = {
47
47
  export declare function findEmbeddableInSectionsContent(canvasPages: ComponentNode[][], sectionComponentNodesBySectionId: UnwrapRef<SectionComponentNodesBySectionId>, appName: string): FoundComponent;
48
48
  export declare function findAllEmbeddableTypesInCanvasContent(componentNodesById: UnwrapRef<ComponentNodesById>): Set<string>;
49
49
  export declare function findEmbeddableInCanvasContent(componentNodesById: UnwrapRef<ComponentNodesById>, appName: string): FoundComponent;
50
- export declare function scrollToComponentById(id: ComponentNode['id'] | null | undefined, delay?: number): void;
50
+ export declare function scrollToComponentById(id: ComponentNode['id'] | null | undefined, instant?: boolean, delay?: number): void;
51
51
  export declare function updateFirstContentGridWithShareboxItems(canvasContent: ComponentNode[], selectedItems: (SelectedFile | SelectedPage)[], filesById: Record<FileRetrieve['id'], FileRetrieve>): ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps | HtmlProps | IFrameProps | LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[];
52
+ export declare function handleThemeAssetComparison(key: string | symbol | number, objValue: any, othValue: any, object: any, other: any, fileProps: string[], isEqual: (obj1: any, obj2: any) => boolean, componentsWithThemeMeta?: Set<string>): boolean | undefined;
53
+ export declare function applyCanvasThemeAssetsToNode(node: ComponentNode): ComponentNode;
54
+ export declare function processCanvasForSectionThemeOverride(canvas: CanvasRetrieve, maintainSectionTheme: boolean): CanvasRetrieve;
52
55
  export {};
@@ -1 +1 @@
1
- export declare function replaceThemePresetsWithInlineStyles(htmlContent: string): string;
1
+ export declare function replaceThemePresetsWithInlineStyles(htmlContent: string, shouldPreserveStyles?: boolean): string;
@@ -0,0 +1,20 @@
1
+ import { Ref } from 'vue';
2
+ export interface TableSortingMetadata {
3
+ tableIndex: number;
4
+ columnIndex: number;
5
+ direction: 'asc' | 'desc' | 'original';
6
+ }
7
+ export interface TextComponentMetadata {
8
+ tableSorting?: TableSortingMetadata[];
9
+ }
10
+ /**
11
+ * Clears the saved original table structure for a specific component
12
+ * This should be called when content changes to ensure the snapshot is up-to-date
13
+ */
14
+ export declare function resetTableStructureSnapshot(componentId: string): void;
15
+ /**
16
+ * Applies sorting functionality to all tables within a container element
17
+ */
18
+ export declare function setupTableSorting(contentElement: HTMLElement | null, componentId: string, canvasMetadata: Ref<(Record<string, any> & {
19
+ presentation_component_metadata: Record<string, any>;
20
+ }) | null | undefined>, saveSortCallback: (tableIndex: number, columnIndex: number, direction: 'asc' | 'desc' | 'original') => Promise<void>, forceRefreshSnapshot?: boolean): void;
@@ -11,6 +11,7 @@ type __VLS_Props = {
11
11
  api: Api;
12
12
  style?: Style;
13
13
  class?: Style;
14
+ aspectRatio?: number;
14
15
  };
15
16
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
16
17
  isFullscreen: import('vue').Ref<boolean, boolean>;
@@ -1,2 +1,57 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
2
+ annotationMenuRef: ({
3
+ $: import('vue').ComponentInternalInstance;
4
+ $data: {};
5
+ $props: {
6
+ readonly iconPlacement?: "left" | "right" | undefined;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
8
+ $attrs: {
9
+ [x: string]: unknown;
10
+ };
11
+ $refs: {
12
+ [x: string]: unknown;
13
+ };
14
+ $slots: Readonly<{
15
+ [name: string]: import('vue').Slot<any> | undefined;
16
+ }>;
17
+ $root: import('vue').ComponentPublicInstance | null;
18
+ $parent: import('vue').ComponentPublicInstance | null;
19
+ $host: Element | null;
20
+ $emit: (event: string, ...args: any[]) => void;
21
+ $el: any;
22
+ $options: import('vue').ComponentOptionsBase<Readonly<{
23
+ iconPlacement?: "left" | "right";
24
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
25
+ iconPlacement: "left" | "right";
26
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
27
+ beforeCreate?: (() => void) | (() => void)[];
28
+ created?: (() => void) | (() => void)[];
29
+ beforeMount?: (() => void) | (() => void)[];
30
+ mounted?: (() => void) | (() => void)[];
31
+ beforeUpdate?: (() => void) | (() => void)[];
32
+ updated?: (() => void) | (() => void)[];
33
+ activated?: (() => void) | (() => void)[];
34
+ deactivated?: (() => void) | (() => void)[];
35
+ beforeDestroy?: (() => void) | (() => void)[];
36
+ beforeUnmount?: (() => void) | (() => void)[];
37
+ destroyed?: (() => void) | (() => void)[];
38
+ unmounted?: (() => void) | (() => void)[];
39
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
40
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
41
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
42
+ };
43
+ $forceUpdate: () => void;
44
+ $nextTick: typeof import('vue').nextTick;
45
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
46
+ } & Readonly<{
47
+ iconPlacement: "left" | "right";
48
+ }> & Omit<Readonly<{
49
+ iconPlacement?: "left" | "right";
50
+ }> & Readonly<{}>, "iconPlacement"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
51
+ $slots: {
52
+ icon?(_: {}): any;
53
+ default?(_: {}): any;
54
+ };
55
+ }) | null;
56
+ }, HTMLElement>;
2
57
  export default _default;
@@ -0,0 +1,15 @@
1
+ type __VLS_Props = {
2
+ targetImage: string;
3
+ aspectRatio: number | null;
4
+ imageWidth: number;
5
+ imageHeight: number;
6
+ containerWidth: number;
7
+ containerHeight: number;
8
+ isActive: boolean;
9
+ zoom: number;
10
+ scalingMode: 'fit-content' | 'fit-width' | 'fit-height';
11
+ };
12
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
13
+ editorContainer: HTMLDivElement;
14
+ }, HTMLDivElement>;
15
+ export default _default;
@@ -5,5 +5,7 @@ type __VLS_Props = {
5
5
  zoom: number;
6
6
  item: CollectionSlide;
7
7
  };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLImageElement>;
8
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
9
+ containerRef: HTMLDivElement;
10
+ }, any>;
9
11
  export default _default;
@@ -0,0 +1,13 @@
1
+ import { MarkerArea, MarkerBase } from '@markerjs/markerjs3';
2
+ export declare function useAnnotationLayer(): {
3
+ activeMarker: import('vue').Ref<MarkerArea | null, MarkerArea | null>;
4
+ activeTool: import('vue').Ref<string | typeof MarkerBase | null, string | typeof MarkerBase | null>;
5
+ isVisibleMenu: import('vue').Ref<boolean, boolean>;
6
+ scalingMode: import('vue').Ref<"fit-content" | "fit-width" | "fit-height", "fit-content" | "fit-width" | "fit-height">;
7
+ clearSelection: () => void;
8
+ setActiveMarker: (marker: null | MarkerArea) => void;
9
+ setActiveTool: (tool: null | typeof MarkerBase | string) => void;
10
+ triggerToolUpdate: () => void;
11
+ showMenu: (value: boolean) => boolean;
12
+ toggleMenu: () => boolean;
13
+ };