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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/js-api.esm.js +28 -5
  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/assets-manager/App.vue.d.ts +75 -0
  6. package/lib/apps/assets-manager/AssetsTab.vue.d.ts +22 -0
  7. package/lib/apps/assets-manager/components/AssetGridItem.vue.d.ts +16 -0
  8. package/lib/apps/browser/App.vue.d.ts +3 -1
  9. package/lib/apps/browser/appTypes.d.ts +4 -0
  10. package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +9 -5
  11. package/lib/apps/browser/stores/api.d.ts +29 -11
  12. package/lib/apps/browser/stores/app.d.ts +3 -0
  13. package/lib/apps/browser/stores/upload.d.ts +16 -20
  14. package/lib/apps/browser/types/actionKeys.d.ts +22 -0
  15. package/lib/apps/canvas-builder/App.vue.d.ts +302 -261
  16. package/lib/apps/canvas-builder/components/container/AnnotationMenu/AnnotationMenu.vue.d.ts +60 -0
  17. package/lib/apps/canvas-builder/components/container/CanvasContent/AnnotationContent.vue.d.ts +8 -0
  18. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +11 -0
  19. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +7 -0
  20. package/lib/apps/canvas-builder/components/container/EditableComponent/{EditableComponentRevamp.vue.d.ts → EditableComponentContent.vue.d.ts} +13 -0
  21. package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +4 -0
  22. package/lib/apps/canvas-builder/components/container/PopupApps/AdaptivePopupAppsButtons.vue.d.ts +17 -0
  23. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +2 -0
  24. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.utils.d.ts +16 -0
  25. package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +1 -0
  26. package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +9 -5
  27. package/lib/apps/canvas-builder/components/ui/Html/CAiHtmlActions.vue.d.ts +23 -0
  28. package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +1 -0
  29. package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +9 -5
  30. package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +6 -2
  31. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +7 -7
  32. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +154 -0
  33. package/lib/apps/canvas-builder/composables/useAnnotation.d.ts +29 -0
  34. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +631 -29
  35. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +12 -16
  36. package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +3 -1
  37. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +6 -4
  38. package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -0
  39. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +18 -4
  40. package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -1
  41. package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -2
  42. package/lib/apps/canvas-builder/composables/useCrmShapeWithSectionContext.d.ts +5 -0
  43. package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -0
  44. package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +0 -4
  45. package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +1 -1
  46. package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +98 -0
  47. package/lib/apps/canvas-builder/composables/useScribbleToolbar.d.ts +11 -0
  48. package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +1 -0
  49. package/lib/apps/canvas-builder/types/canvas.d.ts +22 -0
  50. package/lib/apps/canvas-builder/util/canvas.util.d.ts +1 -0
  51. package/lib/apps/canvas-builder/util/iframe.util.d.ts +16 -0
  52. package/lib/apps/canvas-selector/components/CanvasSelectionArea.vue.d.ts +171 -1
  53. package/lib/apps/canvas-selector/components/Sections.vue.d.ts +160 -1
  54. package/lib/apps/canvas-selector/stores/app.d.ts +14 -14
  55. package/lib/apps/collection-player/App.vue.d.ts +1 -0
  56. package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +5 -1
  57. package/lib/apps/collection-player/stores/app.store.d.ts +3 -0
  58. package/lib/apps/collection-player/types/collection-player.type.d.ts +17 -0
  59. package/lib/apps/collection-selector/App.vue.d.ts +7 -7
  60. package/lib/apps/collection-selector/stores/app.store.d.ts +4 -2
  61. package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +16 -7
  62. package/lib/apps/collection-selector/utils/data.util.d.ts +4 -4
  63. package/lib/apps/content-selector/App.vue.d.ts +2 -0
  64. package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +1 -0
  65. package/lib/apps/content-selector/components/Content.vue.d.ts +74 -1
  66. package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +12 -2
  67. package/lib/apps/content-selector/stores/app.d.ts +16 -1
  68. package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +4 -1
  69. package/lib/apps/ppt-conversion-selector/utils/thumbnail.util.d.ts +1 -0
  70. package/lib/components/CAlgoliaSearch/CAlgoliaSearch.vue.d.ts +15 -0
  71. package/lib/components/CCarousel/CCarousel.vue.d.ts +20 -0
  72. package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +3 -0
  73. package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +5 -3
  74. package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +2 -0
  75. package/lib/components/CContactSelector/CContactSelector.vue.d.ts +3 -0
  76. package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +31 -0
  77. package/lib/components/CFileViewer/CFileViewer.vue.d.ts +1 -9
  78. package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +0 -5
  79. package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +2 -6
  80. package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +9 -5
  81. package/lib/components/CImage/CImage.vue.d.ts +11 -0
  82. package/lib/components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue.d.ts +1 -1
  83. package/lib/components/CPillSelect/CPillSelect.vue.d.ts +14 -0
  84. package/lib/components/CPopularityAndEngagementIcons/CPopularityAndEngagementExtended.vue.d.ts +1 -1
  85. package/lib/components/CProcessingOverlay/CProcessingOverlay.vue.d.ts +19 -0
  86. package/lib/components/CRenameModal/CRenameModal.vue.d.ts +28 -0
  87. package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +2 -0
  88. package/lib/components/CSectionSelectionActions/CSectionSelectionActions.vue.d.ts +19 -0
  89. package/lib/components/CSectionSmartFolders/CSectionSmartFolders.vue.d.ts +27 -1
  90. package/lib/components/CSectionSmartFolders/CSectionSmartFoldersToolbar.vue.d.ts +11 -0
  91. package/lib/components/CSlideViewer/CSlideViewer.pdfjs.vue.d.ts +18 -0
  92. package/lib/components/CSlideViewer/CSlideViewer.pspdfkit.vue.d.ts +14 -0
  93. package/lib/components/CSlideViewer/CSlideViewer.vue.d.ts +2 -7
  94. package/lib/components/CUserMenu/CUserMenu.vue.d.ts +1 -0
  95. package/lib/components/assignedCanvases/CAssignedCanvasesManagement.vue.d.ts +438 -0
  96. package/lib/components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue.d.ts +41 -0
  97. package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +44 -60
  98. package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +13 -19
  99. package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +17 -17
  100. package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +2 -2
  101. package/lib/components/filters/CSearchFilter.vue.d.ts +3 -1
  102. package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +7 -7
  103. package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +2 -2
  104. package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +2 -0
  105. package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +12 -8
  106. package/lib/components/sections/CSectionManagement.vue.d.ts +24 -0
  107. package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +7 -0
  108. package/lib/components/themes/CThemeManagement.vue.d.ts +96 -10
  109. package/lib/components/themes/CThemeManagementToolbar.vue.d.ts +31 -3
  110. package/lib/composables/appsDb.use.d.ts +2 -2
  111. package/lib/composables/bulkActions.use.d.ts +2 -2
  112. package/lib/composables/useBroadcastRouteChange.d.ts +4 -0
  113. package/lib/composables/useCanvasStandardFilters.d.ts +35 -0
  114. package/lib/composables/useDeleteUsedCanvasesConfirmation.d.ts +23 -0
  115. package/lib/composables/useFileDisplayHelpers.d.ts +6 -2
  116. package/lib/composables/useFileInfo.d.ts +30 -0
  117. package/lib/composables/useFilterSuggestions.d.ts +8 -16
  118. package/lib/composables/useFolderNameDescription.d.ts +25 -0
  119. package/lib/composables/useLegacyCollectionFileLoader.d.ts +31 -0
  120. package/lib/composables/useMetadataSearch.d.ts +1 -0
  121. package/lib/composables/usePolling.d.ts +23 -0
  122. package/lib/composables/useWindowEvents.d.ts +1 -0
  123. package/lib/constants/cdp.const.d.ts +2 -0
  124. package/lib/constants/tables.const.d.ts +1 -1
  125. package/lib/custom-naive-locales/it.d.ts +124 -0
  126. package/lib/custom-naive-locales/ja.d.ts +124 -0
  127. package/lib/custom-naive-locales/nl.d.ts +124 -0
  128. package/lib/custom-naive-locales/pt.d.ts +124 -0
  129. package/lib/custom-naive-locales/th.d.ts +124 -0
  130. package/lib/custom-naive-locales/zh.d.ts +124 -0
  131. package/lib/main.lib.d.ts +16 -3
  132. package/lib/modules/algolia-instantsearch.d.ts +1 -0
  133. package/lib/sdk/api/HighLevelApi.d.ts +3 -2
  134. package/lib/sdk/api/modules/dsr/files.dsr.d.ts +12 -0
  135. package/lib/sdk/api/modules/dsr/index.d.ts +3 -0
  136. package/lib/sdk/api/modules/dsr/types.dsr.d.ts +1 -0
  137. package/lib/sdk/api/modules/files.d.ts +2 -2
  138. package/lib/sdk/api/modules/ui/types.ui.d.ts +2 -0
  139. package/lib/sdk/api/modules/webView.d.ts +2 -1
  140. package/lib/sdk/interfaces.d.ts +46 -2
  141. package/lib/sdk/main.d.ts +15 -6
  142. package/lib/sdk/payload.types.d.ts +17 -0
  143. package/lib/stores/sectionSmartFolderStore.d.ts +2 -0
  144. package/lib/types/files.d.ts +2 -0
  145. package/lib/types/i18n.types.d.ts +1 -1
  146. package/lib/types/instanceSettings.types.d.ts +6 -1
  147. package/lib/types/launchDarkly.types.d.ts +2 -4
  148. package/lib/types/organizationSettings.types.d.ts +23 -0
  149. package/lib/types/sfdc.d.ts +1 -0
  150. package/lib/util/soql.util.d.ts +2 -0
  151. package/lib/util/storage.util.d.ts +2 -0
  152. package/lib/util/string.d.ts +1 -1
  153. package/lib/util/toCssClassKey.d.ts +1 -0
  154. package/lib/utils/defaultThumbnail.util.d.ts +3 -0
  155. package/lib/utils/iframeInitialize.d.ts +12 -0
  156. package/package.json +1 -1
  157. package/types/openapi/index.d.ts +7 -0
  158. package/types/openapi/models/Canvas.d.ts +1 -1
  159. package/types/openapi/models/CanvasCreate.d.ts +2 -2
  160. package/types/openapi/models/CanvasCreateRequest.d.ts +2 -2
  161. package/types/openapi/models/CanvasRecommendedFile.d.ts +0 -2
  162. package/types/openapi/models/CanvasRetrieve.d.ts +2 -2
  163. package/types/openapi/models/CanvasSection.d.ts +1 -0
  164. package/types/openapi/models/CanvasUpdate.d.ts +2 -2
  165. package/types/openapi/models/CanvasUpdateRequest.d.ts +2 -2
  166. package/types/openapi/models/ContentDistributionGroup.d.ts +1 -0
  167. package/types/openapi/models/ContentDistributionGroupCreate.d.ts +1 -0
  168. package/types/openapi/models/DeletedCanvas.d.ts +1 -1
  169. package/types/openapi/models/DeletedContentDistributionGroup.d.ts +1 -0
  170. package/types/openapi/models/DeletedFile.d.ts +0 -2
  171. package/types/openapi/models/DeletedFolder.d.ts +3 -0
  172. package/types/openapi/models/DeletedInstance.d.ts +2 -0
  173. package/types/openapi/models/DeletedRegion.d.ts +12 -0
  174. package/types/openapi/models/FavoriteFolder.d.ts +3 -0
  175. package/types/openapi/models/FavoriteFolderRequest.d.ts +3 -0
  176. package/types/openapi/models/File.d.ts +0 -2
  177. package/types/openapi/models/FileCreate.d.ts +0 -2
  178. package/types/openapi/models/FileCreateRequest.d.ts +0 -1
  179. package/types/openapi/models/FileRetrieve.d.ts +0 -2
  180. package/types/openapi/models/FileUpdate.d.ts +0 -2
  181. package/types/openapi/models/FileUpdateRequest.d.ts +0 -1
  182. package/types/openapi/models/Folder.d.ts +3 -0
  183. package/types/openapi/models/FolderCreate.d.ts +2 -1
  184. package/types/openapi/models/FolderFolder.d.ts +5 -0
  185. package/types/openapi/models/FolderRetrieve.d.ts +5 -1
  186. package/types/openapi/models/FolderUpdate.d.ts +2 -1
  187. package/types/openapi/models/Instance.d.ts +2 -0
  188. package/types/openapi/models/InstanceMembership.d.ts +4 -0
  189. package/types/openapi/models/InstanceMembershipCreate.d.ts +4 -0
  190. package/types/openapi/models/InstanceMembershipCreateRequest.d.ts +4 -0
  191. package/types/openapi/models/InstanceMembershipRequest.d.ts +4 -0
  192. package/types/openapi/models/InstanceMembershipUser.d.ts +0 -2
  193. package/types/openapi/models/InstanceRequest.d.ts +1 -0
  194. package/types/openapi/models/InstanceUpdate.d.ts +2 -0
  195. package/types/openapi/models/InstanceUpdateRequest.d.ts +1 -0
  196. package/types/openapi/models/MiniRegion.d.ts +4 -0
  197. package/types/openapi/models/MiniRegionRequest.d.ts +3 -0
  198. package/types/openapi/models/OrganizationAnalyticsInstance.d.ts +2 -0
  199. package/types/openapi/models/OrganizationAnalyticsTop3Instances.d.ts +2 -0
  200. package/types/openapi/models/PaginatedRegionList.d.ts +7 -0
  201. package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +2 -2
  202. package/types/openapi/models/PatchedFileUpdateRequest.d.ts +0 -1
  203. package/types/openapi/models/PatchedInstanceMembershipRequest.d.ts +4 -0
  204. package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +1 -0
  205. package/types/openapi/models/PatchedRegionRequest.d.ts +3 -0
  206. package/types/openapi/models/Region.d.ts +10 -0
  207. package/types/openapi/models/RegionRequest.d.ts +3 -0
  208. package/types/openapi/models/SharedLinkCanvas.d.ts +1 -1
  209. package/types/openapi/models/SharedLinkCanvasRequest.d.ts +1 -1
  210. package/types/openapi/models/User.d.ts +1 -0
  211. package/lib/components/CFileViewer/pdf/CFileViewer.pageThumbFavorite.pdf.use.d.ts +0 -10
  212. package/lib/components/CImage/CBrokenImage.vue.d.ts +0 -10
  213. package/lib/directives/usage-track.directive.d.ts +0 -10
  214. package/lib/util/usage-tracking.util.d.ts +0 -5
