@versini/sassysaint 8.79.0 → 8.80.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.pTdBpzz1.js → AboutChangelog.BGXn82uG.js} +3 -3
- package/dist/chunks/{AboutEntry.CACoMTsm.js → AboutEntry.DdcpU_Oo.js} +5 -5
- package/dist/chunks/{App.C8tSD8FW.js → App.D2VgOiu5.js} +2776 -2923
- package/dist/chunks/{Chart.8NIsGioQ.js → Chart.zPa42pGG.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CjBF2Ksl.js → ChatBubbleAssistant.huq3qIu0.js} +11 -11
- package/dist/chunks/{ChatBubbleUser.DTBZStED.js → ChatBubbleUser.BQA5O3Gu.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.DZ2gKrYL.js → ChatHistoryTable.3is3_yyz.js} +11 -11
- package/dist/chunks/{HistoryEntry.CKgJVGbQ.js → HistoryEntry.c12SMiGh.js} +3 -3
- package/dist/chunks/{ProfileEntry.D0Xm05KG.js → ProfileEntry.9ZeT9FqZ.js} +2 -2
- package/dist/chunks/{SettingsEntry.kC-cp_ND.js → SettingsEntry.D8dz5DLB.js} +219 -216
- package/dist/chunks/{UsageEntry.CZn0rwIl.js → UsageEntry.VSRqyIhU.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.DZQPobyQ.js → UserMemoriesPanel.BDXLn90z.js} +14 -14
- package/dist/chunks/{Table.YyEKxT0f.js → index.0i6EHlLz.js} +38 -26
- package/dist/chunks/{index.DqUdd9Yb.js → index.BOxg5WDQ.js} +3 -3
- package/dist/chunks/{index.Bzo-4jgY.js → index.BdQDZwr0.js} +1 -1
- package/dist/chunks/{index.CQHTKxYG.js → index.CF1S9KJu.js} +1 -1
- package/dist/chunks/{index.BeqCEf_0.js → index.CwjEQ1JA.js} +1915 -1788
- package/dist/chunks/{index.DjO2lloh.js → index.CxN0l8m7.js} +1 -1
- package/dist/chunks/{index.DoS8Ajmg.js → index.PyTJrmOy.js} +1 -1
- package/dist/chunks/{index.DTJKaQEV.js → index.XIFvFWvn.js} +2 -2
- package/dist/chunks/{index.D4yabS-I.js → index.dm5IaYAB.js} +1 -1
- package/dist/chunks/{useMarkdown.pxMF8M9l.js → useMarkdown.BegcR9Of.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +2 -2
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as Ap } from "react/jsx-runtime";
|
|
2
|
-
import { getDefaultExportFromCjs as ln } from "./App.
|
|
2
|
+
import { getDefaultExportFromCjs as ln } from "./App.D2VgOiu5.js";
|
|
3
3
|
import Cp, { useState as Pp, useEffect as Op } from "react";
|
|
4
|
-
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.
|
|
4
|
+
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.CwjEQ1JA.js";
|
|
5
5
|
var ls = { exports: {} }, Ip = ls.exports, on;
|
|
6
6
|
function Dp() {
|
|
7
7
|
return on || (on = 1, (function(we, he) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { BUBBLE_FOOTER_EMPTY as
|
|
2
|
+
import { ChatContext as P, AppContext as R, n as y, useUserPreferences as L, convertCamelCaseToReadable as _, numberFormatter as v, pluralize as B, Q as G } from "./index.CwjEQ1JA.js";
|
|
3
|
+
import { BUBBLE_FOOTER_EMPTY as D } from "./index.CF1S9KJu.js";
|
|
4
4
|
import U from "clsx";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import { useMarkdown as q } from "./useMarkdown.
|
|
5
|
+
import j, { useState as M, useRef as E, useEffect as F, useContext as S } from "react";
|
|
6
|
+
import { AsyncBubble as k } from "./App.D2VgOiu5.js";
|
|
7
|
+
import { useMarkdown as q } from "./useMarkdown.BegcR9Of.js";
|
|
8
8
|
const I = 2, W = I * 1e3, b = "", V = (e) => e * (2 - e);
|
|
9
9
|
function Y(e, n = !0) {
|
|
10
10
|
const [a, d] = M(0), [i, p] = M(0), [t, C] = M(e), r = E(0), s = E(0);
|
|
@@ -25,7 +25,7 @@ const f = {
|
|
|
25
25
|
MODEL: "Model",
|
|
26
26
|
PLUGIN: "Plugin",
|
|
27
27
|
USAGE: "Session usage"
|
|
28
|
-
}, w = U("max-w-[99cqw]", "mt-3"), Z =
|
|
28
|
+
}, w = U("max-w-[99cqw]", "mt-3"), Z = j.memo(
|
|
29
29
|
({
|
|
30
30
|
content: e,
|
|
31
31
|
annotations: n,
|
|
@@ -36,9 +36,9 @@ const f = {
|
|
|
36
36
|
}) => {
|
|
37
37
|
const t = Y(e, i), {
|
|
38
38
|
state: { streaming: C, restoredModel: r, tokenUsage: s }
|
|
39
|
-
} = S(
|
|
39
|
+
} = S(P), {
|
|
40
40
|
state: { fullScreen: g }
|
|
41
|
-
} = S(
|
|
41
|
+
} = S(R), c = n?.model || r, o = s, [u, l] = q(), { user: h, getAccessToken: T } = y(), { data: N } = L({
|
|
42
42
|
user: h?.username,
|
|
43
43
|
getAccessToken: T
|
|
44
44
|
}), O = N?.showDetails || !1, A = U("prose-li:ps-3", {
|
|
@@ -47,10 +47,10 @@ const f = {
|
|
|
47
47
|
let m;
|
|
48
48
|
return O && (m = {
|
|
49
49
|
[f.MODEL]: c || null,
|
|
50
|
-
[f.PLUGIN]: a ?
|
|
51
|
-
}, o && (p ? m[f.USAGE] = `${
|
|
50
|
+
[f.PLUGIN]: a ? _(a) : null
|
|
51
|
+
}, o && (p ? m[f.USAGE] = `${v.format(o)} ${B("token", o)}` : m[f.USAGE] = D)), F(() => {
|
|
52
52
|
t && l(t);
|
|
53
|
-
}, [t, l]), d ===
|
|
53
|
+
}, [t, l]), d === G ? /* @__PURE__ */ x(
|
|
54
54
|
k,
|
|
55
55
|
{
|
|
56
56
|
gradient: "medium",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a, Fragment as h, jsxs as S } from "react/jsx-runtime";
|
|
2
|
-
import { Button as C } from "./index.
|
|
2
|
+
import { Button as C } from "./index.CwjEQ1JA.js";
|
|
3
3
|
import { useState as _, useMemo as m, isValidElement as T, useEffect as b } from "react";
|
|
4
|
-
import { AsyncBubble as w } from "./App.
|
|
5
|
-
import { useMarkdown as x } from "./useMarkdown.
|
|
4
|
+
import { AsyncBubble as w } from "./App.D2VgOiu5.js";
|
|
5
|
+
import { useMarkdown as x } from "./useMarkdown.BegcR9Of.js";
|
|
6
6
|
/*!
|
|
7
7
|
@versini/ui-truncate v5.2.0
|
|
8
8
|
© 2025 gizmette.com
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { f as p, h as u, INFINITE_SCROLL_THRESHOLD as k, CARDS as D, pluralize as T, ButtonIcon as d, IconRestore as y, IconStarInCircle as U, IconStarInCircleLight as z, IconDelete as P, numberFormatter as L, C as _, IconGoogleGemini as G, IconOpenAI as $, IconAnthropic as B, isProbablyMobile as K, K as W, q as Y, E as H } from "./index.
|
|
3
|
-
import {
|
|
2
|
+
import { f as p, h as u, INFINITE_SCROLL_THRESHOLD as k, CARDS as D, pluralize as T, ButtonIcon as d, IconRestore as y, IconStarInCircle as U, IconStarInCircleLight as z, IconDelete as P, numberFormatter as L, C as _, IconGoogleGemini as G, IconOpenAI as $, IconAnthropic as B, isProbablyMobile as K, K as W, q as Y, E as H } from "./index.CwjEQ1JA.js";
|
|
3
|
+
import { W as F, j as V, G as h, H as j, M as n, F as N } from "./index.0i6EHlLz.js";
|
|
4
|
+
import { Tooltip as x } from "./App.D2VgOiu5.js";
|
|
4
5
|
import l from "clsx";
|
|
5
|
-
import { Fragment as
|
|
6
|
-
import { W as V, j, G as x, H as q, M as n, F as N } from "./Table.YyEKxT0f.js";
|
|
6
|
+
import { Fragment as q } from "react";
|
|
7
7
|
const J = {
|
|
8
8
|
[H]: B,
|
|
9
9
|
[Y]: $,
|
|
@@ -156,7 +156,7 @@ const J = {
|
|
|
156
156
|
case s.ACTIONS:
|
|
157
157
|
return /* @__PURE__ */ e(n, { children: /* @__PURE__ */ m("div", { className: "flex flex-col items-end sm:flex-row gap-2", children: [
|
|
158
158
|
/* @__PURE__ */ e(
|
|
159
|
-
|
|
159
|
+
x,
|
|
160
160
|
{
|
|
161
161
|
label: "Restore chat",
|
|
162
162
|
placement: "top",
|
|
@@ -176,7 +176,7 @@ const J = {
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
/* @__PURE__ */ e(
|
|
179
|
-
|
|
179
|
+
x,
|
|
180
180
|
{
|
|
181
181
|
label: r.favoriteChat ? "Remove from favorites" : "Add to favorites",
|
|
182
182
|
placement: "top",
|
|
@@ -195,7 +195,7 @@ const J = {
|
|
|
195
195
|
}
|
|
196
196
|
),
|
|
197
197
|
/* @__PURE__ */ e(
|
|
198
|
-
|
|
198
|
+
x,
|
|
199
199
|
{
|
|
200
200
|
label: "Delete chat",
|
|
201
201
|
placement: "top",
|
|
@@ -219,14 +219,14 @@ const J = {
|
|
|
219
219
|
return null;
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
|
-
return /* @__PURE__ */ m(
|
|
222
|
+
return /* @__PURE__ */ m(F, { stickyHeader: !0, compact: !0, mode: "alt-system", caption: (() => {
|
|
223
223
|
const t = c.length, r = E ?? t;
|
|
224
224
|
return v && r > t ? `Showing ${T(`${t} chat`, t)} out of ${r}` : T(`${t} chat`, t);
|
|
225
225
|
})(), children: [
|
|
226
|
-
/* @__PURE__ */ e(
|
|
227
|
-
/* @__PURE__ */ e(
|
|
226
|
+
/* @__PURE__ */ e(V, { children: /* @__PURE__ */ e(h, { children: M.map((t) => w(t)) }) }),
|
|
227
|
+
/* @__PURE__ */ e(j, { children: I && c.length === 0 ? /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(n, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: "Loading..." }) }) }) : c.slice(0, g).map((t, r) => t?.messages?.length > 0 ? /* @__PURE__ */ m(q, { children: [
|
|
228
228
|
r === g - k && /* @__PURE__ */ e("tr", { ref: A }),
|
|
229
|
-
/* @__PURE__ */ e(
|
|
229
|
+
/* @__PURE__ */ e(h, { children: M.map(
|
|
230
230
|
(i) => b(i, t, r)
|
|
231
231
|
) })
|
|
232
232
|
] }, `${D.HISTORY.TITLE}-${t.id}-${r}`) : null) })
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as re, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { n as M, INFINITE_SCROLL_LIMIT as G, INFINITE_SCROLL_THRESHOLD as ae, useLocalStorage as p, LOCAL_STORAGE_PREFIX as y, LOCAL_STORAGE_SORT_TIMESTAMP as se, LOCAL_STORAGE_SORT_TOKEN_USAGE as oe, LOCAL_STORAGE_SORT as ne, f as R, useUserPreferences as ie, useDeleteChat as ce, useToggleFavoriteChat as le, APP_CLASSNAME as de, TOAST_CHAT_DELETED as he, graphQLRequest as ue, SERVICE_TYPES as me, setNewProvider as Ce, ACTION_SORT as Se, h as fe, TOAST_PROVIDER_CHANGED as pe, useChatsHistory as ye, useUserChatStats as Te, LOCAL_STORAGE_SEARCH as ge, LOCAL_STORAGE_FAVORITES_ONLY as Ae, HISTORY_TITLE as Ee, Card as ve, TextInput as _e, debounce as De, IconSearch as Oe, Button as Re, ACTION_SEARCH as Ie } from "./index.
|
|
3
|
-
import {
|
|
2
|
+
import { n as M, INFINITE_SCROLL_LIMIT as G, INFINITE_SCROLL_THRESHOLD as ae, HistoryContext as U, ChatContext as B, useLocalStorage as p, LOCAL_STORAGE_PREFIX as y, LOCAL_STORAGE_SORT_TIMESTAMP as se, e as h, LOCAL_STORAGE_SORT_TOKEN_USAGE as oe, LOCAL_STORAGE_SORT as ne, f as R, useUserPreferences as ie, useDeleteChat as ce, useToggleFavoriteChat as le, APP_CLASSNAME as de, TOAST_CHAT_DELETED as he, graphQLRequest as ue, SERVICE_TYPES as me, setNewProvider as Ce, ACTION_SORT as Se, h as fe, TOAST_PROVIDER_CHANGED as pe, useChatsHistory as ye, useUserChatStats as Te, LOCAL_STORAGE_SEARCH as ge, LOCAL_STORAGE_FAVORITES_ONLY as Ae, HISTORY_TITLE as Ee, Card as ve, TextInput as _e, debounce as De, IconSearch as Oe, Button as Re, ACTION_SEARCH as Ie } from "./index.CwjEQ1JA.js";
|
|
3
|
+
import { useAiChat as Le, ConfirmationPanel as ke, LazyToastContainerWrapper as be, showErrorToast as Ne, CHAT_SET_PROVIDER as we, showSuccessToast as xe, CHAT_SET_STATUS as He, Panel as Fe, Toggle as Pe } from "./App.D2VgOiu5.js";
|
|
4
4
|
import { useRef as H, useState as F, useContext as I, useCallback as z, Suspense as Ve, lazy as Ge, useEffect as ze } from "react";
|
|
5
5
|
const Me = Ge(
|
|
6
6
|
() => import(
|
|
7
7
|
/* webpackChunkName: "history-table" */
|
|
8
|
-
"./ChatHistoryTable.
|
|
8
|
+
"./ChatHistoryTable.3is3_yyz.js"
|
|
9
9
|
).then((u) => ({ default: u.ChatHistoryTable }))
|
|
10
10
|
), Ue = ({
|
|
11
11
|
filteredHistory: u,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as D, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { preloadToast as K, showSuccessToast as W, showErrorToast as Y, ConfirmationPanel as H, LazyToastContainerWrapper as $, Panel as V } from "./App.
|
|
3
|
-
import { n as q, useUniqueId as J, useUserPreferences as Q, useServerCapabilities as X, d as Z, setUserPlan as ee, Card as d, renderDataAsList as ae, CARDS as s, L as P, j as c, Button as se, it as ne, isTauri as re, ButtonIcon as te, IconPasskey as L, PROFILE_TITLE as le } from "./index.
|
|
2
|
+
import { preloadToast as K, showSuccessToast as W, showErrorToast as Y, ConfirmationPanel as H, LazyToastContainerWrapper as $, Panel as V } from "./App.D2VgOiu5.js";
|
|
3
|
+
import { n as q, useUniqueId as J, useUserPreferences as Q, useServerCapabilities as X, d as Z, setUserPlan as ee, Card as d, renderDataAsList as ae, CARDS as s, L as P, j as c, Button as se, it as ne, isTauri as re, ButtonIcon as te, IconPasskey as L, PROFILE_TITLE as le } from "./index.CwjEQ1JA.js";
|
|
4
4
|
import ie from "clsx";
|
|
5
5
|
import { useState as m, useMemo as ce, useCallback as f } from "react";
|
|
6
6
|
const oe = () => {
|