@pitcher/js-api 1.25.0 → 1.26.0-beta.1

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 (140) hide show
  1. package/js-api.esm.js +25 -2
  2. package/js-api.esm.js.map +1 -1
  3. package/js-api.umd.min.js +10 -10
  4. package/js-api.umd.min.js.map +1 -1
  5. package/lib/apps/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +4 -4
  6. package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +2 -0
  7. package/lib/apps/browser/App.vue.d.ts +4 -4
  8. package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +3 -0
  9. package/lib/apps/browser/components/Content/Common/SmartFolderListItem.vue.d.ts +4 -0
  10. package/lib/apps/browser/components/FileSmartFoldersToolbar.vue.d.ts +2 -2
  11. package/lib/apps/browser/stores/api.d.ts +3 -1
  12. package/lib/apps/canvas-builder/App.helpers.d.ts +2 -1
  13. package/lib/apps/canvas-builder/App.vue.d.ts +7 -2
  14. package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +4 -4
  15. package/lib/apps/canvas-builder/components/container/CanvasCompletionWizard/CanvasCompletionWizard.vue.d.ts +12 -0
  16. package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.paginated.vue.d.ts +4 -1
  17. package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +1 -0
  18. package/lib/apps/canvas-builder/components/container/CanvasContent/page.paginated.vue.d.ts +13 -0
  19. package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts +27 -0
  20. package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +1 -0
  21. package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +1 -3
  22. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +12 -0
  23. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +12 -0
  24. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +12 -0
  25. package/lib/apps/canvas-builder/components/container/LinkableComponent/LinkableComponent.vue.d.ts +4 -0
  26. package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +5 -5
  27. package/lib/apps/canvas-builder/components/container/PopupApps/PopupAppsButtons.vue.d.ts +18 -0
  28. package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +1 -0
  29. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +1 -0
  30. package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +5 -2
  31. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +2 -1
  32. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +2 -1
  33. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +2 -1
  34. package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +9 -0
  35. package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +35 -0
  36. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +4 -1
  37. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +6 -1
  38. package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCompact.vue.d.ts +18 -0
  39. package/lib/apps/canvas-builder/components/ui/SectionList/SectionListItem.vue.d.ts +27 -0
  40. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSearch.vue.d.ts +11 -0
  41. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +1024 -28
  42. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +6 -4
  43. package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +14 -0
  44. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +6 -4
  45. package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +23 -7
  46. package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +3 -1
  47. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +1 -0
  48. package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +3 -0
  49. package/lib/apps/canvas-builder/composables/useEmbeddable.d.ts +7 -0
  50. package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +7 -1
  51. package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +917 -0
  52. package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +2 -0
  53. package/lib/apps/canvas-builder/constants/canvas.const.d.ts +2 -1
  54. package/lib/apps/canvas-builder/types/canvas.d.ts +14 -3
  55. package/lib/apps/canvas-builder/util/canvas.util.d.ts +2 -1
  56. package/lib/apps/collection-player/types/collection-player.type.d.ts +1 -0
  57. package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +10 -1
  58. package/lib/apps/content-selector/appTypes.d.ts +2 -0
  59. package/lib/apps/content-selector/components/Assets.vue.d.ts +75 -1
  60. package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +3 -0
  61. package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +2 -0
  62. package/lib/apps/content-selector/stores/app.d.ts +18 -4
  63. package/lib/apps/content-selector/util/file.d.ts +6 -3
  64. package/lib/apps/ppt-conversion-selector/composables/canvas.use.d.ts +3 -2
  65. package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +3 -2
  66. package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +6 -2
  67. package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +3 -0
  68. package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +18 -16
  69. package/lib/components/CDataTable/CDataTable.vue.d.ts +12 -12
  70. package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +8 -0
  71. package/lib/components/CFileViewer/CFileViewer.vue.d.ts +2 -0
  72. package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -0
  73. package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +1 -0
  74. package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -0
  75. package/lib/components/CInput/CInput.vue.d.ts +4 -4
  76. package/lib/components/CMonacoEditor/CMonacoEditor.vue.d.ts +27 -0
  77. package/lib/components/CQuickFilters/CQuickFilters.vue.d.ts +4 -0
  78. package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +18 -5
  79. package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +28 -8
  80. package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +14 -4
  81. package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +4 -4
  82. package/lib/components/CSearch/CSearch.vue.d.ts +2 -0
  83. package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +1 -0
  84. package/lib/components/CSectionSmartFolders/CSectionSmartFolders.vue.d.ts +109 -0
  85. package/lib/components/CSectionSmartFolders/CSectionSmartFoldersToolbar.vue.d.ts +33 -0
  86. package/lib/components/CSlideViewer/CSlideViewer.vue.d.ts +17 -0
  87. package/lib/components/CTableInput/CTableInput.vue.d.ts +10 -8
  88. package/lib/components/CTableTag/CTableTag.vue.d.ts +5 -4
  89. package/lib/components/CTags/CTags.vue.d.ts +4 -4
  90. package/lib/components/CThumbnail/CThumbnail.vue.d.ts +1 -0
  91. package/lib/components/CUserMenu/CUserMenu.vue.d.ts +3 -1
  92. package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +22 -16
  93. package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +7 -4
  94. package/lib/components/filters/CSearchFilter.vue.d.ts +6 -0
  95. package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +6 -0
  96. package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +1 -0
  97. package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +4 -4
  98. package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +8 -3
  99. package/lib/components/sections/CSectionManagement.vue.d.ts +1 -1
  100. package/lib/composables/useBindValidation.d.ts +1 -1
  101. package/lib/composables/useElementSizeAfterDom.d.ts +5 -0
  102. package/lib/composables/useFilterSuggestions.d.ts +56 -0
  103. package/lib/composables/useImageAccessibility.d.ts +13 -0
  104. package/lib/composables/useMetadataSearch.d.ts +21 -1
  105. package/lib/main.lib.d.ts +1 -0
  106. package/lib/sdk/api/HighLevelApi.d.ts +1 -0
  107. package/lib/sdk/api/modules/admin/types.admin.d.ts +8 -0
  108. package/lib/sdk/api/modules/share.d.ts +8 -1
  109. package/lib/sdk/api/modules/ui/canvas.ui.d.ts +25 -1
  110. package/lib/sdk/api/modules/ui/index.d.ts +2 -0
  111. package/lib/sdk/api/modules/ui/types.ui.d.ts +22 -0
  112. package/lib/sdk/interfaces.d.ts +46 -2
  113. package/lib/sdk/main.d.ts +9 -0
  114. package/lib/sdk/payload.types.d.ts +13 -0
  115. package/lib/stores/sectionSmartFolderStore.d.ts +110 -0
  116. package/lib/types/app.d.ts +20 -3
  117. package/lib/types/call.d.ts +1 -0
  118. package/lib/types/core/MetadataFilter.d.ts +2 -0
  119. package/lib/types/instanceSettings.types.d.ts +16 -3
  120. package/lib/types/launchDarkly.types.d.ts +1 -1
  121. package/lib/types/organizationSettings.types.d.ts +13 -0
  122. package/lib/util/date.d.ts +1 -0
  123. package/lib/util/network.d.ts +8 -0
  124. package/package.json +1 -1
  125. package/types/openapi/index.d.ts +0 -7
  126. package/types/openapi/models/DeletedInstance.d.ts +0 -2
  127. package/types/openapi/models/Instance.d.ts +0 -2
  128. package/types/openapi/models/InstanceRequest.d.ts +0 -1
  129. package/types/openapi/models/InstanceUpdate.d.ts +0 -2
  130. package/types/openapi/models/InstanceUpdateRequest.d.ts +0 -1
  131. package/types/openapi/models/OrganizationAnalyticsInstance.d.ts +0 -2
  132. package/types/openapi/models/OrganizationAnalyticsTop3Instances.d.ts +0 -2
  133. package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +0 -1
  134. package/types/openapi/models/DeletedRegion.d.ts +0 -12
  135. package/types/openapi/models/MiniRegion.d.ts +0 -4
  136. package/types/openapi/models/MiniRegionRequest.d.ts +0 -3
  137. package/types/openapi/models/PaginatedRegionList.d.ts +0 -7
  138. package/types/openapi/models/PatchedRegionRequest.d.ts +0 -3
  139. package/types/openapi/models/Region.d.ts +0 -10
  140. package/types/openapi/models/RegionRequest.d.ts +0 -3