@@ -0,0 +1,60 @@
1
+ type __VLS_Props = {
2
+ circle?: 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, {
5
+ annotationMenuRef: ({
6
+ $: import('vue').ComponentInternalInstance;
7
+ $data: {};
8
+ $props: {
9
+ readonly iconPlacement?: "left" | "right" | undefined;
10
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
11
+ $attrs: {
12
+ [x: string]: unknown;
13
+ };
14
+ $refs: {
15
+ [x: string]: unknown;
16
+ };
17
+ $slots: Readonly<{
18
+ [name: string]: import('vue').Slot<any> | undefined;
19
+ }>;
20
+ $root: import('vue').ComponentPublicInstance | null;
21
+ $parent: import('vue').ComponentPublicInstance | null;
22
+ $host: Element | null;
23
+ $emit: (event: string, ...args: any[]) => void;
24
+ $el: any;
25
+ $options: import('vue').ComponentOptionsBase<Readonly<{
26
+ iconPlacement?: "left" | "right";
27
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
28
+ iconPlacement: "left" | "right";
29
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
30
+ beforeCreate?: (() => void) | (() => void)[];
31
+ created?: (() => void) | (() => void)[];
32
+ beforeMount?: (() => void) | (() => void)[];
33
+ mounted?: (() => void) | (() => void)[];
34
+ beforeUpdate?: (() => void) | (() => void)[];
35
+ updated?: (() => void) | (() => void)[];
36
+ activated?: (() => void) | (() => void)[];
37
+ deactivated?: (() => void) | (() => void)[];
38
+ beforeDestroy?: (() => void) | (() => void)[];
39
+ beforeUnmount?: (() => void) | (() => void)[];
40
+ destroyed?: (() => void) | (() => void)[];
41
+ unmounted?: (() => void) | (() => void)[];
42
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
43
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
44
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
45
+ };
46
+ $forceUpdate: () => void;
47
+ $nextTick: typeof import('vue').nextTick;
48
+ $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;
49
+ } & Readonly<{
50
+ iconPlacement: "left" | "right";
51
+ }> & Omit<Readonly<{
52
+ iconPlacement?: "left" | "right";
53
+ }> & Readonly<{}>, "iconPlacement"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
54
+ $slots: {
55
+ icon?(_: {}): any;
56
+ default?(_: {}): any;
57
+ };
58
+ }) | null;
59
+ }, any>;
60
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ repaint: () => any;
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
+ onRepaint?: (() => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
6
+ editorContainer: HTMLDivElement;
7
+ }, any>;
8
+ export default _default;
@@ -13,6 +13,7 @@ type __VLS_Props = {
13
13
  stylable?: boolean;
14
14
  collapsible?: boolean;
15
15
  showOnlyTopToolbar?: boolean;
16
+ showOnlyBottomToolbar?: boolean;
16
17
  immovable?: boolean;
17
18
  excludeStylables?: ThemeComponentOptionEnum[];
18
19
  add?: boolean;
@@ -65,7 +66,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
65
66
  pageId?: string;
66
67
  thumbnailUrl?: string;
67
68
  }) => any;
