@versini/sassysaint 8.47.0 → 8.47.1
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.BEFkfDbw.js → AboutChangelog.CrPmttGh.js} +2 -2
- package/dist/chunks/{AboutEntry.COf0szTU.js → AboutEntry.CW6LSgBo.js} +5 -5
- package/dist/chunks/{App.D5cZDwje.js → App.P8VuaklL.js} +1614 -1624
- package/dist/chunks/{Chart.B1R22nbJ.js → Chart.v46ZrHpO.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.B9tlf_JH.js → ChatBubbleAssistant.Dm3w8aPQ.js} +4 -4
- package/dist/chunks/{ChatHistoryTable.CJfAtX8B.js → ChatHistoryTable.DiXFgbUY.js} +2 -2
- package/dist/chunks/{HistoryEntry.BbDPEPVY.js → HistoryEntry.8-r_XaOl.js} +14 -14
- package/dist/chunks/{LNWAZHJI.C8sP3-rc.js → LNWAZHJI.ucCV8_lF.js} +1 -1
- package/dist/chunks/{ProfileEntry.BUTgNPlp.js → ProfileEntry.Db0i4H1-.js} +2 -2
- package/dist/chunks/{SettingsEntry.DGB3xOzh.js → SettingsEntry.DiEffW-W.js} +113 -116
- package/dist/chunks/{UsageEntry.Bu5CcqG2.js → UsageEntry.DTwtBL3G.js} +3 -3
- package/dist/chunks/{index.DzixovoY.js → index.B6LTE4XZ.js} +2 -2
- package/dist/chunks/{index.Cfb0MIIn.js → index.BdOUWeMA.js} +1 -1
- package/dist/chunks/{index.BIMh7ysv.js → index.D6DtPtKF.js} +1 -1
- package/dist/chunks/{index.D9C8rL2L.js → index.DAma765y.js} +1 -1
- package/dist/chunks/{index.yZ_0qNLI.js → index.DxRpe0Fx.js} +778 -794
- package/dist/chunks/{index.BqV1_7Z2.js → index.WoNpwqiR.js} +3 -3
- package/dist/chunks/{index.DHJP8zY7.js → index.ihYh1tax.js} +1 -1
- package/dist/chunks/{useMarkdown.BNxkjyeo.js → useMarkdown.CrlE9bFj.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as Tp } from "react/jsx-runtime";
|
2
|
-
import { getDefaultExportFromCjs as ln } from "./App.
|
2
|
+
import { getDefaultExportFromCjs as ln } from "./App.P8VuaklL.js";
|
3
3
|
import Ap, { useState as Cp, useEffect as Pp } from "react";
|
4
|
-
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.
|
4
|
+
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.DxRpe0Fx.js";
|
5
5
|
var ls = { exports: {} }, Ep = ls.exports, on;
|
6
6
|
function Ip() {
|
7
7
|
return on || (on = 1, (function(ve, ne) {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { jsx as M } from "react/jsx-runtime";
|
2
|
-
import { n as N, useUserPreferences as O, convertCamelCaseToReadable as P, numberFormatter as R, pluralize as y,
|
3
|
-
import { BUBBLE_FOOTER_EMPTY as _ } from "./index.
|
2
|
+
import { n as N, useUserPreferences as O, convertCamelCaseToReadable as P, numberFormatter as R, pluralize as y, ne as L } from "./index.DxRpe0Fx.js";
|
3
|
+
import { BUBBLE_FOOTER_EMPTY as _ } from "./index.ihYh1tax.js";
|
4
4
|
import U from "clsx";
|
5
5
|
import v, { useState as b, useRef as A, useEffect as w, useContext as B } from "react";
|
6
|
-
import { ChatContext as G, AsyncBubble as E } from "./App.
|
7
|
-
import { useMarkdown as D } from "./useMarkdown.
|
6
|
+
import { ChatContext as G, AsyncBubble as E } from "./App.P8VuaklL.js";
|
7
|
+
import { useMarkdown as D } from "./useMarkdown.CrlE9bFj.js";
|
8
8
|
const j = 2, q = j * 1e3, x = "", I = (e) => e * (2 - e);
|
9
9
|
function W(e, n = !0) {
|
10
10
|
const [a, p] = b(0), [i, C] = b(0), [t, T] = b(e), r = A(0), s = A(0);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsxs as _, jsx as t } from "react/jsx-runtime";
|
2
|
-
import { I as V, b as A,
|
3
|
-
import { e as w, st as E, p$1 as j, z as Y, p$2 as K } from "./App.
|
2
|
+
import { I as V, b as A, Ae as M, ue as S, INFINITE_SCROLL_THRESHOLD as B, CARDS as D, pluralize as H, te as T, numberFormatter as U, ye as W, isProbablyMobile as F, y as P, i$1 as L, E as G } from "./index.DxRpe0Fx.js";
|
3
|
+
import { e as w, st as E, p$1 as j, z as Y, p$2 as K } from "./App.P8VuaklL.js";
|
4
4
|
import $, { useContext as N, Fragment as q } from "react";
|
5
5
|
import y from "clsx";
|
6
6
|
const J = ({
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsxs as m, jsx as t, Fragment as J } from "react/jsx-runtime";
|
2
|
-
import { I as Q, n as z, INFINITE_SCROLL_LIMIT as H, INFINITE_SCROLL_THRESHOLD as Z, LOCAL_STORAGE_PREFIX as g, LOCAL_STORAGE_SORT_TIMESTAMP as ee, LOCAL_STORAGE_SORT_TOKEN_USAGE as te, LOCAL_STORAGE_SORT as ae,
|
3
|
-
import { HistoryContext as M, ChatContext as P, useAiChat as Te, E as D, e as h, ConfirmationPanel as fe, LazyToastContainerWrapper as ye, showErrorToast as Ee, CHAT_SET_PROVIDER as ge, showSuccessToast as Ae, CHAT_SET_STATUS as De, se as _e, a as
|
4
|
-
import { useRef as R, useState as L, useContext as _, useCallback as
|
2
|
+
import { I as Q, n as z, INFINITE_SCROLL_LIMIT as H, INFINITE_SCROLL_THRESHOLD as Z, LOCAL_STORAGE_PREFIX as g, LOCAL_STORAGE_SORT_TIMESTAMP as ee, LOCAL_STORAGE_SORT_TOKEN_USAGE as te, LOCAL_STORAGE_SORT as ae, Ae as A, useUserPreferences as re, APP_CLASSNAME as se, mutateCall as N, SERVICE_TYPES as x, setNewProvider as oe, ACTION_SORT as ne, ue as ie, TOAST_CHAT_DELETED as ce, TOAST_PROVIDER_CHANGED as le, useChatsHistory as de, LOCAL_STORAGE_SEARCH as he, HISTORY_TITLE as me, Y as ue, debounce as Se, te as Ce, ACTION_SEARCH as pe } from "./index.DxRpe0Fx.js";
|
3
|
+
import { HistoryContext as M, ChatContext as P, useAiChat as Te, E as D, e as h, ConfirmationPanel as fe, LazyToastContainerWrapper as ye, showErrorToast as Ee, CHAT_SET_PROVIDER as ge, showSuccessToast as Ae, CHAT_SET_STATUS as De, se as _e, a as Ie } from "./App.P8VuaklL.js";
|
4
|
+
import { useRef as R, useState as L, useContext as _, useCallback as Oe, useEffect as V, Suspense as Re, lazy as Le } from "react";
|
5
5
|
const ve = ({
|
6
6
|
className: i,
|
7
7
|
viewBox: l,
|
@@ -31,7 +31,7 @@ const ve = ({
|
|
31
31
|
), ke = Le(
|
32
32
|
() => import(
|
33
33
|
/* webpackChunkName: "history-table" */
|
34
|
-
"./ChatHistoryTable.
|
34
|
+
"./ChatHistoryTable.DiXFgbUY.js"
|
35
35
|
).then((i) => ({ default: i.ChatHistoryTable }))
|
36
36
|
), be = ({
|
37
37
|
filteredHistory: i,
|
@@ -43,9 +43,9 @@ const ve = ({
|
|
43
43
|
id: "",
|
44
44
|
timestamp: "",
|
45
45
|
message: ""
|
46
|
-
}), [o, f] = L(!1), [T,
|
46
|
+
}), [o, f] = L(!1), [T, I] = L(
|
47
47
|
H + Z
|
48
|
-
), { state: n, dispatch: y } = _(M),
|
48
|
+
), { state: n, dispatch: y } = _(M), O = {
|
49
49
|
searchString: n.searchString || "",
|
50
50
|
sortDirection: n.sortDirection || h.DESC,
|
51
51
|
sortedCell: n.sortedCell || A
|
@@ -142,8 +142,8 @@ const ve = ({
|
|
142
142
|
timestamp: e.timestamp,
|
143
143
|
message: e.messages.length > 0 ? e.messages[0]?.content : ""
|
144
144
|
}, f(!o);
|
145
|
-
}, q =
|
146
|
-
e[0].isIntersecting &&
|
145
|
+
}, q = Oe((e) => {
|
146
|
+
e[0].isIntersecting && I((a) => a + H);
|
147
147
|
}, []);
|
148
148
|
return V(() => {
|
149
149
|
const e = {
|
@@ -185,7 +185,7 @@ const ve = ({
|
|
185
185
|
ke,
|
186
186
|
{
|
187
187
|
filteredHistory: i,
|
188
|
-
historyState:
|
188
|
+
historyState: O,
|
189
189
|
lastEntryToLoad: T,
|
190
190
|
onClickSort: j,
|
191
191
|
onClickRestore: W,
|
@@ -198,7 +198,7 @@ const ve = ({
|
|
198
198
|
open: i,
|
199
199
|
onOpenChange: l
|
200
200
|
}) => {
|
201
|
-
const { getAccessToken: u, user: S } = z(), { dispatch: d } = _(P), [C, p] = L([]), s = R(null), { state: o, dispatch: f } = _(M), { data: T, refetch:
|
201
|
+
const { getAccessToken: u, user: S } = z(), { dispatch: d } = _(P), [C, p] = L([]), s = R(null), { state: o, dispatch: f } = _(M), { data: T, refetch: I } = de({
|
202
202
|
enabled: i,
|
203
203
|
user: S?.username || "",
|
204
204
|
searchString: o.searchString || "",
|
@@ -217,7 +217,7 @@ const ve = ({
|
|
217
217
|
type: pe,
|
218
218
|
payload: { searchString: c }
|
219
219
|
});
|
220
|
-
},
|
220
|
+
}, O = Se((c) => {
|
221
221
|
y(c.target.value.trim());
|
222
222
|
}, 500);
|
223
223
|
return /* @__PURE__ */ m(
|
@@ -246,7 +246,7 @@ const ve = ({
|
|
246
246
|
mode: "light",
|
247
247
|
name: "Search",
|
248
248
|
label: "Search",
|
249
|
-
onChange:
|
249
|
+
onChange: O,
|
250
250
|
className: "my-2",
|
251
251
|
rightElement: /* @__PURE__ */ t("div", { className: "text-copy-dark", children: /* @__PURE__ */ t(
|
252
252
|
Ce,
|
@@ -259,7 +259,7 @@ const ve = ({
|
|
259
259
|
y(""), s.current?.value && (s.current.value = "", s.current.focus());
|
260
260
|
},
|
261
261
|
disabled: o.searchString === "",
|
262
|
-
children: o.searchString !== "" ? /* @__PURE__ */ t(
|
262
|
+
children: o.searchString !== "" ? /* @__PURE__ */ t(Ie, { monotone: !0, size: "size-3" }) : /* @__PURE__ */ t(ve, { monotone: !0, size: "size-3" })
|
263
263
|
}
|
264
264
|
) })
|
265
265
|
}
|
@@ -267,7 +267,7 @@ const ve = ({
|
|
267
267
|
/* @__PURE__ */ t("div", { className: "flex flex-col sm:flex-row max-h-[75vh] min-h-[60vh]", children: /* @__PURE__ */ t(
|
268
268
|
be,
|
269
269
|
{
|
270
|
-
mutate:
|
270
|
+
mutate: I,
|
271
271
|
filteredHistory: C,
|
272
272
|
dispatch: d,
|
273
273
|
onOpenChange: l
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.
|
1
|
+
import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.DxRpe0Fx.js";
|
2
2
|
var qs = (e) => e != null, _s = (e) => e.filter(qs);
|
3
3
|
function Rs(e) {
|
4
4
|
return (...t) => {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsxs as t, Fragment as m, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { se as h } from "./App.
|
3
|
-
import { n as S, i as R, S as a, renderDataAsList as N, CARDS as r, it as P, isTauri as u, te as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.
|
2
|
+
import { se as h } from "./App.P8VuaklL.js";
|
3
|
+
import { n as S, i as R, S as a, renderDataAsList as N, CARDS as r, it as P, isTauri as u, te as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.DxRpe0Fx.js";
|
4
4
|
const A = () => {
|
5
5
|
const { isAuthenticated: n, user: i, registeringForPasskey: o, authenticationType: c } = S(), d = R(), s = i?.username || "";
|
6
6
|
return n && s ? /* @__PURE__ */ t(m, { children: [
|