@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
@@ -0,0 +1,124 @@
1
+ declare const _default: {
2
+ name: string;
3
+ global: {
4
+ undo: string;
5
+ redo: string;
6
+ confirm: string;
7
+ clear: string;
8
+ };
9
+ Popconfirm: {
10
+ positiveText: string;
11
+ negativeText: string;
12
+ };
13
+ Cascader: {
14
+ placeholder: string;
15
+ loading: string;
16
+ loadingRequiredMessage: (label: string) => string;
17
+ };
18
+ Time: {
19
+ dateFormat: string;
20
+ dateTimeFormat: string;
21
+ };
22
+ DatePicker: {
23
+ yearFormat: string;
24
+ monthFormat: string;
25
+ dayFormat: string;
26
+ yearTypeFormat: string;
27
+ monthTypeFormat: string;
28
+ dateFormat: string;
29
+ dateTimeFormat: string;
30
+ quarterFormat: string;
31
+ weekFormat: string;
32
+ clear: string;
33
+ now: string;
34
+ confirm: string;
35
+ selectTime: string;
36
+ selectDate: string;
37
+ datePlaceholder: string;
38
+ datetimePlaceholder: string;
39
+ monthPlaceholder: string;
40
+ yearPlaceholder: string;
41
+ quarterPlaceholder: string;
42
+ weekPlaceholder: string;
43
+ startDatePlaceholder: string;
44
+ endDatePlaceholder: string;
45
+ startDatetimePlaceholder: string;
46
+ endDatetimePlaceholder: string;
47
+ startMonthPlaceholder: string;
48
+ endMonthPlaceholder: string;
49
+ monthBeforeYear: boolean;
50
+ firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
51
+ today: string;
52
+ };
53
+ DataTable: {
54
+ checkTableAll: string;
55
+ uncheckTableAll: string;
56
+ confirm: string;
57
+ clear: string;
58
+ };
59
+ LegacyTransfer: {
60
+ sourceTitle: string;
61
+ targetTitle: string;
62
+ };
63
+ Transfer: {
64
+ selectAll: string;
65
+ unselectAll: string;
66
+ clearAll: string;
67
+ total: (num: number) => string;
68
+ selected: (num: number) => string;
69
+ };
70
+ Empty: {
71
+ description: string;
72
+ };
73
+ Select: {
74
+ placeholder: string;
75
+ };
76
+ TimePicker: {
77
+ placeholder: string;
78
+ positiveText: string;
79
+ negativeText: string;
80
+ now: string;
81
+ clear: string;
82
+ };
83
+ Pagination: {
84
+ goto: string;
85
+ selectionSuffix: string;
86
+ };
87
+ DynamicTags: {
88
+ add: string;
89
+ };
90
+ Log: {
91
+ loading: string;
92
+ };
93
+ Input: {
94
+ placeholder: string;
95
+ };
96
+ InputNumber: {
97
+ placeholder: string;
98
+ };
99
+ DynamicInput: {
100
+ create: string;
101
+ };
102
+ ThemeEditor: {
103
+ title: string;
104
+ clearAllVars: string;
105
+ clearSearch: string;
106
+ filterCompName: string;
107
+ filterVarName: string;
108
+ import: string;
109
+ export: string;
110
+ restore: string;
111
+ };
112
+ Image: {
113
+ tipPrevious: string;
114
+ tipNext: string;
115
+ tipCounterclockwise: string;
116
+ tipClockwise: string;
117
+ tipZoomOut: string;
118
+ tipZoomIn: string;
119
+ tipDownload: string;
120
+ tipClose: string;
121
+ tipOriginalSize: string;
122
+ };
123
+ };
124
+ export default _default;
@@ -0,0 +1,124 @@
1
+ declare const _default: {
2
+ name: string;
3
+ global: {
4
+ undo: string;
5
+ redo: string;
6
+ confirm: string;
7
+ clear: string;
8
+ };
9
+ Popconfirm: {
10
+ positiveText: string;
11
+ negativeText: string;
12
+ };
13
+ Cascader: {
14
+ placeholder: string;
15
+ loading: string;
16
+ loadingRequiredMessage: (label: string) => string;
17
+ };
18
+ Time: {
19
+ dateFormat: string;
20
+ dateTimeFormat: string;
21
+ };
22
+ DatePicker: {
23
+ yearFormat: string;
24
+ monthFormat: string;
25
+ dayFormat: string;
26
+ yearTypeFormat: string;
27
+ monthTypeFormat: string;
28
+ dateFormat: string;
29
+ dateTimeFormat: string;
30
+ quarterFormat: string;
31
+ weekFormat: string;
32
+ clear: string;
33
+ now: string;
34
+ confirm: string;
35
+ selectTime: string;
36
+ selectDate: string;
37
+ datePlaceholder: string;
38
+ datetimePlaceholder: string;
39
+ monthPlaceholder: string;
40
+ yearPlaceholder: string;
41
+ quarterPlaceholder: string;
42
+ weekPlaceholder: string;
43
+ startDatePlaceholder: string;
44
+ endDatePlaceholder: string;
45
+ startDatetimePlaceholder: string;
46
+ endDatetimePlaceholder: string;
47
+ startMonthPlaceholder: string;
48
+ endMonthPlaceholder: string;
49
+ monthBeforeYear: boolean;
50
+ firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
51
+ today: string;
52
+ };
53
+ DataTable: {
54
+ checkTableAll: string;
55
+ uncheckTableAll: string;
56
+ confirm: string;
57
+ clear: string;
58
+ };
59
+ LegacyTransfer: {
60
+ sourceTitle: string;
61
+ targetTitle: string;
62
+ };
63
+ Transfer: {
64
+ selectAll: string;
65
+ unselectAll: string;
66
+ clearAll: string;
67
+ total: (num: number) => string;
68
+ selected: (num: number) => string;
69
+ };
70
+ Empty: {
71
+ description: string;
72
+ };
73
+ Select: {
74
+ placeholder: string;
75
+ };
76
+ TimePicker: {
77
+ placeholder: string;
78
+ positiveText: string;
79
+ negativeText: string;
80
+ now: string;
81
+ clear: string;
82
+ };
83
+ Pagination: {
84
+ goto: string;
85
+ selectionSuffix: string;
86
+ };
87
+ DynamicTags: {
88
+ add: string;
89
+ };
90
+ Log: {
91
+ loading: string;
92
+ };
93
+ Input: {
94
+ placeholder: string;
95
+ };
96
+ InputNumber: {
97
+ placeholder: string;
98
+ };
99
+ DynamicInput: {
100
+ create: string;
101
+ };
102
+ ThemeEditor: {
103
+ title: string;
104
+ clearAllVars: string;
105
+ clearSearch: string;
106
+ filterCompName: string;
107
+ filterVarName: string;
108
+ import: string;
109
+ export: string;
110
+ restore: string;
111
+ };
112
+ Image: {
113
+ tipPrevious: string;
114
+ tipNext: string;
115
+ tipCounterclockwise: string;
116
+ tipClockwise: string;
117
+ tipZoomOut: string;
118
+ tipZoomIn: string;
119
+ tipDownload: string;
120
+ tipClose: string;
121
+ tipOriginalSize: string;
122
+ };
123
+ };
124
+ export default _default;
@@ -0,0 +1,124 @@
1
+ declare const _default: {
2
+ name: string;
3
+ global: {
4
+ undo: string;
5
+ redo: string;
6
+ confirm: string;
7
+ clear: string;
8
+ };
9
+ Popconfirm: {
10
+ positiveText: string;
11
+ negativeText: string;
12
+ };
13
+ Cascader: {
14
+ placeholder: string;
15
+ loading: string;
16
+ loadingRequiredMessage: (label: string) => string;
17
+ };
18
+ Time: {
19
+ dateFormat: string;
20
+ dateTimeFormat: string;
21
+ };
22
+ DatePicker: {
23
+ yearFormat: string;
24
+ monthFormat: string;
25
+ dayFormat: string;
26
+ yearTypeFormat: string;
27
+ monthTypeFormat: string;
28
+ dateFormat: string;
29
+ dateTimeFormat: string;
30
+ quarterFormat: string;
31
+ weekFormat: string;
32
+ clear: string;
33
+ now: string;
34
+ confirm: string;
35
+ selectTime: string;
36
+ selectDate: string;
37
+ datePlaceholder: string;
38
+ datetimePlaceholder: string;
39
+ monthPlaceholder: string;
40
+ yearPlaceholder: string;
41
+ quarterPlaceholder: string;
42
+ weekPlaceholder: string;
43
+ startDatePlaceholder: string;
44
+ endDatePlaceholder: string;
45
+ startDatetimePlaceholder: string;
46
+ endDatetimePlaceholder: string;
47
+ startMonthPlaceholder: string;
48
+ endMonthPlaceholder: string;
49
+ monthBeforeYear: boolean;
50
+ firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
51
+ today: string;
52
+ };
53
+ DataTable: {
54
+ checkTableAll: string;
55
+ uncheckTableAll: string;
56
+ confirm: string;
57
+ clear: string;
58
+ };
59
+ LegacyTransfer: {
60
+ sourceTitle: string;
61
+ targetTitle: string;
62
+ };
63
+ Transfer: {
64
+ selectAll: string;
65
+ unselectAll: string;
66
+ clearAll: string;
67
+ total: (num: number) => string;
68
+ selected: (num: number) => string;
69
+ };
70
+ Empty: {
71
+ description: string;
72
+ };
73
+ Select: {
74
+ placeholder: string;
75
+ };
76
+ TimePicker: {
77
+ placeholder: string;
78
+ positiveText: string;
79
+ negativeText: string;
80
+ now: string;
81
+ clear: string;
82
+ };
83
+ Pagination: {
84
+ goto: string;
85
+ selectionSuffix: string;
86
+ };
87
+ DynamicTags: {
88
+ add: string;
89
+ };
90
+ Log: {
91
+ loading: string;
92
+ };
93
+ Input: {
94
+ placeholder: string;
95
+ };
96
+ InputNumber: {
97
+ placeholder: string;
98
+ };
99
+ DynamicInput: {
100
+ create: string;
101
+ };
102
+ ThemeEditor: {
103
+ title: string;
104
+ clearAllVars: string;
105
+ clearSearch: string;
106
+ filterCompName: string;
107
+ filterVarName: string;
108
+ import: string;
109
+ export: string;
110
+ restore: string;
111
+ };
112
+ Image: {
113
+ tipPrevious: string;
114
+ tipNext: string;
115
+ tipCounterclockwise: string;
116
+ tipClockwise: string;
117
+ tipZoomOut: string;
118
+ tipZoomIn: string;
119
+ tipDownload: string;
120
+ tipClose: string;
121
+ tipOriginalSize: string;
122
+ };
123
+ };
124
+ export default _default;
package/lib/main.lib.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { NColorPicker as CColorPicker, NConfigProvider as CConfigProvider, NDatePicker as CDatePicker, NGlobalStyle as CGlobalStyle, NGrid as CGrid, NGi as CGi, NGridItem as CGridItem, NForm as CForm, NFormItem as CFormItem, NFormItemCol as CFormItemCol, NFormItemGi as CFormItemGi, NFormItemGridItem as CFormItemGridItem, NFormItemRow as CFormItemRow, NH1 as CH1, NH2 as CH2, NH3 as CH3, NH4 as CH4, NH5 as CH5, NH6 as CH6, NText as CText, NLayout as CLayout, NLayoutContent as CLayoutContent, NLayoutFooter as CLayoutFooter, NLayoutHeader as CLayoutHeader, NLayoutSider as CLayoutSider, NPagination as CPagination, NSkeleton as CSkeleton, NSpace as CSpace, NDialogProvider as CDialogProvider, NMessageProvider as CMessageProvider, NProgress as CProgress, NInputNumber as CInputNumber, } from 'naive-ui';
1
+ export { NColorPicker as CColorPicker, NConfigProvider as CConfigProvider, NDatePicker as CDatePicker, NGlobalStyle as CGlobalStyle, NGrid as CGrid, NGi as CGi, NGridItem as CGridItem, NForm as CForm, NFormItem as CFormItem, NFormItemCol as CFormItemCol, NFormItemGi as CFormItemGi, NFormItemGridItem as CFormItemGridItem, NFormItemRow as CFormItemRow, NH1 as CH1, NH2 as CH2, NH3 as CH3, NH4 as CH4, NH5 as CH5, NH6 as CH6, NText as CText, NLayout as CLayout, NLayoutContent as CLayoutContent, NLayoutFooter as CLayoutFooter, NLayoutHeader as CLayoutHeader, NLayoutSider as CLayoutSider, NPagination as CPagination, NSkeleton as CSkeleton, NSpace as CSpace, NDialogProvider as CDialogProvider, NMessageProvider as CMessageProvider, NNotificationProvider as CNotificationProvider, NProgress as CProgress, NInputNumber as CInputNumber, useNotification, } from 'naive-ui';
2
2
  export type { DataTableColumns, DataTableColumn, DataTableProps, PaginationInfo, PaginationProps, PaginationRenderLabel, PaginationSizeOption, } from 'naive-ui';