69
+ "asset-change": (args_0: {
70
+ assetId: string;
71
+ }) => any;
68
72
  "variant-change": (variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any;
73
+ "resize-start": () => any;
74
+ "resize-end": () => any;
69
75
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
70
76
  onAdd?: (() => any) | undefined;
71
77
  onRemove?: (() => any) | undefined;
@@ -85,7 +91,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
85
91
  pageId?: string;
86
92
  thumbnailUrl?: string;
87
93
  }) => any) | undefined;
94
+ "onAsset-change"?: ((args_0: {
95
+ assetId: string;
96
+ }) => any) | undefined;
88
97
  "onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
98
+ "onResize-start"?: (() => any) | undefined;
99
+ "onResize-end"?: (() => any) | undefined;
89
100
  }>, {
90
101
  collapsible: boolean;
91
102
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -35,6 +35,7 @@ type __VLS_Props = {
35
35
  showActionSeparator: boolean;
36
36
  parentType?: ComponentTypes;
37
37
  borderRadius: ThemeBorderRadius;
38
+ to?: HTMLElement | string;
38
39
  };
39
40
  declare function __VLS_template(): {
40
41
  attrs: Partial<{}>;
@@ -62,6 +63,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
62
63
  pageId?: string;
63
64
  thumbnailUrl?: string;
64
65
  }) => any;
