@versini/sassysaint 5.5.8 → 5.5.9
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/{LazyApp.DeVrt9BH.js → LazyApp.CFM3xjO9.js} +61 -61
- package/dist/chunks/{LazyHeader.B5IF4pQz.js → LazyHeader.DmyF2sJC.js} +1162 -1185
- package/dist/chunks/{LazyMarkdownWithExtra.B2nAtq4p.js → LazyMarkdownWithExtra.8KBaWeLe.js} +8 -8
- package/dist/chunks/{LazyMessageAssistant.DCB_SFcK.js → LazyMessageAssistant.DLY895fQ.js} +4 -4
- package/dist/chunks/{index.CKvmD6Gi.js → index.CFKzlMOQ.js} +18 -15
- package/dist/chunks/{index.DMnfO73f.js → index.DPKX3b_X.js} +57 -57
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as Ve, jsxs as P0, Fragment as Sa } from "react/jsx-runtime";
|
|
2
|
-
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./LazyMessageAssistant.
|
|
3
|
-
import { O as Is, L as Ds, j as Ls } from "./index.
|
|
2
|
+
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./LazyMessageAssistant.DLY895fQ.js";
|
|
3
|
+
import { O as Is, L as Ds, j as Ls } from "./index.CFKzlMOQ.js";
|
|
4
4
|
import Bs, { useState as zs, useEffect as Ps } from "react";
|
|
5
5
|
import Fs from "clsx";
|
|
6
6
|
const ka = ({
|
|
@@ -35,12 +35,12 @@ const ka = ({
|
|
|
35
35
|
};
|
|
36
36
|
/*!
|
|
37
37
|
@versini/ui-svgicon v3.0.2
|
|
38
|
-
©
|
|
38
|
+
© 2025 gizmette.com
|
|
39
39
|
*/
|
|
40
40
|
try {
|
|
41
41
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
42
42
|
version: "3.0.2",
|
|
43
|
-
buildTime: "
|
|
43
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
44
44
|
homepage: "https://github.com/aversini/ui-components",
|
|
45
45
|
license: "MIT"
|
|
46
46
|
});
|
|
@@ -91,13 +91,13 @@ const Us = ({
|
|
|
91
91
|
}
|
|
92
92
|
);
|
|
93
93
|
/*!
|
|
94
|
-
@versini/ui-icons v3.0
|
|
95
|
-
©
|
|
94
|
+
@versini/ui-icons v3.1.0
|
|
95
|
+
© 2025 gizmette.com
|
|
96
96
|
*/
|
|
97
97
|
try {
|
|
98
98
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
99
|
-
version: "3.0
|
|
100
|
-
buildTime: "
|
|
99
|
+
version: "3.1.0",
|
|
100
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
101
101
|
homepage: "https://github.com/aversini/ui-components",
|
|
102
102
|
license: "MIT"
|
|
103
103
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as Ye, jsx as re, Fragment as Jt } from "react/jsx-runtime";
|
|
2
|
-
import { ae as at } from "./LazyApp.
|
|
3
|
-
import { AppContext as pi, E as hi } from "./index.
|
|
2
|
+
import { ae as at } from "./LazyApp.CFM3xjO9.js";
|
|
3
|
+
import { AppContext as pi, E as hi } from "./index.DPKX3b_X.js";
|
|
4
4
|
import sn from "clsx";
|
|
5
5
|
import { lazy as mi, useContext as gi, Suspense as di } from "react";
|
|
6
|
-
import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.
|
|
6
|
+
import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.CFKzlMOQ.js";
|
|
7
7
|
/*!
|
|
8
8
|
@versini/ui-spinner v2.0.5
|
|
9
9
|
© 2024 gizmette.com
|
|
@@ -8652,7 +8652,7 @@ function Uc(e) {
|
|
|
8652
8652
|
const qc = mi(
|
|
8653
8653
|
() => import(
|
|
8654
8654
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8655
|
-
"./LazyMarkdownWithExtra.
|
|
8655
|
+
"./LazyMarkdownWithExtra.8KBaWeLe.js"
|
|
8656
8656
|
)
|
|
8657
8657
|
), Tn = {
|
|
8658
8658
|
MODEL: "Model",
|
|
@@ -2445,13 +2445,13 @@ const je = z.forwardRef(
|
|
|
2445
2445
|
);
|
|
2446
2446
|
je.displayName = "ButtonIcon";
|
|
2447
2447
|
/*!
|
|
2448
|
-
@versini/ui-button v3.2.
|
|
2449
|
-
©
|
|
2448
|
+
@versini/ui-button v3.2.1
|
|
2449
|
+
© 2025 gizmette.com
|
|
2450
2450
|
*/
|
|
2451
2451
|
try {
|
|
2452
2452
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
2453
|
-
version: "3.2.
|
|
2454
|
-
buildTime: "
|
|
2453
|
+
version: "3.2.1",
|
|
2454
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
2455
2455
|
homepage: "https://github.com/aversini/ui-components",
|
|
2456
2456
|
license: "MIT"
|
|
2457
2457
|
});
|
|
@@ -2680,12 +2680,12 @@ const cn = ({
|
|
|
2680
2680
|
};
|
|
2681
2681
|
/*!
|
|
2682
2682
|
@versini/ui-svgicon v3.0.2
|
|
2683
|
-
©
|
|
2683
|
+
© 2025 gizmette.com
|
|
2684
2684
|
*/
|
|
2685
2685
|
try {
|
|
2686
2686
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
2687
2687
|
version: "3.0.2",
|
|
2688
|
-
buildTime: "
|
|
2688
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
2689
2689
|
homepage: "https://github.com/aversini/ui-components",
|
|
2690
2690
|
license: "MIT"
|
|
2691
2691
|
});
|
|
@@ -2800,13 +2800,13 @@ const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
|
2800
2800
|
}
|
|
2801
2801
|
);
|
|
2802
2802
|
/*!
|
|
2803
|
-
@versini/ui-icons v3.0
|
|
2804
|
-
©
|
|
2803
|
+
@versini/ui-icons v3.1.0
|
|
2804
|
+
© 2025 gizmette.com
|
|
2805
2805
|
*/
|
|
2806
2806
|
try {
|
|
2807
2807
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
2808
|
-
version: "3.0
|
|
2809
|
-
buildTime: "
|
|
2808
|
+
version: "3.1.0",
|
|
2809
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
2810
2810
|
homepage: "https://github.com/aversini/ui-components",
|
|
2811
2811
|
license: "MIT"
|
|
2812
2812
|
});
|
|
@@ -3506,9 +3506,9 @@ try {
|
|
|
3506
3506
|
});
|
|
3507
3507
|
} catch {
|
|
3508
3508
|
}
|
|
3509
|
-
const $n = "ASK! ME! ANYTHING!", Mn = "Callisto", Un = "Log in", Kn = "Sign in with a Passkey", Ko = "Log out", Hn = "Password", Ho = "Send", Wo = "Profile", Go = "
|
|
3509
|
+
const $n = "ASK! ME! ANYTHING!", Mn = "Callisto", Un = "Log in", Kn = "Sign in with a Passkey", Ko = "Log out", Hn = "Password", Ho = "Send", Wo = "Profile", Go = "Settings", Bo = "Chat history", Jo = "About", Vo = "Type your question here", Yo = "<clipboard>", zo = "N/A", Fo = "Tags are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder <clipboard> to automatically insert the content of your clipboard.", jo = {
|
|
3510
3510
|
PREFERENCES: {
|
|
3511
|
-
TITLE: "User
|
|
3511
|
+
TITLE: "User profile",
|
|
3512
3512
|
NAME: "Name",
|
|
3513
3513
|
EMAIL: "Email",
|
|
3514
3514
|
ENGINE_DETAILS: "Show message statistics",
|
|
@@ -3539,11 +3539,14 @@ const $n = "ASK! ME! ANYTHING!", Mn = "Callisto", Un = "Log in", Kn = "Sign in w
|
|
|
3539
3539
|
BUILD_TIMESTAMP: "Build date",
|
|
3540
3540
|
ENGINE: "AI model",
|
|
3541
3541
|
PLUGIN: "Plugin"
|
|
3542
|
+
},
|
|
3543
|
+
SETTINGS_ENGINE: {
|
|
3544
|
+
TITLE: "AI Engine"
|
|
3542
3545
|
}
|
|
3543
3546
|
}, Wn = St(
|
|
3544
3547
|
() => import(
|
|
3545
3548
|
/* webpackChunkName: "LazyHeader" */
|
|
3546
|
-
"./LazyHeader.
|
|
3549
|
+
"./LazyHeader.DmyF2sJC.js"
|
|
3547
3550
|
)
|
|
3548
3551
|
), Gn = () => {
|
|
3549
3552
|
const { isAuthenticated: e } = Ze();
|
|
@@ -3652,7 +3655,7 @@ const $n = "ASK! ME! ANYTHING!", Mn = "Callisto", Un = "Log in", Kn = "Sign in w
|
|
|
3652
3655
|
}, Jn = new URL(document.location.href).searchParams, Vn = !!Jn.get("debug") || !1, Yn = St(
|
|
3653
3656
|
() => import(
|
|
3654
3657
|
/* webpackChunkName: "LazyApp" */
|
|
3655
|
-
"./LazyApp.
|
|
3658
|
+
"./LazyApp.CFM3xjO9.js"
|
|
3656
3659
|
).then((e) => e.LazyApp)
|
|
3657
3660
|
), zn = ({ isComponent: e }) => {
|
|
3658
3661
|
const { isAuthenticated: t } = Ze();
|
|
@@ -3703,7 +3706,7 @@ export {
|
|
|
3703
3706
|
oo as ROLE_SYSTEM,
|
|
3704
3707
|
ao as ROLE_USER,
|
|
3705
3708
|
Ho as SEND,
|
|
3706
|
-
Go as
|
|
3709
|
+
Go as SETTINGS_TITLE,
|
|
3707
3710
|
xo as STATS_SEPARATOR,
|
|
3708
3711
|
qo as SassySaint,
|
|
3709
3712
|
Fo as TAGS_DESCRIPTION,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import C, { useSyncExternalStore as He, useCallback as
|
|
1
|
+
import C, { useSyncExternalStore as He, useCallback as F, useEffect as R, useContext as B, useRef as f, useState as A, useLayoutEffect as L, useMemo as me, useId as ze, useReducer as Le } from "react";
|
|
2
2
|
import { jsxs as N, jsx as c, Fragment as Ve } from "react/jsx-runtime";
|
|
3
|
-
import { g as ge, DEFAULT_AI_ENGINE as X, O as Oe, ACTION_RESET as Me } from "./index.
|
|
3
|
+
import { g as ge, DEFAULT_AI_ENGINE as X, O as Oe, ACTION_RESET as Me } from "./index.CFKzlMOQ.js";
|
|
4
4
|
import l from "clsx";
|
|
5
5
|
const Ue = ({
|
|
6
6
|
className: e,
|
|
@@ -28,7 +28,7 @@ const Ue = ({
|
|
|
28
28
|
/* @__PURE__ */ c("path", { d: "" })
|
|
29
29
|
]
|
|
30
30
|
}
|
|
31
|
-
),
|
|
31
|
+
), Pe = ({
|
|
32
32
|
className: e,
|
|
33
33
|
viewBox: r,
|
|
34
34
|
title: t,
|
|
@@ -54,26 +54,26 @@ const le = (e, r) => {
|
|
|
54
54
|
typeof r == "function" ? r() : r
|
|
55
55
|
);
|
|
56
56
|
window.localStorage.setItem(e, t), he(e, t);
|
|
57
|
-
},
|
|
57
|
+
}, Fe = (e) => {
|
|
58
58
|
window.localStorage.removeItem(e), he(e, null);
|
|
59
59
|
}, se = (e) => window.localStorage.getItem(e), Ge = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
|
|
60
60
|
function Ot({
|
|
61
61
|
key: e,
|
|
62
62
|
initialValue: r
|
|
63
63
|
}) {
|
|
64
|
-
const t = He(Ge, () => se(e)), a =
|
|
64
|
+
const t = He(Ge, () => se(e)), a = F(
|
|
65
65
|
(i) => {
|
|
66
66
|
try {
|
|
67
67
|
const s = typeof i == "function" ? i(JSON.parse(t)) : i;
|
|
68
|
-
s == null ?
|
|
68
|
+
s == null ? Fe(e) : le(e, s);
|
|
69
69
|
} catch (s) {
|
|
70
70
|
console.warn(s);
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
[e, t]
|
|
74
|
-
), o =
|
|
74
|
+
), o = F(() => {
|
|
75
75
|
a(r);
|
|
76
|
-
}, [r, a]), n =
|
|
76
|
+
}, [r, a]), n = F(() => {
|
|
77
77
|
a(null);
|
|
78
78
|
}, [a]);
|
|
79
79
|
return R(() => {
|
|
@@ -262,7 +262,7 @@ const E = {
|
|
|
262
262
|
} catch (o) {
|
|
263
263
|
return console.error(o), { status: 500, data: [] };
|
|
264
264
|
}
|
|
265
|
-
},
|
|
265
|
+
}, Pt = async ({
|
|
266
266
|
accessToken: e,
|
|
267
267
|
name: r,
|
|
268
268
|
data: t,
|
|
@@ -297,7 +297,7 @@ const E = {
|
|
|
297
297
|
engine: X,
|
|
298
298
|
engines: []
|
|
299
299
|
}
|
|
300
|
-
}),
|
|
300
|
+
}), Ft = C.createContext({
|
|
301
301
|
state: { searchString: "", sortedCell: "", sortDirection: "" },
|
|
302
302
|
dispatch: () => {
|
|
303
303
|
}
|
|
@@ -327,24 +327,24 @@ const E = {
|
|
|
327
327
|
focusMode: r,
|
|
328
328
|
ref: n,
|
|
329
329
|
onClick: s,
|
|
330
|
-
children: a != null && a.streaming ? /* @__PURE__ */ c(
|
|
330
|
+
children: a != null && a.streaming ? /* @__PURE__ */ c(Pe, { size: "size-4", monotone: !0 }) : /* @__PURE__ */ c(Ue, { size: "size-4", monotone: !0 })
|
|
331
331
|
}
|
|
332
332
|
);
|
|
333
333
|
};
|
|
334
334
|
/*!
|
|
335
|
-
@versini/ui-table v2.0.
|
|
336
|
-
©
|
|
335
|
+
@versini/ui-table v2.0.9
|
|
336
|
+
© 2025 gizmette.com
|
|
337
337
|
*/
|
|
338
338
|
try {
|
|
339
339
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
|
340
|
-
version: "2.0.
|
|
341
|
-
buildTime: "
|
|
340
|
+
version: "2.0.9",
|
|
341
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
342
342
|
homepage: "https://github.com/aversini/ui-components",
|
|
343
343
|
license: "MIT"
|
|
344
344
|
});
|
|
345
345
|
} catch {
|
|
346
346
|
}
|
|
347
|
-
const G = "thead", K = "tfoot",
|
|
347
|
+
const G = "thead", K = "tfoot", $ = "tbody", P = {
|
|
348
348
|
ASC: "asc",
|
|
349
349
|
DESC: "desc"
|
|
350
350
|
}, je = ({
|
|
@@ -420,13 +420,13 @@ const G = "thead", K = "tfoot", I = "tbody", F = {
|
|
|
420
420
|
"border-b last:border-0",
|
|
421
421
|
{
|
|
422
422
|
"border-table-dark": e === "dark",
|
|
423
|
-
"odd:bg-table-dark-odd even:bg-table-dark-even": t ===
|
|
423
|
+
"odd:bg-table-dark-odd even:bg-table-dark-even": t === $ && e === "dark",
|
|
424
424
|
"border-table-light": e === "light",
|
|
425
|
-
"odd:bg-table-light-odd even:bg-table-light-even": t ===
|
|
425
|
+
"odd:bg-table-light-odd even:bg-table-light-even": t === $ && e === "light",
|
|
426
426
|
"border-table-dark dark:border-table-light": e === "system",
|
|
427
|
-
"odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": t ===
|
|
427
|
+
"odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": t === $ && e === "system",
|
|
428
428
|
"border-table-light dark:border-table-dark": e === "alt-system",
|
|
429
|
-
"odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": t ===
|
|
429
|
+
"odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": t === $ && e === "alt-system"
|
|
430
430
|
},
|
|
431
431
|
r
|
|
432
432
|
), Xe = ({
|
|
@@ -441,7 +441,7 @@ const G = "thead", K = "tfoot", I = "tbody", F = {
|
|
|
441
441
|
"text-copy-light dark:text-copy-dark": a === "system",
|
|
442
442
|
"text-copy-dark dark:text-copy-light": a === "alt-system",
|
|
443
443
|
"px-4 py-3": !t && (e === G || e === K),
|
|
444
|
-
"p-4": !t && e ===
|
|
444
|
+
"p-4": !t && e === $,
|
|
445
445
|
"px-2 py-1.5": t
|
|
446
446
|
},
|
|
447
447
|
r
|
|
@@ -710,13 +710,13 @@ const G = "thead", K = "tfoot", I = "tbody", F = {
|
|
|
710
710
|
});
|
|
711
711
|
ye.displayName = "BaseButton";
|
|
712
712
|
/*!
|
|
713
|
-
@versini/ui-button v3.2.
|
|
714
|
-
©
|
|
713
|
+
@versini/ui-button v3.2.1
|
|
714
|
+
© 2025 gizmette.com
|
|
715
715
|
*/
|
|
716
716
|
try {
|
|
717
717
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
718
|
-
version: "3.2.
|
|
719
|
-
buildTime: "
|
|
718
|
+
version: "3.2.1",
|
|
719
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
720
720
|
homepage: "https://github.com/aversini/ui-components",
|
|
721
721
|
license: "MIT"
|
|
722
722
|
});
|
|
@@ -832,12 +832,12 @@ const Z = ({
|
|
|
832
832
|
};
|
|
833
833
|
/*!
|
|
834
834
|
@versini/ui-svgicon v3.0.2
|
|
835
|
-
©
|
|
835
|
+
© 2025 gizmette.com
|
|
836
836
|
*/
|
|
837
837
|
try {
|
|
838
838
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
839
839
|
version: "3.0.2",
|
|
840
|
-
buildTime: "
|
|
840
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
841
841
|
homepage: "https://github.com/aversini/ui-components",
|
|
842
842
|
license: "MIT"
|
|
843
843
|
});
|
|
@@ -923,13 +923,13 @@ const st = ({
|
|
|
923
923
|
}
|
|
924
924
|
);
|
|
925
925
|
/*!
|
|
926
|
-
@versini/ui-icons v3.0
|
|
927
|
-
©
|
|
926
|
+
@versini/ui-icons v3.1.0
|
|
927
|
+
© 2025 gizmette.com
|
|
928
928
|
*/
|
|
929
929
|
try {
|
|
930
930
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
931
|
-
version: "3.0
|
|
932
|
-
buildTime: "
|
|
931
|
+
version: "3.1.0",
|
|
932
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
933
933
|
homepage: "https://github.com/aversini/ui-components",
|
|
934
934
|
license: "MIT"
|
|
935
935
|
});
|
|
@@ -1008,7 +1008,7 @@ const H = C.createContext({
|
|
|
1008
1008
|
return /* @__PURE__ */ c("tfoot", { className: o, ...t, children: e });
|
|
1009
1009
|
}, Jt = ({ children: e, ...r }) => {
|
|
1010
1010
|
const t = B(H);
|
|
1011
|
-
return t.cellWrapper =
|
|
1011
|
+
return t.cellWrapper = $, /* @__PURE__ */ c("tbody", { ...r, children: e });
|
|
1012
1012
|
}, Qt = ({
|
|
1013
1013
|
children: e,
|
|
1014
1014
|
className: r,
|
|
@@ -1054,7 +1054,7 @@ const H = C.createContext({
|
|
|
1054
1054
|
component: o,
|
|
1055
1055
|
className: a,
|
|
1056
1056
|
role: "columnheader",
|
|
1057
|
-
"aria-sort": d ===
|
|
1057
|
+
"aria-sort": d === P.ASC && u === m ? "ascending" : d === P.DESC && u === m ? "descending" : "other",
|
|
1058
1058
|
...h,
|
|
1059
1059
|
children: /* @__PURE__ */ c(
|
|
1060
1060
|
fe,
|
|
@@ -1068,7 +1068,7 @@ const H = C.createContext({
|
|
|
1068
1068
|
mode: i,
|
|
1069
1069
|
fullWidth: !0,
|
|
1070
1070
|
labelRight: r,
|
|
1071
|
-
children: d ===
|
|
1071
|
+
children: d === P.ASC && u === m ? /* @__PURE__ */ c(dt, { className: "size-4", monotone: !0 }) : d === P.DESC && u === m ? /* @__PURE__ */ c(ct, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ c(st, { className: "size-4", monotone: !0 })
|
|
1072
1072
|
}
|
|
1073
1073
|
)
|
|
1074
1074
|
}
|
|
@@ -1092,7 +1092,7 @@ function pt() {
|
|
|
1092
1092
|
const e = f(!1);
|
|
1093
1093
|
return R(() => (e.current = !0, () => {
|
|
1094
1094
|
e.current = !1;
|
|
1095
|
-
}), []),
|
|
1095
|
+
}), []), F(() => e.current, []);
|
|
1096
1096
|
}
|
|
1097
1097
|
function bt(e) {
|
|
1098
1098
|
return me(() => e.every((r) => r == null) ? () => {
|
|
@@ -1113,7 +1113,7 @@ const yt = {
|
|
|
1113
1113
|
right: 0
|
|
1114
1114
|
};
|
|
1115
1115
|
function de(e) {
|
|
1116
|
-
const r = pt(), t = f(0), a = f(null), [o, n] =
|
|
1116
|
+
const r = pt(), t = f(0), a = f(null), [o, n] = A(yt), i = me(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
|
|
1117
1117
|
const d = s[0];
|
|
1118
1118
|
d && (cancelAnimationFrame(t.current), t.current = requestAnimationFrame(() => {
|
|
1119
1119
|
a.current && r() && n(d.contentRect);
|
|
@@ -1131,7 +1131,7 @@ function ft({
|
|
|
1131
1131
|
},
|
|
1132
1132
|
initialControlledDelay: o = 0
|
|
1133
1133
|
}) {
|
|
1134
|
-
const [n, i] =
|
|
1134
|
+
const [n, i] = A(!1), [s, d] = A(
|
|
1135
1135
|
r !== void 0 ? r : t
|
|
1136
1136
|
), u = (m) => {
|
|
1137
1137
|
d(m), a == null || a(m);
|
|
@@ -1301,7 +1301,7 @@ const Nt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1301
1301
|
"focus:border-border-dark": !e && r,
|
|
1302
1302
|
"border-border-error-dark": !e && r,
|
|
1303
1303
|
"border-transparent": e
|
|
1304
|
-
}),
|
|
1304
|
+
}), It = ({
|
|
1305
1305
|
disabled: e,
|
|
1306
1306
|
raw: r,
|
|
1307
1307
|
error: t,
|
|
@@ -1340,7 +1340,7 @@ const Nt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1340
1340
|
"text-copy-medium dark:text-copy-error-dark": a === "alt-system"
|
|
1341
1341
|
}
|
|
1342
1342
|
);
|
|
1343
|
-
},
|
|
1343
|
+
}, $t = ({
|
|
1344
1344
|
error: e,
|
|
1345
1345
|
raw: r,
|
|
1346
1346
|
mode: t,
|
|
@@ -1367,7 +1367,7 @@ const Nt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1367
1367
|
"text-copy-error-dark dark:text-copy-error-light": t === "system",
|
|
1368
1368
|
"dark:text-copy-error-dark text-copy-error-light": t === "alt-system"
|
|
1369
1369
|
});
|
|
1370
|
-
},
|
|
1370
|
+
}, At = ({
|
|
1371
1371
|
className: e,
|
|
1372
1372
|
textAreaClassName: r,
|
|
1373
1373
|
raw: t,
|
|
@@ -1396,14 +1396,14 @@ const Nt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1396
1396
|
{
|
|
1397
1397
|
"disabled:cursor-not-allowed disabled:opacity-50": o
|
|
1398
1398
|
}
|
|
1399
|
-
), g = t ? void 0 : "sr-only", b =
|
|
1399
|
+
), g = t ? void 0 : "sr-only", b = It({
|
|
1400
1400
|
disabled: o,
|
|
1401
1401
|
raw: t,
|
|
1402
1402
|
error: i,
|
|
1403
1403
|
mode: s,
|
|
1404
1404
|
rightElement: u,
|
|
1405
1405
|
leftElement: d
|
|
1406
|
-
}), p =
|
|
1406
|
+
}), p = $t({
|
|
1407
1407
|
error: i,
|
|
1408
1408
|
raw: t,
|
|
1409
1409
|
mode: s,
|
|
@@ -1460,9 +1460,9 @@ const Nt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1460
1460
|
...D
|
|
1461
1461
|
}, W) => {
|
|
1462
1462
|
var ee;
|
|
1463
|
-
const x = f(null), _e = bt([W, x]), [we, U] = de(), [Ee,
|
|
1463
|
+
const x = f(null), _e = bt([W, x]), [we, U] = de(), [Ee, I] = de(), j = f(80), te = f(-25), S = f(null), re = f(30), q = f(null), z = kt({ id: e, prefix: `${ke}-` }), [ae, Ne] = A(0), [oe, Se] = A(0), [Te, ne] = A(
|
|
1464
1464
|
!!(!v && p)
|
|
1465
|
-
), Ce = `${r} error, ${p}`, T =
|
|
1465
|
+
), Ce = `${r} error, ${p}`, T = At({
|
|
1466
1466
|
className: n,
|
|
1467
1467
|
textAreaClassName: i,
|
|
1468
1468
|
error: a,
|
|
@@ -1473,7 +1473,7 @@ const Nt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1473
1473
|
mode: s,
|
|
1474
1474
|
rightElement: !!k,
|
|
1475
1475
|
leftElement: !!_
|
|
1476
|
-
}), [w,
|
|
1476
|
+
}), [w, Ie] = ft({
|
|
1477
1477
|
value: u,
|
|
1478
1478
|
initialControlledDelay: 20,
|
|
1479
1479
|
defaultValue: m,
|
|
@@ -1484,9 +1484,9 @@ const Nt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1484
1484
|
}
|
|
1485
1485
|
});
|
|
1486
1486
|
}
|
|
1487
|
-
}),
|
|
1488
|
-
|
|
1489
|
-
},
|
|
1487
|
+
}), $e = (y) => {
|
|
1488
|
+
Ie(y.target.value);
|
|
1489
|
+
}, Ae = (y) => {
|
|
1490
1490
|
v && p && ne(!0), O && O(y);
|
|
1491
1491
|
}, Re = (y) => {
|
|
1492
1492
|
v && p && !w && ne(!1), M && M(y);
|
|
@@ -1494,8 +1494,8 @@ const Nt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1494
1494
|
return L(() => {
|
|
1495
1495
|
U && U.width && Ne(U.width + 18 + 10);
|
|
1496
1496
|
}, [U]), L(() => {
|
|
1497
|
-
|
|
1498
|
-
}, [
|
|
1497
|
+
I && I.width && Se(I.width + 18 + 10);
|
|
1498
|
+
}, [I]), L(() => {
|
|
1499
1499
|
o || x && x.current && w !== void 0 && (x.current.style.height = "inherit", x.current.style.height = x.current.scrollHeight + "px");
|
|
1500
1500
|
}, [w, o]), L(() => {
|
|
1501
1501
|
o || setTimeout(() => {
|
|
@@ -1522,9 +1522,9 @@ const Nt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1522
1522
|
`${Q}px`
|
|
1523
1523
|
)), j.current = Be || j.current;
|
|
1524
1524
|
}
|
|
1525
|
-
}, [w, o]),
|
|
1525
|
+
}, [w, o]), I.width > 0 && ((ee = S == null ? void 0 : S.current) == null || ee.style.setProperty(
|
|
1526
1526
|
"--tw-translate-x",
|
|
1527
|
-
`${12 +
|
|
1527
|
+
`${12 + I.width + 5}px`
|
|
1528
1528
|
)), /* @__PURE__ */ N("div", { className: T.wrapper, children: [
|
|
1529
1529
|
/* @__PURE__ */ c(
|
|
1530
1530
|
"label",
|
|
@@ -1564,8 +1564,8 @@ const Nt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1564
1564
|
}
|
|
1565
1565
|
},
|
|
1566
1566
|
value: w,
|
|
1567
|
-
onChange:
|
|
1568
|
-
onFocus:
|
|
1567
|
+
onChange: $e,
|
|
1568
|
+
onFocus: Ae,
|
|
1569
1569
|
onBlur: Re,
|
|
1570
1570
|
...D
|
|
1571
1571
|
}
|
|
@@ -1606,18 +1606,18 @@ export {
|
|
|
1606
1606
|
We as AppContext,
|
|
1607
1607
|
Ot as E,
|
|
1608
1608
|
Bt as Fe,
|
|
1609
|
-
|
|
1609
|
+
Ft as HistoryContext,
|
|
1610
1610
|
Dt as NewChatButton,
|
|
1611
1611
|
Mt as SERVICE_TYPES,
|
|
1612
1612
|
Gt as TagsContext,
|
|
1613
1613
|
Xt as be,
|
|
1614
1614
|
Wt as ce,
|
|
1615
|
-
|
|
1615
|
+
P as f,
|
|
1616
1616
|
Jt as ge,
|
|
1617
1617
|
Qt as he,
|
|
1618
1618
|
qt as ne,
|
|
1619
1619
|
ut as oe,
|
|
1620
|
-
|
|
1620
|
+
Pt as restCall,
|
|
1621
1621
|
jt as se,
|
|
1622
1622
|
Ut as serviceCall
|
|
1623
1623
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SassySaint as r } from "./chunks/index.
|
|
1
|
+
import { SassySaint as r } from "./chunks/index.CFKzlMOQ.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v5.
|
|
3
|
+
@sassysaint/client v5.18.0
|
|
4
4
|
© 2025 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "5.
|
|
9
|
-
buildTime: "01/02/2025
|
|
8
|
+
version: "5.18.0",
|
|
9
|
+
buildTime: "01/02/2025 10:16 AM EST",
|
|
10
10
|
license: "MIT"
|
|
11
11
|
});
|
|
12
12
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/sassysaint",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@sassysaint/client": "5.
|
|
33
|
+
"@sassysaint/client": "5.18.0",
|
|
34
34
|
"@versini/ui-styles": "2.1.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "7e4e9ff8f00ca1f0b0a2897f39bcf8fdfb8b3ef7"
|
|
45
45
|
}
|