@epam/ai-dial-conversation-panel 1.1.0-dev.45 → 1.1.0-dev.49

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/index.js CHANGED
@@ -60,7 +60,7 @@ function ee(e) {
60
60
  }, [e]), S((e) => t.current?.(e), [t]);
61
61
  }
62
62
  var z = null;
63
- function te(e = !1) {
63
+ function B(e = !1) {
64
64
  if (z === 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";
@@ -69,8 +69,8 @@ function te(e = !1) {
69
69
  }
70
70
  return z;
71
71
  }
72
- function B({ containerElement: e, direction: t, isRtl: n, scrollOffset: r }) {
73
- if (t === "horizontal" && n) switch (te()) {
72
+ function V({ containerElement: e, direction: t, isRtl: n, scrollOffset: r }) {
73
+ if (t === "horizontal" && n) switch (B()) {
74
74
  case "negative": return -r;
75
75
  case "positive-descending":
76
76
  if (e) {
@@ -81,26 +81,26 @@ function B({ containerElement: e, direction: t, isRtl: n, scrollOffset: r }) {
81
81
  }
82
82
  return r;
83
83
  }
84
- function V(e, t = "Assertion error") {
84
+ function H(e, t = "Assertion error") {
85
85
  if (!e) throw console.error(t), Error(t);
86
86
  }
87
- function H(e, t) {
87
+ function U(e, t) {
88
88
  if (e === t) return !0;
89
- if (!!e != !!t || (V(e !== void 0), V(t !== void 0), Object.keys(e).length !== Object.keys(t).length)) return !1;
89
+ if (!!e != !!t || (H(e !== void 0), H(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 U({ cachedBounds: e, itemCount: t, itemSize: n }) {
93
+ function te({ 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 V(n !== void 0, "Unexpected bounds cache miss"), t * ((n.scrollOffset + n.size) / e.size);
98
+ return H(n !== void 0, "Unexpected bounds cache miss"), t * ((n.scrollOffset + n.size) / e.size);
99
99
  }
100
100
  }
101
- function ne({ align: e, cachedBounds: t, index: n, itemCount: r, itemSize: i, containerScrollOffset: a, containerSize: o }) {
101
+ function W({ 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 = U({
103
+ let s = te({
104
104
  cachedBounds: t,
105
105
  itemCount: r,
106
106
  itemSize: i
@@ -112,7 +112,7 @@ function ne({ align: e, cachedBounds: t, index: n, itemCount: r, itemSize: i, co
112
112
  default: return a >= u && a <= l ? a : a < u ? u : l;
113
113
  }
114
114
  }
115
- function W({ cachedBounds: e, containerScrollOffset: t, containerSize: n, itemCount: r, overscanCount: i }) {
115
+ function G({ 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 W({ cachedBounds: e, containerScrollOffset: t, containerSize: n, itemCo
131
131
  stopIndexOverscan: l
132
132
  };
133
133
  }
134
- function G({ itemCount: e, itemProps: t, itemSize: n }) {
134
+ function K({ itemCount: e, itemProps: t, itemSize: n }) {
135
135
  let r = /* @__PURE__ */ new Map();
136
136
  return {
137
137
  get(i) {
138
- for (V(i < e, `Invalid index ${i}`); r.size - 1 < i;) {
138
+ for (H(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 G({ itemCount: e, itemProps: t, itemSize: n }) {
151
151
  });
152
152
  else {
153
153
  let t = r.get(e - 1);
154
- V(t !== void 0, `Unexpected bounds cache miss for index ${i}`), r.set(e, {
154
+ H(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 V(a !== void 0, `Unexpected bounds cache miss for index ${i}`), a;
161
+ return H(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 G({ itemCount: e, itemProps: t, itemSize: n }) {
168
168
  }
169
169
  };
170
170
  }
171
- function K({ itemCount: e, itemProps: t, itemSize: n }) {
172
- return D(() => G({
171
+ function q({ itemCount: e, itemProps: t, itemSize: n }) {
172
+ return D(() => K({
173
173
  itemCount: e,
174
174
  itemProps: t,
175
175
  itemSize: n
@@ -179,11 +179,11 @@ function K({ itemCount: e, itemProps: t, itemSize: n }) {
179
179
  n
180
180
  ]);
181
181
  }
182
- function re({ containerSize: e, itemSize: t }) {
182
+ function J({ containerSize: e, itemSize: t }) {
183
183
  let n;
184
184
  switch (typeof t) {
185
185
  case "string":
186
- V(t.endsWith("%"), `Invalid item size: "${t}"; string values must be percentages (e.g. "100%")`), V(e !== void 0, "Container size must be defined if a percentage item size is specified"), n = e * parseInt(t) / 100;
186
+ H(t.endsWith("%"), `Invalid item size: "${t}"; string values must be percentages (e.g. "100%")`), H(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,7 +191,7 @@ function re({ containerSize: e, itemSize: t }) {
191
191
  }
192
192
  return n;
193
193
  }
194
- function ie({ containerElement: e, containerStyle: t, defaultContainerSize: n = 0, direction: r, isRtl: i = !1, itemCount: a, itemProps: o, itemSize: s, onResize: c, overscanCount: l }) {
194
+ function ne({ 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 } = R({
196
196
  defaultHeight: r === "vertical" ? n : void 0,
197
197
  defaultWidth: r === "horizontal" ? n : void 0,
@@ -201,7 +201,7 @@ function ie({ containerElement: e, containerStyle: t, defaultContainerSize: n =
201
201
  }), f = O({
202
202
  height: 0,
203
203
  width: 0
204
- }), p = r === "vertical" ? u : d, m = re({
204
+ }), p = r === "vertical" ? u : d, m = J({
205
205
  containerSize: p,
206
206
  itemSize: s
207
207
  });
@@ -218,11 +218,11 @@ function ie({ containerElement: e, containerStyle: t, defaultContainerSize: n =
218
218
  c,
219
219
  d
220
220
  ]);
221
- let h = K({
221
+ let h = q({
222
222
  itemCount: a,
223
223
  itemProps: o,
224
224
  itemSize: m
225
- }), g = S((e) => h.get(e), [h]), [_, v] = k(() => W({
225
+ }), g = S((e) => h.get(e), [h]), [_, v] = k(() => G({
226
226
  cachedBounds: h,
227
227
  containerScrollOffset: 0,
228
228
  containerSize: p,
@@ -233,7 +233,7 @@ function ie({ 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 = S(() => U({
236
+ }, w = S(() => te({
237
237
  cachedBounds: h,
238
238
  itemCount: a,
239
239
  itemSize: m
@@ -241,9 +241,9 @@ function ie({ containerElement: e, containerStyle: t, defaultContainerSize: n =
241
241
  h,
242
242
  a,
243
243
  m
244
- ]), T = S((t) => W({
244
+ ]), T = S((t) => G({
245
245
  cachedBounds: h,
246
- containerScrollOffset: B({
246
+ containerScrollOffset: V({
247
247
  containerElement: e,
248
248
  direction: r,
249
249
  isRtl: i,
@@ -271,9 +271,9 @@ function ie({ containerElement: e, containerStyle: t, defaultContainerSize: n =
271
271
  if (!e) return;
272
272
  let t = () => {
273
273
  v((t) => {
274
- let { scrollLeft: n, scrollTop: o } = e, s = W({
274
+ let { scrollLeft: n, scrollTop: o } = e, s = G({
275
275
  cachedBounds: h,
276
- containerScrollOffset: B({
276
+ containerScrollOffset: V({
277
277
  containerElement: e,
278
278
  direction: r,
279
279
  isRtl: i,
@@ -283,7 +283,7 @@ function ie({ containerElement: e, containerStyle: t, defaultContainerSize: n =
283
283
  itemCount: a,
284
284
  overscanCount: l
285
285
  });
286
- return H(s, t) ? t : s;
286
+ return U(s, t) ? t : s;
287
287
  });
288
288
  };
289
289
  return e.addEventListener("scroll", t), () => {
@@ -300,7 +300,7 @@ function ie({ containerElement: e, containerStyle: t, defaultContainerSize: n =
300
300
  getCellBounds: g,
301
301
  getEstimatedSize: w,
302
302
  scrollToIndex: ee(({ align: t = "auto", containerScrollOffset: n, index: o }) => {
303
- let s = ne({
303
+ let s = W({
304
304
  align: t,
305
305
  cachedBounds: h,
306
306
  containerScrollOffset: n,
@@ -310,14 +310,14 @@ function ie({ containerElement: e, containerStyle: t, defaultContainerSize: n =
310
310
  itemSize: m
311
311
  });
312
312
  if (e) {
313
- if (s = B({
313
+ if (s = V({
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 = T(s);
320
- H(_, e) || v(e);
320
+ U(_, e) || v(e);
321
321
  }
322
322
  return s;
323
323
  }
@@ -328,19 +328,19 @@ function ie({ containerElement: e, containerStyle: t, defaultContainerSize: n =
328
328
  stopIndexVisible: x
329
329
  };
330
330
  }
331
- function ae(e) {
331
+ function re(e) {
332
332
  return D(() => e, Object.values(e));
333
333
  }
334
- function oe(e, t) {
334
+ function ie(e, t) {
335
335
  let { ariaAttributes: n, style: r, ...i } = e, { ariaAttributes: a, style: o, ...s } = t;
336
- return H(n, a) && H(r, o) && H(i, s);
336
+ return U(n, a) && U(r, o) && U(i, s);
337
337
  }
338
- function se(e) {
338
+ function ae(e) {
339
339
  return typeof e == "object" && !!e && "getAverageRowHeight" in e && typeof e.getAverageRowHeight == "function";
340
340
  }
341
- var ce = "data-react-window-index";
342
- function le({ 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 = ae(u), h = D(() => x(s, oe), [s]), [g, _] = k(null), v = se(l), { getCellBounds: y, getEstimatedSize: S, scrollToIndex: w, startIndexOverscan: E, startIndexVisible: O, stopIndexOverscan: j, stopIndexVisible: M } = ie({
341
+ var oe = "data-react-window-index";
342
+ function se({ 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 = re(u), h = D(() => x(s, ie), [s]), [g, _] = k(null), v = ae(l), { getCellBounds: y, getEstimatedSize: S, scrollToIndex: w, startIndexOverscan: E, startIndexVisible: O, stopIndexOverscan: j, stopIndexVisible: M } = ne({
344
344
  containerElement: g,
345
345
  containerStyle: f,
346
346
  defaultContainerSize: n,
@@ -371,7 +371,7 @@ function le({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
371
371
  let e = Array.from(g.children).filter((e, t) => {
372
372
  if (e.hasAttribute("aria-hidden")) return !1;
373
373
  let n = `${E + t}`;
374
- return e.setAttribute(ce, n), !0;
374
+ return e.setAttribute(oe, n), !0;
375
375
  });
376
376
  if (v) return l.observeRowElements(e);
377
377
  }, [
@@ -450,42 +450,42 @@ function le({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
450
450
  }
451
451
  //#endregion
452
452
  //#region src/types/virtual-row.ts
453
- var q = /* @__PURE__ */ function(e) {
453
+ var Y = /* @__PURE__ */ function(e) {
454
454
  return e.Header = "header", e.Item = "item", e;
455
- }({}), J = /* @__PURE__ */ function(e) {
455
+ }({}), X = /* @__PURE__ */ function(e) {
456
456
  return e.All = "all", e.Pinned = "pinned", e.MyChats = "my-chats", e.Shared = "shared", e.Organization = "organization", e;
457
- }({}), ue = (e) => `${60 + e * 23 % 35}%`, de = (e, t) => e ? t ? "pe-9" : "pe-2 group-hover/conversation:pe-9" : "pe-3", fe = (e, t) => t.rows[e].kind === q.Item ? 36 : e === 0 ? 24 : 56, pe = (e) => {
457
+ }({}), ce = (e) => `${60 + e * 23 % 35}%`, le = (e, t) => e ? t ? "pe-9" : "pe-2 group-hover/conversation:pe-9" : "pe-3", ue = (e, t) => t.rows[e].kind === Y.Item ? 36 : e === 0 ? 24 : 56, de = (e) => {
458
458
  switch (e) {
459
- case J.Shared: return J.Shared;
460
- case J.Organization: return J.Organization;
461
- default: return J.MyChats;
459
+ case X.Shared: return X.Shared;
460
+ case X.Organization: return X.Organization;
461
+ default: return X.MyChats;
462
462
  }
463
- }, me = (e, t) => {
463
+ }, fe = (e, t) => {
464
464
  let n = null;
465
- for (let r of e) if (r.kind === q.Header) n = r.groupKey;
465
+ for (let r of e) if (r.kind === Y.Header) n = r.groupKey;
466
466
  else if (r.item.id === t) return n;
467
467
  return null;
468
- }, he = (e, t, n) => {
468
+ }, pe = (e, t, n) => {
469
469
  let r = /* @__PURE__ */ new Set();
470
- if (t != null && r.add(t), t === J.Pinned) {
470
+ if (t != null && r.add(t), t === X.Pinned) {
471
471
  let t = n.find((t) => t.id === e);
472
- t && r.add(pe(t.source));
473
- } else r.add(J.Pinned);
472
+ t && r.add(de(t.source));
473
+ } else r.add(X.Pinned);
474
474
  return r;
475
- }, ge = (e, t, n, r) => {
475
+ }, me = (e, t, n, r) => {
476
476
  let i = e.currentTarget.getBoundingClientRect();
477
477
  if (e.clientY >= i.top + i.height / 2) return t;
478
478
  let a = null, o = !1;
479
- for (let e of n) if (e.kind === q.Header) o = e.groupKey === r;
479
+ for (let e of n) if (e.kind === Y.Header) o = e.groupKey === r;
480
480
  else if (o) {
481
481
  if (e.item.id === t) return a;
482
482
  a = e.item.id;
483
483
  }
484
484
  return null;
485
- }, Y = {
485
+ }, he = {
486
486
  tabContainer: "_tabContainer_rzv03_1",
487
487
  tabActive: "_tabActive_rzv03_13"
488
- }, _e = x(({ tabs: e, activeTabId: t, onTabChange: n, styles: i }) => {
488
+ }, ge = x(({ tabs: e, activeTabId: t, onTabChange: n, styles: i }) => {
489
489
  let { tabClassName: a = "dial-tiny-semi-text" } = i?.typography ?? {};
490
490
  return /* @__PURE__ */ A("div", {
491
491
  className: "flex flex-nowrap gap-1",
@@ -500,32 +500,32 @@ var q = /* @__PURE__ */ function(e) {
500
500
  label: e.label,
501
501
  selected: i,
502
502
  onClick: () => n(e.id),
503
- className: r("box-border h-auto shrink-0 justify-center rounded-full p-2 text-center", a, Y.tabContainer, i && Y.tabActive)
503
+ className: r("box-border h-auto shrink-0 justify-center rounded-full p-2 text-center", a, he.tabContainer, i && he.tabActive)
504
504
  })
505
505
  }, e.id);
506
506
  })
507
507
  });
508
- }), ve = [
508
+ }), _e = [
509
509
  {
510
- value: J.All,
510
+ value: X.All,
511
511
  labelKey: "all"
512
512
  },
513
513
  {
514
- value: J.MyChats,
514
+ value: X.MyChats,
515
515
  labelKey: "myChats"
516
516
  },
517
517
  {
518
- value: J.Shared,
518
+ value: X.Shared,
519
519
  labelKey: "shared"
520
520
  },
521
521
  {
522
- value: J.Organization,
522
+ value: X.Organization,
523
523
  labelKey: "organization"
524
524
  }
525
- ], ye = x(({ activeTab: e, labels: t, onChange: n, tabClassName: r = "dial-tiny-semi-text" }) => /* @__PURE__ */ A("div", {
525
+ ], ve = x(({ activeTab: e, labels: t, onChange: n, tabClassName: r = "dial-tiny-semi-text" }) => /* @__PURE__ */ A("div", {
526
526
  className: "mx-3 my-2",
527
- children: /* @__PURE__ */ A(_e, {
528
- tabs: ve.map(({ value: e, labelKey: n }) => ({
527
+ children: /* @__PURE__ */ A(ge, {
528
+ tabs: _e.map(({ value: e, labelKey: n }) => ({
529
529
  id: e,
530
530
  label: t[n]
531
531
  })),
@@ -533,39 +533,51 @@ var q = /* @__PURE__ */ function(e) {
533
533
  onTabChange: (e) => n(e),
534
534
  styles: { typography: { tabClassName: y(r, "flex-1") } }
535
535
  })
536
- })), be = { button: "_button_1ggx8_1" }, xe = x(({ label: e, onClick: t, labelClassName: n = "dial-small-semi-text" }) => /* @__PURE__ */ A("div", {
536
+ })), ye = { button: "_button_hbyrw_1" }, be = x(({ label: e, onClick: t, labelClassName: i = "dial-small-semi-text", colors: a }) => /* @__PURE__ */ A("div", {
537
537
  className: "px-3 py-2",
538
+ style: n({
539
+ "--cp-new-chat-bg": a?.background,
540
+ "--cp-new-chat-hover": a?.hoverBackground,
541
+ "--cp-new-chat-active": a?.activeBackground,
542
+ "--cp-new-chat-text": a?.text,
543
+ "--cp-new-chat-shadow-blue": a?.shadowBlue,
544
+ "--cp-new-chat-shadow-blue-hover": a?.shadowBlueHover,
545
+ "--cp-new-chat-shadow-blue-active": a?.shadowBlueActive,
546
+ "--cp-new-chat-shadow-purple": a?.shadowPurple,
547
+ "--cp-new-chat-shadow-purple-hover": a?.shadowPurpleHover,
548
+ "--cp-new-chat-shadow-purple-active": a?.shadowPurpleActive
549
+ }),
538
550
  children: /* @__PURE__ */ j("button", {
539
551
  onClick: t,
540
552
  type: "button",
541
- className: r("flex h-[36px] w-full cursor-pointer items-center justify-center gap-2 rounded-full px-3 py-1", be.button),
553
+ className: r("flex h-[36px] w-full cursor-pointer items-center justify-center gap-2 rounded-full px-3 py-1", ye.button),
542
554
  children: [/* @__PURE__ */ A(F, {
543
555
  size: 18,
544
556
  stroke: 2,
545
557
  className: "shrink-0"
546
558
  }), /* @__PURE__ */ A("span", {
547
- className: n,
559
+ className: i,
548
560
  children: e
549
561
  })]
550
562
  })
551
- })), X = {
563
+ })), Z = {
552
564
  skeletonColor: "var(--cp-skeleton-color, var(--bg-layer-4, #d1dbea))",
553
- header: "_header_1nqh6_1",
554
- item: "_item_1nqh6_5",
555
- itemActive: "_itemActive_1nqh6_11",
556
- groupHeader: "_groupHeader_1nqh6_16",
557
- dropZoneActive: "_dropZoneActive_1nqh6_21",
558
- trigger: "_trigger_1nqh6_29",
559
- triggerActive: "_triggerActive_1nqh6_29",
560
- triggerIcon: "_triggerIcon_1nqh6_32"
561
- }, Se = ({ item: n, isActive: i, onSelectConversation: a, searchQuery: o = "", getActions: s, onActionMenuOpen: c, actionsLabel: p = "More actions", itemTitleClassName: _ = "dial-small-text", itemIconBadgeClassName: y, rowGroupKey: b, rows: x, draggingId: C, dragOverId: w, allowedDropGroups: T, onDragStart: E, onDragEnd: D, onDragOver: M, onDragLeave: N, onDrop: F }) => {
565
+ header: "_header_njmps_1",
566
+ item: "_item_njmps_5",
567
+ itemActive: "_itemActive_njmps_11",
568
+ groupHeader: "_groupHeader_njmps_16",
569
+ dropZoneActive: "_dropZoneActive_njmps_21",
570
+ trigger: "_trigger_njmps_29",
571
+ triggerActive: "_triggerActive_njmps_29",
572
+ triggerIcon: "_triggerIcon_njmps_32"
573
+ }, xe = ({ item: n, isActive: i, onSelectConversation: a, searchQuery: o = "", getActions: s, onActionMenuOpen: c, actionsLabel: p = "More actions", itemTitleClassName: _ = "dial-small-text", itemIconBadgeClassName: y, rowGroupKey: b, rows: x, draggingId: C, dragOverId: w, allowedDropGroups: T, onDragStart: E, onDragEnd: D, onDragOver: M, onDragLeave: N, onDrop: F }) => {
562
574
  let [I, L] = k(!1), R = O(null), ee = S((e) => {
563
575
  L(e), e && R.current && c?.(n, R.current);
564
- }, [n, c]), z = s?.(n) ?? [], te = z.length > 0, B = n.isIconLoading ? /* @__PURE__ */ A(h, {
576
+ }, [n, c]), z = s?.(n) ?? [], B = z.length > 0, V = n.isIconLoading ? /* @__PURE__ */ A(h, {
565
577
  variant: g.Circular,
566
578
  width: u.LG,
567
579
  height: u.LG,
568
- color: X.skeletonColor,
580
+ color: Z.skeletonColor,
569
581
  "aria-hidden": !0
570
582
  }) : /* @__PURE__ */ A(e, {
571
583
  src: n.iconUrl,
@@ -573,29 +585,29 @@ var q = /* @__PURE__ */ function(e) {
573
585
  initialsName: n.iconTooltip ?? "",
574
586
  labels: { tooltip: n.iconTooltip },
575
587
  styles: { badgeClassName: y }
576
- }), V = de(te, I), H = b != null, U = S((e) => {
588
+ }), H = le(B, I), U = b != null, te = S((e) => {
577
589
  e.currentTarget.contains(e.relatedTarget) || N?.();
578
- }, [N]), ne = S((e) => {
590
+ }, [N]), W = S((e) => {
579
591
  if (!b || !x || !F) return;
580
592
  e.preventDefault();
581
- let t = ge(e, n.id, x, b);
593
+ let t = me(e, n.id, x, b);
582
594
  F(n.id, b, t);
583
595
  }, [
584
596
  n.id,
585
597
  x,
586
598
  b,
587
599
  F
588
- ]), W = n.id === C, G = n.id === w, K = b != null && (T?.has(b) ?? !1), re = C != null;
600
+ ]), G = n.id === C, K = n.id === w, q = b != null && (T?.has(b) ?? !1), J = C != null;
589
601
  return /* @__PURE__ */ j("li", {
590
- className: r("group/conversation relative", W && "cursor-grabbing opacity-50", G && K && "rounded", G && K && X.dropZoneActive, re && !W && !K && "cursor-not-allowed"),
591
- draggable: H || void 0,
592
- onDragStart: H ? () => E?.(n.id) : void 0,
593
- onDragEnd: H ? D : void 0,
594
- onDragOver: H ? (e) => {
602
+ className: r("group/conversation relative", G && "cursor-grabbing opacity-50", K && q && "rounded", K && q && Z.dropZoneActive, J && !G && !q && "cursor-not-allowed"),
603
+ draggable: U || void 0,
604
+ onDragStart: U ? () => E?.(n.id) : void 0,
605
+ onDragEnd: U ? D : void 0,
606
+ onDragOver: U ? (e) => {
595
607
  e.preventDefault(), M?.(n.id);
596
608
  } : void 0,
597
- onDragLeave: H ? U : void 0,
598
- onDrop: H ? ne : void 0,
609
+ onDragLeave: U ? te : void 0,
610
+ onDrop: U ? W : void 0,
599
611
  children: [/* @__PURE__ */ A("a", {
600
612
  href: n.href,
601
613
  className: "contents",
@@ -603,7 +615,7 @@ var q = /* @__PURE__ */ function(e) {
603
615
  n.href && (e.preventDefault(), a(n.id));
604
616
  },
605
617
  children: /* @__PURE__ */ A(d, {
606
- iconBefore: B,
618
+ iconBefore: V,
607
619
  label: /* @__PURE__ */ A(t, {
608
620
  text: n.title,
609
621
  query: o,
@@ -614,9 +626,9 @@ var q = /* @__PURE__ */ function(e) {
614
626
  "aria-current": i ? "page" : void 0,
615
627
  onClick: n.href ? void 0 : () => a(n.id),
616
628
  tabIndex: n.href ? -1 : void 0,
617
- className: r("flex h-8 w-full items-center justify-start gap-2 rounded-xl py-2 ps-3", V, X.item, i && X.itemActive, I && X.itemActive)
629
+ className: r("flex h-8 w-full items-center justify-start gap-2 rounded-xl py-2 ps-3", H, Z.item, i && Z.itemActive, I && Z.itemActive)
618
630
  })
619
- }), te && /* @__PURE__ */ A("div", {
631
+ }), B && /* @__PURE__ */ A("div", {
620
632
  className: r("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"),
621
633
  children: /* @__PURE__ */ A(f, {
622
634
  items: z,
@@ -627,18 +639,18 @@ var q = /* @__PURE__ */ function(e) {
627
639
  ref: R,
628
640
  icon: /* @__PURE__ */ A(P, {
629
641
  size: u.SM,
630
- className: X.triggerIcon,
642
+ className: Z.triggerIcon,
631
643
  "aria-hidden": !0
632
644
  }),
633
645
  appearance: l.Ghost,
634
646
  size: v.Small,
635
647
  "aria-label": p,
636
- className: r("flex items-center justify-center rounded", X.trigger, I && X.triggerActive)
648
+ className: r("flex items-center justify-center rounded", Z.trigger, I && Z.triggerActive)
637
649
  })
638
650
  })
639
651
  })]
640
652
  });
641
- }, Ce = ({ label: e, isExpanded: t, onToggle: n, listId: i, className: a = "dial-tiny-semi-text uppercase", dropZoneGroupKey: o, isDragOver: s, onDragOver: c, onDragLeave: l, onDrop: u }) => {
653
+ }, Se = ({ label: e, isExpanded: t, onToggle: n, listId: i, className: a = "dial-tiny-semi-text uppercase", dropZoneGroupKey: o, isDragOver: s, onDragOver: c, onDragLeave: l, onDrop: u }) => {
642
654
  let d = o != null;
643
655
  return /* @__PURE__ */ j("button", {
644
656
  type: "button",
@@ -654,7 +666,7 @@ var q = /* @__PURE__ */ function(e) {
654
666
  onDrop: d ? (e) => {
655
667
  d && (e.preventDefault(), u?.(o, o, null));
656
668
  } : void 0,
657
- className: r("flex h-6 w-full items-center gap-1 rounded py-1 pe-3 text-start", a, X.groupHeader, s && X.dropZoneActive),
669
+ className: r("flex h-6 w-full items-center gap-1 rounded py-1 pe-3 text-start", a, Z.groupHeader, s && Z.dropZoneActive),
658
670
  children: [t ? /* @__PURE__ */ A(M, {
659
671
  stroke: .5,
660
672
  size: 12,
@@ -667,22 +679,22 @@ var q = /* @__PURE__ */ function(e) {
667
679
  "aria-hidden": !0
668
680
  }), /* @__PURE__ */ A(p, { text: e })]
669
681
  });
670
- }, we = ({ index: e, style: t, rows: n, expandedGroups: r, onToggleGroup: i, listId: a, activeConversationId: o, searchQuery: s, onSelectConversation: c, getActions: l, onActionMenuOpen: u, actionsLabel: d, styles: f, draggingId: p, dragOverId: m, allowedDropGroups: h, onDragStart: g, onDragEnd: _, onDragOver: v, onDragLeave: y, onDrop: b }) => {
682
+ }, Ce = ({ index: e, style: t, rows: n, expandedGroups: r, onToggleGroup: i, listId: a, activeConversationId: o, searchQuery: s, onSelectConversation: c, getActions: l, onActionMenuOpen: u, actionsLabel: d, styles: f, draggingId: p, dragOverId: m, allowedDropGroups: h, onDragStart: g, onDragEnd: _, onDragOver: v, onDragLeave: y, onDrop: b }) => {
671
683
  let x = n[e];
672
- if (x.kind === q.Header) {
673
- let n = x.groupKey === J.Pinned;
684
+ if (x.kind === Y.Header) {
685
+ let n = x.groupKey === X.Pinned;
674
686
  return /* @__PURE__ */ A("div", {
675
687
  role: "presentation",
676
688
  style: t,
677
689
  className: e === 0 ? "pt-0" : "pt-8",
678
- children: /* @__PURE__ */ A(Ce, {
690
+ children: /* @__PURE__ */ A(Se, {
679
691
  label: x.label,
680
692
  isExpanded: r.has(x.groupKey),
681
693
  onToggle: () => i(x.groupKey),
682
694
  listId: a,
683
695
  className: f?.groupHeaderClassName,
684
- dropZoneGroupKey: n ? J.Pinned : void 0,
685
- isDragOver: n && m === J.Pinned,
696
+ dropZoneGroupKey: n ? X.Pinned : void 0,
697
+ isDragOver: n && m === X.Pinned,
686
698
  onDragOver: n ? v : void 0,
687
699
  onDragLeave: n ? y : void 0,
688
700
  onDrop: n ? b : void 0
@@ -693,7 +705,7 @@ var q = /* @__PURE__ */ function(e) {
693
705
  role: "presentation",
694
706
  style: t,
695
707
  className: "pt-1",
696
- children: /* @__PURE__ */ A(Se, {
708
+ children: /* @__PURE__ */ A(xe, {
697
709
  item: x.item,
698
710
  isActive: x.item.id === o,
699
711
  searchQuery: s,
@@ -715,181 +727,181 @@ var q = /* @__PURE__ */ function(e) {
715
727
  onDrop: b
716
728
  })
717
729
  });
718
- }, Te = (e, t) => t === J.All ? !0 : e.source === t, Ee = (e, t) => t ? e.title.toLowerCase().includes(t.toLowerCase()) : !0, De = new Set([
719
- J.Pinned,
720
- J.MyChats,
721
- J.Shared,
722
- J.Organization
723
- ]), Z = x(({ conversations: e, isLoading: t, isOpen: l, onSelectConversation: u, activeConversationId: d, labels: f, onNewChat: p, styles: m, className: g, getActions: _, onActionMenuOpen: v, onToggle: y, headerActions: b, onMoveConversation: x, activeFilter: T, onActiveFilterChange: E }) => {
724
- let { colors: M, typography: N } = m ?? {}, { title: P, emptyLabel: F, noResultsLabel: I, loadingLabel: L = "Loading conversations", newChatLabel: R, searchPlaceholder: ee, searchClearLabel: z, filterLabels: te, groupLabels: B, actionsLabel: V, closeAriaLabel: H } = f, [U, ne] = k(""), [W, G] = k(J.All);
730
+ }, we = (e, t) => t === X.All ? !0 : e.source === t, Te = (e, t) => t ? e.title.toLowerCase().includes(t.toLowerCase()) : !0, Ee = new Set([
731
+ X.Pinned,
732
+ X.MyChats,
733
+ X.Shared,
734
+ X.Organization
735
+ ]), De = x(({ conversations: e, isLoading: t, isOpen: l, onSelectConversation: u, activeConversationId: d, labels: f, onNewChat: p, styles: m, className: g, getActions: _, onActionMenuOpen: v, onToggle: y, headerActions: b, onMoveConversation: x, activeFilter: T, onActiveFilterChange: E }) => {
736
+ let { colors: M, typography: N, newChatButton: P } = m ?? {}, { title: F, emptyLabel: I, noResultsLabel: L, loadingLabel: R = "Loading conversations", newChatLabel: ee, searchPlaceholder: z, searchClearLabel: B, filterLabels: V, groupLabels: H, actionsLabel: U, closeAriaLabel: te } = f, [W, G] = k(""), [K, q] = k(X.All);
725
737
  C(() => {
726
- T != null && (G(T), E?.(T));
738
+ T != null && (q(T), E?.(T));
727
739
  }, [T]);
728
- let [K, re] = k(() => De), [ie, ae] = k(5), oe = w(), se = O(null), ce = O(null), [de, pe] = k(null), [ge, Y] = k(null), [_e, ve] = k(null), be = O(null), X = O(null), Se = S(({ height: e }) => {
729
- ae(Math.ceil(e / 36 * 2));
730
- }, []), Ce = S((e) => {
731
- re((t) => {
740
+ let [J, ne] = k(() => Ee), [re, ie] = k(5), ae = w(), oe = O(null), le = O(null), [de, me] = k(null), [he, ge] = k(null), [_e, ye] = k(null), xe = O(null), Se = O(null), De = S(({ height: e }) => {
741
+ ie(Math.ceil(e / 36 * 2));
742
+ }, []), Oe = S((e) => {
743
+ ne((t) => {
732
744
  let n = new Set(t);
733
745
  return n.has(e) ? n.delete(e) : n.add(e), n;
734
746
  });
735
- }, []), Z = S(() => {
736
- be.current = null, X.current = null, pe(null), Y(null), ve(null);
737
- }, []), Oe = S((t, n) => {
738
- let r = he(t, me(n, t), e);
739
- be.current = t, X.current = r, pe(t), ve(r);
740
- }, [e]), ke = S(() => {
741
- Z();
742
- }, [Z]), Ae = S((e) => {
743
- Y(e);
744
- }, []), je = S(() => {
745
- Y(null);
746
- }, []), Me = S((e, t, n) => {
747
- let r = be.current, i = X.current;
748
- Z(), r != null && r !== e && i?.has(t) && x?.({
747
+ }, []), ke = S(() => {
748
+ xe.current = null, Se.current = null, me(null), ge(null), ye(null);
749
+ }, []), Ae = S((t, n) => {
750
+ let r = pe(t, fe(n, t), e);
751
+ xe.current = t, Se.current = r, me(t), ye(r);
752
+ }, [e]), je = S(() => {
753
+ ke();
754
+ }, [ke]), Me = S((e) => {
755
+ ge(e);
756
+ }, []), Ne = S(() => {
757
+ ge(null);
758
+ }, []), Pe = S((e, t, n) => {
759
+ let r = xe.current, i = Se.current;
760
+ ke(), r != null && r !== e && i?.has(t) && x?.({
749
761
  draggedId: r,
750
762
  targetGroupKey: t,
751
763
  afterId: n
752
764
  });
753
- }, [Z, x]), Ne = n({
765
+ }, [ke, x]), Fe = n({
754
766
  "--cp-bg": M?.background,
755
767
  "--sb-border": M?.border,
756
768
  "--cp-item-hover": M?.itemHover,
757
769
  "--cp-item-active": M?.itemActive,
758
770
  "--cp-text": M?.text,
759
771
  "--cp-text-secondary": M?.textSecondary,
760
- "--cp-new-chat-hover": M?.newChatHoverBackground,
761
- "--cp-new-chat-active": M?.newChatActiveBackground,
762
- "--cp-new-chat-bg": M?.newChatBackground,
763
- "--cp-new-chat-text": M?.newChatText,
764
- "--cp-new-chat-shadow-blue": M?.newChatShadowBlue,
765
- "--cp-new-chat-shadow-blue-hover": M?.newChatShadowBlueHover,
766
- "--cp-new-chat-shadow-blue-active": M?.newChatShadowBlueActive,
767
- "--cp-new-chat-shadow-purple": M?.newChatShadowPurple,
768
- "--cp-new-chat-shadow-purple-hover": M?.newChatShadowPurpleHover,
769
- "--cp-new-chat-shadow-purple-active": M?.newChatShadowPurpleActive,
772
+ "--cp-new-chat-bg": P?.background,
773
+ "--cp-new-chat-hover": P?.hoverBackground,
774
+ "--cp-new-chat-active": P?.activeBackground,
775
+ "--cp-new-chat-text": P?.text,
776
+ "--cp-new-chat-shadow-blue": P?.shadowBlue,
777
+ "--cp-new-chat-shadow-blue-hover": P?.shadowBlueHover,
778
+ "--cp-new-chat-shadow-blue-active": P?.shadowBlueActive,
779
+ "--cp-new-chat-shadow-purple": P?.shadowPurple,
780
+ "--cp-new-chat-shadow-purple-hover": P?.shadowPurpleHover,
781
+ "--cp-new-chat-shadow-purple-active": P?.shadowPurpleActive,
770
782
  "--cp-drop-zone-ring": M?.dropZoneRing,
771
783
  "--cp-trigger-bg": M?.triggerBackground,
772
784
  "--cp-trigger-icon": M?.triggerIcon,
773
785
  "--cp-trigger-icon-idle": M?.triggerIconIdle,
774
786
  "--cp-skeleton-color": M?.skeletonColor
775
- }), Q = D(() => e.filter((e) => Te(e, W) && Ee(e, U)), [
787
+ }), Q = D(() => e.filter((e) => we(e, K) && Te(e, W)), [
776
788
  e,
777
- W,
778
- U
779
- ]), Pe = D(() => Q.filter((e) => e.isPinned), [Q]), Fe = D(() => Q.filter((e) => !e.isPinned && e.source !== J.Shared && e.source !== J.Organization), [Q]), Ie = D(() => Q.filter((e) => !e.isPinned && e.source === J.Shared), [Q]), Le = D(() => Q.filter((e) => !e.isPinned && e.source === J.Organization), [Q]), Re = D(() => [
789
+ K,
790
+ W
791
+ ]), Ie = D(() => Q.filter((e) => e.isPinned), [Q]), Le = D(() => Q.filter((e) => !e.isPinned && e.source !== X.Shared && e.source !== X.Organization), [Q]), Re = D(() => Q.filter((e) => !e.isPinned && e.source === X.Shared), [Q]), ze = D(() => Q.filter((e) => !e.isPinned && e.source === X.Organization), [Q]), Be = D(() => [
780
792
  {
781
- key: J.Pinned,
782
- label: B?.pinned ?? "Pinned",
783
- items: Pe
793
+ key: X.Pinned,
794
+ label: H?.pinned ?? "Pinned",
795
+ items: Ie
784
796
  },
785
797
  {
786
- key: J.MyChats,
787
- label: B?.myChats ?? "My chats",
788
- items: Fe
798
+ key: X.MyChats,
799
+ label: H?.myChats ?? "My chats",
800
+ items: Le
789
801
  },
790
802
  {
791
- key: J.Shared,
792
- label: B?.shared ?? "Shared",
793
- items: Ie
803
+ key: X.Shared,
804
+ label: H?.shared ?? "Shared",
805
+ items: Re
794
806
  },
795
807
  {
796
- key: J.Organization,
797
- label: B?.organization ?? "Organization",
798
- items: Le
808
+ key: X.Organization,
809
+ label: H?.organization ?? "Organization",
810
+ items: ze
799
811
  }
800
812
  ], [
801
- B,
802
- Pe,
803
- Fe,
813
+ H,
804
814
  Ie,
805
- Le
815
+ Le,
816
+ Re,
817
+ ze
806
818
  ]), $ = D(() => {
807
819
  let e = [];
808
- for (let t of Re) if (t.items.length !== 0 && (e.push({
809
- kind: q.Header,
820
+ for (let t of Be) if (t.items.length !== 0 && (e.push({
821
+ kind: Y.Header,
810
822
  groupKey: t.key,
811
823
  label: t.label
812
- }), K.has(t.key))) for (let n of t.items) e.push({
813
- kind: q.Item,
824
+ }), J.has(t.key))) for (let n of t.items) e.push({
825
+ kind: Y.Item,
814
826
  item: n,
815
827
  groupKey: t.key
816
828
  });
817
829
  return e;
818
- }, [Re, K]);
830
+ }, [Be, J]);
819
831
  C(() => {
820
832
  if (!d) return;
821
- let e = Re.find((e) => e.items.some((e) => e.id === d))?.key;
822
- if (e && !K.has(e)) {
823
- re((t) => new Set(t).add(e));
833
+ let e = Be.find((e) => e.items.some((e) => e.id === d))?.key;
834
+ if (e && !J.has(e)) {
835
+ ne((t) => new Set(t).add(e));
824
836
  return;
825
837
  }
826
- if (ce.current === d) return;
827
- let t = $.findIndex((e) => e.kind === q.Item && e.item.id === d);
828
- t >= 0 && (se.current?.scrollToRow({
838
+ if (le.current === d) return;
839
+ let t = $.findIndex((e) => e.kind === Y.Item && e.item.id === d);
840
+ t >= 0 && (oe.current?.scrollToRow({
829
841
  index: t,
830
842
  align: "smart",
831
843
  behavior: "smooth"
832
- }), ce.current = d);
844
+ }), le.current = d);
833
845
  }, [
834
846
  d,
835
- Re,
836
- K,
847
+ Be,
848
+ J,
837
849
  $
838
850
  ]);
839
- let ze = D(() => ({
851
+ let Ve = D(() => ({
840
852
  rows: $,
841
- expandedGroups: K,
842
- onToggleGroup: Ce,
843
- listId: oe,
853
+ expandedGroups: J,
854
+ onToggleGroup: Oe,
855
+ listId: ae,
844
856
  activeConversationId: d,
845
- searchQuery: U,
857
+ searchQuery: W,
846
858
  onSelectConversation: u,
847
859
  getActions: _,
848
860
  onActionMenuOpen: v,
849
- actionsLabel: V,
861
+ actionsLabel: U,
850
862
  styles: {
851
863
  groupHeaderClassName: N?.groupHeaderClassName,
852
864
  itemTitleClassName: N?.itemTitleClassName,
853
865
  itemIconBadgeClassName: m?.itemIconBadgeClassName
854
866
  },
855
867
  draggingId: de,
856
- dragOverId: ge,
868
+ dragOverId: he,
857
869
  allowedDropGroups: _e,
858
- onDragStart: (e) => Oe(e, $),
859
- onDragEnd: ke,
860
- onDragOver: Ae,
861
- onDragLeave: je,
862
- onDrop: Me
870
+ onDragStart: (e) => Ae(e, $),
871
+ onDragEnd: je,
872
+ onDragOver: Me,
873
+ onDragLeave: Ne,
874
+ onDrop: Pe
863
875
  }), [
864
876
  $,
865
- K,
866
- Ce,
867
- oe,
877
+ J,
878
+ Oe,
879
+ ae,
868
880
  d,
869
- U,
881
+ W,
870
882
  u,
871
883
  _,
872
884
  v,
873
- V,
885
+ U,
874
886
  N?.groupHeaderClassName,
875
887
  N?.itemTitleClassName,
876
888
  m?.itemIconBadgeClassName,
877
889
  de,
878
- ge,
890
+ he,
879
891
  _e,
880
- Oe,
881
- ke,
882
892
  Ae,
883
893
  je,
884
- Me
885
- ]), Be = e.length === 0, Ve = e.length > 0 && Q.length === 0;
894
+ Me,
895
+ Ne,
896
+ Pe
897
+ ]), He = e.length === 0, Ue = e.length > 0 && Q.length === 0;
886
898
  return /* @__PURE__ */ j(c, {
887
899
  isOpen: l,
888
900
  orientation: s.Left,
889
- title: P,
901
+ title: F,
890
902
  labels: {
891
- ariaLabel: P,
892
- closeLabel: H
903
+ ariaLabel: F,
904
+ closeLabel: te
893
905
  },
894
906
  onClose: y,
895
907
  styles: {
@@ -899,31 +911,32 @@ var q = /* @__PURE__ */ function(e) {
899
911
  },
900
912
  typography: { fontClassName: N?.fontClassName },
901
913
  bodyClassName: "flex flex-col overflow-hidden p-0 gap-3",
902
- cssVars: Ne,
914
+ cssVars: Fe,
903
915
  titleClassName: N?.fontClassName,
904
916
  headerClassName: "h-[64px]",
905
917
  className: r(l ? "w-[325px] border-s border-e mobile:w-full" : "w-0", g)
906
918
  },
907
919
  rightActions: b,
908
920
  children: [
909
- /* @__PURE__ */ A(xe, {
910
- label: R,
921
+ /* @__PURE__ */ A(be, {
922
+ label: ee,
911
923
  onClick: p,
912
- labelClassName: N?.newChatLabelClassName
924
+ labelClassName: N?.newChatLabelClassName,
925
+ colors: P
913
926
  }),
914
927
  /* @__PURE__ */ A(o, {
915
- value: U,
916
- onChange: ne,
928
+ value: W,
929
+ onChange: G,
917
930
  labels: {
918
- placeholder: ee,
919
- clearLabel: z
931
+ placeholder: z,
932
+ clearLabel: B
920
933
  }
921
934
  }),
922
- /* @__PURE__ */ A(ye, {
923
- activeTab: W,
924
- labels: te,
935
+ /* @__PURE__ */ A(ve, {
936
+ activeTab: K,
937
+ labels: V,
925
938
  onChange: (e) => {
926
- G(e), E?.(e);
939
+ q(e), E?.(e);
927
940
  },
928
941
  tabClassName: N?.tabClassName
929
942
  }),
@@ -931,7 +944,7 @@ var q = /* @__PURE__ */ function(e) {
931
944
  role: "status",
932
945
  "aria-live": "polite",
933
946
  className: "sr-only",
934
- children: t ? L : Be ? F : Ve ? I : ""
947
+ children: t ? R : He ? I : Ue ? L : ""
935
948
  }),
936
949
  /* @__PURE__ */ A("div", {
937
950
  className: "flex-1 overflow-hidden px-2 py-1",
@@ -939,26 +952,26 @@ var q = /* @__PURE__ */ function(e) {
939
952
  className: "flex flex-col gap-3 px-2 py-3",
940
953
  children: Array.from({ length: 15 }, (e, t) => /* @__PURE__ */ A(h, {
941
954
  avatar: { size: 24 },
942
- showTitle: { width: ue(t) },
955
+ showTitle: { width: ce(t) },
943
956
  paragraph: !1,
944
957
  active: !0,
945
- color: "var(--bg-layer-4)"
958
+ color: Z.skeletonColor
946
959
  }, t))
947
- }) : Be ? /* @__PURE__ */ A(i, { label: F }) : Ve ? /* @__PURE__ */ A(a, { label: I }) : /* @__PURE__ */ A(le, {
948
- listRef: se,
949
- id: oe,
960
+ }) : He ? /* @__PURE__ */ A(i, { label: I }) : Ue ? /* @__PURE__ */ A(a, { label: L }) : /* @__PURE__ */ A(se, {
961
+ listRef: oe,
962
+ id: ae,
950
963
  role: "list",
951
964
  style: { height: "100%" },
952
- rowComponent: we,
965
+ rowComponent: Ce,
953
966
  rowCount: $.length,
954
- rowHeight: fe,
955
- overscanCount: ie,
956
- onResize: Se,
957
- rowProps: ze
967
+ rowHeight: ue,
968
+ overscanCount: re,
969
+ onResize: De,
970
+ rowProps: Ve
958
971
  })
959
972
  })
960
973
  ]
961
974
  });
962
975
  });
963
976
  //#endregion
964
- export { Z as ConversationPanel, J as FilterTab };
977
+ export { De as ConversationPanel, X as FilterTab };