3
3
  export type { DropdownMixedOption, DropdownOption } from 'naive-ui/es/dropdown/src/interface';
4
4
  export type { SelectMixedOption, SelectBaseOption } from 'naive-ui/lib/select/src/interface';
@@ -24,6 +24,7 @@ export { default as CImage } from './components/CImage/CImage.vue';
24
24
  export { default as CInput } from './components/CInput/CInput.vue';
25
25
  export { default as CModal } from './components/CModal/CModal.vue';
26
26
  export { default as CPopover } from './components/CPopover/CPopover.vue';
27
+ export { default as CProcessingOverlay } from './components/CProcessingOverlay/CProcessingOverlay.vue';
27
28
  export { default as CSearch } from './components/CSearch/CSearch.vue';
28
29
  export { default as CSearchOnClick } from './components/CSearch/CSearchOnClick.vue';
29
30
  export { default as CSearchOnClickWithSuggestions } from './components/CSearch/CSearchOnClickWithSuggestions.vue';
@@ -38,6 +39,8 @@ export { default as CSpin } from './components/CSpin/CSpin.vue';
38
39
  export { default as CEmpty } from './components/CEmpty/CEmpty.vue';
39
40
  export { default as CSwitch } from './components/CSwitch/CSwitch.vue';
40
41
  export { default as CFeedback } from './components/CFeedback/CFeedback.vue';
