@epam/ai-dial-chat-hooks 1.3.0-dev.7 → 1.3.0-dev.79

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 (456) hide show
  1. package/api-error/api-error.d.ts +30 -0
  2. package/api-error/api-error.d.ts.map +1 -0
  3. package/api-transport/create-csrf-middleware.d.ts +15 -0
  4. package/api-transport/create-csrf-middleware.d.ts.map +1 -0
  5. package/api-transport/create-unauthorized-middleware.d.ts +40 -0
  6. package/api-transport/create-unauthorized-middleware.d.ts.map +1 -0
  7. package/attachment/useAttachmentAction/useAttachmentAction.d.ts +32 -0
  8. package/attachment/useAttachmentAction/useAttachmentAction.d.ts.map +1 -0
  9. package/attachment/useAttachmentValidation/useAttachmentValidation.d.ts +50 -0
  10. package/attachment/useAttachmentValidation/useAttachmentValidation.d.ts.map +1 -0
  11. package/attachments.d.ts +2 -94
  12. package/catalog/catalog-derivations.d.ts +27 -0
  13. package/catalog/catalog-derivations.d.ts.map +1 -0
  14. package/catalog/catalog-primary-action.d.ts +47 -0
  15. package/catalog/catalog-primary-action.d.ts.map +1 -0
  16. package/catalog/create-publish-api.d.ts +32 -0
  17. package/catalog/create-publish-api.d.ts.map +1 -0
  18. package/catalog/deployment-endpoint-url.d.ts +19 -0
  19. package/catalog/deployment-endpoint-url.d.ts.map +1 -0
  20. package/catalog/deployment-id.d.ts +42 -0
  21. package/catalog/deployment-id.d.ts.map +1 -0
  22. package/catalog/entity-details.d.ts +146 -0
  23. package/catalog/entity-details.d.ts.map +1 -0
  24. package/catalog/map-deployment-limits-to-catalog.d.ts +34 -0
  25. package/catalog/map-deployment-limits-to-catalog.d.ts.map +1 -0
  26. package/catalog/map-deployment-limits-to-input.d.ts +28 -0
  27. package/catalog/map-deployment-limits-to-input.d.ts.map +1 -0
  28. package/catalog/map-deployment-to-catalog-item.d.ts +61 -0
  29. package/catalog/map-deployment-to-catalog-item.d.ts.map +1 -0
  30. package/catalog/map-entity-details-to-catalog.d.ts +81 -0
  31. package/catalog/map-entity-details-to-catalog.d.ts.map +1 -0
  32. package/catalog/map-prompt-to-catalog-item.d.ts +43 -0
  33. package/catalog/map-prompt-to-catalog-item.d.ts.map +1 -0
  34. package/catalog/map-skill-to-catalog-item.d.ts +113 -0
  35. package/catalog/map-skill-to-catalog-item.d.ts.map +1 -0
  36. package/catalog/mcp-endpoint-url.d.ts +18 -0
  37. package/catalog/mcp-endpoint-url.d.ts.map +1 -0
  38. package/catalog/publish.d.ts +35 -0
  39. package/catalog/publish.d.ts.map +1 -0
  40. package/catalog/useApplicationCredentials/useApplicationCredentials.d.ts +19 -0
  41. package/catalog/useApplicationCredentials/useApplicationCredentials.d.ts.map +1 -0
  42. package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts +100 -0
  43. package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts.map +1 -0
  44. package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.js +139 -122
  45. package/catalog/useCatalogItemDetails.d.ts +70 -0
  46. package/catalog/useCatalogItemDetails.d.ts.map +1 -0
  47. package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts +76 -0
  48. package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts.map +1 -0
  49. package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.d.ts +37 -0
  50. package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.d.ts.map +1 -0
  51. package/catalog/usePublishFolders/usePublishFolders.d.ts +73 -0
  52. package/catalog/usePublishFolders/usePublishFolders.d.ts.map +1 -0
  53. package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.d.ts +54 -0
  54. package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.d.ts.map +1 -0
  55. package/catalog/useSkillItemDetails.d.ts +64 -0
  56. package/catalog/useSkillItemDetails.d.ts.map +1 -0
  57. package/catalog.d.ts +2 -1433
  58. package/conversation/announcement-message.d.ts +61 -0
  59. package/conversation/announcement-message.d.ts.map +1 -0
  60. package/conversation/conversation-draft/conversation-draft-store.d.ts +21 -0
  61. package/conversation/conversation-draft/conversation-draft-store.d.ts.map +1 -0
  62. package/conversation/conversation-draft/conversation-draft-store.js +84 -0
  63. package/conversation/conversation-draft/conversation-draft.d.ts +48 -0
  64. package/conversation/conversation-draft/conversation-draft.d.ts.map +1 -0
  65. package/conversation/conversation-transfer/async.d.ts +10 -0
  66. package/conversation/conversation-transfer/async.d.ts.map +1 -0
  67. package/conversation/conversation-transfer/attachment-refs.d.ts +42 -0
  68. package/conversation/conversation-transfer/attachment-refs.d.ts.map +1 -0
  69. package/conversation/conversation-transfer/build-upload-path.d.ts +42 -0
  70. package/conversation/conversation-transfer/build-upload-path.d.ts.map +1 -0
  71. package/conversation/conversation-transfer/date.d.ts +5 -0
  72. package/conversation/conversation-transfer/date.d.ts.map +1 -0
  73. package/conversation/conversation-transfer/dial-file-resolve.d.ts +10 -0
  74. package/conversation/conversation-transfer/dial-file-resolve.d.ts.map +1 -0
  75. package/conversation/conversation-transfer/export-conversation.d.ts +10 -0
  76. package/conversation/conversation-transfer/export-conversation.d.ts.map +1 -0
  77. package/conversation/conversation-transfer/import-conversation.d.ts +106 -0
  78. package/conversation/conversation-transfer/import-conversation.d.ts.map +1 -0
  79. package/conversation/conversation-transfer/progress.d.ts +60 -0
  80. package/conversation/conversation-transfer/progress.d.ts.map +1 -0
  81. package/conversation/conversation-transfer/queue.d.ts +54 -0
  82. package/conversation/conversation-transfer/queue.d.ts.map +1 -0
  83. package/conversation/conversation-transfer/types.d.ts +36 -0
  84. package/conversation/conversation-transfer/types.d.ts.map +1 -0
  85. package/conversation/conversation-transfer/zip-export.d.ts +31 -0
  86. package/conversation/conversation-transfer/zip-export.d.ts.map +1 -0
  87. package/conversation/conversation-transfer/zip-import.d.ts +17 -0
  88. package/conversation/conversation-transfer/zip-import.d.ts.map +1 -0
  89. package/conversation/create-chat-stream-api.d.ts +92 -0
  90. package/conversation/create-chat-stream-api.d.ts.map +1 -0
  91. package/conversation/deriveConversationRowActionState/deriveConversationRowActionState.d.ts +39 -0
  92. package/conversation/deriveConversationRowActionState/deriveConversationRowActionState.d.ts.map +1 -0
  93. package/conversation/display-name-watch.d.ts +4 -0
  94. package/conversation/display-name-watch.d.ts.map +1 -0
  95. package/conversation/footer-message.d.ts +10 -0
  96. package/conversation/footer-message.d.ts.map +1 -0
  97. package/conversation/get-model-id-from-conversation-id.d.ts +38 -0
  98. package/conversation/get-model-id-from-conversation-id.d.ts.map +1 -0
  99. package/conversation/get-model-id-from-conversation-id.js +1 -1
  100. package/conversation/greeting.d.ts +18 -0
  101. package/conversation/greeting.d.ts.map +1 -0
  102. package/conversation/message-factory.d.ts +7 -0
  103. package/conversation/message-factory.d.ts.map +1 -0
  104. package/conversation/message-utils.d.ts +67 -0
  105. package/conversation/message-utils.d.ts.map +1 -0
  106. package/conversation/overlay-messages.d.ts +5 -0
  107. package/conversation/overlay-messages.d.ts.map +1 -0
  108. package/conversation/quick-app-conversation-starters.d.ts +10 -0
  109. package/conversation/quick-app-conversation-starters.d.ts.map +1 -0
  110. package/conversation/stage.d.ts +77 -0
  111. package/conversation/stage.d.ts.map +1 -0
  112. package/conversation/starter-option.d.ts +21 -0
  113. package/conversation/starter-option.d.ts.map +1 -0
  114. package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts +35 -0
  115. package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts.map +1 -0
  116. package/conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.d.ts +46 -0
  117. package/conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.d.ts.map +1 -0
  118. package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts +27 -0
  119. package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts.map +1 -0
  120. package/conversation/useConversationComposerDraft/useConversationComposerDraft.d.ts +39 -0
  121. package/conversation/useConversationComposerDraft/useConversationComposerDraft.d.ts.map +1 -0
  122. package/conversation/useConversationComposerDraft/useConversationComposerDraft.js +132 -0
  123. package/conversation/useConversationExport/useConversationExport.d.ts +72 -0
  124. package/conversation/useConversationExport/useConversationExport.d.ts.map +1 -0
  125. package/conversation/useConversationHandlers/attachment-to-dto.d.ts +7 -0
  126. package/conversation/useConversationHandlers/attachment-to-dto.d.ts.map +1 -0
  127. package/conversation/useConversationHandlers/message-factory.d.ts +9 -0
  128. package/conversation/useConversationHandlers/message-factory.d.ts.map +1 -0
  129. package/conversation/useConversationHandlers/message-utils.d.ts +38 -0
  130. package/conversation/useConversationHandlers/message-utils.d.ts.map +1 -0
  131. package/conversation/useConversationHandlers/starter-option.d.ts +24 -0
  132. package/conversation/useConversationHandlers/starter-option.d.ts.map +1 -0
  133. package/conversation/useConversationHandlers/useConversationHandlers.d.ts +66 -0
  134. package/conversation/useConversationHandlers/useConversationHandlers.d.ts.map +1 -0
  135. package/conversation/useConversationImport/useConversationImport.d.ts +54 -0
  136. package/conversation/useConversationImport/useConversationImport.d.ts.map +1 -0
  137. package/conversation/useConversationLookupMaps/useConversationLookupMaps.d.ts +24 -0
  138. package/conversation/useConversationLookupMaps/useConversationLookupMaps.d.ts.map +1 -0
  139. package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts +64 -0
  140. package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts.map +1 -0
  141. package/conversation/useConversationScroll/useConversationScroll.d.ts +46 -0
  142. package/conversation/useConversationScroll/useConversationScroll.d.ts.map +1 -0
  143. package/conversation/useConversationStream/apply-chunk.d.ts +35 -0
  144. package/conversation/useConversationStream/apply-chunk.d.ts.map +1 -0
  145. package/conversation/useConversationStream/buffered-generation.d.ts +15 -0
  146. package/conversation/useConversationStream/buffered-generation.d.ts.map +1 -0
  147. package/conversation/useConversationStream/conversation-path.d.ts +7 -0
  148. package/conversation/useConversationStream/conversation-path.d.ts.map +1 -0
  149. package/conversation/useConversationStream/frame-scheduler.d.ts +14 -0
  150. package/conversation/useConversationStream/frame-scheduler.d.ts.map +1 -0
  151. package/conversation/useConversationStream/generation-resume.d.ts +85 -0
  152. package/conversation/useConversationStream/generation-resume.d.ts.map +1 -0
  153. package/conversation/useConversationStream/useConversationStream.d.ts +145 -0
  154. package/conversation/useConversationStream/useConversationStream.d.ts.map +1 -0
  155. package/conversation/useImportFilePicker/useImportFilePicker.d.ts +32 -0
  156. package/conversation/useImportFilePicker/useImportFilePicker.d.ts.map +1 -0
  157. package/conversation/useMessageSelectionReply/useMessageSelectionReply.d.ts +42 -0
  158. package/conversation/useMessageSelectionReply/useMessageSelectionReply.d.ts.map +1 -0
  159. package/conversation/useTranscribeAudio/audio-transcription-error.d.ts +19 -0
  160. package/conversation/useTranscribeAudio/audio-transcription-error.d.ts.map +1 -0
  161. package/conversation/useTranscribeAudio/transcription-retry.d.ts +2 -0
  162. package/conversation/useTranscribeAudio/transcription-retry.d.ts.map +1 -0
  163. package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts +43 -0
  164. package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts.map +1 -0
  165. package/conversation/useTranscribeAudio/useTranscribeAudio.js +30 -27
  166. package/conversation-overlay.d.ts +2 -7
  167. package/conversation-sources/useConversationSources/useConversationSources.d.ts +20 -0
  168. package/conversation-sources/useConversationSources/useConversationSources.d.ts.map +1 -0
  169. package/conversation-sources.d.ts +2 -25
  170. package/conversation-transfer.d.ts +2 -190
  171. package/conversation.d.ts +2 -1372
  172. package/conversation.js +34 -32
  173. package/entry-points/attachments.d.ts +3 -0
  174. package/entry-points/attachments.d.ts.map +1 -0
  175. package/entry-points/catalog.d.ts +25 -0
  176. package/entry-points/catalog.d.ts.map +1 -0
  177. package/entry-points/conversation-overlay.d.ts +2 -0
  178. package/entry-points/conversation-overlay.d.ts.map +1 -0
  179. package/entry-points/conversation-sources.d.ts +2 -0
  180. package/entry-points/conversation-sources.d.ts.map +1 -0
  181. package/entry-points/conversation-transfer.d.ts +7 -0
  182. package/entry-points/conversation-transfer.d.ts.map +1 -0
  183. package/entry-points/conversation.d.ts +36 -0
  184. package/entry-points/conversation.d.ts.map +1 -0
  185. package/entry-points/file-manager-canvas.d.ts +2 -0
  186. package/entry-points/file-manager-canvas.d.ts.map +1 -0
  187. package/entry-points/file-manager.d.ts +31 -0
  188. package/entry-points/file-manager.d.ts.map +1 -0
  189. package/entry-points/mcp-apps.d.ts +6 -0
  190. package/entry-points/mcp-apps.d.ts.map +1 -0
  191. package/entry-points/oauth.d.ts +10 -0
  192. package/entry-points/oauth.d.ts.map +1 -0
  193. package/entry-points/offline-credentials.d.ts +5 -0
  194. package/entry-points/offline-credentials.d.ts.map +1 -0
  195. package/entry-points/scheduled-tasks.d.ts +9 -0
  196. package/entry-points/scheduled-tasks.d.ts.map +1 -0
  197. package/entry-points/scroll-anchoring.d.ts +2 -0
  198. package/entry-points/scroll-anchoring.d.ts.map +1 -0
  199. package/entry-points/sharing.d.ts +3 -0
  200. package/entry-points/sharing.d.ts.map +1 -0
  201. package/entry-points/skill-editor.d.ts +9 -0
  202. package/entry-points/skill-editor.d.ts.map +1 -0
  203. package/entry-points/skills-state.d.ts +2 -0
  204. package/entry-points/skills-state.d.ts.map +1 -0
  205. package/entry-points/source-content.d.ts +2 -0
  206. package/entry-points/source-content.d.ts.map +1 -0
  207. package/entry-points/usage-limits.d.ts +8 -0
  208. package/entry-points/usage-limits.d.ts.map +1 -0
  209. package/entry-points/usage.d.ts +3 -0
  210. package/entry-points/usage.d.ts.map +1 -0
  211. package/entry-points/utils.d.ts +17 -0
  212. package/entry-points/utils.d.ts.map +1 -0
  213. package/entry-points/viewport-layout.d.ts +4 -0
  214. package/entry-points/viewport-layout.d.ts.map +1 -0
  215. package/file-manager-canvas.d.ts +2 -418
  216. package/file-manager.d.ts +2 -1237
  217. package/file-manager.js +25 -25
  218. package/files/annotation.d.ts +10 -0
  219. package/files/annotation.d.ts.map +1 -0
  220. package/files/attachment-canvas.d.ts +123 -0
  221. package/files/attachment-canvas.d.ts.map +1 -0
  222. package/files/attachment-dto-to-display.d.ts +10 -0
  223. package/files/attachment-dto-to-display.d.ts.map +1 -0
  224. package/files/attachment-types.d.ts +21 -0
  225. package/files/attachment-types.d.ts.map +1 -0
  226. package/files/create-files-api.d.ts +52 -0
  227. package/files/create-files-api.d.ts.map +1 -0
  228. package/files/create-upload-file-with-progress.d.ts +24 -0
  229. package/files/create-upload-file-with-progress.d.ts.map +1 -0
  230. package/files/dial-file-manager-copy-move.util.d.ts +15 -0
  231. package/files/dial-file-manager-copy-move.util.d.ts.map +1 -0
  232. package/files/dial-file-manager-mapping.util.d.ts +51 -0
  233. package/files/dial-file-manager-mapping.util.d.ts.map +1 -0
  234. package/files/dial-file-manager-mapping.util.js +77 -62
  235. package/files/dial-file-manager-path.util.d.ts +48 -0
  236. package/files/dial-file-manager-path.util.d.ts.map +1 -0
  237. package/files/dial-file-manager.model.d.ts +36 -0
  238. package/files/dial-file-manager.model.d.ts.map +1 -0
  239. package/files/dial-file-manager.model.js +7 -3
  240. package/files/dial-file-manager.types.d.ts +327 -0
  241. package/files/dial-file-manager.types.d.ts.map +1 -0
  242. package/files/dial-file-manager.types.js +1 -1
  243. package/files/dial-file-to-attachment.d.ts +26 -0
  244. package/files/dial-file-to-attachment.d.ts.map +1 -0
  245. package/files/dial-file.d.ts +17 -0
  246. package/files/dial-file.d.ts.map +1 -0
  247. package/files/dial-files-api.d.ts +71 -0
  248. package/files/dial-files-api.d.ts.map +1 -0
  249. package/files/download-destination.d.ts +31 -0
  250. package/files/download-destination.d.ts.map +1 -0
  251. package/files/file-manager-variant.d.ts +3 -0
  252. package/files/file-manager-variant.d.ts.map +1 -0
  253. package/files/file-name.d.ts +19 -0
  254. package/files/file-name.d.ts.map +1 -0
  255. package/files/prepare-download-destination.d.ts +8 -0
  256. package/files/prepare-download-destination.d.ts.map +1 -0
  257. package/files/resolve-dial-file-api-path.d.ts +12 -0
  258. package/files/resolve-dial-file-api-path.d.ts.map +1 -0
  259. package/files/source-content.d.ts +28 -0
  260. package/files/source-content.d.ts.map +1 -0
  261. package/files/useDialFileListing/useDialFileListing.d.ts +82 -0
  262. package/files/useDialFileListing/useDialFileListing.d.ts.map +1 -0
  263. package/files/useDialFileListing/useDialFileListing.js +64 -51
  264. package/files/useDialFileManager/useDialFileManager.d.ts +16 -0
  265. package/files/useDialFileManager/useDialFileManager.d.ts.map +1 -0
  266. package/files/useDialFileManager/useDialFileManager.js +148 -140
  267. package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts +25 -0
  268. package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts.map +1 -0
  269. package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.d.ts +15 -0
  270. package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.d.ts.map +1 -0
  271. package/files/useDialFileMetadata/useDialFileMetadata.d.ts +28 -0
  272. package/files/useDialFileMetadata/useDialFileMetadata.d.ts.map +1 -0
  273. package/files/useDialFileMutations/useDialFileMutations.d.ts +68 -0
  274. package/files/useDialFileMutations/useDialFileMutations.d.ts.map +1 -0
  275. package/files/useDialFileMutations/useDialFileMutations.js +206 -204
  276. package/files/useDialFileSharing/useDialFileSharing.d.ts +34 -0
  277. package/files/useDialFileSharing/useDialFileSharing.d.ts.map +1 -0
  278. package/files/useDialFileSharing/useDialFileSharing.js +45 -39
  279. package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts +47 -0
  280. package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts.map +1 -0
  281. package/files/useDialFileUploadBatch/useDialFileUploadBatch.js +8 -4
  282. package/files/useFileAttachmentPicker/useFileAttachmentPicker.d.ts +59 -0
  283. package/files/useFileAttachmentPicker/useFileAttachmentPicker.d.ts.map +1 -0
  284. package/index.d.ts +167 -6974
  285. package/index.d.ts.map +1 -0
  286. package/index.js +131 -117
  287. package/mcp-apps/mcp-apps-api-client.d.ts +28 -0
  288. package/mcp-apps/mcp-apps-api-client.d.ts.map +1 -0
  289. package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.d.ts +14 -0
  290. package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.d.ts.map +1 -0
  291. package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts +29 -0
  292. package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts.map +1 -0
  293. package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts +22 -0
  294. package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts.map +1 -0
  295. package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.d.ts +36 -0
  296. package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.d.ts.map +1 -0
  297. package/mcp-apps.d.ts +2 -256
  298. package/oauth/authorize-url.d.ts +16 -0
  299. package/oauth/authorize-url.d.ts.map +1 -0
  300. package/oauth/handshake.d.ts +30 -0
  301. package/oauth/handshake.d.ts.map +1 -0
  302. package/oauth/models.d.ts +81 -0
  303. package/oauth/models.d.ts.map +1 -0
  304. package/oauth/popup.d.ts +30 -0
  305. package/oauth/popup.d.ts.map +1 -0
  306. package/oauth/popup.js +19 -17
  307. package/oauth/toolset-id.d.ts +53 -0
  308. package/oauth/toolset-id.d.ts.map +1 -0
  309. package/oauth/types.d.ts +84 -0
  310. package/oauth/types.d.ts.map +1 -0
  311. package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts +54 -0
  312. package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts.map +1 -0
  313. package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.js +40 -38
  314. package/oauth/useToolsetLogin/useToolsetLogin.d.ts +79 -0
  315. package/oauth/useToolsetLogin/useToolsetLogin.d.ts.map +1 -0
  316. package/oauth.d.ts +2 -472
  317. package/offline-credentials/map-offline-credentials-response.d.ts +17 -0
  318. package/offline-credentials/map-offline-credentials-response.d.ts.map +1 -0
  319. package/offline-credentials/map-offline-credentials-response.js +15 -0
  320. package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.d.ts +58 -0
  321. package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.d.ts.map +1 -0
  322. package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.js +37 -0
  323. package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.d.ts +57 -0
  324. package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.d.ts.map +1 -0
  325. package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.js +34 -0
  326. package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.d.ts +28 -0
  327. package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.d.ts.map +1 -0
  328. package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.js +29 -0
  329. package/offline-credentials.d.ts +2 -0
  330. package/offline-credentials.js +5 -0
  331. package/package.json +31 -17
  332. package/prompt/export-prompt.d.ts +31 -0
  333. package/prompt/export-prompt.d.ts.map +1 -0
  334. package/prompt/prompt-resource.d.ts +30 -0
  335. package/prompt/prompt-resource.d.ts.map +1 -0
  336. package/prompt/prompt.d.ts +34 -0
  337. package/prompt/prompt.d.ts.map +1 -0
  338. package/prompt/usePromptsState/usePromptsState.d.ts +34 -0
  339. package/prompt/usePromptsState/usePromptsState.d.ts.map +1 -0
  340. package/scheduled-task/check-scheduled-task-auth-session-error.d.ts +27 -0
  341. package/scheduled-task/check-scheduled-task-auth-session-error.d.ts.map +1 -0
  342. package/scheduled-task/check-scheduled-task-auth-session-error.js +17 -0
  343. package/scheduled-task/scheduled-task-description.d.ts +38 -0
  344. package/scheduled-task/scheduled-task-description.d.ts.map +1 -0
  345. package/scheduled-task/scheduled-task-mapping.d.ts +19 -0
  346. package/scheduled-task/scheduled-task-mapping.d.ts.map +1 -0
  347. package/scheduled-task/scheduled-task-preparation.d.ts +19 -0
  348. package/scheduled-task/scheduled-task-preparation.d.ts.map +1 -0
  349. package/scheduled-task/scheduled-task-trigger.d.ts +26 -0
  350. package/scheduled-task/scheduled-task-trigger.d.ts.map +1 -0
  351. package/scheduled-task/scheduled-tasks-api-client.d.ts +67 -0
  352. package/scheduled-task/scheduled-tasks-api-client.d.ts.map +1 -0
  353. package/scheduled-task/use-scheduled-task-runs.d.ts +40 -0
  354. package/scheduled-task/use-scheduled-task-runs.d.ts.map +1 -0
  355. package/scheduled-task/use-scheduled-task-runs.js +67 -67
  356. package/scheduled-task/use-scheduled-tasks.d.ts +28 -0
  357. package/scheduled-task/use-scheduled-tasks.d.ts.map +1 -0
  358. package/scheduled-tasks.d.ts +2 -250
  359. package/scheduled-tasks.js +2 -1
  360. package/scroll-anchoring.d.ts +2 -50
  361. package/shared/application-schema.d.ts +18 -0
  362. package/shared/application-schema.d.ts.map +1 -0
  363. package/shared/application-schema.js +2 -2
  364. package/shared/browser-timezone.d.ts +7 -0
  365. package/shared/browser-timezone.d.ts.map +1 -0
  366. package/shared/cron-day-of-month.d.ts +21 -0
  367. package/shared/cron-day-of-month.d.ts.map +1 -0
  368. package/shared/cron-weekday.d.ts +5 -0
  369. package/shared/cron-weekday.d.ts.map +1 -0
  370. package/shared/custom-apps.d.ts +7 -0
  371. package/shared/custom-apps.d.ts.map +1 -0
  372. package/shared/external-services.d.ts +16 -0
  373. package/shared/external-services.d.ts.map +1 -0
  374. package/shared/formatting.d.ts +5 -0
  375. package/shared/formatting.d.ts.map +1 -0
  376. package/shared/locale.d.ts +45 -0
  377. package/shared/locale.d.ts.map +1 -0
  378. package/shared/string-utils.d.ts +11 -0
  379. package/shared/string-utils.d.ts.map +1 -0
  380. package/shared/toolset-login-events.d.ts +15 -0
  381. package/shared/toolset-login-events.d.ts.map +1 -0
  382. package/sharing.d.ts +2 -65
  383. package/skill/skill-archive.d.ts +7 -0
  384. package/skill/skill-archive.d.ts.map +1 -0
  385. package/skill/skill-file-batch-validation.d.ts +70 -0
  386. package/skill/skill-file-batch-validation.d.ts.map +1 -0
  387. package/skill/skill-file-preview.d.ts +25 -0
  388. package/skill/skill-file-preview.d.ts.map +1 -0
  389. package/skill/skill-manifest.d.ts +28 -0
  390. package/skill/skill-manifest.d.ts.map +1 -0
  391. package/skill/skill-types.d.ts +46 -0
  392. package/skill/skill-types.d.ts.map +1 -0
  393. package/skill/skill.d.ts +160 -0
  394. package/skill/skill.d.ts.map +1 -0
  395. package/skill/useSkillArchiveImport/useSkillArchiveImport.d.ts +65 -0
  396. package/skill/useSkillArchiveImport/useSkillArchiveImport.d.ts.map +1 -0
  397. package/skill/useSkillEditorLoad.d.ts +74 -0
  398. package/skill/useSkillEditorLoad.d.ts.map +1 -0
  399. package/skill/useSkillEditorSubmit.d.ts +125 -0
  400. package/skill/useSkillEditorSubmit.d.ts.map +1 -0
  401. package/skill/useSkillFileActions.d.ts +60 -0
  402. package/skill/useSkillFileActions.d.ts.map +1 -0
  403. package/skill/useSkillFilePreview.d.ts +38 -0
  404. package/skill/useSkillFilePreview.d.ts.map +1 -0
  405. package/skill/useSkillsState/useSkillsState.d.ts +35 -0
  406. package/skill/useSkillsState/useSkillsState.d.ts.map +1 -0
  407. package/skill-editor.d.ts +2 -655
  408. package/skills-state.d.ts +2 -40
  409. package/source-content.d.ts +2 -29
  410. package/usage/map-usage-data-to-dashboard.d.ts +39 -0
  411. package/usage/map-usage-data-to-dashboard.d.ts.map +1 -0
  412. package/usage/map-user-usage-to-model-limits.d.ts +62 -0
  413. package/usage/map-user-usage-to-model-limits.d.ts.map +1 -0
  414. package/usage/usage-banner-source.d.ts +23 -0
  415. package/usage/usage-banner-source.d.ts.map +1 -0
  416. package/usage/usage-banner-source.js +36 -0
  417. package/usage/usage-period.d.ts +7 -0
  418. package/usage/usage-period.d.ts.map +1 -0
  419. package/usage/usage-period.js +6 -0
  420. package/usage/usage-reset-time.d.ts +69 -0
  421. package/usage/usage-reset-time.d.ts.map +1 -0
  422. package/usage/usage-reset-time.js +72 -0
  423. package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts +32 -0
  424. package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts.map +1 -0
  425. package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.js +39 -0
  426. package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.d.ts +16 -0
  427. package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.d.ts.map +1 -0
  428. package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.js +14 -0
  429. package/usage/useUsageData/useUsageData.d.ts +28 -0
  430. package/usage/useUsageData/useUsageData.d.ts.map +1 -0
  431. package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts +56 -0
  432. package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts.map +1 -0
  433. package/usage/useUsageLimitBanner/useUsageLimitBanner.js +67 -0
  434. package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.d.ts +14 -0
  435. package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.d.ts.map +1 -0
  436. package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.js +19 -0
  437. package/usage-limits.d.ts +2 -0
  438. package/usage-limits.js +8 -0
  439. package/usage.d.ts +2 -125
  440. package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts +128 -0
  441. package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts.map +1 -0
  442. package/usePageFileDrag/usePageFileDrag.d.ts +16 -0
  443. package/usePageFileDrag/usePageFileDrag.d.ts.map +1 -0
  444. package/usePanelMaxWidth/usePanelMaxWidth.d.ts +6 -0
  445. package/usePanelMaxWidth/usePanelMaxWidth.d.ts.map +1 -0
  446. package/useShareLink/useShareLink.d.ts +23 -0
  447. package/useShareLink/useShareLink.d.ts.map +1 -0
  448. package/useShareRecipientsCount/useShareRecipientsCount.d.ts +36 -0
  449. package/useShareRecipientsCount/useShareRecipientsCount.d.ts.map +1 -0
  450. package/useToolsMenu/useToolsMenu.d.ts +31 -0
  451. package/useToolsMenu/useToolsMenu.d.ts.map +1 -0
  452. package/useViewportWidth/useViewportWidth.d.ts +3 -0
  453. package/useViewportWidth/useViewportWidth.d.ts.map +1 -0
  454. package/utils.d.ts +2 -404
  455. package/utils.js +10 -10
  456. package/viewport-layout.d.ts +2 -27
