@versini/sassysaint 1.0.5 → 1.0.6
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.Cr9NuvwR.js → App.DpwMzH8A.js} +3 -3
- package/dist/chunks/{LazyHeader.BTMvpINu.js → LazyHeader.C1RUIYBp.js} +5 -5
- package/dist/chunks/{LazyMarkdownWithExtra.dTKaDbyu.js → LazyMarkdownWithExtra.BlxpnMyE.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.DIvKjv9v.js → LazyMessageAssistant.CpqGU5k9.js} +4 -4
- package/dist/chunks/{index.Bzq4mcwZ.js → index.BKyjC-Gq.js} +9 -9
- package/dist/chunks/{index.DruzEDnN.BnQM6kSb.js → index.DruzEDnN.CTTNEhUa.js} +1 -1
- package/dist/chunks/{useLocalStorage.IVvZKc3P.js → useLocalStorage.CRw27Sp5.js} +1 -1
- 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 { jsxs as S, jsx as a, Fragment as me } from "react/jsx-runtime";
|
|
2
|
-
import { O as Ve, s as Be, S as De, f$1 as $e, M as ze, U as Ue, r as Fe, o as Pe, n as ge, l as Ge, a as W, isLastMessageFromRole as ye, x as fe, CANCEL as je, CLEAR as We, ACTION_RESET as he, ROLE_ASSISTANT as L, ROLE_INTERNAL as X, ROLE_USER as Q, Hr as K, ROLE_SYSTEM as Ye, ROLE_HIDDEN as qe, MODEL_GPT4 as xe, STATS_SEPARATOR as ae, ACTION_MODEL as be, ACTION_MESSAGE as H, TYPE_QUESTION as Je, SEND as Qe, ACTION_STREAMING as ke, ERROR_MESSAGE as Xe, getMessageContaintWrapperClass as Ke, MessagesContainerHeader as Ze, ACTION_SEARCH as er, ACTION_SORT as rr, ACTION_RESTORE as tr, ACTION_LOCATION as _, getCurrentGeoLocation as or, c as sr, AppFooter as ar, LOCAL_STORAGE_PREFIX as Y, LOCAL_STORAGE_SEARCH as nr, LOCAL_STORAGE_SORT as lr, LOCAL_STORAGE_LOCATION as cr } from "./index.
|
|
3
|
-
import { g as Ce, AppContext as U, restCall as ir, E as q, serviceCall as ne, SERVICE_TYPES as le, HistoryContext as dr, k as ur } from "./useLocalStorage.
|
|
2
|
+
import { O as Ve, s as Be, S as De, f$1 as $e, M as ze, U as Ue, r as Fe, o as Pe, n as ge, l as Ge, a as W, isLastMessageFromRole as ye, x as fe, CANCEL as je, CLEAR as We, ACTION_RESET as he, ROLE_ASSISTANT as L, ROLE_INTERNAL as X, ROLE_USER as Q, Hr as K, ROLE_SYSTEM as Ye, ROLE_HIDDEN as qe, MODEL_GPT4 as xe, STATS_SEPARATOR as ae, ACTION_MODEL as be, ACTION_MESSAGE as H, TYPE_QUESTION as Je, SEND as Qe, ACTION_STREAMING as ke, ERROR_MESSAGE as Xe, getMessageContaintWrapperClass as Ke, MessagesContainerHeader as Ze, ACTION_SEARCH as er, ACTION_SORT as rr, ACTION_RESTORE as tr, ACTION_LOCATION as _, getCurrentGeoLocation as or, c as sr, AppFooter as ar, LOCAL_STORAGE_PREFIX as Y, LOCAL_STORAGE_SEARCH as nr, LOCAL_STORAGE_SORT as lr, LOCAL_STORAGE_LOCATION as cr } from "./index.BKyjC-Gq.js";
|
|
3
|
+
import { g as Ce, AppContext as U, restCall as ir, E as q, serviceCall as ne, SERVICE_TYPES as le, HistoryContext as dr, k as ur } from "./useLocalStorage.CRw27Sp5.js";
|
|
4
4
|
import pr, { useState as R, useEffect as E, useRef as x, useLayoutEffect as D, useContext as Z, lazy as mr, Suspense as ce, useReducer as ie, useCallback as gr } from "react";
|
|
5
5
|
import y from "clsx";
|
|
6
6
|
const yr = ({
|
|
@@ -475,7 +475,7 @@ const Vr = () => {
|
|
|
475
475
|
children: r != null && r.streaming ? je : We
|
|
476
476
|
}
|
|
477
477
|
) }) : null;
|
|
478
|
-
}, ue = mr(() => import("./LazyMessageAssistant.
|
|
478
|
+
}, ue = mr(() => import("./LazyMessageAssistant.CpqGU5k9.js").then((e) => e.LazyMessageAssistant)), Br = () => {
|
|
479
479
|
const { state: e } = Z(U);
|
|
480
480
|
return /* @__PURE__ */ S(me, { children: [
|
|
481
481
|
e && e.messages.length > 0 && e.messages.map((r, o) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as c, jsx as t, Fragment as w } from "react/jsx-runtime";
|
|
2
|
-
import { O, i$1 as Le, N as De, p as Oe, o as _e, g as A, N$1 as _, CARDS as C, renderDataAsList as P, pluralize as q, ABOUT_TITLE as ze, MODEL_GPT4 as Be, numberFormatter as Ve, durationFormatter as fe, NA as Pe, ROLE_ASSISTANT as Fe, extractAverage as $e, GPT4_MAX_TOKENS as Ge, Hr as G, STATS as ge, b as X, j as M, x as Q, LOCAL_STORAGE_PREFIX as Z, LOCAL_STORAGE_SORT as Ue, ACTION_RESET as je, ACTION_RESTORE as Ye, truncate as Ke, ACTION_SORT as re, LOCAL_STORAGE_SEARCH as We, G as Xe, ACTION_SEARCH as Je, HISTORY_TITLE as qe, LOCAL_STORAGE_CHAT_DETAILS as Qe, LOCAL_STORAGE_LOCATION as Ze, Y as et, f$2 as tt, ACTION_LOCATION as le, getCurrentGeoLocation as st, convertLatitudeToDMS as at, convertLongitudeToDMS as rt, PROFILE_TITLE as nt, LOG_OUT as de } from "./index.
|
|
2
|
+
import { O, i$1 as Le, N as De, p as Oe, o as _e, g as A, N$1 as _, CARDS as C, renderDataAsList as P, pluralize as q, ABOUT_TITLE as ze, MODEL_GPT4 as Be, numberFormatter as Ve, durationFormatter as fe, NA as Pe, ROLE_ASSISTANT as Fe, extractAverage as $e, GPT4_MAX_TOKENS as Ge, Hr as G, STATS as ge, b as X, j as M, x as Q, LOCAL_STORAGE_PREFIX as Z, LOCAL_STORAGE_SORT as Ue, ACTION_RESET as je, ACTION_RESTORE as Ye, truncate as Ke, ACTION_SORT as re, LOCAL_STORAGE_SEARCH as We, G as Xe, ACTION_SEARCH as Je, HISTORY_TITLE as qe, LOCAL_STORAGE_CHAT_DETAILS as Qe, LOCAL_STORAGE_LOCATION as Ze, Y as et, f$2 as tt, ACTION_LOCATION as le, getCurrentGeoLocation as st, convertLatitudeToDMS as at, convertLongitudeToDMS as rt, PROFILE_TITLE as nt, LOG_OUT as de } from "./index.BKyjC-Gq.js";
|
|
3
3
|
import * as ce from "react";
|
|
4
4
|
import ot, { forwardRef as Ce, useState as T, useRef as F, useContext as R, useEffect as L, Suspense as ct, lazy as it, useId as lt } from "react";
|
|
5
|
-
import { g as dt, AppContext as U, serviceCall as te, SERVICE_TYPES as se, HistoryContext as Ne, E as ee, k as v, et as ut, at as mt, lt as ne, J as H, ct as ht, st as pt, rt as ft } from "./useLocalStorage.
|
|
5
|
+
import { g as dt, AppContext as U, serviceCall as te, SERVICE_TYPES as se, HistoryContext as Ne, E as ee, k as v, et as ut, at as mt, lt as ne, J as H, ct as ht, st as pt, rt as ft } from "./useLocalStorage.CRw27Sp5.js";
|
|
6
6
|
import E from "clsx";
|
|
7
7
|
import { useFloatingTree as Te, useFloatingNodeId as gt, useListItem as ye, useFloating as Ct, offset as Nt, flip as Tt, shift as yt, autoUpdate as bt, useClick as St, useRole as wt, useDismiss as Et, useListNavigation as kt, useTypeahead as xt, useInteractions as vt, useMergeRefs as be, FloatingNode as At, FloatingList as It, FloatingPortal as Ht, FloatingFocusManager as Mt, FloatingTree as Rt } from "@floating-ui/react";
|
|
8
8
|
const ie = ce.createContext({
|
|
@@ -196,7 +196,7 @@ const Lt = ({ className: e, ...s }) => {
|
|
|
196
196
|
header: "p-4 mb-0",
|
|
197
197
|
close: "p-4"
|
|
198
198
|
}), j = (e) => it(
|
|
199
|
-
() => import("./index.DruzEDnN.
|
|
199
|
+
() => import("./index.DruzEDnN.CTTNEhUa.js").then((s) => ({
|
|
200
200
|
default: s[e]
|
|
201
201
|
}))
|
|
202
202
|
), _t = j("Modal"), zt = j("ModalClose"), Bt = j("ModalContent"), Vt = j("ModalDescription"), Pt = j("ModalHeading"), Y = ({
|
|
@@ -600,8 +600,8 @@ const rs = ({ stats: e }) => {
|
|
|
600
600
|
header: C.ABOUT.TITLE_CLIENT,
|
|
601
601
|
className: "prose-dark dark:prose-lighter",
|
|
602
602
|
children: P(n, {
|
|
603
|
-
[C.ABOUT.VERSION]: "3.
|
|
604
|
-
[C.ABOUT.BUILD_TIMESTAMP]: "07/15/2024 12:
|
|
603
|
+
[C.ABOUT.VERSION]: "3.4.0",
|
|
604
|
+
[C.ABOUT.BUILD_TIMESTAMP]: "07/15/2024 12:59 PM EDT"
|
|
605
605
|
})
|
|
606
606
|
}
|
|
607
607
|
) }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _i } from "react/jsx-runtime";
|
|
2
|
-
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.
|
|
2
|
+
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.CpqGU5k9.js";
|
|
3
3
|
const U0 = (
|
|
4
4
|
// Note: overloads like this are needed to support optional generics.
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
|
|
2
|
-
import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.
|
|
3
|
-
import { AppContext as Ei, E as Ai } from "./useLocalStorage.
|
|
2
|
+
import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.BKyjC-Gq.js";
|
|
3
|
+
import { AppContext as Ei, E as Ai } from "./useLocalStorage.CRw27Sp5.js";
|
|
4
4
|
import { lazy as Ii, useContext as Ti, Suspense as Pi } from "react";
|
|
5
|
-
import { T as ut } from "./App.
|
|
5
|
+
import { T as ut } from "./App.DpwMzH8A.js";
|
|
6
6
|
import cn from "clsx";
|
|
7
7
|
const Li = ({
|
|
8
8
|
spinnerRef: e,
|
|
@@ -8618,7 +8618,7 @@ function sf(e) {
|
|
|
8618
8618
|
i.push(af(n)), o.push(Tc()), l.push(Pc(n));
|
|
8619
8619
|
}
|
|
8620
8620
|
const cf = Ii(
|
|
8621
|
-
() => import("./LazyMarkdownWithExtra.
|
|
8621
|
+
() => import("./LazyMarkdownWithExtra.BlxpnMyE.js")
|
|
8622
8622
|
), In = {
|
|
8623
8623
|
MODEL: "Model",
|
|
8624
8624
|
PLUGIN: "Plugin",
|
|
@@ -3,13 +3,13 @@ import H, { createContext as Qt, useReducer as ht, useRef as V, useCallback as r
|
|
|
3
3
|
import f from "clsx";
|
|
4
4
|
var tr = Object.defineProperty, rr = (e, t, r) => t in e ? tr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ce = (e, t, r) => rr(e, typeof t != "symbol" ? t + "" : t, r);
|
|
5
5
|
/*!
|
|
6
|
-
@versini/auth-provider
|
|
6
|
+
@versini/auth-provider v6.0.0
|
|
7
7
|
© 2024 gizmette.com
|
|
8
8
|
*/
|
|
9
9
|
try {
|
|
10
10
|
window.__VERSINI_AUTH_CLIENT__ || (window.__VERSINI_AUTH_CLIENT__ = {
|
|
11
|
-
version: "
|
|
12
|
-
buildTime: "07/15/2024
|
|
11
|
+
version: "6.0.0",
|
|
12
|
+
buildTime: "07/15/2024 12:46 PM EDT",
|
|
13
13
|
homepage: "https://github.com/aversini/auth-client",
|
|
14
14
|
license: "MIT"
|
|
15
15
|
});
|
|
@@ -310,7 +310,7 @@ async function lr(e, t = !1) {
|
|
|
310
310
|
try {
|
|
311
311
|
window.__VERSINI_AUTH_COMMON__ || (window.__VERSINI_AUTH_COMMON__ = {
|
|
312
312
|
version: "2.12.1",
|
|
313
|
-
buildTime: "07/15/2024
|
|
313
|
+
buildTime: "07/15/2024 12:46 PM EDT",
|
|
314
314
|
homepage: "https://github.com/aversini/auth-client",
|
|
315
315
|
license: "MIT"
|
|
316
316
|
});
|
|
@@ -1129,7 +1129,7 @@ function Ue(e, t, r) {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
const de = "Oops! It looks like your session has expired. For your security, please log in again to continue.", sa = "Your session has been successfully terminated.", ue = "Login failed. Please try again.", He = "Error getting access token, please re-authenticate.", ia = "You forgot to wrap your component in <AuthProvider>.", we = {
|
|
1131
1131
|
dev: "https://auth.gizmette.local.com:3003",
|
|
1132
|
-
prod: "https://mylogin.gizmette.com"
|
|
1132
|
+
prod: "https://mylogin.gizmette.com/auth"
|
|
1133
1133
|
}, me = "@@auth@@", ee = "LOADING", te = "LOGIN", Dt = "LOGOUT", ca = process.env.NODE_ENV === "production", $t = !ca, ke = async ({
|
|
1134
1134
|
type: e,
|
|
1135
1135
|
clientId: t,
|
|
@@ -3256,7 +3256,7 @@ const fn = "ASK! ME! ANYTHING!", Jt = "Sassy Saint", yn = "gizmette.com", bn = "
|
|
|
3256
3256
|
row1: /* @__PURE__ */ T("div", { children: [
|
|
3257
3257
|
Jt,
|
|
3258
3258
|
" v",
|
|
3259
|
-
"3.
|
|
3259
|
+
"3.4.0",
|
|
3260
3260
|
" - ",
|
|
3261
3261
|
Tn,
|
|
3262
3262
|
Fe && e && e.models.length > 0 && e.models[0] === "development" ? " - Development Mode" : ""
|
|
@@ -3268,7 +3268,7 @@ const fn = "ASK! ME! ANYTHING!", Jt = "Sassy Saint", yn = "gizmette.com", bn = "
|
|
|
3268
3268
|
yn
|
|
3269
3269
|
] })
|
|
3270
3270
|
}
|
|
3271
|
-
), vn = ft(() => import("./LazyHeader.
|
|
3271
|
+
), vn = ft(() => import("./LazyHeader.C1RUIYBp.js")), An = () => {
|
|
3272
3272
|
const { isAuthenticated: e } = je();
|
|
3273
3273
|
return /* @__PURE__ */ T(ne, { children: [
|
|
3274
3274
|
e && /* @__PURE__ */ c(yt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(vn, {}) }),
|
|
@@ -3379,14 +3379,14 @@ const fn = "ASK! ME! ANYTHING!", Jt = "Sassy Saint", yn = "gizmette.com", bn = "
|
|
|
3379
3379
|
] }),
|
|
3380
3380
|
/* @__PURE__ */ c(In, {})
|
|
3381
3381
|
] });
|
|
3382
|
-
}, Sn = ft(() => import("./App.
|
|
3382
|
+
}, Sn = ft(() => import("./App.DpwMzH8A.js").then((e) => e.App)), _n = ({ isComponent: e }) => {
|
|
3383
3383
|
const { isAuthenticated: t } = je();
|
|
3384
3384
|
return t ? /* @__PURE__ */ c(yt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Sn, { isComponent: e }) }) : /* @__PURE__ */ c(kn, {});
|
|
3385
3385
|
}, Rn = ({
|
|
3386
3386
|
isComponent: e = !1,
|
|
3387
3387
|
domain: t = Sa
|
|
3388
3388
|
}) => /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(ga, { clientId: fa, domain: t, children: /* @__PURE__ */ c(_n, { isComponent: e }) }) }), Nn = ({ domain: e }) => /* @__PURE__ */ c(Rn, { isComponent: !0, domain: e });
|
|
3389
|
-
Nn.displayName = "SassySaint-3.
|
|
3389
|
+
Nn.displayName = "SassySaint-3.4.0";
|
|
3390
3390
|
export {
|
|
3391
3391
|
Kt as A,
|
|
3392
3392
|
Co as ABOUT_TITLE,
|
|
@@ -3,7 +3,7 @@ import A from "clsx";
|
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { useRef as C, useReducer as M, useEffect as _, useId as x } from "react";
|
|
5
5
|
import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as k, useFloating as P, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
|
|
6
|
-
import { S as j } from "./index.
|
|
6
|
+
import { S as j } from "./index.BKyjC-Gq.js";
|
|
7
7
|
const b = "SET_ANNOUNCEMENT", w = "CLEAR_ANNOUNCEMENT", q = {
|
|
8
8
|
alert: null,
|
|
9
9
|
alertdialog: null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _, Fragment as M, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import m from "clsx";
|
|
3
3
|
import w, { useContext as k, useSyncExternalStore as W, useCallback as S, useEffect as U } from "react";
|
|
4
|
-
import { A as F, i as P, f as q, S as j, MODEL_GPT4 as J } from "./index.
|
|
4
|
+
import { A as F, i as P, f as q, S as j, MODEL_GPT4 as J } from "./index.BKyjC-Gq.js";
|
|
5
5
|
const Q = (e) => {
|
|
6
6
|
let a = "";
|
|
7
7
|
if (typeof e == "number" || typeof e == "string")
|
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.BKyjC-Gq.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v3.
|
|
3
|
+
@sassysaint/client v3.4.0
|
|
4
4
|
© 2024 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "3.
|
|
9
|
-
buildTime: "07/15/2024 12:
|
|
8
|
+
version: "3.4.0",
|
|
9
|
+
buildTime: "07/15/2024 12:59 PM EDT",
|
|
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": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"react-dom": "18.3.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@sassysaint/client": "3.
|
|
33
|
+
"@sassysaint/client": "3.4.0",
|
|
34
34
|
"@versini/ui-styles": "1.9.3"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "634b6297c99dd8ede668ec018f607195fa6f7a75"
|
|
45
45
|
}
|