@versini/sassysaint 6.3.2 → 6.4.1

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,6 +1,6 @@
1
1
  import { jsxs as i, jsx as e, Fragment as z } from "react/jsx-runtime";
2
- import { f as V, un as F, R as B, CARDS as N, renderDataAsList as de, pluralize as ue, ABOUT_TITLE as Qe, INFINITE_SCROLL_LIMIT as Se, INFINITE_SCROLL_THRESHOLD as ve, LOCAL_STORAGE_PREFIX as ke, LOCAL_STORAGE_SORT as Je, Y as oe, ACTION_RESET as Ze, ACTION_RESTORE as et, ACTION_SORT as Ae, LOCAL_STORAGE_SEARCH as tt, HISTORY_TITLE as rt, fe as be, C as X, ACTION_SEARCH as nt, debounce as at, M as ot, L as q, j as P, l as Ie, durationFormatter as st, PROFILE_TITLE as lt, PROMPTS_DESCRIPTION as ct, DEFAULT_AI_ENGINE as it, LOCAL_STORAGE_CHAT_DETAILS as dt, SETTINGS_TITLE as ut, ENGINE_OPENAI as W, ENGINE_ANTHROPIC as ee, APP_NAME as mt, getCurrentGeoLocation as ht, LOG_OUT as _e } from "./index.BCDhh50h.js";
3
- import { i as me, useServerCapabilities as ft, Ie as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as Oe, ge as pt, he as gt, ue as ge, le as O, ye as yt, me as bt, p as xt, z as kt, be as Ct, serviceCall as se, SERVICE_TYPES as le, p$1 as te, AppContext as Pe, useChatsHistory as Et, useUserChatStats as Tt, useUserPreferences as ze, m as Nt, _e as wt, me$1 as St, R as re, P as vt } from "./App.BFCImKH0.js";
2
+ import { f as V, un as F, R as B, CARDS as N, renderDataAsList as de, pluralize as ue, ABOUT_TITLE as Qe, INFINITE_SCROLL_LIMIT as Se, INFINITE_SCROLL_THRESHOLD as ve, LOCAL_STORAGE_PREFIX as ke, LOCAL_STORAGE_SORT as Je, te as oe, ACTION_RESET as Ze, ACTION_RESTORE as et, ACTION_SORT as Ae, LOCAL_STORAGE_SEARCH as tt, HISTORY_TITLE as rt, fe as be, C as X, ACTION_SEARCH as nt, debounce as at, M as ot, L as q, j as O, l as Ie, durationFormatter as st, PROFILE_TITLE as lt, PROMPTS_DESCRIPTION as ct, DEFAULT_AI_ENGINE as it, LOCAL_STORAGE_CHAT_DETAILS as dt, SETTINGS_TITLE as ut, ENGINE_OPENAI as W, ENGINE_ANTHROPIC as ee, APP_NAME as mt, getCurrentGeoLocation as ht, LOG_OUT as _e } from "./index.CfjkM26U.js";
3
+ import { i as me, useServerCapabilities as ft, Ye as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as Pe, Ue as pt, Pe as gt, Fe as ge, Me as P, De as yt, We as bt, p as xt, z as kt, je as Ct, serviceCall as se, SERVICE_TYPES as le, B as te, AppContext as Oe, useChatsHistory as Et, useUserChatStats as Tt, useUserPreferences as ze, m as Nt, _e as wt, me as St, R as re, P as vt } from "./App.KB01Hp9h.js";
4
4
  import At, { useRef as S, useState as C, useContext as he, useCallback as Be, useEffect as H, Fragment as It, useLayoutEffect as ne, useMemo as He, useId as _t, useReducer as Rt } from "react";
5
5
  import y from "clsx";