66
+ "asset-change": (args_0: {
67
+ assetId: string;
68
+ }) => any;
65
69
  updateHeight: (height?: string | null | undefined) => any;
66
70
  updatePadding: (padding: ThemePadding) => any;
67
71
  updateMarginBottom: (value: number | null) => any;
@@ -87,6 +91,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
87
91
  pageId?: string;
88
92
  thumbnailUrl?: string;
89
93
  }) => any) | undefined;
94
+ "onAsset-change"?: ((args_0: {
95
+ assetId: string;
96
+ }) => any) | undefined;
90
97
  onUpdateHeight?: ((height?: string | null | undefined) => any) | undefined;
91
98
  onUpdatePadding?: ((padding: ThemePadding) => any) | undefined;
92
99
  onUpdateMarginBottom?: ((value: number | null) => any) | undefined;
@@ -35,6 +35,8 @@ type __VLS_Props = {
35
35
  selected?: DropdownOption['key'];
36
36
  };
37
37
  showOnlyTopToolbar?: boolean;
38
+ to?: HTMLElement | string;
39
+ showOnlyBottomToolbar?: boolean;
38
40
  };
39
41
  declare function __VLS_template(): {
40
42
  attrs: Partial<{}>;
@@ -69,7 +71,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
69
71
  pageId?: string;
70
72
  thumbnailUrl?: string;
71
73
  }) => any;
