@epam/ai-dial-source-panel 1.2.0-dev.48 → 1.2.0-dev.58
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/constants/public-class-names.d.ts +11 -0
- package/constants/public-class-names.d.ts.map +1 -0
- package/index.css +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +88 -87
- 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":"AAsBA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;;AAoLnG,wBAA8C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const SOURCE_PANEL_CLASS: {
|
|
2
|
+
/**
|
|
3
|
+
* The panel wrapper — the element `@epam/ai-dial-sidebar` gives the panel's
|
|
4
|
+
* width and slide transition, which is the outer box a host sizes or
|
|
5
|
+
* positions. It is **not** the `aside` inside it: that one carries
|
|
6
|
+
* `dial-sb-aside`, so a host targeting the region itself descends from this
|
|
7
|
+
* class.
|
|
8
|
+
*/
|
|
9
|
+
readonly panel: "dial-source-panel-panel";
|
|
10
|
+
};
|
|
11
|
+
//# 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":"AAUA,eAAO,MAAM,kBAAkB;IAC7B;;;;;;OAMG;;CAEK,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
._link_12icw_1{color:var(--sp-source-link,var(--text-info,#1d4ed8))}._quote_12icw_5{color:var(--sp-source-quote,var(--text-primary,#161b2d))}
|
|
2
|
-
/*$vite$:1*/.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.visible{visibility:visible}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.line-clamp-5{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:5}.flex{display:flex}.grid{display:grid}.h-full{height:100%}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.resize{resize:both}.grid-cols-\[repeat\(auto-fill\2c minmax\(84px\2c 1fr\)\)\]{grid-template-columns:repeat(auto-fill,minmax(84px,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p-0{padding:0}.p-4{padding:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pt-0{padding-top:0}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\[\&\>div\>\*\+\*\]\:mt-1>div>*+*{margin-top:.25rem}
|
|
2
|
+
/*$vite$:1*/.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.visible{visibility:visible}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.line-clamp-5{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:5}.flex{display:flex}.grid{display:grid}.h-full{height:100%}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.resize{resize:both}.grid-cols-\[repeat\(auto-fill\2c minmax\(84px\2c 1fr\)\)\]{grid-template-columns:repeat(auto-fill,minmax(84px,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p-0{padding:0}.p-4{padding:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pt-0{padding-top:0}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\[\&\>div\>\*\+\*\]\:mt-1>div>*+*{margin-top:.25rem}
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as ConversationSourcesPanel } from './components/ConversationSourcesPanel/ConversationSourcesPanel';
|
|
2
2
|
export type { ConversationSourcesPanelColors, ConversationSourcesPanelLabels, ConversationSourcesPanelProps, ConversationSourcesPanelStyles, ConversationSourcesPanelTypography, } from './models/conversation-sources-panel-props';
|
|
3
3
|
export type { QuotationSource } from './models/quotation-source';
|
|
4
|
+
export { SOURCE_PANEL_CLASS } from './constants/public-class-names';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,gEAAgE,CAAC;AACrH,YAAY,EACV,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,GACnC,MAAM,2CAA2C,CAAC;AACnD,YAAY,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,gEAAgE,CAAC;AACrH,YAAY,EACV,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,GACnC,MAAM,2CAA2C,CAAC;AACnD,YAAY,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { BASE_LG_ICON_PROPS as e, MarkdownRenderer as t, buildCssVars as n, mergeClasses as r } from "@epam/ai-dial-chat-shared";
|
|
2
2
|
import { PanelNoResults as i, SidebarOrientation as a, SidebarPanel as o } from "@epam/ai-dial-sidebar";
|
|
3
|
-
import { DIAL_ICON_SIZE as s, DIAL_KIT_ICON_STROKE as c, ElementSize as l, GhostIconButton as u, Highlight as d, LinkButton as f, NoDataContent as p, Search as m } from "@epam/ai-dial-ui-kit";
|
|
4
|
-
import { IconCopy as
|
|
5
|
-
import { memo as
|
|
6
|
-
import { AttachmentCard as
|
|
7
|
-
import { Fragment as
|
|
8
|
-
|
|
3
|
+
import { DIAL_ICON_SIZE as s, DIAL_KIT_ICON_STROKE as c, ElementSize as l, GhostIconButton as u, Highlight as d, LinkButton as f, NoDataContent as p, Search as m, mergeClasses as h } from "@epam/ai-dial-ui-kit";
|
|
4
|
+
import { IconCopy as g, IconDownload as _ } from "@tabler/icons-react";
|
|
5
|
+
import { memo as v, useLayoutEffect as y, useMemo as b, useState as x } from "react";
|
|
6
|
+
import { AttachmentCard as S } from "@epam/ai-dial-attachment-input";
|
|
7
|
+
import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
8
|
+
//#region src/constants/public-class-names.ts
|
|
9
|
+
var E = { panel: "dial-source-panel-panel" }, D = v(({ attachments: e, title: t, searchQuery: n, titleClassName: i = "dial-body-semi-text", onAttachmentClick: a, attachmentClickLabel: o }) => e.length === 0 ? null : /* @__PURE__ */ T("section", {
|
|
9
10
|
className: "mb-6",
|
|
10
|
-
children: [/* @__PURE__ */
|
|
11
|
+
children: [/* @__PURE__ */ w("h2", {
|
|
11
12
|
className: r(i, "mb-3"),
|
|
12
13
|
children: t
|
|
13
|
-
}), /* @__PURE__ */
|
|
14
|
+
}), /* @__PURE__ */ w("div", {
|
|
14
15
|
role: "list",
|
|
15
16
|
className: "grid grid-cols-[repeat(auto-fill,minmax(84px,1fr))] gap-3",
|
|
16
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
17
|
+
children: e.map((e, t) => /* @__PURE__ */ w("div", {
|
|
17
18
|
role: "listitem",
|
|
18
|
-
children: /* @__PURE__ */
|
|
19
|
+
children: /* @__PURE__ */ w(S, {
|
|
19
20
|
attachment: e,
|
|
20
21
|
searchQuery: n,
|
|
21
22
|
onClick: a ? () => a(e) : void 0,
|
|
@@ -23,39 +24,39 @@ var T = _(({ attachments: e, title: t, searchQuery: n, titleClassName: i = "dial
|
|
|
23
24
|
})
|
|
24
25
|
}, `${e.id}-${t}`))
|
|
25
26
|
})]
|
|
26
|
-
})),
|
|
27
|
+
})), O = {
|
|
27
28
|
link: "_link_12icw_1",
|
|
28
29
|
quote: "_quote_12icw_5"
|
|
29
|
-
},
|
|
30
|
-
let [v,
|
|
31
|
-
"--sp-source-link":
|
|
32
|
-
"--sp-source-quote":
|
|
33
|
-
}), [
|
|
30
|
+
}, k = v(({ title: e, sources: i, copyLabel: a, copiedLabel: o = "Link copied to clipboard", searchQuery: p = "", typography: m, colors: h, onSourceClick: _ }) => {
|
|
31
|
+
let [v, y] = x(""), S = m?.sectionTitleClassName ?? "dial-body-semi-text", C = m?.sourceLinkClassName ?? "dial-small-text", E = m?.sourceQuoteClassName ?? "dial-tiny-text", D = b(() => n({
|
|
32
|
+
"--sp-source-link": h?.sourceLink,
|
|
33
|
+
"--sp-source-quote": h?.sourceQuote
|
|
34
|
+
}), [h]);
|
|
34
35
|
if (i.length === 0) return null;
|
|
35
36
|
let k = async (e) => {
|
|
36
|
-
await navigator.clipboard.writeText(e),
|
|
37
|
+
await navigator.clipboard.writeText(e), y(o);
|
|
37
38
|
};
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
+
return /* @__PURE__ */ T("section", {
|
|
39
40
|
className: "mb-6",
|
|
40
|
-
style:
|
|
41
|
+
style: D,
|
|
41
42
|
children: [
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ w("h2", {
|
|
43
44
|
className: r(S, "mb-3"),
|
|
44
45
|
children: e
|
|
45
46
|
}),
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ w("ul", {
|
|
47
48
|
className: "flex flex-col gap-3",
|
|
48
|
-
children: i.map((e) => /* @__PURE__ */
|
|
49
|
+
children: i.map((e) => /* @__PURE__ */ T("li", {
|
|
49
50
|
className: "flex flex-col gap-1",
|
|
50
|
-
children: [/* @__PURE__ */
|
|
51
|
+
children: [/* @__PURE__ */ T("div", {
|
|
51
52
|
className: "flex min-w-0 items-center justify-between gap-2",
|
|
52
|
-
children: [/* @__PURE__ */
|
|
53
|
+
children: [/* @__PURE__ */ w(f, {
|
|
53
54
|
href: e.url,
|
|
54
55
|
target: "_blank",
|
|
55
56
|
size: l.Small,
|
|
56
|
-
className: r(
|
|
57
|
-
textClassName: r(
|
|
58
|
-
label: p ? /* @__PURE__ */
|
|
57
|
+
className: r(O.link, "min-w-0 flex-1 justify-start"),
|
|
58
|
+
textClassName: r(C, "min-w-0 truncate"),
|
|
59
|
+
label: p ? /* @__PURE__ */ w(d, {
|
|
59
60
|
text: e.title,
|
|
60
61
|
query: p,
|
|
61
62
|
maxLines: 1
|
|
@@ -64,9 +65,9 @@ var T = _(({ attachments: e, title: t, searchQuery: n, titleClassName: i = "dial
|
|
|
64
65
|
onClick: _ ? (t) => {
|
|
65
66
|
t.preventDefault(), _(e);
|
|
66
67
|
} : void 0
|
|
67
|
-
}), /* @__PURE__ */
|
|
68
|
+
}), /* @__PURE__ */ w(u, {
|
|
68
69
|
size: l.Small,
|
|
69
|
-
icon: /* @__PURE__ */
|
|
70
|
+
icon: /* @__PURE__ */ w(g, {
|
|
70
71
|
size: s.SM,
|
|
71
72
|
stroke: c,
|
|
72
73
|
"aria-hidden": !0
|
|
@@ -74,13 +75,13 @@ var T = _(({ attachments: e, title: t, searchQuery: n, titleClassName: i = "dial
|
|
|
74
75
|
"aria-label": a,
|
|
75
76
|
onClick: () => void k(e.url)
|
|
76
77
|
})]
|
|
77
|
-
}), e.quote && /* @__PURE__ */
|
|
78
|
-
className: r(
|
|
79
|
-
children: /* @__PURE__ */
|
|
78
|
+
}), e.quote && /* @__PURE__ */ w("div", {
|
|
79
|
+
className: r(E, O.quote, "line-clamp-5 [&>div>*+*]:mt-1"),
|
|
80
|
+
children: /* @__PURE__ */ w(t, { content: e.quote })
|
|
80
81
|
})]
|
|
81
82
|
}, e.url))
|
|
82
83
|
}),
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
+
/* @__PURE__ */ w("span", {
|
|
84
85
|
role: "status",
|
|
85
86
|
"aria-live": "polite",
|
|
86
87
|
className: "sr-only",
|
|
@@ -88,90 +89,90 @@ var T = _(({ attachments: e, title: t, searchQuery: n, titleClassName: i = "dial
|
|
|
88
89
|
})
|
|
89
90
|
]
|
|
90
91
|
});
|
|
91
|
-
}),
|
|
92
|
-
let [
|
|
93
|
-
|
|
92
|
+
}), A = (e, t) => e.toLowerCase().includes(t.toLowerCase()), j = v(({ isOpen: t, onClose: n, uploaded: r, generated: s, sources: c, onAttachmentClick: l, onSourceClick: d, onDownloadAll: f, isMobile: g, defaultWidth: v, minWidth: S, maxWidth: O, onResizeStop: j, labels: M, styles: N, title: P, additionalSections: F }) => {
|
|
93
|
+
let [I, L] = x(""), R = (e) => {
|
|
94
|
+
L(e ?? "");
|
|
94
95
|
};
|
|
95
|
-
|
|
96
|
-
t ||
|
|
96
|
+
y(() => {
|
|
97
|
+
t || L("");
|
|
97
98
|
}, [t]);
|
|
98
|
-
let
|
|
99
|
-
return
|
|
99
|
+
let z = b(() => I ? r.filter((e) => A(e.name, I)) : r, [r, I]), B = b(() => I ? s.filter((e) => A(e.name, I)) : s, [s, I]), V = b(() => I ? c.filter((e) => A(e.title, I) || A(e.url, I) || e.quote != null && A(e.quote, I)) : c, [c, I]), H = r.length > 0 || s.length > 0 || c.length > 0, U = !H && !F, W = I !== "" && z.length === 0 && B.length === 0 && V.length === 0, G;
|
|
100
|
+
return G = U ? /* @__PURE__ */ w("div", {
|
|
100
101
|
className: "flex h-full items-center justify-center",
|
|
101
|
-
children: /* @__PURE__ */
|
|
102
|
-
}) : /* @__PURE__ */
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
-
attachments:
|
|
105
|
-
title:
|
|
106
|
-
searchQuery:
|
|
107
|
-
titleClassName:
|
|
102
|
+
children: /* @__PURE__ */ w(p, { title: M.noDataLabel })
|
|
103
|
+
}) : /* @__PURE__ */ T(C, { children: [F, W ? /* @__PURE__ */ w(i, { label: M.noResultsLabel }) : /* @__PURE__ */ T(C, { children: [
|
|
104
|
+
/* @__PURE__ */ w(D, {
|
|
105
|
+
attachments: z,
|
|
106
|
+
title: M.uploadedSectionTitle,
|
|
107
|
+
searchQuery: I,
|
|
108
|
+
titleClassName: N?.typography?.sectionTitleClassName,
|
|
108
109
|
onAttachmentClick: l,
|
|
109
|
-
attachmentClickLabel:
|
|
110
|
+
attachmentClickLabel: M.attachmentClickLabel
|
|
110
111
|
}),
|
|
111
|
-
/* @__PURE__ */
|
|
112
|
-
attachments:
|
|
113
|
-
title:
|
|
114
|
-
searchQuery:
|
|
115
|
-
titleClassName:
|
|
112
|
+
/* @__PURE__ */ w(D, {
|
|
113
|
+
attachments: B,
|
|
114
|
+
title: M.generatedSectionTitle,
|
|
115
|
+
searchQuery: I,
|
|
116
|
+
titleClassName: N?.typography?.sectionTitleClassName,
|
|
116
117
|
onAttachmentClick: l,
|
|
117
|
-
attachmentClickLabel:
|
|
118
|
+
attachmentClickLabel: M.attachmentClickLabel
|
|
118
119
|
}),
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
sources:
|
|
121
|
-
title:
|
|
122
|
-
searchQuery:
|
|
123
|
-
typography:
|
|
124
|
-
colors:
|
|
125
|
-
copyLabel:
|
|
126
|
-
copiedLabel:
|
|
120
|
+
/* @__PURE__ */ w(k, {
|
|
121
|
+
sources: V,
|
|
122
|
+
title: M.sourcesSectionTitle,
|
|
123
|
+
searchQuery: I,
|
|
124
|
+
typography: N?.typography,
|
|
125
|
+
colors: N?.colors,
|
|
126
|
+
copyLabel: M.copySourceLabel,
|
|
127
|
+
copiedLabel: M.sourceCopiedLabel,
|
|
127
128
|
onSourceClick: d
|
|
128
129
|
})
|
|
129
|
-
] })] }), /* @__PURE__ */
|
|
130
|
+
] })] }), /* @__PURE__ */ T(o, {
|
|
130
131
|
isOpen: t,
|
|
131
132
|
orientation: a.Right,
|
|
132
133
|
styles: {
|
|
133
|
-
className: h && t
|
|
134
|
+
className: h(g && t && "w-full", E.panel),
|
|
134
135
|
bodyClassName: "flex flex-col overflow-hidden p-0"
|
|
135
136
|
},
|
|
136
|
-
labels:
|
|
137
|
-
title:
|
|
137
|
+
labels: M,
|
|
138
|
+
title: P,
|
|
138
139
|
onClose: n,
|
|
139
|
-
resizable: !
|
|
140
|
-
defaultWidth:
|
|
141
|
-
minWidth:
|
|
142
|
-
maxWidth:
|
|
143
|
-
onResizeStop:
|
|
144
|
-
rightActions:
|
|
145
|
-
icon: /* @__PURE__ */
|
|
146
|
-
"aria-label":
|
|
147
|
-
tooltipProps: { tooltip:
|
|
140
|
+
resizable: !g,
|
|
141
|
+
defaultWidth: v,
|
|
142
|
+
minWidth: S,
|
|
143
|
+
maxWidth: O,
|
|
144
|
+
onResizeStop: j,
|
|
145
|
+
rightActions: H && /* @__PURE__ */ w(u, {
|
|
146
|
+
icon: /* @__PURE__ */ w(_, { ...e }),
|
|
147
|
+
"aria-label": M.downloadAllLabel,
|
|
148
|
+
tooltipProps: { tooltip: M.downloadAllLabel },
|
|
148
149
|
onClick: f,
|
|
149
150
|
disabled: !f
|
|
150
151
|
}),
|
|
151
152
|
children: [
|
|
152
|
-
|
|
153
|
+
H && /* @__PURE__ */ w("div", {
|
|
153
154
|
role: "search",
|
|
154
155
|
className: "px-3 py-2",
|
|
155
|
-
children: /* @__PURE__ */
|
|
156
|
-
value:
|
|
157
|
-
onChange:
|
|
158
|
-
placeholder:
|
|
159
|
-
clearLabel:
|
|
160
|
-
"aria-label":
|
|
156
|
+
children: /* @__PURE__ */ w(m, {
|
|
157
|
+
value: I,
|
|
158
|
+
onChange: R,
|
|
159
|
+
placeholder: M.searchPlaceholder,
|
|
160
|
+
clearLabel: M.searchClearLabel,
|
|
161
|
+
"aria-label": M.searchPlaceholder
|
|
161
162
|
})
|
|
162
163
|
}),
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
+
/* @__PURE__ */ w("span", {
|
|
164
165
|
role: "status",
|
|
165
166
|
"aria-live": "polite",
|
|
166
167
|
className: "sr-only",
|
|
167
|
-
children:
|
|
168
|
+
children: W ? M.noResultsLabel : ""
|
|
168
169
|
}),
|
|
169
|
-
/* @__PURE__ */
|
|
170
|
+
/* @__PURE__ */ w("div", {
|
|
170
171
|
className: "flex-1 overflow-y-auto p-4 pt-0",
|
|
171
|
-
children:
|
|
172
|
+
children: G
|
|
172
173
|
})
|
|
173
174
|
]
|
|
174
175
|
});
|
|
175
176
|
});
|
|
176
177
|
//#endregion
|
|
177
|
-
export {
|
|
178
|
+
export { j as ConversationSourcesPanel, E as SOURCE_PANEL_CLASS };
|
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.2.0-dev.
|
|
4
|
+
"version": "1.2.0-dev.58",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@tabler/icons-react": "^3.44.0",
|
|
21
|
-
"@epam/ai-dial-attachment-input": "1.2.0-dev.
|
|
22
|
-
"@epam/ai-dial-sidebar": "1.2.0-dev.
|
|
21
|
+
"@epam/ai-dial-attachment-input": "1.2.0-dev.58",
|
|
22
|
+
"@epam/ai-dial-sidebar": "1.2.0-dev.58"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^19.2.8",
|
|
26
|
-
"@epam/ai-dial-chat-shared": "1.2.0-dev.
|
|
27
|
-
"@epam/ai-dial-ui-kit": "^0.15.0-dev.
|
|
26
|
+
"@epam/ai-dial-chat-shared": "1.2.0-dev.58",
|
|
27
|
+
"@epam/ai-dial-ui-kit": "^0.15.0-dev.9"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|