@epam/ai-dial-source-panel 1.0.0-dev.533 → 1.0.0-dev.535
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/ConversationSourcesPanel/ConversationSourcesPanel.d.ts.map +1 -1
- package/components/SourcesSection/SourcesSection.d.ts +4 -14
- package/components/SourcesSection/SourcesSection.d.ts.map +1 -1
- package/index.js +81 -90
- package/models/conversation-sources-panel-props.d.ts +2 -2
- package/models/conversation-sources-panel-props.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationSourcesPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationSourcesPanel/ConversationSourcesPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConversationSourcesPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationSourcesPanel/ConversationSourcesPanel.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAGnG,YAAY,EACV,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,GACnC,MAAM,+CAA+C,CAAC;;AAmJvD,wBAA8C"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { QuotationSource } from '../../models/quotation-source';
|
|
2
|
-
|
|
3
|
-
interface SourcesSectionColors {
|
|
4
|
-
/** Source link color. */
|
|
5
|
-
link?: string;
|
|
6
|
-
/** Source quote text color. */
|
|
7
|
-
quote?: string;
|
|
8
|
-
}
|
|
2
|
+
import { ConversationSourcesPanelColors, ConversationSourcesPanelTypography } from '../ConversationSourcesPanel/ConversationSourcesPanel';
|
|
9
3
|
export interface SourcesSectionProps {
|
|
10
4
|
/** Heading text for the sources section. */
|
|
11
5
|
title: string;
|
|
@@ -17,14 +11,10 @@ export interface SourcesSectionProps {
|
|
|
17
11
|
copiedLabel?: string;
|
|
18
12
|
/** Current search query — used to highlight matches in source titles and quotes. */
|
|
19
13
|
searchQuery?: string;
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
/** CSS class applied to each source link. Defaults to `'dial-small-text'`. */
|
|
23
|
-
linkClassName?: string;
|
|
24
|
-
/** CSS class applied to the quote text. Defaults to `'dial-tiny-text'`. */
|
|
25
|
-
quoteClassName?: string;
|
|
14
|
+
/** Typography (font utility class) overrides for section headings and source text. */
|
|
15
|
+
typography?: ConversationSourcesPanelTypography;
|
|
26
16
|
/** Color overrides applied as CSS custom properties. */
|
|
27
|
-
colors?:
|
|
17
|
+
colors?: ConversationSourcesPanelColors;
|
|
28
18
|
/** When provided, called on source link click instead of following the href. */
|
|
29
19
|
onSourceClick?: (source: QuotationSource) => void;
|
|
30
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SourcesSection.d.ts","sourceRoot":"","sources":["../../../src/components/SourcesSection/SourcesSection.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"SourcesSection.d.ts","sourceRoot":"","sources":["../../../src/components/SourcesSection/SourcesSection.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EACL,8BAA8B,EAC9B,kCAAkC,EACnC,MAAM,sDAAsD,CAAC;AAG9D,MAAM,WAAW,mBAAmB;IAClC,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,0DAA0D;IAC1D,SAAS,EAAE,MAAM,CAAC;IAClB,yHAAyH;IACzH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sFAAsF;IACtF,UAAU,CAAC,EAAE,kCAAkC,CAAC;IAChD,wDAAwD;IACxD,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,gFAAgF;IAChF,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;CACnD;;AAuGD,wBAAoC"}
|
package/index.js
CHANGED
|
@@ -1,126 +1,122 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { AttachmentCard as
|
|
7
|
-
import { Fragment as
|
|
8
|
-
var
|
|
1
|
+
import { AttachmentType as e, BASE_LG_ICON_PROPS as t, Highlight as n, buildCssVars as r, mergeClasses as i } from "@epam/ai-dial-chat-shared";
|
|
2
|
+
import { PanelEmpty as a, PanelNoResults as o, SearchInput as s, SidebarOrientation as c, SidebarPanel as l } from "@epam/ai-dial-sidebar";
|
|
3
|
+
import { DIAL_ICON_SIZE as u, DialGhostIconButton as d, ElementSize as f } from "@epam/ai-dial-ui-kit";
|
|
4
|
+
import { IconCopy as p, IconDownload as m } from "@tabler/icons-react";
|
|
5
|
+
import { memo as h, useLayoutEffect as g, useMemo as _, useState as v } from "react";
|
|
6
|
+
import { AttachmentCard as y } from "@epam/ai-dial-conversation-input";
|
|
7
|
+
import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
8
|
+
var C = h(({ attachments: t, title: n, searchQuery: r, titleClassName: a = "dial-body-semi-text", onAttachmentClick: o, attachmentClickLabel: s }) => t.length === 0 ? null : /* @__PURE__ */ S("section", {
|
|
9
9
|
className: "mb-6",
|
|
10
|
-
children: [/* @__PURE__ */
|
|
11
|
-
className:
|
|
12
|
-
children:
|
|
13
|
-
}), /* @__PURE__ */
|
|
10
|
+
children: [/* @__PURE__ */ x("h2", {
|
|
11
|
+
className: i(a, "mb-3"),
|
|
12
|
+
children: n
|
|
13
|
+
}), /* @__PURE__ */ x("div", {
|
|
14
14
|
role: "list",
|
|
15
15
|
className: "grid grid-cols-[repeat(auto-fill,minmax(100px,1fr))] gap-3",
|
|
16
|
-
children:
|
|
16
|
+
children: t.map((t) => /* @__PURE__ */ x("div", {
|
|
17
17
|
role: "listitem",
|
|
18
|
-
className:
|
|
19
|
-
children: /* @__PURE__ */
|
|
20
|
-
attachment:
|
|
21
|
-
searchQuery:
|
|
18
|
+
className: t.type === e.Audio ? "col-span-full" : void 0,
|
|
19
|
+
children: /* @__PURE__ */ x(y, {
|
|
20
|
+
attachment: t,
|
|
21
|
+
searchQuery: r,
|
|
22
22
|
styles: { className: "w-full" },
|
|
23
|
-
onClick:
|
|
24
|
-
labels: { clickLabel:
|
|
23
|
+
onClick: o ? () => o(t) : void 0,
|
|
24
|
+
labels: { clickLabel: s }
|
|
25
25
|
})
|
|
26
|
-
},
|
|
26
|
+
}, t.id))
|
|
27
27
|
})]
|
|
28
|
-
})),
|
|
28
|
+
})), w = {
|
|
29
29
|
link: "_link_1f4sp_1",
|
|
30
30
|
quote: "_quote_1f4sp_5"
|
|
31
|
-
},
|
|
32
|
-
let [
|
|
33
|
-
"--sp-source-link":
|
|
34
|
-
"--sp-source-quote":
|
|
35
|
-
}), [
|
|
31
|
+
}, T = h(({ title: e, sources: t, copyLabel: a, copiedLabel: o = "Link copied to clipboard", searchQuery: s = "", typography: c, colors: l, onSourceClick: m }) => {
|
|
32
|
+
let [h, g] = v(""), y = c?.sectionTitleClassName ?? "dial-body-semi-text", b = c?.sourceLinkClassName ?? "dial-small-text", C = c?.sourceQuoteClassName ?? "dial-tiny-text", T = _(() => r({
|
|
33
|
+
"--sp-source-link": l?.sourceLink,
|
|
34
|
+
"--sp-source-quote": l?.sourceQuote
|
|
35
|
+
}), [l]);
|
|
36
36
|
if (t.length === 0) return null;
|
|
37
|
-
let
|
|
38
|
-
await navigator.clipboard.writeText(e),
|
|
37
|
+
let E = async (e) => {
|
|
38
|
+
await navigator.clipboard.writeText(e), g(o);
|
|
39
39
|
};
|
|
40
|
-
return /* @__PURE__ */
|
|
40
|
+
return /* @__PURE__ */ S("section", {
|
|
41
41
|
className: "mb-6",
|
|
42
|
-
style:
|
|
42
|
+
style: T,
|
|
43
43
|
children: [
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
className:
|
|
44
|
+
/* @__PURE__ */ x("h2", {
|
|
45
|
+
className: i(y, "mb-3"),
|
|
46
46
|
children: e
|
|
47
47
|
}),
|
|
48
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ x("ul", {
|
|
49
49
|
className: "flex flex-col gap-3",
|
|
50
|
-
children: t.map((e) => /* @__PURE__ */
|
|
50
|
+
children: t.map((e) => /* @__PURE__ */ S("li", {
|
|
51
51
|
className: "flex flex-col gap-1",
|
|
52
|
-
children: [/* @__PURE__ */
|
|
52
|
+
children: [/* @__PURE__ */ S("div", {
|
|
53
53
|
className: "flex min-w-0 items-center justify-between gap-2",
|
|
54
|
-
children: [/* @__PURE__ */
|
|
54
|
+
children: [/* @__PURE__ */ x("a", {
|
|
55
55
|
href: e.url,
|
|
56
56
|
target: "_blank",
|
|
57
57
|
rel: "noopener noreferrer",
|
|
58
|
-
className:
|
|
59
|
-
onClick:
|
|
60
|
-
t.preventDefault(),
|
|
58
|
+
className: i(b, w.link, "min-w-0 flex-1 truncate"),
|
|
59
|
+
onClick: m ? (t) => {
|
|
60
|
+
t.preventDefault(), m(e);
|
|
61
61
|
} : void 0,
|
|
62
|
-
children:
|
|
62
|
+
children: s ? /* @__PURE__ */ x(n, {
|
|
63
63
|
text: e.title,
|
|
64
|
-
query:
|
|
64
|
+
query: s,
|
|
65
65
|
maxLines: 1
|
|
66
66
|
}) : e.title
|
|
67
|
-
}), /* @__PURE__ */
|
|
68
|
-
size:
|
|
69
|
-
icon: /* @__PURE__ */
|
|
70
|
-
size:
|
|
67
|
+
}), /* @__PURE__ */ x(d, {
|
|
68
|
+
size: f.Small,
|
|
69
|
+
icon: /* @__PURE__ */ x(p, {
|
|
70
|
+
size: u.SM,
|
|
71
71
|
stroke: 1.5,
|
|
72
72
|
"aria-hidden": !0
|
|
73
73
|
}),
|
|
74
|
-
"aria-label":
|
|
75
|
-
onClick: () => void
|
|
74
|
+
"aria-label": a,
|
|
75
|
+
onClick: () => void E(e.url)
|
|
76
76
|
})]
|
|
77
|
-
}), e.quote && /* @__PURE__ */
|
|
78
|
-
className:
|
|
77
|
+
}), e.quote && /* @__PURE__ */ x("p", {
|
|
78
|
+
className: i(C, w.quote, "line-clamp-5 max-h-[80px] overflow-hidden"),
|
|
79
79
|
children: e.quote
|
|
80
80
|
})]
|
|
81
81
|
}, e.url))
|
|
82
82
|
}),
|
|
83
|
-
/* @__PURE__ */
|
|
83
|
+
/* @__PURE__ */ x("span", {
|
|
84
84
|
role: "status",
|
|
85
85
|
"aria-live": "polite",
|
|
86
86
|
className: "sr-only",
|
|
87
|
-
children:
|
|
87
|
+
children: h
|
|
88
88
|
})
|
|
89
89
|
]
|
|
90
90
|
});
|
|
91
|
-
}),
|
|
92
|
-
let [M, N] =
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}, [
|
|
96
|
-
let P =
|
|
97
|
-
return /* @__PURE__ */
|
|
98
|
-
isOpen:
|
|
99
|
-
orientation:
|
|
91
|
+
}), E = (e, t) => e.toLowerCase().includes(t.toLowerCase()), D = h(({ isOpen: e, onClose: n, uploaded: r, generated: i, sources: u, onAttachmentClick: f, onSourceClick: p, onDownloadAll: h, isMobile: y, defaultWidth: w, minWidth: D, maxWidth: O, onResizeStop: k, labels: A, styles: j }) => {
|
|
92
|
+
let [M, N] = v("");
|
|
93
|
+
g(() => {
|
|
94
|
+
e || N("");
|
|
95
|
+
}, [e]);
|
|
96
|
+
let P = _(() => M ? r.filter((e) => E(e.name, M)) : r, [r, M]), F = _(() => M ? i.filter((e) => E(e.name, M)) : i, [i, M]), I = _(() => M ? u.filter((e) => E(e.title, M) || E(e.url, M) || e.quote != null && E(e.quote, M)) : u, [u, M]), L = r.length === 0 && i.length === 0 && u.length === 0, R = M !== "" && P.length === 0 && F.length === 0 && I.length === 0;
|
|
97
|
+
return /* @__PURE__ */ S(l, {
|
|
98
|
+
isOpen: e,
|
|
99
|
+
orientation: c.Right,
|
|
100
100
|
styles: {
|
|
101
|
-
className:
|
|
101
|
+
className: e ? "mobile:w-full" : "w-0",
|
|
102
102
|
bodyClassName: "flex flex-col overflow-hidden p-0"
|
|
103
103
|
},
|
|
104
104
|
labels: A,
|
|
105
|
-
onClose:
|
|
106
|
-
resizable: !
|
|
107
|
-
defaultWidth:
|
|
105
|
+
onClose: n,
|
|
106
|
+
resizable: !y,
|
|
107
|
+
defaultWidth: w,
|
|
108
108
|
minWidth: D,
|
|
109
109
|
maxWidth: O,
|
|
110
110
|
onResizeStop: k,
|
|
111
|
-
rightActions: !L && /* @__PURE__ */
|
|
112
|
-
icon: /* @__PURE__ */
|
|
113
|
-
size: a.LG,
|
|
114
|
-
stroke: 1.5,
|
|
115
|
-
"aria-hidden": !0
|
|
116
|
-
}),
|
|
111
|
+
rightActions: !L && /* @__PURE__ */ x(d, {
|
|
112
|
+
icon: /* @__PURE__ */ x(m, { ...t }),
|
|
117
113
|
"aria-label": A.downloadAllLabel,
|
|
118
114
|
tooltipProps: { tooltip: A.downloadAllLabel },
|
|
119
|
-
onClick:
|
|
120
|
-
disabled: !
|
|
115
|
+
onClick: h,
|
|
116
|
+
disabled: !h
|
|
121
117
|
}),
|
|
122
118
|
children: [
|
|
123
|
-
!L && /* @__PURE__ */
|
|
119
|
+
!L && /* @__PURE__ */ x(s, {
|
|
124
120
|
value: M,
|
|
125
121
|
onChange: N,
|
|
126
122
|
labels: {
|
|
@@ -128,44 +124,39 @@ var S = u(({ attachments: e, title: t, searchQuery: n, titleClassName: r = "dial
|
|
|
128
124
|
clearLabel: A.searchClearLabel
|
|
129
125
|
}
|
|
130
126
|
}),
|
|
131
|
-
/* @__PURE__ */
|
|
127
|
+
/* @__PURE__ */ x("span", {
|
|
132
128
|
role: "status",
|
|
133
129
|
"aria-live": "polite",
|
|
134
130
|
className: "sr-only",
|
|
135
131
|
children: R ? A.noResultsLabel : ""
|
|
136
132
|
}),
|
|
137
|
-
/* @__PURE__ */
|
|
133
|
+
/* @__PURE__ */ x("div", {
|
|
138
134
|
className: "flex-1 overflow-y-auto p-4",
|
|
139
|
-
children: L ? /* @__PURE__ */
|
|
140
|
-
/* @__PURE__ */
|
|
135
|
+
children: L ? /* @__PURE__ */ x(a, { label: A.emptyLabel }) : R ? /* @__PURE__ */ x(o, { label: A.noResultsLabel }) : /* @__PURE__ */ S(b, { children: [
|
|
136
|
+
/* @__PURE__ */ x(C, {
|
|
141
137
|
attachments: P,
|
|
142
138
|
title: A.uploadedSectionTitle,
|
|
143
139
|
searchQuery: M,
|
|
144
140
|
titleClassName: j?.typography?.sectionTitleClassName,
|
|
145
|
-
onAttachmentClick:
|
|
141
|
+
onAttachmentClick: f,
|
|
146
142
|
attachmentClickLabel: A.attachmentClickLabel
|
|
147
143
|
}),
|
|
148
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ x(C, {
|
|
149
145
|
attachments: F,
|
|
150
146
|
title: A.generatedSectionTitle,
|
|
151
147
|
searchQuery: M,
|
|
152
148
|
titleClassName: j?.typography?.sectionTitleClassName,
|
|
153
|
-
onAttachmentClick:
|
|
149
|
+
onAttachmentClick: f,
|
|
154
150
|
attachmentClickLabel: A.attachmentClickLabel
|
|
155
151
|
}),
|
|
156
|
-
/* @__PURE__ */
|
|
152
|
+
/* @__PURE__ */ x(T, {
|
|
157
153
|
sources: I,
|
|
158
154
|
title: A.sourcesSectionTitle,
|
|
159
155
|
searchQuery: M,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
quoteClassName: j?.typography?.sourceQuoteClassName,
|
|
163
|
-
colors: {
|
|
164
|
-
link: j?.colors?.sourceLink,
|
|
165
|
-
quote: j?.colors?.sourceQuote
|
|
166
|
-
},
|
|
156
|
+
typography: j?.typography,
|
|
157
|
+
colors: j?.colors,
|
|
167
158
|
copyLabel: A.copySourceLabel,
|
|
168
|
-
onSourceClick:
|
|
159
|
+
onSourceClick: p
|
|
169
160
|
})
|
|
170
161
|
] })
|
|
171
162
|
})
|
|
@@ -173,4 +164,4 @@ var S = u(({ attachments: e, title: t, searchQuery: n, titleClassName: r = "dial
|
|
|
173
164
|
});
|
|
174
165
|
});
|
|
175
166
|
//#endregion
|
|
176
|
-
export {
|
|
167
|
+
export { D as ConversationSourcesPanel };
|
|
@@ -38,9 +38,9 @@ export interface ConversationSourcesPanelColors {
|
|
|
38
38
|
export interface ConversationSourcesPanelTypography {
|
|
39
39
|
/** CSS class applied to each section heading (`<h2>`). Defaults to `'dial-body-semi-text'`. */
|
|
40
40
|
sectionTitleClassName?: string;
|
|
41
|
-
/** CSS class applied to each source link. Defaults to `'dial-small-text
|
|
41
|
+
/** CSS class applied to each source link. Defaults to `'dial-small-text'`. */
|
|
42
42
|
sourceLinkClassName?: string;
|
|
43
|
-
/** CSS class applied to each source quote paragraph. Defaults to `'dial-tiny-text
|
|
43
|
+
/** CSS class applied to each source quote paragraph. Defaults to `'dial-tiny-text'`. */
|
|
44
44
|
sourceQuoteClassName?: string;
|
|
45
45
|
}
|
|
46
46
|
/** Optional color and typography overrides for inner elements. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-sources-panel-props.d.ts","sourceRoot":"","sources":["../../src/models/conversation-sources-panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,oFAAoF;AACpF,MAAM,WAAW,8BAA8B;IAC7C,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,kCAAkC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0DAA0D;IAC1D,gBAAgB,EAAE,MAAM,CAAC;IACzB,yDAAyD;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,cAAc,EAAE,MAAM,CAAC;IACvB,yDAAyD;IACzD,gBAAgB,EAAE,MAAM,CAAC;IACzB,mDAAmD;IACnD,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oDAAoD;IACpD,qBAAqB,EAAE,MAAM,CAAC;IAC9B,4CAA4C;IAC5C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,0DAA0D;IAC1D,eAAe,EAAE,MAAM,CAAC;IACxB,4DAA4D;IAC5D,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,6DAA6D;AAC7D,MAAM,WAAW,8BAA8B;IAC7C,yBAAyB;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,oEAAoE;AACpE,MAAM,WAAW,kCAAkC;IACjD,+FAA+F;IAC/F,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,
|
|
1
|
+
{"version":3,"file":"conversation-sources-panel-props.d.ts","sourceRoot":"","sources":["../../src/models/conversation-sources-panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,oFAAoF;AACpF,MAAM,WAAW,8BAA8B;IAC7C,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,kCAAkC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0DAA0D;IAC1D,gBAAgB,EAAE,MAAM,CAAC;IACzB,yDAAyD;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,cAAc,EAAE,MAAM,CAAC;IACvB,yDAAyD;IACzD,gBAAgB,EAAE,MAAM,CAAC;IACzB,mDAAmD;IACnD,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oDAAoD;IACpD,qBAAqB,EAAE,MAAM,CAAC;IAC9B,4CAA4C;IAC5C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,0DAA0D;IAC1D,eAAe,EAAE,MAAM,CAAC;IACxB,4DAA4D;IAC5D,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,6DAA6D;AAC7D,MAAM,WAAW,8BAA8B;IAC7C,yBAAyB;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,oEAAoE;AACpE,MAAM,WAAW,kCAAkC;IACjD,+FAA+F;IAC/F,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,wFAAwF;IACxF,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,kEAAkE;AAClE,MAAM,WAAW,8BAA8B;IAC7C,+EAA+E;IAC/E,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,sFAAsF;IACtF,UAAU,CAAC,EAAE,kCAAkC,CAAC;CACjD;AAED,wDAAwD;AACxD,MAAM,WAAW,6BAA6B;IAC5C,8CAA8C;IAC9C,MAAM,EAAE,OAAO,CAAC;IAChB,wDAAwD;IACxD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,6DAA6D;IAC7D,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,mEAAmE;IACnE,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,gDAAgD;IAChD,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,yDAAyD;IACzD,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5D,4FAA4F;IAC5F,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAClD;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,wEAAwE;IACxE,QAAQ,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uEAAuE;IACvE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gEAAgE;IAChE,MAAM,EAAE,8BAA8B,CAAC;IACvC,wEAAwE;IACxE,MAAM,CAAC,EAAE,8BAA8B,CAAC;CACzC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-source-panel",
|
|
3
3
|
"description": "Panel for displaying conversation sources — uploaded files and generated citations",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.535",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": "^19.0.0",
|
|
21
21
|
"@tabler/icons-react": "^3.0.0",
|
|
22
|
-
"@epam/ai-dial-chat-shared": "1.0.0-dev.
|
|
23
|
-
"@epam/ai-dial-ui-kit": "0.12.0-dev.
|
|
24
|
-
"@epam/ai-dial-sidebar": "1.0.0-dev.
|
|
25
|
-
"@epam/ai-dial-conversation-input": "1.0.0-dev.
|
|
22
|
+
"@epam/ai-dial-chat-shared": "1.0.0-dev.535",
|
|
23
|
+
"@epam/ai-dial-ui-kit": "0.12.0-dev.36",
|
|
24
|
+
"@epam/ai-dial-sidebar": "1.0.0-dev.535",
|
|
25
|
+
"@epam/ai-dial-conversation-input": "1.0.0-dev.535"
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|