@versini/sassysaint 8.75.3 → 8.75.5
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/dist/chunks/{AboutChangelog.DeW-Wsvl.js → AboutChangelog.74dx3has.js} +2 -2
- package/dist/chunks/{AboutEntry.hp1PCH1z.js → AboutEntry.B9IooHpy.js} +7 -7
- package/dist/chunks/{App.Bp83hXd-.js → App.BmFE7_v_.js} +2724 -2827
- package/dist/chunks/{Chart.DyNB5HAI.js → Chart.D1WQEJfe.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.wcBK5fz8.js → ChatBubbleAssistant.TGE3iwln.js} +13 -13
- package/dist/chunks/{ChatBubbleUser.CF1ETIz4.js → ChatBubbleUser.DjSazwPr.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.CqvT-F88.js → ChatHistoryTable.DKVkQOL_.js} +17 -17
- package/dist/chunks/{HistoryEntry.BUgrbL2A.js → HistoryEntry.D-clB2ui.js} +20 -20
- package/dist/chunks/{ProfileEntry.DwUlfjQ0.js → ProfileEntry.DiMarPYw.js} +18 -18
- package/dist/chunks/{SettingsEntry.Bz-qx9j9.js → SettingsEntry.7sE9nOGN.js} +10 -10
- package/dist/chunks/{Table.DZBKIFOu.js → Table.--YCSSgh.js} +2 -2
- package/dist/chunks/{UsageEntry.CWynZD0K.js → UsageEntry.CiY4OQtp.js} +8 -8
- package/dist/chunks/{UserMemoriesPanel.CPUIg1Ei.js → UserMemoriesPanel.UDXZvvrL.js} +22 -22
- package/dist/chunks/{index.BkV_Kigj.js → index.-hzHawd8.js} +559 -622
- package/dist/chunks/{index.Bsr7P_Sg.js → index.BHHgvfWz.js} +13 -13
- package/dist/chunks/{index.D0deFGsT.js → index.Bl8BpeHP.js} +1 -1
- package/dist/chunks/{index.DQ8k8dci.js → index.C0asS70q.js} +1 -1
- package/dist/chunks/{index.xg2w92uM.js → index.CiIBuo5O.js} +1 -1
- package/dist/chunks/{index.CUadTohS.js → index.D4tD4ovC.js} +3 -3
- package/dist/chunks/{index.DHFyiJeE.js → index.WAJtnhmS.js} +1 -1
- package/dist/chunks/{index.DlKt8Xr1.js → index.p-Jh4Heo.js} +2 -2
- package/dist/chunks/{useMarkdown.DCLyo2fD.js → useMarkdown.Cno1hTiv.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { I as
|
|
3
|
-
import { oe as le, G as O, E as Z, e as s, ConfirmationPanel as $, st as _ } from "./App.
|
|
4
|
-
import
|
|
5
|
-
import { useState as
|
|
6
|
-
import { Re as ze } from "./index.
|
|
7
|
-
import { j as te, D as re, G as E, M as a, F as B, H as ie, l as ne, U as oe, n as Ie } from "./Table.
|
|
2
|
+
import { I as Ne, L, j as y, C$1 as b, n as we, LOCAL_STORAGE_PREFIX as W, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as ve, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ke, useUserMemories as Se, useExpiredMemories as Te, useDeleteMemory as Me, useDeleteAllActiveMemories as De, useDeleteAllExpiredMemories as Ee, useUpdateMemory as be, useRestoreMemory as Re, te as I } from "./index.-hzHawd8.js";
|
|
3
|
+
import { oe as le, G as O, E as Z, e as s, ConfirmationPanel as $, st as _ } from "./App.BmFE7_v_.js";
|
|
4
|
+
import C from "clsx";
|
|
5
|
+
import { useState as N, useEffect as Le, useRef as ee } from "react";
|
|
6
|
+
import { Re as ze } from "./index.BHHgvfWz.js";
|
|
7
|
+
import { j as te, D as re, G as E, M as a, F as B, H as ie, l as ne, U as oe, n as Ie } from "./Table.--YCSSgh.js";
|
|
8
8
|
const Oe = ({
|
|
9
9
|
className: A,
|
|
10
10
|
viewBox: w,
|
|
@@ -12,7 +12,7 @@ const Oe = ({
|
|
|
12
12
|
monotone: n,
|
|
13
13
|
...S
|
|
14
14
|
}) => /* @__PURE__ */ r(
|
|
15
|
-
|
|
15
|
+
Ne,
|
|
16
16
|
{
|
|
17
17
|
defaultViewBox: "0 0 512 512",
|
|
18
18
|
size: "size-5",
|
|
@@ -39,7 +39,7 @@ const Oe = ({
|
|
|
39
39
|
onSave: S,
|
|
40
40
|
isSaving: m = !1
|
|
41
41
|
}) => {
|
|
42
|
-
const [p, z] =
|
|
42
|
+
const [p, z] = N(l), [h, v] = N("none");
|
|
43
43
|
Le(() => {
|
|
44
44
|
if (A) {
|
|
45
45
|
z(l);
|
|
@@ -220,13 +220,13 @@ const Oe = ({
|
|
|
220
220
|
onOpenChange: w,
|
|
221
221
|
user: l
|
|
222
222
|
}) => {
|
|
223
|
-
const { getAccessToken: n } = we(), [S] =
|
|
223
|
+
const { getAccessToken: n } = we(), [S] = N(void 0), [m, p] = N("active"), [z, h] = Z({
|
|
224
224
|
key: W + ve,
|
|
225
225
|
initialValue: s.DESC
|
|
226
226
|
}), [v, T] = Z({
|
|
227
227
|
key: W + ke,
|
|
228
228
|
initialValue: "createdAt"
|
|
229
|
-
}), [u, M] =
|
|
229
|
+
}), [u, M] = N(z || s.DESC), [o, D] = N(
|
|
230
230
|
v || "createdAt"
|
|
231
231
|
), { data: f, isLoading: F, isError: H } = Se({
|
|
232
232
|
user: l,
|
|
@@ -242,11 +242,11 @@ const Oe = ({
|
|
|
242
242
|
query: S,
|
|
243
243
|
getAccessToken: n,
|
|
244
244
|
enabled: A && m === "expired"
|
|
245
|
-
}), G = Me({ getAccessToken: n }), V = De({ getAccessToken: n }), X = Ee({ getAccessToken: n }), P = be({ getAccessToken: n }), Y = Re({ getAccessToken: n }), [se, J] =
|
|
245
|
+
}), G = Me({ getAccessToken: n }), V = De({ getAccessToken: n }), X = Ee({ getAccessToken: n }), P = be({ getAccessToken: n }), Y = Re({ getAccessToken: n }), [se, J] = N(!1), k = ee(null), [ae, K] = N(!1), [ce, U] = N(!1), x = ee(null), Q = (t, i, c, d) => {
|
|
246
246
|
k.current = { id: t, text: i, description: c, createdAt: d }, J(!0);
|
|
247
247
|
}, de = () => {
|
|
248
248
|
k.current && G.mutate({ user: l, memoryId: k.current.id });
|
|
249
|
-
}, me = (t, i, c, d, ue, fe, ge, ye, Ae,
|
|
249
|
+
}, me = (t, i, c, d, ue, fe, ge, ye, Ae, Ce) => {
|
|
250
250
|
x.current = {
|
|
251
251
|
id: t,
|
|
252
252
|
description: i,
|
|
@@ -257,7 +257,7 @@ const Oe = ({
|
|
|
257
257
|
status: ge,
|
|
258
258
|
sourceType: ye,
|
|
259
259
|
expiration: Ae,
|
|
260
|
-
expiresAt:
|
|
260
|
+
expiresAt: Ce
|
|
261
261
|
}, U(!0);
|
|
262
262
|
}, xe = (t, i) => {
|
|
263
263
|
x.current && l && P.mutate(
|
|
@@ -401,7 +401,7 @@ const Oe = ({
|
|
|
401
401
|
/* @__PURE__ */ e(
|
|
402
402
|
"div",
|
|
403
403
|
{
|
|
404
|
-
className:
|
|
404
|
+
className: C(
|
|
405
405
|
"flex flex-col sm:flex-row",
|
|
406
406
|
"sm:max-h-[50vh] sm:min-h-[50vh]"
|
|
407
407
|
),
|
|
@@ -461,11 +461,11 @@ const Oe = ({
|
|
|
461
461
|
}
|
|
462
462
|
return 0;
|
|
463
463
|
}).map((t, i) => /* @__PURE__ */ r(E, { children: [
|
|
464
|
-
/* @__PURE__ */ e(a, { className:
|
|
464
|
+
/* @__PURE__ */ e(a, { className: C("dark:text-gray-400"), children: i + 1 }),
|
|
465
465
|
/* @__PURE__ */ e(
|
|
466
466
|
a,
|
|
467
467
|
{
|
|
468
|
-
className:
|
|
468
|
+
className: C(
|
|
469
469
|
"dark:text-white",
|
|
470
470
|
"max-w-[100px] sm:max-w-[400px]",
|
|
471
471
|
"text-xs sm:text-sm"
|
|
@@ -481,7 +481,7 @@ const Oe = ({
|
|
|
481
481
|
{
|
|
482
482
|
component: "th",
|
|
483
483
|
scope: "row",
|
|
484
|
-
className:
|
|
484
|
+
className: C(
|
|
485
485
|
"dark:text-gray-400",
|
|
486
486
|
"sm:whitespace-nowrap text-xs sm:text-sm max-w-20 sm:max-w-none"
|
|
487
487
|
),
|
|
@@ -491,7 +491,7 @@ const Oe = ({
|
|
|
491
491
|
/* @__PURE__ */ e(
|
|
492
492
|
a,
|
|
493
493
|
{
|
|
494
|
-
className:
|
|
494
|
+
className: C(
|
|
495
495
|
"dark:text-gray-400",
|
|
496
496
|
"sm:whitespace-nowrap text-xs sm:text-sm"
|
|
497
497
|
),
|
|
@@ -639,11 +639,11 @@ const Oe = ({
|
|
|
639
639
|
}
|
|
640
640
|
return 0;
|
|
641
641
|
}).map((t, i) => /* @__PURE__ */ r(E, { children: [
|
|
642
|
-
/* @__PURE__ */ e(a, { className:
|
|
642
|
+
/* @__PURE__ */ e(a, { className: C("dark:text-gray-400"), children: i + 1 }),
|
|
643
643
|
/* @__PURE__ */ e(
|
|
644
644
|
a,
|
|
645
645
|
{
|
|
646
|
-
className:
|
|
646
|
+
className: C(
|
|
647
647
|
"dark:text-white",
|
|
648
648
|
"max-w-[100px] sm:max-w-[400px]",
|
|
649
649
|
"text-xs sm:text-sm"
|
|
@@ -659,7 +659,7 @@ const Oe = ({
|
|
|
659
659
|
{
|
|
660
660
|
component: "th",
|
|
661
661
|
scope: "row",
|
|
662
|
-
className:
|
|
662
|
+
className: C(
|
|
663
663
|
"dark:text-gray-400",
|
|
664
664
|
"sm:whitespace-nowrap text-xs sm:text-sm max-w-20 sm:max-w-none"
|
|
665
665
|
),
|
|
@@ -669,7 +669,7 @@ const Oe = ({
|
|
|
669
669
|
/* @__PURE__ */ e(
|
|
670
670
|
a,
|
|
671
671
|
{
|
|
672
|
-
className:
|
|
672
|
+
className: C(
|
|
673
673
|
"dark:text-gray-400",
|
|
674
674
|
"sm:whitespace-nowrap text-xs sm:text-sm"
|
|
675
675
|
),
|