@versini/sassysaint 8.75.4 → 8.76.0
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.DE5M5CPF.js → AboutChangelog.0kKcS_nT.js} +2 -2
- package/dist/chunks/{AboutEntry.CC4Geu98.js → AboutEntry.pKgicvGA.js} +7 -7
- package/dist/chunks/{App.ENGe9H1T.js → App.CtFpHv2O.js} +205 -204
- package/dist/chunks/{Chart.DpZtBOl0.js → Chart.DD1RkG8X.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.e2Qi5r3T.js → ChatBubbleAssistant.K55U7Bno.js} +13 -13
- package/dist/chunks/{ChatBubbleUser.DP1w-8LC.js → ChatBubbleUser.DsX56Kxx.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.BKu_ZZU9.js → ChatHistoryTable.BvEUTjiq.js} +17 -17
- package/dist/chunks/{HistoryEntry.ghac4Dvt.js → HistoryEntry.BSOPWYO2.js} +20 -20
- package/dist/chunks/{ProfileEntry.B5p6jUni.js → ProfileEntry.Bb-kLfDX.js} +18 -18
- package/dist/chunks/{SettingsEntry.DRaXHqD7.js → SettingsEntry.DrmBVh-w.js} +10 -10
- package/dist/chunks/{Table.DFmbCLqy.js → Table.BbIvEnBz.js} +2 -2
- package/dist/chunks/{UsageEntry.v3rZzEkE.js → UsageEntry.O3YdUF30.js} +8 -8
- package/dist/chunks/{UserMemoriesPanel.CxSpeQVc.js → UserMemoriesPanel.Dl5GlyBr.js} +22 -22
- package/dist/chunks/{index.DkACWoJr.js → index.B9mUNJfd.js} +1 -1
- package/dist/chunks/{index.DQMZ9_rK.js → index.BNusLsEn.js} +13 -13
- package/dist/chunks/{index.CGU26igb.js → index.BeIiCAAq.js} +2 -2
- package/dist/chunks/{index.DrNijiOb.js → index.Czv_1MTM.js} +559 -622
- package/dist/chunks/{index.BxFHN1eH.js → index.DEKgWsou.js} +1 -1
- package/dist/chunks/{index.DTuvjVrw.js → index.DGkW9g6n.js} +3 -3
- package/dist/chunks/{index.Cnc9HRbd.js → index.DUl-LwyU.js} +1 -1
- package/dist/chunks/{index.CyFKAjrJ.js → index.icjUE8II.js} +24 -24
- package/dist/chunks/{useMarkdown.CYvX9qkp.js → useMarkdown.Bf7wGKkC.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.Czv_1MTM.js";
|
|
3
|
+
import { oe as le, G as O, E as Z, e as s, ConfirmationPanel as $, st as _ } from "./App.CtFpHv2O.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.BNusLsEn.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.BbIvEnBz.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
|
),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as oe, jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { o as se, h as U, i as ie, x as de } from "./index.
|
|
2
|
+
import { o as se, h$1 as U, i as ie, x as de } from "./index.Czv_1MTM.js";
|
|
3
3
|
import ce, { useState as _, useEffect as ne, useRef as b, useLayoutEffect as T } from "react";
|
|
4
4
|
import s from "clsx";
|
|
5
5
|
function ue({
|
|
@@ -136,7 +136,7 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
136
136
|
{
|
|
137
137
|
"disabled:cursor-not-allowed disabled:opacity-50": t
|
|
138
138
|
}
|
|
139
|
-
),
|
|
139
|
+
), M = r ? void 0 : "sr-only", R = be({
|
|
140
140
|
disabled: t,
|
|
141
141
|
raw: r,
|
|
142
142
|
error: i,
|
|
@@ -152,8 +152,8 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
152
152
|
return {
|
|
153
153
|
wrapper: f,
|
|
154
154
|
textArea: N,
|
|
155
|
-
accessibleLabel:
|
|
156
|
-
visibleLabel:
|
|
155
|
+
accessibleLabel: M,
|
|
156
|
+
visibleLabel: R,
|
|
157
157
|
helperText: n,
|
|
158
158
|
rightElement: w,
|
|
159
159
|
leftElement: m
|
|
@@ -188,8 +188,8 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
188
188
|
value: v,
|
|
189
189
|
defaultValue: f,
|
|
190
190
|
disabled: N = !1,
|
|
191
|
-
noBorder:
|
|
192
|
-
labelId:
|
|
191
|
+
noBorder: M = !1,
|
|
192
|
+
labelId: R,
|
|
193
193
|
helperText: n = "",
|
|
194
194
|
helperTextOnFocus: w = !1,
|
|
195
195
|
rightElement: m,
|
|
@@ -199,7 +199,7 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
199
199
|
onBlur: B,
|
|
200
200
|
...q
|
|
201
201
|
}, z) => {
|
|
202
|
-
const u = b(null), G = se([z, u]), [J, A] = U(), [K, g] = U(), C = b(80), V = b(-25),
|
|
202
|
+
const u = b(null), G = se([z, u]), [J, A] = U(), [K, g] = U(), C = b(80), V = b(-25), $ = b(null), D = b(30), P = b(null), E = ie({ id: e, prefix: `${X}-` }), [j, Q] = _(0), [F, W] = _(0), [Z, S] = _(
|
|
203
203
|
!!(!w && n)
|
|
204
204
|
), Y = `${l} error, ${n}`, h = ve({
|
|
205
205
|
className: o,
|
|
@@ -208,7 +208,7 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
208
208
|
raw: t,
|
|
209
209
|
focusMode: k,
|
|
210
210
|
disabled: N,
|
|
211
|
-
noBorder:
|
|
211
|
+
noBorder: M,
|
|
212
212
|
mode: c,
|
|
213
213
|
rightElement: !!m,
|
|
214
214
|
leftElement: !!y
|
|
@@ -238,7 +238,7 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
238
238
|
t || u && u.current && p !== void 0 && (u.current.style.height = "inherit", u.current.style.height = u.current.scrollHeight + "px");
|
|
239
239
|
}, [p, t]), T(() => {
|
|
240
240
|
t || setTimeout(() => {
|
|
241
|
-
|
|
241
|
+
$?.current?.style.setProperty(
|
|
242
242
|
"--av-text-area-wrapper-transition",
|
|
243
243
|
p ? "none" : "all 0.2s ease-out"
|
|
244
244
|
);
|
|
@@ -251,7 +251,7 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
251
251
|
currentLabelOffset: V.current,
|
|
252
252
|
currentHelperTextOffset: D.current
|
|
253
253
|
});
|
|
254
|
-
d && (V.current = d,
|
|
254
|
+
d && (V.current = d, $?.current?.style.setProperty(
|
|
255
255
|
"--av-text-area-label",
|
|
256
256
|
`${d}px`
|
|
257
257
|
)), H && (D.current = H, P?.current?.style.setProperty(
|
|
@@ -259,7 +259,7 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
259
259
|
`${H}px`
|
|
260
260
|
)), C.current = le || C.current;
|
|
261
261
|
}
|
|
262
|
-
}, [p, t]), g.width > 0 &&
|
|
262
|
+
}, [p, t]), g.width > 0 && $?.current?.style.setProperty(
|
|
263
263
|
"--tw-translate-x",
|
|
264
264
|
`${12 + g.width + 5}px`
|
|
265
265
|
), /* @__PURE__ */ oe("div", { className: h.wrapper, children: [
|
|
@@ -267,7 +267,7 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
267
267
|
"label",
|
|
268
268
|
{
|
|
269
269
|
htmlFor: E,
|
|
270
|
-
id:
|
|
270
|
+
id: R,
|
|
271
271
|
className: h.accessibleLabel,
|
|
272
272
|
children: r
|
|
273
273
|
}
|
|
@@ -310,7 +310,7 @@ const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-
|
|
|
310
310
|
!t && /* @__PURE__ */ x(
|
|
311
311
|
"label",
|
|
312
312
|
{
|
|
313
|
-
ref:
|
|
313
|
+
ref: $,
|
|
314
314
|
"aria-hidden": !0,
|
|
315
315
|
htmlFor: E,
|
|
316
316
|
className: `${h.visibleLabel}`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.
|
|
2
|
-
import { toText as Ca } from "./index.
|
|
1
|
+
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.Bf7wGKkC.js";
|
|
2
|
+
import { toText as Ca } from "./index.B9mUNJfd.js";
|
|
3
3
|
const Gt = /[#.]/g;
|
|
4
4
|
function qa(r, e) {
|
|
5
5
|
const t = r || "", a = {};
|