@epam/ai-dial-conversation-panel 1.1.0-dev.351 → 1.1.0-dev.358
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/ConversationPanel.tsx"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAyBlE,sEAAsE;AACtE,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ConversationPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/ConversationPanel.tsx"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAyBlE,sEAAsE;AACtE,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAyaxD,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ConversationTransferJobStatus as e, DeploymentIcon as t, FilterTab as n, buildCssVars as r, getUtf8ByteLength as i, mergeClasses as a, sanitizeConversationName as o, stripTrailingDots as s } from "@epam/ai-dial-chat-shared";
|
|
2
2
|
import { PanelEmpty as c, PanelNoResults as l, SidebarOrientation as u, SidebarPanel as d } from "@epam/ai-dial-sidebar";
|
|
3
|
-
import { Button as f, ButtonVariant as p, ConfirmationPopup as m, ConfirmationPopupVariant as h, DIAL_ICON_SIZE as g, DIAL_KIT_ICON_STROKE as _, Dropdown as v, ElementSize as y, EllipsisTooltip as b, GhostIconButton as x, Highlight as S, Input as C, Popup as w, PopupSize as T, ProgressBar as E, Search as D, Skeleton as O, SkeletonVariant as ee, Spinner as k, Tag as A, TagAppearance as j, Tooltip as te, mergeClasses as
|
|
4
|
-
import { createElement as
|
|
3
|
+
import { Button as f, ButtonVariant as p, ConfirmationPopup as m, ConfirmationPopupVariant as h, DIAL_ICON_SIZE as g, DIAL_KIT_ICON_STROKE as _, Dropdown as v, ElementSize as y, EllipsisTooltip as b, GhostIconButton as x, Highlight as S, Input as C, Popup as w, PopupSize as T, ProgressBar as E, Search as D, Skeleton as O, SkeletonVariant as ee, Spinner as k, Tag as A, TagAppearance as j, Tooltip as te, mergeClasses as ne } from "@epam/ai-dial-ui-kit";
|
|
4
|
+
import { createElement as M, memo as N, useCallback as P, useEffect as F, useId as re, useImperativeHandle as ie, useLayoutEffect as I, useMemo as L, useRef as R, useState as z } from "react";
|
|
5
5
|
import { Fragment as ae, jsx as B, jsxs as V } from "react/jsx-runtime";
|
|
6
|
-
import { IconAlertCircleFilled as H, IconAlertTriangleFilled as
|
|
6
|
+
import { IconAlertCircleFilled as H, IconAlertTriangleFilled as oe, IconCaretDownFilled as U, IconCaretRightFilled as se, IconCheck as ce, IconChevronDown as le, IconChevronUp as W, IconClock as ue, IconDotsVertical as de, IconFile as fe, IconFileZip as pe, IconJson as me, IconPlus as he, IconSparkles as ge, IconX as _e } from "@tabler/icons-react";
|
|
7
7
|
//#region ../../node_modules/react-window/dist/react-window.js
|
|
8
|
-
var G = typeof window < "u" ?
|
|
8
|
+
var G = typeof window < "u" ? I : F;
|
|
9
9
|
function ve(e) {
|
|
10
10
|
if (e !== void 0) switch (typeof e) {
|
|
11
11
|
case "number": return e;
|
|
@@ -191,7 +191,7 @@ function Oe({ containerSize: e, itemSize: t }) {
|
|
|
191
191
|
}
|
|
192
192
|
return n;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function ke({ containerElement: e, containerStyle: t, defaultContainerSize: n = 0, direction: r, isRtl: i = !1, itemCount: a, itemProps: o, itemSize: s, onResize: c, overscanCount: l }) {
|
|
195
195
|
let { height: u = n, width: d = n } = ye({
|
|
196
196
|
defaultHeight: r === "vertical" ? n : void 0,
|
|
197
197
|
defaultWidth: r === "horizontal" ? n : void 0,
|
|
@@ -205,7 +205,7 @@ function Y({ containerElement: e, containerStyle: t, defaultContainerSize: n = 0
|
|
|
205
205
|
containerSize: p,
|
|
206
206
|
itemSize: s
|
|
207
207
|
});
|
|
208
|
-
|
|
208
|
+
I(() => {
|
|
209
209
|
if (typeof c == "function") {
|
|
210
210
|
let e = f.current;
|
|
211
211
|
(e.height !== u || e.width !== d) && (c({
|
|
@@ -328,7 +328,7 @@ function Y({ containerElement: e, containerStyle: t, defaultContainerSize: n = 0
|
|
|
328
328
|
stopIndexVisible: x
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function Y(e) {
|
|
332
332
|
return L(() => e, Object.values(e));
|
|
333
333
|
}
|
|
334
334
|
function Ae(e, t) {
|
|
@@ -340,7 +340,7 @@ function je(e) {
|
|
|
340
340
|
}
|
|
341
341
|
var Me = "data-react-window-index";
|
|
342
342
|
function Ne({ children: e, className: t, defaultHeight: n = 0, listRef: r, onResize: i, onRowsRendered: a, overscanCount: o = 3, rowComponent: s, rowCount: c, rowHeight: l, rowProps: u, tagName: d = "div", style: f, ...p }) {
|
|
343
|
-
let m =
|
|
343
|
+
let m = Y(u), h = L(() => N(s, Ae), [s]), [g, _] = z(null), v = je(l), { getCellBounds: y, getEstimatedSize: b, scrollToIndex: x, startIndexOverscan: S, startIndexVisible: C, stopIndexOverscan: w, stopIndexVisible: T } = ke({
|
|
344
344
|
containerElement: g,
|
|
345
345
|
containerStyle: f,
|
|
346
346
|
defaultContainerSize: n,
|
|
@@ -351,7 +351,7 @@ function Ne({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
|
|
|
351
351
|
onResize: i,
|
|
352
352
|
overscanCount: o
|
|
353
353
|
});
|
|
354
|
-
|
|
354
|
+
ie(r, () => ({
|
|
355
355
|
get element() {
|
|
356
356
|
return g;
|
|
357
357
|
},
|
|
@@ -399,7 +399,7 @@ function Ne({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
|
|
|
399
399
|
let e = [];
|
|
400
400
|
if (c > 0) for (let t = S; t <= w; t++) {
|
|
401
401
|
let n = y(t);
|
|
402
|
-
e.push(/* @__PURE__ */
|
|
402
|
+
e.push(/* @__PURE__ */ M(h, {
|
|
403
403
|
...m,
|
|
404
404
|
ariaAttributes: {
|
|
405
405
|
"aria-posinset": t + 1,
|
|
@@ -434,7 +434,7 @@ function Ne({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
|
|
|
434
434
|
zIndex: -1
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
|
-
return
|
|
437
|
+
return M(d, {
|
|
438
438
|
role: "list",
|
|
439
439
|
...p,
|
|
440
440
|
className: t,
|
|
@@ -452,25 +452,25 @@ function Ne({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
|
|
|
452
452
|
//#region src/types/virtual-row.ts
|
|
453
453
|
var X = /* @__PURE__ */ function(e) {
|
|
454
454
|
return e.Header = "header", e.Item = "item", e;
|
|
455
|
-
}({}), Pe = (e) => `${60 + e * 23 % 35}%`, Fe = (e, t) => e ? t ? "pe-9" : "pe-2 group-hover/conversation:pe-9" : "pe-3", Ie = (e, t) => t.rows[e].kind === X.Item ? 36 : e === 0 ? 24 : 56,
|
|
455
|
+
}({}), Pe = (e) => `${60 + e * 23 % 35}%`, Fe = (e, t) => e ? t ? "pe-9" : "pe-2 group-hover/conversation:pe-9" : "pe-3", Ie = (e, t) => t.rows[e].kind === X.Item ? 36 : e === 0 ? 24 : 56, Le = (e) => {
|
|
456
456
|
switch (e) {
|
|
457
457
|
case n.Shared: return n.Shared;
|
|
458
458
|
case n.Organization: return n.Organization;
|
|
459
459
|
default: return n.MyChats;
|
|
460
460
|
}
|
|
461
|
-
},
|
|
461
|
+
}, Re = (e, t) => {
|
|
462
462
|
let n = null;
|
|
463
463
|
for (let r of e) if (r.kind === X.Header) n = r.groupKey;
|
|
464
464
|
else if (r.item.id === t) return n;
|
|
465
465
|
return null;
|
|
466
|
-
},
|
|
466
|
+
}, ze = (e, t, r) => {
|
|
467
467
|
let i = /* @__PURE__ */ new Set();
|
|
468
468
|
if (t != null && i.add(t), t === n.Pinned) {
|
|
469
469
|
let t = r.find((t) => t.id === e);
|
|
470
|
-
t && i.add(
|
|
470
|
+
t && i.add(Le(t.source));
|
|
471
471
|
} else i.add(n.Pinned);
|
|
472
472
|
return i;
|
|
473
|
-
},
|
|
473
|
+
}, Z = (e, t, n, r) => {
|
|
474
474
|
let i = e.currentTarget.getBoundingClientRect();
|
|
475
475
|
if (e.clientY >= i.top + i.height / 2) return t;
|
|
476
476
|
let a = null, o = !1;
|
|
@@ -506,7 +506,7 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
506
506
|
appearance: j.Selectable,
|
|
507
507
|
selected: e === i,
|
|
508
508
|
onClick: () => n(i),
|
|
509
|
-
className:
|
|
509
|
+
className: ne("flex-1 justify-center rounded-full", r)
|
|
510
510
|
}, i))
|
|
511
511
|
})), He = { button: "_button_8xsgo_1" }, Ue = N(({ label: e, onClick: t, labelClassName: n = "dial-small-semi-text", colors: i }) => /* @__PURE__ */ B("div", {
|
|
512
512
|
className: "px-3 py-2",
|
|
@@ -555,7 +555,7 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
555
555
|
d && (e.preventDefault(), u?.(o, o, null));
|
|
556
556
|
} : void 0,
|
|
557
557
|
className: a("flex h-6 w-full items-center gap-1 rounded py-1 pe-3 text-start", i, Q.groupHeader, s && Q.dropZoneActive),
|
|
558
|
-
children: [t ? /* @__PURE__ */ B(
|
|
558
|
+
children: [t ? /* @__PURE__ */ B(U, {
|
|
559
559
|
size: 12,
|
|
560
560
|
className: "shrink-0",
|
|
561
561
|
"aria-hidden": !0
|
|
@@ -566,8 +566,8 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
566
566
|
}), /* @__PURE__ */ B(b, { text: e })]
|
|
567
567
|
});
|
|
568
568
|
}, Ge = ({ item: e, isActive: n, onSelectConversation: r, searchQuery: i = "", getActions: o, onActionMenuOpen: s, actionsLabel: c = "More actions", itemTitleClassName: l = "dial-small-text", itemIconBadgeClassName: u, taskBadgeClassName: d = "dial-caption-lead-semi-text", unreadIndicatorLabel: p = "Unread", rowGroupKey: m, rows: h, draggingId: b, dragOverId: C, allowedDropGroups: w, onDragStart: T, onDragEnd: E, onDragOver: D, onDragLeave: k, onDrop: A }) => {
|
|
569
|
-
let [j, te] = z(!1),
|
|
570
|
-
te(t), t &&
|
|
569
|
+
let [j, te] = z(!1), ne = R(null), M = P((t) => {
|
|
570
|
+
te(t), t && ne.current && s?.(e, ne.current);
|
|
571
571
|
}, [e, s]), N = o?.(e) ?? [], F = N.length > 0, re = e.isIconLoading ? /* @__PURE__ */ B(O, {
|
|
572
572
|
variant: ee.Circular,
|
|
573
573
|
width: g.LG,
|
|
@@ -580,7 +580,7 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
580
580
|
initialsName: e.iconTooltip ?? "",
|
|
581
581
|
labels: { tooltip: e.iconTooltip },
|
|
582
582
|
styles: { badgeClassName: u }
|
|
583
|
-
}),
|
|
583
|
+
}), ie = /* @__PURE__ */ V("span", {
|
|
584
584
|
className: "flex shrink-0 items-center",
|
|
585
585
|
children: [/* @__PURE__ */ B("span", {
|
|
586
586
|
className: "relative flex size-3 shrink-0 items-center justify-center",
|
|
@@ -592,36 +592,36 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
592
592
|
children: p
|
|
593
593
|
})] })
|
|
594
594
|
}), re]
|
|
595
|
-
}),
|
|
595
|
+
}), I = Fe(F, j), L = e.showTaskBadge ? /* @__PURE__ */ V("span", {
|
|
596
596
|
className: a("flex h-5 shrink-0 items-center justify-center gap-0.5 rounded-full border pe-2 ps-1", Q.taskBadge, d),
|
|
597
597
|
children: [/* @__PURE__ */ B(ue, {
|
|
598
598
|
size: 12,
|
|
599
599
|
"aria-hidden": !0,
|
|
600
600
|
stroke: _
|
|
601
601
|
}), e.taskBadgeLabel]
|
|
602
|
-
}) : void 0, H = m != null,
|
|
602
|
+
}) : void 0, H = m != null, oe = P((e) => {
|
|
603
603
|
e.currentTarget.contains(e.relatedTarget) || k?.();
|
|
604
|
-
}, [k]),
|
|
604
|
+
}, [k]), U = P((t) => {
|
|
605
605
|
if (!m || !h || !A) return;
|
|
606
606
|
t.preventDefault();
|
|
607
|
-
let n =
|
|
607
|
+
let n = Z(t, e.id, h, m);
|
|
608
608
|
A(e.id, m, n);
|
|
609
609
|
}, [
|
|
610
610
|
e.id,
|
|
611
611
|
h,
|
|
612
612
|
m,
|
|
613
613
|
A
|
|
614
|
-
]), se = e.id === b, ce = e.id === C,
|
|
614
|
+
]), se = e.id === b, ce = e.id === C, le = m != null && (w?.has(m) ?? !1), W = b != null;
|
|
615
615
|
return /* @__PURE__ */ V("li", {
|
|
616
|
-
className: a("group/conversation relative", se && "cursor-grabbing opacity-50", ce &&
|
|
616
|
+
className: a("group/conversation relative", se && "cursor-grabbing opacity-50", ce && le && "rounded", ce && le && Q.dropZoneActive, W && !se && !le && "cursor-not-allowed"),
|
|
617
617
|
draggable: H || void 0,
|
|
618
618
|
onDragStart: H ? () => T?.(e.id) : void 0,
|
|
619
619
|
onDragEnd: H ? E : void 0,
|
|
620
620
|
onDragOver: H ? (t) => {
|
|
621
621
|
t.preventDefault(), D?.(e.id);
|
|
622
622
|
} : void 0,
|
|
623
|
-
onDragLeave: H ?
|
|
624
|
-
onDrop: H ?
|
|
623
|
+
onDragLeave: H ? oe : void 0,
|
|
624
|
+
onDrop: H ? U : void 0,
|
|
625
625
|
children: [/* @__PURE__ */ B("a", {
|
|
626
626
|
href: e.href,
|
|
627
627
|
className: "contents",
|
|
@@ -629,7 +629,7 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
629
629
|
e.href && (t.preventDefault(), r(e.id));
|
|
630
630
|
},
|
|
631
631
|
children: /* @__PURE__ */ B(f, {
|
|
632
|
-
iconBefore:
|
|
632
|
+
iconBefore: ie,
|
|
633
633
|
label: /* @__PURE__ */ B(S, {
|
|
634
634
|
text: e.title,
|
|
635
635
|
query: i,
|
|
@@ -641,17 +641,17 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
641
641
|
"aria-current": n ? "page" : void 0,
|
|
642
642
|
onClick: e.href ? void 0 : () => r(e.id),
|
|
643
643
|
tabIndex: e.href ? -1 : void 0,
|
|
644
|
-
className: a("h-8 w-full justify-start gap-2 rounded-xl py-2 ps-0 after:pointer-events-none",
|
|
644
|
+
className: a("h-8 w-full justify-start gap-2 rounded-xl py-2 ps-0 after:pointer-events-none", I, Q.item, n && Q.itemActive, j && Q.itemActive)
|
|
645
645
|
})
|
|
646
646
|
}), F && /* @__PURE__ */ B("div", {
|
|
647
647
|
className: a("absolute inset-y-0 end-1 flex items-center", j ? "opacity-100" : "opacity-0 group-focus-within/conversation:opacity-100 group-hover/conversation:opacity-100"),
|
|
648
648
|
children: /* @__PURE__ */ B(v, {
|
|
649
649
|
items: N,
|
|
650
|
-
onOpenChange:
|
|
650
|
+
onOpenChange: M,
|
|
651
651
|
matchReferenceWidth: !1,
|
|
652
652
|
listClassName: "w-[200px]",
|
|
653
653
|
children: /* @__PURE__ */ B(x, {
|
|
654
|
-
ref:
|
|
654
|
+
ref: ne,
|
|
655
655
|
icon: /* @__PURE__ */ B(de, {
|
|
656
656
|
size: g.SM,
|
|
657
657
|
className: Q.triggerIcon,
|
|
@@ -721,38 +721,38 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
721
721
|
n.Shared,
|
|
722
722
|
n.Organization
|
|
723
723
|
]), Xe = N(({ conversations: e, isLoading: t, isOpen: i, onSelectConversation: o, activeConversationId: s, labels: f, onNewChat: p, styles: m, className: h, getActions: g, onActionMenuOpen: _, onToggle: v, headerActions: y, onMoveConversation: b, activeFilter: x, onActiveFilterChange: S, isFilterTabsHidden: C = !1 }) => {
|
|
724
|
-
let { colors: w, typography: T, newChatButton: E } = m ?? {}, { title:
|
|
724
|
+
let { colors: w, typography: T, newChatButton: E, searchWrapperClassName: ee = "rounded-full" } = m ?? {}, { title: k, emptyLabel: A, noResultsLabel: j, loadingLabel: te = "Loading conversations", newChatLabel: ne, searchPlaceholder: M, searchClearLabel: N, filterLabels: ie, groupLabels: I, actionsLabel: ae, unreadIndicatorLabel: H, closeAriaLabel: oe } = f, [U, se] = z(""), [ce, le] = z(n.All);
|
|
725
725
|
F(() => {
|
|
726
|
-
x != null &&
|
|
726
|
+
x != null && le(x);
|
|
727
727
|
}, [x]);
|
|
728
|
-
let [W,
|
|
729
|
-
|
|
730
|
-
}, []), Se = P((e) => {
|
|
731
|
-
oe(e ?? "");
|
|
728
|
+
let [W, ue] = z(() => Ye), [de, fe] = z(5), pe = re(), me = R(null), he = R(null), [ge, _e] = z(null), [G, ve] = z(null), [ye, be] = z(null), K = R(null), xe = R(null), Se = P(({ height: e }) => {
|
|
729
|
+
fe(Math.ceil(e / 36 * 2));
|
|
732
730
|
}, []), q = P((e) => {
|
|
733
|
-
|
|
731
|
+
se(e ?? "");
|
|
732
|
+
}, []), J = P((e) => {
|
|
733
|
+
ue((t) => {
|
|
734
734
|
let n = new Set(t);
|
|
735
735
|
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
736
736
|
});
|
|
737
|
-
}, []),
|
|
738
|
-
|
|
739
|
-
}, []),
|
|
740
|
-
let r =
|
|
741
|
-
|
|
742
|
-
}, [e]),
|
|
743
|
-
|
|
744
|
-
}, [
|
|
745
|
-
|
|
746
|
-
}, []),
|
|
747
|
-
|
|
748
|
-
}, []),
|
|
749
|
-
let r =
|
|
750
|
-
|
|
737
|
+
}, []), Ce = P(() => {
|
|
738
|
+
K.current = null, xe.current = null, _e(null), ve(null), be(null);
|
|
739
|
+
}, []), we = P((t, n) => {
|
|
740
|
+
let r = ze(t, Re(n, t), e);
|
|
741
|
+
K.current = t, xe.current = r, _e(t), be(r);
|
|
742
|
+
}, [e]), Te = P(() => {
|
|
743
|
+
Ce();
|
|
744
|
+
}, [Ce]), Ee = P((e) => {
|
|
745
|
+
ve(e);
|
|
746
|
+
}, []), De = P(() => {
|
|
747
|
+
ve(null);
|
|
748
|
+
}, []), Oe = P((e, t, n) => {
|
|
749
|
+
let r = K.current, i = xe.current;
|
|
750
|
+
Ce(), r != null && r !== e && i?.has(t) && b?.({
|
|
751
751
|
draggedId: r,
|
|
752
752
|
targetGroupKey: t,
|
|
753
753
|
afterId: n
|
|
754
754
|
});
|
|
755
|
-
}, [
|
|
755
|
+
}, [Ce, b]), ke = r({
|
|
756
756
|
"--cp-item-hover": w?.itemHover,
|
|
757
757
|
"--cp-item-active": w?.itemActive,
|
|
758
758
|
"--cp-text": w?.text,
|
|
@@ -769,40 +769,40 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
769
769
|
"--cp-task-badge-bg": w?.taskBadgeBackground,
|
|
770
770
|
"--cp-task-badge-text": w?.taskBadgeText,
|
|
771
771
|
"--cp-unread-dot": w?.unreadDot
|
|
772
|
-
}), Y = L(() => e.filter((e) => qe(e,
|
|
772
|
+
}), Y = L(() => e.filter((e) => qe(e, ce) && Je(e, U)), [
|
|
773
773
|
e,
|
|
774
|
-
|
|
774
|
+
ce,
|
|
775
775
|
U
|
|
776
|
-
]),
|
|
776
|
+
]), Ae = L(() => Y.filter((e) => e.isPinned), [Y]), je = L(() => Y.filter((e) => !e.isPinned && e.source !== n.Shared && e.source !== n.Organization), [Y]), Me = L(() => Y.filter((e) => !e.isPinned && e.source === n.Shared), [Y]), Fe = L(() => Y.filter((e) => !e.isPinned && e.source === n.Organization), [Y]), Le = L(() => [
|
|
777
777
|
{
|
|
778
778
|
key: n.Pinned,
|
|
779
779
|
label: I?.pinned ?? "Pinned",
|
|
780
|
-
items:
|
|
780
|
+
items: Ae
|
|
781
781
|
},
|
|
782
782
|
{
|
|
783
783
|
key: n.MyChats,
|
|
784
784
|
label: I?.myChats ?? "My chats",
|
|
785
|
-
items:
|
|
785
|
+
items: je
|
|
786
786
|
},
|
|
787
787
|
{
|
|
788
788
|
key: n.Shared,
|
|
789
789
|
label: I?.shared ?? "Shared",
|
|
790
|
-
items:
|
|
790
|
+
items: Me
|
|
791
791
|
},
|
|
792
792
|
{
|
|
793
793
|
key: n.Organization,
|
|
794
794
|
label: I?.organization ?? "Organization",
|
|
795
|
-
items:
|
|
795
|
+
items: Fe
|
|
796
796
|
}
|
|
797
797
|
], [
|
|
798
798
|
I,
|
|
799
|
-
ke,
|
|
800
799
|
Ae,
|
|
801
800
|
je,
|
|
802
|
-
Me
|
|
801
|
+
Me,
|
|
802
|
+
Fe
|
|
803
803
|
]), Z = L(() => {
|
|
804
804
|
let e = [];
|
|
805
|
-
for (let t of
|
|
805
|
+
for (let t of Le) if (t.items.length !== 0 && (e.push({
|
|
806
806
|
kind: X.Header,
|
|
807
807
|
groupKey: t.key,
|
|
808
808
|
label: t.label
|
|
@@ -812,79 +812,79 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
812
812
|
groupKey: t.key
|
|
813
813
|
});
|
|
814
814
|
return e;
|
|
815
|
-
}, [
|
|
815
|
+
}, [Le, W]);
|
|
816
816
|
F(() => {
|
|
817
|
-
if (!s ||
|
|
817
|
+
if (!s || he.current === s) return;
|
|
818
818
|
let e = Z.findIndex((e) => e.kind === X.Item && e.item.id === s);
|
|
819
|
-
e >= 0 && (
|
|
819
|
+
e >= 0 && (me.current?.scrollToRow({
|
|
820
820
|
index: e,
|
|
821
821
|
align: "smart",
|
|
822
822
|
behavior: "smooth"
|
|
823
|
-
}),
|
|
823
|
+
}), he.current = s);
|
|
824
824
|
}, [
|
|
825
825
|
s,
|
|
826
|
-
|
|
826
|
+
Le,
|
|
827
827
|
W,
|
|
828
828
|
Z
|
|
829
829
|
]);
|
|
830
|
-
let
|
|
830
|
+
let Be = L(() => ({
|
|
831
831
|
rows: Z,
|
|
832
832
|
expandedGroups: W,
|
|
833
|
-
onToggleGroup:
|
|
834
|
-
listId:
|
|
833
|
+
onToggleGroup: J,
|
|
834
|
+
listId: pe,
|
|
835
835
|
activeConversationId: s,
|
|
836
836
|
searchQuery: U,
|
|
837
837
|
onSelectConversation: o,
|
|
838
838
|
getActions: g,
|
|
839
839
|
onActionMenuOpen: _,
|
|
840
|
-
actionsLabel:
|
|
841
|
-
unreadIndicatorLabel:
|
|
840
|
+
actionsLabel: ae,
|
|
841
|
+
unreadIndicatorLabel: H,
|
|
842
842
|
styles: {
|
|
843
843
|
groupHeaderClassName: T?.groupHeaderClassName,
|
|
844
844
|
itemTitleClassName: T?.itemTitleClassName,
|
|
845
845
|
itemIconBadgeClassName: m?.itemIconBadgeClassName,
|
|
846
846
|
taskBadgeClassName: m?.taskBadgeClassName
|
|
847
847
|
},
|
|
848
|
-
draggingId:
|
|
849
|
-
dragOverId:
|
|
850
|
-
allowedDropGroups:
|
|
851
|
-
onDragStart: (e) =>
|
|
852
|
-
onDragEnd:
|
|
853
|
-
onDragOver:
|
|
854
|
-
onDragLeave:
|
|
855
|
-
onDrop:
|
|
848
|
+
draggingId: ge,
|
|
849
|
+
dragOverId: G,
|
|
850
|
+
allowedDropGroups: ye,
|
|
851
|
+
onDragStart: (e) => we(e, Z),
|
|
852
|
+
onDragEnd: Te,
|
|
853
|
+
onDragOver: Ee,
|
|
854
|
+
onDragLeave: De,
|
|
855
|
+
onDrop: Oe
|
|
856
856
|
}), [
|
|
857
857
|
Z,
|
|
858
858
|
W,
|
|
859
|
-
|
|
860
|
-
|
|
859
|
+
J,
|
|
860
|
+
pe,
|
|
861
861
|
s,
|
|
862
862
|
U,
|
|
863
863
|
o,
|
|
864
864
|
g,
|
|
865
865
|
_,
|
|
866
|
-
ie,
|
|
867
866
|
ae,
|
|
867
|
+
H,
|
|
868
868
|
T?.groupHeaderClassName,
|
|
869
869
|
T?.itemTitleClassName,
|
|
870
870
|
m?.itemIconBadgeClassName,
|
|
871
871
|
m?.taskBadgeClassName,
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
Ce,
|
|
872
|
+
ge,
|
|
873
|
+
G,
|
|
874
|
+
ye,
|
|
876
875
|
we,
|
|
877
876
|
Te,
|
|
878
877
|
Ee,
|
|
879
|
-
De
|
|
880
|
-
|
|
878
|
+
De,
|
|
879
|
+
Oe
|
|
880
|
+
]), He = e.length === 0, We = e.length > 0 && Y.length === 0;
|
|
881
881
|
return /* @__PURE__ */ V(d, {
|
|
882
882
|
isOpen: i,
|
|
883
883
|
orientation: u.Left,
|
|
884
|
-
title:
|
|
884
|
+
title: k,
|
|
885
885
|
labels: {
|
|
886
|
-
ariaLabel:
|
|
887
|
-
closeLabel:
|
|
886
|
+
ariaLabel: k,
|
|
887
|
+
closeLabel: oe
|
|
888
888
|
},
|
|
889
889
|
onClose: v,
|
|
890
890
|
styles: {
|
|
@@ -894,7 +894,7 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
894
894
|
},
|
|
895
895
|
typography: { fontClassName: T?.fontClassName },
|
|
896
896
|
bodyClassName: "flex flex-col overflow-hidden p-0 gap-3",
|
|
897
|
-
cssVars:
|
|
897
|
+
cssVars: ke,
|
|
898
898
|
titleClassName: T?.fontClassName,
|
|
899
899
|
headerClassName: "h-[64px]",
|
|
900
900
|
className: a(i ? "w-[324px] mobile:w-full" : "w-0", h)
|
|
@@ -902,7 +902,7 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
902
902
|
rightActions: y,
|
|
903
903
|
children: [
|
|
904
904
|
/* @__PURE__ */ B(Ue, {
|
|
905
|
-
label:
|
|
905
|
+
label: ne,
|
|
906
906
|
onClick: p,
|
|
907
907
|
labelClassName: T?.newChatLabelClassName,
|
|
908
908
|
colors: E
|
|
@@ -911,19 +911,19 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
911
911
|
role: "search",
|
|
912
912
|
className: "px-3 py-2",
|
|
913
913
|
children: /* @__PURE__ */ B(D, {
|
|
914
|
-
wrapperClassName:
|
|
914
|
+
wrapperClassName: ee,
|
|
915
915
|
value: U,
|
|
916
|
-
onChange:
|
|
916
|
+
onChange: q,
|
|
917
917
|
placeholder: M,
|
|
918
|
-
clearLabel:
|
|
918
|
+
clearLabel: N,
|
|
919
919
|
"aria-label": M
|
|
920
920
|
})
|
|
921
921
|
}),
|
|
922
922
|
!C && /* @__PURE__ */ B(Ve, {
|
|
923
|
-
activeTab:
|
|
924
|
-
labels:
|
|
923
|
+
activeTab: ce,
|
|
924
|
+
labels: ie,
|
|
925
925
|
onChange: (e) => {
|
|
926
|
-
|
|
926
|
+
le(e), S?.(e);
|
|
927
927
|
},
|
|
928
928
|
tabClassName: T?.tabClassName
|
|
929
929
|
}),
|
|
@@ -931,7 +931,7 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
931
931
|
role: "status",
|
|
932
932
|
"aria-live": "polite",
|
|
933
933
|
className: "sr-only",
|
|
934
|
-
children: t ?
|
|
934
|
+
children: t ? te : He ? A : We ? j : ""
|
|
935
935
|
}),
|
|
936
936
|
/* @__PURE__ */ B("div", {
|
|
937
937
|
className: "flex-1 overflow-hidden px-2 py-1",
|
|
@@ -944,17 +944,17 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
944
944
|
active: !0,
|
|
945
945
|
color: Q.skeletonColor
|
|
946
946
|
}, t))
|
|
947
|
-
}) :
|
|
948
|
-
listRef:
|
|
949
|
-
id:
|
|
947
|
+
}) : He ? /* @__PURE__ */ B(c, { label: A }) : We ? /* @__PURE__ */ B(l, { label: j }) : /* @__PURE__ */ B(Ne, {
|
|
948
|
+
listRef: me,
|
|
949
|
+
id: pe,
|
|
950
950
|
role: "list",
|
|
951
951
|
style: { height: "100%" },
|
|
952
952
|
rowComponent: Ke,
|
|
953
953
|
rowCount: Z.length,
|
|
954
954
|
rowHeight: Ie,
|
|
955
|
-
overscanCount:
|
|
956
|
-
onResize:
|
|
957
|
-
rowProps:
|
|
955
|
+
overscanCount: de,
|
|
956
|
+
onResize: Se,
|
|
957
|
+
rowProps: Be
|
|
958
958
|
})
|
|
959
959
|
})
|
|
960
960
|
]
|
|
@@ -988,7 +988,7 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
988
988
|
size: y.Small,
|
|
989
989
|
"aria-expanded": !n,
|
|
990
990
|
"aria-controls": r,
|
|
991
|
-
icon: B(n ?
|
|
991
|
+
icon: B(n ? W : le, {
|
|
992
992
|
size: g.SM,
|
|
993
993
|
className: $.textSecondary,
|
|
994
994
|
stroke: _,
|
|
@@ -1066,7 +1066,7 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
1066
1066
|
role: "img",
|
|
1067
1067
|
"aria-label": n.jobWarningMessage(t.warningCode),
|
|
1068
1068
|
tabIndex: 0,
|
|
1069
|
-
children: /* @__PURE__ */ B(
|
|
1069
|
+
children: /* @__PURE__ */ B(oe, {
|
|
1070
1070
|
size: g.SM,
|
|
1071
1071
|
className: $.warningIcon,
|
|
1072
1072
|
"aria-hidden": !0
|
|
@@ -1197,7 +1197,7 @@ var st = N(({ isOpen: e, currentTitle: t, isSaving: n, error: r, onSave: a, onCa
|
|
|
1197
1197
|
O
|
|
1198
1198
|
]), te = P((e) => {
|
|
1199
1199
|
e.key === "Enter" && j();
|
|
1200
|
-
}, [j]),
|
|
1200
|
+
}, [j]), ne = P(async () => {
|
|
1201
1201
|
if (h) return;
|
|
1202
1202
|
let e = ++D.current;
|
|
1203
1203
|
v(!0), b(null);
|
|
@@ -1215,8 +1215,8 @@ var st = N(({ isOpen: e, currentTitle: t, isSaving: n, error: r, onSave: a, onCa
|
|
|
1215
1215
|
h,
|
|
1216
1216
|
l,
|
|
1217
1217
|
u.renameWithAiError
|
|
1218
|
-
]),
|
|
1219
|
-
return
|
|
1218
|
+
]), M;
|
|
1219
|
+
return M = ee ? u.nameTooLongError : y ?? r ?? void 0, /* @__PURE__ */ B(w, {
|
|
1220
1220
|
open: e,
|
|
1221
1221
|
header: u.popupTitle,
|
|
1222
1222
|
size: T.Sm,
|
|
@@ -1244,7 +1244,7 @@ var st = N(({ isOpen: e, currentTitle: t, isSaving: n, error: r, onSave: a, onCa
|
|
|
1244
1244
|
inputRef: S,
|
|
1245
1245
|
value: f,
|
|
1246
1246
|
placeholder: u.inputPlaceholder,
|
|
1247
|
-
error:
|
|
1247
|
+
error: M,
|
|
1248
1248
|
onChange: (e) => m(o(e ?? "")),
|
|
1249
1249
|
onKeyDown: te
|
|
1250
1250
|
})
|
|
@@ -1252,7 +1252,7 @@ var st = N(({ isOpen: e, currentTitle: t, isSaving: n, error: r, onSave: a, onCa
|
|
|
1252
1252
|
"aria-label": u.renameWithAiLabel,
|
|
1253
1253
|
tooltipProps: { tooltip: u.renameWithAiLabel },
|
|
1254
1254
|
disabled: h || n,
|
|
1255
|
-
onClick:
|
|
1255
|
+
onClick: ne,
|
|
1256
1256
|
icon: h ? /* @__PURE__ */ B(k, { size: g.MD }) : /* @__PURE__ */ B(ge, {
|
|
1257
1257
|
size: g.MD,
|
|
1258
1258
|
stroke: _
|
package/models/panel-props.d.ts
CHANGED
|
@@ -106,6 +106,13 @@ export interface ConversationPanelStyles {
|
|
|
106
106
|
itemIconBadgeClassName?: string;
|
|
107
107
|
/** Typography class applied to the task pill badge in each conversation row. Defaults to `'dial-caption-lead-semi-text'`. Colors come from the module stylesheet. */
|
|
108
108
|
taskBadgeClassName?: string;
|
|
109
|
+
/**
|
|
110
|
+
* CSS class applied to the search field's wrapper. Defaults to
|
|
111
|
+
* `'rounded-full'`; a value here replaces that default instead of merging with
|
|
112
|
+
* it, so a caller can set a different corner radius without two competing
|
|
113
|
+
* `rounded-*` utilities on the same element.
|
|
114
|
+
*/
|
|
115
|
+
searchWrapperClassName?: string;
|
|
109
116
|
}
|
|
110
117
|
/** Localised labels and text content for `ConversationPanel`. */
|
|
111
118
|
export interface ConversationPanelLabels {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-props.d.ts","sourceRoot":"","sources":["../../src/models/panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,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C,SAAS,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,cAAc,EAAE,SAAS,CAAC;IAC1B,kEAAkE;IAClE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-conversation-panel",
|
|
3
3
|
"description": "Virtualized sidebar panel for browsing conversation history with grouping, tabs, and search",
|
|
4
|
-
"version": "1.1.0-dev.
|
|
4
|
+
"version": "1.1.0-dev.358",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^19.0.0",
|
|
25
25
|
"@tabler/icons-react": "^3.0.0",
|
|
26
|
-
"@epam/ai-dial-chat-shared": "1.1.0-dev.
|
|
27
|
-
"@epam/ai-dial-sidebar": "1.1.0-dev.
|
|
26
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.358",
|
|
27
|
+
"@epam/ai-dial-sidebar": "1.1.0-dev.358"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|