@epam/ai-dial-chat-shared 1.3.0-dev.34 → 1.3.0-dev.342

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 (333) hide show
  1. package/components/ActionMenu/ActionMenu.d.ts +26 -0
  2. package/components/ActionMenu/ActionMenu.d.ts.map +1 -0
  3. package/components/ActionMenu/ActionMenu.js +50 -0
  4. package/components/ConfirmationDialog/ConfirmationDialog.d.ts +46 -0
  5. package/components/ConfirmationDialog/ConfirmationDialog.d.ts.map +1 -0
  6. package/components/ConfirmationDialog/ConfirmationDialog.js +11 -9
  7. package/components/ConfirmationIdentityCard/ConfirmationIdentityCard.d.ts +33 -0
  8. package/components/ConfirmationIdentityCard/ConfirmationIdentityCard.d.ts.map +1 -0
  9. package/components/ConfirmationIdentityCard/ConfirmationIdentityCard.module.scss.js +5 -4
  10. package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.d.ts +33 -0
  11. package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.d.ts.map +1 -0
  12. package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.js +2 -2
  13. package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.module.scss.js +3 -2
  14. package/components/ConfirmationView/ConfirmationFooter.d.ts +41 -0
  15. package/components/ConfirmationView/ConfirmationFooter.d.ts.map +1 -0
  16. package/components/ConfirmationView/ConfirmationFooter.js +25 -26
  17. package/components/ConfirmationView/ConfirmationView.d.ts +59 -0
  18. package/components/ConfirmationView/ConfirmationView.d.ts.map +1 -0
  19. package/components/ConfirmationView/ConfirmationView.js +12 -12
  20. package/components/ConfirmationView/ConfirmationView.module.scss.js +6 -5
  21. package/components/CopyButton/CopyButton.d.ts +19 -0
  22. package/components/CopyButton/CopyButton.d.ts.map +1 -0
  23. package/components/DeleteConfirmationDialog/DeleteConfirmationDialog.d.ts +41 -0
  24. package/components/DeleteConfirmationDialog/DeleteConfirmationDialog.d.ts.map +1 -0
  25. package/components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.d.ts +31 -0
  26. package/components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.d.ts.map +1 -0
  27. package/components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.js +36 -0
  28. package/components/DeleteConfirmationView/DeleteConfirmationView.d.ts +52 -0
  29. package/components/DeleteConfirmationView/DeleteConfirmationView.d.ts.map +1 -0
  30. package/components/DeleteConfirmationView/DeleteConfirmationView.js +36 -27
  31. package/components/DeleteConfirmationView/DeleteConfirmationView.module.scss.js +5 -4
  32. package/components/DeploymentIcon/DeploymentIcon.d.ts +36 -0
  33. package/components/DeploymentIcon/DeploymentIcon.d.ts.map +1 -0
  34. package/components/DeploymentIcon/DeploymentIcon.module.scss.js +3 -2
  35. package/components/EntityHeader/EntityHeader.d.ts +38 -0
  36. package/components/EntityHeader/EntityHeader.d.ts.map +1 -0
  37. package/components/EntityHeader/EntityHeader.js +1 -1
  38. package/components/EntityTypeLabel/EntityTypeLabel.d.ts +18 -0
  39. package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +1 -0
  40. package/components/FeaturedChip/FeaturedChip.d.ts +16 -0
  41. package/components/FeaturedChip/FeaturedChip.d.ts.map +1 -0
  42. package/components/InitialsAvatar/InitialsAvatar.d.ts +18 -0
  43. package/components/InitialsAvatar/InitialsAvatar.d.ts.map +1 -0
  44. package/components/InitialsAvatar/InitialsAvatar.js +4 -3
  45. package/components/ItemHeader/ItemHeader.d.ts +40 -0
  46. package/components/ItemHeader/ItemHeader.d.ts.map +1 -0
  47. package/components/ItemHeader/ItemHeader.js +4 -1
  48. package/components/ItemHeader/ItemHeader.module.scss.js +5 -4
  49. package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts +57 -0
  50. package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts.map +1 -0
  51. package/components/MarkdownRenderer/CodeBlock/CodeBlock.js +58 -58
  52. package/components/MarkdownRenderer/CodeBlock/CodeBlock.module.scss.js +9 -8
  53. package/components/MarkdownRenderer/CodeBlock/syntax-theme.d.ts +7 -0
  54. package/components/MarkdownRenderer/CodeBlock/syntax-theme.d.ts.map +1 -0
  55. package/components/MarkdownRenderer/MDMessageViewer.d.ts +66 -0
  56. package/components/MarkdownRenderer/MDMessageViewer.d.ts.map +1 -0
  57. package/components/MarkdownRenderer/MDMessageViewer.js +14 -12
  58. package/components/MarkdownRenderer/MarkdownRenderer.d.ts +145 -0
  59. package/components/MarkdownRenderer/MarkdownRenderer.d.ts.map +1 -0
  60. package/components/MarkdownRenderer/MarkdownRenderer.js +146 -136
  61. package/components/MarkdownRenderer/MarkdownRenderer.module.scss.js +9 -8
  62. package/components/MarkdownRenderer/Math/MarkdownMathBlock.d.ts +18 -0
  63. package/components/MarkdownRenderer/Math/MarkdownMathBlock.d.ts.map +1 -0
  64. package/components/MarkdownRenderer/Math/MarkdownMathBlock.js +1 -1
  65. package/components/MarkdownRenderer/Math/MarkdownMathBlock.module.scss.js +5 -4
  66. package/components/MarkdownRenderer/PlainTextRenderer.d.ts +39 -0
  67. package/components/MarkdownRenderer/PlainTextRenderer.d.ts.map +1 -0
  68. package/components/MarkdownRenderer/PlainTextRenderer.js +1 -1
  69. package/components/MarkdownRenderer/Table/MarkdownTable.d.ts +51 -0
  70. package/components/MarkdownRenderer/Table/MarkdownTable.d.ts.map +1 -0
  71. package/components/MarkdownRenderer/Table/MarkdownTable.js +68 -63
  72. package/components/MarkdownRenderer/Table/MarkdownTable.module.scss.js +15 -13
  73. package/components/MarkdownRenderer/Table/TableHeader.d.ts +22 -0
  74. package/components/MarkdownRenderer/Table/TableHeader.d.ts.map +1 -0
  75. package/components/MarkdownRenderer/Table/TableHeader.module.scss.js +3 -2
  76. package/components/MarkdownRenderer/Table/table-serialization.d.ts +16 -0
  77. package/components/MarkdownRenderer/Table/table-serialization.d.ts.map +1 -0
  78. package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.d.ts +27 -0
  79. package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.d.ts.map +1 -0
  80. package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts +9 -0
  81. package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts.map +1 -0
  82. package/components/MarkdownRenderer/ThinkingShimmer.d.ts +17 -0
  83. package/components/MarkdownRenderer/ThinkingShimmer.d.ts.map +1 -0
  84. package/components/MarkdownRenderer/markdown-class-names.d.ts +10 -0
  85. package/components/MarkdownRenderer/markdown-class-names.d.ts.map +1 -0
  86. package/components/MarkdownRenderer/markdown-whitespace.d.ts +15 -0
  87. package/components/MarkdownRenderer/markdown-whitespace.d.ts.map +1 -0
  88. package/components/MarkdownRenderer/markdown-whitespace.js +2 -6
  89. package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts +25 -0
  90. package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts.map +1 -0
  91. package/components/NewVersionAlert/NewVersionAlert.d.ts +27 -0
  92. package/components/NewVersionAlert/NewVersionAlert.d.ts.map +1 -0
  93. package/components/NewVersionAlert/NewVersionAlert.js +28 -0
  94. package/components/NewVersionAlert/NewVersionAlert.module.scss.js +4 -0
  95. package/components/NotificationStack/NotificationStack.d.ts +48 -0
  96. package/components/NotificationStack/NotificationStack.d.ts.map +1 -0
  97. package/components/NotificationStack/NotificationStack.js +111 -0
  98. package/components/PanelEmptyState/PanelEmptyState.d.ts +32 -0
  99. package/components/PanelEmptyState/PanelEmptyState.d.ts.map +1 -0
  100. package/components/PanelEmptyState/PanelEmptyState.js +19 -9
  101. package/components/PanelEmptyState/PanelEmptyState.module.scss.js +6 -2
  102. package/components/ResourceSummary/ResourceSummary.d.ts +49 -0
  103. package/components/ResourceSummary/ResourceSummary.d.ts.map +1 -0
  104. package/components/ResourceSummary/ResourceSummary.module.scss.js +5 -4
  105. package/components/TextRefinementField/TextRefinementField.d.ts +33 -0
  106. package/components/TextRefinementField/TextRefinementField.d.ts.map +1 -0
  107. package/components/TextRefinementField/TextRefinementField.js +84 -55
  108. package/components/UnsavedChangesProvider/UnsavedChangesProvider.d.ts +22 -0
  109. package/components/UnsavedChangesProvider/UnsavedChangesProvider.d.ts.map +1 -0
  110. package/components/UnsavedChangesProvider/UnsavedChangesProvider.js +57 -0
  111. package/components/UnsavedChangesProvider/unsaved-changes-context.d.ts +44 -0
  112. package/components/UnsavedChangesProvider/unsaved-changes-context.d.ts.map +1 -0
  113. package/components/UnsavedChangesProvider/unsaved-changes-context.js +13 -0
  114. package/constants/breakpoint.d.ts +15 -0
  115. package/constants/breakpoint.d.ts.map +1 -0
  116. package/constants/breakpoint.js +2 -2
  117. package/constants/dial.d.ts +5 -0
  118. package/constants/dial.d.ts.map +1 -0
  119. package/constants/entity-colors.d.ts +6 -0
  120. package/constants/entity-colors.d.ts.map +1 -0
  121. package/constants/icon.d.ts +14 -0
  122. package/constants/icon.d.ts.map +1 -0
  123. package/constants/markdown-editor.d.ts +2 -0
  124. package/constants/markdown-editor.d.ts.map +1 -0
  125. package/constants/mime-types.d.ts +27 -0
  126. package/constants/mime-types.d.ts.map +1 -0
  127. package/constants/public-class-names.d.ts +13 -0
  128. package/constants/public-class-names.d.ts.map +1 -0
  129. package/constants/resizable-fields.d.ts +5 -0
  130. package/constants/resizable-fields.d.ts.map +1 -0
  131. package/constants/select-list.d.ts +4 -0
  132. package/constants/select-list.d.ts.map +1 -0
  133. package/constants/tag-input.d.ts +2 -0
  134. package/constants/tag-input.d.ts.map +1 -0
  135. package/conversation-transfer/conversation-transfer-queue.d.ts +16 -0
  136. package/conversation-transfer/conversation-transfer-queue.d.ts.map +1 -0
  137. package/conversation-transfer/conversation-transfer-queue.js +24 -0
  138. package/entry-points/file-manager.d.ts +5 -0
  139. package/entry-points/file-manager.d.ts.map +1 -0
  140. package/entry-points/markdown.d.ts +19 -0
  141. package/entry-points/markdown.d.ts.map +1 -0
  142. package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts +67 -0
  143. package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts.map +1 -0
  144. package/file-manager/DialFileManagerShell/DialFileManagerShell.js +328 -266
  145. package/file-manager/DialFileManagerShell/DialFileManagerShell.module.scss.js +8 -0
  146. package/file-manager/FileManagerAttachModal/FileManagerAttachModal.d.ts +96 -0
  147. package/file-manager/FileManagerAttachModal/FileManagerAttachModal.d.ts.map +1 -0
  148. package/file-manager/FileManagerAttachModal/FileManagerAttachModal.js +82 -78
  149. package/file-manager/FileManagerAttachModal/FileManagerAttachModal.module.scss.js +7 -0
  150. package/file-manager/OperationLoaderModal/OperationLoaderModal.d.ts +22 -0
  151. package/file-manager/OperationLoaderModal/OperationLoaderModal.d.ts.map +1 -0
  152. package/file-manager/OperationLoaderModal/OperationLoaderModal.js +25 -20
  153. package/file-manager/OperationLoaderModal/OperationLoaderModal.module.scss.js +4 -0
  154. package/file-manager/attach-result.d.ts +9 -0
  155. package/file-manager/attach-result.d.ts.map +1 -0
  156. package/file-manager/file-manager-controller.d.ts +129 -0
  157. package/file-manager/file-manager-controller.d.ts.map +1 -0
  158. package/file-manager/file-manager-variant.d.ts +21 -0
  159. package/file-manager/file-manager-variant.d.ts.map +1 -0
  160. package/file-manager/file-upload-validation.d.ts +8 -0
  161. package/file-manager/file-upload-validation.d.ts.map +1 -0
  162. package/file-manager/index.d.ts +11 -0
  163. package/file-manager/index.d.ts.map +1 -0
  164. package/file-manager/labels.d.ts +177 -0
  165. package/file-manager/labels.d.ts.map +1 -0
  166. package/file-manager/path.d.ts +12 -0
  167. package/file-manager/path.d.ts.map +1 -0
  168. package/file-manager/shell-styles.d.ts +33 -0
  169. package/file-manager/shell-styles.d.ts.map +1 -0
  170. package/file-manager/upload-batch.d.ts +75 -0
  171. package/file-manager/upload-batch.d.ts.map +1 -0
  172. package/file-manager/upload-batch.js +6 -2
  173. package/file-manager/upload-queue.d.ts +45 -0
  174. package/file-manager/upload-queue.d.ts.map +1 -0
  175. package/file-manager/upload-queue.js +45 -13
  176. package/file-manager/useGridEditingScroll/useGridEditingScroll.d.ts +27 -0
  177. package/file-manager/useGridEditingScroll/useGridEditingScroll.d.ts.map +1 -0
  178. package/file-manager.d.ts +2 -506
  179. package/file-manager.js +4 -4
  180. package/hooks/useAvailableHeightCap.d.ts +30 -0
  181. package/hooks/useAvailableHeightCap.d.ts.map +1 -0
  182. package/hooks/useAvailableHeightCap.js +1 -1
  183. package/hooks/useCodeCopy.d.ts +6 -0
  184. package/hooks/useCodeCopy.d.ts.map +1 -0
  185. package/hooks/useCollapsedText.d.ts +27 -0
  186. package/hooks/useCollapsedText.d.ts.map +1 -0
  187. package/hooks/useControlErrorAssociation.d.ts +3 -0
  188. package/hooks/useControlErrorAssociation.d.ts.map +1 -0
  189. package/hooks/useControlErrorAssociation.js +12 -0
  190. package/hooks/useHorizontalOverflow.d.ts +21 -0
  191. package/hooks/useHorizontalOverflow.d.ts.map +1 -0
  192. package/hooks/useIsMobile.d.ts +3 -0
  193. package/hooks/useIsMobile.d.ts.map +1 -0
  194. package/hooks/useIsMobile.js +1 -1
  195. package/hooks/useIsPhone.d.ts +3 -0
  196. package/hooks/useIsPhone.d.ts.map +1 -0
  197. package/hooks/useIsPhone.js +13 -0
  198. package/hooks/useIsTablet.d.ts +3 -0
  199. package/hooks/useIsTablet.d.ts.map +1 -0
  200. package/hooks/useIsTablet.js +13 -0
  201. package/hooks/useIsTextClipped.d.ts +26 -0
  202. package/hooks/useIsTextClipped.d.ts.map +1 -0
  203. package/hooks/useIsTextClipped.js +25 -0
  204. package/hooks/useStreamedMarkdownContent.d.ts +3 -0
  205. package/hooks/useStreamedMarkdownContent.d.ts.map +1 -0
  206. package/hooks/useTextRefinement.d.ts +44 -0
  207. package/hooks/useTextRefinement.d.ts.map +1 -0
  208. package/hooks/useTextRefinement.js +4 -4
  209. package/hooks/useUnsavedChangesGuard.d.ts +14 -0
  210. package/hooks/useUnsavedChangesGuard.d.ts.map +1 -0
  211. package/hooks/useUnsavedChangesGuard.js +1 -5
  212. package/hooks/useUnsavedChangesLeaveConfirmation.d.ts +12 -0
  213. package/hooks/useUnsavedChangesLeaveConfirmation.d.ts.map +1 -0
  214. package/hooks/useUnsavedChangesLeaveConfirmation.js +22 -0
  215. package/hooks/useUnsavedChangesLeaveGuard.d.ts +24 -0
  216. package/hooks/useUnsavedChangesLeaveGuard.d.ts.map +1 -0
  217. package/hooks/useUnsavedChangesLeaveGuard.js +24 -0
  218. package/index.css +3 -2
  219. package/index.d.ts +93 -3167
  220. package/index.d.ts.map +1 -0
  221. package/index.js +92 -76
  222. package/markdown.d.ts +2 -465
  223. package/markdown.js +3 -2
  224. package/models/annotation.d.ts +143 -0
  225. package/models/annotation.d.ts.map +1 -0
  226. package/models/application-visualizer.d.ts +67 -0
  227. package/models/application-visualizer.d.ts.map +1 -0
  228. package/models/auth.d.ts +28 -0
  229. package/models/auth.d.ts.map +1 -0
  230. package/models/chat.d.ts +409 -0
  231. package/models/chat.d.ts.map +1 -0
  232. package/models/conversation-classification.d.ts +14 -0
  233. package/models/conversation-classification.d.ts.map +1 -0
  234. package/models/conversation-classification.js +3 -1
  235. package/models/conversation-transfer.d.ts +96 -0
  236. package/models/conversation-transfer.d.ts.map +1 -0
  237. package/models/custom-visualizer.d.ts +61 -0
  238. package/models/custom-visualizer.d.ts.map +1 -0
  239. package/models/deployment-configuration.d.ts +55 -0
  240. package/models/deployment-configuration.d.ts.map +1 -0
  241. package/models/deployment-features.d.ts +17 -0
  242. package/models/deployment-features.d.ts.map +1 -0
  243. package/models/deployment.d.ts +31 -0
  244. package/models/deployment.d.ts.map +1 -0
  245. package/models/dial-model.d.ts +19 -0
  246. package/models/dial-model.d.ts.map +1 -0
  247. package/models/entity.d.ts +15 -0
  248. package/models/entity.d.ts.map +1 -0
  249. package/models/import-export.d.ts +23 -0
  250. package/models/import-export.d.ts.map +1 -0
  251. package/models/inline-segment.d.ts +11 -0
  252. package/models/inline-segment.d.ts.map +1 -0
  253. package/models/locale.d.ts +19 -0
  254. package/models/locale.d.ts.map +1 -0
  255. package/models/text-refinement.d.ts +22 -0
  256. package/models/text-refinement.d.ts.map +1 -0
  257. package/models/theme.d.ts +36 -0
  258. package/models/theme.d.ts.map +1 -0
  259. package/models/tool-menu-item.d.ts +13 -0
  260. package/models/tool-menu-item.d.ts.map +1 -0
  261. package/package.json +10 -17
  262. package/types/attachment.d.ts +25 -0
  263. package/types/attachment.d.ts.map +1 -0
  264. package/types/code-editor.d.ts +8 -0
  265. package/types/code-editor.d.ts.map +1 -0
  266. package/types/entity-type.d.ts +10 -0
  267. package/types/entity-type.d.ts.map +1 -0
  268. package/types/file-manager-node.d.ts +17 -0
  269. package/types/file-manager-node.d.ts.map +1 -0
  270. package/types/mime-type.d.ts +59 -0
  271. package/types/mime-type.d.ts.map +1 -0
  272. package/utils/annotation.d.ts +29 -0
  273. package/utils/annotation.d.ts.map +1 -0
  274. package/utils/avatar-color.d.ts +10 -0
  275. package/utils/avatar-color.d.ts.map +1 -0
  276. package/utils/base64-json.d.ts +14 -0
  277. package/utils/base64-json.d.ts.map +1 -0
  278. package/utils/base64-json.js +4 -0
  279. package/utils/build-css-vars.d.ts +4 -0
  280. package/utils/build-css-vars.d.ts.map +1 -0
  281. package/utils/copy-to-clipboard.d.ts +18 -0
  282. package/utils/copy-to-clipboard.d.ts.map +1 -0
  283. package/utils/dom.d.ts +8 -0
  284. package/utils/dom.d.ts.map +1 -0
  285. package/utils/dom.js +10 -0
  286. package/utils/entity-field-limits.d.ts +11 -0
  287. package/utils/entity-field-limits.d.ts.map +1 -0
  288. package/utils/entity-type.d.ts +5 -0
  289. package/utils/entity-type.d.ts.map +1 -0
  290. package/utils/file-download.d.ts +21 -0
  291. package/utils/file-download.d.ts.map +1 -0
  292. package/utils/format-file-size.d.ts +3 -0
  293. package/utils/format-file-size.d.ts.map +1 -0
  294. package/utils/format-last-used.d.ts +3 -0
  295. package/utils/format-last-used.d.ts.map +1 -0
  296. package/utils/format-price.d.ts +7 -0
  297. package/utils/format-price.d.ts.map +1 -0
  298. package/utils/format-price.js +10 -10
  299. package/utils/generate-uuid.d.ts +3 -0
  300. package/utils/generate-uuid.d.ts.map +1 -0
  301. package/utils/initials.d.ts +3 -0
  302. package/utils/initials.d.ts.map +1 -0
  303. package/utils/inline-segments.d.ts +38 -0
  304. package/utils/inline-segments.d.ts.map +1 -0
  305. package/utils/inline-segments.js +53 -0
  306. package/utils/is-audio-transcription-supported.d.ts +3 -0
  307. package/utils/is-audio-transcription-supported.d.ts.map +1 -0
  308. package/utils/is-skill-selection-unsupported.d.ts +3 -0
  309. package/utils/is-skill-selection-unsupported.d.ts.map +1 -0
  310. package/utils/latex.d.ts +22 -0
  311. package/utils/latex.d.ts.map +1 -0
  312. package/utils/latex.js +47 -41
  313. package/utils/markdown-html.d.ts +14 -0
  314. package/utils/markdown-html.d.ts.map +1 -0
  315. package/utils/markdown-html.js +11 -0
  316. package/utils/merge-class.d.ts +4 -0
  317. package/utils/merge-class.d.ts.map +1 -0
  318. package/utils/message-attachment-to-display.d.ts +22 -0
  319. package/utils/message-attachment-to-display.d.ts.map +1 -0
  320. package/utils/message-attachment-to-display.js +1 -1
  321. package/utils/message.d.ts +4 -0
  322. package/utils/message.d.ts.map +1 -0
  323. package/utils/mime-type.d.ts +22 -0
  324. package/utils/mime-type.d.ts.map +1 -0
  325. package/utils/mime-type.js +1 -1
  326. package/utils/prompt-variables.d.ts +62 -0
  327. package/utils/prompt-variables.d.ts.map +1 -0
  328. package/utils/prompt-variables.js +5 -9
  329. package/utils/string-utils.d.ts +11 -0
  330. package/utils/string-utils.d.ts.map +1 -0
  331. package/utils/syntax-highlighting.d.ts +8 -0
  332. package/utils/syntax-highlighting.d.ts.map +1 -0
  333. package/utils/syntax-highlighting.js +8 -8