42
+ export { default as CHelpText } from './components/CHelpText/CHelpText.vue';
43
+ export { default as CPillSelect } from './components/CPillSelect/CPillSelect.vue';
41
44
  export { default as CConfirmationModal } from './components/CConfirmationModal/CConfirmationModal.vue';
42
45
  export { default as CConfirmationHeader } from './components/CConfirmation/CConfirmationHeader.vue';
43
46
  export { default as CConfirmationContent } from './components/CConfirmation/CConfirmationContent.vue';
@@ -55,6 +58,7 @@ export { default as CMetaDataBadge } from './components/CMetaDataBadge/CMetaData
55
58
  export { default as CSecondaryNav } from './components/CSecondaryNav/CSecondaryNav.vue';
56
59
  export { default as CShortcut } from './components/CShortcut/CShortcut.vue';
57
60
  export { default as useGlobalSearch } from './components/CGlobalSearch/GlobalSearch.use';
61
+ export { default as CAlgoliaSearch } from './components/CAlgoliaSearch/CAlgoliaSearch.vue';
58
62
  export { default as CRichTextEditor } from './components/CRichTextEditor/CRichTextEditor.vue';
59
63
  export { default as CSingleSelect } from './components/CSingleSelect/CSingleSelect.vue';
60
64
  export { default as CUserAvatar } from './components/CUserAvatar/CUserAvatar.vue';