74
+ "asset-change": (args_0: {
75
+ assetId: string;
76
+ }) => any;
72
77
  "variant-change": (variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any;
78
+ "resize-start": () => any;
79
+ "resize-end": () => any;
73
80
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
74
81
  onAdd?: (() => any) | undefined;
75
82
  onRemove?: (() => any) | undefined;
@@ -89,13 +96,19 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
89
96
  pageId?: string;
90
97
  thumbnailUrl?: string;
91
98
  }) => any) | undefined;
99
+ "onAsset-change"?: ((args_0: {
100
+ assetId: string;
101
+ }) => any) | undefined;
92
102
  "onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
103
+ "onResize-start"?: (() => any) | undefined;
104
+ "onResize-end"?: (() => any) | undefined;
93
105
  }>, {
94
106
  resizable: boolean;
95
107
  collapsible: boolean;
96
108
  resizeHandles: ResizeHandlePosition[];
97
109
  resizeMaintainAspectRatio: boolean;
98
110
  showOnlyTopToolbar: boolean;
111
+ showOnlyBottomToolbar: boolean;
99
112
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
100
113
  componentRef: HTMLDivElement;
101
114
  topHandlerRef: HTMLDivElement;
@@ -11,8 +11,12 @@ type __VLS_Props = {
11
11
  };
12
12
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
13
  "update:modelValue": (value: Record<string, any>) => any;
14
+ "resize-start": () => any;
15
+ "resize-end": () => any;
14
16
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
17
  "onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
18
+ "onResize-start"?: (() => any) | undefined;
19
+ "onResize-end"?: (() => any) | undefined;
16
20
  }>, {
17
21
  handles: ResizeHandlePosition[];
18
22
  maintainAspectRatio: boolean;
@@ -0,0 +1,17 @@
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
+ }
8
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
9
+ iconSize: string | number;
10
+ placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
11
+ buttonClass: string;
12
+ buttonSize: "tiny" | "small" | "medium" | "large";
13
+ isCircle: boolean;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ containerRef: HTMLDivElement;
16
+ }, HTMLDivElement>;
17
+ export default _default;
@@ -44,6 +44,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
44
44
  isFullscreen: Ref<boolean, boolean>;
45
45
  handleKeyAction: ActionCallback;
46
46
  element: Ref<HTMLElement | null, HTMLElement | null>;
47
+ updateResolvedData: (resolvedData: CollectionPlayer) => void;
47
48
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
49
  click: (event: MouseEvent) => any;
49
50
  close: () => any;
@@ -74,6 +75,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
74
75
  isFullscreen: Ref<boolean, boolean>;
75
76
  handleKeyAction: ActionCallback;
76
77
  element: Ref<HTMLElement | null, HTMLElement | null>;
78
+ updateResolvedData: (resolvedData: CollectionPlayer) => void;
77
79
  }, {}, {}, {}, {}> | null;
78
80
  }, HTMLDivElement>;
79
81
  export default _default;
@@ -0,0 +1,16 @@
1
+ import { DynamicDataTableProps, DynamicDatatableProperty } from '../../../types/canvas';
2
+ /**
3
+ * Calculate the background color for a table row based on striping configuration
4
+ * @param idx - The row index (0-based)
5
+ * @param data - The dynamic data table props containing striping configuration
6
+ * @param themeVars - The theme variables containing color values
7
+ * @returns The background color string for the row
8
+ */
9
+ export declare function getRowBackgroundColor(idx: number, data: DynamicDataTableProps | undefined, themeVars: Record<string, any>): string;
10
+ /**
11
+ * Format a cell value based on the property's format configuration
12
+ * @param value - The raw value to format
13
+ * @param property - The property configuration including format settings
14
+ * @returns The formatted string representation of the value
15
+ */
16
+ export declare function formatCellValue(value: any, property: DynamicDatatableProperty): string;
@@ -17,6 +17,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
17
17
  };
18
18
  usedInSectionId: CanvasRetrieve["id"];
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
20
+ embeddableContainer: HTMLDivElement;
20
21
  embeddableIframe: HTMLIFrameElement;
21
22
  }, any>;
22
23
  export default _default;