@@ -0,0 +1,31 @@
1
+ import { FC } from 'react';
2
+ import { DeleteConfirmationViewLabels, DeleteConfirmationViewProps } from '../DeleteConfirmationView/DeleteConfirmationView';
3
+ /** User-visible strings of `DeleteConfirmationDrawer`. */
4
+ export interface DeleteConfirmationDrawerLabels extends DeleteConfirmationViewLabels {
5
+ /** Label of the confirming action button. Defaults to `'Delete'`. */
6
+ confirm?: string;
7
+ /** Label of the cancel button. Defaults to `'Cancel'`. */
8
+ cancel?: string;
9
+ /** Status text announced while the deletion is in flight. Defaults to `'Deleting…'`. */
10
+ deleting?: string;
11
+ /** Accessible name of the header's close button. Defaults to `'Close'`. */
12
+ close?: string;
13
+ }
14
+ /** Props for `DeleteConfirmationDrawer`. */
15
+ export interface DeleteConfirmationDrawerProps extends Omit<DeleteConfirmationViewProps, 'labels'> {
16
+ /** Whether the drawer is open. */
17
+ open: boolean;
18
+ /** Drawer title. A string rather than a node, so the kit names the dialog with it. */
19
+ title: string;
20
+ /** Whether the delete request is in flight; blocks both actions and every dismissal route. Defaults to `false`. */
21
+ isLoading?: boolean;
22
+ /** User-visible strings. */
23
+ labels?: DeleteConfirmationDrawerLabels;
24
+ /** Called when the user confirms. */
25
+ onConfirm: () => void;
26
+ /** Called when the drawer is dismissed — Cancel, the close control, Escape, or a backdrop press. */
27
+ onClose: () => void;
28
+ }
29
+ /** Delete confirmation presented as a side drawer, the same panel the catalog shows for an item. */
30
+ export declare const DeleteConfirmationDrawer: FC<DeleteConfirmationDrawerProps>;
31
+ //# sourceMappingURL=DeleteConfirmationDrawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteConfirmationDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAEL,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EACjC,MAAM,kDAAkD,CAAC;AAE1D,0DAA0D;AAC1D,MAAM,WAAW,8BAA+B,SAAQ,4BAA4B;IAClF,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,4CAA4C;AAC5C,MAAM,WAAW,6BAA8B,SAAQ,IAAI,CACzD,2BAA2B,EAC3B,QAAQ,CACT;IACC,kCAAkC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;IACd,mHAAmH;IACnH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,qCAAqC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oGAAoG;IACpG,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,oGAAoG;AACpG,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CA8CtE,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { ConfirmationFooter as e } from "../ConfirmationView/ConfirmationFooter.js";
2
+ import { DeleteConfirmationView as t } from "../DeleteConfirmationView/DeleteConfirmationView.js";
3
+ import { ConfirmationPopupVariant as n, SideDrawer as r } from "@epam/ai-dial-ui-kit";
4
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ //#region src/components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.tsx
6
+ var o = ({ open: o, title: s, isLoading: c = !1, labels: l, onConfirm: u, onClose: d, ...f }) => {
7
+ let { confirm: p = "Delete", cancel: m = "Cancel", deleting: h = "Deleting…", close: g = "Close", ..._ } = l ?? {}, v = () => {
8
+ c || d();
9
+ };
10
+ return /* @__PURE__ */ a(r, {
11
+ open: o,
12
+ header: s,
13
+ closeAriaLabel: g,
14
+ closeDisabled: c,
15
+ closeOnOutsideClick: !c,
16
+ onClose: v,
17
+ bodyClassName: "flex flex-col overflow-hidden",
18
+ children: [/* @__PURE__ */ i("div", {
19
+ className: "flex min-h-0 flex-1 flex-col overflow-y-auto",
20
+ children: /* @__PURE__ */ i(t, {
21
+ ...f,
22
+ labels: _
23
+ })
24
+ }), /* @__PURE__ */ i(e, {
25
+ variant: n.Danger,
26
+ confirmLabel: p,
27
+ cancelLabel: m,
28
+ isLoading: c,
29
+ loadingStatusLabel: h,
30
+ onConfirm: u,
31
+ onCancel: v
32
+ })]
33
+ });
34
+ };
35
+ //#endregion
36
+ export { o as DeleteConfirmationDrawer };
@@ -0,0 +1,52 @@
1
+ import { ConfirmationPopupVariant } from '@epam/ai-dial-ui-kit';
2
+ import { FC, ReactNode } from 'react';
3
+ import { ConfirmationViewColors } from '../ConfirmationView/ConfirmationView';
4
+ /** Default cap on the names listed for a multi-item delete. */
5
+ export declare const DELETE_CONFIRMATION_MAX_LISTED_NAMES = 10;
6
+ /** User-visible strings of `DeleteConfirmationView`. */
7
+ export interface DeleteConfirmationViewLabels {
8
+ /** Last consequence bullet. Defaults to `'Cannot be undone'`. */
9
+ cannotBeUndone?: string;
10
+ /** Identity-card text for a multi-item delete. Defaults to `'{count} items'`. */
11
+ itemCount?: (count: number) => string;
12
+ /** Trailing list entry for names past `maxListedNames`. Defaults to `'… and {count} more'`. */
13
+ moreItems?: (count: number) => string;
14
+ }
15
+ /** Color overrides for `DeleteConfirmationView`. */
16
+ export interface DeleteConfirmationViewColors extends ConfirmationViewColors {
17
+ /** Type label above the name. Defaults to `--text-secondary`. */
18
+ typeLabelText?: string;
19
+ }
20
+ /** Style overrides for `DeleteConfirmationView`. */
21
+ export interface DeleteConfirmationViewStyles {
22
+ /** Typography class applied to the message, the name list, and the bullets. Defaults to `'dial-small-text'`. */
23
+ messageClassName?: string;
24
+ /** Color overrides applied as CSS custom properties. */
25
+ colors?: DeleteConfirmationViewColors;
26
+ }
27
+ /** Props for `DeleteConfirmationView`. */
28
+ export interface DeleteConfirmationViewProps {
29
+ /** Names of the resources about to be deleted. One name is shown in the identity card; several are counted there and listed under the message. */
30
+ names: string[];
31
+ /** Icon shown in the identity card ahead of a single name. Supplied by the host, which owns the glyph set. */
32
+ icon?: ReactNode;
33
+ /** Resource type shown above a single name. Pass it in sentence case — the label uppercases itself. */
34
+ typeLabel?: string;
35
+ /** Warning sentence, composed by the host so it can emphasise the name. */
36
+ message: ReactNode;
37
+ /** Consequences listed before the final "cannot be undone" bullet. */
38
+ consequences?: string[];
39
+ /** Palette of the identity card. Defaults to `undefined`, a neutral card; `ConfirmationPopupVariant.Danger` tints it red. */
40
+ identityVariant?: ConfirmationPopupVariant;
41
+ /** Maximum number of names listed for a multi-item delete. Defaults to `DELETE_CONFIRMATION_MAX_LISTED_NAMES` (10). */
42
+ maxListedNames?: number;
43
+ /** User-visible strings. */
44
+ labels?: DeleteConfirmationViewLabels;
45
+ /** Style overrides. */
46
+ styles?: DeleteConfirmationViewStyles;
47
+ /** Content rendered after the consequence bullets, for example an inline error. */
48
+ children?: ReactNode;
49
+ }
50
+ /** Body of a delete confirmation: the identity card, the warning, the affected names, and the consequences. */
51
+ export declare const DeleteConfirmationView: FC<DeleteConfirmationViewProps>;
52
+ //# sourceMappingURL=DeleteConfirmationView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteConfirmationView.d.ts","sourceRoot":"","sources":["../../../src/components/DeleteConfirmationView/DeleteConfirmationView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3C,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,sCAAsC,CAAC;AAI9C,+DAA+D;AAC/D,eAAO,MAAM,oCAAoC,KAAK,CAAC;AAEvD,wDAAwD;AACxD,MAAM,WAAW,4BAA4B;IAC3C,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iFAAiF;IACjF,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACtC,+FAA+F;IAC/F,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC;AAED,oDAAoD;AACpD,MAAM,WAAW,4BAA6B,SAAQ,sBAAsB;IAC1E,iEAAiE;IACjE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,oDAAoD;AACpD,MAAM,WAAW,4BAA4B;IAC3C,gHAAgH;IAChH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wDAAwD;IACxD,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC;AAED,0CAA0C;AAC1C,MAAM,WAAW,2BAA2B;IAC1C,kJAAkJ;IAClJ,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,8GAA8G;IAC9G,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uGAAuG;IACvG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,OAAO,EAAE,SAAS,CAAC;IACnB,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,6HAA6H;IAC7H,eAAe,CAAC,EAAE,wBAAwB,CAAC;IAC3C,uHAAuH;IACvH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,uBAAuB;IACvB,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,mFAAmF;IACnF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAMD,+GAA+G;AAC/G,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAkFlE,CAAC"}
@@ -1,37 +1,46 @@
1
1
  import { mergeClasses as e } from "../../utils/merge-class.js";
