@versini/sassysaint 5.5.30 → 5.5.31
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/{App.QCfXzAXM.js → App.3S5z9eA2.js} +1781 -1798
- package/dist/chunks/HeaderToolbar.BL6VBjoM.js +2508 -0
- package/dist/chunks/{MarkdownWithExtra.BVNZoiYp.js → MarkdownWithExtra.CZf_39jQ.js} +6 -6
- package/dist/chunks/{MessageAssistant.CXsF442E.js → MessageAssistant.Dc4io3BJ.js} +3 -3
- package/dist/chunks/{index.DbjZmArX.js → index.jHs4IE9w.js} +31 -31
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
- package/dist/chunks/HeaderToolbar.0JOe_Vgi.js +0 -2305
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as We, 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 "./MessageAssistant.
|
|
3
|
-
import { P 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 "./MessageAssistant.Dc4io3BJ.js";
|
|
3
|
+
import { P as Is, L as Ds, j as Ls } from "./index.jHs4IE9w.js";
|
|
4
4
|
import Bs, { useState as zs, useEffect as Ps } from "react";
|
|
5
5
|
import Fs from "clsx";
|
|
6
6
|
const ka = ({
|
|
@@ -40,7 +40,7 @@ const ka = ({
|
|
|
40
40
|
try {
|
|
41
41
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
42
42
|
version: "4.0.1",
|
|
43
|
-
buildTime: "01/
|
|
43
|
+
buildTime: "01/13/2025 05:57 AM EST",
|
|
44
44
|
homepage: "https://github.com/aversini/ui-components",
|
|
45
45
|
license: "MIT"
|
|
46
46
|
});
|
|
@@ -98,13 +98,13 @@ const Us = ({
|
|
|
98
98
|
}
|
|
99
99
|
);
|
|
100
100
|
/*!
|
|
101
|
-
@versini/ui-icons v4.
|
|
101
|
+
@versini/ui-icons v4.4.0
|
|
102
102
|
© 2025 gizmette.com
|
|
103
103
|
*/
|
|
104
104
|
try {
|
|
105
105
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
106
|
-
version: "4.
|
|
107
|
-
buildTime: "01/
|
|
106
|
+
version: "4.4.0",
|
|
107
|
+
buildTime: "01/13/2025 05:57 AM EST",
|
|
108
108
|
homepage: "https://github.com/aversini/ui-components",
|
|
109
109
|
license: "MIT"
|
|
110
110
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as Ye, jsx as re, Fragment as Jt } from "react/jsx-runtime";
|
|
2
|
-
import { AppContext as pi, E as hi, le as at } from "./App.
|
|
2
|
+
import { AppContext as pi, E as hi, le as at } from "./App.3S5z9eA2.js";
|
|
3
3
|
import sn from "clsx";
|
|
4
4
|
import { lazy as mi, useContext as gi, Suspense as di } from "react";
|
|
5
|
-
import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.
|
|
5
|
+
import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.jHs4IE9w.js";
|
|
6
6
|
function Zt(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
8
|
}
|
|
@@ -8654,7 +8654,7 @@ function Uc(e) {
|
|
|
8654
8654
|
const qc = mi(
|
|
8655
8655
|
() => import(
|
|
8656
8656
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8657
|
-
"./MarkdownWithExtra.
|
|
8657
|
+
"./MarkdownWithExtra.CZf_39jQ.js"
|
|
8658
8658
|
)
|
|
8659
8659
|
), Tn = {
|
|
8660
8660
|
MODEL: "Model",
|
|
@@ -1917,7 +1917,7 @@ const Oa = (e) => q(
|
|
|
1917
1917
|
children: e
|
|
1918
1918
|
}
|
|
1919
1919
|
) });
|
|
1920
|
-
}, jt = (e = Ft) => Tt(e), io = "user", co = "assistant", lo = "system", uo = "internal", mo = "hidden", ho = "I'm having trouble right now. Please try again later.", po = "OpenAI", go = "OpenAI", yo = "Anthropic", fo = "action-message", bo = "action-reset", Eo = "action-model", wo = "action-restore", To = "action-streaming", Io = "action-search", So = "action-sort", _o = "action-toggle-prompt", ko = "action-reset-prompt", Ao = "sassy-saint-", vo = "details", Ro = "search", No = "sort", xo = "
|
|
1920
|
+
}, jt = (e = Ft) => Tt(e), io = "user", co = "assistant", lo = "system", uo = "internal", mo = "hidden", ho = "I'm having trouble right now. Please try again later.", po = "OpenAI", go = "OpenAI", yo = "Anthropic", fo = "action-message", bo = "action-reset", Eo = "action-model", wo = "action-restore", To = "action-streaming", Io = "action-search", So = "action-sort", _o = "action-toggle-prompt", ko = "action-reset-prompt", Ao = "sassy-saint-", vo = "details", Ro = "search", No = "sort", xo = "==stats==", Ma = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Co = 10, Oo = 30, Po = "av-prompt", Do = "av-prompt-editable", ft = (e) => Number.isFinite(e) ? e : 0;
|
|
1921
1921
|
function $a(e) {
|
|
1922
1922
|
return {
|
|
1923
1923
|
days: Math.trunc(e / 864e5),
|
|
@@ -1997,7 +1997,7 @@ function Ja(e, t) {
|
|
|
1997
1997
|
const h = t.colonNotation ? ":" : " ";
|
|
1998
1998
|
return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), a + n.join(h);
|
|
1999
1999
|
}
|
|
2000
|
-
const Va = process.env.NODE_ENV === "production", Ya = !Va, za = Ya ? "gizmette.local.com" : "gizmette.com",
|
|
2000
|
+
const Va = process.env.NODE_ENV === "production", Ya = !Va, za = Ya ? "gizmette.local.com" : "gizmette.com", Lo = async () => {
|
|
2001
2001
|
const e = {
|
|
2002
2002
|
/**
|
|
2003
2003
|
* A boolean value that indicates the application would
|
|
@@ -2046,10 +2046,10 @@ const Va = process.env.NODE_ENV === "production", Ya = !Va, za = Ya ? "gizmette.
|
|
|
2046
2046
|
e
|
|
2047
2047
|
);
|
|
2048
2048
|
});
|
|
2049
|
-
},
|
|
2049
|
+
}, Mo = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ O("div", { className: "flex items-center justify-between", children: [
|
|
2050
2050
|
/* @__PURE__ */ l("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
|
|
2051
2051
|
/* @__PURE__ */ l("dd", { className: "my-1 inline-block", children: t[r] })
|
|
2052
|
-
] }) }, `${e}-${r}`)) : null,
|
|
2052
|
+
] }) }, `${e}-${r}`)) : null, $o = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Uo = (e) => e > 0 ? Ja(e, {
|
|
2053
2053
|
secondsDecimalDigits: 2,
|
|
2054
2054
|
unitCount: 2
|
|
2055
2055
|
}) : "N/A", Fa = ({
|
|
@@ -2061,7 +2061,7 @@ const Va = process.env.NODE_ENV === "production", Ya = !Va, za = Ya ? "gizmette.
|
|
|
2061
2061
|
t
|
|
2062
2062
|
), ja = ({
|
|
2063
2063
|
extraClass: e
|
|
2064
|
-
}) => g("px-2 sm:px-0", e),
|
|
2064
|
+
}) => g("px-2 sm:px-0", e), Ko = (e, t) => t === 1 ? e : `${e}s`, Ho = (e, t) => {
|
|
2065
2065
|
let r;
|
|
2066
2066
|
return (...a) => {
|
|
2067
2067
|
window.clearTimeout(r), r = window.setTimeout(() => e(...a), t);
|
|
@@ -2073,7 +2073,7 @@ const Va = process.env.NODE_ENV === "production", Ya = !Va, za = Ya ? "gizmette.
|
|
|
2073
2073
|
labelLeft: a,
|
|
2074
2074
|
align: n
|
|
2075
2075
|
}) => {
|
|
2076
|
-
const o = "max-h-8 py-0 px-2", s = "max-h-9
|
|
2076
|
+
const o = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", i = "max-h-12 py-2 px-4";
|
|
2077
2077
|
switch (e) {
|
|
2078
2078
|
case tt:
|
|
2079
2079
|
case je:
|
|
@@ -2430,10 +2430,10 @@ const qe = z.forwardRef(
|
|
|
2430
2430
|
radius: w,
|
|
2431
2431
|
variant: I
|
|
2432
2432
|
}), N = g({
|
|
2433
|
-
"text-copy-accent-dark": r === "light" && !i,
|
|
2434
|
-
"text-copy-light": r === "dark" && !i,
|
|
2435
|
-
"
|
|
2436
|
-
"
|
|
2433
|
+
"text-copy-accent-dark": (r === "light" || r === "alt-system") && !i,
|
|
2434
|
+
"text-copy-light": (r === "dark" || r === "system") && !i,
|
|
2435
|
+
"dark:text-copy-light": r === "alt-system" && !i,
|
|
2436
|
+
"dark:text-copy-accent-dark": r === "system" && !i
|
|
2437
2437
|
});
|
|
2438
2438
|
return /* @__PURE__ */ O(
|
|
2439
2439
|
Me,
|
|
@@ -2455,13 +2455,13 @@ const qe = z.forwardRef(
|
|
|
2455
2455
|
);
|
|
2456
2456
|
qe.displayName = "ButtonIcon";
|
|
2457
2457
|
/*!
|
|
2458
|
-
@versini/ui-button v4.0.
|
|
2458
|
+
@versini/ui-button v4.0.7
|
|
2459
2459
|
© 2025 gizmette.com
|
|
2460
2460
|
*/
|
|
2461
2461
|
try {
|
|
2462
2462
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
2463
|
-
version: "4.0.
|
|
2464
|
-
buildTime: "01/
|
|
2463
|
+
version: "4.0.7",
|
|
2464
|
+
buildTime: "01/13/2025 05:57 AM EST",
|
|
2465
2465
|
homepage: "https://github.com/aversini/ui-components",
|
|
2466
2466
|
license: "MIT"
|
|
2467
2467
|
});
|
|
@@ -2695,7 +2695,7 @@ const un = ({
|
|
|
2695
2695
|
try {
|
|
2696
2696
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
2697
2697
|
version: "4.0.1",
|
|
2698
|
-
buildTime: "01/
|
|
2698
|
+
buildTime: "01/13/2025 05:57 AM EST",
|
|
2699
2699
|
homepage: "https://github.com/aversini/ui-components",
|
|
2700
2700
|
license: "MIT"
|
|
2701
2701
|
});
|
|
@@ -2824,13 +2824,13 @@ const mn = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
|
2824
2824
|
}
|
|
2825
2825
|
);
|
|
2826
2826
|
/*!
|
|
2827
|
-
@versini/ui-icons v4.
|
|
2827
|
+
@versini/ui-icons v4.4.0
|
|
2828
2828
|
© 2025 gizmette.com
|
|
2829
2829
|
*/
|
|
2830
2830
|
try {
|
|
2831
2831
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
2832
|
-
version: "4.
|
|
2833
|
-
buildTime: "01/
|
|
2832
|
+
version: "4.4.0",
|
|
2833
|
+
buildTime: "01/13/2025 05:57 AM EST",
|
|
2834
2834
|
homepage: "https://github.com/aversini/ui-components",
|
|
2835
2835
|
license: "MIT"
|
|
2836
2836
|
});
|
|
@@ -3538,7 +3538,7 @@ try {
|
|
|
3538
3538
|
});
|
|
3539
3539
|
} catch {
|
|
3540
3540
|
}
|
|
3541
|
-
const Hn = "ASK! ME! ANYTHING!", Wn = "Callisto", Bn = "Log in", Gn = "Sign in with a Passkey",
|
|
3541
|
+
const Hn = "ASK! ME! ANYTHING!", Wn = "Callisto", Bn = "Log in", Gn = "Sign in with a Passkey", Wo = "Log out", Jn = "Password", Bo = "Profile", Go = "Settings", Jo = "Chat history", Vo = "About", Yo = "Type your question here", zo = "{{clipboard}}", Fo = "Prompts 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 = {
|
|
3542
3542
|
PREFERENCES: {
|
|
3543
3543
|
TITLE: "User profile",
|
|
3544
3544
|
NAME: "Name",
|
|
@@ -3693,7 +3693,7 @@ const Hn = "ASK! ME! ANYTHING!", Wn = "Callisto", Bn = "Log in", Gn = "Sign in w
|
|
|
3693
3693
|
) });
|
|
3694
3694
|
}, zn = new URL(document.location.href).searchParams, Fn = !!zn.get("debug") || !1, jn = or(() => import(
|
|
3695
3695
|
/* webpackChunkName: "LazyApp" */
|
|
3696
|
-
"./App.
|
|
3696
|
+
"./App.3S5z9eA2.js"
|
|
3697
3697
|
).then((e) => e.App)), qn = ({ isComponent: e }) => {
|
|
3698
3698
|
const { isAuthenticated: t } = jt();
|
|
3699
3699
|
return t ? /* @__PURE__ */ l(sr, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(jn, { isComponent: e }) }) : /* @__PURE__ */ l(Yn, {});
|
|
@@ -3721,42 +3721,42 @@ export {
|
|
|
3721
3721
|
go as ENGINE_OPENAI,
|
|
3722
3722
|
ho as ERROR_MESSAGE,
|
|
3723
3723
|
Jo as HISTORY_TITLE,
|
|
3724
|
-
|
|
3725
|
-
|
|
3724
|
+
Oo as INFINITE_SCROLL_LIMIT,
|
|
3725
|
+
Co as INFINITE_SCROLL_THRESHOLD,
|
|
3726
3726
|
En as L,
|
|
3727
3727
|
vo as LOCAL_STORAGE_CHAT_DETAILS,
|
|
3728
|
-
xo as LOCAL_STORAGE_ENGINE_TOGGLE,
|
|
3729
3728
|
Ao as LOCAL_STORAGE_PREFIX,
|
|
3730
3729
|
Ro as LOCAL_STORAGE_SEARCH,
|
|
3731
3730
|
No as LOCAL_STORAGE_SORT,
|
|
3732
|
-
|
|
3731
|
+
Wo as LOG_OUT,
|
|
3733
3732
|
Vn as Logo,
|
|
3734
3733
|
ue as M,
|
|
3735
3734
|
qe as P,
|
|
3736
3735
|
Bo as PROFILE_TITLE,
|
|
3737
3736
|
Fo as PROMPTS_DESCRIPTION,
|
|
3737
|
+
Po as PROMPT_CLASSNAME,
|
|
3738
|
+
Do as PROMPT_EDITABLE_AREA_CLASSNAME,
|
|
3738
3739
|
un as R,
|
|
3739
3740
|
co as ROLE_ASSISTANT,
|
|
3740
3741
|
mo as ROLE_HIDDEN,
|
|
3741
3742
|
uo as ROLE_INTERNAL,
|
|
3742
3743
|
lo as ROLE_SYSTEM,
|
|
3743
3744
|
io as ROLE_USER,
|
|
3744
|
-
Wo as SEND,
|
|
3745
3745
|
Go as SETTINGS_TITLE,
|
|
3746
|
-
|
|
3746
|
+
xo as STATS_SEPARATOR,
|
|
3747
3747
|
qo as SassySaint,
|
|
3748
3748
|
Yo as TYPE_QUESTION,
|
|
3749
|
-
|
|
3750
|
-
|
|
3749
|
+
Ho as debounce,
|
|
3750
|
+
Uo as durationFormatter,
|
|
3751
3751
|
$e as g,
|
|
3752
|
-
|
|
3752
|
+
Lo as getCurrentGeoLocation,
|
|
3753
3753
|
ja as getMainPaddingClass,
|
|
3754
3754
|
Fa as getMessageContaintWrapperClass,
|
|
3755
|
-
|
|
3755
|
+
$o as isLastMessageFromRole,
|
|
3756
3756
|
te as j,
|
|
3757
|
-
|
|
3757
|
+
Ko as pluralize,
|
|
3758
3758
|
fn as r,
|
|
3759
|
-
|
|
3759
|
+
Mo as renderDataAsList,
|
|
3760
3760
|
jt as un,
|
|
3761
3761
|
at as ye,
|
|
3762
3762
|
pn as z
|
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.jHs4IE9w.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v5.
|
|
3
|
+
@sassysaint/client v5.20.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/
|
|
8
|
+
version: "5.20.0",
|
|
9
|
+
buildTime: "01/13/2025 09:51 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.31",
|
|
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.20.0",
|
|
34
34
|
"@versini/ui-styles": "3.1.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "d0d96885efb0ce24766dcd2aaeab947094da5b21"
|
|
45
45
|
}
|