@@ -307,14 +307,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
307
307
  }>, {
308
308
  validate: () => Promise<{
309
309
  config: Record<string, any>;
310
- success: boolean;
310
+ success: true;
311
311
  errors?: undefined;
312
+ firstErrorFieldName?: undefined;
312
313
  } | {
313
314
  config: Record<string, any>;
314
315
  errors: unknown;
315
- success: boolean;
316
+ firstErrorFieldName: string | undefined;
317
+ success: false;
316
318
  }>;
317
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
319
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
318
320
  change: (config: Record<string, any>) => any;
319
321
  }, import('vue').PublicProps, {
320
322
  loading: boolean;
@@ -629,12 +631,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
629
631
  }>, {
630
632
  validate: () => Promise<{
631
633
  config: Record<string, any>;
632
- success: boolean;
634
+ success: true;
633
635
  errors?: undefined;
636
+ firstErrorFieldName?: undefined;
634
637
  } | {
635
638
  config: Record<string, any>;
636
639
  errors: unknown;
637
- success: boolean;
640
+ firstErrorFieldName: string | undefined;
641
+ success: false;
638
642
  }>;
639
643
  }, {}, {}, {}, {
640
644
  loading: boolean;
@@ -0,0 +1,23 @@
1
+ import { StyleValue } from 'vue';
2
+ interface Props {
3
+ modelValue: string;
4
+ themeOverrides?: {
5
+ active: StyleValue;
6
+ default: StyleValue;
7
+ };
8
+ }
9
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string) => any;
11
+ startLoading: () => any;
12
+ endLoading: () => any;
13
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
+ onStartLoading?: (() => any) | undefined;
16
+ onEndLoading?: (() => any) | undefined;
17
+ }>, {
18
+ themeOverrides: {
19
+ active: StyleValue;
20
+ default: StyleValue;
21
+ };
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ export default _default;
@@ -16,6 +16,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
16
16
  };
17
17
  usedInSectionId: string;
18
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
19
+ iframeContainer: HTMLDivElement;
19
20
  iframe: HTMLIFrameElement;
20
21
  }, any>;
21
22
  export default _default;
@@ -15,14 +15,16 @@ declare const _default: import('vue').DefineComponent<{}, {
15
15
  }>, {
16
16
  validate: () => Promise<{
17
17
  config: Record<string, any>;
18
- success: boolean;
18
+ success: true;
19
19
  errors?: undefined;
20
+ firstErrorFieldName?: undefined;
20
21
  } | {
21
22
  config: Record<string, any>;
22
23
  errors: unknown;
23
- success: boolean;
24
+ firstErrorFieldName: string | undefined;
25
+ success: false;
24
26
  }>;
25
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
27
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
28
  change: (config: Record<string, any>) => any;
27
29
  }, import('vue').PublicProps, {
28
30
  loading: boolean;
@@ -337,12 +339,14 @@ declare const _default: import('vue').DefineComponent<{}, {
337
339
  }>, {
338
340
  validate: () => Promise<{
339
341
  config: Record<string, any>;
340
- success: boolean;
342
+ success: true;
341
343
  errors?: undefined;
344
+ firstErrorFieldName?: undefined;
342
345
  } | {
343
346
  config: Record<string, any>;
344
347
  errors: unknown;
345
- success: boolean;
348
+ firstErrorFieldName: string | undefined;
349
+ success: false;
346
350
  }>;
347
351
  }, {}, {}, {}, {
348
352
  loading: boolean;
@@ -17,7 +17,9 @@ declare function __VLS_template(): {
17
17
  section: import('../../../../../../types/openapi').CanvasSection;
18
18
  }): any;
19
19
  };
20
- refs: {};
20
+ refs: {
21
+ rootRef: HTMLElement;
22
+ };
21
23
  rootEl: any;
22
24
  };
23
25
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -25,7 +27,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
25
27
  close: (save?: boolean | undefined) => any;
26
28
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
27
29
  onClose?: ((save?: boolean | undefined) => any) | undefined;
28
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
+ rootRef: HTMLElement;
32
+ }, any>;
29
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
34
  export default _default;
31
35
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -13,27 +13,27 @@ type __VLS_Props = {
13
13
  selectedItemIds?: CanvasRetrieve['id'][];
14
14
  };
15
15
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ "clear-selection": () => any;
17
+ "items-added": (itemIds: string[], position?: "bottom" | "top" | undefined) => any;
18
+ "items-removed": (itemIds: string[]) => any;
16
19
  "toggle-select-all": () => any;
17
20
  "page-first": () => any;
18
21
  "page-last": () => any;
19
22
  "page-next": () => any;
20
23
  "page-previous": () => any;
21
- "clear-selection": () => any;
22
- "items-added": (itemIds: string[], position?: "bottom" | "top" | undefined) => any;
23
- "items-removed": (itemIds: string[]) => any;
24
24
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
25
+ "onClear-selection"?: (() => any) | undefined;
26
+ "onItems-added"?: ((itemIds: string[], position?: "bottom" | "top" | undefined) => any) | undefined;
27
+ "onItems-removed"?: ((itemIds: string[]) => any) | undefined;
25
28
  "onToggle-select-all"?: (() => any) | undefined;
26
29
  "onPage-first"?: (() => any) | undefined;
27
30
  "onPage-last"?: (() => any) | undefined;
28
31
  "onPage-next"?: (() => any) | undefined;
29
32
  "onPage-previous"?: (() => any) | undefined;