@@ -68,6 +72,8 @@ export { default as CBlockManagement } from './components/canvas-blocks/CBlockMa
68
72
  export { default as CTemplateManagement } from './components/canvas-templates/CTemplateManagement.vue';
69
73
  export { default as CThemeManagement } from './components/themes/CThemeManagement.vue';
70
74
  export { default as CSavedCanvasesManagement } from './components/savedCanvases/CSavedCanvasesManagement.vue';
75
+ export { default as CAssignedCanvasesManagement } from './components/assignedCanvases/CAssignedCanvasesManagement.vue';
76
+ export { default as CAssignedCanvasesManagementToolbar } from './components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue';
71
77
  export { default as useShareCanvas } from './components/savedCanvases/CSavedCanvasesManagementShareCanvas.use';
72
78
  export { default as CConfigEditor } from './components/CConfigEditor/CConfigEditor.vue';
73
79
  export { default as CTableInput } from './components/CTableInput/CTableInput.vue';
@@ -90,6 +96,7 @@ export { default as CGlobalLoader } from './components/CGlobalLoader/CGlobalLoad
90
96
  export { default as CFilesFolderDeleteDialogContent } from './components/CFilesFolderDeleteDialogContent/CFilesFolderDeleteDialogContent.vue';
91
97
  export { default as CCatalogIqSwitcher } from './components/CCatalogIqSwitcher/CCatalogIqSwitcher.vue';
