@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
@@ -17,6 +17,7 @@ interface Props {
17
17
  width?: number;
18
18
  multiple?: boolean;
19
19
  selectedItemIds?: any[];
20
+ overlap?: boolean;
20
21
  }
21
22
  declare function __VLS_template(): {
22
23
  attrs: Partial<{}>;
@@ -33,8 +34,10 @@ declare function __VLS_template(): {
33
34
  loading?: boolean;
34
35
  }> & Readonly<{
35
36
  "onUpdate:modelValue"?: ((term: string) => any) | undefined;
37
+ "onUpdate:search"?: ((term: string) => any) | undefined;
36
38
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
37
39
  "update:modelValue": (term: string) => any;
40
+ "update:search": (term: string) => any;
38
41
  }, import('vue').PublicProps, {
39
42
  size: "small" | "large";
40
43
  loading: boolean;
@@ -60,6 +63,7 @@ declare function __VLS_template(): {
60
63
  loading?: boolean;
61
64
  }> & Readonly<{
62
65
  "onUpdate:modelValue"?: ((term: string) => any) | undefined;
66
+ "onUpdate:search"?: ((term: string) => any) | undefined;
63
67
  }>, {}, {}, {}, {}, {
64
68
  size: "small" | "large";
65
69
  loading: boolean;
@@ -81,6 +85,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
81
85
  }>, {
82
86
  multiple: boolean;
83
87
  width: number;
88
+ overlap: boolean;
84
89
  itemSize: number;
85
90
  subtitle: ((item: any) => string) | string;
86
91
  selectedItemIds: any[];
@@ -100,8 +105,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
100
105
  loading?: boolean;
101
106
  }> & Readonly<{
102
107
  "onUpdate:modelValue"?: ((term: string) => any) | undefined;
108
+ "onUpdate:search"?: ((term: string) => any) | undefined;
103
109
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
104
110
  "update:modelValue": (term: string) => any;
111
+ "update:search": (term: string) => any;
105
112
  }, import('vue').PublicProps, {
106
113
  size: "small" | "large";
107
114
  loading: boolean;
@@ -127,6 +134,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
127
134
  loading?: boolean;
128
135
  }> & Readonly<{
129
136
  "onUpdate:modelValue"?: ((term: string) => any) | undefined;
137
+ "onUpdate:search"?: ((term: string) => any) | undefined;
130
138
  }>, {}, {}, {}, {}, {
131
139
  size: "small" | "large";
132
140
  loading: boolean;
@@ -1,7 +1,7 @@
1
1
  import { Ref } from 'vue';
2
2
  import { I18n } from 'vue-i18n';
3
3
  import { feedbackIntegration as FeedbackIntegration } from '@sentry/vue';
4
- import { File, Favorite, MiniPage, FileRetrieve, MetadataTemplate } from '../../../types/openapi';
4
+ import { File, MiniPage, FileRetrieve, MetadataTemplate } from '../../../types/openapi';
5
5
  import { RecentFile } from '../../types/recentFiles.types';
6
6
  import { CLIENT_TYPE } from '../../constants/cdp.const';
7
7
  import { AnnotationType } from './CFileViewer.types';
@@ -11,9 +11,6 @@ type __VLS_Props = {
11
11
  file: PitcherFile | null;
12
12
  initialPageNumber?: MiniPage['page_index'];
13
13
  initialSearch?: string;
14
- filePagesFavorites: Favorite[];
15
- fileFavorite: Favorite | null;
16
- isLoadingFavorite: boolean;
17
14
  isPublishing?: boolean;
18
15
  isSavingPagesMetadata?: boolean;
19
16
  isLoadingInstanceMetadataTemplate?: boolean;
@@ -21,7 +18,6 @@ type __VLS_Props = {
21
18
  hideActions?: boolean;
22
19
  hideDownload?: boolean;
23
20
  assetsPrefix?: string;
24
- isFavoriteEnabled?: boolean;
25
21
  clientType?: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
26
22
  selectContent?: (fileId?: FileRetrieve['id'], pageIndex?: number) => Promise<FileRetrieve | null>;
27
23
  appLocale?: SupportedLocale;
@@ -34,6 +30,8 @@ type __VLS_Props = {
34
30
  isOverlay?: boolean;
35
31
  videoCurrentTime?: number;
36
32
  instanceMetadataTemplate?: MetadataTemplate | null;
33
+ isInSharebox?: boolean;
34
+ isPreviewMode?: boolean;
37
35
  };
38
36
  declare function __VLS_template(): {
39
37
  attrs: Partial<{}>;
@@ -230,18 +228,14 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
230
228
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
231
229
  file: PitcherFile | null;
232
230
  isOverlay: boolean;
233
- isLoadingFavorite: boolean;
234
231
  isPublishing: boolean;
235
232
  hideActions: boolean;
236
233
  allowNoteTaking: boolean;
237
234
  clientType: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
238
235
  hideDownload: boolean;
239
- isFavoriteEnabled: boolean;
240
- filePagesFavorites: Favorite[];
241
236
  assetsPrefix: string;
242
237
  initialPageNumber: number;
243
238
  initialSearch: string;
244
- fileFavorite: Favorite | null;
245
239
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
246
240
  pdfViewerEl: HTMLDivElement;
247
241
  bottomBarRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
@@ -8,8 +8,6 @@ interface Props {
8
8
  file: PitcherFile | null;
9
9
  isPublishing: boolean;
10
10
  areAnnotationsModified: boolean;
11
- isFavorite: boolean;
12
- isLoadingFavorite: boolean;
13
11
  hideActions: boolean;
14
12
  allowNoteTaking?: boolean;
15
13
  clientType: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
@@ -18,7 +16,8 @@ interface Props {
18
16
  track?: (eventName: string, payload: any) => void;
19
17
  disableFullScreen?: boolean;
20
18
  hideDownload?: boolean;
21
- isFavoriteEnabled?: boolean;
19
+ isInSharebox?: boolean;
20
+ isPreviewMode?: boolean;
22
21
  }
23
22
  declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
23
  search: () => any;
@@ -26,7 +25,6 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
26
25
  downloadFile: () => any;
27
26
  publishFile: () => any;
28
27
  addToSharebox: (args_0: ShareboxItem) => any;
29
- toggleFavoriteFile: () => any;
30
28
  toggleNotes: () => any;
31
29
  showRecentFiles: (args_0: string[]) => any;
32
30
  toggleFullscreen: () => any;
@@ -42,7 +40,6 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
42
40
  onDownloadFile?: (() => any) | undefined;
43
41
  onPublishFile?: (() => any) | undefined;
44
42
  onAddToSharebox?: ((args_0: ShareboxItem) => any) | undefined;
45
- onToggleFavoriteFile?: (() => any) | undefined;
46
43
  onToggleNotes?: (() => any) | undefined;
47
44
  onShowRecentFiles?: ((args_0: string[]) => any) | undefined;
48
45
  onToggleFullscreen?: (() => any) | undefined;
@@ -3,7 +3,7 @@ import { I18n } from 'vue-i18n';
3
3
  import { Instance, AnnotationsUnion } from 'pspdfkit';
4
4
  import { AnnotationType } from '../CFileViewer.types';
5
5
  import { PitcherFile } from '../../../types/file.types';
6
- import { Favorite, MiniPage, File, FileRetrieve } from '../../../../types/openapi';
6
+ import { MiniPage, File, FileRetrieve } from '../../../../types/openapi';
7
7
  import { CLIENT_TYPE } from '../../../constants/cdp.const';
8
8
  import { default as CFileViewerBottomPdf } from './CFileViewerBottom.pdf.vue';
9
9
  import { CanvasFile } from '../../../apps/canvas-builder/types/canvas';
@@ -19,7 +19,6 @@ declare const fileViewerSettings: Readonly<Ref<{
19
19
  }>>;
20
20
  interface FileViewerActions {
21
21
  onCloseFile: () => void;
22
- onToggleFavoriteFilePage: (pageIndex: number) => void;
23
22
  onShowPageMetadata: (pageIndex: number) => void;
24
23
  }
25
24
  interface FileViewerPdfReturnType {
@@ -33,7 +32,6 @@ interface FileViewerPdfReturnType {
33
32
  isTextAnnotationOpen: Ref<boolean>;
34
33
  isLinkAnnotationOpen: Ref<boolean>;
35
34
  currentPageIndex: Ref<number>;
36
- toggleFavoritePageIndex: Ref<number | null>;
37
35
  isAnnotationOpen: Ref<boolean>;
38
36
  areAnnotationsModified: Ref<boolean>;
39
37
  selectedAnnotationType: Ref<Exclude<AnnotationType, 'text'>>;
@@ -47,15 +45,13 @@ interface FileViewerPdfReturnType {
47
45
  onSaveLinkAnnotation: (data: SaveLinkAnnotationPayload) => void;
48
46
  hasHotspotsOnCurrentPage: Ref<boolean>;
49
47
  }
50
- declare const _default: ({ pdfViewerEl, bottomBarRef, i18n, appLocale, actions, filePagesFavorites, assetsPrefix, isFavoriteEnabled, clientType, context, pitcherSettings, launchDarkly, emit, fileId, fetchFileById, }: {
48
+ declare const _default: ({ pdfViewerEl, bottomBarRef, i18n, appLocale, actions, assetsPrefix, clientType, context, pitcherSettings, launchDarkly, emit, fileId, fetchFileById, }: {
51
49
  pdfViewerEl: Ref<HTMLElement | null>;
52
50
  bottomBarRef: Ref<InstanceType<typeof CFileViewerBottomPdf> | null>;
53
- filePagesFavorites: ComputedRef<Favorite[] | null>;
54
51
  i18n: I18n;
55
52
  appLocale?: SupportedLocale;
56
53
  actions: FileViewerActions;
57
54
  assetsPrefix: string;
58
- isFavoriteEnabled: boolean;
59
55
  clientType: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
60
56
  context?: Record<string, any>;
61
57
  pitcherSettings?: ComputedRef<OrganizationSettings & InstanceSettings>;
@@ -36,14 +36,16 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
36
36
  }>, {
37
37
  validate: () => Promise<{
38
38
  config: Record<string, any>;
39
- success: boolean;
39
+ success: true;
40
40
  errors?: undefined;
41
+ firstErrorFieldName?: undefined;
41
42
  } | {
42
43
  config: Record<string, any>;
43
44
  errors: unknown;
44
- success: boolean;
45
+ firstErrorFieldName: string | undefined;
46
+ success: false;
45
47
  }>;
46
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
48
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
47
49
  change: (config: Record<string, any>) => any;
48
50
  }, import('vue').PublicProps, {
49
51
  loading: boolean;
@@ -358,12 +360,14 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
358
360
  }>, {
359
361
  validate: () => Promise<{
360
362
  config: Record<string, any>;
361
- success: boolean;
363
+ success: true;
362
364
  errors?: undefined;
365
+ firstErrorFieldName?: undefined;
363
366
  } | {
364
367
  config: Record<string, any>;
365
368
  errors: unknown;
366
- success: boolean;
369
+ firstErrorFieldName: string | undefined;
370
+ success: false;
367
371
  }>;
368
372
  }, {}, {}, {}, {
369
373
  loading: boolean;
@@ -12,6 +12,7 @@ interface Props {
12
12
  onFileOpen: (id: File['id'], newTab?: boolean) => void;
13
13
  onFileFetch: (id: File['id']) => Promise<FileRetrieve>;
14
14
  onFolderFetch: (id?: Folder['id']) => Promise<FolderRetrieve>;
15
+ onFilesList: (params?: any) => Promise<any[]>;
15
16
  selectedFilesIds?: File['id'][];
16
17
  maxItemsToRender?: number;
17
18
  title?: string;
@@ -30,8 +30,10 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
30
30
  loading?: boolean;
31
31
  }> & Readonly<{
32
32
  "onUpdate:modelValue"?: ((term: string) => any) | undefined;
33
+ "onUpdate:search"?: ((term: string) => any) | undefined;
33
34
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
34
35
  "update:modelValue": (term: string) => any;
36
+ "update:search": (term: string) => any;
35
37
  }, import('vue').PublicProps, {
36
38
  size: "small" | "large";
37
39
  loading: boolean;
@@ -57,6 +59,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
57
59
  loading?: boolean;
58
60
  }> & Readonly<{
59
61
  "onUpdate:modelValue"?: ((term: string) => any) | undefined;
62
+ "onUpdate:search"?: ((term: string) => any) | undefined;
60
63
  }>, {}, {}, {}, {}, {
61
64
  size: "small" | "large";
62
65
  loading: boolean;
@@ -1,9 +1,15 @@
1
+ import { FileContentTypeEnum } from '../../../types/openapi';
1
2
  type __VLS_Props = {
2
3
  src?: string | null;
3
4
  fallbackSrc?: string | null;
4
5
  aiImgDescription?: string;
5
6
  objectFit?: 'cover' | 'contain' | 'scale-down';
6
7
  type?: 'default' | 'error';
8
+ fileData?: {
9
+ name?: string;
10
+ content_type?: FileContentTypeEnum | null;
11
+ content_extension?: string | null;
12
+ } | null;
7
13
  };
8
14
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
15
  error: () => any;
@@ -12,6 +18,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
12
18
  }>, {
13
19
  type: "default" | "error";
14
20
  objectFit: "cover" | "contain" | "scale-down";
21
+ fileData: {
22
+ name?: string;
23
+ content_type?: FileContentTypeEnum | null;
24
+ content_extension?: string | null;
25
+ } | null;
15
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
16
27
  imageRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
17
28
  onPreviewPrev: import('vue').PropType<() => void>;
@@ -74,7 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CI
74
74
  onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
75
75
  onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
76
76
  countGraphemes: import('vue').PropType<(value: string) => number>;
77
- status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
77
+ status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
78
78
  'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
79
79
  onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
80
80
  textDecoration: import('vue').PropType<string | [string, string]>;
@@ -337,7 +337,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CI
337
337
  } | {
338
338
  top: string;
339
339
  }>;
340
- mergedStatus: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').FormValidationStatus | undefined>;
340
+ mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
341
341
  textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
342
342
  handleTextAreaScroll: (e: Event) => void;
343
343
  handleCompositionStart: () => void;
@@ -593,7 +593,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CI
593
593
  onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
594
594
  onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
595
595
  countGraphemes: import('vue').PropType<(value: string) => number>;
596
- status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
596
+ status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
597
597
  'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
598
598
  onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
599
599
  textDecoration: import('vue').PropType<string | [string, string]>;
@@ -856,7 +856,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CI
856
856
  } | {
857
857
  top: string;
858
858
  }>;
859
- mergedStatus: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').FormValidationStatus | undefined>;
859
+ mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
860
860
  textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
861
861
  handleTextAreaScroll: (e: Event) => void;
862
862
  handleCompositionStart: () => void;
@@ -1,4 +1,4 @@
1
- interface Props {
1
+ export interface Props {
2
2
  jsUrl?: string;
3
3
  cssUrl?: string;
4
4
  initialize: (n?: HTMLElement | null) => void;
@@ -0,0 +1,27 @@
1
+ type __VLS_Props = {
2
+ modelValue: string;
3
+ height?: number;
4
+ readonly?: boolean;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
7
+ focus: () => void | undefined;
8
+ setValue: (value: string) => void | undefined;
9
+ getValue: () => string;
10
+ formatDocument: () => Promise<void> | undefined;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ blur: () => any;
13
+ focus: () => any;
14
+ "update:modelValue": (args_0: string) => any;
15
+ save: () => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onBlur?: (() => any) | undefined;
18
+ onFocus?: (() => any) | undefined;
19
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
20
+ onSave?: (() => any) | undefined;
21
+ }>, {
22
+ height: number;
23
+ readonly: boolean;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
+ editorContainer: HTMLDivElement;
26
+ }, HTMLDivElement>;
27
+ export default _default;
@@ -0,0 +1,14 @@
1
+ export interface PillOption {
2
+ label: string;
3
+ value: string | number | null;
4
+ }
5
+ type __VLS_Props = {
6
+ options: PillOption[];
7
+ modelValue: string | number | null | undefined;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string | number | null | undefined) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ export default _default;
@@ -10,5 +10,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
10
10
  isRecommended: boolean;
11
11
  views: number;
12
12
  variation: "extended" | "compact" | "minimal";
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -0,0 +1,19 @@
1
+ interface Props {
2
+ message?: string;
3
+ opacity?: number;
4
+ spinSize?: 'small' | 'medium' | 'large';
5
+ spinColor?: string;
6
+ textSize?: 'sm' | 'base' | 'lg' | 'xl';
7
+ textColor?: string;
8
+ rounded?: boolean;
9
+ }
10
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
11
+ textColor: string;
12
+ message: string;
13
+ opacity: number;
14
+ spinSize: "small" | "medium" | "large";
15
+ spinColor: string;
16
+ textSize: "sm" | "base" | "lg" | "xl";
17
+ rounded: boolean;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
+ export default _default;
@@ -4,12 +4,16 @@ type __VLS_Props = {
4
4
  availableFilters: AvailableFilters;
5
5
  modelValue?: string[] | null;
6
6
  mutuallyExclusive?: boolean;
7
+ size?: 'default' | 'small';
8
+ hideTitle?: boolean;
7
9
  };
8
10
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
11
  "update:model-value": (...args: any[]) => void;
10
12
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
13
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
12
14
  }>, {
15
+ size: "default" | "small";
13
16
  mutuallyExclusive: boolean;
17
+ hideTitle: boolean;
14
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
19
  export default _default;
@@ -0,0 +1,28 @@
1
+ interface Props {
2
+ modelValue: string;
3
+ title?: string;
4
+ nameLabel?: string;
5
+ placeholder?: string;
6
+ description?: string;
7
+ cancelText?: string;
8
+ confirmText?: string;
9
+ required?: boolean;
10
+ }
11
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ cancel: () => any;
13
+ "update:modelValue": (value: string) => any;
14
+ confirm: (value: string) => any;
15
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
16
+ onCancel?: (() => any) | undefined;
17
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
+ onConfirm?: ((value: string) => any) | undefined;
19
+ }>, {
20
+ placeholder: string;
21
+ title: string;
22
+ required: boolean;
23
+ description: string;
24
+ nameLabel: string;
25
+ cancelText: string;
26
+ confirmText: string;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ export default _default;
@@ -1,17 +1,22 @@
1
1
  import { StyleValue } from 'vue';
2
2
  import { TreeSelectOverrideNodeClickBehavior } from 'naive-ui';
3
3
  type __VLS_Props = {
4
+ allowMultiple?: boolean;
4
5
  data: Record<string, any>;
5
6
  themeOverrides?: {
6
7
  active: StyleValue;
7
8
  default: StyleValue;
8
9
  };
10
+ allowArrays?: boolean;
9
11
  };
10
12
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
13
  select: (value: string) => any;
12
14
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
15
  onSelect?: ((value: string) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
16
+ }>, {
17
+ allowMultiple: boolean;
18
+ allowArrays: boolean;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
20
  popoverRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
16
21
  internalOnAfterLeave: import('vue').PropType<() => void>;
17
22
  internalRenderBody: import('vue').PropType<import('naive-ui/es/popover/src/interface').InternalRenderBody>;
@@ -415,6 +420,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
415
420
  readonly type: import('vue').PropType<import('naive-ui/es/tree/src/interface').Key[]>;
416
421
  readonly default: () => never[];
417
422
  };
423
+ readonly indent: {
424
+ readonly type: NumberConstructor;
425
+ readonly default: 24;
426
+ };
418
427
  readonly indeterminateKeys: import('vue').PropType<import('naive-ui/es/tree/src/interface').Key[]>;
419
428
  readonly renderSwitcherIcon: import('vue').PropType<import('naive-ui/es/tree/src/interface').RenderSwitcherIcon>;
420
429
  readonly onUpdateIndeterminateKeys: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/tree/src/Tree').OnUpdateIndeterminateKeys>>;
@@ -483,7 +492,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
483
492
  readonly type: BooleanConstructor;
484
493
  readonly default: true;
485
494
  };
486
- readonly status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
495
+ readonly status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
487
496
  readonly renderTag: import('vue').PropType<import('naive-ui').TreeSelectRenderTag>;
488
497
  readonly ellipsisTagPopoverProps: import('vue').PropType<import('naive-ui').PopoverProps>;
489
498
  readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"TreeSelect", {
@@ -1007,7 +1016,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
1007
1016
  }>>>;
1008
1017
  }>> & Readonly<{}>, {
1009
1018
  menuElRef: import('vue').Ref<HTMLDivElement | null, HTMLDivElement | null>;
1010
- mergedStatus: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').FormValidationStatus | undefined>;
1019
+ mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
1011
1020
  triggerInstRef: import('vue').Ref<{
1012
1021
  isComposing: boolean;
1013
1022
  focus: () => void;
@@ -1401,6 +1410,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
1401
1410
  readonly defaultExpandAll: boolean;
1402
1411
  readonly allowCheckingNotLoaded: boolean;
1403
1412
  readonly cascade: boolean;
1413
+ readonly indent: number;
1404
1414
  readonly checkStrategy: import('treemate').CheckStrategy;
1405
1415
  readonly disabledField: string;
1406
1416
  readonly leafOnly: boolean;
@@ -1452,6 +1462,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
1452
1462
  readonly type: import('vue').PropType<import('naive-ui/es/tree/src/interface').Key[]>;
1453
1463
  readonly default: () => never[];
1454
1464
  };
1465
+ readonly indent: {
1466
+ readonly type: NumberConstructor;
1467
+ readonly default: 24;
1468
+ };
1455
1469
  readonly indeterminateKeys: import('vue').PropType<import('naive-ui/es/tree/src/interface').Key[]>;
1456
1470
  readonly renderSwitcherIcon: import('vue').PropType<import('naive-ui/es/tree/src/interface').RenderSwitcherIcon>;
1457
1471
  readonly onUpdateIndeterminateKeys: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/tree/src/Tree').OnUpdateIndeterminateKeys>>;
@@ -1520,7 +1534,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
1520
1534
  readonly type: BooleanConstructor;
1521
1535
  readonly default: true;
1522
1536
  };
1523
- readonly status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
1537
+ readonly status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
1524
1538
  readonly renderTag: import('vue').PropType<import('naive-ui').TreeSelectRenderTag>;
1525
1539
  readonly ellipsisTagPopoverProps: import('vue').PropType<import('naive-ui').PopoverProps>;
1526
1540
  readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"TreeSelect", {
@@ -2044,7 +2058,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
2044
2058
  }>>>;
2045
2059
  }>> & Readonly<{}>, {
2046
2060
  menuElRef: import('vue').Ref<HTMLDivElement | null, HTMLDivElement | null>;
2047
- mergedStatus: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').FormValidationStatus | undefined>;
2061
+ mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
2048
2062
  triggerInstRef: import('vue').Ref<{
2049
2063
  isComposing: boolean;
2050
2064
  focus: () => void;
@@ -2438,6 +2452,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
2438
2452
  readonly defaultExpandAll: boolean;
2439
2453
  readonly allowCheckingNotLoaded: boolean;
2440
2454
  readonly cascade: boolean;
2455
+ readonly indent: number;
2441
2456
  readonly checkStrategy: import('treemate').CheckStrategy;
2442
2457
  readonly disabledField: string;
2443
2458
  readonly leafOnly: boolean;