@pitcher/js-api 1.25.0 → 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 (274) hide show
  1. package/js-api.esm.js +53 -7
  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/assets-manager/App.vue.d.ts +75 -0
  8. package/lib/apps/assets-manager/AssetsTab.vue.d.ts +22 -0
  9. package/lib/apps/assets-manager/components/AssetGridItem.vue.d.ts +16 -0
  10. package/lib/apps/browser/App.vue.d.ts +7 -5
  11. package/lib/apps/browser/appTypes.d.ts +4 -0
  12. package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +3 -0
  13. package/lib/apps/browser/components/Content/Common/SmartFolderListItem.vue.d.ts +4 -0
  14. package/lib/apps/browser/components/FileSmartFoldersToolbar.vue.d.ts +2 -2
  15. package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +9 -5
  16. package/lib/apps/browser/stores/api.d.ts +32 -12
  17. package/lib/apps/browser/stores/app.d.ts +3 -0
  18. package/lib/apps/browser/stores/upload.d.ts +16 -20
  19. package/lib/apps/browser/types/actionKeys.d.ts +22 -0
  20. package/lib/apps/canvas-builder/App.helpers.d.ts +2 -1
  21. package/lib/apps/canvas-builder/App.vue.d.ts +308 -262
  22. package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +4 -4
  23. package/lib/apps/canvas-builder/components/container/AnnotationMenu/AnnotationMenu.vue.d.ts +60 -0
  24. package/lib/apps/canvas-builder/components/container/CanvasCompletionWizard/CanvasCompletionWizard.vue.d.ts +12 -0
  25. package/lib/apps/canvas-builder/components/container/CanvasContent/AnnotationContent.vue.d.ts +8 -0
  26. package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.paginated.vue.d.ts +4 -1
  27. package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +1 -0
  28. package/lib/apps/canvas-builder/components/container/CanvasContent/page.paginated.vue.d.ts +13 -0
  29. package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts +27 -0
  30. package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +1 -0
  31. package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +1 -3
  32. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +23 -0
  33. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +19 -0
  34. package/lib/apps/canvas-builder/components/container/EditableComponent/{EditableComponentRevamp.vue.d.ts → EditableComponentContent.vue.d.ts} +25 -0
  35. package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +4 -0
  36. package/lib/apps/canvas-builder/components/container/LinkableComponent/LinkableComponent.vue.d.ts +4 -0
  37. package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +5 -5
  38. package/lib/apps/canvas-builder/components/container/PopupApps/AdaptivePopupAppsButtons.vue.d.ts +17 -0
  39. package/lib/apps/canvas-builder/components/container/PopupApps/PopupAppsButtons.vue.d.ts +18 -0
  40. package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +1 -0
  41. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +2 -0
  42. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +1 -0
  43. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.utils.d.ts +16 -0
  44. package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +1 -0
  45. package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +9 -5
  46. package/lib/apps/canvas-builder/components/ui/Html/CAiHtmlActions.vue.d.ts +23 -0
  47. package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +5 -2
  48. package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +1 -0
  49. package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +9 -5
  50. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +2 -1
  51. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +2 -1
  52. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +2 -1
  53. package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +9 -0
  54. package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +39 -0
  55. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +4 -1
  56. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +6 -1
  57. package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCompact.vue.d.ts +18 -0
  58. package/lib/apps/canvas-builder/components/ui/SectionList/SectionListItem.vue.d.ts +27 -0
  59. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSearch.vue.d.ts +11 -0
  60. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +7 -7
  61. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +154 -0
  62. package/lib/apps/canvas-builder/composables/useAnnotation.d.ts +29 -0
  63. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +1741 -143
  64. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +18 -20
  65. package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +16 -0
  66. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +12 -8
  67. package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +25 -7
  68. package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +3 -1
  69. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +19 -4
  70. package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -1
  71. package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +3 -0
  72. package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -2
  73. package/lib/apps/canvas-builder/composables/useCrmShapeWithSectionContext.d.ts +5 -0
  74. package/lib/apps/canvas-builder/composables/useEmbeddable.d.ts +7 -0
  75. package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -0
  76. package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +7 -1
  77. package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +913 -0
  78. package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +2 -0
  79. package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +1 -1
  80. package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +98 -0
  81. package/lib/apps/canvas-builder/composables/useScribbleToolbar.d.ts +11 -0
  82. package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +1 -0
  83. package/lib/apps/canvas-builder/constants/canvas.const.d.ts +2 -1
  84. package/lib/apps/canvas-builder/types/canvas.d.ts +36 -3
  85. package/lib/apps/canvas-builder/util/canvas.util.d.ts +3 -1
  86. package/lib/apps/canvas-builder/util/iframe.util.d.ts +16 -0
  87. package/lib/apps/canvas-selector/components/CanvasSelectionArea.vue.d.ts +171 -1
  88. package/lib/apps/canvas-selector/components/Sections.vue.d.ts +160 -1
  89. package/lib/apps/canvas-selector/stores/app.d.ts +14 -14
  90. package/lib/apps/collection-player/App.vue.d.ts +1 -0
  91. package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +5 -1
  92. package/lib/apps/collection-player/stores/app.store.d.ts +3 -0
  93. package/lib/apps/collection-player/types/collection-player.type.d.ts +18 -0
  94. package/lib/apps/collection-selector/App.vue.d.ts +7 -7
  95. package/lib/apps/collection-selector/stores/app.store.d.ts +4 -2
  96. package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +20 -2
  97. package/lib/apps/collection-selector/utils/data.util.d.ts +4 -4
  98. package/lib/apps/content-selector/App.vue.d.ts +2 -0
  99. package/lib/apps/content-selector/appTypes.d.ts +2 -0
  100. package/lib/apps/content-selector/components/Assets.vue.d.ts +75 -1
  101. package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +3 -0
  102. package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +1 -0
  103. package/lib/apps/content-selector/components/Content.vue.d.ts +74 -1
  104. package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +14 -2
  105. package/lib/apps/content-selector/stores/app.d.ts +34 -5
  106. package/lib/apps/content-selector/util/file.d.ts +6 -3
  107. package/lib/apps/ppt-conversion-selector/composables/canvas.use.d.ts +3 -2
  108. package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +7 -3
  109. package/lib/apps/ppt-conversion-selector/utils/thumbnail.util.d.ts +1 -0
  110. package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +6 -2
  111. package/lib/components/CAlgoliaSearch/CAlgoliaSearch.vue.d.ts +15 -0
  112. package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +3 -0
  113. package/lib/components/CCarousel/CCarousel.vue.d.ts +20 -0
  114. package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +3 -0
  115. package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +5 -3
  116. package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +2 -0
  117. package/lib/components/CContactSelector/CContactSelector.vue.d.ts +3 -0
  118. package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +31 -0
  119. package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +18 -16
  120. package/lib/components/CDataTable/CDataTable.vue.d.ts +12 -12
  121. package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +8 -0
  122. package/lib/components/CFileViewer/CFileViewer.vue.d.ts +3 -9
  123. package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -5
  124. package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +2 -6
  125. package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +9 -5
  126. package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +1 -0
  127. package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -0
  128. package/lib/components/CImage/CImage.vue.d.ts +11 -0
  129. package/lib/components/CInput/CInput.vue.d.ts +4 -4
  130. package/lib/components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue.d.ts +1 -1
  131. package/lib/components/CMonacoEditor/CMonacoEditor.vue.d.ts +27 -0
  132. package/lib/components/CPillSelect/CPillSelect.vue.d.ts +14 -0
  133. package/lib/components/CPopularityAndEngagementIcons/CPopularityAndEngagementExtended.vue.d.ts +1 -1
  134. package/lib/components/CProcessingOverlay/CProcessingOverlay.vue.d.ts +19 -0
  135. package/lib/components/CQuickFilters/CQuickFilters.vue.d.ts +4 -0
  136. package/lib/components/CRenameModal/CRenameModal.vue.d.ts +28 -0
  137. package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +20 -5
  138. package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +28 -8
  139. package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +14 -4
  140. package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +4 -4
  141. package/lib/components/CSearch/CSearch.vue.d.ts +2 -0
  142. package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +1 -0
  143. package/lib/components/CSectionSelectionActions/CSectionSelectionActions.vue.d.ts +19 -0
  144. package/lib/components/CSectionSmartFolders/CSectionSmartFolders.vue.d.ts +135 -0
  145. package/lib/components/CSectionSmartFolders/CSectionSmartFoldersToolbar.vue.d.ts +44 -0
  146. package/lib/components/CSlideViewer/CSlideViewer.pdfjs.vue.d.ts +18 -0
  147. package/lib/components/CSlideViewer/CSlideViewer.pspdfkit.vue.d.ts +14 -0
  148. package/lib/components/CSlideViewer/CSlideViewer.vue.d.ts +12 -0
  149. package/lib/components/CTableInput/CTableInput.vue.d.ts +10 -8
  150. package/lib/components/CTableTag/CTableTag.vue.d.ts +5 -4
  151. package/lib/components/CTags/CTags.vue.d.ts +4 -4
  152. package/lib/components/CThumbnail/CThumbnail.vue.d.ts +1 -0
  153. package/lib/components/CUserMenu/CUserMenu.vue.d.ts +4 -1
  154. package/lib/components/assignedCanvases/CAssignedCanvasesManagement.vue.d.ts +438 -0
  155. package/lib/components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue.d.ts +41 -0
  156. package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +44 -60
  157. package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +13 -19
  158. package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +39 -33
  159. package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +9 -6
  160. package/lib/components/filters/CSearchFilter.vue.d.ts +9 -1
  161. package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +13 -7
  162. package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +3 -2
  163. package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +4 -4
  164. package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +2 -0
  165. package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +12 -8
  166. package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +8 -3
  167. package/lib/components/sections/CSectionManagement.vue.d.ts +25 -1
  168. package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +7 -0
  169. package/lib/components/themes/CThemeManagement.vue.d.ts +96 -10
  170. package/lib/components/themes/CThemeManagementToolbar.vue.d.ts +31 -3
  171. package/lib/composables/appsDb.use.d.ts +2 -2
  172. package/lib/composables/bulkActions.use.d.ts +2 -2
  173. package/lib/composables/useBindValidation.d.ts +1 -1
  174. package/lib/composables/useBroadcastRouteChange.d.ts +4 -0
  175. package/lib/composables/useCanvasStandardFilters.d.ts +35 -0
  176. package/lib/composables/useDeleteUsedCanvasesConfirmation.d.ts +23 -0
  177. package/lib/composables/useElementSizeAfterDom.d.ts +5 -0
  178. package/lib/composables/useFileDisplayHelpers.d.ts +6 -2
  179. package/lib/composables/useFileInfo.d.ts +30 -0
  180. package/lib/composables/useFilterSuggestions.d.ts +48 -0
  181. package/lib/composables/useFolderNameDescription.d.ts +25 -0
  182. package/lib/composables/useImageAccessibility.d.ts +13 -0
  183. package/lib/composables/useLegacyCollectionFileLoader.d.ts +31 -0
  184. package/lib/composables/useMetadataSearch.d.ts +22 -1
  185. package/lib/composables/usePolling.d.ts +23 -0
  186. package/lib/composables/useWindowEvents.d.ts +1 -0
  187. package/lib/constants/cdp.const.d.ts +2 -0
  188. package/lib/constants/tables.const.d.ts +1 -1
  189. package/lib/custom-naive-locales/it.d.ts +124 -0
  190. package/lib/custom-naive-locales/ja.d.ts +124 -0
  191. package/lib/custom-naive-locales/nl.d.ts +124 -0
  192. package/lib/custom-naive-locales/pt.d.ts +124 -0
  193. package/lib/custom-naive-locales/th.d.ts +124 -0
  194. package/lib/custom-naive-locales/zh.d.ts +124 -0
  195. package/lib/main.lib.d.ts +17 -3
  196. package/lib/modules/algolia-instantsearch.d.ts +1 -0
  197. package/lib/sdk/api/HighLevelApi.d.ts +4 -2
  198. package/lib/sdk/api/modules/admin/types.admin.d.ts +8 -0
  199. package/lib/sdk/api/modules/dsr/files.dsr.d.ts +12 -0
  200. package/lib/sdk/api/modules/dsr/index.d.ts +3 -0
  201. package/lib/sdk/api/modules/dsr/types.dsr.d.ts +1 -0
  202. package/lib/sdk/api/modules/files.d.ts +2 -2
  203. package/lib/sdk/api/modules/share.d.ts +8 -1
  204. package/lib/sdk/api/modules/ui/canvas.ui.d.ts +25 -1
  205. package/lib/sdk/api/modules/ui/index.d.ts +2 -0
  206. package/lib/sdk/api/modules/ui/types.ui.d.ts +24 -0
  207. package/lib/sdk/api/modules/webView.d.ts +2 -1
  208. package/lib/sdk/interfaces.d.ts +90 -2
  209. package/lib/sdk/main.d.ts +24 -6
  210. package/lib/sdk/payload.types.d.ts +30 -0
  211. package/lib/stores/sectionSmartFolderStore.d.ts +112 -0
  212. package/lib/types/app.d.ts +20 -3
  213. package/lib/types/call.d.ts +1 -0
  214. package/lib/types/core/MetadataFilter.d.ts +2 -0
  215. package/lib/types/files.d.ts +2 -0
  216. package/lib/types/i18n.types.d.ts +1 -1
  217. package/lib/types/instanceSettings.types.d.ts +22 -4
  218. package/lib/types/launchDarkly.types.d.ts +2 -4
  219. package/lib/types/organizationSettings.types.d.ts +36 -0
  220. package/lib/types/sfdc.d.ts +1 -0
  221. package/lib/util/date.d.ts +1 -0
  222. package/lib/util/network.d.ts +8 -0
  223. package/lib/util/soql.util.d.ts +2 -0
  224. package/lib/util/storage.util.d.ts +2 -0
  225. package/lib/util/string.d.ts +1 -1
  226. package/lib/util/toCssClassKey.d.ts +1 -0
  227. package/lib/utils/defaultThumbnail.util.d.ts +3 -0
  228. package/lib/utils/iframeInitialize.d.ts +12 -0
  229. package/package.json +1 -1
  230. package/types/openapi/models/Canvas.d.ts +1 -1
  231. package/types/openapi/models/CanvasCreate.d.ts +2 -2
  232. package/types/openapi/models/CanvasCreateRequest.d.ts +2 -2
  233. package/types/openapi/models/CanvasRecommendedFile.d.ts +0 -2
  234. package/types/openapi/models/CanvasRetrieve.d.ts +2 -2
  235. package/types/openapi/models/CanvasSection.d.ts +1 -0
  236. package/types/openapi/models/CanvasUpdate.d.ts +2 -2
  237. package/types/openapi/models/CanvasUpdateRequest.d.ts +2 -2
  238. package/types/openapi/models/ContentDistributionGroup.d.ts +1 -0
  239. package/types/openapi/models/ContentDistributionGroupCreate.d.ts +1 -0
  240. package/types/openapi/models/DeletedCanvas.d.ts +1 -1
  241. package/types/openapi/models/DeletedContentDistributionGroup.d.ts +1 -0
  242. package/types/openapi/models/DeletedFile.d.ts +0 -2
  243. package/types/openapi/models/DeletedFolder.d.ts +3 -0
  244. package/types/openapi/models/FavoriteFolder.d.ts +3 -0
  245. package/types/openapi/models/FavoriteFolderRequest.d.ts +3 -0
  246. package/types/openapi/models/File.d.ts +0 -2
  247. package/types/openapi/models/FileCreate.d.ts +0 -2
  248. package/types/openapi/models/FileCreateRequest.d.ts +0 -1
  249. package/types/openapi/models/FileRetrieve.d.ts +0 -2
  250. package/types/openapi/models/FileUpdate.d.ts +0 -2
  251. package/types/openapi/models/FileUpdateRequest.d.ts +0 -1
  252. package/types/openapi/models/Folder.d.ts +3 -0
  253. package/types/openapi/models/FolderCreate.d.ts +2 -1
  254. package/types/openapi/models/FolderFolder.d.ts +5 -0
  255. package/types/openapi/models/FolderRetrieve.d.ts +5 -1
  256. package/types/openapi/models/FolderUpdate.d.ts +2 -1
  257. package/types/openapi/models/InstanceMembership.d.ts +4 -0
  258. package/types/openapi/models/InstanceMembershipCreate.d.ts +4 -0
  259. package/types/openapi/models/InstanceMembershipCreateRequest.d.ts +4 -0
  260. package/types/openapi/models/InstanceMembershipRequest.d.ts +4 -0
  261. package/types/openapi/models/InstanceMembershipUser.d.ts +0 -2
  262. package/types/openapi/models/InstanceRequest.d.ts +1 -1
  263. package/types/openapi/models/InstanceUpdateRequest.d.ts +1 -1
  264. package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +2 -2
  265. package/types/openapi/models/PatchedFileUpdateRequest.d.ts +0 -1
  266. package/types/openapi/models/PatchedInstanceMembershipRequest.d.ts +4 -0
  267. package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +1 -1
  268. package/types/openapi/models/SharedLinkCanvas.d.ts +1 -1
  269. package/types/openapi/models/SharedLinkCanvasRequest.d.ts +1 -1
  270. package/types/openapi/models/User.d.ts +1 -0
  271. package/lib/components/CFileViewer/pdf/CFileViewer.pageThumbFavorite.pdf.use.d.ts +0 -10
  272. package/lib/components/CImage/CBrokenImage.vue.d.ts +0 -10
  273. package/lib/directives/usage-track.directive.d.ts +0 -10
  274. package/lib/util/usage-tracking.util.d.ts +0 -5