92
98
  export { default as CCarousel } from './components/CCarousel/CCarousel.vue';
99
+ export { default as CSlideViewer } from './components/CSlideViewer/CSlideViewer.vue';
93
100
  export { default as CTags } from './components/CTags/CTags.vue';
94
101
  export { default as CMovableWidget } from './components/CMovableWidget/CMovableWidget.vue';
95
102
  export { default as CUserMenu } from './components/CUserMenu/CUserMenu.vue';
@@ -116,6 +123,8 @@ export { default as CanvasSelector } from './apps/canvas-selector/App.vue';
116
123
  export type { CanvasSelection } from './apps/canvas-selector/appTypes';
117
124
  export { default as NotesApp } from './apps/notes/NotesApp.vue';
118
125
  export { default as useNotesApp } from './apps/notes/composables/useNotesApp';
126
+ export { default as AssetsManagerApp } from './apps/assets-manager/App.vue';
127
+ export type { AppProps as AssetsManagerProps } from './apps/assets-manager/App.vue';
119
128
  export * as pptConversionSelector from './apps/ppt-conversion-selector/export';
120
129
  export * as collectionSelector from './apps/collection-selector/export';
121
130
  export * as collectionPlayer from './apps/collection-player/export';
@@ -124,6 +133,7 @@ export { default as useTheme } from './composables/useTheme';
124
133
  export { default as useThemeVars } from './composables/useThemeVars';
125
134
  export { default as useBindValidation } from './composables/useBindValidation';
126
135
  export { default as useFileDisplayHelpers } from './composables/useFileDisplayHelpers';
136
+ export { default as useFolderNameDescription } from './composables/useFolderNameDescription';
127
137
  export { default as useCanvasOverlay } from './composables/useCanvasOverlay';
128
138
  export { default as useInfiniteScroll } from './composables/useInfiniteScroll';
129
139
  export { default as useWindowEvents } from './composables/useWindowEvents';
@@ -142,6 +152,8 @@ export * from './composables/appsDb.use';
142
152
  export { default as useCanvasLocks } from './composables/useCanvasLocks';
143
153
  export { useCommentTracking } from './composables/useCommentTracking';