30
- "onClear-selection"?: (() => any) | undefined;
31
- "onItems-added"?: ((itemIds: string[], position?: "bottom" | "top" | undefined) => any) | undefined;
32
- "onItems-removed"?: ((itemIds: string[]) => any) | undefined;
33
33
  }>, {
34
34
  loading: boolean;
35
+ addedItemIds: CanvasRetrieve["id"][];
35
36
  selectedItemIds: CanvasRetrieve["id"][];
36
37
  disablePagination: boolean;
37
- addedItemIds: CanvasRetrieve["id"][];
38
38
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
39
39
  export default _default;
@@ -1,3 +1,4 @@
1
+ import { nextTick } from 'vue';
1
2
  import { SectionListProps } from '../../../types/canvas';
2
3
  import { CanvasRetrieve, Canvas } from '../../../../../../types/openapi';
3
4
  type __VLS_Props = {
@@ -17,6 +18,159 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
17
18
  selectionStrategy: "app" | "single" | "free" | "at-least-one";
18
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
19
20
  toolbarWrapper: HTMLDivElement;
21
+ smartFoldersRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
22
+ storageKey: string;
23
+ mode: "management" | "selector";
24
+ selectedSectionIds?: CanvasRetrieve["id"][];
25
+ addedSectionIds?: CanvasRetrieve["id"][];
26
+ }> & Readonly<{
27
+ "onClear-selection"?: (() => any) | undefined;
28
+ "onOpen-section"?: ((section: CanvasRetrieve) => any) | undefined;
29
+ "onEdit-section"?: ((section: CanvasRetrieve) => any) | undefined;
30
+ "onSection-select"?: ((section: CanvasRetrieve) => any) | undefined;
31
+ "onSection-add"?: ((section: CanvasRetrieve) => any) | undefined;
32
+ "onSection-remove"?: ((section: CanvasRetrieve) => any) | undefined;
33
+ "onSections-bulk-add"?: ((sections: CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any) | undefined;
34
+ "onSections-bulk-remove"?: ((sections: CanvasRetrieve[]) => any) | undefined;
35
+ }>, {
36
+ showConfigurationModal: () => void;
37
+ addSelectedSections: (position?: "top" | "bottom") => void;
38
+ removeSelectedSections: () => void;
39
+ getSelectedSections: () => CanvasRetrieve[];
40
+ calculateContentHeight: () => void;
41
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
+ "clear-selection": () => any;
43
+ "open-section": (section: CanvasRetrieve) => any;
44
+ "edit-section": (section: CanvasRetrieve) => any;
45
+ "section-select": (section: CanvasRetrieve) => any;
46
+ "section-add": (section: CanvasRetrieve) => any;
47
+ "section-remove": (section: CanvasRetrieve) => any;
48
+ "sections-bulk-add": (sections: CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any;
49
+ "sections-bulk-remove": (sections: CanvasRetrieve[]) => any;
50
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
51
+ containerRef: HTMLDivElement;
52
+ toolbarRef: HTMLDivElement;
53
+ listRef: ({
54
+ $: import('vue').ComponentInternalInstance;
55
+ $data: {};
56
+ $props: {
57
+ readonly data: import('../../../../../components/CList/CList.vue').ListDataItem[];
58
+ readonly selectedIds?: (number | string)[] | undefined;
59
+ readonly maxRowHeight: number;
60
+ readonly height?: number | undefined;
61
+ readonly movable?: boolean | undefined;
62
+ readonly onMove?: ((...args: any[]) => any) | undefined;
63
+ readonly "onItem:click"?: ((...args: any[]) => any) | undefined;
64
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
65
+ $attrs: {
66
+ [x: string]: unknown;
67
+ };
68
+ $refs: {
69
+ [x: string]: unknown;
70
+ } & {
71
+ virtualizerContainerRef: HTMLDivElement;
72
+ };
73
+ $slots: Readonly<{
74
+ [name: string]: import('vue').Slot<any> | undefined;
75
+ }>;
76
+ $root: import('vue').ComponentPublicInstance | null;
77
+ $parent: import('vue').ComponentPublicInstance | null;
78
+ $host: Element | null;
79
+ $emit: ((event: "move", ...args: any[]) => void) & ((event: "item:click", ...args: any[]) => void);
80
+ $el: HTMLDivElement;
81
+ $options: import('vue').ComponentOptionsBase<Readonly<{
82
+ data: import('../../../../../components/CList/CList.vue').ListDataItem[];
83
+ selectedIds?: (number | string)[];
84
+ maxRowHeight: number;
85
+ height?: number;
86
+ movable?: boolean;
87
+ }> & Readonly<{
88
+ onMove?: ((...args: any[]) => any) | undefined;
89
+ "onItem:click"?: ((...args: any[]) => any) | undefined;
90
+ }>, {
91
+ updateContextMenuItem: (item: import('../../../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
92
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
93
+ move: (...args: any[]) => void;
94
+ "item:click": (...args: any[]) => void;
95
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
96
+ beforeCreate?: (() => void) | (() => void)[];
97
+ created?: (() => void) | (() => void)[];
98
+ beforeMount?: (() => void) | (() => void)[];
99
+ mounted?: (() => void) | (() => void)[];
100
+ beforeUpdate?: (() => void) | (() => void)[];
101
+ updated?: (() => void) | (() => void)[];
102
+ activated?: (() => void) | (() => void)[];
103
+ deactivated?: (() => void) | (() => void)[];
104
+ beforeDestroy?: (() => void) | (() => void)[];
105
+ beforeUnmount?: (() => void) | (() => void)[];
106
+ destroyed?: (() => void) | (() => void)[];
107
+ unmounted?: (() => void) | (() => void)[];
108
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
109
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
110
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
111
+ };
112
+ $forceUpdate: () => void;
113
+ $nextTick: typeof nextTick;
114
+ $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;
115
+ } & Readonly<{}> & Omit<Readonly<{
116
+ data: import('../../../../../components/CList/CList.vue').ListDataItem[];
117
+ selectedIds?: (number | string)[];
118
+ maxRowHeight: number;
119
+ height?: number;
120
+ movable?: boolean;
121
+ }> & Readonly<{
122
+ onMove?: ((...args: any[]) => any) | undefined;
123
+ "onItem:click"?: ((...args: any[]) => any) | undefined;
124
+ }>, "updateContextMenuItem"> & import('vue').ShallowUnwrapRef<{
125
+ updateContextMenuItem: (item: import('../../../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
126
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
127
+ $slots: {
128
+ item?(_: {
129
+ index: number;
130
+ isContextMenuOpen: boolean;
131
+ isDraggedOver: boolean;
132
+ isSelected: boolean;
133
+ item: {
134
+ [key: string]: any;
135
+ id: number | string;
136
+ };
137
+ }): any;
138
+ 'item:context-menu'?(_: {
139
+ item: {
140
+ [key: string]: any;
141
+ id: number | string;
142
+ };
143
+ }): any;
144
+ };
145
+ }) | null;
146
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
147
+ P: {};
148
+ B: {};
149
+ D: {};
150
+ C: {};
151
+ M: {};
152
+ Defaults: {};
153
+ }, Readonly<{
154
+ storageKey: string;
155
+ mode: "management" | "selector";
156
+ selectedSectionIds?: CanvasRetrieve["id"][];
157
+ addedSectionIds?: CanvasRetrieve["id"][];
158
+ }> & Readonly<{
159
+ "onClear-selection"?: (() => any) | undefined;
160
+ "onOpen-section"?: ((section: CanvasRetrieve) => any) | undefined;
161
+ "onEdit-section"?: ((section: CanvasRetrieve) => any) | undefined;
162
+ "onSection-select"?: ((section: CanvasRetrieve) => any) | undefined;
163
+ "onSection-add"?: ((section: CanvasRetrieve) => any) | undefined;
164
+ "onSection-remove"?: ((section: CanvasRetrieve) => any) | undefined;
165
+ "onSections-bulk-add"?: ((sections: CanvasRetrieve[], position?: "bottom" | "top" | undefined, targetIndex?: number | undefined) => any) | undefined;
166
+ "onSections-bulk-remove"?: ((sections: CanvasRetrieve[]) => any) | undefined;
167
+ }>, {
168
+ showConfigurationModal: () => void;
169
+ addSelectedSections: (position?: "top" | "bottom") => void;
170
+ removeSelectedSections: () => void;
171
+ getSelectedSections: () => CanvasRetrieve[];
172
+ calculateContentHeight: () => void;
173
+ }, {}, {}, {}, {}> | null;
20
174
  sectionSelectorSelectedRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
21
175
  modelValue: Canvas[];
22
176
  }> & Readonly<{
@@ -0,0 +1,29 @@
1
+ import { MarkerArea } from '@markerjs/markerjs3';
2
+ import type * as Markerjs3 from '@markerjs/markerjs3';
3
+ export default function useAnnotation(): {
4
+ isVisibleMenu: import('vue').Ref<boolean, boolean>;
5
+ markerTools: import('vue').ComputedRef<{
6
+ [key: string]: {
7
+ marker: typeof Markerjs3.MarkerBase | "selection" | "eraseSelected" | "eraseAll" | null;
8
+ icon: string;
9
+ translationKey: string;
10
+ action?: () => void;
11
+ dividerBefore?: boolean;
12
+ };
13
+ }>;
14
+ activeToolIcon: import('vue').ComputedRef<string>;
15
+ activeTool: import('vue').Ref<string | typeof Markerjs3.MarkerBase | null, string | typeof Markerjs3.MarkerBase | null>;
16
+ isReady: import('vue').Ref<boolean, boolean>;
17
+ handleAnnotationSelect: (action: string) => void;
18
+ setActiveMarker: (marker: null | MarkerArea) => void;
19
+ activeMarker: import('vue').Ref<Markerjs3.MarkerArea | null, Markerjs3.MarkerArea | null>;
20
+ showMenu: (value: boolean) => boolean;
21
+ toggleMenu: () => boolean;
22
+ storage: Map<string, any>;
23
+ resetAnnotations: (notify?: boolean) => void;
24
+ triggerToolUpdate: () => void;
25
+ clearStorage: () => void;
26
+ applyShadowRootStyles: (shadowRoot: ShadowRoot) => void;
27
+ createNewImage: (width: number, height: number) => string;
28
+ isDrawingActive: import('vue').ComputedRef<boolean>;
29
+ };