@@ -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;
@@ -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
+ };
@@ -0,0 +1,39 @@
1
+ import { CanvasRetrieve } from '../../../../../../types/openapi';
2
+ export type Emit = {
3
+ close: [save?: boolean];
4
+ };
5
+ type __VLS_Props = {
6
+ zIndex?: number;
7
+ attachTo?: string | HTMLElement;
8
+ section: CanvasRetrieve['sections'][number];
9
+ index: number;
10
+ saveCanvas: () => Promise<void>;
11
+ };
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ default?(_: {
16
+ index: number;
17
+ section: import('../../../../../../types/openapi').CanvasSection;
18
+ }): any;
19
+ };
20
+ refs: {
21
+ rootRef: HTMLElement;
22
+ };
23
+ rootEl: any;
24
+ };
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ close: (save?: boolean | undefined) => any;
28
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
29
+ onClose?: ((save?: boolean | undefined) => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
+ rootRef: HTMLElement;
32
+ }, any>;
33
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
+ export default _default;
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -9,6 +9,7 @@ type __VLS_Props = {
9
9
  style?: CSSProperties;
10
10
  shouldEditWithApp?: boolean;
11
11
  hasSectionSelectorApp?: boolean;
12
+ printModeIdx?: number;
12
13
  };
13
14
  declare function onSectionSelectorToggle(): void;