@@ -75,7 +75,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
75
75
  onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
76
76
  onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
77
77
  countGraphemes: import('vue').PropType<(value: string) => number>;
78
- status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
78
+ status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
79
79
  'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
80
80
  onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
81
81
  textDecoration: import('vue').PropType<string | [string, string]>;
@@ -338,7 +338,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
338
338
  } | {
339
339
  top: string;
340
340
  }>;
341
- mergedStatus: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').FormValidationStatus | undefined>;
341
+ mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
342
342
  textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
343
343
  handleTextAreaScroll: (e: Event) => void;
344
344
  handleCompositionStart: () => void;
@@ -594,7 +594,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
594
594
  onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
595
595
  onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
596
596
  countGraphemes: import('vue').PropType<(value: string) => number>;
597
- status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
597
+ status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
598
598
  'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
599
599
  onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
600
600
  textDecoration: import('vue').PropType<string | [string, string]>;
@@ -857,7 +857,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
857
857
  } | {
858
858
  top: string;
859
859
  }>;
860
- mergedStatus: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').FormValidationStatus | undefined>;
860
+ mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
861
861
  textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
862
862
  handleTextAreaScroll: (e: Event) => void;
863
863
  handleCompositionStart: () => void;
@@ -65,6 +65,7 @@ export declare function provideMoveItemModal(): {
65
65
  filters?: Record<string, any> | undefined;
66
66
  name: string;
67
67
  hide_footer?: boolean | undefined;
68
+ data_accessor?: string | undefined;
68
69
  };
