@epam/ai-dial-chat-shared 1.3.0-dev.5 → 1.3.0-dev.51

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 (244) hide show
  1. package/components/ConfirmationDialog/ConfirmationDialog.d.ts +41 -0
  2. package/components/ConfirmationDialog/ConfirmationDialog.d.ts.map +1 -0
  3. package/components/ConfirmationIdentityCard/ConfirmationIdentityCard.d.ts +33 -0
  4. package/components/ConfirmationIdentityCard/ConfirmationIdentityCard.d.ts.map +1 -0
  5. package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.d.ts +33 -0
  6. package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.d.ts.map +1 -0
  7. package/components/ConfirmationView/ConfirmationFooter.d.ts +41 -0
  8. package/components/ConfirmationView/ConfirmationFooter.d.ts.map +1 -0
  9. package/components/ConfirmationView/ConfirmationFooter.js +3 -1
  10. package/components/ConfirmationView/ConfirmationView.d.ts +57 -0
  11. package/components/ConfirmationView/ConfirmationView.d.ts.map +1 -0
  12. package/components/ConfirmationView/ConfirmationView.js +15 -14
  13. package/components/CopyButton/CopyButton.d.ts +19 -0
  14. package/components/CopyButton/CopyButton.d.ts.map +1 -0
  15. package/components/DeleteConfirmationDialog/DeleteConfirmationDialog.d.ts +41 -0
  16. package/components/DeleteConfirmationDialog/DeleteConfirmationDialog.d.ts.map +1 -0
  17. package/components/DeleteConfirmationDialog/DeleteConfirmationDialog.js +34 -0
  18. package/components/DeleteConfirmationView/DeleteConfirmationView.d.ts +49 -0
  19. package/components/DeleteConfirmationView/DeleteConfirmationView.d.ts.map +1 -0
  20. package/components/DeleteConfirmationView/DeleteConfirmationView.js +37 -0
  21. package/components/DeleteConfirmationView/DeleteConfirmationView.module.scss.js +6 -0
  22. package/components/DeploymentIcon/DeploymentIcon.d.ts +36 -0
  23. package/components/DeploymentIcon/DeploymentIcon.d.ts.map +1 -0
  24. package/components/EntityHeader/EntityHeader.d.ts +38 -0
  25. package/components/EntityHeader/EntityHeader.d.ts.map +1 -0
  26. package/components/EntityTypeLabel/EntityTypeLabel.d.ts +18 -0
  27. package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +1 -0
  28. package/components/FeaturedChip/FeaturedChip.d.ts +16 -0
  29. package/components/FeaturedChip/FeaturedChip.d.ts.map +1 -0
  30. package/components/InitialsAvatar/InitialsAvatar.d.ts +15 -0
  31. package/components/InitialsAvatar/InitialsAvatar.d.ts.map +1 -0
  32. package/components/ItemHeader/ItemHeader.d.ts +36 -0
  33. package/components/ItemHeader/ItemHeader.d.ts.map +1 -0
  34. package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts +53 -0
  35. package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts.map +1 -0
  36. package/components/MarkdownRenderer/CodeBlock/syntax-theme.d.ts +7 -0
  37. package/components/MarkdownRenderer/CodeBlock/syntax-theme.d.ts.map +1 -0
  38. package/components/MarkdownRenderer/MDMessageViewer.d.ts +66 -0
  39. package/components/MarkdownRenderer/MDMessageViewer.d.ts.map +1 -0
  40. package/components/MarkdownRenderer/MDMessageViewer.js +14 -12
  41. package/components/MarkdownRenderer/MarkdownRenderer.d.ts +139 -0
  42. package/components/MarkdownRenderer/MarkdownRenderer.d.ts.map +1 -0
  43. package/components/MarkdownRenderer/MarkdownRenderer.js +136 -129
  44. package/components/MarkdownRenderer/Math/MarkdownMathBlock.d.ts +18 -0
  45. package/components/MarkdownRenderer/Math/MarkdownMathBlock.d.ts.map +1 -0
  46. package/components/MarkdownRenderer/PlainTextRenderer.d.ts +39 -0
  47. package/components/MarkdownRenderer/PlainTextRenderer.d.ts.map +1 -0
  48. package/components/MarkdownRenderer/Table/MarkdownTable.d.ts +47 -0
  49. package/components/MarkdownRenderer/Table/MarkdownTable.d.ts.map +1 -0
  50. package/components/MarkdownRenderer/Table/TableHeader.d.ts +22 -0
  51. package/components/MarkdownRenderer/Table/TableHeader.d.ts.map +1 -0
  52. package/components/MarkdownRenderer/Table/table-serialization.d.ts +16 -0
  53. package/components/MarkdownRenderer/Table/table-serialization.d.ts.map +1 -0
  54. package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.d.ts +27 -0
  55. package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.d.ts.map +1 -0
  56. package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts +9 -0
  57. package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts.map +1 -0
  58. package/components/MarkdownRenderer/ThinkingShimmer.d.ts +17 -0
  59. package/components/MarkdownRenderer/ThinkingShimmer.d.ts.map +1 -0
  60. package/components/MarkdownRenderer/markdown-class-names.d.ts +10 -0
  61. package/components/MarkdownRenderer/markdown-class-names.d.ts.map +1 -0
  62. package/components/MarkdownRenderer/markdown-whitespace.d.ts +15 -0
  63. package/components/MarkdownRenderer/markdown-whitespace.d.ts.map +1 -0
  64. package/components/MarkdownRenderer/markdown-whitespace.js +18 -0
  65. package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts +25 -0
  66. package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts.map +1 -0
  67. package/components/PanelEmptyState/PanelEmptyState.d.ts +22 -0
  68. package/components/PanelEmptyState/PanelEmptyState.d.ts.map +1 -0
  69. package/components/ResourceSummary/ResourceSummary.d.ts +49 -0
  70. package/components/ResourceSummary/ResourceSummary.d.ts.map +1 -0
  71. package/components/TextRefinementField/TextRefinementField.d.ts +31 -0
  72. package/components/TextRefinementField/TextRefinementField.d.ts.map +1 -0
  73. package/constants/breakpoint.d.ts +9 -0
  74. package/constants/breakpoint.d.ts.map +1 -0
  75. package/constants/dial.d.ts +5 -0
  76. package/constants/dial.d.ts.map +1 -0
  77. package/constants/entity-colors.d.ts +6 -0
  78. package/constants/entity-colors.d.ts.map +1 -0
  79. package/constants/icon.d.ts +14 -0
  80. package/constants/icon.d.ts.map +1 -0
  81. package/constants/markdown-editor.d.ts +2 -0
  82. package/constants/markdown-editor.d.ts.map +1 -0
  83. package/constants/mime-types.d.ts +27 -0
  84. package/constants/mime-types.d.ts.map +1 -0
  85. package/constants/public-class-names.d.ts +13 -0
  86. package/constants/public-class-names.d.ts.map +1 -0
  87. package/constants/resizable-fields.d.ts +5 -0
  88. package/constants/resizable-fields.d.ts.map +1 -0
  89. package/constants/select-list.d.ts +4 -0
  90. package/constants/select-list.d.ts.map +1 -0
  91. package/constants/tag-input.d.ts +2 -0
  92. package/constants/tag-input.d.ts.map +1 -0
  93. package/entry-points/file-manager.d.ts +5 -0
  94. package/entry-points/file-manager.d.ts.map +1 -0
  95. package/entry-points/markdown.d.ts +19 -0
  96. package/entry-points/markdown.d.ts.map +1 -0
  97. package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts +52 -0
  98. package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts.map +1 -0
  99. package/file-manager/DialFileManagerShell/DialFileManagerShell.js +128 -120
  100. package/file-manager/FileManagerAttachModal/FileManagerAttachModal.d.ts +89 -0
  101. package/file-manager/FileManagerAttachModal/FileManagerAttachModal.d.ts.map +1 -0
  102. package/file-manager/FileManagerAttachModal/FileManagerAttachModal.js +2 -1
  103. package/file-manager/OperationLoaderModal/OperationLoaderModal.d.ts +17 -0
  104. package/file-manager/OperationLoaderModal/OperationLoaderModal.d.ts.map +1 -0
  105. package/file-manager/attach-result.d.ts +9 -0
  106. package/file-manager/attach-result.d.ts.map +1 -0
  107. package/file-manager/file-manager-controller.d.ts +121 -0
  108. package/file-manager/file-manager-controller.d.ts.map +1 -0
  109. package/file-manager/file-manager-variant.d.ts +21 -0
  110. package/file-manager/file-manager-variant.d.ts.map +1 -0
  111. package/file-manager/file-upload-validation.d.ts +8 -0
  112. package/file-manager/file-upload-validation.d.ts.map +1 -0
  113. package/file-manager/index.d.ts +10 -0
  114. package/file-manager/index.d.ts.map +1 -0
  115. package/file-manager/labels.d.ts +156 -0
  116. package/file-manager/labels.d.ts.map +1 -0
  117. package/file-manager/path.d.ts +12 -0
  118. package/file-manager/path.d.ts.map +1 -0
  119. package/file-manager/upload-batch.d.ts +29 -0
  120. package/file-manager/upload-batch.d.ts.map +1 -0
  121. package/file-manager/upload-queue.d.ts +5 -0
  122. package/file-manager/upload-queue.d.ts.map +1 -0
  123. package/file-manager/useGridEditingScroll/useGridEditingScroll.d.ts +27 -0
  124. package/file-manager/useGridEditingScroll/useGridEditingScroll.d.ts.map +1 -0
  125. package/file-manager.d.ts +2 -506
  126. package/hooks/useAvailableHeightCap.d.ts +30 -0
  127. package/hooks/useAvailableHeightCap.d.ts.map +1 -0
  128. package/hooks/useCodeCopy.d.ts +6 -0
  129. package/hooks/useCodeCopy.d.ts.map +1 -0
  130. package/hooks/useCollapsedText.d.ts +27 -0
  131. package/hooks/useCollapsedText.d.ts.map +1 -0
  132. package/hooks/useHorizontalOverflow.d.ts +21 -0
  133. package/hooks/useHorizontalOverflow.d.ts.map +1 -0
  134. package/hooks/useIsMobile.d.ts +3 -0
  135. package/hooks/useIsMobile.d.ts.map +1 -0
  136. package/hooks/useStreamedMarkdownContent.d.ts +3 -0
  137. package/hooks/useStreamedMarkdownContent.d.ts.map +1 -0
  138. package/hooks/useTextRefinement.d.ts +44 -0
  139. package/hooks/useTextRefinement.d.ts.map +1 -0
  140. package/hooks/useUnsavedChangesGuard.d.ts +14 -0
  141. package/hooks/useUnsavedChangesGuard.d.ts.map +1 -0
  142. package/index.css +2 -2
  143. package/index.d.ts +78 -3072
  144. package/index.d.ts.map +1 -0
  145. package/index.js +28 -25
  146. package/markdown.d.ts +2 -465
  147. package/markdown.js +3 -2
  148. package/models/annotation.d.ts +143 -0
  149. package/models/annotation.d.ts.map +1 -0
  150. package/models/application-visualizer.d.ts +67 -0
  151. package/models/application-visualizer.d.ts.map +1 -0
  152. package/models/auth.d.ts +26 -0
  153. package/models/auth.d.ts.map +1 -0
  154. package/models/chat.d.ts +407 -0
  155. package/models/chat.d.ts.map +1 -0
  156. package/models/conversation-classification.d.ts +9 -0
  157. package/models/conversation-classification.d.ts.map +1 -0
  158. package/models/conversation-transfer.d.ts +96 -0
  159. package/models/conversation-transfer.d.ts.map +1 -0
  160. package/models/custom-visualizer.d.ts +61 -0
  161. package/models/custom-visualizer.d.ts.map +1 -0
  162. package/models/deployment-configuration.d.ts +55 -0
  163. package/models/deployment-configuration.d.ts.map +1 -0
  164. package/models/deployment-features.d.ts +17 -0
  165. package/models/deployment-features.d.ts.map +1 -0
  166. package/models/deployment.d.ts +31 -0
  167. package/models/deployment.d.ts.map +1 -0
  168. package/models/dial-model.d.ts +19 -0
  169. package/models/dial-model.d.ts.map +1 -0
  170. package/models/entity.d.ts +15 -0
  171. package/models/entity.d.ts.map +1 -0
  172. package/models/import-export.d.ts +23 -0
  173. package/models/import-export.d.ts.map +1 -0
  174. package/models/inline-segment.d.ts +11 -0
  175. package/models/inline-segment.d.ts.map +1 -0
  176. package/models/locale.d.ts +19 -0
  177. package/models/locale.d.ts.map +1 -0
  178. package/models/text-refinement.d.ts +18 -0
  179. package/models/text-refinement.d.ts.map +1 -0
  180. package/models/theme.d.ts +36 -0
  181. package/models/theme.d.ts.map +1 -0
  182. package/models/tool-menu-item.d.ts +13 -0
  183. package/models/tool-menu-item.d.ts.map +1 -0
  184. package/package.json +3 -3
  185. package/types/attachment.d.ts +25 -0
  186. package/types/attachment.d.ts.map +1 -0
  187. package/types/code-editor.d.ts +8 -0
  188. package/types/code-editor.d.ts.map +1 -0
  189. package/types/entity-type.d.ts +10 -0
  190. package/types/entity-type.d.ts.map +1 -0
  191. package/types/file-manager-node.d.ts +17 -0
  192. package/types/file-manager-node.d.ts.map +1 -0
  193. package/types/mime-type.d.ts +59 -0
  194. package/types/mime-type.d.ts.map +1 -0
  195. package/utils/annotation.d.ts +29 -0
  196. package/utils/annotation.d.ts.map +1 -0
  197. package/utils/avatar-color.d.ts +10 -0
  198. package/utils/avatar-color.d.ts.map +1 -0
  199. package/utils/build-css-vars.d.ts +4 -0
  200. package/utils/build-css-vars.d.ts.map +1 -0
  201. package/utils/copy-to-clipboard.d.ts +18 -0
  202. package/utils/copy-to-clipboard.d.ts.map +1 -0
  203. package/utils/entity-field-limits.d.ts +11 -0
  204. package/utils/entity-field-limits.d.ts.map +1 -0
  205. package/utils/entity-type.d.ts +5 -0
  206. package/utils/entity-type.d.ts.map +1 -0
  207. package/utils/file-download.d.ts +21 -0
  208. package/utils/file-download.d.ts.map +1 -0
  209. package/utils/format-file-size.d.ts +3 -0
  210. package/utils/format-file-size.d.ts.map +1 -0
  211. package/utils/format-last-used.d.ts +3 -0
  212. package/utils/format-last-used.d.ts.map +1 -0
  213. package/utils/format-price.d.ts +7 -0
  214. package/utils/format-price.d.ts.map +1 -0
  215. package/utils/generate-uuid.d.ts +3 -0
  216. package/utils/generate-uuid.d.ts.map +1 -0
  217. package/utils/initials.d.ts +3 -0
  218. package/utils/initials.d.ts.map +1 -0
  219. package/utils/inline-segments.d.ts +38 -0
  220. package/utils/inline-segments.d.ts.map +1 -0
  221. package/utils/inline-segments.js +53 -0
  222. package/utils/is-audio-transcription-supported.d.ts +3 -0
  223. package/utils/is-audio-transcription-supported.d.ts.map +1 -0
  224. package/utils/is-skill-selection-unsupported.d.ts +3 -0
  225. package/utils/is-skill-selection-unsupported.d.ts.map +1 -0
  226. package/utils/latex.d.ts +21 -0
  227. package/utils/latex.d.ts.map +1 -0
  228. package/utils/markdown-html.d.ts +14 -0
  229. package/utils/markdown-html.d.ts.map +1 -0
  230. package/utils/markdown-html.js +11 -0
  231. package/utils/merge-class.d.ts +4 -0
  232. package/utils/merge-class.d.ts.map +1 -0
  233. package/utils/message-attachment-to-display.d.ts +22 -0
  234. package/utils/message-attachment-to-display.d.ts.map +1 -0
  235. package/utils/message.d.ts +4 -0
  236. package/utils/message.d.ts.map +1 -0
  237. package/utils/mime-type.d.ts +22 -0
  238. package/utils/mime-type.d.ts.map +1 -0
  239. package/utils/prompt-variables.d.ts +62 -0
  240. package/utils/prompt-variables.d.ts.map +1 -0
  241. package/utils/string-utils.d.ts +11 -0
  242. package/utils/string-utils.d.ts.map +1 -0
  243. package/utils/syntax-highlighting.d.ts +8 -0
  244. package/utils/syntax-highlighting.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThinkingShimmer.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/ThinkingShimmer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAGjE,yCAAyC;AACzC,MAAM,WAAW,oBAAoB;IACnC,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,MAAM,CAAC,EAAE,IAAI,CACX,sBAAsB,EACtB,iBAAiB,GAAG,mBAAmB,CACxC,CAAC;CACH;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAapD,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { MarkdownRendererClassNames } from './MarkdownRenderer';