2
2
  import { ResourceSummary as t } from "../ResourceSummary/ResourceSummary.js";
3
- import { ConfirmationIdentityRow as n } from "../ConfirmationIdentityRow/ConfirmationIdentityRow.js";
4
- import { ConfirmationView as r } from "../ConfirmationView/ConfirmationView.js";
5
- import i from "./DeleteConfirmationView.module.scss.js";
6
- import { ConfirmationPopupVariant as a } from "@epam/ai-dial-ui-kit";
7
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
3
+ import { ConfirmationIdentityCard as n } from "../ConfirmationIdentityCard/ConfirmationIdentityCard.js";
4
+ import { ConfirmationIdentityRow as r } from "../ConfirmationIdentityRow/ConfirmationIdentityRow.js";
5
+ import { ConfirmationView as i } from "../ConfirmationView/ConfirmationView.js";
6
+ import a from "./DeleteConfirmationView.module.scss.js";
7
+ import { ConfirmationPopupVariant as o } from "@epam/ai-dial-ui-kit";
8
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
8
9
  //#region src/components/DeleteConfirmationView/DeleteConfirmationView.tsx
9
- var c = 10, l = (e) => e === 1 ? "1 item" : `${e} items`, u = (e) => `… and ${e} more`, d = ({ names: c, icon: d, typeLabel: f, message: p, consequences: m = [], maxListedNames: h = 10, labels: g, styles: _, children: v }) => {
10
- let { cannotBeUndone: y = "Cannot be undone", itemCount: b = l, moreItems: x = u } = g ?? {}, { typeLabelText: S, ...C } = _?.colors ?? {}, w = _?.messageClassName ?? "dial-small-text", T = c.length === 1, E = T ? [] : c.slice(0, h), D = c.length - (T ? 1 : E.length);
11
- return /* @__PURE__ */ o(r, {
12
- variant: a.Danger,
13
- messageClassName: w,
14
- styles: { colors: C },
15
- identity: /* @__PURE__ */ o(t, { children: /* @__PURE__ */ o(n, {
16
- icon: T ? d : void 0,
17
- typeLabel: T ? f : void 0,
18
- name: T ? c[0] : b(c.length),
19
- styles: { colors: { typeLabelText: S } }
20
- }) }),
21
- message: p,
22
- details: E.length > 0 && /* @__PURE__ */ s("ul", {
23
- className: e("flex flex-col gap-1", w, i.names),
24
- children: [E.map((e, t) => /* @__PURE__ */ o("li", {
10
+ var l = 10, u = (e) => e === 1 ? "1 item" : `${e} items`, d = (e) => `… and ${e} more`, f = ({ names: l, icon: f, typeLabel: p, message: m, consequences: h = [], identityVariant: g, maxListedNames: _ = 10, labels: v, styles: y, children: b }) => {
11
+ let { cannotBeUndone: x = "Cannot be undone", itemCount: S = u, moreItems: C = d } = v ?? {}, { typeLabelText: w, ...T } = y?.colors ?? {}, E = y?.messageClassName ?? "dial-small-text", D = l.length === 1, O = D ? [] : l.slice(0, _), k = l.length - (D ? 1 : O.length), A = /* @__PURE__ */ s(r, {
12
+ icon: D ? f : void 0,
13
+ typeLabel: D ? p : void 0,
14
+ name: D ? l[0] : S(l.length),
15
+ styles: { colors: { typeLabelText: w } }
16
+ });
17
+ return /* @__PURE__ */ s(i, {
18
+ variant: o.Danger,
19
+ messageClassName: E,
20
+ styles: { colors: T },
21
+ identity: g == null ? /* @__PURE__ */ s(t, { children: A }) : /* @__PURE__ */ s(n, {
22
+ variant: g,
23
+ styles: { colors: {
24
+ background: T.cardBackground,
25
+ dangerBackground: T.cardDangerBackground,
26
+ dangerBorder: T.cardDangerBorder
27
+ } },
28
+ children: A
29
+ }),
30
+ message: m,
31
+ details: O.length > 0 && /* @__PURE__ */ c("ul", {
32
+ className: e("flex flex-col gap-1", E, a.names),
33
+ children: [O.map((e, t) => /* @__PURE__ */ s("li", {
25
34
  className: "truncate",
26
35
  children: e
27
- }, `${t}-${e}`)), D > 0 && /* @__PURE__ */ o("li", {
28
- className: i.more,
29
- children: x(D)
36
+ }, `${t}-${e}`)), k > 0 && /* @__PURE__ */ s("li", {
37
+ className: a.more,
38
+ children: C(k)
30
39
  })]
31
40
  }),
32
- consequences: [...m, y],
33
- children: v
41
+ consequences: [...h, x],
42
+ children: b
34
43
  });
35
44
  };
36
45
  //#endregion
37
- export { c as DELETE_CONFIRMATION_MAX_LISTED_NAMES, d as DeleteConfirmationView };
46
+ export { l as DELETE_CONFIRMATION_MAX_LISTED_NAMES, f as DeleteConfirmationView };
@@ -1,6 +1,7 @@
1
- var e = {
2
- names: "_names_g31v4_1",
3
- more: "_more_g31v4_5"
1
+ //#region src/components/DeleteConfirmationView/DeleteConfirmationView.module.scss
2
+ var e = "_names_g31v4_1", t = "_more_g31v4_5", n = {
3
+ names: e,
4
+ more: t
4
5
  };
5
6
  //#endregion
6
- export { e as default };
7
+ export { n as default, t as more, e as names };
@@ -0,0 +1,36 @@
1
+ import { FC, ReactNode } from 'react';
2
+ /** CSS custom-property overrides for the `DeploymentIcon` component. */
3
+ export interface DeploymentIconColors {
4
+ /** Badge background color. */
5
+ background?: string;
6
+ }
7
+ /** User-visible strings for `DeploymentIcon`. */
8
+ export interface DeploymentIconLabels {
9
+ /** When provided, a tooltip with this text is shown on hover/focus. */
10
+ tooltip?: string;
11
+ }
12
+ /** Style overrides for `DeploymentIcon`. */
13
+ export interface DeploymentIconStyles {
14
+ /** Color overrides applied as CSS custom properties. */
15
+ colors?: DeploymentIconColors;
16
+ /** Extra class applied to the outer badge wrapper, e.g. for a custom background variable. */
17
+ badgeClassName?: string;
18
+ }
19
+ /** Props for `DeploymentIcon`. */
20
+ export interface DeploymentIconProps {
21
+ /** Image URL to display. When absent the fallback is shown directly. */
22
+ src?: string;
23
+ /** Outer badge dimension in pixels. */
24
+ size: number;
25
+ /** Display name used to generate initials when no image is available. */
26
+ initialsName: string;
27
+ /** Custom node rendered when `src` is absent or the image fails to load. Overrides `initialsName`. */
28
+ fallback?: ReactNode;
29
+ /** User-visible strings. */
30
+ labels?: DeploymentIconLabels;
31
+ /** Style overrides. */
32
+ styles?: DeploymentIconStyles;
33
+ }
34
+ /** Renders a deployment icon inside a rounded badge, falling back to initials or a custom node when no image is available. */
35
+ export declare const DeploymentIcon: FC<DeploymentIconProps>;
36
+ //# sourceMappingURL=DeploymentIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeploymentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentIcon/DeploymentIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAM7E,wEAAwE;AACxE,MAAM,WAAW,oBAAoB;IACnC,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,iDAAiD;AACjD,MAAM,WAAW,oBAAoB;IACnC,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,4CAA4C;AAC5C,MAAM,WAAW,oBAAoB;IACnC,wDAAwD;IACxD,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,6FAA6F;IAC7F,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,YAAY,EAAE,MAAM,CAAC;IACrB,sGAAsG;IACtG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,uBAAuB;IACvB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B;AAED,8HAA8H;AAC9H,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA8FlD,CAAC"}
@@ -1,3 +1,4 @@
1
- var e = { agentIconBadge: "_agentIconBadge_1ger8_1" };
1
+ //#region src/components/DeploymentIcon/DeploymentIcon.module.scss
2
+ var e = "_agentIconBadge_147d2_1", t = { agentIconBadge: e };
2
3
  //#endregion
3
- export { e as default };
4
+ export { e as agentIconBadge, t as default };
@@ -0,0 +1,38 @@
1
+ import { CSSProperties, FC, ReactNode } from 'react';
2
+ import { EntityHeaderItem } from '../../models/entity';
3
+ /** Props for EntityHeader. */
4
+ export interface EntityHeaderProps {
5
+ /** The entity to display. */
6
+ item: EntityHeaderItem;
7
+ /** Typography CSS class for the item name. Falls back to `ItemHeader`'s own default when omitted. */
8
+ nameClassName?: string;
9
+ /** CSS class for the entity type label. Default: 'dial-caption-lead-semi-text'. */
10
+ typeClassName?: string;
11
+ /** Visible type text, e.g. a translated type name. Default: the raw `item.type` value. */
12
+ typeLabel?: string;
13
+ /** CSS class applied to the icon badge, e.g. to set border-radius. Default: 'rounded-[14px]'. */
14
+ iconBadgeClassName?: string;
15
+ /** Typography CSS class for the version text. Falls back to `ItemHeader`'s own default when omitted. */
16
+ versionClassName?: string;
17
+ /** Whether to show `item.version` next to the title. Default: true. */
18
+ showVersion?: boolean;
19
+ /** Label for the featured tag shown when item.isFeatured is true. Default: 'Featured'. */
20
+ featuredLabel?: string;
21
+ /** Whether to render the featured tag. Default: true. */
22
+ hasFeaturedTag?: boolean;
23
+ /** Size of the deployment icon. Default: 48. */
24
+ iconSize?: number;
25
+ /** Search query string; when provided, matching text in the title is highlighted. */
26
+ query?: string;
27
+ /** Content pinned to the bottom of the text column via `mt-auto`, aligning its baseline with the avatar bottom. When provided, the column stretches to fill the icon height exactly. */
28
+ footer?: ReactNode;
29
+ /** CSS class for the featured chip. */
30
+ featuredChipClassName?: string;
31
+ /** Style override for the featured chip, merged over its default per-entity-type colors, e.g. `{ backgroundColor, color, border }`. */
32
+ featuredChipStyle?: CSSProperties;
33
+ /** Arbitrary badge rendered before the featured chip, in the same top-end corner. Omitted (the default) renders nothing in that slot. */
34
+ statusBadge?: ReactNode;
35
+ }
36
+ /** Reusable entity identity block: deployment icon, type label, name, version, and optional featured chip. */
37
+ export declare const EntityHeader: FC<EntityHeaderProps>;
38
+ //# sourceMappingURL=EntityHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityHeader.d.ts","sourceRoot":"","sources":["../../../src/components/EntityHeader/EntityHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAO5D,8BAA8B;AAC9B,MAAM,WAAW,iBAAiB;IAChC,6BAA6B;IAC7B,IAAI,EAAE,gBAAgB,CAAC;IACvB,qGAAqG;IACrG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mFAAmF;IACnF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iGAAiG;IACjG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wGAAwG;IACxG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0FAA0F;IAC1F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yDAAyD;IACzD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wLAAwL;IACxL,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,uCAAuC;IACvC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,uIAAuI;IACvI,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,yIAAyI;IACzI,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,8GAA8G;AAC9G,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA+D9C,CAAC"}
@@ -22,7 +22,7 @@ var s = ({ item: s, nameClassName: c, versionClassName: l, showVersion: u = !0,
22
22
  className: d,
23
23
  label: f
24
24
  }), (x != null || _ && s.isFeatured) && /* @__PURE__ */ o("div", {
25
- className: "absolute end-0 top-[-6px] flex items-center gap-2",
25
+ className: "absolute inset-e-0 top-[-6px] flex items-center gap-2",
26
26
  children: [x, _ && s.isFeatured && /* @__PURE__ */ a(i, {
27
27
  type: s.type,
28
28
  label: g,
@@ -0,0 +1,18 @@
1
+ import { FC } from 'react';
2
+ import { CatalogEntityType } from '../../types/entity-type';
3
+ /** Props for EntityTypeLabel. */
4
+ export interface EntityTypeLabelProps {
5
+ /** Entity category — resolves the label's color via ENTITY_TYPE_COLOR. */
6
+ type: CatalogEntityType;
7
+ /** CSS class for the label text. Default: 'dial-caption-lead-semi-text'. */
8
+ className?: string;
9
+ /** Visible text, e.g. a translated type name. Default: the raw `type` value (`'MODEL'`, `'TOOLSET'`, …). */
10
+ label?: string;
11
+ }
12
+ /**
13
+ * Entity type label rendered as plain uppercase text — no pill, no background.
14
+ * Shared by the card grid (via AppIdentity) and the list view, so both
15
+ * densities of the catalog use the same type treatment.
16
+ */
17
+ export declare const EntityTypeLabel: FC<EntityTypeLabelProps>;
18
+ //# sourceMappingURL=EntityTypeLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityTypeLabel.d.ts","sourceRoot":"","sources":["../../../src/components/EntityTypeLabel/EntityTypeLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,iCAAiC;AACjC,MAAM,WAAW,oBAAoB;IACnC,0EAA0E;IAC1E,IAAI,EAAE,iBAAiB,CAAC;IACxB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4GAA4G;IAC5G,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAQpD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { CSSProperties, FC } from 'react';
2
+ import { CatalogEntityType } from '../../types/entity-type';
3
+ /** Props for `FeaturedChip`. */
4
+ export interface FeaturedChipProps {
5
+ /** Label text shown inside the chip. */
6
+ label: string;
7
+ /** Typography class for the label. Defaults to the kit badge's `'dial-caption-lead-semi-text'`. */
8
+ className?: string;
9
+ /** Entity category — picks the chip's default colours. */
10
+ type: CatalogEntityType;
11
+ /** Style overrides merged over the chip's default per-entity-type colors, e.g. `{ backgroundColor, color, border }`. */
12
+ style?: CSSProperties;
13
+ }
14
+ /** Featured badge rendered on a catalog card when `item.isFeatured` is true. */
15
+ export declare const FeaturedChip: FC<FeaturedChipProps>;
16
+ //# sourceMappingURL=FeaturedChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeaturedChip.d.ts","sourceRoot":"","sources":["../../../src/components/FeaturedChip/FeaturedChip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG5D,gCAAgC;AAChC,MAAM,WAAW,iBAAiB;IAChC,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,mGAAmG;IACnG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,IAAI,EAAE,iBAAiB,CAAC;IACxB,wHAAwH;IACxH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,gFAAgF;AAChF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAe9C,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { AvatarColorClasses } from '@epam/ai-dial-ui-kit';
2
+ import { FC } from 'react';
3
+ /** Props for `InitialsAvatar`. */
4
+ export interface InitialsAvatarProps {
5
+ /** Display name from which initials are derived. Empty string renders `"?"`. */
6
+ name: string;
7
+ /** Badge width and height in pixels. */
8
+ size: number;
9
+ /** Explicit colour pair overriding the deterministic pick from `name` (an `AVATAR_PALETTE` entry); omit to keep the name-derived colour. */
10
+ color?: AvatarColorClasses;
11
+ /** Extra classes applied to the root element (e.g. `'shrink-0'`). */
12
+ className?: string;
13
+ /** Type-scale class for the initials. Defaults to none: the initials are semibold at 40% of `size`. */
14
+ textClassName?: string;
15
+ }
16
+ /** A square badge showing 1–2 initials derived from `name` on a deterministic colour background. */
17
+ export declare const InitialsAvatar: FC<InitialsAvatarProps>;
18
+ //# sourceMappingURL=InitialsAvatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InitialsAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/InitialsAvatar/InitialsAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,gFAAgF;IAChF,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,4IAA4I;IAC5I,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uGAAuG;IACvG,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,oGAAoG;AACpG,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAgBlD,CAAC"}
@@ -1,12 +1,13 @@
1
1
  import { Avatar as e, AvatarShape as t } from "@epam/ai-dial-ui-kit";
2
2
  import { jsx as n } from "react/jsx-runtime";
3
3
  //#region src/components/InitialsAvatar/InitialsAvatar.tsx
4
- var r = ({ name: r, size: i, className: a, textClassName: o }) => /* @__PURE__ */ n(e, {
4
+ var r = ({ name: r, size: i, color: a, className: o, textClassName: s }) => /* @__PURE__ */ n(e, {
5
5
  name: r,
6
6
  size: i,
7
7
  shape: t.Square,
8
- className: a,
9
- textClassName: o
8
+ color: a,
9
+ className: o,
10
+ textClassName: s
10
11
  });
11
12
  //#endregion
12
13
  export { r as InitialsAvatar };
@@ -0,0 +1,40 @@
1
+ import { FC, ReactNode } from 'react';
2
+ /** CSS custom-property overrides for the `ItemHeader` component. */
3
+ export interface ItemHeaderColors {
4
+ /** Title text color. Defaults to `--text-primary`. */
5
+ title?: string;
6
+ /** Postfix text color. Defaults to `--text-secondary`. */
7
+ count?: string;
8
+ }
9
+ /** Props for `ItemHeader`. */
10
+ export interface ItemHeaderProps {
11
+ /** Title text rendered in the heading element. */
12
+ title: string;
13
+ /**
14
+ * Secondary value rendered after the title. A number (an item count) always
15
+ * renders in full; a string (a version) is capped at 30% of the row and
16
+ * truncates with a tooltip.
17
+ */
18
+ postfix?: number | string;
19
+ /** CSS class applied to the title. Defaults to `'dial-h3-text'`. */
20
+ titleClassName?: string;
21
+ /** CSS class applied to the postfix. Defaults to `'dial-tiny-text'`. */
22
+ postfixClassName?: string;
23
+ /** CSS class applied to the header row. */
24
+ className?: string;
25
+ /** Search query; when provided, the matching part of the title is highlighted. */
26
+ query?: string;
27
+ /** Optional content rendered at the trailing end of the header row. */
28
+ trailing?: ReactNode;
29
+ /** Color overrides applied as CSS custom properties. */
30
+ colors?: ItemHeaderColors;
31
+ /**
32
+ * Whether the title shrinks and truncates with an ellipsis. When `false` the
33
+ * title keeps its full width and the rest of the row gives way instead.
34
+ * Defaults to `true`.
35
+ */
36
+ shouldTruncateTitle?: boolean;
37
+ }
38
+ /** Item title header with optional numeric or string postfix and trailing slot. */
39
+ export declare const ItemHeader: FC<ItemHeaderProps>;
40
+ //# sourceMappingURL=ItemHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ItemHeader/ItemHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtC,oEAAoE;AACpE,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,8BAA8B;AAC9B,MAAM,WAAW,eAAe;IAC9B,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,oEAAoE;IACpE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wEAAwE;IACxE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,wDAAwD;IACxD,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,mFAAmF;AACnF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAiF1C,CAAC"}
@@ -20,7 +20,10 @@ var s = ({ title: s, postfix: c, titleClassName: l = "dial-h3-text", postfixClas
20
20
  query: f
21
21
  }) : h ? /* @__PURE__ */ a(r, { text: s }) : s
22
22
  }),
23
- c != null && /* @__PURE__ */ a(r, {
23
+ c == null ? null : typeof c == "number" ? /* @__PURE__ */ a("span", {
24
+ className: e("shrink-0 whitespace-nowrap", u, n.count),
25
+ children: c
26
+ }) : /* @__PURE__ */ a(r, {
24
27
  className: e("max-w-[30%] shrink-0", u, n.count),
25
28
  text: c
26
29
  }),
@@ -1,6 +1,7 @@
1
- var e = {
2
- title: "_title_11w3i_1",
3
- count: "_count_11w3i_5"
1
+ //#region src/components/ItemHeader/ItemHeader.module.scss
2
+ var e = "_title_11w3i_1", t = "_count_11w3i_5", n = {
3
+ title: e,
4
+ count: t
4
5
  };
5
6
  //#endregion
6
- export { e as default };
7
+ export { t as count, n as default, e as title };
@@ -0,0 +1,57 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { CodeBlockTheme } from '../../../types/code-editor';
3
+ /** CSS custom-property overrides for the `MarkdownCodeBlock` component. */
4
+ export interface MarkdownCodeBlockColors {
5
+ /** Container background color. */
6
+ background?: string;
7
+ /** Container/header border color. */
8
+ border?: string;
9
+ /** Header background color. */
10
+ headerBackground?: string;
11
+ /** Language label text color. */
12
+ language?: string;
13
+ /** Copy button icon color once copied. */
14
+ copied?: string;
15
+ /** Scrollbar thumb/track color. */
16
+ scrollbar?: string;
17
+ }
18
+ /** Props for {@link MarkdownCodeBlock}. */
19
+ export interface MarkdownCodeBlockProps {
20
+ /** Detected language from the fenced code block. Empty string for language-less blocks. */
21
+ language: string;
22
+ /** Raw code value with trailing newline stripped. */
23
+ value: string;
24
+ /** When true, the copy button is hidden (streaming in progress). */
25
+ isStreaming?: boolean;
26
+ /** Color theme for syntax highlighting. Defaults to `'dark'`. */
27
+ theme?: CodeBlockTheme;
28
+ /** Accessible label for the copy button. Defaults to `'Copy code'`. */
29
+ copyLabel?: string;
30
+ /** Message announced through the block's polite kit `LiveRegion` after a copy completes. The copy button's own accessible name stays `copyLabel`. Defaults to `'Copied!'`. */
31
+ copiedLabel?: string;
32
+ /** Accessible label for the download button. Defaults to `'Download code'`. */
33
+ downloadLabel?: string;
34
+ /** Accessible label for the scrollable code region. Defaults to `'Scrollable code'`. */
35
+ scrollRegionAriaLabel?: string;
36
+ /** When true, hides the download button while still showing copy. Defaults to `false`. */
37
+ hideDownload?: boolean;
38
+ /** Extra classes applied to the outer container element. */
39
+ containerClassName?: string;
40
+ /** Extra classes applied to the sticky header bar. */
41
+ headerClassName?: string;
42
+ /** Typography class for the code text — the `<code>` element, plus the highlighted `<pre>` when a language is detected. Defaults to `'dial-code-text'`. */
43
+ codeClassName?: string;
44
+ /** Whether the code keeps its own top padding below the header; `false` starts it right under the header. Defaults to `true`. */
45
+ hasContentTopPadding?: boolean;
46
+ /** CSS class applied to the language label in the header. Defaults to `'dial-tiny-lead-semi-text'` plus the module's `.languageLabel` class (`--text-secondary`). */
47
+ languageLabelClassName?: string;
48
+ /** Header text shown in place of `language`, for blocks whose highlighting id is not the name to display (e.g. `bash` highlighted, `cURL` shown). Defaults to the `language` value. */
49
+ title?: string;
50
+ /** Custom content rendered in the header in place of the plain label, e.g. a language/endpoint select. Defaults to the plain label text. */
51
+ titleSlot?: ReactNode;
52
+ /** Color overrides applied as CSS custom properties. */
53
+ colors?: MarkdownCodeBlockColors;
54
+ }
55
+ /** Renders a fenced or multi-line code block with syntax highlighting and a copy button. */
56
+ export declare const MarkdownCodeBlock: FC<MarkdownCodeBlockProps>;
57
+ //# sourceMappingURL=CodeBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/CodeBlock/CodeBlock.tsx"],"names":[],"mappings":"AASA,OAAO,EAAQ,KAAK,EAAE,EAAQ,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAG/E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAW5D,2EAA2E;AAC3E,MAAM,WAAW,uBAAuB;IACtC,kCAAkC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,2CAA2C;AAC3C,MAAM,WAAW,sBAAsB;IACrC,2FAA2F;IAC3F,QAAQ,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iEAAiE;IACjE,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8KAA8K;IAC9K,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+EAA+E;IAC/E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,0FAA0F;IAC1F,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sDAAsD;IACtD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,2JAA2J;IAC3J,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iIAAiI;IACjI,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qKAAqK;IACrK,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,uLAAuL;IACvL,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4IAA4I;IAC5I,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,wDAAwD;IACxD,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAClC;AAiBD,4FAA4F;AAC5F,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA+JxD,CAAC"}