@epam/ai-dial-conversation-panel 1.1.0-dev.116 → 1.1.0-dev.121
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":"AASA,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AA6BlE,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":"AASA,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AA6BlE,sEAAsE;AACtE,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA+ZxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewChatButton.d.ts","sourceRoot":"","sources":["../../../src/components/NewChatButton/NewChatButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGpE,iCAAiC;AACjC,MAAM,WAAW,kBAAkB;IACjC,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,mFAAmF;IACnF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wDAAwD;IACxD,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B;AAED,2FAA2F;AAC3F,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"NewChatButton.d.ts","sourceRoot":"","sources":["../../../src/components/NewChatButton/NewChatButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGpE,iCAAiC;AACjC,MAAM,WAAW,kBAAkB;IACjC,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,mFAAmF;IACnF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wDAAwD;IACxD,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B;AAED,2FAA2F;AAC3F,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAwBhD,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tabContainer_1917c_1{background-color:#0000;color:var(--pt-tab-text,var(--text-tertiary,#848e9c))!important;border-color:#0000!important}@media (hover:hover){._tabContainer_1917c_1:hover{background-color:#5c8dea0f;color:var(--pt-tab-text-hover,var(--text-secondary,#57647a))!important}}._tabContainer_1917c_1>span{text-align:center}._tabContainer_1917c_1._tabActive_1917c_19{background-color:#2764d912;color:var(--pt-tab-active-text,var(--text-secondary,#57647a))!important}@media (hover:hover){._tabContainer_1917c_1._tabActive_1917c_19:hover{background-color:#5c8dea0f}}.dial-input:not(.dial-input-error){transition:border-color .15s,outline-color .15s,box-shadow .15s;border-color:var(--inp-border,var(--stroke-tertiary,#e0e6f0))!important;border-radius:.75rem!important}.dial-input:not(.dial-input-error):not(:disabled):hover{border-color:var(--inp-border-hover,var(--stroke-info,#124ace))!important}.dial-input:not(.dial-input-error):not(:disabled):active,.dial-input:not(.dial-input-error):not(:disabled):focus,.dial-input:not(.dial-input-error):not(:disabled):focus-within{outline-offset:-1px;outline:1px solid var(--inp-border-focus,var(--stroke-info,#124ace))!important;box-shadow:0 0 0 4px var(--inp-shadow-focus,var(--bg-accent-primary-alpha,#7da4ff2e))!important;border-color:#0000!important}.dial-input-error{border-radius:.75rem!important}._button_8xsgo_1{background:var(--cp-new-chat-bg,var(--bg-control-neutral,#fcfcfc));color:var(--cp-new-chat-text,var(--text-accent,#1d4ed8))}._button_8xsgo_1:focus-visible{outline:1px solid var(--cp-new-chat-focus-outline,var(--stroke-focus-black,#161b2d));outline-offset:0}._item_1qyc3_1{color:var(--cp-text,var(--text-primary,#161b2d))}._item_1qyc3_1:hover{background:var(--cp-item-hover,var(--bg-layer-sunken,#eef1f7))}._item_1qyc3_1._itemActive_1qyc3_7{background:var(--cp-item-active,var(--bg-layer-sunken,#eef1f7));color:var(--cp-text,var(--text-primary,#161b2d))}._groupHeader_1qyc3_12{color:var(--cp-text-secondary,var(--text-tertiary,#848e9c))}._taskBadge_1qyc3_16{border-color:var(--cp-task-badge-border,var(--stroke-tertiary,#e0e6f0));background:var(--cp-task-badge-bg,var(--bg-layer-base,#f5f7fa));color:var(--cp-task-badge-text,var(--text-secondary,#57647a))}._dropZoneActive_1qyc3_22{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-inset:inset;--tw-ring-color:var(--cp-drop-zone-ring,var(--stroke-info,#124ace))}._triggerActive_1qyc3_27{background:var(--cp-trigger-bg,var(--bg-control-accent-alpha-active,#2764d933))}._triggerActive_1qyc3_27 ._triggerIcon_1qyc3_30{color:var(--cp-trigger-icon,var(--text-accent,#1d4ed8))}._triggerIcon_1qyc3_30{color:var(--cp-trigger-icon-idle,var(--text-secondary,#57647a))}._unreadDot_1qyc3_38{background:var(--cp-unread-dot,var(--text-accent,#1d4ed8))}
|
|
2
2
|
/*$vite$:1*/
|
package/index.js
CHANGED
|
@@ -2,11 +2,11 @@ import { DeploymentIcon as e, buildCssVars as t, mergeClasses as n } from "@epam
|
|
|
2
2
|
import { PanelEmpty as r, PanelNoResults as i, SearchInput as a, SidebarOrientation as o, SidebarPanel as s } from "@epam/ai-dial-sidebar";
|
|
3
3
|
import { Button as c, DIAL_ICON_SIZE as l, DialDropdown as u, DialEllipsisTooltip as d, DialSkeleton as f, DialSkeletonVariant as p, DialTag as m, ElementSize as h, GhostIconButton as g, Highlight as _, mergeClasses as v } from "@epam/ai-dial-ui-kit";
|
|
4
4
|
import { createElement as y, memo as b, useCallback as x, useEffect as S, useId as C, useImperativeHandle as w, useLayoutEffect as T, useMemo as E, useRef as D, useState as O } from "react";
|
|
5
|
-
import { Fragment as
|
|
6
|
-
import { IconCaretDownFilled as
|
|
5
|
+
import { Fragment as ee, jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
6
|
+
import { IconCaretDownFilled as j, IconCaretRightFilled as M, IconClock as N, IconDotsVertical as te, IconPlus as ne } from "@tabler/icons-react";
|
|
7
7
|
//#region ../../node_modules/react-window/dist/react-window.js
|
|
8
|
-
var
|
|
9
|
-
function
|
|
8
|
+
var P = typeof window < "u" ? T : S;
|
|
9
|
+
function F(e) {
|
|
10
10
|
if (e !== void 0) switch (typeof e) {
|
|
11
11
|
case "number": return e;
|
|
12
12
|
case "string":
|
|
@@ -14,15 +14,15 @@ function I(e) {
|
|
|
14
14
|
break;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function I({ box: e, defaultHeight: t, defaultWidth: n, disabled: r, element: i, mode: a, style: o }) {
|
|
18
18
|
let { styleHeight: s, styleWidth: c } = E(() => ({
|
|
19
|
-
styleHeight:
|
|
20
|
-
styleWidth:
|
|
19
|
+
styleHeight: F(o?.height),
|
|
20
|
+
styleWidth: F(o?.width)
|
|
21
21
|
}), [o?.height, o?.width]), [l, u] = O({
|
|
22
22
|
height: t,
|
|
23
23
|
width: n
|
|
24
24
|
}), d = r || a === "only-height" && s !== void 0 || a === "only-width" && c !== void 0 || s !== void 0 && c !== void 0;
|
|
25
|
-
return
|
|
25
|
+
return P(() => {
|
|
26
26
|
if (i === null || d) return;
|
|
27
27
|
let t = new ResizeObserver((e) => {
|
|
28
28
|
for (let t of e) {
|
|
@@ -51,26 +51,26 @@ function L({ box: e, defaultHeight: t, defaultWidth: n, disabled: r, element: i,
|
|
|
51
51
|
c
|
|
52
52
|
]);
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function re(e) {
|
|
55
55
|
let t = D(() => {
|
|
56
56
|
throw Error("Cannot call during render.");
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return P(() => {
|
|
59
59
|
t.current = e;
|
|
60
60
|
}, [e]), x((e) => t.current?.(e), [t]);
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
function
|
|
64
|
-
if (
|
|
62
|
+
var L = null;
|
|
63
|
+
function ie(e = !1) {
|
|
64
|
+
if (L === null || e) {
|
|
65
65
|
let e = document.createElement("div"), t = e.style;
|
|
66
66
|
t.width = "50px", t.height = "50px", t.overflow = "scroll", t.direction = "rtl";
|
|
67
67
|
let n = document.createElement("div"), r = n.style;
|
|
68
|
-
return r.width = "100px", r.height = "100px", e.appendChild(n), document.body.appendChild(e), e.scrollLeft > 0 ?
|
|
68
|
+
return r.width = "100px", r.height = "100px", e.appendChild(n), document.body.appendChild(e), e.scrollLeft > 0 ? L = "positive-descending" : (e.scrollLeft = 1, L = e.scrollLeft === 0 ? "negative" : "positive-ascending"), document.body.removeChild(e), L;
|
|
69
69
|
}
|
|
70
|
-
return
|
|
70
|
+
return L;
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
if (t === "horizontal" && n) switch (
|
|
72
|
+
function R({ containerElement: e, direction: t, isRtl: n, scrollOffset: r }) {
|
|
73
|
+
if (t === "horizontal" && n) switch (ie()) {
|
|
74
74
|
case "negative": return -r;
|
|
75
75
|
case "positive-descending":
|
|
76
76
|
if (e) {
|
|
@@ -81,26 +81,26 @@ function z({ containerElement: e, direction: t, isRtl: n, scrollOffset: r }) {
|
|
|
81
81
|
}
|
|
82
82
|
return r;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function z(e, t = "Assertion error") {
|
|
85
85
|
if (!e) throw console.error(t), Error(t);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function B(e, t) {
|
|
88
88
|
if (e === t) return !0;
|
|
89
|
-
if (!!e != !!t || (
|
|
89
|
+
if (!!e != !!t || (z(e !== void 0), z(t !== void 0), Object.keys(e).length !== Object.keys(t).length)) return !1;
|
|
90
90
|
for (let n in e) if (!Object.is(t[n], e[n])) return !1;
|
|
91
91
|
return !0;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function ae({ cachedBounds: e, itemCount: t, itemSize: n }) {
|
|
94
94
|
if (t === 0) return 0;
|
|
95
95
|
if (typeof n == "number") return t * n;
|
|
96
96
|
{
|
|
97
97
|
let n = e.get(e.size === 0 ? 0 : e.size - 1);
|
|
98
|
-
return
|
|
98
|
+
return z(n !== void 0, "Unexpected bounds cache miss"), t * ((n.scrollOffset + n.size) / e.size);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function V({ align: e, cachedBounds: t, index: n, itemCount: r, itemSize: i, containerScrollOffset: a, containerSize: o }) {
|
|
102
102
|
if (n < 0 || n >= r) throw RangeError(`Invalid index specified: ${n}`, { cause: `Index ${n} is not within the range of 0 - ${r - 1}` });
|
|
103
|
-
let s =
|
|
103
|
+
let s = ae({
|
|
104
104
|
cachedBounds: t,
|
|
105
105
|
itemCount: r,
|
|
106
106
|
itemSize: i
|
|
@@ -112,7 +112,7 @@ function H({ align: e, cachedBounds: t, index: n, itemCount: r, itemSize: i, con
|
|
|
112
112
|
default: return a >= u && a <= l ? a : a < u ? u : l;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function H({ cachedBounds: e, containerScrollOffset: t, containerSize: n, itemCount: r, overscanCount: i }) {
|
|
116
116
|
let a = r - 1, o = 0, s = -1, c = 0, l = -1, u = 0;
|
|
117
117
|
for (; u < a;) {
|
|
118
118
|
let n = e.get(u);
|
|
@@ -131,11 +131,11 @@ function U({ cachedBounds: e, containerScrollOffset: t, containerSize: n, itemCo
|
|
|
131
131
|
stopIndexOverscan: l
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function U({ itemCount: e, itemProps: t, itemSize: n }) {
|
|
135
135
|
let r = /* @__PURE__ */ new Map();
|
|
136
136
|
return {
|
|
137
137
|
get(i) {
|
|
138
|
-
for (
|
|
138
|
+
for (z(i < e, `Invalid index ${i}`); r.size - 1 < i;) {
|
|
139
139
|
let e = r.size, a;
|
|
140
140
|
switch (typeof n) {
|
|
141
141
|
case "function":
|
|
@@ -151,14 +151,14 @@ function W({ itemCount: e, itemProps: t, itemSize: n }) {
|
|
|
151
151
|
});
|
|
152
152
|
else {
|
|
153
153
|
let t = r.get(e - 1);
|
|
154
|
-
|
|
154
|
+
z(t !== void 0, `Unexpected bounds cache miss for index ${i}`), r.set(e, {
|
|
155
155
|
scrollOffset: t.scrollOffset + t.size,
|
|
156
156
|
size: a
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
let a = r.get(i);
|
|
161
|
-
return
|
|
161
|
+
return z(a !== void 0, `Unexpected bounds cache miss for index ${i}`), a;
|
|
162
162
|
},
|
|
163
163
|
set(e, t) {
|
|
164
164
|
r.set(e, t);
|
|
@@ -168,8 +168,8 @@ function W({ itemCount: e, itemProps: t, itemSize: n }) {
|
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
172
|
-
return E(() =>
|
|
171
|
+
function W({ itemCount: e, itemProps: t, itemSize: n }) {
|
|
172
|
+
return E(() => U({
|
|
173
173
|
itemCount: e,
|
|
174
174
|
itemProps: t,
|
|
175
175
|
itemSize: n
|
|
@@ -179,11 +179,11 @@ function G({ itemCount: e, itemProps: t, itemSize: n }) {
|
|
|
179
179
|
n
|
|
180
180
|
]);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function G({ containerSize: e, itemSize: t }) {
|
|
183
183
|
let n;
|
|
184
184
|
switch (typeof t) {
|
|
185
185
|
case "string":
|
|
186
|
-
|
|
186
|
+
z(t.endsWith("%"), `Invalid item size: "${t}"; string values must be percentages (e.g. "100%")`), z(e !== void 0, "Container size must be defined if a percentage item size is specified"), n = e * parseInt(t) / 100;
|
|
187
187
|
break;
|
|
188
188
|
default:
|
|
189
189
|
n = t;
|
|
@@ -191,8 +191,8 @@ function K({ containerSize: e, itemSize: t }) {
|
|
|
191
191
|
}
|
|
192
192
|
return n;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
let { height: u = n, width: d = n } =
|
|
194
|
+
function K({ containerElement: e, containerStyle: t, defaultContainerSize: n = 0, direction: r, isRtl: i = !1, itemCount: a, itemProps: o, itemSize: s, onResize: c, overscanCount: l }) {
|
|
195
|
+
let { height: u = n, width: d = n } = I({
|
|
196
196
|
defaultHeight: r === "vertical" ? n : void 0,
|
|
197
197
|
defaultWidth: r === "horizontal" ? n : void 0,
|
|
198
198
|
element: e,
|
|
@@ -201,7 +201,7 @@ function ae({ containerElement: e, containerStyle: t, defaultContainerSize: n =
|
|
|
201
201
|
}), f = D({
|
|
202
202
|
height: 0,
|
|
203
203
|
width: 0
|
|
204
|
-
}), p = r === "vertical" ? u : d, m =
|
|
204
|
+
}), p = r === "vertical" ? u : d, m = G({
|
|
205
205
|
containerSize: p,
|
|
206
206
|
itemSize: s
|
|
207
207
|
});
|
|
@@ -218,11 +218,11 @@ function ae({ containerElement: e, containerStyle: t, defaultContainerSize: n =
|
|
|
218
218
|
c,
|
|
219
219
|
d
|
|
220
220
|
]);
|
|
221
|
-
let h =
|
|
221
|
+
let h = W({
|
|
222
222
|
itemCount: a,
|
|
223
223
|
itemProps: o,
|
|
224
224
|
itemSize: m
|
|
225
|
-
}), g = x((e) => h.get(e), [h]), [_, v] = O(() =>
|
|
225
|
+
}), g = x((e) => h.get(e), [h]), [_, v] = O(() => H({
|
|
226
226
|
cachedBounds: h,
|
|
227
227
|
containerScrollOffset: 0,
|
|
228
228
|
containerSize: p,
|
|
@@ -233,7 +233,7 @@ function ae({ containerElement: e, containerStyle: t, defaultContainerSize: n =
|
|
|
233
233
|
startIndexOverscan: Math.min(a - 1, _.startIndexOverscan),
|
|
234
234
|
stopIndexVisible: Math.min(a - 1, _.stopIndexVisible),
|
|
235
235
|
stopIndexOverscan: Math.min(a - 1, _.stopIndexOverscan)
|
|
236
|
-
}, w = x(() =>
|
|
236
|
+
}, w = x(() => ae({
|
|
237
237
|
cachedBounds: h,
|
|
238
238
|
itemCount: a,
|
|
239
239
|
itemSize: m
|
|
@@ -241,9 +241,9 @@ function ae({ containerElement: e, containerStyle: t, defaultContainerSize: n =
|
|
|
241
241
|
h,
|
|
242
242
|
a,
|
|
243
243
|
m
|
|
244
|
-
]), E = x((t) =>
|
|
244
|
+
]), E = x((t) => H({
|
|
245
245
|
cachedBounds: h,
|
|
246
|
-
containerScrollOffset:
|
|
246
|
+
containerScrollOffset: R({
|
|
247
247
|
containerElement: e,
|
|
248
248
|
direction: r,
|
|
249
249
|
isRtl: i,
|
|
@@ -261,19 +261,19 @@ function ae({ containerElement: e, containerStyle: t, defaultContainerSize: n =
|
|
|
261
261
|
a,
|
|
262
262
|
l
|
|
263
263
|
]);
|
|
264
|
-
return
|
|
264
|
+
return P(() => {
|
|
265
265
|
v(E((r === "vertical" ? e?.scrollTop : e?.scrollLeft) ?? 0));
|
|
266
266
|
}, [
|
|
267
267
|
e,
|
|
268
268
|
r,
|
|
269
269
|
E
|
|
270
|
-
]),
|
|
270
|
+
]), P(() => {
|
|
271
271
|
if (!e) return;
|
|
272
272
|
let t = () => {
|
|
273
273
|
v((t) => {
|
|
274
|
-
let { scrollLeft: n, scrollTop: o } = e, s =
|
|
274
|
+
let { scrollLeft: n, scrollTop: o } = e, s = H({
|
|
275
275
|
cachedBounds: h,
|
|
276
|
-
containerScrollOffset:
|
|
276
|
+
containerScrollOffset: R({
|
|
277
277
|
containerElement: e,
|
|
278
278
|
direction: r,
|
|
279
279
|
isRtl: i,
|
|
@@ -283,7 +283,7 @@ function ae({ containerElement: e, containerStyle: t, defaultContainerSize: n =
|
|
|
283
283
|
itemCount: a,
|
|
284
284
|
overscanCount: l
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return B(s, t) ? t : s;
|
|
287
287
|
});
|
|
288
288
|
};
|
|
289
289
|
return e.addEventListener("scroll", t), () => {
|
|
@@ -299,8 +299,8 @@ function ae({ containerElement: e, containerStyle: t, defaultContainerSize: n =
|
|
|
299
299
|
]), {
|
|
300
300
|
getCellBounds: g,
|
|
301
301
|
getEstimatedSize: w,
|
|
302
|
-
scrollToIndex:
|
|
303
|
-
let s =
|
|
302
|
+
scrollToIndex: re(({ align: t = "auto", containerScrollOffset: n, index: o }) => {
|
|
303
|
+
let s = V({
|
|
304
304
|
align: t,
|
|
305
305
|
cachedBounds: h,
|
|
306
306
|
containerScrollOffset: n,
|
|
@@ -310,14 +310,14 @@ function ae({ containerElement: e, containerStyle: t, defaultContainerSize: n =
|
|
|
310
310
|
itemSize: m
|
|
311
311
|
});
|
|
312
312
|
if (e) {
|
|
313
|
-
if (s =
|
|
313
|
+
if (s = R({
|
|
314
314
|
containerElement: e,
|
|
315
315
|
direction: r,
|
|
316
316
|
isRtl: i,
|
|
317
317
|
scrollOffset: s
|
|
318
318
|
}), typeof e.scrollTo != "function") {
|
|
319
319
|
let e = E(s);
|
|
320
|
-
|
|
320
|
+
B(_, e) || v(e);
|
|
321
321
|
}
|
|
322
322
|
return s;
|
|
323
323
|
}
|
|
@@ -333,14 +333,14 @@ function oe(e) {
|
|
|
333
333
|
}
|
|
334
334
|
function q(e, t) {
|
|
335
335
|
let { ariaAttributes: n, style: r, ...i } = e, { ariaAttributes: a, style: o, ...s } = t;
|
|
336
|
-
return
|
|
336
|
+
return B(n, a) && B(r, o) && B(i, s);
|
|
337
337
|
}
|
|
338
338
|
function J(e) {
|
|
339
339
|
return typeof e == "object" && !!e && "getAverageRowHeight" in e && typeof e.getAverageRowHeight == "function";
|
|
340
340
|
}
|
|
341
341
|
var se = "data-react-window-index";
|
|
342
342
|
function ce({ 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 = oe(u), h = E(() => b(s, q), [s]), [g, _] = O(null), v = J(l), { getCellBounds: x, getEstimatedSize: C, scrollToIndex: T, startIndexOverscan: D, startIndexVisible:
|
|
343
|
+
let m = oe(u), h = E(() => b(s, q), [s]), [g, _] = O(null), v = J(l), { getCellBounds: x, getEstimatedSize: C, scrollToIndex: T, startIndexOverscan: D, startIndexVisible: ee, stopIndexOverscan: A, stopIndexVisible: j } = K({
|
|
344
344
|
containerElement: g,
|
|
345
345
|
containerStyle: f,
|
|
346
346
|
defaultContainerSize: n,
|
|
@@ -366,7 +366,7 @@ function ce({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
|
|
|
366
366
|
top: r
|
|
367
367
|
});
|
|
368
368
|
}
|
|
369
|
-
}), [g, T]),
|
|
369
|
+
}), [g, T]), P(() => {
|
|
370
370
|
if (!g) return;
|
|
371
371
|
let e = Array.from(g.children).filter((e, t) => {
|
|
372
372
|
if (e.hasAttribute("aria-hidden")) return !1;
|
|
@@ -379,25 +379,25 @@ function ce({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
|
|
|
379
379
|
v,
|
|
380
380
|
l,
|
|
381
381
|
D,
|
|
382
|
-
|
|
382
|
+
A
|
|
383
383
|
]), S(() => {
|
|
384
|
-
D >= 0 &&
|
|
385
|
-
startIndex:
|
|
386
|
-
stopIndex:
|
|
384
|
+
D >= 0 && A >= 0 && a && a({
|
|
385
|
+
startIndex: ee,
|
|
386
|
+
stopIndex: j
|
|
387
387
|
}, {
|
|
388
388
|
startIndex: D,
|
|
389
|
-
stopIndex:
|
|
389
|
+
stopIndex: A
|
|
390
390
|
});
|
|
391
391
|
}, [
|
|
392
392
|
a,
|
|
393
393
|
D,
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
394
|
+
ee,
|
|
395
|
+
A,
|
|
396
|
+
j
|
|
397
397
|
]);
|
|
398
|
-
let
|
|
398
|
+
let M = E(() => {
|
|
399
399
|
let e = [];
|
|
400
|
-
if (c > 0) for (let t = D; t <=
|
|
400
|
+
if (c > 0) for (let t = D; t <= A; t++) {
|
|
401
401
|
let n = x(t);
|
|
402
402
|
e.push(/* @__PURE__ */ y(h, {
|
|
403
403
|
...m,
|
|
@@ -425,8 +425,8 @@ function ce({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
|
|
|
425
425
|
c,
|
|
426
426
|
m,
|
|
427
427
|
D,
|
|
428
|
-
|
|
429
|
-
]),
|
|
428
|
+
A
|
|
429
|
+
]), N = /* @__PURE__ */ k("div", {
|
|
430
430
|
"aria-hidden": !0,
|
|
431
431
|
style: {
|
|
432
432
|
height: C(),
|
|
@@ -446,7 +446,7 @@ function ce({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
|
|
|
446
446
|
overflowY: "auto",
|
|
447
447
|
...f
|
|
448
448
|
}
|
|
449
|
-
},
|
|
449
|
+
}, M, e, N);
|
|
450
450
|
}
|
|
451
451
|
//#endregion
|
|
452
452
|
//#region src/types/virtual-row.ts
|
|
@@ -483,11 +483,11 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
483
483
|
}
|
|
484
484
|
return null;
|
|
485
485
|
}, ge = {
|
|
486
|
-
tabContainer: "
|
|
487
|
-
tabActive: "
|
|
486
|
+
tabContainer: "_tabContainer_1917c_1",
|
|
487
|
+
tabActive: "_tabActive_1917c_19"
|
|
488
488
|
}, _e = b(({ tabs: e, activeTabId: r, onTabChange: i, styles: a }) => {
|
|
489
489
|
let { tabClassName: o = "dial-tiny-semi-text" } = a?.typography ?? {};
|
|
490
|
-
return /* @__PURE__ */
|
|
490
|
+
return /* @__PURE__ */ k("div", {
|
|
491
491
|
className: "flex flex-nowrap gap-1",
|
|
492
492
|
role: "tablist",
|
|
493
493
|
style: t({
|
|
@@ -497,11 +497,11 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
497
497
|
}),
|
|
498
498
|
children: e.map((e) => {
|
|
499
499
|
let t = r === e.id;
|
|
500
|
-
return /* @__PURE__ */
|
|
500
|
+
return /* @__PURE__ */ k("div", {
|
|
501
501
|
role: "tab",
|
|
502
502
|
"aria-selected": t,
|
|
503
503
|
className: "contents",
|
|
504
|
-
children: /* @__PURE__ */
|
|
504
|
+
children: /* @__PURE__ */ k(m, {
|
|
505
505
|
label: e.label,
|
|
506
506
|
selected: t,
|
|
507
507
|
onClick: () => i(e.id),
|
|
@@ -527,9 +527,9 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
527
527
|
value: X.Organization,
|
|
528
528
|
labelKey: "organization"
|
|
529
529
|
}
|
|
530
|
-
], ye = b(({ activeTab: e, labels: t, onChange: n, tabClassName: r = "dial-tiny-semi-text" }) => /* @__PURE__ */
|
|
531
|
-
className: "
|
|
532
|
-
children: /* @__PURE__ */
|
|
530
|
+
], ye = b(({ activeTab: e, labels: t, onChange: n, tabClassName: r = "dial-tiny-semi-text" }) => /* @__PURE__ */ k("div", {
|
|
531
|
+
className: "px-3 py-2",
|
|
532
|
+
children: /* @__PURE__ */ k(_e, {
|
|
533
533
|
tabs: ve.map(({ value: e, labelKey: n }) => ({
|
|
534
534
|
id: e,
|
|
535
535
|
label: t[n]
|
|
@@ -538,38 +538,39 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
538
538
|
onTabChange: (e) => n(e),
|
|
539
539
|
styles: { typography: { tabClassName: v(r, "flex-1") } }
|
|
540
540
|
})
|
|
541
|
-
})), be = { button: "
|
|
541
|
+
})), be = { button: "_button_8xsgo_1" }, xe = b(({ label: e, onClick: r, labelClassName: i = "dial-small-semi-text", colors: a }) => /* @__PURE__ */ k("div", {
|
|
542
542
|
className: "px-3 py-2",
|
|
543
543
|
style: t({
|
|
544
544
|
"--cp-new-chat-bg": a?.background,
|
|
545
|
-
"--cp-new-chat-text": a?.text
|
|
545
|
+
"--cp-new-chat-text": a?.text,
|
|
546
|
+
"--cp-new-chat-focus-outline": a?.focusOutline
|
|
546
547
|
}),
|
|
547
|
-
children: /* @__PURE__ */
|
|
548
|
+
children: /* @__PURE__ */ A("button", {
|
|
548
549
|
onClick: r,
|
|
549
550
|
type: "button",
|
|
550
551
|
className: n("flex h-[36px] w-full cursor-pointer items-center justify-center gap-2 rounded-full px-3 py-1 shadow-sm hover:shadow-md active:shadow-xs", be.button),
|
|
551
|
-
children: [/* @__PURE__ */
|
|
552
|
+
children: [/* @__PURE__ */ k(ne, {
|
|
552
553
|
size: 18,
|
|
553
554
|
stroke: 2,
|
|
554
555
|
className: "shrink-0"
|
|
555
|
-
}), /* @__PURE__ */
|
|
556
|
+
}), /* @__PURE__ */ k("span", {
|
|
556
557
|
className: i,
|
|
557
558
|
children: e
|
|
558
559
|
})]
|
|
559
560
|
})
|
|
560
561
|
})), Z = {
|
|
561
562
|
skeletonColor: "var(--cp-skeleton-color, var(--bg-layer-4, #d1dbea))",
|
|
562
|
-
item: "
|
|
563
|
-
itemActive: "
|
|
564
|
-
groupHeader: "
|
|
565
|
-
taskBadge: "
|
|
566
|
-
dropZoneActive: "
|
|
567
|
-
triggerActive: "
|
|
568
|
-
triggerIcon: "
|
|
569
|
-
unreadDot: "
|
|
563
|
+
item: "_item_1qyc3_1",
|
|
564
|
+
itemActive: "_itemActive_1qyc3_7",
|
|
565
|
+
groupHeader: "_groupHeader_1qyc3_12",
|
|
566
|
+
taskBadge: "_taskBadge_1qyc3_16",
|
|
567
|
+
dropZoneActive: "_dropZoneActive_1qyc3_22",
|
|
568
|
+
triggerActive: "_triggerActive_1qyc3_27",
|
|
569
|
+
triggerIcon: "_triggerIcon_1qyc3_30",
|
|
570
|
+
unreadDot: "_unreadDot_1qyc3_38"
|
|
570
571
|
}, Se = ({ label: e, isExpanded: t, onToggle: r, listId: i, className: a = "dial-tiny-semi-text uppercase", dropZoneGroupKey: o, isDragOver: s, onDragOver: c, onDragLeave: l, onDrop: u }) => {
|
|
571
572
|
let f = o != null;
|
|
572
|
-
return /* @__PURE__ */
|
|
573
|
+
return /* @__PURE__ */ A("button", {
|
|
573
574
|
type: "button",
|
|
574
575
|
"aria-expanded": t,
|
|
575
576
|
"aria-controls": i,
|
|
@@ -584,112 +585,112 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
584
585
|
f && (e.preventDefault(), u?.(o, o, null));
|
|
585
586
|
} : void 0,
|
|
586
587
|
className: n("flex h-6 w-full items-center gap-1 rounded py-1 pe-3 text-start", a, Z.groupHeader, s && Z.dropZoneActive),
|
|
587
|
-
children: [t ? /* @__PURE__ */
|
|
588
|
+
children: [t ? /* @__PURE__ */ k(j, {
|
|
588
589
|
stroke: .5,
|
|
589
590
|
size: 12,
|
|
590
591
|
className: "shrink-0",
|
|
591
592
|
"aria-hidden": !0
|
|
592
|
-
}) : /* @__PURE__ */
|
|
593
|
+
}) : /* @__PURE__ */ k(M, {
|
|
593
594
|
stroke: .5,
|
|
594
595
|
size: 12,
|
|
595
596
|
className: "shrink-0 rtl:scale-x-[-1]",
|
|
596
597
|
"aria-hidden": !0
|
|
597
|
-
}), /* @__PURE__ */
|
|
598
|
+
}), /* @__PURE__ */ k(d, { text: e })]
|
|
598
599
|
});
|
|
599
|
-
}, Ce = ({ item: t, isActive: r, onSelectConversation: i, searchQuery: a = "", getActions: o, onActionMenuOpen: s, actionsLabel: d = "More actions", itemTitleClassName: m = "dial-small-text", itemIconBadgeClassName: v, taskBadgeClassName: y = "dial-caption-semi-text uppercase tracking-[0.6px]", unreadIndicatorLabel: b = "Unread", rowGroupKey: S, rows: C, draggingId: w, dragOverId: T, allowedDropGroups: E, onDragStart:
|
|
600
|
-
let [
|
|
601
|
-
|
|
602
|
-
}, [t, s]),
|
|
600
|
+
}, Ce = ({ item: t, isActive: r, onSelectConversation: i, searchQuery: a = "", getActions: o, onActionMenuOpen: s, actionsLabel: d = "More actions", itemTitleClassName: m = "dial-small-text", itemIconBadgeClassName: v, taskBadgeClassName: y = "dial-caption-semi-text uppercase tracking-[0.6px]", unreadIndicatorLabel: b = "Unread", rowGroupKey: S, rows: C, draggingId: w, dragOverId: T, allowedDropGroups: E, onDragStart: j, onDragEnd: M, onDragOver: ne, onDragLeave: P, onDrop: F }) => {
|
|
601
|
+
let [I, re] = O(!1), L = D(null), ie = x((e) => {
|
|
602
|
+
re(e), e && L.current && s?.(t, L.current);
|
|
603
|
+
}, [t, s]), R = o?.(t) ?? [], z = R.length > 0, B = t.isIconLoading ? /* @__PURE__ */ k(f, {
|
|
603
604
|
variant: p.Circular,
|
|
604
605
|
width: l.LG,
|
|
605
606
|
height: l.LG,
|
|
606
607
|
color: Z.skeletonColor,
|
|
607
608
|
"aria-hidden": !0
|
|
608
|
-
}) : /* @__PURE__ */
|
|
609
|
+
}) : /* @__PURE__ */ k(e, {
|
|
609
610
|
src: t.iconUrl,
|
|
610
611
|
size: l.LG,
|
|
611
612
|
initialsName: t.iconTooltip ?? "",
|
|
612
613
|
labels: { tooltip: t.iconTooltip },
|
|
613
614
|
styles: { badgeClassName: v }
|
|
614
|
-
}),
|
|
615
|
+
}), ae = /* @__PURE__ */ A("span", {
|
|
615
616
|
className: "flex shrink-0 items-center gap-1",
|
|
616
|
-
children: [/* @__PURE__ */
|
|
617
|
+
children: [/* @__PURE__ */ k("span", {
|
|
617
618
|
className: "relative flex size-3 shrink-0 items-center justify-center",
|
|
618
|
-
children: t.isUnread && /* @__PURE__ */
|
|
619
|
+
children: t.isUnread && /* @__PURE__ */ A(ee, { children: [/* @__PURE__ */ k("span", {
|
|
619
620
|
className: n("size-[5.33px] rounded-full", Z.unreadDot),
|
|
620
621
|
"aria-hidden": !0
|
|
621
|
-
}), /* @__PURE__ */
|
|
622
|
+
}), /* @__PURE__ */ k("span", {
|
|
622
623
|
className: "sr-only",
|
|
623
624
|
children: b
|
|
624
625
|
})] })
|
|
625
|
-
}),
|
|
626
|
-
}),
|
|
626
|
+
}), B]
|
|
627
|
+
}), V = ue(z, I), H = t.showTaskBadge ? /* @__PURE__ */ A("span", {
|
|
627
628
|
className: n("flex h-5 shrink-0 items-center justify-center gap-0.5 rounded-full border pe-2 ps-1", Z.taskBadge, y),
|
|
628
|
-
children: [/* @__PURE__ */
|
|
629
|
+
children: [/* @__PURE__ */ k(N, {
|
|
629
630
|
size: 12,
|
|
630
631
|
"aria-hidden": !0
|
|
631
632
|
}), t.taskBadgeLabel]
|
|
632
|
-
}) : void 0,
|
|
633
|
-
e.currentTarget.contains(e.relatedTarget) ||
|
|
634
|
-
}, [
|
|
635
|
-
if (!S || !C || !
|
|
633
|
+
}) : void 0, U = S != null, W = x((e) => {
|
|
634
|
+
e.currentTarget.contains(e.relatedTarget) || P?.();
|
|
635
|
+
}, [P]), G = x((e) => {
|
|
636
|
+
if (!S || !C || !F) return;
|
|
636
637
|
e.preventDefault();
|
|
637
638
|
let n = he(e, t.id, C, S);
|
|
638
|
-
|
|
639
|
+
F(t.id, S, n);
|
|
639
640
|
}, [
|
|
640
641
|
t.id,
|
|
641
642
|
C,
|
|
642
643
|
S,
|
|
643
|
-
|
|
644
|
-
]),
|
|
645
|
-
return /* @__PURE__ */
|
|
646
|
-
className: n("group/conversation relative",
|
|
647
|
-
draggable:
|
|
648
|
-
onDragStart:
|
|
649
|
-
onDragEnd:
|
|
650
|
-
onDragOver:
|
|
651
|
-
e.preventDefault(),
|
|
644
|
+
F
|
|
645
|
+
]), K = t.id === w, oe = t.id === T, q = S != null && (E?.has(S) ?? !1), J = w != null;
|
|
646
|
+
return /* @__PURE__ */ A("li", {
|
|
647
|
+
className: n("group/conversation relative", K && "cursor-grabbing opacity-50", oe && q && "rounded", oe && q && Z.dropZoneActive, J && !K && !q && "cursor-not-allowed"),
|
|
648
|
+
draggable: U || void 0,
|
|
649
|
+
onDragStart: U ? () => j?.(t.id) : void 0,
|
|
650
|
+
onDragEnd: U ? M : void 0,
|
|
651
|
+
onDragOver: U ? (e) => {
|
|
652
|
+
e.preventDefault(), ne?.(t.id);
|
|
652
653
|
} : void 0,
|
|
653
|
-
onDragLeave:
|
|
654
|
-
onDrop:
|
|
655
|
-
children: [/* @__PURE__ */
|
|
654
|
+
onDragLeave: U ? W : void 0,
|
|
655
|
+
onDrop: U ? G : void 0,
|
|
656
|
+
children: [/* @__PURE__ */ k("a", {
|
|
656
657
|
href: t.href,
|
|
657
658
|
className: "contents",
|
|
658
659
|
onClick: (e) => {
|
|
659
660
|
t.href && (e.preventDefault(), i(t.id));
|
|
660
661
|
},
|
|
661
|
-
children: /* @__PURE__ */
|
|
662
|
-
iconBefore:
|
|
663
|
-
label: /* @__PURE__ */
|
|
662
|
+
children: /* @__PURE__ */ k(c, {
|
|
663
|
+
iconBefore: ae,
|
|
664
|
+
label: /* @__PURE__ */ k(_, {
|
|
664
665
|
text: t.title,
|
|
665
666
|
query: a,
|
|
666
667
|
className: m,
|
|
667
668
|
maxLines: 1
|
|
668
669
|
}),
|
|
669
|
-
iconAfter:
|
|
670
|
+
iconAfter: H,
|
|
670
671
|
textClassName: "min-w-0 flex-1",
|
|
671
672
|
"aria-current": r ? "page" : void 0,
|
|
672
673
|
onClick: t.href ? void 0 : () => i(t.id),
|
|
673
674
|
tabIndex: t.href ? -1 : void 0,
|
|
674
|
-
className: n("h-8 w-full justify-start gap-2 rounded-xl py-2 ps-3",
|
|
675
|
+
className: n("h-8 w-full justify-start gap-2 rounded-xl py-2 ps-3", V, Z.item, r && Z.itemActive, I && Z.itemActive)
|
|
675
676
|
})
|
|
676
|
-
}),
|
|
677
|
-
className: n("absolute inset-y-0 end-1 flex items-center",
|
|
678
|
-
children: /* @__PURE__ */
|
|
679
|
-
items:
|
|
680
|
-
onOpenChange:
|
|
677
|
+
}), z && /* @__PURE__ */ k("div", {
|
|
678
|
+
className: n("absolute inset-y-0 end-1 flex items-center", I ? "opacity-100" : "opacity-0 group-focus-within/conversation:opacity-100 group-hover/conversation:opacity-100"),
|
|
679
|
+
children: /* @__PURE__ */ k(u, {
|
|
680
|
+
items: R,
|
|
681
|
+
onOpenChange: ie,
|
|
681
682
|
matchReferenceWidth: !1,
|
|
682
683
|
listClassName: "w-[140px] cp-dropdown-overlay",
|
|
683
|
-
children: /* @__PURE__ */
|
|
684
|
-
ref:
|
|
685
|
-
icon: /* @__PURE__ */
|
|
684
|
+
children: /* @__PURE__ */ k(g, {
|
|
685
|
+
ref: L,
|
|
686
|
+
icon: /* @__PURE__ */ k(te, {
|
|
686
687
|
size: l.SM,
|
|
687
688
|
className: Z.triggerIcon,
|
|
688
689
|
"aria-hidden": !0
|
|
689
690
|
}),
|
|
690
691
|
size: h.Small,
|
|
691
692
|
"aria-label": d,
|
|
692
|
-
className: n(
|
|
693
|
+
className: n(I && Z.triggerActive)
|
|
693
694
|
})
|
|
694
695
|
})
|
|
695
696
|
})]
|
|
@@ -698,11 +699,11 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
698
699
|
let S = n[e];
|
|
699
700
|
if (S.kind === Y.Header) {
|
|
700
701
|
let n = S.groupKey === X.Pinned;
|
|
701
|
-
return /* @__PURE__ */
|
|
702
|
+
return /* @__PURE__ */ k("div", {
|
|
702
703
|
role: "presentation",
|
|
703
704
|
style: t,
|
|
704
705
|
className: e === 0 ? "pt-0" : "pt-8",
|
|
705
|
-
children: /* @__PURE__ */
|
|
706
|
+
children: /* @__PURE__ */ k(Se, {
|
|
706
707
|
label: S.label,
|
|
707
708
|
isExpanded: r.has(S.groupKey),
|
|
708
709
|
onToggle: () => i(S.groupKey),
|
|
@@ -716,11 +717,11 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
716
717
|
})
|
|
717
718
|
});
|
|
718
719
|
}
|
|
719
|
-
return /* @__PURE__ */
|
|
720
|
+
return /* @__PURE__ */ k("div", {
|
|
720
721
|
role: "presentation",
|
|
721
722
|
style: t,
|
|
722
723
|
className: "pt-1",
|
|
723
|
-
children: /* @__PURE__ */
|
|
724
|
+
children: /* @__PURE__ */ k(Ce, {
|
|
724
725
|
item: S.item,
|
|
725
726
|
isActive: S.item.id === o,
|
|
726
727
|
searchQuery: s,
|
|
@@ -749,15 +750,15 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
749
750
|
X.MyChats,
|
|
750
751
|
X.Shared,
|
|
751
752
|
X.Organization
|
|
752
|
-
]), Oe = b(({ conversations: e, isLoading: c, isOpen: l, onSelectConversation: u, activeConversationId: d, labels: p, onNewChat: m, styles: h, className: g, getActions: _, onActionMenuOpen: v, onToggle: y, headerActions: b, onMoveConversation: w, activeFilter: T, onActiveFilterChange:
|
|
753
|
-
let { colors:
|
|
753
|
+
]), Oe = b(({ conversations: e, isLoading: c, isOpen: l, onSelectConversation: u, activeConversationId: d, labels: p, onNewChat: m, styles: h, className: g, getActions: _, onActionMenuOpen: v, onToggle: y, headerActions: b, onMoveConversation: w, activeFilter: T, onActiveFilterChange: ee }) => {
|
|
754
|
+
let { colors: j, typography: M, newChatButton: N } = h ?? {}, { title: te, emptyLabel: ne, noResultsLabel: P, loadingLabel: F = "Loading conversations", newChatLabel: I, searchPlaceholder: re, searchClearLabel: L, filterLabels: ie, groupLabels: R, actionsLabel: z, unreadIndicatorLabel: B, closeAriaLabel: ae } = p, [V, H] = O(""), [U, W] = O(X.All);
|
|
754
755
|
S(() => {
|
|
755
|
-
T != null &&
|
|
756
|
+
T != null && W(T);
|
|
756
757
|
}, [T]);
|
|
757
|
-
let [
|
|
758
|
+
let [G, K] = O(() => De), [oe, q] = O(5), J = C(), se = D(null), ue = D(null), [fe, he] = O(null), [ge, _e] = O(null), [ve, be] = O(null), Se = D(null), Ce = D(null), Oe = x(({ height: e }) => {
|
|
758
759
|
q(Math.ceil(e / 36 * 2));
|
|
759
760
|
}, []), ke = x((e) => {
|
|
760
|
-
|
|
761
|
+
K((t) => {
|
|
761
762
|
let n = new Set(t);
|
|
762
763
|
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
763
764
|
});
|
|
@@ -780,48 +781,49 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
780
781
|
afterId: n
|
|
781
782
|
});
|
|
782
783
|
}, [Ae, w]), Ie = t({
|
|
783
|
-
"--cp-item-hover":
|
|
784
|
-
"--cp-item-active":
|
|
785
|
-
"--cp-text":
|
|
786
|
-
"--cp-text-secondary":
|
|
787
|
-
"--cp-new-chat-bg":
|
|
788
|
-
"--cp-new-chat-text":
|
|
789
|
-
"--cp-
|
|
790
|
-
"--cp-
|
|
791
|
-
"--cp-trigger-
|
|
792
|
-
"--cp-trigger-icon
|
|
793
|
-
"--cp-
|
|
794
|
-
"--cp-
|
|
795
|
-
"--cp-task-badge-
|
|
796
|
-
"--cp-task-badge-
|
|
797
|
-
"--cp-
|
|
798
|
-
|
|
784
|
+
"--cp-item-hover": j?.itemHover,
|
|
785
|
+
"--cp-item-active": j?.itemActive,
|
|
786
|
+
"--cp-text": j?.text,
|
|
787
|
+
"--cp-text-secondary": j?.textSecondary,
|
|
788
|
+
"--cp-new-chat-bg": N?.background,
|
|
789
|
+
"--cp-new-chat-text": N?.text,
|
|
790
|
+
"--cp-new-chat-focus-outline": N?.focusOutline,
|
|
791
|
+
"--cp-drop-zone-ring": j?.dropZoneRing,
|
|
792
|
+
"--cp-trigger-bg": j?.triggerBackground,
|
|
793
|
+
"--cp-trigger-icon": j?.triggerIcon,
|
|
794
|
+
"--cp-trigger-icon-idle": j?.triggerIconIdle,
|
|
795
|
+
"--cp-skeleton-color": j?.skeletonColor,
|
|
796
|
+
"--cp-task-badge-border": j?.taskBadgeBorder,
|
|
797
|
+
"--cp-task-badge-bg": j?.taskBadgeBackground,
|
|
798
|
+
"--cp-task-badge-text": j?.taskBadgeText,
|
|
799
|
+
"--cp-unread-dot": j?.unreadDot
|
|
800
|
+
}), Q = E(() => e.filter((e) => Te(e, U) && Ee(e, V)), [
|
|
799
801
|
e,
|
|
800
|
-
|
|
801
|
-
|
|
802
|
+
U,
|
|
803
|
+
V
|
|
802
804
|
]), Le = E(() => Q.filter((e) => e.isPinned), [Q]), Re = E(() => Q.filter((e) => !e.isPinned && e.source !== X.Shared && e.source !== X.Organization), [Q]), ze = E(() => Q.filter((e) => !e.isPinned && e.source === X.Shared), [Q]), Be = E(() => Q.filter((e) => !e.isPinned && e.source === X.Organization), [Q]), Ve = E(() => [
|
|
803
805
|
{
|
|
804
806
|
key: X.Pinned,
|
|
805
|
-
label:
|
|
807
|
+
label: R?.pinned ?? "Pinned",
|
|
806
808
|
items: Le
|
|
807
809
|
},
|
|
808
810
|
{
|
|
809
811
|
key: X.MyChats,
|
|
810
|
-
label:
|
|
812
|
+
label: R?.myChats ?? "My chats",
|
|
811
813
|
items: Re
|
|
812
814
|
},
|
|
813
815
|
{
|
|
814
816
|
key: X.Shared,
|
|
815
|
-
label:
|
|
817
|
+
label: R?.shared ?? "Shared",
|
|
816
818
|
items: ze
|
|
817
819
|
},
|
|
818
820
|
{
|
|
819
821
|
key: X.Organization,
|
|
820
|
-
label:
|
|
822
|
+
label: R?.organization ?? "Organization",
|
|
821
823
|
items: Be
|
|
822
824
|
}
|
|
823
825
|
], [
|
|
824
|
-
|
|
826
|
+
R,
|
|
825
827
|
Le,
|
|
826
828
|
Re,
|
|
827
829
|
ze,
|
|
@@ -832,13 +834,13 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
832
834
|
kind: Y.Header,
|
|
833
835
|
groupKey: t.key,
|
|
834
836
|
label: t.label
|
|
835
|
-
}),
|
|
837
|
+
}), G.has(t.key))) for (let n of t.items) e.push({
|
|
836
838
|
kind: Y.Item,
|
|
837
839
|
item: n,
|
|
838
840
|
groupKey: t.key
|
|
839
841
|
});
|
|
840
842
|
return e;
|
|
841
|
-
}, [Ve,
|
|
843
|
+
}, [Ve, G]);
|
|
842
844
|
S(() => {
|
|
843
845
|
if (!d || ue.current === d) return;
|
|
844
846
|
let e = $.findIndex((e) => e.kind === Y.Item && e.item.id === d);
|
|
@@ -850,24 +852,24 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
850
852
|
}, [
|
|
851
853
|
d,
|
|
852
854
|
Ve,
|
|
853
|
-
|
|
855
|
+
G,
|
|
854
856
|
$
|
|
855
857
|
]);
|
|
856
858
|
let He = E(() => ({
|
|
857
859
|
rows: $,
|
|
858
|
-
expandedGroups:
|
|
860
|
+
expandedGroups: G,
|
|
859
861
|
onToggleGroup: ke,
|
|
860
862
|
listId: J,
|
|
861
863
|
activeConversationId: d,
|
|
862
|
-
searchQuery:
|
|
864
|
+
searchQuery: V,
|
|
863
865
|
onSelectConversation: u,
|
|
864
866
|
getActions: _,
|
|
865
867
|
onActionMenuOpen: v,
|
|
866
|
-
actionsLabel:
|
|
867
|
-
unreadIndicatorLabel:
|
|
868
|
+
actionsLabel: z,
|
|
869
|
+
unreadIndicatorLabel: B,
|
|
868
870
|
styles: {
|
|
869
|
-
groupHeaderClassName:
|
|
870
|
-
itemTitleClassName:
|
|
871
|
+
groupHeaderClassName: M?.groupHeaderClassName,
|
|
872
|
+
itemTitleClassName: M?.itemTitleClassName,
|
|
871
873
|
itemIconBadgeClassName: h?.itemIconBadgeClassName,
|
|
872
874
|
taskBadgeClassName: h?.taskBadgeClassName
|
|
873
875
|
},
|
|
@@ -881,18 +883,18 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
881
883
|
onDrop: Fe
|
|
882
884
|
}), [
|
|
883
885
|
$,
|
|
884
|
-
|
|
886
|
+
G,
|
|
885
887
|
ke,
|
|
886
888
|
J,
|
|
887
889
|
d,
|
|
888
|
-
|
|
890
|
+
V,
|
|
889
891
|
u,
|
|
890
892
|
_,
|
|
891
893
|
v,
|
|
894
|
+
z,
|
|
892
895
|
B,
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
N?.itemTitleClassName,
|
|
896
|
+
M?.groupHeaderClassName,
|
|
897
|
+
M?.itemTitleClassName,
|
|
896
898
|
h?.itemIconBadgeClassName,
|
|
897
899
|
h?.taskBadgeClassName,
|
|
898
900
|
fe,
|
|
@@ -904,69 +906,69 @@ var Y = /* @__PURE__ */ function(e) {
|
|
|
904
906
|
Pe,
|
|
905
907
|
Fe
|
|
906
908
|
]), Ue = e.length === 0, We = e.length > 0 && Q.length === 0;
|
|
907
|
-
return /* @__PURE__ */
|
|
909
|
+
return /* @__PURE__ */ A(s, {
|
|
908
910
|
isOpen: l,
|
|
909
911
|
orientation: o.Left,
|
|
910
|
-
title:
|
|
912
|
+
title: te,
|
|
911
913
|
labels: {
|
|
912
|
-
ariaLabel:
|
|
913
|
-
closeLabel:
|
|
914
|
+
ariaLabel: te,
|
|
915
|
+
closeLabel: ae
|
|
914
916
|
},
|
|
915
917
|
onClose: y,
|
|
916
918
|
styles: {
|
|
917
919
|
colors: {
|
|
918
|
-
background:
|
|
919
|
-
border:
|
|
920
|
+
background: j?.background,
|
|
921
|
+
border: j?.border
|
|
920
922
|
},
|
|
921
|
-
typography: { fontClassName:
|
|
923
|
+
typography: { fontClassName: M?.fontClassName },
|
|
922
924
|
bodyClassName: "flex flex-col overflow-hidden p-0 gap-3",
|
|
923
925
|
cssVars: Ie,
|
|
924
|
-
titleClassName:
|
|
926
|
+
titleClassName: M?.fontClassName,
|
|
925
927
|
headerClassName: "h-[64px]",
|
|
926
|
-
className: n(l ? "w-[
|
|
928
|
+
className: n(l ? "w-[324px] mobile:w-full" : "w-0", g)
|
|
927
929
|
},
|
|
928
930
|
rightActions: b,
|
|
929
931
|
children: [
|
|
930
|
-
/* @__PURE__ */
|
|
931
|
-
label:
|
|
932
|
+
/* @__PURE__ */ k(xe, {
|
|
933
|
+
label: I,
|
|
932
934
|
onClick: m,
|
|
933
|
-
labelClassName:
|
|
934
|
-
colors:
|
|
935
|
+
labelClassName: M?.newChatLabelClassName,
|
|
936
|
+
colors: N
|
|
935
937
|
}),
|
|
936
|
-
/* @__PURE__ */
|
|
937
|
-
value:
|
|
938
|
-
onChange:
|
|
938
|
+
/* @__PURE__ */ k(a, {
|
|
939
|
+
value: V,
|
|
940
|
+
onChange: H,
|
|
939
941
|
labels: {
|
|
940
|
-
placeholder:
|
|
941
|
-
clearLabel:
|
|
942
|
+
placeholder: re,
|
|
943
|
+
clearLabel: L
|
|
942
944
|
}
|
|
943
945
|
}),
|
|
944
|
-
/* @__PURE__ */
|
|
945
|
-
activeTab:
|
|
946
|
-
labels:
|
|
946
|
+
/* @__PURE__ */ k(ye, {
|
|
947
|
+
activeTab: U,
|
|
948
|
+
labels: ie,
|
|
947
949
|
onChange: (e) => {
|
|
948
|
-
|
|
950
|
+
W(e), ee?.(e);
|
|
949
951
|
},
|
|
950
|
-
tabClassName:
|
|
952
|
+
tabClassName: M?.tabClassName
|
|
951
953
|
}),
|
|
952
|
-
/* @__PURE__ */
|
|
954
|
+
/* @__PURE__ */ k("span", {
|
|
953
955
|
role: "status",
|
|
954
956
|
"aria-live": "polite",
|
|
955
957
|
className: "sr-only",
|
|
956
|
-
children: c ?
|
|
958
|
+
children: c ? F : Ue ? ne : We ? P : ""
|
|
957
959
|
}),
|
|
958
|
-
/* @__PURE__ */
|
|
960
|
+
/* @__PURE__ */ k("div", {
|
|
959
961
|
className: "flex-1 overflow-hidden px-2 py-1",
|
|
960
|
-
children: c ? /* @__PURE__ */
|
|
962
|
+
children: c ? /* @__PURE__ */ k("div", {
|
|
961
963
|
className: "flex flex-col gap-3 px-2 py-3",
|
|
962
|
-
children: Array.from({ length: 15 }, (e, t) => /* @__PURE__ */
|
|
964
|
+
children: Array.from({ length: 15 }, (e, t) => /* @__PURE__ */ k(f, {
|
|
963
965
|
avatar: { size: 24 },
|
|
964
966
|
showTitle: { width: le(t) },
|
|
965
967
|
paragraph: !1,
|
|
966
968
|
active: !0,
|
|
967
969
|
color: Z.skeletonColor
|
|
968
970
|
}, t))
|
|
969
|
-
}) : Ue ? /* @__PURE__ */
|
|
971
|
+
}) : Ue ? /* @__PURE__ */ k(r, { label: ne }) : We ? /* @__PURE__ */ k(i, { label: P }) : /* @__PURE__ */ k(ce, {
|
|
970
972
|
listRef: se,
|
|
971
973
|
id: J,
|
|
972
974
|
role: "list",
|
package/models/panel-props.d.ts
CHANGED
|
@@ -56,6 +56,8 @@ export interface NewChatButtonColors {
|
|
|
56
56
|
background?: string;
|
|
57
57
|
/** Label and icon color. */
|
|
58
58
|
text?: string;
|
|
59
|
+
/** Keyboard focus ring color. Defaults to `--stroke-focus-black`. */
|
|
60
|
+
focusOutline?: string;
|
|
59
61
|
}
|
|
60
62
|
/** CSS custom-property overrides for `ConversationPanel`. */
|
|
61
63
|
export interface ConversationColors {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-props.d.ts","sourceRoot":"","sources":["../../src/models/panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEjE,kCAAkC;AAClC,MAAM,WAAW,YAAY;IAC3B,+BAA+B;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,8DAA8D;AAC9D,MAAM,WAAW,gBAAgB;IAC/B,qDAAqD;IACrD,EAAE,EAAE,MAAM,CAAC;IACX,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,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AC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8FAA8F;IAC9F,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,YAAY,EAAE,CAAC;IACxD,wEAAwE;IACxE,gBAAgB,CAAC,EAAE,CACjB,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,iBAAiB,KACvB,IAAI,CAAC;IACV,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACtD,gGAAgG;IAChG,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,iDAAiD;IACjD,oBAAoB,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,CAAC;CACjD;AAED,0EAA0E;AAC1E,MAAM,WAAW,gBAAgB;IAC/B,+CAA+C;IAC/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.121",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"react-window": "^2.2.7",
|
|
21
|
-
"@epam/ai-dial-kit": "1.1.0-dev.
|
|
21
|
+
"@epam/ai-dial-kit": "1.1.0-dev.121",
|
|
22
22
|
"@epam/ai-dial-ui-kit": "^0.13.0-dev.26"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^19.0.0",
|
|
26
26
|
"@tabler/icons-react": "^3.0.0",
|
|
27
|
-
"@epam/ai-dial-chat-shared": "1.1.0-dev.
|
|
28
|
-
"@epam/ai-dial-sidebar": "1.1.0-dev.
|
|
27
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.121",
|
|
28
|
+
"@epam/ai-dial-sidebar": "1.1.0-dev.121"
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|