2
+ /** Default typography classNames for rendering markdown with full visual hierarchy. */
3
+ export declare const DEFAULT_MARKDOWN_CLASS_NAMES: MarkdownRendererClassNames;
4
+ /**
5
+ * {@link DEFAULT_MARKDOWN_CLASS_NAMES} with the body copy one step down the
6
+ * type scale. Headings, code, and tables are unchanged — only the text that
7
+ * dominates a long answer shrinks, so more of it fits on a narrow viewport.
8
+ */
9
+ export declare const COMPACT_MARKDOWN_CLASS_NAMES: MarkdownRendererClassNames;
10
+ //# sourceMappingURL=markdown-class-names.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-class-names.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/markdown-class-names.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE,uFAAuF;AACvF,eAAO,MAAM,4BAA4B,EAAE,0BAe1C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,0BAI1C,CAAC"}
@@ -0,0 +1,15 @@
1
+ /** Minimal hast node shape walked by {@link rehypePreserveSpaces}. */
2
+ interface HastNodeLike {
3
+ /** Node type — `'element'`, `'text'`, `'root'`, … */
4
+ type: string;
5
+ /** Tag name of an element node. */
6
+ tagName?: string;
7
+ /** Text of a text node. */
8
+ value?: string;
9
+ /** Child nodes of a parent node. */
10
+ children?: HastNodeLike[];
11
+ }
12
+ /** Rehype plugin that keeps runs of consecutive spaces in prose visible instead of letting HTML collapse them to one. */
13
+ export declare const rehypePreserveSpaces: () => (tree: HastNodeLike) => void;
14
+ export {};
15
+ //# sourceMappingURL=markdown-whitespace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-whitespace.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/markdown-whitespace.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,UAAU,YAAY;IACpB,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oCAAoC;IACpC,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;CAC3B;AA8BD,yHAAyH;AACzH,eAAO,MAAM,oBAAoB,SAAU,MAAM,YAAY,SAE5D,CAAC"}
@@ -0,0 +1,18 @@
1
+ //#region src/components/MarkdownRenderer/markdown-whitespace.ts
2
+ var e = new Set([
3
+ "code",
4
+ "pre",
5
+ "math",
6
+ "script",
7
+ "style"
8
+ ]), t = "\xA0", n = / {2,}/g, r = (e) => `${t.repeat(e.length - 1)} `, i = (t) => {
9
+ if (t.type === "text" && t.value) {
10
+ t.value = t.value.replace(n, r);
11
+ return;
12
+ }
13
+ t.type === "element" && t.tagName && e.has(t.tagName) || t.children?.forEach(i);
14
+ }, a = () => (e) => {
15
+ i(e);
16
+ };
17
+ //#endregion
18
+ export { a as rehypePreserveSpaces };
@@ -0,0 +1,25 @@
1
+ import { FC } from 'react';
2
+ /** Props for {@link MarkdownWithPlaceholders}. */
3
+ export interface MarkdownWithPlaceholdersProps {
4
+ /** Raw markdown string to render, read-only. */
5
+ content: string;
6
+ /** Typography class overrides applied to `<h1>`–`<h6>`. Defaults to no override. */
7
+ headingClassName?: string;
8
+ /** Accessible label for the copy button in code blocks. Forwarded to {@link MarkdownRenderer}; defaults to `'Copy code'`. */
9
+ codeBlockCopyLabel?: string;
10
+ /** Status announced after a code block has been copied. Forwarded to {@link MarkdownRenderer}; defaults to `'Copied!'`. */
11
+ codeBlockCopiedLabel?: string;
12
+ /** Accessible label for the download button in code blocks. Forwarded to {@link MarkdownRenderer}; defaults to `'Download code'`. */
13
+ codeBlockDownloadLabel?: string;
14
+ /** Accessible label for a table's scrollable region. Forwarded to {@link MarkdownRenderer}; defaults to `'Scrollable table'`. */
15
+ tableScrollRegionAriaLabel?: string;
16
+ /** Accessible label for a block formula's scrollable region. Forwarded to {@link MarkdownRenderer}; defaults to `'Scrollable formula'`. */
17
+ mathScrollRegionAriaLabel?: string;
18
+ }
19
+ /**
20
+ * Renders read-only markdown with every `{{param}}` token wrapped in a
21
+ * `cat-prompt-variable`-classed span the host can style apart from the
22
+ * surrounding prose.
23
+ */
24
+ export declare const MarkdownWithPlaceholders: FC<MarkdownWithPlaceholdersProps>;
25
+ //# sourceMappingURL=MarkdownWithPlaceholders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkdownWithPlaceholders.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAO3B,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6HAA6H;IAC7H,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,2HAA2H;IAC3H,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,qIAAqI;IACrI,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iIAAiI;IACjI,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,2IAA2I;IAC3I,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC;AAKD;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CAsBtE,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { FC, ReactNode } from 'react';
2
+ /** CSS custom-property overrides for the `PanelEmptyState` component. */
3
+ export interface PanelEmptyStateColors {
4
+ /** Label text color. */
5
+ label?: string;
6
+ }
7
+ /** Props for `PanelEmptyState`. */
8
+ export interface PanelEmptyStateProps {
9
+ /** Primary message of the empty state. */
10
+ label: string;
11
+ /** Color overrides applied as CSS custom properties. */
12
+ colors?: PanelEmptyStateColors;
13
+ /** CSS class applied to the label text. Defaults to `'dial-tiny-text'`. */
14
+ labelClassName?: string;
15
+ /** CSS class applied to the empty-state container. */
16
+ containerClassName?: string;
17
+ /** Decorative illustration above the label. Defaults to the kit's `NoDataContent` document mark. */
18
+ icon?: ReactNode;
19
+ }
20
+ /** Centered empty-state block for use inside a sidebar panel body. */
21
+ export declare const PanelEmptyState: FC<PanelEmptyStateProps>;
22
+ //# sourceMappingURL=PanelEmptyState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PanelEmptyState.d.ts","sourceRoot":"","sources":["../../../src/components/PanelEmptyState/PanelEmptyState.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtD,yEAAyE;AACzE,MAAM,WAAW,qBAAqB;IACpC,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,mCAAmC;AACnC,MAAM,WAAW,oBAAoB;IACnC,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oGAAoG;IACpG,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,sEAAsE;AACtE,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAuBpD,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { EntityHeaderItem } from '../../models/entity';
3
+ /** CSS custom-property overrides for the `ResourceSummary` row. */
4
+ export interface ResourceSummaryColors {
5
+ /** Row border color. Defaults to `--stroke-tertiary`. */
6
+ border?: string;
7
+ /** Row background color. Defaults to `--bg-layer-sunken`. */
8
+ background?: string;
9
+ /** Version tag border color. Defaults to `--stroke-tertiary`. */
10
+ versionTagBorder?: string;
11
+ /** Version tag background color. Defaults to `--bg-control-accent-alpha`. */
12
+ versionTagBackground?: string;
13
+ /** Version tag text color. Defaults to `--text-accent`. */
14
+ versionTagText?: string;
15
+ }
16
+ /** Typography overrides for the `ResourceSummary` row. */
17
+ export interface ResourceSummaryTypography {
18
+ /** Typography class applied to the version tag. Defaults to `'dial-tiny-text'`. */
19
+ versionTagClassName?: string;
20
+ }
21
+ /** Style overrides for `ResourceSummary`. */
22
+ export interface ResourceSummaryStyles {
23
+ /** Color overrides applied as CSS custom properties. */
24
+ colors?: ResourceSummaryColors;
25
+ /** Typography class overrides. */
26
+ typography?: ResourceSummaryTypography;
27
+ }
28
+ /** Props for `ResourceSummary`. */
29
+ export interface ResourceSummaryProps {
30
+ /** Entity shown in the row as an icon, type label, name, and version tag. Ignored when `children` is set. */
31
+ item?: EntityHeaderItem;
32
+ /** Row content rendered instead of the entity header and version tag. */
33
+ children?: ReactNode;
34
+ /** Version tag text; `{version}` is replaced with `item.version`. The tag is omitted when `item.version` is empty. Defaults to `'Version {version} · current'`. */
35
+ versionLabel?: string;
36
+ /** Whether the version is shown as a trailing tag. When `false` it is shown inline after the name instead. Defaults to `true`. */
37
+ hasVersionTag?: boolean;
38
+ /** Size of the entity icon. Defaults to `40`. */
39
+ iconSize?: number;
40
+ /** CSS class applied to the row. */
41
+ className?: string;
42
+ /** Style overrides. */
43
+ styles?: ResourceSummaryStyles;
44
+ /** Color overrides applied as CSS custom properties. Prefer `styles.colors`. */
45
+ colors?: ResourceSummaryColors;
46
+ }
47
+ /** Bordered summary row pairing an entity's identity block with its current-version tag. */
48
+ export declare const ResourceSummary: FC<ResourceSummaryProps>;
49
+ //# sourceMappingURL=ResourceSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceSummary.d.ts","sourceRoot":"","sources":["../../../src/components/ResourceSummary/ResourceSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAM5D,mEAAmE;AACnE,MAAM,WAAW,qBAAqB;IACpC,yDAAyD;IACzD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6EAA6E;IAC7E,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2DAA2D;IAC3D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,0DAA0D;AAC1D,MAAM,WAAW,yBAAyB;IACxC,mFAAmF;IACnF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,6CAA6C;AAC7C,MAAM,WAAW,qBAAqB;IACpC,wDAAwD;IACxD,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,kCAAkC;IAClC,UAAU,CAAC,EAAE,yBAAyB,CAAC;CACxC;AAED,mCAAmC;AACnC,MAAM,WAAW,oBAAoB;IACnC,6GAA6G;IAC7G,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mKAAmK;IACnK,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kIAAkI;IAClI,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,gFAAgF;IAChF,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC;AAED,4FAA4F;AAC5F,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA2DpD,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { TextRefinementResult } from '../../hooks/useTextRefinement';
3
+ import { TextRefinementLabels } from '../../models/text-refinement';
4
+ /** Props for `TextRefinementField`. */
5
+ export interface TextRefinementFieldProps {
6
+ /** When false, renders `children` alone — no label row, actions, or feedback. */
7
+ isEnabled: boolean;
8
+ /** Id of the labelled control; also the prefix for the label and error ids. */
9
+ fieldId: string;
10
+ /** Visible field label; names the group. */
11
+ label: string;
12
+ /** Class applied to the `<label>`, after the kit `Label` defaults. */
13
+ labelClassName?: string;
14
+ /** Marks the label as required. */
15
+ required?: boolean;
16
+ /** Action, status, and error copy. */
17
+ labels?: TextRefinementLabels;
18
+ /** The field's `useTextRefinement` result. */
19
+ refinement: TextRefinementResult;
20
+ /** Disables both actions. */
21
+ disabled: boolean;
22
+ /** Class applied to the status message and the error message. */
23
+ feedbackClassName?: string;
24
+ /** Class applied to the error message, after `feedbackClassName`. */
25
+ errorClassName?: string;
26
+ /** The refinable control, whose id must equal `fieldId`. */
27
+ children: ReactNode;
28
+ }
29
+ /** Label row with Refine/Undo actions and live feedback around one refinable field. */
30
+ export declare const TextRefinementField: FC<TextRefinementFieldProps>;
31
+ //# sourceMappingURL=TextRefinementField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextRefinementField.d.ts","sourceRoot":"","sources":["../../../src/components/TextRefinementField/TextRefinementField.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAU,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAGzE,uCAAuC;AACvC,MAAM,WAAW,wBAAwB;IACvC,iFAAiF;IACjF,SAAS,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,OAAO,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,8CAA8C;IAC9C,UAAU,EAAE,oBAAoB,CAAC;IACjC,6BAA6B;IAC7B,QAAQ,EAAE,OAAO,CAAC;IAClB,iEAAiE;IACjE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4DAA4D;IAC5D,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,uFAAuF;AACvF,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAsG5D,CAAC"}
@@ -0,0 +1,9 @@
1
+ /** The viewport width (inclusive) where the desktop presentation begins. */
2
+ export declare const DESKTOP_BREAKPOINT_PX = 1280;
3
+ /** The largest viewport width that still renders the mobile/tablet presentation. */
4
+ export declare const MOBILE_MAX_WIDTH_PX: number;
5
+ /** `matchMedia` query matching the desktop band (1280px and wider). */
6
+ export declare const DESKTOP_MEDIA_QUERY = "(min-width: 1280px)";
7
+ /** `matchMedia` query matching the mobile/tablet band (up to 1279px). */
8
+ export declare const MOBILE_MEDIA_QUERY = "(max-width: 1279px)";
9
+ //# sourceMappingURL=breakpoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../src/constants/breakpoint.ts"],"names":[],"mappings":"AAYA,4EAA4E;AAC5E,eAAO,MAAM,qBAAqB,OAAO,CAAC;AAE1C,oFAAoF;AACpF,eAAO,MAAM,mBAAmB,QAA4B,CAAC;AAE7D,uEAAuE;AACvE,eAAO,MAAM,mBAAmB,wBAA4C,CAAC;AAE7E,yEAAyE;AACzE,eAAO,MAAM,kBAAkB,wBAA0C,CAAC"}
@@ -0,0 +1,5 @@
1
+ /** Reserved folder name used to mark a hidden storage folder. */
2
+ export declare const HIDDEN_FILE = ".dial_folder";
3
+ /** DIAL Core bucket that holds published (organization-wide) resources, readable by every user. */
4
+ export declare const PUBLIC_BUCKET = "public";
5
+ //# sourceMappingURL=dial.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dial.d.ts","sourceRoot":"","sources":["../../src/constants/dial.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,eAAO,MAAM,WAAW,iBAAiB,CAAC;AAE1C,mGAAmG;AACnG,eAAO,MAAM,aAAa,WAAW,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { CatalogEntityType } from '../types/entity-type';
2
+ /** Text color per entity type — used for the type label, featured chip, and drop shadow. */
3
+ export declare const ENTITY_TYPE_COLOR: Record<CatalogEntityType, string>;
4
+ /** Background color per entity type — used for the featured chip surface. */
5
+ export declare const ENTITY_TYPE_BG_COLOR: Record<CatalogEntityType, string>;
6
+ //# sourceMappingURL=entity-colors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-colors.d.ts","sourceRoot":"","sources":["../../src/constants/entity-colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,4FAA4F;AAC5F,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAM/D,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAMlE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { DIAL_ICON_SIZE } from '@epam/ai-dial-ui-kit';
2
+ /** Base props for medium-sized Tabler icons (MD size, icon stroke, `aria-hidden`). */
3
+ export declare const BASE_MD_ICON_PROPS: {
4
+ size: DIAL_ICON_SIZE;
5
+ stroke: number;
6
+ 'aria-hidden': boolean;
7
+ };
8
+ /** Base props for large Tabler icons (LG size, icon stroke, `aria-hidden`). */
9
+ export declare const BASE_LG_ICON_PROPS: {
10
+ size: DIAL_ICON_SIZE;
11
+ stroke: number;
12
+ 'aria-hidden': boolean;
13
+ };
14
+ //# sourceMappingURL=icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/constants/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAwB,MAAM,sBAAsB,CAAC;AAE5E,sFAAsF;AACtF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME = "[&_.wmde-markdown>ol]:list-decimal [&_.wmde-markdown_ul]:list-disc [&_.wmde-markdown_ul_ul]:list-[circle] [&_.wmde-markdown_ul_ul_ul]:list-[square]";
2
+ //# sourceMappingURL=markdown-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-editor.d.ts","sourceRoot":"","sources":["../../src/constants/markdown-editor.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,uCAAuC,wJACmG,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Maps common MIME types to canonical file extensions.
3
+ *
4
+ * The standard entries follow MDN's common media types table. Project-specific
5
+ * aliases are retained for MIME values produced by existing integrations.
6
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/MIME_types/Common_types
7
+ */
8
+ export declare const MIME_TYPE_EXT_MAP: Record<string, string>;
9
+ /** MIME type wildcard that matches any content type. */
10
+ export declare const MIME_TYPE_WILDCARD = "*/*";
11
+ /** MIME type prefix shared by all audio content types. */
12
+ export declare const MIME_TYPE_AUDIO_PREFIX = "audio/";
13
+ /**
14
+ * Maps non-canonical MIME type spellings to the canonical type they denote.
15
+ *
16
+ * Deployments declare their `inputAttachmentTypes` by hand, while DIAL Core
17
+ * stores the content type a browser or an upload client reported, so the two
18
+ * sides routinely disagree on which of several equivalent spellings to use for
19
+ * the same format (`text/json` vs `application/json`). Resolving both through
20
+ * this map before comparing them keeps a declared type matching the files it
21
+ * is meant to describe.
22
+ *
23
+ * Only aliases for one and the same format belong here — never a pair of
24
+ * distinct formats that happen to share an extension.
25
+ */
26
+ export declare const MIME_TYPE_ALIASES: Record<string, string>;
27
+ //# sourceMappingURL=mime-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mime-types.d.ts","sourceRoot":"","sources":["../../src/constants/mime-types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA6GpD,CAAC;AAEF,wDAAwD;AACxD,eAAO,MAAM,kBAAkB,QAAQ,CAAC;AACxC,0DAA0D;AAC1D,eAAO,MAAM,sBAAsB,WAAW,CAAC;AAE/C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAqEpD,CAAC"}
@@ -0,0 +1,13 @@
1
+ export declare const CHAT_SHARED_CLASS: {
2
+ /** The bordered container of a fenced code block. */
3
+ readonly codeBlock: "dial-chat-shared-code-block";
4
+ /** The code block's sticky header, holding the language label and actions. */
5
+ readonly codeBlockHeader: "dial-chat-shared-code-block-header";
6
+ /** The bordered container of a Markdown table. */
7
+ readonly table: "dial-chat-shared-table";
8
+ /** The scrolling box around a Markdown table, which owns its overflow. */
9
+ readonly tableScroll: "dial-chat-shared-table-scroll";
10
+ /** The scrolling box around a display-math block. */
11
+ readonly mathBlock: "dial-chat-shared-math-block";
12
+ };
13
+ //# sourceMappingURL=public-class-names.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-class-names.d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,iBAAiB;IAC5B,qDAAqD;;IAErD,8EAA8E;;IAE9E,kDAAkD;;IAElD,0EAA0E;;IAE1E,qDAAqD;;CAE7C,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const RESIZABLE_TEXTAREA_CLASS_NAME = "max-h-[50vh]";
2
+ export declare const RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE = "--resizable-field-max-height";
3
+ export declare const MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME = "[&_.w-md-editor:not(.w-md-editor-fullscreen)]:max-h-[var(--resizable-field-max-height,70vh)]";
4
+ export declare const MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME = "[&_.w-md-editor:not(.w-md-editor-fullscreen)]:!h-[var(--resizable-field-max-height,70vh)]";
5
+ //# sourceMappingURL=resizable-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resizable-fields.d.ts","sourceRoot":"","sources":["../../src/constants/resizable-fields.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,6BAA6B,iBAAiB,CAAC;AAQ5D,eAAO,MAAM,uCAAuC,iCACpB,CAAC;AAkBjC,eAAO,MAAM,qCAAqC,iGAC8C,CAAC;AAWjG,eAAO,MAAM,sCAAsC,8FAC0C,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const SELECT_LIST_MAX_HEIGHT_PX = 344;
2
+ /** Tailwind form of {@link SELECT_LIST_MAX_HEIGHT_PX}, for the options scroll box. */
3
+ export declare const SELECT_LIST_MAX_HEIGHT_CLASS_NAME = "max-h-[344px]";
4
+ //# sourceMappingURL=select-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-list.d.ts","sourceRoot":"","sources":["../../src/constants/select-list.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAE7C,sFAAsF;AACtF,eAAO,MAAM,iCAAiC,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const TAG_INPUT_TAG_CLASS_NAME = "bg-layer-sunken";
2
+ //# sourceMappingURL=tag-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-input.d.ts","sourceRoot":"","sources":["../../src/constants/tag-input.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,wBAAwB,oBAAoB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /** Optional file-manager UI. Import this entry from a lazy feature boundary. */
2
+ export * from '../file-manager/DialFileManagerShell/DialFileManagerShell';
3
+ export * from '../file-manager/FileManagerAttachModal/FileManagerAttachModal';
4
+ export * from '../file-manager/upload-queue';
5
+ //# sourceMappingURL=file-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-manager.d.ts","sourceRoot":"","sources":["../../src/entry-points/file-manager.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Markdown/KaTeX/syntax-highlighting UI. Import this entry when rendering
3
+ * Markdown content — it is the only entry point that resolves the
4
+ * `react-markdown`/`remark-*`/`rehype-*`/`katex`/`react-syntax-highlighter`
5
+ * peer stack.
6
+ */
7
+ export * from '../components/MarkdownRenderer/MarkdownRenderer';
8
+ export * from '../components/MarkdownRenderer/MDMessageViewer';
9
+ export * from '../components/MarkdownRenderer/PlainTextRenderer';
10
+ export * from '../components/MarkdownRenderer/markdown-class-names';
11
+ export * from '../components/MarkdownRenderer/CodeBlock/CodeBlock';
12
+ export { restrainedSyntaxTheme } from '../components/MarkdownRenderer/CodeBlock/syntax-theme';
13
+ export * from '../components/MarkdownRenderer/Table/MarkdownTable';
14
+ export * from '../components/MarkdownWithPlaceholders/MarkdownWithPlaceholders';
15
+ export * from '../utils/inline-segments';
16
+ export * from '../hooks/useCodeCopy';
17
+ export * from '../hooks/useCollapsedText';
18
+ export { CHAT_SHARED_CLASS } from '../constants/public-class-names';
19
+ //# sourceMappingURL=markdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../src/entry-points/markdown.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,oDAAoD,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAC9F,cAAc,oDAAoD,CAAC;AACnE,cAAc,iEAAiE,CAAC;AAChF,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { DialFileManagerTabs, DialFileAcceptType, FileManagerGridRow, FileTreeOptions } from '@epam/ai-dial-react-file-manager';
2
+ import { FC } from 'react';
3
+ import { FileManagerSelectableNode } from '../../types/file-manager-node';
4
+ import { FileManagerController } from '../file-manager-controller';
5
+ import { DialFileManagerActionProfile, DialFileManagerVariant } from '../file-manager-variant';
6
+ import { DialFileManagerShellLabels } from '../labels';
7
+ /** Props for the shared file-manager shell component. */
8
+ export interface DialFileManagerShellProps {
9
+ /** Structural view contract containing all controller state and callbacks. */
10
+ controller: FileManagerController;
11
+ /** Pre-translated labels the shell renders as-is. */
12
+ labels: DialFileManagerShellLabels;
13
+ /** Currently active tab. */
14
+ activeTab: DialFileManagerTabs;
15
+ /** Filter chips scoping the tree and the grid, rendered above the folder tree. */
16
+ tabs: FileTreeOptions['tabs'];
17
+ /** Called when the user switches tabs. */
18
+ onTabChange: (tab: DialFileManagerTabs) => void;
19
+ /** Set of currently selected file/folder virtual paths. */
20
+ selectedPaths: Set<string>;
21
+ /** Called when the selection changes. */
22
+ onSelectedPathsChange: (paths: Set<string>) => void;
23
+ /** Host driving this shell instance — gates the upload-archive toolbar entry (standalone-only). */
24
+ variant: DialFileManagerVariant;
25
+ /** Action-set gate for the upload-archive toolbar entry (Full-only). */
26
+ actionProfile: DialFileManagerActionProfile;
27
+ /** Whether to auto-select items after upload completes. Defaults to `false`. */
28
+ autoSelectUploadedItems?: boolean;
29
+ /** MIME type filters for selectable files. */
30
+ allowedFileTypes?: DialFileAcceptType[];
31
+ /** Maximum file size in bytes for selectable files, and — reused as the ui-kit's own `maxFileSize` — the maximum size accepted for a newly-uploaded file. */
32
+ maxSelectableFileSize?: number;
33
+ /** Pre-translated message shown by the ui-kit when a newly-selected file exceeds `maxSelectableFileSize`. Omit to leave upload-size validation unrestricted regardless of `maxSelectableFileSize`. */
34
+ oversizedUploadMessage?: string;
35
+ /** Custom row-selectability predicate, forwarded to the grid's row selection. */
36
+ isRowSelectable?: (node: {
37
+ data?: FileManagerSelectableNode | null;
38
+ }) => boolean;
39
+ /** Returns a tooltip for disabled rows, or undefined for enabled rows. */
40
+ getDisabledTooltip?: (row: FileManagerGridRow) => string | undefined;
41
+ /** Tooltip shown on files with an unsupported type. */
42
+ unsupportedFileTypeTooltip?: string;
43
+ }
44
+ /**
45
+ * Renders the DialFileManager grid/tree/toolbar and its operation overlays
46
+ * from a `FileManagerController`. Does not own popup chrome, an attach footer,
47
+ * or any attach-only selection constraints — those are host-owned.
48
+ */
49
+ export declare const DialFileManagerShell: FC<DialFileManagerShellProps>;
50
+ declare const _default: import('react').NamedExoticComponent<DialFileManagerShellProps>;
51
+ export default _default;
52
+ //# sourceMappingURL=DialFileManagerShell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialFileManagerShell.d.ts","sourceRoot":"","sources":["../../../src/file-manager/DialFileManagerShell/DialFileManagerShell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,mBAAmB,EAEnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,kCAAkC,CAAC;AAQ1C,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAEV,0BAA0B,EAE3B,MAAM,WAAW,CAAC;AAkDnB,yDAAyD;AACzD,MAAM,WAAW,yBAAyB;IACxC,8EAA8E;IAC9E,UAAU,EAAE,qBAAqB,CAAC;IAClC,qDAAqD;IACrD,MAAM,EAAE,0BAA0B,CAAC;IACnC,4BAA4B;IAC5B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,kFAAkF;IAClF,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,0CAA0C;IAC1C,WAAW,EAAE,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAChD,2DAA2D;IAC3D,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,yCAAyC;IACzC,qBAAqB,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACpD,mGAAmG;IACnG,OAAO,EAAE,sBAAsB,CAAC;IAChC,wEAAwE;IACxE,aAAa,EAAE,4BAA4B,CAAC;IAC5C,gFAAgF;IAChF,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACxC,6JAA6J;IAC7J,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sMAAsM;IACtM,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iFAAiF;IACjF,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE;QACvB,IAAI,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;KACzC,KAAK,OAAO,CAAC;IACd,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,MAAM,GAAG,SAAS,CAAC;IACrE,uDAAuD;IACvD,0BAA0B,CAAC,EAAE,MAAM,CAAC;CACrC;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA+gB9D,CAAC;;AAEF,wBAA0C"}