14
15
  declare function onSectionsSelect(items: {
@@ -23,5 +24,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
23
24
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
25
  onJustAdded?: ((id: string) => any) | undefined;
25
26
  onBrowseWithAppClicked?: (() => any) | undefined;
26
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
28
+ sectionListRef: HTMLDivElement;
29
+ }, any>;
27
30
  export default _default;
@@ -7,6 +7,7 @@ type __VLS_Props = {
7
7
  visible?: ComponentNode['visible'];
8
8
  allow_admins_to_overwrite?: boolean;
9
9
  style?: CSSProperties;
10
+ printModeIdx?: number;
10
11
  };
11
12
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
13
  style: (s: CSSProperties) => any;
@@ -21,6 +22,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
21
22
  style?: CSSProperties;
22
23
  shouldEditWithApp?: boolean;
23
24
  hasSectionSelectorApp?: boolean;
25
+ printModeIdx?: number;
24
26
  }> & Readonly<{
25
27
  onJustAdded?: ((id: string) => any) | undefined;
26
28
  onBrowseWithAppClicked?: (() => any) | undefined;
@@ -32,7 +34,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
32
34
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
35
  justAdded: (id: string) => any;
34
36
  browseWithAppClicked: () => any;
35
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
37
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
38
+ sectionListRef: HTMLDivElement;
39
+ }, any, import('vue').ComponentProvideOptions, {
36
40
  P: {};
37
41
  B: {};
38
42
  D: {};
@@ -47,6 +51,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
47
51
  style?: CSSProperties;
48
52
  shouldEditWithApp?: boolean;
49
53
  hasSectionSelectorApp?: boolean;
54
+ printModeIdx?: number;
50
55
  }> & Readonly<{
51
56
  onJustAdded?: ((id: string) => any) | undefined;
52
57
  onBrowseWithAppClicked?: (() => any) | undefined;
@@ -0,0 +1,18 @@
1
+ import { CanvasRetrieve } from '../../../../../../types/openapi';
2
+ type __VLS_Props = {
3
+ name?: string;
4
+ style?: Record<string, any>;
5
+ sections: Array<{
6
+ section: CanvasRetrieve['sections'][number];
7
+ index: number;
8
+ }>;
9
+ hasSectionSelectorApp?: boolean;
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "open-section": (section: import('../../../../../../types/openapi').CanvasSection, index: number) => any;
13
+ "select-sections": () => any;
14
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ "onOpen-section"?: ((section: import('../../../../../../types/openapi').CanvasSection, index: number) => any) | undefined;
16
+ "onSelect-sections"?: (() => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { CanvasRetrieve } from '../../../../../../types/openapi';
2
+ import { CSSProperties } from 'vue';
3
+ import { ComponentNode } from '../../../types/canvas.ts';
4
+ type __VLS_Props = {
5
+ section: CanvasRetrieve['sections'][number];
6
+ index: number;
7
+ id: string;
8
+ sectionContentById: Record<string, {
9
+ content: CanvasRetrieve['content'];
10
+ }>;
11
+ getSectionThemeStyle: (section: CanvasRetrieve['sections'][number] & {
12
+ theme?: CanvasRetrieve['theme'];
13
+ }, style?: CSSProperties) => Record<string, string>;
14
+ getComponentStyle: (c: ComponentNode, section: CanvasRetrieve['sections'][number], cIdx?: number, sectionContent?: ComponentNode[]) => {
15
+ marginBottom?: undefined;
16
+ } | {
17
+ marginBottom: any;
18
+ };
19
+ componentMap: Record<string, any>;
20
+ getComponentBindings: (c: ComponentNode) => ComponentNode;
21
+ onElementVisibility: (isVisible: boolean, c: ComponentNode) => void;
22
+ isSectionLoaded: (section: CanvasRetrieve['sections'][number], sectionIdx?: number) => boolean;
23
+ onSectionVisibility: (isVisible: boolean, section: CanvasRetrieve['sections'][number], sectionIdx?: number) => void;
24
+ style?: CSSProperties;
25
+ };
26
+ 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, {}, HTMLDivElement>;
27
+ export default _default;
@@ -0,0 +1,11 @@
1
+ type Props = {
2
+ autofocus?: boolean;
3
+ search?: string;
4
+ placeholder?: string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:search": (term: string) => any;
8
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
9
+ "onUpdate:search"?: ((term: string) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -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
+ };