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