6
6
  const Lt = ({
@@ -55,7 +55,7 @@ const Lt = ({
55
55
  /* @__PURE__ */ e("path", { d: "M163.8 0c-12.1 0-23.2 6.8-28.6 17.7L128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0z" })
56
56
  ]
57
57
  }
58
- ), Ot = ({
58
+ ), Pt = ({
59
59
  className: t,
60
60
  viewBox: a,
61
61
  title: o,
@@ -81,7 +81,7 @@ const Lt = ({
81
81
  /* @__PURE__ */ e("path", { d: "M256 128c13.3 0 24 10.7 24 24v94.1l65 65c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-72-72c-4.5-4.5-7-10.6-7-17V152c0-13.3 10.7-24 24-24z" })
82
82
  ]
83
83
  }
84
- ), Pt = ({
84
+ ), Ot = ({
85
85
  className: t,
86
86
  viewBox: a,
87
87
  title: o,
@@ -217,8 +217,8 @@ const Lt = ({
217
217
  header: N.ABOUT.TITLE_CLIENT,
218
218
  className: "prose-dark dark:prose-lighter",
219
219
  children: de(a, {
220
- [N.ABOUT.VERSION]: "6.3.2",
221
- [N.ABOUT.BUILD_TIMESTAMP]: "01/25/2025 12:37 PM EST"
220
+ [N.ABOUT.VERSION]: "6.4.1",
221
+ [N.ABOUT.BUILD_TIMESTAMP]: "01/27/2025 07:38 AM EST"
222
222
  })
223
223
  }
224
224
  ) }),
@@ -321,7 +321,7 @@ const Lt = ({
321
321
  s.current && w.observe(s.current);
322
322
  }), /* @__PURE__ */ i(z, { children: [
323
323
  /* @__PURE__ */ i(
324
- Oe,
324
+ Pe,
325
325
  {
326
326
  showConfirmation: u,
327
327
  setShowConfirmation: f,
@@ -350,7 +350,7 @@ const Lt = ({
350
350
  ),
351
351
  /* @__PURE__ */ i(pt, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
352
352
  /* @__PURE__ */ e(gt, { children: /* @__PURE__ */ i(ge, { children: [
353
- /* @__PURE__ */ e(O, { className: "sr-only", children: "Row" }),
353
+ /* @__PURE__ */ e(P, { className: "sr-only", children: "Row" }),
354
354
  /* @__PURE__ */ e(
355
355
  yt,
356
356
  {
@@ -365,18 +365,18 @@ const Lt = ({
365
365
  children: "Date"
366
366
  }
367
367
  ),
368
- /* @__PURE__ */ e(O, { className: "text-xs sm:text-sm", children: "First message" }),
369
- /* @__PURE__ */ e(O, { className: "text-xs sm:text-sm", children: "Model" }),
370
- /* @__PURE__ */ e(O, { className: "text-xs sm:text-sm text-right", children: "Actions" })
368
+ /* @__PURE__ */ e(P, { className: "text-xs sm:text-sm", children: "First message" }),
369
+ /* @__PURE__ */ e(P, { className: "text-xs sm:text-sm", children: "Model" }),
370
+ /* @__PURE__ */ e(P, { className: "text-xs sm:text-sm text-right", children: "Actions" })
371
371
  ] }) }),
372
372
  /* @__PURE__ */ e(bt, { children: t.slice(0, p).map((m, w) => {
373
373
  var I, D;
374
374
  return ((I = m == null ? void 0 : m.messages) == null ? void 0 : I.length) > 0 ? /* @__PURE__ */ i(It, { children: [
375
375
  w === p - ve && /* @__PURE__ */ e("tr", { ref: s }),
376
376
  /* @__PURE__ */ i(ge, { children: [
377
- /* @__PURE__ */ e(O, { children: w + 1 }),
377
+ /* @__PURE__ */ e(P, { children: w + 1 }),
378
378
  /* @__PURE__ */ e(
379
- O,
379
+ P,
380
380
  {
381
381
  component: "th",
382
382
  scope: "row",
@@ -385,7 +385,7 @@ const Lt = ({
385
385
  }
386
386
  ),
387
387
  /* @__PURE__ */ e(
388
- O,
388
+ P,
389
389
  {
390
390
  className: "max-w-[100px] text-white sm:max-w-full text-xs sm:text-sm",
391
391
  style: {
@@ -395,7 +395,7 @@ const Lt = ({
395
395
  }
396
396
  ),
397
397
  /* @__PURE__ */ i(
398
- O,
398
+ P,
399
399
  {
400
400
  component: "th",
401
401
  scope: "row",
@@ -407,7 +407,7 @@ const Lt = ({
407
407
  ]
408
408
  }
409
409
  ),
410
- /* @__PURE__ */ i(O, { align: "right", children: [
410
+ /* @__PURE__ */ i(P, { align: "right", children: [
411
411
  /* @__PURE__ */ e(
412
412
  oe,
413
413
  {
@@ -448,7 +448,7 @@ const Lt = ({
448
448
  ] })
449
449
  ] }, `${N.HISTORY.TITLE}-${m.id}-${w}`) : null;
450
450
  }) }),
451
- /* @__PURE__ */ e(Ct, { children: /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(O, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: ue(
451
+ /* @__PURE__ */ e(Ct, { children: /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(P, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: ue(
452
452
  `${t.length} chat`,
453
453
  t.length
454
454
  ) }) }) }) })
@@ -458,7 +458,7 @@ const Lt = ({
458
458
  open: t,
459
459
  onOpenChange: a
460
460
  }) => {
461
- const { getAccessToken: o, user: n } = F(), { state: r, dispatch: c } = he(Pe), { state: s, dispatch: d } = he(Me), { data: u, mutate: f } = Et({
461
+ const { getAccessToken: o, user: n } = F(), { state: r, dispatch: c } = he(Oe), { state: s, dispatch: d } = he(Me), { data: u, mutate: f } = Et({
462
462
  keys: [
463
463
  n == null ? void 0 : n.username,
464
464
  s.searchString,
@@ -547,8 +547,8 @@ const Lt = ({
547
547
  {
548
548
  className: "prose-dark dark:prose-lighter mt-4",
549
549
  header: /* @__PURE__ */ e("h2", { className: "m-0", children: /* @__PURE__ */ i(q, { columnGap: 3, alignVertical: "center", children: [
550
- /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(Ie, { size: "size-8" }) }),
551
- /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e("div", { children: N.PREFERENCES.PASSKEY_TITLE }) })
550
+ /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(Ie, { size: "size-8" }) }),
551
+ /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e("div", { children: N.PREFERENCES.PASSKEY_TITLE }) })
552
552
  ] }) }),
553
553
  children: [
554
554
  /* @__PURE__ */ e("p", { children: N.PREFERENCES.PASSKEY_INSTRUCTIONS }),
@@ -594,13 +594,13 @@ const Lt = ({
594
594
  return c || s ? null : /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: lt, children: /* @__PURE__ */ e(Yt, { stats: r }) });
595
595
  };
596
596
  /*!
597
- @versini/ui-textarea v3.0.12
597
+ @versini/ui-textarea v3.0.13
598
598
  © 2025 gizmette.com
599
599
  */
600
600
  try {
601
601
  window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
602
- version: "3.0.12",
603
- buildTime: "01/25/2025 11:56 AM EST",
602
+ version: "3.0.13",
603
+ buildTime: "01/25/2025 10:54 PM EST",
604
604
  homepage: "https://github.com/aversini/ui-components",
605
605
  license: "MIT"
606
606
  });
@@ -788,13 +788,13 @@ function or({
788
788
  );
789
789
  }
790
790
  /*!
791
- @versini/ui-liveregion v1.3.7
791
+ @versini/ui-liveregion v1.3.8
792
792
  © 2025 gizmette.com
793
793
  */
794
794
  try {
795
795
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
796
- version: "1.3.7",
797
- buildTime: "01/25/2025 11:56 AM EST",
796
+ version: "1.3.8",
797
+ buildTime: "01/25/2025 10:54 PM EST",
798
798
  homepage: "https://github.com/aversini/ui-components",
799
799
  license: "MIT"
800
800
  });
@@ -1122,13 +1122,13 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1122
1122
  );
1123
1123
  xe.displayName = "TextArea";
1124
1124
  /*!
1125
- @versini/ui-toggle v3.0.8
1125
+ @versini/ui-toggle v3.0.9
1126
1126
  © 2025 gizmette.com
1127
1127
  */
1128
1128
  try {
1129
1129
  window.__VERSINI_UI_TOGGLE__ || (window.__VERSINI_UI_TOGGLE__ = {
1130
- version: "3.0.8",
1131
- buildTime: "01/20/2025 01:49 PM EST",
1130
+ version: "3.0.9",
1131
+ buildTime: "01/25/2025 10:54 PM EST",
1132
1132
  homepage: "https://github.com/aversini/ui-components",
1133
1133
  license: "MIT"
1134
1134
  });
@@ -1310,7 +1310,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1310
1310
  alignHorizontal: "flex-end",
1311
1311
  className: "pb-8 sm:pb-0",
1312
1312
  children: [
1313
- /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
1313
+ /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
1314
1314
  X,
1315
1315
  {
1316
1316
  mode: "dark",
@@ -1320,7 +1320,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1320
1320
  children: "Cancel"
1321
1321
  }
1322
1322
  ) }),
1323
- /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
1323
+ /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
1324
1324
  X,
1325
1325
  {
1326
1326
  mode: "dark",
@@ -1344,7 +1344,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1344
1344
  className: "prose-dark dark:prose-lighter mb-2",
1345
1345
  children: [
1346
1346
  /* @__PURE__ */ i(q, { className: "mt-8 mb-6", columnGap: 2, rowGap: 6, children: [
1347
- /* @__PURE__ */ e(P, { span: 12, children: /* @__PURE__ */ e(
1347
+ /* @__PURE__ */ e(O, { span: 12, children: /* @__PURE__ */ e(
1348
1348
  be,
1349
1349
  {
1350
1350
  label: "Label",
@@ -1360,7 +1360,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1360
1360
  }
1361
1361
  }
1362
1362
  ) }),
1363
- /* @__PURE__ */ e(P, { span: 12, children: /* @__PURE__ */ e(
1363
+ /* @__PURE__ */ e(O, { span: 12, children: /* @__PURE__ */ e(
1364
1364
  be,
1365
1365
  {
1366
1366
  label: "Content",
@@ -1503,7 +1503,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1503
1503
  alignHorizontal: "flex-end",
1504
1504
  className: "pb-8 sm:pb-0",
1505
1505
  children: [
1506
- /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
1506
+ /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
1507
1507
  X,
1508
1508
  {
1509
1509
  mode: "dark",
@@ -1513,7 +1513,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1513
1513
  children: "Cancel"
1514
1514
  }
1515
1515
  ) }),
1516
- /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
1516
+ /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
1517
1517
  X,
1518
1518
  {
1519
1519
  mode: "dark",
@@ -1652,7 +1652,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1652
1652
  }
1653
1653
  );
1654
1654
  }, _r = () => {
1655
- const { logout: t } = F(), { state: a } = he(Pe), [o, n] = C(!1), [r, c] = C(!1), [s, d] = C(!1), [u, f] = C(!1), [p, b] = C(!1), x = () => {
1655
+ const { logout: t } = F(), { state: a } = he(Oe), [o, n] = C(!1), [r, c] = C(!1), [s, d] = C(!1), [u, f] = C(!1), [p, b] = C(!1), x = () => {
1656
1656
  n(!o);
1657
1657
  }, l = () => {
1658
1658
  c(!r);
@@ -1665,7 +1665,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1665
1665
  };
1666
1666
  return /* @__PURE__ */ i(z, { children: [
1667
1667
  /* @__PURE__ */ e(
1668
- Oe,
1668
+ Pe,
1669
1669
  {
1670
1670
  showConfirmation: p,
1671
1671
  setShowConfirmation: b,
@@ -1682,7 +1682,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1682
1682
  /* @__PURE__ */ e(Nr, { open: r, onOpenChange: c }),
1683
1683
  s && /* @__PURE__ */ e(Ut, { open: s, onOpenChange: d }),
1684
1684
  /* @__PURE__ */ e(Vt, { open: u, onOpenChange: f }),
1685
- /* @__PURE__ */ e("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ e(q, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
1685
+ /* @__PURE__ */ e("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ e(q, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
1686
1686
  wt,
1687
1687
  {
1688
1688
  label: "Profile, Settings, etc.",
@@ -1717,7 +1717,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1717
1717
  {
1718
1718
  label: "History",
1719
1719
  onClick: h,
1720
- icon: /* @__PURE__ */ e(Ot, {})
1720
+ icon: /* @__PURE__ */ e(Pt, {})
1721
1721
  }
1722
1722
  ),
1723
1723
  /* @__PURE__ */ e(
@@ -1725,7 +1725,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1725
1725
  {
1726
1726
  label: "About",
1727
1727
  onClick: T,
1728
- icon: /* @__PURE__ */ e(Pt, {})
1728
+ icon: /* @__PURE__ */ e(Ot, {})
1729
1729
  }
1730
1730
  ),
1731
1731
  a && a.id && !a.isComponent && /* @__PURE__ */ i(z, { children: [