@@ -1,150 +1,158 @@
1
- import { COLUMNS_WITHOUT_AUTHOR as e, COLUMNS_WITH_AUTHOR as t, DATE_OPTIONS as n } from "../dial-file-manager.model.js";
2
- import { hasDialFileWritePermission as r, isCopyMoveDuplicateAllowed as i, isShareActionsAllowed as a } from "../dial-file-manager-path.util.js";
3
- import { deriveActionProfile as o } from "../file-manager-variant.js";
4
- import { useDialFileListing as s } from "../useDialFileListing/useDialFileListing.js";
5
- import { useDialFileMetadata as c } from "../useDialFileMetadata/useDialFileMetadata.js";
6
- import { useDialFileMutations as l } from "../useDialFileMutations/useDialFileMutations.js";
7
- import { useDialFileSharing as u } from "../useDialFileSharing/useDialFileSharing.js";
8
- import { useDialFileUploadBatch as d } from "../useDialFileUploadBatch/useDialFileUploadBatch.js";
9
- import { DialFileManagerActionProfile as f, DialFileManagerVariant as p, isUploadInProgress as m } from "@epam/ai-dial-chat-shared";
10
- import { useCallback as h, useMemo as g } from "react";
11
- import { DialFileManagerActions as _, DialFileManagerTabs as v } from "@epam/ai-dial-react-file-manager";
1
+ import { COLUMNS_MY_FILES as e, COLUMNS_ORGANIZATION as t, COLUMNS_SHARED as n, DATE_OPTIONS as r } from "../dial-file-manager.model.js";
2
+ import { hasDialFileWritePermission as i, isCopyMoveDuplicateAllowed as a, isShareActionsAllowed as o } from "../dial-file-manager-path.util.js";
3
+ import { deriveActionProfile as s } from "../file-manager-variant.js";
4
+ import { useDialFileListing as c } from "../useDialFileListing/useDialFileListing.js";
5
+ import { useDialFileMetadata as l } from "../useDialFileMetadata/useDialFileMetadata.js";
6
+ import { useDialFileMutations as u } from "../useDialFileMutations/useDialFileMutations.js";
7
+ import { useDialFileSharing as d } from "../useDialFileSharing/useDialFileSharing.js";
8
+ import { useDialFileUploadBatch as f } from "../useDialFileUploadBatch/useDialFileUploadBatch.js";
9
+ import { DialFileManagerActionProfile as p, DialFileManagerVariant as m, isUploadInProgress as h } from "@epam/ai-dial-chat-shared";
10
+ import { useCallback as g, useMemo as _ } from "react";
11
+ import { DialFileManagerActions as v, DialFileManagerTabs as y } from "@epam/ai-dial-react-file-manager";
12
12
  //#region src/files/useDialFileManager/useDialFileManager.ts