144
154
  export { useSharedCommentsStorage } from './composables/useSharedCommentsStorage';
155
+ export { usePolling } from './composables/usePolling';
156
+ export { default as useBroadcastRouteChange } from './composables/useBroadcastRouteChange';
145
157
  export * from './plugins/vueQuery';
146
158
  export * from './apps/canvas-builder/util/canvas.util';
147
159
  export * from './apps/canvas-builder/util/tree';
@@ -171,10 +183,12 @@ export * from './util/file.util';
171
183
  export * from './util/url';
172
184
  export * from './util/user';
173
185
  export * from './util/userAgents';
174
- export * from './util/usage-tracking.util';
175
186
  export * from './util/pitcher-settings.util';
176
187
  export * from './util/eval';
188
+ export * from './util/storage.util';
177
189
  export * from './apps/collection-selector/utils/content-selector-adapter.util';
190
+ export * from './util/soql.util.ts';
191
+ export * from './utils/iframeInitialize';
178
192
  export * from './sdk/main';
179
193
  export * from '../types/openapi';
180
194
  export * from './types/core';
@@ -213,6 +227,7 @@ export * from './apps/agenda-selector/types/agenda.type';
213
227
  export * from './apps/collection-player/types/collection-player.type';
214
228
  export * from './apps/collection-selector/types/collection-selector.type';
215
229
  export * from './apps/ppt-conversion-selector/types/model.type';
230
+ export type { RouteChangedPitcherEvent } from './sdk/interfaces';
216
231
  export * from './constants/cdp.const';
217
232
  export * from './constants/color.const';
218
233
  export * from './constants/uploads.const';
@@ -235,7 +250,6 @@ export { default as tapDirective } from './directives/tap';
235
250
  export { default as clickOutsideDirective } from './directives/clickOutside';
236
251
  export { default as autofocusDirective } from './directives/autofocus';
237
252
  export { default as tooltipDirective } from './directives/tooltip';
238
- export { default as usageTrackDirective } from './directives/usage-track.directive';
239
253
  export { default as elementMountedDirective } from './directives/element-mounted';
240
254
  export * from './constants/i18n.const';
241
255
  export * from './types/i18n.types';
