@epam/ai-dial-chat-shared 1.1.0-dev.236 → 1.1.0-dev.238
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.
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts +1 -1
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts.map +1 -1
- package/components/MarkdownRenderer/MDMessageViewer.d.ts +7 -0
- package/components/MarkdownRenderer/MDMessageViewer.d.ts.map +1 -1
- package/components/MarkdownRenderer/markdown-class-names.d.ts +6 -0
- package/components/MarkdownRenderer/markdown-class-names.d.ts.map +1 -1
- package/index.js +73 -60
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ export interface MarkdownCodeBlockProps {
|
|
|
27
27
|
theme?: CodeBlockTheme;
|
|
28
28
|
/** Accessible label for the copy button. Defaults to `'Copy code'`. */
|
|
29
29
|
copyLabel?: string;
|
|
30
|
-
/**
|
|
30
|
+
/** Message announced through the block's `aria-live="polite"` region after a copy completes. The copy button's own accessible name stays `copyLabel`. Defaults to `'Copied!'`. */
|
|
31
31
|
copiedLabel?: string;
|
|
32
32
|
/** Accessible label for the download button. Defaults to `'Download code'`. */
|
|
33
33
|
downloadLabel?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/CodeBlock/CodeBlock.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAU5D,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,
|
|
1
|
+
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/CodeBlock/CodeBlock.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAU5D,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,kLAAkL;IAClL,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+EAA+E;IAC/E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0FAA0F;IAC1F,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sDAAsD;IACtD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qHAAqH;IACrH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,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;AAOD,4FAA4F;AAC5F,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAmIxD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { Components } from 'react-markdown';
|
|
3
3
|
import { CodeBlockTheme } from '../../types/code-editor';
|
|
4
|
+
import { MarkdownRendererClassNames } from './MarkdownRenderer';
|
|
4
5
|
/** Props for the {@link MDMessageViewer} markdown renderer. */
|
|
5
6
|
interface MDMessageViewerProps {
|
|
6
7
|
/** Raw markdown string to render. */
|
|
@@ -24,6 +25,12 @@ interface MDMessageViewerProps {
|
|
|
24
25
|
codeBlockCopiedLabel?: string;
|
|
25
26
|
/** Syntax highlight color theme for code blocks. Forwarded to {@link MarkdownRenderer}. */
|
|
26
27
|
codeBlockTheme?: CodeBlockTheme;
|
|
28
|
+
/**
|
|
29
|
+
* Per-element typography classes. Defaults to {@link DEFAULT_MARKDOWN_CLASS_NAMES};
|
|
30
|
+
* pass {@link COMPACT_MARKDOWN_CLASS_NAMES} for the smaller body scale. Give a
|
|
31
|
+
* stable reference: this component is memoised.
|
|
32
|
+
*/
|
|
33
|
+
classNames?: MarkdownRendererClassNames;
|
|
27
34
|
}
|
|
28
35
|
/** Renders assistant message content as formatted markdown. */
|
|
29
36
|
export declare const MDMessageViewer: FC<MDMessageViewerProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MDMessageViewer.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/MDMessageViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"MDMessageViewer.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/MDMessageViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,oBAAoB,CAAC;AAE5B,+DAA+D;AAC/D,UAAU,oBAAoB;IAC5B,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,kGAAkG;IAClG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iGAAiG;IACjG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2FAA2F;IAC3F,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC;;;;OAIG;IACH,UAAU,CAAC,EAAE,0BAA0B,CAAC;CACzC;AAED,+DAA+D;AAC/D,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAsBpD,CAAC"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { MarkdownRendererClassNames } from './MarkdownRenderer';
|
|
2
2
|
/** Default typography classNames for rendering markdown with full visual hierarchy. */
|
|
3
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;
|
|
4
10
|
//# sourceMappingURL=markdown-class-names.d.ts.map
|
|
@@ -1 +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,0BAc1C,CAAC"}
|
|
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,0BAc1C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,0BAI1C,CAAC"}
|
package/index.js
CHANGED
|
@@ -50479,59 +50479,68 @@ var DA = 2e3, OA = (e, t = DA) => {
|
|
|
50479
50479
|
"--cm-code-block-scrollbar": _?.scrollbar
|
|
50480
50480
|
}),
|
|
50481
50481
|
className: Gt("my-4 max-w-full overflow-hidden rounded-xl border", kA.container, b && kA.containerLight, d),
|
|
50482
|
-
children: [
|
|
50483
|
-
|
|
50484
|
-
|
|
50485
|
-
|
|
50486
|
-
|
|
50487
|
-
|
|
50488
|
-
|
|
50489
|
-
|
|
50490
|
-
|
|
50491
|
-
|
|
50492
|
-
|
|
50493
|
-
|
|
50494
|
-
|
|
50495
|
-
|
|
50496
|
-
|
|
50497
|
-
|
|
50498
|
-
|
|
50499
|
-
|
|
50500
|
-
|
|
50501
|
-
|
|
50502
|
-
|
|
50503
|
-
|
|
50504
|
-
|
|
50505
|
-
|
|
50506
|
-
|
|
50507
|
-
|
|
50482
|
+
children: [
|
|
50483
|
+
/* @__PURE__ */ S("div", {
|
|
50484
|
+
className: Gt("flex min-h-10 items-center justify-between border-b px-4", g == null ? "py-2" : "py-0", kA.header, f),
|
|
50485
|
+
children: [g ?? /* @__PURE__ */ x("span", {
|
|
50486
|
+
className: Gt(kA.languageLabel, m),
|
|
50487
|
+
children: h ?? t
|
|
50488
|
+
}), !r && /* @__PURE__ */ S("div", {
|
|
50489
|
+
className: "flex items-center gap-1",
|
|
50490
|
+
children: [!u && /* @__PURE__ */ x(o, {
|
|
50491
|
+
icon: /* @__PURE__ */ x(Bm, { size: e.SM }),
|
|
50492
|
+
"aria-label": l,
|
|
50493
|
+
size: a.Small,
|
|
50494
|
+
onClick: () => {
|
|
50495
|
+
mm(n, `code.${cm(t)}`);
|
|
50496
|
+
}
|
|
50497
|
+
}), /* @__PURE__ */ x(o, {
|
|
50498
|
+
icon: v ? /* @__PURE__ */ x(Rm, {
|
|
50499
|
+
size: e.SM,
|
|
50500
|
+
className: kA.copiedIcon,
|
|
50501
|
+
"aria-hidden": !0
|
|
50502
|
+
}) : /* @__PURE__ */ x(zm, {
|
|
50503
|
+
size: e.SM,
|
|
50504
|
+
"aria-hidden": !0
|
|
50505
|
+
}),
|
|
50506
|
+
"aria-label": s,
|
|
50507
|
+
size: a.Small,
|
|
50508
|
+
onClick: y
|
|
50509
|
+
})]
|
|
50508
50510
|
})]
|
|
50509
|
-
})
|
|
50510
|
-
|
|
50511
|
-
|
|
50512
|
-
|
|
50513
|
-
|
|
50514
|
-
|
|
50515
|
-
|
|
50516
|
-
|
|
50517
|
-
|
|
50518
|
-
|
|
50519
|
-
|
|
50520
|
-
|
|
50521
|
-
|
|
50522
|
-
|
|
50523
|
-
|
|
50524
|
-
|
|
50525
|
-
|
|
50526
|
-
children: n
|
|
50527
|
-
}) : /* @__PURE__ */ x("pre", {
|
|
50528
|
-
className: "p-4",
|
|
50529
|
-
children: /* @__PURE__ */ x("code", {
|
|
50530
|
-
className: Gt("whitespace-pre", p),
|
|
50511
|
+
}),
|
|
50512
|
+
/* @__PURE__ */ x("div", {
|
|
50513
|
+
className: Gt(kA.scrollContainer, "max-h-[60vh] overflow-auto"),
|
|
50514
|
+
dir: "ltr",
|
|
50515
|
+
children: t ? /* @__PURE__ */ x(EA, {
|
|
50516
|
+
language: t,
|
|
50517
|
+
style: FA[i] ?? PA,
|
|
50518
|
+
customStyle: {
|
|
50519
|
+
margin: 0,
|
|
50520
|
+
borderRadius: 0,
|
|
50521
|
+
background: "transparent",
|
|
50522
|
+
fontSize: 14,
|
|
50523
|
+
lineHeight: 1.5,
|
|
50524
|
+
padding: "14px 16px",
|
|
50525
|
+
letterSpacing: 0
|
|
50526
|
+
},
|
|
50527
|
+
codeTagProps: { className: p },
|
|
50531
50528
|
children: n
|
|
50529
|
+
}) : /* @__PURE__ */ x("pre", {
|
|
50530
|
+
className: "p-4",
|
|
50531
|
+
children: /* @__PURE__ */ x("code", {
|
|
50532
|
+
className: Gt("whitespace-pre", p),
|
|
50533
|
+
children: n
|
|
50534
|
+
})
|
|
50532
50535
|
})
|
|
50536
|
+
}),
|
|
50537
|
+
/* @__PURE__ */ x("span", {
|
|
50538
|
+
role: "status",
|
|
50539
|
+
"aria-live": "polite",
|
|
50540
|
+
className: "sr-only",
|
|
50541
|
+
children: v ? c : ""
|
|
50533
50542
|
})
|
|
50534
|
-
|
|
50543
|
+
]
|
|
50535
50544
|
});
|
|
50536
50545
|
}), LA = {
|
|
50537
50546
|
thinking: "_thinking_vpwxq_9",
|
|
@@ -50773,7 +50782,11 @@ var DA = 2e3, OA = (e, t = DA) => {
|
|
|
50773
50782
|
blockquote: "my-4",
|
|
50774
50783
|
link: "break-words [overflow-wrap:anywhere]",
|
|
50775
50784
|
tableWrapper: "my-4"
|
|
50776
|
-
}, QA =
|
|
50785
|
+
}, QA = {
|
|
50786
|
+
...ZA,
|
|
50787
|
+
p: "dial-small-paragraph-text mb-3 break-words [overflow-wrap:anywhere] [text-wrap:pretty] last:mb-0",
|
|
50788
|
+
strong: "dial-small-paragraph-semi-text"
|
|
50789
|
+
}, $A = f(({ content: e, isStreaming: t, thinkingLabel: n, components: r, codeBlockCopyLabel: i, codeBlockCopiedLabel: a, codeBlockTheme: o, classNames: s = ZA }) => /* @__PURE__ */ x(XA, {
|
|
50777
50790
|
content: e,
|
|
50778
50791
|
isStreaming: t,
|
|
50779
50792
|
thinkingLabel: n,
|
|
@@ -50781,10 +50794,10 @@ var DA = 2e3, OA = (e, t = DA) => {
|
|
|
50781
50794
|
codeBlockCopyLabel: i,
|
|
50782
50795
|
codeBlockCopiedLabel: a,
|
|
50783
50796
|
codeBlockTheme: o,
|
|
50784
|
-
classNames:
|
|
50785
|
-
})),
|
|
50797
|
+
classNames: s
|
|
50798
|
+
})), ej = [Sm], tj = ({ content: e, headingClassName: t }) => /* @__PURE__ */ x(XA, {
|
|
50786
50799
|
content: e,
|
|
50787
|
-
rehypePlugins:
|
|
50800
|
+
rehypePlugins: ej,
|
|
50788
50801
|
classNames: {
|
|
50789
50802
|
h1: t,
|
|
50790
50803
|
h2: t,
|
|
@@ -50793,22 +50806,22 @@ var DA = 2e3, OA = (e, t = DA) => {
|
|
|
50793
50806
|
h5: t,
|
|
50794
50807
|
h6: t
|
|
50795
50808
|
}
|
|
50796
|
-
}),
|
|
50797
|
-
let [e, t] = y(
|
|
50809
|
+
}), nj = "(max-width: 768px)", rj = () => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(nj).matches, ij = () => {
|
|
50810
|
+
let [e, t] = y(rj);
|
|
50798
50811
|
return m(() => {
|
|
50799
50812
|
if (typeof window > "u" || typeof window.matchMedia != "function") return;
|
|
50800
|
-
let e = window.matchMedia(
|
|
50813
|
+
let e = window.matchMedia(nj), n = () => t(e.matches);
|
|
50801
50814
|
return e.addEventListener("change", n), () => e.removeEventListener("change", n);
|
|
50802
50815
|
}, []), e;
|
|
50803
|
-
},
|
|
50804
|
-
let n = Math.max(1, t), [r, i] = y(null), [a, o] = y(!0), [s, c] = y(!1), [l, u] = y(
|
|
50816
|
+
}, aj = 24, oj = 1, sj = ({ text: e, collapsedLineCount: t }) => {
|
|
50817
|
+
let n = Math.max(1, t), [r, i] = y(null), [a, o] = y(!0), [s, c] = y(!1), [l, u] = y(aj * n), [d, f] = y(0), h = p((e) => {
|
|
50805
50818
|
i(e);
|
|
50806
50819
|
}, []), g = p(() => {
|
|
50807
50820
|
if (!r) return;
|
|
50808
50821
|
let e = window.getComputedStyle(r), t = Number.parseFloat(e.fontSize), i = Number.isNaN(t) ? 16 : t, a = Number.parseFloat(e.lineHeight), o = i * 1.5;
|
|
50809
50822
|
e.lineHeight !== "normal" && !Number.isNaN(a) && (o = e.lineHeight.endsWith("px") ? a : a * i);
|
|
50810
50823
|
let s = o * n;
|
|
50811
|
-
u(s), f(r.scrollHeight), c(r.scrollHeight - s >
|
|
50824
|
+
u(s), f(r.scrollHeight), c(r.scrollHeight - s > oj);
|
|
50812
50825
|
}, [r, n]);
|
|
50813
50826
|
m(() => {
|
|
50814
50827
|
o(!0);
|
|
@@ -50835,4 +50848,4 @@ var DA = 2e3, OA = (e, t = DA) => {
|
|
|
50835
50848
|
};
|
|
50836
50849
|
};
|
|
50837
50850
|
//#endregion
|
|
50838
|
-
export { ue as AttachmentErrorReason, de as AttachmentType, Em as BASE_LG_ICON_PROPS, Tm as BASE_MD_ICON_PROPS, fe as CatalogEntityType, me as CodeBlockTheme, Hm as CopyButton, Vm as CopyIconButton, ZA as DEFAULT_MARKDOWN_CLASS_NAMES, Fm as DeploymentIcon, gm as ENTITY_TYPE_BG_COLOR, hm as ENTITY_TYPE_COLOR, Ym as EntityHeader, qm as EntityTypeLabel, Jm as FeaturedChip, pe as FileExtension, Dm as HIDDEN_FILE, Nm as InitialsAvatar, Km as ItemHeader,
|
|
50851
|
+
export { ue as AttachmentErrorReason, de as AttachmentType, Em as BASE_LG_ICON_PROPS, Tm as BASE_MD_ICON_PROPS, QA as COMPACT_MARKDOWN_CLASS_NAMES, fe as CatalogEntityType, me as CodeBlockTheme, Hm as CopyButton, Vm as CopyIconButton, ZA as DEFAULT_MARKDOWN_CLASS_NAMES, Fm as DeploymentIcon, gm as ENTITY_TYPE_BG_COLOR, hm as ENTITY_TYPE_COLOR, Ym as EntityHeader, qm as EntityTypeLabel, Jm as FeaturedChip, pe as FileExtension, Dm as HIDDEN_FILE, Nm as InitialsAvatar, Km as ItemHeader, $A as MDMessageViewer, k as MIMEType, nn as MIME_TYPE_AUDIO_PREFIX, en as MIME_TYPE_EXT_MAP, tn as MIME_TYPE_WILDCARD, IA as MarkdownCodeBlock, XA as MarkdownRenderer, VA as MarkdownTable, tj as MarkdownWithPlaceholders, oe as MessageRating, ae as MessageRole, _m as PROMPT_PARAM_PATTERN, vm as PROMPT_VARIABLE_CLASS_NAME, Wm as PanelEmptyState, ce as RequestStatus, Zm as ResourceSummary, le as ResponseFormat, se as StageStatus, O as StatusEvent, pm as base64ToBlob, Kt as buildCssVars, Kp as copyMarkdownAsRichText, qp as copyToClipboard, qA as defaultMarkdownComponents, mm as downloadTextFile, jm as extractInitials, Cm as extractPromptParams, $p as formatFileSize, Yp as formatLastUsed, am as formatPrice, om as formatUnitPrice, Xt as getAttachmentTypeFromMime, cm as getFileExtensionForLanguage, _e as getUtf8ByteLength, Yt as inferMimeTypeFromPath, rn as isAudioTranscriptionSupported, qt as isStatusMessage, Gt as mergeClasses, Qt as messageAttachmentToDisplayAttachment, $t as messageAttachmentsToDisplayAttachments, km as pickAvatarColor, Sm as rehypePromptVariables, wm as resolvePromptParams, PA as restrainedSyntaxTheme, um as triggerAnchorDownload, dm as triggerBlobDownload, ve as truncateToUtf8Bytes, fm as tryBase64ToBytes, OA as useCodeCopy, sj as useCollapsedText, ij as useIsMobile };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-chat-shared",
|
|
3
3
|
"description": "Shared domain models, utilities, and UI components for AI DIAL Chat libraries",
|
|
4
|
-
"version": "1.1.0-dev.
|
|
4
|
+
"version": "1.1.0-dev.238",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|