13
- var y = ({ filesApi: y, bucket: b, rootLabel: x = "My files", activeTab: S = v.MyFiles, isActive: C, sessionKey: w, onNotification: T, onOperationSuccess: E, forbiddenSymbolsRegExp: D, variant: O = p.Attach, actionProfile: k, labels: A, locale: j, disabledNewButtonTooltip: M, downloadDestination: N, buildValidationErrorMessage: P }) => {
14
- let F = k ?? o(O), I = s({
15
- filesApi: y,
16
- bucket: b,
17
- rootLabel: x,
18
- activeTab: S,
19
- onNotification: T,
20
- isActive: C,
21
- sessionKey: w
22
- }), L = d({
23
- filesApi: y,
24
- bucket: b,
25
- rootLabel: x,
26
- activeTab: S,
27
- cache: I.cache,
28
- sharedRootMetaRef: I.sharedRootMetaRef,
29
- invalidateFolders: I.invalidateFolders,
30
- bumpRetry: I.bumpRetry,
31
- onNotification: T
32
- }), R = l({
33
- filesApi: y,
34
- bucket: b,
35
- rootLabel: x,
36
- activeTab: S,
37
- folderPath: I.folderPath,
38
- currentFolder: I.currentFolder,
39
- sharedRootMetaRef: I.sharedRootMetaRef,
40
- listingPermissionsCache: I.listingPermissionsCache,
41
- invalidateFolders: I.invalidateFolders,
42
- bumpRetry: I.bumpRetry,
43
- mergeCreatedFolder: I.mergeCreatedFolder,
44
- setFolderPath: I.setFolderPath,
45
- onNotification: T,
46
- onOperationSuccess: E,
47
- downloadDestination: N,
48
- forbiddenSymbolsRegExp: D
13
+ var b = ({ filesApi: b, bucket: x, rootLabel: S = "My files", activeTab: C = y.MyFiles, isActive: w, sessionKey: T, onNotification: E, onOperationSuccess: D, forbiddenSymbolsRegExp: O, variant: k = m.Attach, actionProfile: A, labels: j, locale: M, disabledNewButtonTooltip: N, downloadDestination: P, buildValidationErrorMessage: F }) => {
14
+ let I = A ?? s(k), L = c({
15
+ filesApi: b,
16
+ bucket: x,
17
+ rootLabel: S,
18
+ activeTab: C,
19
+ onNotification: E,
20
+ isActive: w,
21
+ sessionKey: T
22
+ }), R = f({
23
+ filesApi: b,
24
+ bucket: x,
25
+ rootLabel: S,
26
+ activeTab: C,
27
+ cache: L.cache,
28
+ sharedRootMetaRef: L.sharedRootMetaRef,
29
+ invalidateFolders: L.invalidateFolders,
30
+ bumpRetry: L.bumpRetry,
31
+ onNotification: E
49
32
  }), z = u({
50
- filesApi: y,
51
- bucket: b,
52
- rootLabel: x,
53
- bumpRetry: I.bumpRetry,
54
- onNotification: T
55
- }), B = c({
56
- filesApi: y,
57
- bucket: b,
58
- rootLabel: x,
59
- onNotification: T
60
- }), V = r(I.currentFolder), H = g(() => S === v.Organization || S === v.Shared && I.folderPath === "" ? !1 : V, [
61
- S,
62
- I.folderPath,
63
- V
64
- ]), U = g(() => S === v.Shared ? t : e, [S]), W = g(() => {
33
+ filesApi: b,
34
+ bucket: x,
35
+ rootLabel: S,
36
+ activeTab: C,
37
+ folderPath: L.folderPath,
38
+ currentFolder: L.currentFolder,
39
+ sharedRootMetaRef: L.sharedRootMetaRef,
40
+ listingPermissionsCache: L.listingPermissionsCache,
41
+ invalidateFolders: L.invalidateFolders,
42
+ bumpRetry: L.bumpRetry,
43
+ mergeCreatedFolder: L.mergeCreatedFolder,
44
+ setFolderPath: L.setFolderPath,
45
+ onNotification: E,
46
+ onOperationSuccess: D,
47
+ downloadDestination: P,
48
+ forbiddenSymbolsRegExp: O
49
+ }), B = d({
50
+ filesApi: b,
51
+ bucket: x,
52
+ rootLabel: S,
53
+ bumpRetry: L.bumpRetry,
54
+ onNotification: E,
55
+ onOperationSuccess: D,
56
+ removeSharedRootItems: L.removeSharedRootItems
57
+ }), V = l({
58
+ filesApi: b,
59
+ bucket: x,
60
+ rootLabel: S,
61
+ onNotification: E
62
+ }), H = i(L.currentFolder), U = _(() => C === y.Organization || C === y.Shared && L.folderPath === "" ? !1 : H, [
63
+ C,
64
+ L.folderPath,
65
+ H
66
+ ]), W = _(() => {
67
+ switch (C) {
68
+ case y.Shared: return n;
69
+ case y.Organization: return t;
70
+ default: return e;
71
+ }
72
+ }, [C]), G = _(() => {
65
73
  let e = {}, t = (t) => {
66
- let n = A[t];
74
+ let n = j[t];
67
75
  n != null && (e[t] = n);
68
76
  };
69
- return t(_.Download), S === v.MyFiles ? (t(_.Delete), H && (t(_.Rename), i(F) && (t(_.Copy), t(_.Move), t(_.Duplicate))), a(F) && t(_.RemoveAccess)) : S === v.Shared && a(F) && t(_.Unshare), F === f.Full && t(_.Info), e;
77
+ return t(v.Download), C === y.MyFiles ? (t(v.Delete), U && (t(v.Rename), a(I) && (t(v.Copy), t(v.Move), t(v.Duplicate))), o(I) && t(v.RemoveAccess)) : C === y.Shared && o(I) && t(v.Unshare), I === p.Full && t(v.Info), e;
70
78
  }, [
71
- S,
72
- H,
73
- F,
74
- A
75
- ]), G = g(() => R.isCreatingFolder || R.isDownloading || R.isDeleting || R.isRenaming || R.isCopying || R.isMoving || z.isUnsharing || z.isRemovingAccess || m(L.uploadBatchState), [
76
- R.isCreatingFolder,
77
- R.isDownloading,
78
- R.isDeleting,
79
- R.isRenaming,
80
- R.isCopying,
81
- R.isMoving,
82
- z.isUnsharing,
83
- z.isRemovingAccess,
84
- L.uploadBatchState
85
- ]), K = h((e, t) => {
86
- let n = R.onCreateFolderValidate(e, t);
87
- return n ? P(n) : null;
88
- }, [R, P]), q = h((e, t) => {
89
- let n = R.onRenameValidate(e, t);
90
- return n ? P(n, t) : null;
91
- }, [R, P]);
79
+ C,
80
+ U,
81
+ I,
82
+ j
83
+ ]), K = _(() => z.isCreatingFolder || z.isDownloading || z.isDeleting || z.isRenaming || z.isCopying || z.isMoving || B.isUnsharing || B.isRemovingAccess || h(R.uploadBatchState), [
84
+ z.isCreatingFolder,
85
+ z.isDownloading,
86
+ z.isDeleting,
87
+ z.isRenaming,
88
+ z.isCopying,
89
+ z.isMoving,
90
+ B.isUnsharing,
91
+ B.isRemovingAccess,
92
+ R.uploadBatchState
93
+ ]), q = g((e, t) => {
94
+ let n = z.onCreateFolderValidate(e, t);
95
+ return n ? F(n) : null;
96
+ }, [z, F]), J = g((e, t) => {
97
+ let n = z.onRenameValidate(e, t);
98
+ return n ? F(n, t) : null;
99
+ }, [z, F]);
92
100
  return {
93
- items: I.items,
94
- isLoading: I.isLoading,
95
- error: I.error,
96
- path: I.path,
97
- onPathChange: I.onPathChange,
98
- retry: I.retry,
99
- onSearchFiles: I.onSearchFiles,
100
- isSearching: I.isSearching,
101
- searchResults: I.searchResults,
102
- clearSearchResults: I.clearSearchResults,
103
- expandedPaths: I.expandedPaths,
104
- loadedPaths: I.loadedPaths,
105
- onExpandedPathsChange: I.onExpandedPathsChange,
106
- onFolderPopupPathChange: I.onFolderPopupPathChange,
107
- folderPopupLoadingPaths: I.folderPopupLoadingPaths,
108
- onUploadFiles: L.onUploadFiles,
109
- onUploadArchive: L.onUploadArchive,
110
- onValidateUpload: L.onValidateUpload,
111
- uploadBatchState: L.uploadBatchState,
112
- cancelUpload: L.cancelUpload,
113
- cancelUploadFile: L.cancelUploadFile,
114
- clearUploadBatch: L.clearUploadBatch,
115
- onCreateFolder: R.onCreateFolder,
116
- onCreateFolderValidate: K,
117
- isCreatingFolder: R.isCreatingFolder,
118
- onDownloadFiles: R.onDownloadFiles,
119
- isDownloading: R.isDownloading,
120
- onDeleteFiles: R.onDeleteFiles,
121
- isDeleting: R.isDeleting,
122
- onRenameValidate: q,
123
- onMoveToFiles: R.onMoveToFiles,
124
- isRenaming: R.isRenaming,
125
- onCopyFiles: R.onCopyFiles,
126
- isCopying: R.isCopying,
127
- isMoving: R.isMoving,
128
- cancelCopyMove: R.cancelCopyMove,
129
- uploadEnabled: H,
130
- isNewButtonDisabled: !H,
131
- disabledNewButtonTooltip: M,
132
- visibleColumns: U,
133
- dateLocale: j,
134
- dateOptions: n,
135
- actionLabels: W,
136
- sharedWithMeIds: I.sharedWithMeIds,
137
- sharedByMePaths: I.sharedByMePaths,
138
- onUnshareFiles: z.onUnshareFiles,
139
- isUnsharing: z.isUnsharing,
140
- onRemoveFilesAccess: z.onRemoveFilesAccess,
141
- isRemovingAccess: z.isRemovingAccess,
142
- fileMetadata: B.fileMetadata,
143
- isFileMetadataLoading: B.isFileMetadataLoading,
144
- onGetInfo: B.onGetInfo,
145
- clearMetadata: B.clearMetadata,
146
- isAnyOperationInProgress: G
101
+ items: L.items,
102
+ isLoading: L.isLoading,
103
+ error: L.error,
104
+ path: L.path,
105
+ onPathChange: L.onPathChange,
106
+ retry: L.retry,
107
+ onSearchFiles: L.onSearchFiles,
108
+ isSearching: L.isSearching,
109
+ searchResults: L.searchResults,
110
+ clearSearchResults: L.clearSearchResults,
111
+ expandedPaths: L.expandedPaths,
112
+ loadedPaths: L.loadedPaths,
113
+ onExpandedPathsChange: L.onExpandedPathsChange,
114
+ onFolderPopupPathChange: L.onFolderPopupPathChange,
115
+ folderPopupLoadingPaths: L.folderPopupLoadingPaths,
116
+ onUploadFiles: R.onUploadFiles,
117
+ onUploadArchive: R.onUploadArchive,
118
+ onValidateUpload: R.onValidateUpload,
119
+ uploadBatchState: R.uploadBatchState,
120
+ cancelUpload: R.cancelUpload,
121
+ cancelUploadFile: R.cancelUploadFile,
122
+ clearUploadBatch: R.clearUploadBatch,
123
+ onCreateFolder: z.onCreateFolder,
124
+ onCreateFolderValidate: q,
125
+ isCreatingFolder: z.isCreatingFolder,
126
+ onDownloadFiles: z.onDownloadFiles,
127
+ isDownloading: z.isDownloading,
128
+ onDeleteFiles: z.onDeleteFiles,
129
+ isDeleting: z.isDeleting,
130
+ onRenameValidate: J,
131
+ onMoveToFiles: z.onMoveToFiles,
132
+ isRenaming: z.isRenaming,
133
+ onCopyFiles: z.onCopyFiles,
134
+ isCopying: z.isCopying,
135
+ isMoving: z.isMoving,
136
+ cancelCopyMove: z.cancelCopyMove,
137
+ uploadEnabled: U,
138
+ isNewButtonDisabled: !U,
139
+ disabledNewButtonTooltip: N,
140
+ visibleColumns: W,
141
+ dateLocale: M,
142
+ dateOptions: r,
143
+ actionLabels: G,
144
+ sharedWithMeIds: L.sharedWithMeIds,
145
+ sharedByMePaths: L.sharedByMePaths,
146
+ onUnshareFiles: B.onUnshareFiles,
147
+ isUnsharing: B.isUnsharing,
148
+ onRemoveFilesAccess: B.onRemoveFilesAccess,
149
+ isRemovingAccess: B.isRemovingAccess,
150
+ fileMetadata: V.fileMetadata,
151
+ isFileMetadataLoading: V.isFileMetadataLoading,
152
+ onGetInfo: V.onGetInfo,
153
+ clearMetadata: V.clearMetadata,
154
+ isAnyOperationInProgress: K
147
155
  };
148
156
  };
149
157
  //#endregion
150
- export { y as useDialFileManager };
158
+ export { b as useDialFileManager };
@@ -0,0 +1,25 @@
1
+ import { DialFileManagerTabs } from '@epam/ai-dial-react-file-manager';
2
+ import { DialFileManagerSection } from '../dial-file-manager.model';
3
+ import { UseDialFileManagerOptions, UseDialFileManagerResult } from '../dial-file-manager.types';
4
+ /** Options accepted by `useDialFileManagerSections`. */
5
+ export interface UseDialFileManagerSectionsOptions extends Omit<UseDialFileManagerOptions, 'activeTab' | 'rootLabel' | 'isActive' | 'sessionKey'> {
6
+ /** Active tab, including `DialFileManagerTabs.All`. */
7
+ activeTab: DialFileManagerTabs;
8
+ /** Enabled source tabs in display order, each with its translated top-level folder name. */
9
+ sections: DialFileManagerSection[];
10
+ }
11
+ /** Values returned by `useDialFileManagerSections`. */
12
+ export interface UseDialFileManagerSectionsResult extends UseDialFileManagerResult {
13
+ /** Source tab of the browsed folder; never `DialFileManagerTabs.All`. */
14
+ sectionTab: DialFileManagerTabs;
15
+ }
16
+ /**
17
+ * Composes one `useDialFileManager` per source tab (My files, Shared,
18
+ * Organization) so the File storage page can offer an All tab without a
19
+ * second copy of the per-tab rules. On a single tab it returns that section's
20
+ * result; on All it merges the section roots into one tree and routes every
21
+ * callback to the section owning the path. Section availability and names
22
+ * arrive through `sections` — the hook reads no config, i18n, or context.
23
+ */
24
+ export declare const useDialFileManagerSections: ({ activeTab, sections, ...managerOptions }: UseDialFileManagerSectionsOptions) => UseDialFileManagerSectionsResult;
25
+ //# sourceMappingURL=useDialFileManagerSections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDialFileManagerSections.d.ts","sourceRoot":"","sources":["../../../src/files/useDialFileManagerSections/useDialFileManagerSections.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AASvE,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC9B,MAAM,4BAA4B,CAAC;AAGpC,wDAAwD;AACxD,MAAM,WAAW,iCAAkC,SAAQ,IAAI,CAC7D,yBAAyB,EACzB,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,CACtD;IACC,uDAAuD;IACvD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,4FAA4F;IAC5F,QAAQ,EAAE,sBAAsB,EAAE,CAAC;CACpC;AAED,uDAAuD;AACvD,MAAM,WAAW,gCAAiC,SAAQ,wBAAwB;IAChF,yEAAyE;IACzE,UAAU,EAAE,mBAAmB,CAAC;CACjC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,GAAI,4CAIxC,iCAAiC,KAAG,gCAgXtC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { DialFileManagerTabs, FileTreeOptions } from '@epam/ai-dial-react-file-manager';
2
+ import { FilterChipItem } from '@epam/ai-dial-ui-kit';
3
+ /** Values returned by `useDialFileManagerTabConfig`. */
4
+ export interface UseDialFileManagerTabConfigResult {
5
+ tabs: FileTreeOptions['tabs'];
6
+ }
7
+ /**
8
+ * Filters the file-manager's tab list down to the host's configured set and
9
+ * resets `activeTab` to the highest-priority still-enabled tab when the
10
+ * current one becomes excluded. A `fileManagerTabs` of `undefined` means no
11
+ * restriction — every tab in `allTabs` stays enabled and no reset ever fires.
12
+ * The All tab is kept only while at least two source tabs are enabled.
13
+ */
14
+ export declare const useDialFileManagerTabConfig: (activeTab: DialFileManagerTabs, onTabChange: (tab: DialFileManagerTabs) => void, allTabs: FilterChipItem<DialFileManagerTabs>[] | undefined, fileManagerTabs: string[] | undefined) => UseDialFileManagerTabConfigResult;
15
+ //# sourceMappingURL=useDialFileManagerTabConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDialFileManagerTabConfig.d.ts","sourceRoot":"","sources":["../../../src/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,KAAK,eAAe,EACrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAI3D,wDAAwD;AACxD,MAAM,WAAW,iCAAiC;IAChD,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;CAC/B;AAiBD;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,GACtC,WAAW,mBAAmB,EAC9B,aAAa,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,EAC/C,SAAS,cAAc,CAAC,mBAAmB,CAAC,EAAE,GAAG,SAAS,EAC1D,iBAAiB,MAAM,EAAE,GAAG,SAAS,KACpC,iCA+BF,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { DialFile } from '@epam/ai-dial-react-file-manager';
2
+ import { FileManagerNotification } from '../dial-file-manager.types';
3
+ import { DialFilesApi } from '../dial-files-api';
4
+ /** Options accepted by `useDialFileMetadata`. */
5
+ export interface UseDialFileMetadataOptions {
6
+ /** Injected operation port used for the metadata network call. */
7
+ filesApi: DialFilesApi;
8
+ /** DIAL Core bucket the current user browses (used only for my_files items). */
9
+ bucket: string;
10
+ /** Display name of the root folder node, used to resolve virtual paths back to API paths. */
11
+ rootLabel: string;
12
+ /** Called with a structured event when the metadata fetch fails. */
13
+ onNotification?: (notification: FileManagerNotification) => void;
14
+ }
15
+ /** Values returned by `useDialFileMetadata`. */
16
+ export interface UseDialFileMetadataResult {
17
+ fileMetadata: DialFile | undefined;
18
+ isFileMetadataLoading: boolean;
19
+ onGetInfo: (file: DialFile) => void;
20
+ clearMetadata: () => void;
21
+ }
22
+ /**
23
+ * Fetches and holds single-file metadata for `fileMetadataPopupOptions` —
24
+ * the only sub-hook with no interaction with the shared listing cache, since
25
+ * viewing metadata never mutates listing state.
26
+ */
27
+ export declare const useDialFileMetadata: ({ filesApi, bucket, rootLabel, onNotification, }: UseDialFileMetadataOptions) => UseDialFileMetadataResult;
28
+ //# sourceMappingURL=useDialFileMetadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDialFileMetadata.d.ts","sourceRoot":"","sources":["../../../src/files/useDialFileMetadata/useDialFileMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,iDAAiD;AACjD,MAAM,WAAW,0BAA0B;IACzC,kEAAkE;IAClE,QAAQ,EAAE,YAAY,CAAC;IACvB,gFAAgF;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,6FAA6F;IAC7F,SAAS,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,cAAc,CAAC,EAAE,CAAC,YAAY,EAAE,uBAAuB,KAAK,IAAI,CAAC;CAClE;AAED,gDAAgD;AAChD,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,QAAQ,GAAG,SAAS,CAAC;IACnC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,kDAKjC,0BAA0B,KAAG,yBA2C/B,CAAC"}
@@ -0,0 +1,68 @@
1
+ import { CreateFolderResponseDto } from '@epam/ai-dial-chat-api-client';
2
+ import { DialCopiedItem, DialDeletedItem, DialFile, DialUploadFileItem, DialFileManagerTabs } from '@epam/ai-dial-react-file-manager';
3
+ import { SharedRootMeta } from '../dial-file-manager.model';
4
+ import { FileManagerNotification, FileNameValidationError, FileOperationSuccessEvent } from '../dial-file-manager.types';
5
+ import { DialFilesApi } from '../dial-files-api';
6
+ import { DownloadDestinationHandlers } from '../download-destination';
7
+ /** Options accepted by `useDialFileMutations`. */
8
+ export interface UseDialFileMutationsOptions {
9
+ /** Injected operation port used for every mutation network call. */
10
+ filesApi: DialFilesApi;
11
+ /** DIAL Core bucket to browse (used only for the my_files tab). */
12
+ bucket: string;
13
+ /** Display name for the root folder node. */
14
+ rootLabel: string;
15
+ /** Active tab — drives owner-bucket resolution for the Shared tab. */
16
+ activeTab: DialFileManagerTabs;
17
+ /** Bucket-relative path of the currently browsed folder, owned by `useDialFileListing`. */
18
+ folderPath: string;
19
+ /** Currently browsed folder node, owned by `useDialFileListing`. */
20
+ currentFolder: DialFile | undefined;
21
+ /** Owner-bucket resolution metadata for the Shared tab, owned by `useDialFileListing`. */
22
+ sharedRootMetaRef: React.RefObject<Map<string, SharedRootMeta>>;
23
+ /** Read-only snapshot of `useDialFileListing`'s per-folder permissions cache. */
24
+ listingPermissionsCache: Map<string, string[] | undefined>;
25
+ /** Deletes the given API-path cache keys so the next fetch re-fetches them. */
26
+ invalidateFolders: (apiPaths: string[]) => void;
27
+ /** Forces `useDialFileListing`'s fetch effect to re-run. */
28
+ bumpRetry: () => void;
29
+ /** Merges a newly created folder into its parent's cache entry, owned by `useDialFileListing`. */
30
+ mergeCreatedFolder: (parentApiPath: string, created: CreateFolderResponseDto, inheritedPermissions?: string[]) => void;
31
+ /** Imperatively navigates the current folder after a rename/delete of the browsed folder. */
32
+ setFolderPath: React.Dispatch<React.SetStateAction<string>>;
33
+ /** Called when a mutation should surface a toast notification. */
34
+ onNotification?: (notification: FileManagerNotification) => void;
35
+ /** Called when a mutation succeeds, instead of invoking an application notification service directly. */
36
+ onOperationSuccess?: (event: FileOperationSuccessEvent) => void;
37
+ /** Host-injected browser "Save As"/auto-download seam for `onDownloadFiles`. */
38
+ downloadDestination: DownloadDestinationHandlers;
39
+ /** Regexp of characters forbidden in file/folder names beyond the path separator. */
40
+ forbiddenSymbolsRegExp?: RegExp;
41
+ }
42
+ /** Values returned by `useDialFileMutations`. */
43
+ export interface UseDialFileMutationsResult {
44
+ isCreatingFolder: boolean;
45
+ isDownloading: boolean;
46
+ isDeleting: boolean;
47
+ isRenaming: boolean;
48
+ isCopying: boolean;
49
+ isMoving: boolean;
50
+ onCreateFolder: (file: DialUploadFileItem, folderPath: string, fileId: string) => Promise<void>;
51
+ onCreateFolderValidate: (name: string, parentFolder: DialFile) => FileNameValidationError | null;
52
+ onDownloadFiles: (dialFiles: DialFile[]) => void;
53
+ onDeleteFiles: (items: DialDeletedItem[], sourceFolder: string) => void;
54
+ onRenameValidate: (value: string, item: DialFile) => FileNameValidationError | null;
55
+ onMoveToFiles: (items: DialCopiedItem[], sourceFolder: string, destinationFolder: string) => void;
56
+ onCopyFiles: (items: DialCopiedItem[], destinationFolder: string) => void;
57
+ cancelCopyMove: () => void;
58
+ }
59
+ /**
60
+ * Manages create-folder, download, delete, rename, copy, and move mutations.
61
+ * Every mutation invalidates the shared listing cache for its affected
62
+ * folders through `invalidateFolders`/`bumpRetry` rather than holding its own
63
+ * cache copy; create-folder additionally uses `mergeCreatedFolder` so a newly
64
+ * created folder appears immediately even when created from a
65
+ * destination-folder popup browsing a different folder than the outer grid.
66
+ */
67
+ export declare const useDialFileMutations: ({ filesApi, bucket, rootLabel, activeTab, folderPath, currentFolder, sharedRootMetaRef, listingPermissionsCache, invalidateFolders, bumpRetry, mergeCreatedFolder, setFolderPath, onNotification, onOperationSuccess, downloadDestination, forbiddenSymbolsRegExp, }: UseDialFileMutationsOptions) => UseDialFileMutationsResult;
68
+ //# sourceMappingURL=useDialFileMutations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDialFileMutations.d.ts","sourceRoot":"","sources":["../../../src/files/useDialFileMutations/useDialFileMutations.ts"],"names":[],"mappings":"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"}