69
70
  type: import('../../../types/common').ValuesOf<import('../constants').ContentType>;
70
71
  };
@@ -125,6 +126,7 @@ export declare function provideMoveItemModal(): {
125
126
  filters?: Record<string, any> | undefined;
126
127
  name: string;
127
128
  hide_footer?: boolean | undefined;
129
+ data_accessor?: string | undefined;
128
130
  };
129
131
  type: import('../../../types/common').ValuesOf<import('../constants').ContentType>;
130
132
  };
@@ -36,13 +36,13 @@ declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
36
36
  type: "file";
37
37
  thumbnailUrl?: string;
38
38
  }) => any;
39
- viewFileDetails: (id: string) => any;
40
- generateKeypoints: (id: string) => any;
41
39
  onSectionChange: (params: {
42
40
  section: BrowserSectionType;
43
41
  folderId: string;
44
42
  newTab?: boolean;
45
43
  }) => any;
44
+ viewFileDetails: (id: string) => any;
45
+ generateKeypoints: (id: string) => any;
46
46
  }, string, import('vue').PublicProps, Readonly<BrowserAppProps> & Readonly<{
47
47
  onAddToSharebox?: ((fileShareboxItem: {
48
48
  fileId: FileRetrieve["id"];
@@ -50,13 +50,13 @@ declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
50
50
  type: "file";
51
51
  thumbnailUrl?: string;
52
52
  }) => any) | undefined;
53
- onViewFileDetails?: ((id: string) => any) | undefined;
54
- onGenerateKeypoints?: ((id: string) => any) | undefined;
55
53
  onOnSectionChange?: ((params: {
56
54
  section: BrowserSectionType;
57
55
  folderId: string;
58
56
  newTab?: boolean;
59
57
  }) => any) | undefined;
58
+ onViewFileDetails?: ((id: string) => any) | undefined;
59
+ onGenerateKeypoints?: ((id: string) => any) | undefined;
60
60
  }>, {
61
61
  appName: import('./stores/app').AppName;
62
62
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -27,6 +27,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
27
27
  }[] | undefined;
28
28
  readonly enableDependentFilters?: boolean | undefined;
29
29
  readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
30
+ readonly contentType?: string[] | undefined;
30
31
  readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
31
32
  readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
32
33
  readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
@@ -144,6 +145,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
144
145
  }[];
145
146
  enableDependentFilters?: boolean;
146
147
  dependentFiltersEntity?: "file" | "canvas";
148
+ contentType?: string[];
147
149
  }> & Readonly<{
148
150
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
149
151
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
@@ -223,6 +225,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
223
225
  }[];
224
226
  enableDependentFilters?: boolean;
225
227
  dependentFiltersEntity?: "file" | "canvas";