@@ -0,0 +1 @@
1
+ export { AisInstantSearch, AisSearchBox, AisHits, AisRefinementList } from 'vue-instantsearch/vue3/es/index.js';
@@ -160,8 +160,8 @@ export declare function createHighLevelApi(options?: ApiOptions): {
160
160
  downloadFile(payload: {
161
161
  file_id: import('../../main.lib').File["id"];
162
162
  }): Promise<null>;
163
- getAppConfig(payload: {
164
- app_name: string;
163
+ getAppConfig(payload?: {
164
+ app_name?: string;
165
165
  }): Promise<Record<string, any>>;
166
166
  getFile(payload: {
167
167
  id?: import('../../main.lib').FileRetrieve["id"];
@@ -251,7 +251,9 @@ export declare function createHighLevelApi(options?: ApiOptions): {
251
251
  submitUserFeedback(payload: import('../payload.types').SubmitUserFeedbackPayload): Promise<any>;
252
252
  close(): Promise<any>;
253
253
  openWebViewAlwaysOnTop(payload: import('../payload.types').OpenWebViewAlwaysOnTop): Promise<void>;
254
+ showSyncbox(payload: import('../payload.types').ShowSyncboxRequestPayload): Promise<void>;
254
255
  share(payload: import('../payload.types').SharePayload): Promise<import('../payload.types').ShareResponse>;
256
+ showPeerSession(payload: import('../payload.types').ShowPeerSessionRequestPayload): Promise<void>;
255
257
  getThemes(payload: Partial<import('../../main.lib').CanvasThemeRetrieve>): Promise<import('../../main.lib').CanvasThemeRetrieve[]>;
256
258
  assignCanvasTheme(payload: {
257
259
  canvas_id: import('../../main.lib').CanvasRetrieve["id"];
@@ -148,6 +148,14 @@ export type AdminSelectContentRequest = {
148
148
  * Disables files from selection which are not sharable (optional).
149
149
  */
150
150
  disable_no_sharable?: boolean;
151
+ /**
152
+ * Disables files from selection which do not have pptx_data in metadata object (optional).
153
+ */
154
+ disable_no_pptx_data?: boolean;
155
+ /**
156
+ * Only allow content pdf pages (optional). User will be forced to select a page from the pdf.
157
+ */
158
+ only_allow_content_pdf_pages?: boolean;
151
159
  };
152
160
  /**
153
161
  * Represents a response to a content selection request.
@@ -15,3 +15,15 @@ export declare function close(): Promise<void>;
15
15
  export declare function getFile(payload: {
16
16
  id: File['id'];
17
17
  }): Promise<File>;
18
+ /**
19
+ * Retrieves the configuration for the calling app.
20
+ * App name can be optionally provided, otherwise it will be derived from the caller's URL.
21
+ *
22
+ * @example
23
+ * dsrApi.getAppConfig() // for self config
24
+ * // or with explicit app name
25
+ * dsrApi.getAppConfig({ app_name: 'my-app' })
26
+ */
27
+ export declare function getAppConfig(payload?: {
28
+ app_name?: string;
29
+ }): Promise<Record<string, any>>;
@@ -12,6 +12,9 @@ declare const _default: {
12
12
  getFile(payload: {
13
13
  id: import('../../../../main.lib').File["id"];
14
14
  }): Promise<import('../../../../main.lib').File>;
15
+ getAppConfig(payload?: {
16
+ app_name?: string;
17
+ }): Promise<Record<string, any>>;
15
18
  embeddableReady(): Promise<void>;
16
19
  getEnv(): Promise<import('./types.dsr').DsrEnv>;
17
20
  on: typeof on;
@@ -10,6 +10,7 @@ export declare const DSR_API_TYPES: {
10
10
  export declare const DSR_API_METHOD_TYPES: {
11
11
  readonly GET_ENV: "dsr_get_env";
12
12
  readonly GET_FILE: "dsr_get_file";
13
+ readonly GET_APP_CONFIG: "dsr_get_app_config";
13
14
  readonly CLOSE: "dsr_close";
14
15
  readonly DSR_EMBEDDABLE_READY: "dsr_embeddable_ready";
15
16
  };
@@ -9,8 +9,8 @@ export declare function getRecentFiles(payload?: GetRecentFilesPayload): Promise
9
9
  export declare function downloadFile(payload: {
10
10
  file_id: File['id'];
11
11
  }): Promise<null>;
12
- export declare function getAppConfig(payload: {
13
- app_name: string;
12
+ export declare function getAppConfig(payload?: {
13
+ app_name?: string;
14
14
  }): Promise<Record<string, any>>;
15
15
  export declare function getFile(payload: {
16
16
  id?: FileRetrieve['id'];
@@ -1,4 +1,4 @@
1
- import { SharePayload, ShareResponse } from '../../payload.types';
1
+ import { SharePayload, ShareResponse, ShowPeerSessionRequestPayload } from '../../payload.types';
2
2
  /**
3
3
  * Dispatch iOS sharing dialog.
4
4
  *
@@ -6,3 +6,10 @@ import { SharePayload, ShareResponse } from '../../payload.types';
6
6
  * api.share({text: "example text", subject: "example subject"})
7
7
  */
8
8
  export declare function share(payload: SharePayload): Promise<ShareResponse>;
9
+ /**
10
+ * Show peer session dialog with button coordinates, for local peer sharing feature.
11
+ *
12
+ * @example
13
+ * api.showPeerSession({x: 100, y: 200})
14
+ */
15
+ export declare function showPeerSession(payload: ShowPeerSessionRequestPayload): Promise<void>;
@@ -1,5 +1,5 @@
1
1
  import { CanvasRetrieve } from '../../../../../types/openapi';
2
- import { UiAppResizeRequest, UiCanvasNavigatePageRequest, UiUpdateCanvasRequest, UiSelectCanvasesRequest, UiSelectCanvasesResponse } from './types.ui';
2
+ import { UiAppResizeRequest, UiCanvasNavigatePageRequest, UiUpdateCanvasRequest, UiPrintCanvasRequest, UiPrintCanvasResponse, UiSelectCanvasesRequest, UiSelectCanvasesResponse } from './types.ui';
3
3
  /**
4
4
  * Modify the currently loaded canvas. On the web it sends
5
5
  * an [update_canvas](https://pitcher.readme.io/reference/update_canvas) request to the server.
@@ -7,6 +7,20 @@ import { UiAppResizeRequest, UiCanvasNavigatePageRequest, UiUpdateCanvasRequest,
7
7
  * @param payload parts of the canvas object to update with fields to return
8
8
  */
9
9
  export declare function updateCanvas(payload: UiUpdateCanvasRequest): Promise<CanvasRetrieve>;
10
+ /**
11
+ * Trigger async print/download of a canvas with optional notification URL.
12
+ * Calls the downloader-test endpoint to convert the canvas to PDF.
13
+ *
14
+ * @param payload Canvas ID and optional notify URL for async notifications
15
+ * @returns Promise with job ID and success status
16
+ *
17
+ * @example
18
+ * useUi().printCanvas({
19
+ * id: '01HH4RCBH631K4JDHWAQB0RPR6',
20
+ * notify_url: 'https://my-webhook.example.com/canvas-ready'
21
+ * })
22
+ */
23
+ export declare function printCanvas(payload: UiPrintCanvasRequest): Promise<UiPrintCanvasResponse>;
10
24
  /**
11
25
  * Notify the CatalogIQ instance that the app is loaded and ready to get the data. Triggering this method will trigger
12
26
  * the `on_app_set_data` event.
@@ -35,6 +49,16 @@ export declare function appResize(payload: UiAppResizeRequest): Promise<void>;
35
49
  * useUi().closeCanvasSectionExecution()
36
50
  */
37
51
  export declare function closeCanvasSectionExecution(): Promise<void>;
52
+ /**
53
+ * Close the Canvas Drawer modal. Only takes effect for apps running in `canvas_drawer` embed location
54
+ *
55
+ * Note that this method simply closes the drawer and will result in the app calling it being unmounted from the DOM and
56
+ * destroyed. Make sure your app has finished updating data before you call this method.
57
+ *
58
+ * @example
59
+ * useUi().closeCanvasDrawer()
60
+ */
61
+ export declare function closeCanvasDrawer(): Promise<void>;
38
62
  /**
39
63
  * Navigate to the next page in the current canvas. Noop if the current page is the last one.
40
64
  *
@@ -122,9 +122,11 @@ declare const _default: {
122
122
  disablePostcallSubmit(): Promise<void>;
123
123
  setPostcallStyle(payload: import('./types.ui').UiSetPostcallStyleRequest): Promise<void>;
124
124
  updateCanvas(payload: import('./types.ui').UiUpdateCanvasRequest): Promise<import('../../../../main.lib').CanvasRetrieve>;
125
+ printCanvas(payload: import('./types.ui').UiPrintCanvasRequest): Promise<import('./types.ui').UiPrintCanvasResponse>;
125
126
  appLoaded(): Promise<void>;
126
127
  appResize(payload: import('./types.ui').UiAppResizeRequest): Promise<void>;
127
128
  closeCanvasSectionExecution(): Promise<void>;
129
+ closeCanvasDrawer(): Promise<void>;
128
130
  canvasNavigateNextPage(): Promise<void>;
129
131
  canvasNavigatePreviousPage(): Promise<void>;
130
132
  canvasNavigatePage(payload: import('./types.ui').UiCanvasNavigatePageRequest): Promise<void>;