@epam/ai-dial-chat-shared 1.3.0-dev.246 → 1.3.0-dev.248
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/ConfirmationView/ConfirmationFooter.d.ts.map +1 -1
- package/components/ConfirmationView/ConfirmationFooter.js +24 -25
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts +2 -2
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts.map +1 -1
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.js +55 -58
- package/components/MarkdownRenderer/Table/MarkdownTable.d.ts.map +1 -1
- package/components/MarkdownRenderer/Table/MarkdownTable.js +56 -57
- package/components/TextRefinementField/TextRefinementField.d.ts.map +1 -1
- package/components/TextRefinementField/TextRefinementField.js +65 -65
- package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts.map +1 -1
- package/file-manager/DialFileManagerShell/DialFileManagerShell.js +302 -295
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmationFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmationView/ConfirmationFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,
|
|
1
|
+
{"version":3,"file":"ConfirmationFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmationView/ConfirmationFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EASzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,gDAAgD;AAChD,MAAM,WAAW,wBAAwB;IACvC,2EAA2E;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,gDAAgD;AAChD,MAAM,WAAW,wBAAwB;IACvC,wDAAwD;IACxD,MAAM,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED,sCAAsC;AACtC,MAAM,WAAW,uBAAuB;IACtC,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,4HAA4H;IAC5H,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC,mEAAmE;IACnE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,6EAA6E;IAC7E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,uBAAuB;IACvB,MAAM,CAAC,EAAE,wBAAwB,CAAC;IAClC,qCAAqC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oCAAoC;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,kHAAkH;AAClH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAiE1D,CAAC"}
|
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
import { mergeClasses as e } from "../../utils/merge-class.js";
|
|
2
2
|
import { buildCssVars as t } from "../../utils/build-css-vars.js";
|
|
3
3
|
import n from "./ConfirmationView.module.scss.js";
|
|
4
|
-
import { ConfirmationPopupVariant as r, DIAL_ICON_SIZE as i, DIAL_KIT_ICON_STROKE as a, DangerButton as o, GhostButton as s,
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { IconTrashX as
|
|
4
|
+
import { ConfirmationPopupVariant as r, DIAL_ICON_SIZE as i, DIAL_KIT_ICON_STROKE as a, DangerButton as o, GhostButton as s, LiveRegion as c, LiveRegionElement as l, NeutralButton as u, Spinner as d } from "@epam/ai-dial-ui-kit";
|
|
5
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
6
|
+
import { IconTrashX as m } from "@tabler/icons-react";
|
|
7
7
|
//#region src/components/ConfirmationView/ConfirmationFooter.tsx
|
|
8
|
-
var
|
|
9
|
-
let
|
|
10
|
-
if (
|
|
11
|
-
if (
|
|
8
|
+
var h = ({ confirmLabel: h, cancelLabel: g, variant: _ = r.Info, isLoading: v = !1, isConfirmDisabled: y = !1, loadingStatusLabel: b, styles: x, onConfirm: S, onCancel: C }) => {
|
|
9
|
+
let w = _ === r.Danger, T = t({ "--cfm-footer-border": x?.colors?.border }), E = (() => {
|
|
10
|
+
if (v) return /* @__PURE__ */ f(d, { size: i.SM });
|
|
11
|
+
if (w) return /* @__PURE__ */ f(m, {
|
|
12
12
|
size: i.MD,
|
|
13
13
|
"aria-hidden": !0,
|
|
14
14
|
stroke: a
|
|
15
15
|
});
|
|
16
|
-
})(),
|
|
17
|
-
return /* @__PURE__ */
|
|
18
|
-
style:
|
|
16
|
+
})(), D = w ? o : u;
|
|
17
|
+
return /* @__PURE__ */ p("div", {
|
|
18
|
+
style: T,
|
|
19
19
|
className: e("flex items-center justify-end gap-2 px-4 py-4 rtl:flex-row-reverse rtl:justify-start desktop:px-6", n.footer),
|
|
20
20
|
children: [
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
label:
|
|
21
|
+
/* @__PURE__ */ f(s, {
|
|
22
|
+
label: g,
|
|
23
23
|
className: "mobile:flex-1",
|
|
24
|
-
disabled:
|
|
25
|
-
onClick:
|
|
24
|
+
disabled: v,
|
|
25
|
+
onClick: C
|
|
26
26
|
}),
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
label:
|
|
27
|
+
/* @__PURE__ */ f(D, {
|
|
28
|
+
label: h,
|
|
29
29
|
className: "mobile:flex-1",
|
|
30
|
-
disabled:
|
|
31
|
-
iconBefore:
|
|
32
|
-
onClick:
|
|
30
|
+
disabled: v || y,
|
|
31
|
+
iconBefore: E,
|
|
32
|
+
onClick: S
|
|
33
33
|
}),
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
children: v
|
|
34
|
+
b != null && /* @__PURE__ */ f(c, {
|
|
35
|
+
visuallyHidden: !0,
|
|
36
|
+
as: l.Span,
|
|
37
|
+
children: v ? b : ""
|
|
39
38
|
})
|
|
40
39
|
]
|
|
41
40
|
});
|
|
42
41
|
};
|
|
43
42
|
//#endregion
|
|
44
|
-
export {
|
|
43
|
+
export { h as ConfirmationFooter };
|
|
@@ -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
|
-
/** Message announced through the block's
|
|
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
31
|
copiedLabel?: string;
|
|
32
32
|
/** Accessible label for the download button. Defaults to `'Download code'`. */
|
|
33
33
|
downloadLabel?: string;
|
|
@@ -37,7 +37,7 @@ export interface MarkdownCodeBlockProps {
|
|
|
37
37
|
containerClassName?: string;
|
|
38
38
|
/** Extra classes applied to the sticky header bar. */
|
|
39
39
|
headerClassName?: string;
|
|
40
|
-
/** Typography class for the `<code>` element
|
|
40
|
+
/** Typography class for the code text — the `<code>` element, plus the highlighted `<pre>` when a language is detected. Defaults to `'dial-code-text'`. */
|
|
41
41
|
codeClassName?: string;
|
|
42
42
|
/** Whether the code keeps its own top padding below the header; `false` starts it right under the header. Defaults to `true`. */
|
|
43
43
|
hasContentTopPadding?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/CodeBlock/CodeBlock.tsx"],"names":[],"mappings":"
|
|
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;IACl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AyJxD,CAAC"}
|
|
@@ -7,100 +7,97 @@ import { CHAT_SHARED_CLASS as o } from "../../../constants/public-class-names.js
|
|
|
7
7
|
import { useCodeCopy as s } from "../../../hooks/useCodeCopy.js";
|
|
8
8
|
import c from "./CodeBlock.module.scss.js";
|
|
9
9
|
import { restrainedSyntaxTheme as l } from "./syntax-theme.js";
|
|
10
|
-
import { DIAL_ICON_SIZE as u, DIAL_KIT_ICON_STROKE as d, ElementSize as f, GhostIconButton as p } from "@epam/ai-dial-ui-kit";
|
|
11
|
-
import { Suspense as
|
|
12
|
-
import { jsx as
|
|
13
|
-
import { IconCheck as
|
|
10
|
+
import { DIAL_ICON_SIZE as u, DIAL_KIT_ICON_STROKE as d, ElementSize as f, GhostIconButton as p, LiveRegion as m, LiveRegionElement as h } from "@epam/ai-dial-ui-kit";
|
|
11
|
+
import { Suspense as g, lazy as _, memo as v, useMemo as y } from "react";
|
|
12
|
+
import { jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
13
|
+
import { IconCheck as S, IconCopy as C, IconDownload as w } from "@tabler/icons-react";
|
|
14
14
|
//#region src/components/MarkdownRenderer/CodeBlock/CodeBlock.tsx
|
|
15
|
-
var
|
|
15
|
+
var T = {
|
|
16
16
|
dark: l,
|
|
17
17
|
light: l
|
|
18
|
-
},
|
|
18
|
+
}, E = _(async () => {
|
|
19
19
|
let { Prism: e } = await import("react-syntax-highlighter");
|
|
20
20
|
return { default: e };
|
|
21
|
-
}),
|
|
22
|
-
let { isCopied:
|
|
23
|
-
r(
|
|
24
|
-
},
|
|
25
|
-
className:
|
|
26
|
-
children: /* @__PURE__ */
|
|
27
|
-
className: t("whitespace-pre",
|
|
28
|
-
children:
|
|
21
|
+
}), D = v(({ language: _, value: v, isStreaming: D, theme: O = e.Dark, copyLabel: k = "Copy code", copiedLabel: A = "Copied!", downloadLabel: j = "Download code", hideDownload: M = !1, hasContentTopPadding: N = !0, containerClassName: P, headerClassName: F, codeClassName: I = "dial-code-text", languageLabelClassName: L = "dial-tiny-lead-semi-text", title: R, titleSlot: z, colors: B }) => {
|
|
22
|
+
let { isCopied: V, copy: H } = s(v), U = y(() => a(v), [v]), W = O === e.Light, G = () => {
|
|
23
|
+
r(v, `code.${i(_)}`);
|
|
24
|
+
}, K = /* @__PURE__ */ b("pre", {
|
|
25
|
+
className: N ? "p-4" : "px-4 pt-0 pb-4",
|
|
26
|
+
children: /* @__PURE__ */ b("code", {
|
|
27
|
+
className: t("whitespace-pre", I),
|
|
28
|
+
children: v
|
|
29
29
|
})
|
|
30
|
-
}),
|
|
31
|
-
"--cm-code-block-bg":
|
|
32
|
-
"--cm-code-block-border":
|
|
33
|
-
"--cm-code-block-header-bg":
|
|
34
|
-
"--cm-code-block-language":
|
|
35
|
-
"--cm-code-block-copied":
|
|
36
|
-
"--cm-code-block-scrollbar":
|
|
30
|
+
}), q = n({
|
|
31
|
+
"--cm-code-block-bg": B?.background,
|
|
32
|
+
"--cm-code-block-border": B?.border,
|
|
33
|
+
"--cm-code-block-header-bg": B?.headerBackground,
|
|
34
|
+
"--cm-code-block-language": B?.language,
|
|
35
|
+
"--cm-code-block-copied": B?.copied,
|
|
36
|
+
"--cm-code-block-scrollbar": B?.scrollbar
|
|
37
37
|
});
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
style:
|
|
40
|
-
className: t("my-4 max-w-full [overflow:clip] rounded-xl border", c.container,
|
|
38
|
+
return /* @__PURE__ */ x("div", {
|
|
39
|
+
style: q,
|
|
40
|
+
className: t("my-4 max-w-full [overflow:clip] rounded-xl border", c.container, W && c.containerLight, P, o.codeBlock),
|
|
41
41
|
children: [
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
className: t("sticky top-0 z-10 flex min-h-10 items-center justify-between px-4",
|
|
44
|
-
children: [
|
|
45
|
-
className: t(c.languageLabel,
|
|
46
|
-
children:
|
|
47
|
-
}), !
|
|
42
|
+
/* @__PURE__ */ x("div", {
|
|
43
|
+
className: t("sticky top-0 z-10 flex min-h-10 items-center justify-between px-4", z == null ? "py-2" : "py-0", c.header, F, o.codeBlockHeader),
|
|
44
|
+
children: [z ?? /* @__PURE__ */ b("span", {
|
|
45
|
+
className: t(c.languageLabel, L),
|
|
46
|
+
children: R ?? _
|
|
47
|
+
}), !D && /* @__PURE__ */ x("div", {
|
|
48
48
|
className: "flex items-center gap-1",
|
|
49
|
-
children: [!
|
|
50
|
-
icon: /* @__PURE__ */
|
|
49
|
+
children: [!M && /* @__PURE__ */ b(p, {
|
|
50
|
+
icon: /* @__PURE__ */ b(w, {
|
|
51
51
|
size: u.SM,
|
|
52
52
|
stroke: d
|
|
53
53
|
}),
|
|
54
|
-
"aria-label":
|
|
54
|
+
"aria-label": j,
|
|
55
55
|
size: f.Small,
|
|
56
|
-
onClick:
|
|
57
|
-
}), /* @__PURE__ */
|
|
58
|
-
icon:
|
|
56
|
+
onClick: G
|
|
57
|
+
}), /* @__PURE__ */ b(p, {
|
|
58
|
+
icon: V ? /* @__PURE__ */ b(S, {
|
|
59
59
|
size: u.SM,
|
|
60
60
|
className: c.copiedIcon,
|
|
61
61
|
"aria-hidden": !0,
|
|
62
62
|
stroke: d
|
|
63
|
-
}) : /* @__PURE__ */
|
|
63
|
+
}) : /* @__PURE__ */ b(C, {
|
|
64
64
|
size: u.SM,
|
|
65
65
|
"aria-hidden": !0,
|
|
66
66
|
stroke: d
|
|
67
67
|
}),
|
|
68
|
-
"aria-label":
|
|
68
|
+
"aria-label": k,
|
|
69
69
|
size: f.Small,
|
|
70
|
-
onClick:
|
|
70
|
+
onClick: H
|
|
71
71
|
})]
|
|
72
72
|
})]
|
|
73
73
|
}),
|
|
74
|
-
/* @__PURE__ */
|
|
74
|
+
/* @__PURE__ */ b("div", {
|
|
75
75
|
className: t(c.scrollContainer, "max-h-[60vh] overflow-auto"),
|
|
76
76
|
dir: "ltr",
|
|
77
|
-
children:
|
|
78
|
-
fallback:
|
|
79
|
-
children: /* @__PURE__ */
|
|
80
|
-
language:
|
|
81
|
-
style:
|
|
77
|
+
children: _ && U ? /* @__PURE__ */ b(g, {
|
|
78
|
+
fallback: K,
|
|
79
|
+
children: /* @__PURE__ */ b(E, {
|
|
80
|
+
language: _,
|
|
81
|
+
style: T[O] ?? l,
|
|
82
82
|
customStyle: {
|
|
83
83
|
margin: 0,
|
|
84
84
|
borderRadius: 0,
|
|
85
85
|
background: "transparent",
|
|
86
|
-
|
|
87
|
-
lineHeight: 1.5,
|
|
88
|
-
padding: j ? "14px 16px" : "0 16px 14px",
|
|
89
|
-
letterSpacing: 0
|
|
86
|
+
padding: N ? "14px 16px" : "0 16px 14px"
|
|
90
87
|
},
|
|
91
|
-
|
|
92
|
-
|
|
88
|
+
className: I,
|
|
89
|
+
codeTagProps: { className: I },
|
|
90
|
+
children: v
|
|
93
91
|
})
|
|
94
|
-
}) :
|
|
92
|
+
}) : K
|
|
95
93
|
}),
|
|
96
|
-
/* @__PURE__ */
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
children: z ? O : ""
|
|
94
|
+
/* @__PURE__ */ b(m, {
|
|
95
|
+
visuallyHidden: !0,
|
|
96
|
+
as: h.Span,
|
|
97
|
+
children: V ? A : ""
|
|
101
98
|
})
|
|
102
99
|
]
|
|
103
100
|
});
|
|
104
101
|
});
|
|
105
102
|
//#endregion
|
|
106
|
-
export {
|
|
103
|
+
export { D as MarkdownCodeBlock };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownTable.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/Table/MarkdownTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MarkdownTable.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/Table/MarkdownTable.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,EAAE,EACP,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAQf,OAAO,EAKL,KAAK,yBAAyB,EAC/B,MAAM,uBAAuB,CAAC;AAG/B,OA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-7,57 +7,57 @@ import { useHorizontalOverflow as a } from "../../../hooks/useHorizontalOverflow
|
|
|
7
7
|
import o from "./MarkdownTable.module.scss.js";
|
|
8
8
|
import { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME as s, MARKDOWN_TABLE_CSV_MIME_TYPE as c, MarkdownTableCopyFormat as l, serializeMarkdownTableRows as u } from "./table-serialization.js";
|
|
9
9
|
import { useMarkdownTableActions as d } from "./useMarkdownTableActions/useMarkdownTableActions.js";
|
|
10
|
-
import { ElementSize as f, GhostIconButton as p } from "@epam/ai-dial-ui-kit";
|
|
11
|
-
import { memo as
|
|
12
|
-
import { jsx as
|
|
10
|
+
import { ElementSize as f, GhostIconButton as p, LiveRegion as m, LiveRegionElement as h } from "@epam/ai-dial-ui-kit";
|
|
11
|
+
import { memo as g, useCallback as _, useEffect as v, useRef as y, useState as b } from "react";
|
|
12
|
+
import { jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/MarkdownRenderer/Table/MarkdownTable.tsx
|
|
14
|
-
var
|
|
15
|
-
let [
|
|
16
|
-
"--cm-markdown-border":
|
|
17
|
-
"--cm-table-scrollbar":
|
|
18
|
-
"--cm-table-fade":
|
|
19
|
-
"--cm-table-row-divider":
|
|
20
|
-
"--cm-table-row-hover-bg":
|
|
21
|
-
}),
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
var C = 2e3, w = g(({ children: s, classNames: g, colors: w, actionLabels: T, downloadFilename: E, isStreaming: D, onOpenInCanvas: O, scrollRegionAriaLabel: k = "Scrollable table" }) => {
|
|
15
|
+
let [A, j] = b(!1), M = y(null), { scrollContainerRef: N, contentRef: P, hasContentBeyondStart: F, hasContentBeyondEnd: I, handleScroll: L } = a(), R = t({
|
|
16
|
+
"--cm-markdown-border": w?.border,
|
|
17
|
+
"--cm-table-scrollbar": w?.scrollbar,
|
|
18
|
+
"--cm-table-fade": w?.fade,
|
|
19
|
+
"--cm-table-row-divider": w?.rowDivider,
|
|
20
|
+
"--cm-table-row-hover-bg": w?.rowHoverBackground
|
|
21
|
+
}), z = F || I;
|
|
22
|
+
v(() => () => {
|
|
23
|
+
M.current != null && clearTimeout(M.current);
|
|
24
24
|
}, []);
|
|
25
|
-
let
|
|
26
|
-
let e =
|
|
25
|
+
let B = _(() => {
|
|
26
|
+
let e = P.current;
|
|
27
27
|
if (e == null) return;
|
|
28
28
|
let t = u(Array.from(e.rows), l.Markdown);
|
|
29
29
|
n(t).then((e) => {
|
|
30
|
-
e && (
|
|
31
|
-
|
|
32
|
-
},
|
|
30
|
+
e && (M.current != null && clearTimeout(M.current), j(!0), M.current = setTimeout(() => {
|
|
31
|
+
j(!1);
|
|
32
|
+
}, C));
|
|
33
33
|
});
|
|
34
|
-
}, [
|
|
35
|
-
let e =
|
|
34
|
+
}, [P]), V = _(() => {
|
|
35
|
+
let e = P.current;
|
|
36
36
|
if (e == null) return;
|
|
37
37
|
let t = u(Array.from(e.rows), l.Csv);
|
|
38
|
-
r(`\uFEFF${t}`,
|
|
39
|
-
}, [
|
|
40
|
-
let e =
|
|
41
|
-
e != null &&
|
|
42
|
-
}, [
|
|
43
|
-
actionLabels:
|
|
44
|
-
isCopied:
|
|
45
|
-
onCopy:
|
|
46
|
-
onDownloadCsv:
|
|
47
|
-
onOpenInCanvas:
|
|
48
|
-
}),
|
|
49
|
-
return /* @__PURE__ */
|
|
50
|
-
style:
|
|
51
|
-
className: e("group/table relative w-full max-w-full min-w-0 [overflow:clip] rounded-xl border", o.tableContainer,
|
|
38
|
+
r(`\uFEFF${t}`, E ?? "table.csv", c);
|
|
39
|
+
}, [P, E]), H = _(() => {
|
|
40
|
+
let e = P.current;
|
|
41
|
+
e != null && O != null && O(u(Array.from(e.rows), l.Markdown));
|
|
42
|
+
}, [P, O]), U = d({
|
|
43
|
+
actionLabels: T,
|
|
44
|
+
isCopied: A,
|
|
45
|
+
onCopy: B,
|
|
46
|
+
onDownloadCsv: V,
|
|
47
|
+
onOpenInCanvas: O == null ? void 0 : H
|
|
48
|
+
}), W = U.length > 0 && !D;
|
|
49
|
+
return /* @__PURE__ */ S("div", {
|
|
50
|
+
style: R,
|
|
51
|
+
className: e("group/table relative w-full max-w-full min-w-0 [overflow:clip] rounded-xl border", o.tableContainer, g.tableWrapper, i.table),
|
|
52
52
|
children: [
|
|
53
|
-
|
|
53
|
+
W && /* @__PURE__ */ x("div", {
|
|
54
54
|
className: "sticky top-0 z-10 h-0",
|
|
55
|
-
children: /* @__PURE__ */
|
|
55
|
+
children: /* @__PURE__ */ x("div", {
|
|
56
56
|
className: "absolute inset-e-2 top-2 flex items-center gap-1 rounded-lg border border-tertiary bg-layer-raised px-2 py-1 opacity-0 shadow-xs transition-opacity group-hover/table:opacity-100 focus-within:opacity-100",
|
|
57
|
-
children:
|
|
57
|
+
children: U.map((e) => /* @__PURE__ */ x(p, {
|
|
58
58
|
tooltipProps: { tooltip: e.label },
|
|
59
59
|
"aria-label": e.label,
|
|
60
|
-
icon: /* @__PURE__ */
|
|
60
|
+
icon: /* @__PURE__ */ x("span", {
|
|
61
61
|
"aria-hidden": !0,
|
|
62
62
|
children: e.icon
|
|
63
63
|
}),
|
|
@@ -66,31 +66,30 @@ var x = 2e3, S = m(({ children: s, classNames: m, colors: S, actionLabels: C, do
|
|
|
66
66
|
}, e.label))
|
|
67
67
|
})
|
|
68
68
|
}),
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
ref:
|
|
71
|
-
className: e("w-full max-w-full min-w-0 overflow-x-auto", o.scrollContainer,
|
|
72
|
-
[o.tableScrollFadeBoth]:
|
|
73
|
-
[o.tableScrollFadeStart]:
|
|
74
|
-
[o.tableScrollFadeEnd]: !
|
|
69
|
+
/* @__PURE__ */ x("div", {
|
|
70
|
+
ref: N,
|
|
71
|
+
className: e("w-full max-w-full min-w-0 overflow-x-auto", o.scrollContainer, g.tableScrollContainer, {
|
|
72
|
+
[o.tableScrollFadeBoth]: F && I,
|
|
73
|
+
[o.tableScrollFadeStart]: F && !I,
|
|
74
|
+
[o.tableScrollFadeEnd]: !F && I
|
|
75
75
|
}, i.tableScroll),
|
|
76
|
-
onScroll:
|
|
77
|
-
role:
|
|
78
|
-
"aria-label":
|
|
79
|
-
tabIndex:
|
|
80
|
-
children: /* @__PURE__ */
|
|
81
|
-
ref:
|
|
82
|
-
className: e("w-max min-w-full border-collapse",
|
|
76
|
+
onScroll: L,
|
|
77
|
+
role: z ? "region" : void 0,
|
|
78
|
+
"aria-label": z ? k : void 0,
|
|
79
|
+
tabIndex: z ? 0 : void 0,
|
|
80
|
+
children: /* @__PURE__ */ x("table", {
|
|
81
|
+
ref: P,
|
|
82
|
+
className: e("w-max min-w-full border-collapse", g.tableFont ?? "dial-small-text"),
|
|
83
83
|
children: s
|
|
84
84
|
})
|
|
85
85
|
}),
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
children: O ? C.copiedLabel ?? "" : ""
|
|
86
|
+
T?.copyLabel && /* @__PURE__ */ x(m, {
|
|
87
|
+
visuallyHidden: !0,
|
|
88
|
+
as: h.Span,
|
|
89
|
+
children: A ? T.copiedLabel ?? "" : ""
|
|
91
90
|
})
|
|
92
91
|
]
|
|
93
92
|
});
|
|
94
93
|
});
|
|
95
94
|
//#endregion
|
|
96
|
-
export { s as DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME, c as MARKDOWN_TABLE_CSV_MIME_TYPE,
|
|
95
|
+
export { s as DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME, c as MARKDOWN_TABLE_CSV_MIME_TYPE, w as MarkdownTable, l as MarkdownTableCopyFormat, u as serializeMarkdownTableRows };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextRefinementField.d.ts","sourceRoot":"","sources":["../../../src/components/TextRefinementField/TextRefinementField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextRefinementField.d.ts","sourceRoot":"","sources":["../../../src/components/TextRefinementField/TextRefinementField.tsx"],"names":[],"mappings":"AAYA,OAAO,EAA2B,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACzE,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,sHAAsH;IACtH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6GAA6G;IAC7G,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,mHAAmH;AACnH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA2K5D,CAAC"}
|
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
import { mergeClasses as e } from "../../utils/merge-class.js";
|
|
2
2
|
import { TextRefinementState as t } from "../../hooks/useTextRefinement.js";
|
|
3
|
-
import { CaptionText as n, DIAL_ICON_SIZE as r, DIAL_KIT_ICON_STROKE as i, ElementSize as a, ErrorText as o, GhostButton as s, Label as c,
|
|
4
|
-
import { useLayoutEffect as
|
|
5
|
-
import { Fragment as
|
|
6
|
-
import { IconRestore as
|
|
3
|
+
import { CaptionText as n, DIAL_ICON_SIZE as r, DIAL_KIT_ICON_STROKE as i, ElementSize as a, ErrorText as o, GhostButton as s, Label as c, LiveRegionPoliteness as l, Spinner as u } from "@epam/ai-dial-ui-kit";
|
|
4
|
+
import { useLayoutEffect as d, useRef as f } from "react";
|
|
5
|
+
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
6
|
+
import { IconRestore as g, IconSparkles as _ } from "@tabler/icons-react";
|
|
7
7
|
//#region src/components/TextRefinementField/TextRefinementField.tsx
|
|
8
|
-
var
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
if (!
|
|
12
|
-
let e = Array.from(
|
|
8
|
+
var v = ({ isEnabled: v, fieldId: y, label: b, labelClassName: x, required: S, labels: C, refinement: w, disabled: T, feedbackClassName: E, errorClassName: D, caption: O, children: k }) => {
|
|
9
|
+
let A = f(null), j = f(null), M = v && w.isPending;
|
|
10
|
+
d(() => {
|
|
11
|
+
if (!M) return;
|
|
12
|
+
let e = Array.from(j.current?.querySelectorAll("input, textarea") ?? []).find((e) => e.id === y);
|
|
13
13
|
if (!e) return;
|
|
14
14
|
let t = e.readOnly;
|
|
15
15
|
return e.readOnly = !0, () => {
|
|
16
16
|
e.readOnly = t;
|
|
17
17
|
};
|
|
18
|
-
}, [
|
|
19
|
-
let
|
|
20
|
-
text:
|
|
18
|
+
}, [M, y]);
|
|
19
|
+
let N = O && /* @__PURE__ */ m(n, {
|
|
20
|
+
text: O,
|
|
21
21
|
className: "ms-auto shrink-0 text-end"
|
|
22
22
|
});
|
|
23
|
-
if (!
|
|
23
|
+
if (!v) return N ? /* @__PURE__ */ h("div", {
|
|
24
24
|
className: "flex min-w-0 flex-col gap-1",
|
|
25
|
-
children: [
|
|
26
|
-
}) : /* @__PURE__ */ p
|
|
27
|
-
let
|
|
28
|
-
|
|
29
|
-
let
|
|
25
|
+
children: [k, N]
|
|
26
|
+
}) : /* @__PURE__ */ m(p, { children: k });
|
|
27
|
+
let P = w.state === t.Error, F = w.canUndo, I = C?.refineWithAiLabel ?? "Refine with AI";
|
|
28
|
+
M ? I = C?.refineRefiningLabel ?? "Refining" : F && (I = C?.refineRegenerateLabel ?? "Regenerate");
|
|
29
|
+
let L = w.state === t.Pending || w.state === t.Success || w.state === t.Restored, R = {
|
|
30
30
|
[t.Idle]: "",
|
|
31
|
-
[t.Pending]:
|
|
32
|
-
[t.Success]:
|
|
33
|
-
[t.Restored]:
|
|
34
|
-
[t.Unchanged]:
|
|
31
|
+
[t.Pending]: C?.refinePendingAriaLabel ?? "Refining text",
|
|
32
|
+
[t.Success]: C?.refineSuccessAriaLabel ?? "Text refined",
|
|
33
|
+
[t.Restored]: C?.refineUndoAriaLabel ?? "Original text restored.",
|
|
34
|
+
[t.Unchanged]: C?.refineUnchangedAriaLabel ?? "No changes were needed.",
|
|
35
35
|
[t.Error]: ""
|
|
36
|
-
}[
|
|
37
|
-
return /* @__PURE__ */
|
|
36
|
+
}[w.state];
|
|
37
|
+
return /* @__PURE__ */ h("div", {
|
|
38
38
|
className: "flex min-w-0 flex-col gap-1",
|
|
39
39
|
role: "group",
|
|
40
|
-
"aria-labelledby":
|
|
41
|
-
"aria-describedby":
|
|
40
|
+
"aria-labelledby": y + "-label",
|
|
41
|
+
"aria-describedby": P ? y + "-refinement-error" : void 0,
|
|
42
42
|
children: [
|
|
43
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ h("div", {
|
|
44
44
|
className: "flex min-w-0 flex-wrap items-center gap-x-3",
|
|
45
|
-
children: [/* @__PURE__ */
|
|
46
|
-
id:
|
|
47
|
-
htmlFor:
|
|
48
|
-
className:
|
|
49
|
-
label:
|
|
50
|
-
required:
|
|
51
|
-
}), /* @__PURE__ */
|
|
52
|
-
ref:
|
|
45
|
+
children: [/* @__PURE__ */ m(c, {
|
|
46
|
+
id: y + "-label",
|
|
47
|
+
htmlFor: y,
|
|
48
|
+
className: x,
|
|
49
|
+
label: b,
|
|
50
|
+
required: S
|
|
51
|
+
}), /* @__PURE__ */ h("div", {
|
|
52
|
+
ref: A,
|
|
53
53
|
className: "ms-auto flex min-w-0 flex-wrap items-center",
|
|
54
|
-
children: [
|
|
54
|
+
children: [F && !M && /* @__PURE__ */ m(s, {
|
|
55
55
|
size: a.Small,
|
|
56
|
-
label:
|
|
57
|
-
disabled:
|
|
56
|
+
label: C?.refineUndoLabel ?? "Restore original",
|
|
57
|
+
disabled: T,
|
|
58
58
|
onClick: () => {
|
|
59
|
-
|
|
60
|
-
let e =
|
|
59
|
+
w.undo();
|
|
60
|
+
let e = A.current?.querySelectorAll("button");
|
|
61
61
|
e?.[e.length - 1]?.focus();
|
|
62
62
|
},
|
|
63
|
-
iconBefore: /* @__PURE__ */
|
|
63
|
+
iconBefore: /* @__PURE__ */ m(g, {
|
|
64
64
|
size: r.SM,
|
|
65
65
|
stroke: i,
|
|
66
66
|
"aria-hidden": !0
|
|
67
67
|
})
|
|
68
|
-
}), /* @__PURE__ */
|
|
68
|
+
}), /* @__PURE__ */ m(s, {
|
|
69
69
|
size: a.Small,
|
|
70
|
-
label:
|
|
71
|
-
disabled:
|
|
70
|
+
label: I,
|
|
71
|
+
disabled: T || !w.canRefine,
|
|
72
72
|
onClick: () => {
|
|
73
|
-
|
|
73
|
+
w.refine();
|
|
74
74
|
},
|
|
75
|
-
iconBefore:
|
|
75
|
+
iconBefore: M ? /* @__PURE__ */ m("span", {
|
|
76
76
|
"aria-hidden": !0,
|
|
77
|
-
children: /* @__PURE__ */
|
|
77
|
+
children: /* @__PURE__ */ m(u, {
|
|
78
78
|
size: r.SM,
|
|
79
79
|
ariaLabel: ""
|
|
80
80
|
})
|
|
81
|
-
}) : /* @__PURE__ */
|
|
81
|
+
}) : /* @__PURE__ */ m(_, {
|
|
82
82
|
size: r.SM,
|
|
83
83
|
stroke: i,
|
|
84
84
|
"aria-hidden": !0
|
|
@@ -86,30 +86,30 @@ var _ = ({ isEnabled: _, fieldId: v, label: y, labelClassName: b, required: x, l
|
|
|
86
86
|
})]
|
|
87
87
|
})]
|
|
88
88
|
}),
|
|
89
|
-
/* @__PURE__ */ p("div", {
|
|
90
|
-
ref: A,
|
|
91
|
-
"aria-busy": C.isPending,
|
|
92
|
-
children: O
|
|
93
|
-
}),
|
|
94
89
|
/* @__PURE__ */ m("div", {
|
|
90
|
+
ref: j,
|
|
91
|
+
"aria-busy": w.isPending,
|
|
92
|
+
children: k
|
|
93
|
+
}),
|
|
94
|
+
/* @__PURE__ */ h("div", {
|
|
95
95
|
className: "flex min-w-0 items-start gap-3",
|
|
96
|
-
children: [/* @__PURE__ */
|
|
97
|
-
role: "status",
|
|
98
|
-
"aria-live": "polite",
|
|
96
|
+
children: [/* @__PURE__ */ m("div", {
|
|
99
97
|
className: "min-w-0 flex-1",
|
|
100
|
-
children: /* @__PURE__ */
|
|
101
|
-
text:
|
|
102
|
-
|
|
98
|
+
children: /* @__PURE__ */ m(n, {
|
|
99
|
+
text: R,
|
|
100
|
+
announce: l.Polite,
|
|
101
|
+
className: e(E, L && "sr-only")
|
|
103
102
|
})
|
|
104
|
-
}),
|
|
103
|
+
}), N]
|
|
105
104
|
}),
|
|
106
|
-
|
|
107
|
-
id:
|
|
108
|
-
|
|
109
|
-
|
|
105
|
+
/* @__PURE__ */ m(o, {
|
|
106
|
+
id: y + "-refinement-error",
|
|
107
|
+
announce: l.Assertive,
|
|
108
|
+
className: e(E, D),
|
|
109
|
+
text: P ? C?.refineErrorLabel ?? "Could not refine this text. Please try again." : ""
|
|
110
110
|
})
|
|
111
111
|
]
|
|
112
112
|
});
|
|
113
113
|
};
|
|
114
114
|
//#endregion
|
|
115
|
-
export {
|
|
115
|
+
export { v as TextRefinementField };
|
|
@@ -1 +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;
|
|
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;AAa1C,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAG/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;AAGnB,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAgDlE,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,gFAA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