228
+ contentType?: string[];
226
229
  }> & Readonly<{
227
230
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
228
231
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
@@ -1,6 +1,7 @@
1
1
  import { ComputedRef } from 'vue';
2
2
  type __VLS_Props = {
3
3
  filters: ComputedRef<Record<string, any>>;
4
+ allowRowHighlight?: boolean;
4
5
  highlightText?: string;
5
6
  doNotShowFolderDetails?: boolean;
6
7
  isContextMenuOpen?: boolean;
@@ -11,6 +12,7 @@ type __VLS_Props = {
11
12
  id: number | string;
12
13
  };
13
14
  name?: string;
15
+ showItemType?: boolean;
14
16
  };
15
17
  declare function __VLS_template(): {
16
18
  attrs: Partial<{}>;
@@ -26,7 +28,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
26
28
  highlightText: string;
27
29
  isContextMenuOpen: boolean;
28
30
  isDraggedOver: boolean;
31
+ allowRowHighlight: boolean;
29
32
  doNotShowFolderDetails: boolean;
33
+ showItemType: boolean;
30
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
31
35
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
36
  export default _default;
@@ -1,12 +1,12 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
2
  search: (value: string) => any;
3
- configure: () => any;
4
3
  "breadcrumb-click": (index: number) => any;
5
4
  "breadcrumb-reset": () => any;
5
+ configure: () => any;
6
6
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
7
7
  onSearch?: ((value: string) => any) | undefined;
8
- onConfigure?: (() => any) | undefined;
9
8
  "onBreadcrumb-click"?: ((index: number) => any) | undefined;
10
9
  "onBreadcrumb-reset"?: (() => any) | undefined;
10
+ onConfigure?: (() => any) | undefined;
11
11
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
12
12
  export default _default;
@@ -8,11 +8,11 @@ import { FolderListRequest } from '../../../sdk/payload.types';
8
8
  type CompactFolder = Mutable<FolderFolder>;
9
9
  type FolderFileWithFolder = FolderFile & {
10
10
  folder_id?: string;
11
- } & {
12
11
  folder: {
13
12
  id: string;
14
13
  name: string;
15
14
  };
15
+ type?: 'file' | 'folder';
16
16
  };
17
17
  type FolderItemsFetcher = (folderId: Folder['id'] | undefined, options?: {
18
18
  justFetch: boolean;
@@ -428,6 +428,7 @@ declare const _default: () => {
428
428
  readonly id: string;
429
429
  readonly name: string;
430
430
  };
431
+ readonly type?: "file" | "folder" | undefined;
431
432
  }[];
432
433
  };
433
434
  getters: {
@@ -798,6 +799,7 @@ declare const _default: () => {
798
799
  id: string;
799
800
  name: string;
800
801
  };
802
+ type?: "file" | "folder" | undefined;
801
803
  }[];
802
804
  } & {
803
805
  fileOpener: null;
@@ -1,10 +1,11 @@
1
1
  import { UnwrapRef } from 'vue';
2
2
  import { ComponentNode, HomePageConfig } from './types/canvas';
3
3
  import { SectionComponentNodesBySectionId, ComponentNodesById } from './composables/useCanvas';
4
- export declare function navigateToHome({ homePageConfig, canvasContent, componentNodesById, }: {
4
+ export declare function navigateToHome({ homePageConfig, canvasContent, componentNodesById, skipSetPreviousLocation, }: {
5
5
  homePageConfig?: HomePageConfig;
6
6
  canvasContent: ComponentNode[];
7
7
  componentNodesById?: UnwrapRef<ComponentNodesById>;
8
+ skipSetPreviousLocation?: boolean;
8
9
  }): Promise<boolean>;
9
10
  export declare function navigateToEmbeddableForPages({ appName, canvasPages, componentNodesById, sectionComponentNodesBySectionId, isEditMode, canvasContentElement, }: {
10
11
  appName: string;
@@ -508,18 +508,23 @@ declare const _default: import('vue').DefineComponent<({
508
508
  }) => void;
509
509
  };
510
510
  switchToPresentation: () => Promise<void>;
511
- goToPage: ({ componentId, sectionId, scrollTo, itemIndex, }: {
511
+ goToPage: ({ componentId, sectionId, scrollTo, itemIndex, sectionIndex, skipSetPreviousLocation, }: {
512
512
  componentId: ComponentNode["id"];
513
513
  sectionId?: import('../../main.lib').CanvasRetrieve["id"];
514
514
  scrollTo?: "component" | "top";
515
515
  itemIndex?: number;
516
+ sectionIndex?: number;
517
+ skipSetPreviousLocation?: boolean;
516
518
  }) => void;
517
519
  goToPreviousPage: () => void;
518
520
  goToNextPage: () => void;
519
521
  exitFullscreen: () => void;
520
- navigateToHome: () => Promise<boolean>;
522
+ navigateToHome: (skipSetPreviousLocation?: boolean) => Promise<boolean>;
521
523
  navigateToEmbeddable: (appFile: AppFile) => void;
522
524
  builderHasChanges: ComputedRef<boolean>;
525
+ retriggerWizard: () => Promise<void>;
526
+ canRetriggerWizard: () => boolean;
527
+ resetWizard: () => Promise<void>;
523
528
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
524
529
  toggleNotes: () => any;
525
530
  toggleFullscreen: (isFullscreen: boolean) => any;
@@ -75,7 +75,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
75
75
  onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
76
76
  onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
77
77
  countGraphemes: import('vue').PropType<(value: string) => number>;
78
- status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
78
+ status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
79
79
  'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
80
80
  onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
81
81
  textDecoration: import('vue').PropType<string | [string, string]>;
@@ -338,7 +338,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
338
338
  } | {
339
339
  top: string;
340
340
  }>;
341
- mergedStatus: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').FormValidationStatus | undefined>;
341
+ mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
342
342
  textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
343
343
  handleTextAreaScroll: (e: Event) => void;
344
344
  handleCompositionStart: () => void;
@@ -594,7 +594,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
594
594
  onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
595
595
  onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
596
596
  countGraphemes: import('vue').PropType<(value: string) => number>;
597
- status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
597
+ status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
598
598
  'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
599
599
  onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
600
600
  textDecoration: import('vue').PropType<string | [string, string]>;
@@ -857,7 +857,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
857
857
  } | {
858
858
  top: string;
859
859
  }>;
860
- mergedStatus: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').FormValidationStatus | undefined>;
860
+ mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
861
861
  textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
862
862
  handleTextAreaScroll: (e: Event) => void;
863
863
  handleCompositionStart: () => void;
@@ -1,3 +1,15 @@
1
+ import { ComponentNode, SectionListProps } from '../../../types/canvas';
2
+ export interface WizardStep {
3
+ id: string;
4
+ name?: string;
5
+ strategy: SectionListProps['selection_strategy'];
6
+ strategyLabel?: string;
7
+ appDescription?: string;
8
+ appSrc?: string | null;
9
+ selectedSectionIds: string[];
10
+ componentNode: ComponentNode;
11
+ is_restricted_to_preselections?: boolean;
12
+ }
1
13
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
2
14
  iframeRef: HTMLIFrameElement;
3
15
  }, any>;
@@ -1,2 +1,5 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ type __VLS_Props = {
2
+ isScaleContentEnabled?: boolean;
3
+ };
4
+ 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, {}, any>;
2
5
  export default _default;
@@ -464,5 +464,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
464
464
  hasSider: boolean;
465
465
  siderPlacement: "left" | "right";
466
466
  }> | null;
467
+ appIframeRef: HTMLIFrameElement;
467
468
  }, any>;
468
469
  export default _default;
@@ -0,0 +1,13 @@
1
+ import { ComponentNode, ComponentTypes } from '../../../types/canvas';
2
+ import { CSSProperties } from 'vue';
3
+ interface Props {
4
+ page: ComponentNode[];
5
+ componentMap: Record<ComponentTypes, any>;
6
+ shouldRenderComponentWrapper: (component: ComponentNode) => boolean | undefined;
7
+ onElementVisibility: (isVisible: boolean, component: ComponentNode) => void;
8
+ getTopLevelComponentStyle: (page: ComponentNode[], component: ComponentNode, index: number) => CSSProperties;
9
+ getComponentBindings: (component: ComponentNode) => any;
10
+ getChildComponentStyle: (parent: ComponentNode, child: ComponentNode, index: number) => CSSProperties;
11
+ }
12
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { CSSProperties } from 'vue';
2
+ import { ComponentTypes, ComponentNode } from '../../../types/canvas';
3
+ interface Props {
4
+ page: ComponentNode[];
5
+ isScaleContentEnabled?: boolean;
6
+ aspectRatioStyle: CSSProperties | undefined;
7
+ componentMap: Record<ComponentTypes, any>;
8
+ getChildComponentStyle: (parent: ComponentNode, child: ComponentNode, index: number) => CSSProperties;
9
+ getComponentBindings: (component: ComponentNode) => any;
10
+ getTopLevelComponentStyle: (page: ComponentNode[], component: ComponentNode, index: number) => CSSProperties;
11
+ onElementVisibility: (isVisible: boolean, component: ComponentNode) => void;
12
+ shouldRenderComponentWrapper: (component: ComponentNode) => boolean | undefined;
13
+ aspectRatio: {
14
+ x: number;
15
+ y: number;
16
+ } | undefined;
17
+ }
18
+ declare const _default: import('vue').DefineComponent<Props, {
19
+ pageWrapperRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
20
+ pageContainerRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
21
+ pageContentRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
22
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
23
+ pageWrapperRef: HTMLDivElement;
24
+ pageContainerRef: HTMLDivElement;
25
+ pageContentRef: HTMLDivElement;
26
+ }, HTMLDivElement>;
27
+ export default _default;
@@ -1,6 +1,7 @@
1
1
  import { AppFile } from '../../../../../types/app';
2
2
  type __VLS_Props = {
3
3
  apps: AppFile[];
4
+ getAppIcon?: (app: AppFile) => string;
4
5
  };
5
6
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
6
7
  click: (app: AppFile) => any;
@@ -1,7 +1,5 @@
1
1
  type __VLS_Props = {
2
2
  hideEdit?: boolean;
3
3
  };
4
- 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, {
5
- appIframeRef: HTMLIFrameElement;
6
- }, any>;
4
+ 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, {}, any>;
7
5
  export default _default;
@@ -59,6 +59,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
59
59
  edit: () => any;
60
60
  discard: () => any;
61
61
  duplicate: () => any;
62
+ "content-change": (args_0: {
63
+ fileId: string;
64
+ pageIndex?: number;
65
+ pageId?: string;
66
+ thumbnailUrl?: string;
67
+ }) => any;
62
68
  "variant-change": (variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any;
63
69
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
64
70
  onAdd?: (() => any) | undefined;
@@ -73,6 +79,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
73
79
  onEdit?: (() => any) | undefined;
74
80
  onDiscard?: (() => any) | undefined;
75
81
  onDuplicate?: (() => any) | undefined;
82
+ "onContent-change"?: ((args_0: {
83
+ fileId: string;
84
+ pageIndex?: number;
85
+ pageId?: string;
86
+ thumbnailUrl?: string;
87
+ }) => any) | undefined;
76
88
  "onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
77
89
  }>, {
78
90
  collapsible: boolean;
@@ -56,6 +56,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
56
56
  "set-palette-index": (index: number | undefined) => any;
57
57
  startDrag: () => any;
58
58
  toggleThemeOptions: () => any;
59
+ "content-change": (args_0: {
60
+ fileId: string;
61
+ pageIndex?: number;
62
+ pageId?: string;
63
+ thumbnailUrl?: string;
64
+ }) => any;
59
65
  updateHeight: (height?: string | null | undefined) => any;
60
66
  updatePadding: (padding: ThemePadding) => any;
61
67
  updateMarginBottom: (value: number | null) => any;
@@ -75,6 +81,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
75
81
  "onSet-palette-index"?: ((index: number | undefined) => any) | undefined;
76
82
  onStartDrag?: (() => any) | undefined;
77
83
  onToggleThemeOptions?: (() => any) | undefined;
84
+ "onContent-change"?: ((args_0: {
85
+ fileId: string;
86
+ pageIndex?: number;
87
+ pageId?: string;
88
+ thumbnailUrl?: string;
89
+ }) => any) | undefined;
78
90
  onUpdateHeight?: ((height?: string | null | undefined) => any) | undefined;
79
91
  onUpdatePadding?: ((padding: ThemePadding) => any) | undefined;
80
92
  onUpdateMarginBottom?: ((value: number | null) => any) | undefined;
@@ -63,6 +63,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
63
63
  edit: () => any;
64
64
  discard: () => any;
65
65
  duplicate: () => any;
66
+ "content-change": (args_0: {
67
+ fileId: string;
68
+ pageIndex?: number;
69
+ pageId?: string;
70
+ thumbnailUrl?: string;
71
+ }) => any;
66
72
  "variant-change": (variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any;
67
73
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
68
74
  onAdd?: (() => any) | undefined;
@@ -77,6 +83,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
77
83
  onEdit?: (() => any) | undefined;
78
84
  onDiscard?: (() => any) | undefined;
79
85
  onDuplicate?: (() => any) | undefined;
86
+ "onContent-change"?: ((args_0: {
87
+ fileId: string;
88
+ pageIndex?: number;
89
+ pageId?: string;
90
+ thumbnailUrl?: string;
91
+ }) => any) | undefined;
80
92
  "onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
81
93
  }>, {
82
94
  resizable: boolean;
@@ -2,6 +2,8 @@ import { ComponentNode } from '../../../types/canvas';
2
2
  type __VLS_Props = {
3
3
  id: ComponentNode['id'];
4
4
  usedInSectionId?: string;
5
+ noPadding?: boolean;
6
+ noBorder?: boolean;
5
7
  mode?: 'thumbnails' | 'list';
6
8
  };
7
9
  declare function __VLS_template(): {
@@ -19,6 +21,8 @@ declare function __VLS_template(): {
19
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
22
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
23
  mode: "thumbnails" | "list";
24
+ noPadding: boolean;
25
+ noBorder: boolean;
22
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
23
27
  dynamicScrollerRef: unknown;
24
28
  }, any>;
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
10
10
  $props: {
11
11
  readonly type?: "text" | "textarea" | "password" | undefined;
12
12
  readonly size?: import('naive-ui/es/input/src/interface').Size | undefined;
13
- readonly status?: import('naive-ui/es/form/src/interface').FormValidationStatus | undefined;
13
+ readonly status?: import('naive-ui').FormValidationStatus | undefined;
14
14
  readonly value?: string | [string, string] | null | undefined;
15
15
  readonly disabled?: boolean | undefined;
16
16
  readonly onFocus?: import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void> | undefined;
@@ -202,7 +202,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
202
202
  onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
203
203
  onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
204
204
  countGraphemes: import('vue').PropType<(value: string) => number>;
205
- status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
205
+ status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
206
206
  'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
207
207
  onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
208
208
  textDecoration: import('vue').PropType<string | [string, string]>;
@@ -465,7 +465,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
465
465
  } | {
466
466
  top: string;
467
467
  }>;
468
- mergedStatus: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').FormValidationStatus | undefined>;
468
+ mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
469
469
  textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
470
470
  handleTextAreaScroll: (e: Event) => void;
471
471
  handleCompositionStart: () => void;
@@ -721,7 +721,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
721
721
  onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
722
722
  onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
723
723
  countGraphemes: import('vue').PropType<(value: string) => number>;
724
- status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
724
+ status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
725
725
  'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
726
726
  onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
727
727
  textDecoration: import('vue').PropType<string | [string, string]>;
@@ -984,7 +984,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
984
984
  } | {
985
985
  top: string;
986
986
  }>;
987
- mergedStatus: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').FormValidationStatus | undefined>;
987
+ mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
988
988
  textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
989
989
  handleTextAreaScroll: (e: Event) => void;
990
990
  handleCompositionStart: () => void;
@@ -0,0 +1,18 @@
1
+ interface Props {
2
+ placement?: 'left' | 'right' | 'top' | 'bottom' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
3
+ buttonClass?: string;
4
+ buttonSize?: 'tiny' | 'small' | 'medium' | 'large';
5
+ iconSize?: string | number;
6
+ isCircle?: boolean;
7
+ /** When true, shows apps as inline buttons with separators instead of popover grouping */
8
+ inline?: boolean;
9
+ }
10
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
11
+ inline: boolean;
12
+ iconSize: string | number;
13
+ placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
14
+ buttonClass: string;
15
+ buttonSize: "tiny" | "small" | "medium" | "large";
16
+ isCircle: boolean;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -2,6 +2,7 @@ type __VLS_Props = {
2
2
  usedInSectionId: string;
3
3
  sectionIdx: number;
4
4
  sectionListId: string;
5
+ printModeIdx?: number;
5
6
  };
6
7
  declare function __VLS_template(): {
7
8
  attrs: Partial<{}>;
@@ -3,6 +3,7 @@ import { CanvasRetrieve } from '../../../../../../types/openapi';
3
3
  type __VLS_Props = {
4
4
  item: ContentGridItemSlideProps | ContentGridItemFileProps;
5
5
  usedInSectionId?: CanvasRetrieve['id'];
6
+ isLast?: boolean;
6
7
  };
7
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
8
9
  deletedFileClicked: () => any;
@@ -1,4 +1,4 @@
1
- import { HtmlProps, ComponentNode } from '../../../types/canvas';
1
+ import { HtmlProps, ComponentNode, ComponentTypes } from '../../../types/canvas';
2
2
  import { CanvasRetrieve } from '../../../../../../types/openapi';
3
3
  type __VLS_Props = {
4
4
  id: string;
@@ -7,6 +7,7 @@ type __VLS_Props = {
7
7
  usedInSectionId?: CanvasRetrieve['id'];
8
8
  visible?: ComponentNode['visible'];
9
9
  tracking_id?: string;
10
+ parentType?: ComponentTypes;
10
11
  };
11
12
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
13
  when_used_in_section: {
@@ -14,5 +15,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
14
15
  is_removable: boolean;
15
16
  };
16
17
  usedInSectionId: CanvasRetrieve["id"];
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
19
+ contentElement: HTMLDivElement;
20
+ }, any>;
18
21
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'vue';
2
- import { ComponentNode, ScribbleProps } from '../../../types/canvas';
2
+ import { ComponentNode, ScribbleProps, ComponentNodeThemeMeta } from '../../../types/canvas';
3
3
  import { CanvasRetrieve } from '../../../../../../types/openapi';
4
4
  type __VLS_Props = {
5
5
  id: string;
@@ -10,6 +10,7 @@ type __VLS_Props = {
10
10
  visible?: ComponentNode['visible'];
11
11
  tracking_id?: string;
12
12
  style?: CSSProperties;
13
+ theme_meta?: ComponentNodeThemeMeta;
13
14
  };
14
15
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
16
  style: (s: CSSProperties, id?: string | undefined) => any;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'vue';
2
- import { ComponentNode, ScribbleProps } from '../../../types/canvas';
2
+ import { ComponentNode, ScribbleProps, ComponentNodeThemeMeta } from '../../../types/canvas';
3
3
  import { CanvasRetrieve } from '../../../../../../types/openapi';
4
4
  type __VLS_Props = {
5
5
  id: string;
@@ -10,6 +10,7 @@ type __VLS_Props = {
10
10
  visible?: ComponentNode['visible'];
11
11
  tracking_id?: string;
12
12
  style?: CSSProperties;
13
+ theme_meta?: ComponentNodeThemeMeta;
13
14
  };
14
15
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
16
  style: (s: CSSProperties, id?: string | undefined) => any;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'vue';
2
- import { ComponentNode, ScribbleProps } from '../../../types/canvas';
2
+ import { ComponentNode, ScribbleProps, ComponentNodeThemeMeta } from '../../../types/canvas';
3
3
  import { CanvasRetrieve } from '../../../../../../types/openapi';
4
4
  type __VLS_Props = {
5
5
  id: string;
@@ -10,6 +10,7 @@ type __VLS_Props = {
10
10
  visible?: ComponentNode['visible'];
11
11
  tracking_id?: string;
12
12
  style?: CSSProperties;
13
+ theme_meta?: ComponentNodeThemeMeta;
13
14
  };
14
15
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
16
  style: (s: CSSProperties, id?: string | undefined) => any;
@@ -1,5 +1,14 @@
1
+ import { ComponentNode } from '../../../types/canvas';
1
2
  export declare const ACTUAL_CANVAS_WIDTH: number;
2
3
  export declare function calculateProportionalDimensions(originalWidth: number, originalHeight: number, targetWidth?: number): {
3
4
  width: number;
4
5
  height: number;
5
6
  };
7
+ export declare function getComponentPositionStyle(component: ComponentNode): {
8
+ position: any;
9
+ left: any;
10
+ top: any;
11
+ width: any;
12
+ height: any;
13
+ zIndex: any;
14
+ };