@versini/sassysaint 8.105.1 → 8.105.2
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.BOo6xnQU.js → AboutChangelog.nlPIWp0N.js} +2 -2
- package/dist/chunks/{AboutEntry.BJrEy0cG.js → AboutEntry.CphmsD5H.js} +7 -7
- package/dist/chunks/{App.CJwakCK6.js → App.CIwNk-Ut.js} +23 -23
- package/dist/chunks/{Chart.Du7EB2GA.js → Chart.Dvl7vluK.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.C0hLrPzq.js → ChatBubbleAssistant.DZ6ok4cT.js} +5 -5
- package/dist/chunks/{ChatBubbleUser.CkbwjjY3.js → ChatBubbleUser.CHWKvZg3.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.B-BpH1Lu.js → ChatHistoryTable.BWpKoQsi.js} +15 -15
- package/dist/chunks/{HistoryEntry.DaXJ8Q-f.js → HistoryEntry.yoV4fAVr.js} +6 -6
- package/dist/chunks/{LoginEntry.O7xxzGCC.js → LoginEntry.QP6-497n.js} +4 -4
- package/dist/chunks/{LogoEntry.DJZqUqg7.js → LogoEntry.hJ_vIJmf.js} +1 -1
- package/dist/chunks/{MemoriesEntry.2v0Kr4-K.js → MemoriesEntry.n0JGBOnn.js} +36 -36
- package/dist/chunks/{ProfileEntry.DL1hPr1o.js → ProfileEntry.BkF2iOVP.js} +4 -4
- package/dist/chunks/{SettingsEntry.BBz6Yx2v.js → SettingsEntry.CUE9-B_Z.js} +5 -5
- package/dist/chunks/{Table.KI0EOT13.js → Table.B0wueiQh.js} +127 -105
- package/dist/chunks/{UsageEntry.HApOoMRD.js → UsageEntry.J4oBMVMS.js} +5 -5
- package/dist/chunks/{index.DTy8CE3T.js → index.BC18QJea.js} +1 -1
- package/dist/chunks/{index.BsjHgnVB.js → index.C7gau1B5.js} +1 -1
- package/dist/chunks/{index.CEBjkMRt.js → index.CbtQDjOH.js} +1 -1
- package/dist/chunks/{index.DMqMfGAO.js → index.ClNxiXVb.js} +1 -1
- package/dist/chunks/{index.rGG3tlcN.js → index.D8rj890J.js} +1 -1
- package/dist/chunks/{index.DeAiHvMD.js → index.DFl1tPBj.js} +2 -2
- package/dist/chunks/{index.DAhP7ZLu.js → index.DTkLpMnR.js} +1 -1
- package/dist/chunks/{index.G5bXk8Yy.js → index.DZAOimM5.js} +2 -2
- package/dist/chunks/{index.Bh0XSa-M.js → index.DsqBt3WJ.js} +1 -1
- package/dist/chunks/{index.DedGiEIm.js → index.WO0c_AVQ.js} +3 -3
- package/dist/chunks/{useMarkdown.CTOUBBx6.js → useMarkdown.CgDrCbrc.js} +7 -7
- 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 { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useInViewport as m, ButtonScroll as n } from "./App.
|
|
2
|
+
import { useInViewport as m, ButtonScroll as n } from "./App.CIwNk-Ut.js";
|
|
3
3
|
import { useRef as f, useCallback as u, useLayoutEffect as p } from "react";
|
|
4
|
-
import { useMarkdown as d } from "./useMarkdown.
|
|
4
|
+
import { useMarkdown as d } from "./useMarkdown.CgDrCbrc.js";
|
|
5
5
|
const b = ({ content: o }) => {
|
|
6
6
|
const [l, t] = d(), { ref: a, inViewport: i } = m(), e = f(null), c = u(() => {
|
|
7
7
|
e.current && e.current.scrollIntoView({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as b, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { pluralize as g, isProbablyMobile as A, Panel as f, CancelButton as B } from "./App.
|
|
3
|
-
import { useUniqueId as c, CARDS as r, ABOUT_TITLE as E, L as I, j as S } from "./LogoEntry.
|
|
2
|
+
import { pluralize as g, isProbablyMobile as A, Panel as f, CancelButton as B } from "./App.CIwNk-Ut.js";
|
|
3
|
+
import { useUniqueId as c, CARDS as r, ABOUT_TITLE as E, L as I, j as S } from "./LogoEntry.hJ_vIJmf.js";
|
|
4
4
|
import { Suspense as C, lazy as O, useRef as U } from "react";
|
|
5
|
-
import { Card as t } from "./index.
|
|
5
|
+
import { Card as t } from "./index.D8rj890J.js";
|
|
6
6
|
import L from "clsx";
|
|
7
|
-
import { useServerCapabilities as N, useChangelogs as R, renderDataAsList as d } from "./index.
|
|
7
|
+
import { useServerCapabilities as N, useChangelogs as R, renderDataAsList as d } from "./index.DZAOimM5.js";
|
|
8
8
|
const _ = O(
|
|
9
9
|
() => import(
|
|
10
10
|
/* webpackChunkName: "LazyAboutChangelog" */
|
|
11
|
-
"./AboutChangelog.
|
|
11
|
+
"./AboutChangelog.nlPIWp0N.js"
|
|
12
12
|
)
|
|
13
13
|
), k = () => {
|
|
14
14
|
const o = c(), i = c(), { data: s, isSuccess: m } = N(), { data: u, isSuccess: h } = R(), T = s?.version || "", a = s?.models || [], p = s?.buildTime || "";
|
|
@@ -20,8 +20,8 @@ const _ = O(
|
|
|
20
20
|
className: "prose-dark dark:prose-lighter mb-4",
|
|
21
21
|
noBorder: !0,
|
|
22
22
|
children: d(o, {
|
|
23
|
-
[r.ABOUT.VERSION]: "8.105.
|
|
24
|
-
[r.ABOUT.BUILD_TIMESTAMP]: "12/20/2025
|
|
23
|
+
[r.ABOUT.VERSION]: "8.105.2",
|
|
24
|
+
[r.ABOUT.BUILD_TIMESTAMP]: "12/20/2025 04:38 PM EST"
|
|
25
25
|
})
|
|
26
26
|
}
|
|
27
27
|
),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as h, jsxs as $, Fragment as ct } from "react/jsx-runtime";
|
|
2
|
-
import { ACTION_SORT as au, ACTION_SEARCH as iu, ACTION_RESET_PROMPT as Za, ACTION_TOGGLE_PROMPT as Fa, LOCAL_STORAGE_PREFIX as je, LOCAL_STORAGE_CHAT_ID as Vn, n as $e, isDev as cu, isTauri as on, useChat as lu, DEFAULT_ICON_ACTION_SIZE as Qe, useUserPreferences as vt, serverUrl as Ua, useEntitlements as No, useSaveChat as uu, LOCAL_STORAGE_PRIVATE_DISCLOSURE as du, w as er, LOCAL_STORAGE_REASONING_DISCLOSURE as fu, PROMPT_EDITABLE_AREA_CLASSNAME as pu, PROMPT_CLASSNAME as mu, j as ja, ERROR_MESSAGE as hu, o as sn, U as gu, INPUT_BOTTOM_OFFSET_IPHONE as vu, INPUT_BOTTOM_OFFSET_IPAD as yu, INPUT_BOTTOM_OFFSET as Ba, INPUT_BOTTOM_OFFSET_EXTRA as zr, getLayoutPaddingClass as lo, canEvaluateModels as ls, k as wu, a as bu, i as _u, s as Eu, x as Su, p as Zr, setNewProvider as us, useQueryClient as Iu, n$1 as Va, useServerCapabilities as Cu, getMessageContaintWrapperClass as Tu, UI_FOOTER_BUFFER as Ha, UI_BUTTON_SCROLL_BUFFER as xu, UI_DEFAULT_MAIN_HEIGHT as ds, e as Au, applyOledMode as Ru, UI_DEFAULT_MAIN_HEIGHT_IPHONE as Ou, y as fs, v as Nu, LOCAL_STORAGE_SORT as Mu, LOCAL_STORAGE_SEARCH as Pu, LOCAL_STORAGE_OLED_MODE as ku, LOCAL_STORAGE_FULL_SCREEN as Du, LOCAL_STORAGE_SORT_TIMESTAMP as $u, LOCAL_STORAGE_SORT_TOKEN_USAGE as Lu } from "./index.
|
|
2
|
+
import { ACTION_SORT as au, ACTION_SEARCH as iu, ACTION_RESET_PROMPT as Za, ACTION_TOGGLE_PROMPT as Fa, LOCAL_STORAGE_PREFIX as je, LOCAL_STORAGE_CHAT_ID as Vn, n as $e, isDev as cu, isTauri as on, useChat as lu, DEFAULT_ICON_ACTION_SIZE as Qe, useUserPreferences as vt, serverUrl as Ua, useEntitlements as No, useSaveChat as uu, LOCAL_STORAGE_PRIVATE_DISCLOSURE as du, w as er, LOCAL_STORAGE_REASONING_DISCLOSURE as fu, PROMPT_EDITABLE_AREA_CLASSNAME as pu, PROMPT_CLASSNAME as mu, j as ja, ERROR_MESSAGE as hu, o as sn, U as gu, INPUT_BOTTOM_OFFSET_IPHONE as vu, INPUT_BOTTOM_OFFSET_IPAD as yu, INPUT_BOTTOM_OFFSET as Ba, INPUT_BOTTOM_OFFSET_EXTRA as zr, getLayoutPaddingClass as lo, canEvaluateModels as ls, k as wu, a as bu, i as _u, s as Eu, x as Su, p as Zr, setNewProvider as us, useQueryClient as Iu, n$1 as Va, useServerCapabilities as Cu, getMessageContaintWrapperClass as Tu, UI_FOOTER_BUFFER as Ha, UI_BUTTON_SCROLL_BUFFER as xu, UI_DEFAULT_MAIN_HEIGHT as ds, e as Au, applyOledMode as Ru, UI_DEFAULT_MAIN_HEIGHT_IPHONE as Ou, y as fs, v as Nu, LOCAL_STORAGE_SORT as Mu, LOCAL_STORAGE_SEARCH as Pu, LOCAL_STORAGE_OLED_MODE as ku, LOCAL_STORAGE_FULL_SCREEN as Du, LOCAL_STORAGE_SORT_TIMESTAMP as $u, LOCAL_STORAGE_SORT_TOKEN_USAGE as Lu } from "./index.DZAOimM5.js";
|
|
3
3
|
import * as w from "react";
|
|
4
4
|
import st, { useSyncExternalStore as Hn, useCallback as G, useEffect as U, useRef as X, useState as B, createContext as Wa, useContext as ue, useMemo as xe, forwardRef as wr, useId as Ga, useLayoutEffect as vn, cloneElement as Ka, Suspense as tr, lazy as nt, useReducer as Rn } from "react";
|
|
5
|
-
import { e as tn, ChatContext as Le, useTheme as Ke, ButtonIcon as rt, IconAddLight as zu, IconCloseLight as Zu, IconEditLight as Fu, Button as Ya, L as uo, j as Ft, IconLockedLight as Uu, IconUnlockedLight as ju, IconNext as Bu, IconSelected as Vu, IconUnSelected as Hu, PromptsContext as Mo, IconBookSparklesLight as Wu, IconRewrite as Gu, IconProofread as Ku, IconMagic as Yu, IconLightBulbLight as Ju, IconSendLight as Xu, INPUT_PLACEHOLDER_TEXT_IN_SESSION as Ja, INPUT_PLACEHOLDER_TEXT_MORNING as qu, INPUT_PLACEHOLDER_TEXT_TODAY as Qu, INPUT_PLACEHOLDER_TEXT_AFTERNOON as ed, INPUT_PLACEHOLDER_TEXT_EVENING as td, INPUT_PLACEHOLDER_TEXT_NIGHT as nd, INPUT_PLACEHOLDER_TEXT_DEFAULT as rd, IconClose as od, AppContext as yn, useUniqueId as sd, CLIPBOARD_PROMPT as ps, FOOTER_DISCLAIMERS as ms, useResizeObserver as Xa, APP_SET_FOOTER_HEIGHT as ad, FOOTER_TOP as fo, FOOTER_BOTTOM as nn, APP_SET_FOOTER_POSITION as Fr, IconOpenAI as id, IconAnthropic as cd, IconGoogleGemini as ld, TOAST_PROVIDER_CHANGED as hs, LOG_OUT as gs, IconProfile as ud, IconSliders as dd, IconHistory as fd, IconEditUser as pd, IconChart as md, IconInfo as hd, IconBack as gd, IconSettings as vd, Logo as yd, appReducer as wd, APP_SET_OLED_MODE as bd, APP_SET_FULL_SCREEN as _d, APP_SET_THEME_MODE as Ed, APP_SET_THEME_PALETTE as Sd, HistoryContext as Id, APP_CLASSNAME as Cd, TOAST_CACHE_ENABLED as Td, TOAST_CACHE_DISABLED as xd } from "./LogoEntry.
|
|
5
|
+
import { e as tn, ChatContext as Le, useTheme as Ke, ButtonIcon as rt, IconAddLight as zu, IconCloseLight as Zu, IconEditLight as Fu, Button as Ya, L as uo, j as Ft, IconLockedLight as Uu, IconUnlockedLight as ju, IconNext as Bu, IconSelected as Vu, IconUnSelected as Hu, PromptsContext as Mo, IconBookSparklesLight as Wu, IconRewrite as Gu, IconProofread as Ku, IconMagic as Yu, IconLightBulbLight as Ju, IconSendLight as Xu, INPUT_PLACEHOLDER_TEXT_IN_SESSION as Ja, INPUT_PLACEHOLDER_TEXT_MORNING as qu, INPUT_PLACEHOLDER_TEXT_TODAY as Qu, INPUT_PLACEHOLDER_TEXT_AFTERNOON as ed, INPUT_PLACEHOLDER_TEXT_EVENING as td, INPUT_PLACEHOLDER_TEXT_NIGHT as nd, INPUT_PLACEHOLDER_TEXT_DEFAULT as rd, IconClose as od, AppContext as yn, useUniqueId as sd, CLIPBOARD_PROMPT as ps, FOOTER_DISCLAIMERS as ms, useResizeObserver as Xa, APP_SET_FOOTER_HEIGHT as ad, FOOTER_TOP as fo, FOOTER_BOTTOM as nn, APP_SET_FOOTER_POSITION as Fr, IconOpenAI as id, IconAnthropic as cd, IconGoogleGemini as ld, TOAST_PROVIDER_CHANGED as hs, LOG_OUT as gs, IconProfile as ud, IconSliders as dd, IconHistory as fd, IconEditUser as pd, IconChart as md, IconInfo as hd, IconBack as gd, IconSettings as vd, Logo as yd, appReducer as wd, APP_SET_OLED_MODE as bd, APP_SET_FULL_SCREEN as _d, APP_SET_THEME_MODE as Ed, APP_SET_THEME_PALETTE as Sd, HistoryContext as Id, APP_CLASSNAME as Cd, TOAST_CACHE_ENABLED as Td, TOAST_CACHE_DISABLED as xd } from "./LogoEntry.hJ_vIJmf.js";
|
|
6
6
|
import Z, { clsx as lt } from "clsx";
|
|
7
7
|
import { useMergeRefs as Ad, FloatingPortal as Rd, FloatingOverlay as Od, FloatingFocusManager as Nd, useFloating as Md, useClick as Pd, useDismiss as kd, useRole as Dd, useInteractions as $d } from "@floating-ui/react";
|
|
8
8
|
import * as qa from "react-dom";
|
|
@@ -5841,7 +5841,7 @@ const sc = async () => (Gr || (Gr = import(
|
|
|
5841
5841
|
"./index.790ujKXR.js"
|
|
5842
5842
|
)), Gr), ac = async () => (Kr || (Kr = import(
|
|
5843
5843
|
/* webpackChunkName: "toast-utilities" */
|
|
5844
|
-
"./index.
|
|
5844
|
+
"./index.DZAOimM5.js"
|
|
5845
5845
|
).then((e) => e.utilities)), Kr), Pv = async () => {
|
|
5846
5846
|
try {
|
|
5847
5847
|
await Promise.all([sc(), ac()]);
|
|
@@ -7909,13 +7909,13 @@ const lw = ({
|
|
|
7909
7909
|
return t(e);
|
|
7910
7910
|
};
|
|
7911
7911
|
/*!
|
|
7912
|
-
@versini/ui-panel v8.0.
|
|
7912
|
+
@versini/ui-panel v8.0.7
|
|
7913
7913
|
© 2025 gizmette.com
|
|
7914
7914
|
*/
|
|
7915
7915
|
try {
|
|
7916
7916
|
window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
|
|
7917
|
-
version: "8.0.
|
|
7918
|
-
buildTime: "12/18/2025 07:
|
|
7917
|
+
version: "8.0.7",
|
|
7918
|
+
buildTime: "12/18/2025 07:40 PM EST",
|
|
7919
7919
|
homepage: "https://www.npmjs.com/package/@versini/ui-panel",
|
|
7920
7920
|
license: "MIT"
|
|
7921
7921
|
});
|
|
@@ -7923,13 +7923,13 @@ try {
|
|
|
7923
7923
|
}
|
|
7924
7924
|
const uw = "av-messagebox", dw = "av-panel", Xe = "messagebox";
|
|
7925
7925
|
/*!
|
|
7926
|
-
@versini/ui-modal v3.2.
|
|
7926
|
+
@versini/ui-modal v3.2.1
|
|
7927
7927
|
© 2025 gizmette.com
|
|
7928
7928
|
*/
|
|
7929
7929
|
try {
|
|
7930
7930
|
window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
|
|
7931
|
-
version: "3.2.
|
|
7932
|
-
buildTime: "12/18/2025 07:
|
|
7931
|
+
version: "3.2.1",
|
|
7932
|
+
buildTime: "12/18/2025 07:40 PM EST",
|
|
7933
7933
|
homepage: "https://github.com/aversini/ui-components",
|
|
7934
7934
|
license: "MIT"
|
|
7935
7935
|
});
|
|
@@ -12398,38 +12398,38 @@ const uS = [".png", ".jpg", ".jpeg", ".webp"], dS = [".pdf", ".txt"], fS = [
|
|
|
12398
12398
|
}, jS = nt(
|
|
12399
12399
|
() => import(
|
|
12400
12400
|
/* webpackChunkName: "modal-chunk" */
|
|
12401
|
-
"./ProfileEntry.
|
|
12401
|
+
"./ProfileEntry.BkF2iOVP.js"
|
|
12402
12402
|
).then((e) => ({
|
|
12403
12403
|
default: e.Profile
|
|
12404
12404
|
}))
|
|
12405
12405
|
), BS = nt(
|
|
12406
12406
|
() => import(
|
|
12407
12407
|
/* webpackChunkName: "modal-chunk" */
|
|
12408
|
-
"./SettingsEntry.
|
|
12408
|
+
"./SettingsEntry.CUE9-B_Z.js"
|
|
12409
12409
|
).then((e) => ({
|
|
12410
12410
|
default: e.SettingsPanel
|
|
12411
12411
|
}))
|
|
12412
12412
|
), VS = nt(
|
|
12413
12413
|
() => import(
|
|
12414
12414
|
/* webpackChunkName: "modal-chunk" */
|
|
12415
|
-
"./HistoryEntry.
|
|
12415
|
+
"./HistoryEntry.yoV4fAVr.js"
|
|
12416
12416
|
).then((e) => ({
|
|
12417
12417
|
default: e.HistoryPanel
|
|
12418
12418
|
}))
|
|
12419
12419
|
), HS = nt(
|
|
12420
12420
|
() => import(
|
|
12421
12421
|
/* webpackChunkName: "modal-chunk" */
|
|
12422
|
-
"./AboutEntry.
|
|
12422
|
+
"./AboutEntry.CphmsD5H.js"
|
|
12423
12423
|
).then((e) => ({ default: e.About }))
|
|
12424
12424
|
), WS = nt(
|
|
12425
12425
|
() => import(
|
|
12426
12426
|
/* webpackChunkName: "modal-chunk" */
|
|
12427
|
-
"./UsageEntry.
|
|
12427
|
+
"./UsageEntry.J4oBMVMS.js"
|
|
12428
12428
|
).then((e) => ({ default: e.Usage }))
|
|
12429
12429
|
), GS = nt(
|
|
12430
12430
|
() => import(
|
|
12431
12431
|
/* webpackChunkName: "modal-chunk" */
|
|
12432
|
-
"./MemoriesEntry.
|
|
12432
|
+
"./MemoriesEntry.n0JGBOnn.js"
|
|
12433
12433
|
).then((e) => ({ default: e.default }))
|
|
12434
12434
|
), KS = ({
|
|
12435
12435
|
open: e,
|
|
@@ -12477,23 +12477,23 @@ const uS = [".png", ".jpg", ".jpeg", ".webp"], dS = [".pdf", ".txt"], fS = [
|
|
|
12477
12477
|
p || Promise.all([
|
|
12478
12478
|
import(
|
|
12479
12479
|
/* webpackChunkName: "modal-chunk" */
|
|
12480
|
-
"./ProfileEntry.
|
|
12480
|
+
"./ProfileEntry.BkF2iOVP.js"
|
|
12481
12481
|
),
|
|
12482
12482
|
import(
|
|
12483
12483
|
/* webpackChunkName: "modal-chunk" */
|
|
12484
|
-
"./SettingsEntry.
|
|
12484
|
+
"./SettingsEntry.CUE9-B_Z.js"
|
|
12485
12485
|
),
|
|
12486
12486
|
import(
|
|
12487
12487
|
/* webpackChunkName: "modal-chunk" */
|
|
12488
|
-
"./HistoryEntry.
|
|
12488
|
+
"./HistoryEntry.yoV4fAVr.js"
|
|
12489
12489
|
),
|
|
12490
12490
|
import(
|
|
12491
12491
|
/* webpackChunkName: "modal-chunk" */
|
|
12492
|
-
"./AboutEntry.
|
|
12492
|
+
"./AboutEntry.CphmsD5H.js"
|
|
12493
12493
|
),
|
|
12494
12494
|
import(
|
|
12495
12495
|
/* webpackChunkName: "modal-chunk" */
|
|
12496
|
-
"./UsageEntry.
|
|
12496
|
+
"./UsageEntry.J4oBMVMS.js"
|
|
12497
12497
|
)
|
|
12498
12498
|
]).finally(() => f(!0));
|
|
12499
12499
|
}, [p]), y = G((O) => {
|
|
@@ -12787,18 +12787,18 @@ const La = "av-spinner", ru = ({ spinnerRef: e, mode: t = "system", type: n = "c
|
|
|
12787
12787
|
]
|
|
12788
12788
|
});
|
|
12789
12789
|
}, QS = nt(
|
|
12790
|
-
() => import("./index.
|
|
12790
|
+
() => import("./index.C7gau1B5.js").then((e) => ({ default: e.Bubble }))
|
|
12791
12791
|
), is = (e) => /* @__PURE__ */ h(tr, { fallback: /* @__PURE__ */ h("span", { className: "inline-block" }), children: /* @__PURE__ */ h(QS, { ...e }) });
|
|
12792
12792
|
is.displayName = "AsyncBubble";
|
|
12793
12793
|
const za = 1, e0 = 150, t0 = nt(
|
|
12794
12794
|
() => import(
|
|
12795
12795
|
/* webpackChunkName: "LazyMessageAssistant" */
|
|
12796
|
-
"./ChatBubbleAssistant.
|
|
12796
|
+
"./ChatBubbleAssistant.DZ6ok4cT.js"
|
|
12797
12797
|
)
|
|
12798
12798
|
), n0 = nt(
|
|
12799
12799
|
() => import(
|
|
12800
12800
|
/* webpackChunkName: "LazyMessageUser" */
|
|
12801
|
-
"./ChatBubbleUser.
|
|
12801
|
+
"./ChatBubbleUser.CHWKvZg3.js"
|
|
12802
12802
|
)
|
|
12803
12803
|
), r0 = st.memo(
|
|
12804
12804
|
({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as Pp } from "react/jsx-runtime";
|
|
2
|
-
import { getDefaultExportFromCjs as dn, isProbablyMobile as Op } from "./App.
|
|
2
|
+
import { getDefaultExportFromCjs as dn, isProbablyMobile as Op } from "./App.CIwNk-Ut.js";
|
|
3
3
|
import Lp, { useMemo as Ep } from "react";
|
|
4
|
-
import { TRIMESTERS_SHORT as Ip, TRIMESTERS as on, TIME_RANGES as ls, TIME_RANGE_LABELS as an } from "./LogoEntry.
|
|
4
|
+
import { TRIMESTERS_SHORT as Ip, TRIMESTERS as on, TIME_RANGES as ls, TIME_RANGE_LABELS as an } from "./LogoEntry.hJ_vIJmf.js";
|
|
5
5
|
var hs = { exports: {} }, Dp = hs.exports, nn;
|
|
6
6
|
function Bp() {
|
|
7
7
|
return nn || (nn = 1, (function(Ae, pe) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as ss } from "react/jsx-runtime";
|
|
2
|
-
import { n as is, useUserPreferences as rs } from "./index.
|
|
3
|
-
import { BUBBLE_FOOTER_EMPTY as as } from "./index.
|
|
4
|
-
import { convertStringToHumanReadable as os, numberFormatter as ls, pluralize as us, AsyncBubble as cs } from "./App.
|
|
2
|
+
import { n as is, useUserPreferences as rs } from "./index.DZAOimM5.js";
|
|
3
|
+
import { BUBBLE_FOOTER_EMPTY as as } from "./index.C7gau1B5.js";
|
|
4
|
+
import { convertStringToHumanReadable as os, numberFormatter as ls, pluralize as us, AsyncBubble as cs } from "./App.CIwNk-Ut.js";
|
|
5
5
|
import Xt from "clsx";
|
|
6
6
|
import fs, { useState as Me, useEffect as qt, useContext as vt } from "react";
|
|
7
|
-
import { useMarkdown as hs } from "./useMarkdown.
|
|
8
|
-
import { ChatContext as ds, AppContext as ps } from "./LogoEntry.
|
|
7
|
+
import { useMarkdown as hs } from "./useMarkdown.CgDrCbrc.js";
|
|
8
|
+
import { ChatContext as ds, AppContext as ps } from "./LogoEntry.hJ_vIJmf.js";
|
|
9
9
|
function ms(e, t) {
|
|
10
10
|
e.indexOf(t) === -1 && e.push(t);
|
|
11
11
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as i, Fragment as S, jsxs as C } from "react/jsx-runtime";
|
|
2
|
-
import { Button as _ } from "./LogoEntry.
|
|
2
|
+
import { Button as _ } from "./LogoEntry.hJ_vIJmf.js";
|
|
3
3
|
import { useState as h, useMemo as m, isValidElement as T, useEffect as B } from "react";
|
|
4
|
-
import { useMarkdown as b } from "./useMarkdown.
|
|
5
|
-
import { AsyncBubble as k } from "./App.
|
|
4
|
+
import { useMarkdown as b } from "./useMarkdown.CgDrCbrc.js";
|
|
5
|
+
import { AsyncBubble as k } from "./App.CIwNk-Ut.js";
|
|
6
6
|
/*!
|
|
7
7
|
@versini/ui-truncate v6.1.8
|
|
8
8
|
© 2025 gizmette.com
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { y as S, v as M, INFINITE_SCROLL_THRESHOLD as L } from "./index.
|
|
3
|
-
import { IconCloseLight as U, CARDS as D, ButtonIcon as C, IconRestore as z, IconStarInCircle as B, IconStarInCircleLight as $, IconDelete as Y } from "./LogoEntry.
|
|
4
|
-
import { useState as
|
|
2
|
+
import { y as S, v as M, INFINITE_SCROLL_THRESHOLD as L } from "./index.DZAOimM5.js";
|
|
3
|
+
import { IconCloseLight as U, CARDS as D, ButtonIcon as C, IconRestore as z, IconStarInCircle as B, IconStarInCircleLight as $, IconDelete as Y } from "./LogoEntry.hJ_vIJmf.js";
|
|
4
|
+
import { useState as K, Fragment as V } from "react";
|
|
5
5
|
import i from "clsx";
|
|
6
|
-
import {
|
|
7
|
-
import { pluralize as I, ResponsiveTooltip as w, numberFormatter as
|
|
6
|
+
import { H as W, F as j, q as N, Y as F, O as o, J as k } from "./Table.B0wueiQh.js";
|
|
7
|
+
import { pluralize as I, ResponsiveTooltip as w, numberFormatter as G, isProbablyMobile as H } from "./App.CIwNk-Ut.js";
|
|
8
8
|
/*!
|
|
9
9
|
@versini/ui-pill v5.2.4
|
|
10
10
|
© 2025 gizmette.com
|
|
@@ -45,8 +45,8 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
45
45
|
variant: l
|
|
46
46
|
}))
|
|
47
47
|
};
|
|
48
|
-
},
|
|
49
|
-
const [h, p] =
|
|
48
|
+
}, O = ({ label: t, className: a, variant: l = "information", description: m, onClose: d }) => {
|
|
49
|
+
const [h, p] = K(!0), g = (f) => {
|
|
50
50
|
d && (d(f), f.defaultPrevented || p(!1));
|
|
51
51
|
};
|
|
52
52
|
if (!h)
|
|
@@ -105,7 +105,7 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
105
105
|
infinityScrollMarkerRef: g,
|
|
106
106
|
isLoading: u = !1,
|
|
107
107
|
totalHistoryCount: f,
|
|
108
|
-
isFiltered:
|
|
108
|
+
isFiltered: R = !1,
|
|
109
109
|
isSearchActive: T = !1
|
|
110
110
|
}) => {
|
|
111
111
|
const y = H() ? Z : ee, E = (r) => {
|
|
@@ -186,13 +186,13 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
186
186
|
children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-1", children: [
|
|
187
187
|
/* @__PURE__ */ c("div", { className: "flex flex-wrap gap-1", children: [
|
|
188
188
|
x !== null && /* @__PURE__ */ e(
|
|
189
|
-
|
|
189
|
+
O,
|
|
190
190
|
{
|
|
191
191
|
variant: v,
|
|
192
192
|
label: `${x}% semantic`
|
|
193
193
|
}
|
|
194
194
|
),
|
|
195
|
-
P && /* @__PURE__ */ e(
|
|
195
|
+
P && /* @__PURE__ */ e(O, { variant: "information", label: "keyword" })
|
|
196
196
|
] }),
|
|
197
197
|
/* @__PURE__ */ e("span", { children: s.summary })
|
|
198
198
|
] })
|
|
@@ -206,7 +206,7 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
206
206
|
{
|
|
207
207
|
className: i("dark:text-gray-400", "text-xs sm:text-sm"),
|
|
208
208
|
align: "right",
|
|
209
|
-
children: s.tokenUsage ?
|
|
209
|
+
children: s.tokenUsage ? G.format(s.tokenUsage) : "0"
|
|
210
210
|
},
|
|
211
211
|
r
|
|
212
212
|
);
|
|
@@ -284,19 +284,19 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
return /* @__PURE__ */ c(
|
|
287
|
-
|
|
287
|
+
W,
|
|
288
288
|
{
|
|
289
289
|
stickyHeader: !0,
|
|
290
290
|
compact: !0,
|
|
291
291
|
mode: "alt-system",
|
|
292
292
|
caption: (() => {
|
|
293
293
|
const r = t.length, s = f ?? r;
|
|
294
|
-
return
|
|
294
|
+
return R && s > r ? `Showing ${I(`${r} chat`, r)} out of ${s}` : I(`${r} chat`, r);
|
|
295
295
|
})(),
|
|
296
296
|
disabled: u && t.length > 0,
|
|
297
297
|
children: [
|
|
298
|
-
/* @__PURE__ */ e(
|
|
299
|
-
/* @__PURE__ */ e(
|
|
298
|
+
/* @__PURE__ */ e(j, { children: /* @__PURE__ */ e(N, { children: y.map((r) => E(r)) }) }),
|
|
299
|
+
/* @__PURE__ */ e(F, { children: u && t.length === 0 ? /* @__PURE__ */ e(N, { children: /* @__PURE__ */ e(o, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: "Loading..." }) }) }) : t.slice(0, l).map((r, s) => r?.summary ? /* @__PURE__ */ c(V, { children: [
|
|
300
300
|
s === l - L && /* @__PURE__ */ e("tr", { ref: g }),
|
|
301
301
|
/* @__PURE__ */ e(N, { children: y.map(
|
|
302
302
|
(b) => _(b, r, s)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as ae, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { n as K, INFINITE_SCROLL_LIMIT as U, INFINITE_SCROLL_THRESHOLD as re, LOCAL_STORAGE_PREFIX as u, LOCAL_STORAGE_SORT_TIMESTAMP as se, LOCAL_STORAGE_SORT_TOKEN_USAGE as oe, LOCAL_STORAGE_SORT as ne, y as I, LOCAL_STORAGE_CHAT_ID as ie, useDeleteChat as ce, useToggleFavoriteChat as le, graphQLRequest as de, SERVICE_TYPES as he, ACTION_SORT as me, v as ue, LOCAL_STORAGE_SEARCH as Ce, LOCAL_STORAGE_FAVORITES_ONLY as Se, LOCAL_STORAGE_KEYWORD_MATCH_ALL as fe, useChatsHistory as ye, useUserChatStats as pe, ACTION_SEARCH as Te } from "./index.
|
|
3
|
-
import { HistoryContext as Y, ChatContext as ge, e as m, APP_CLASSNAME as Ae, TOAST_CHAT_DELETED as Ee, HISTORY_TITLE as _e, IconSearch as Le, Button as De, L as Oe, j as ke } from "./LogoEntry.
|
|
4
|
-
import { Card as ve } from "./index.
|
|
5
|
-
import { useAiChat as Re, useLocalStorage as C, ConfirmationPanel as be, LazyToastContainerWrapper as Ie, showErrorToast as xe, v4 as we, CHAT_RESET as He, CHAT_SET_ATTACHMENTS as Ne, CHAT_SET_STATUS as Fe, Panel as Me, debounce as Ge, Toggle as B, CancelButton as Ve } from "./App.
|
|
6
|
-
import { TextInput as ze } from "./index.
|
|
2
|
+
import { n as K, INFINITE_SCROLL_LIMIT as U, INFINITE_SCROLL_THRESHOLD as re, LOCAL_STORAGE_PREFIX as u, LOCAL_STORAGE_SORT_TIMESTAMP as se, LOCAL_STORAGE_SORT_TOKEN_USAGE as oe, LOCAL_STORAGE_SORT as ne, y as I, LOCAL_STORAGE_CHAT_ID as ie, useDeleteChat as ce, useToggleFavoriteChat as le, graphQLRequest as de, SERVICE_TYPES as he, ACTION_SORT as me, v as ue, LOCAL_STORAGE_SEARCH as Ce, LOCAL_STORAGE_FAVORITES_ONLY as Se, LOCAL_STORAGE_KEYWORD_MATCH_ALL as fe, useChatsHistory as ye, useUserChatStats as pe, ACTION_SEARCH as Te } from "./index.DZAOimM5.js";
|
|
3
|
+
import { HistoryContext as Y, ChatContext as ge, e as m, APP_CLASSNAME as Ae, TOAST_CHAT_DELETED as Ee, HISTORY_TITLE as _e, IconSearch as Le, Button as De, L as Oe, j as ke } from "./LogoEntry.hJ_vIJmf.js";
|
|
4
|
+
import { Card as ve } from "./index.D8rj890J.js";
|
|
5
|
+
import { useAiChat as Re, useLocalStorage as C, ConfirmationPanel as be, LazyToastContainerWrapper as Ie, showErrorToast as xe, v4 as we, CHAT_RESET as He, CHAT_SET_ATTACHMENTS as Ne, CHAT_SET_STATUS as Fe, Panel as Me, debounce as Ge, Toggle as B, CancelButton as Ve } from "./App.CIwNk-Ut.js";
|
|
6
|
+
import { TextInput as ze } from "./index.DsqBt3WJ.js";
|
|
7
7
|
import Pe from "clsx";
|
|
8
8
|
import { useRef as x, useState as G, useContext as V, useCallback as j, Suspense as Ue, lazy as Be, useEffect as je } from "react";
|
|
9
9
|
const Ke = Be(
|
|
10
10
|
() => import(
|
|
11
11
|
/* webpackChunkName: "history-table" */
|
|
12
|
-
"./ChatHistoryTable.
|
|
12
|
+
"./ChatHistoryTable.BWpKoQsi.js"
|
|
13
13
|
).then((S) => ({ default: S.ChatHistoryTable }))
|
|
14
14
|
), Ye = ({
|
|
15
15
|
filteredHistory: S,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { n as L, getLayoutPaddingClass as M, getMessageContaintWrapperClass as b, isTauri as I } from "./index.
|
|
3
|
-
import { Logo as N, L as E, j as t, PASSWORD_PLACEHOLDER as y, ButtonIcon as p, IconShow as S, IconHide as v, Button as w, LOG_IN as P, LOG_IN_PASSKEY as z, IconPasskey as B } from "./LogoEntry.
|
|
4
|
-
import { Card as O } from "./index.
|
|
5
|
-
import { TextInput as T, TextInputMask as W } from "./index.
|
|
2
|
+
import { n as L, getLayoutPaddingClass as M, getMessageContaintWrapperClass as b, isTauri as I } from "./index.DZAOimM5.js";
|
|
3
|
+
import { Logo as N, L as E, j as t, PASSWORD_PLACEHOLDER as y, ButtonIcon as p, IconShow as S, IconHide as v, Button as w, LOG_IN as P, LOG_IN_PASSKEY as z, IconPasskey as B } from "./LogoEntry.hJ_vIJmf.js";
|
|
4
|
+
import { Card as O } from "./index.D8rj890J.js";
|
|
5
|
+
import { TextInput as T, TextInputMask as W } from "./index.DsqBt3WJ.js";
|
|
6
6
|
import { useState as s, useEffect as h } from "react";
|
|
7
7
|
const q = () => {
|
|
8
8
|
const { login: g, logoutReason: o, loginWithPasskey: f } = L(), [n, l] = s(""), [d, m] = s(""), [c, C] = s(!0), [r, u] = s({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import E, { useRef as N, useEffect as A, useCallback as e1, useState as h1, useMemo as Y, useContext as t1, useId as d1, useLayoutEffect as X } from "react";
|
|
2
2
|
import { jsx as o, jsxs as l } from "react/jsx-runtime";
|
|
3
3
|
import n from "clsx";
|
|
4
|
-
import { V as d, e as u1, P as m1, r as p1 } from "./index.
|
|
4
|
+
import { V as d, e as u1, P as m1, r as p1 } from "./index.DZAOimM5.js";
|
|
5
5
|
/*!
|
|
6
6
|
@versini/ui-hooks v6.0.0
|
|
7
7
|
© 2025 gizmette.com
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r, Fragment as I } from "react/jsx-runtime";
|
|
2
|
-
import { n as Te, LOCAL_STORAGE_PREFIX as ee, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as ke, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ve, useUserMemories as
|
|
3
|
-
import { L as M, j as f, Button as B, e as s, ButtonIcon as L, IconEdit as Oe, IconDelete as te, IconRestore as _e } from "./LogoEntry.
|
|
4
|
-
import { Panel as ae, Toggle as O, CancelButton as ce, useLocalStorage as re, ConfirmationPanel as ie, ResponsiveTooltip as _ } from "./App.
|
|
5
|
-
import {
|
|
2
|
+
import { n as Te, LOCAL_STORAGE_PREFIX as ee, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as ke, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ve, useUserMemories as be, useExpiredMemories as De, useDeleteMemory as Ee, useDeleteAllActiveMemories as Me, useDeleteAllExpiredMemories as Re, useUpdateMemory as Ie, useRestoreMemory as Le } from "./index.DZAOimM5.js";
|
|
3
|
+
import { L as M, j as f, Button as B, e as s, ButtonIcon as L, IconEdit as Oe, IconDelete as te, IconRestore as _e } from "./LogoEntry.hJ_vIJmf.js";
|
|
4
|
+
import { Panel as ae, Toggle as O, CancelButton as ce, useLocalStorage as re, ConfirmationPanel as ie, ResponsiveTooltip as _ } from "./App.CIwNk-Ut.js";
|
|
5
|
+
import { H as ne, F as oe, q as v, O as a, J as z, Y as le, G as se } from "./Table.B0wueiQh.js";
|
|
6
6
|
import C from "clsx";
|
|
7
7
|
import { useState as N, useEffect as ze, useRef as q } from "react";
|
|
8
|
-
import { TextArea as Be } from "./index.
|
|
8
|
+
import { TextArea as Be } from "./index.ClNxiXVb.js";
|
|
9
9
|
const Pe = ({
|
|
10
10
|
open: w,
|
|
11
|
-
onOpenChange:
|
|
11
|
+
onOpenChange: b,
|
|
12
12
|
initialText: d,
|
|
13
13
|
metadata: n,
|
|
14
14
|
onSave: A,
|
|
15
|
-
isSaving:
|
|
15
|
+
isSaving: D = !1
|
|
16
16
|
}) => {
|
|
17
17
|
const [l, E] = N(d), [y, h] = N("none");
|
|
18
18
|
ze(() => {
|
|
@@ -32,20 +32,20 @@ const Pe = ({
|
|
|
32
32
|
ae,
|
|
33
33
|
{
|
|
34
34
|
open: w,
|
|
35
|
-
onOpenChange:
|
|
35
|
+
onOpenChange: b,
|
|
36
36
|
title: "Edit Memory",
|
|
37
37
|
animation: !0,
|
|
38
38
|
animationType: "fade",
|
|
39
39
|
footer: /* @__PURE__ */ r(M, { columnGap: 2, alignHorizontal: "flex-end", children: [
|
|
40
|
-
/* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(ce, { onOpenChange:
|
|
40
|
+
/* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(ce, { onOpenChange: b, label: "Cancel" }) }),
|
|
41
41
|
/* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(
|
|
42
42
|
B,
|
|
43
43
|
{
|
|
44
44
|
mode: "dark",
|
|
45
45
|
focusMode: "light",
|
|
46
|
-
disabled:
|
|
46
|
+
disabled: D || !T || !p,
|
|
47
47
|
onClick: P,
|
|
48
|
-
children:
|
|
48
|
+
children: D ? "Saving..." : "Save"
|
|
49
49
|
}
|
|
50
50
|
) })
|
|
51
51
|
] }),
|
|
@@ -179,8 +179,8 @@ const Pe = ({
|
|
|
179
179
|
] })
|
|
180
180
|
}
|
|
181
181
|
);
|
|
182
|
-
},
|
|
183
|
-
const n = q(null), { getAccessToken: A } = Te(), [
|
|
182
|
+
}, je = ({ open: w, onOpenChange: b, user: d }) => {
|
|
183
|
+
const n = q(null), { getAccessToken: A } = Te(), [D] = N(void 0), [l, E] = N("active"), [y, h] = re({
|
|
184
184
|
key: ee + ke,
|
|
185
185
|
initialValue: s.DESC
|
|
186
186
|
}), [P, T] = re({
|
|
@@ -188,22 +188,22 @@ const Pe = ({
|
|
|
188
188
|
initialValue: "createdAt"
|
|
189
189
|
}), [p, o] = N(y || s.DESC), [u, R] = N(
|
|
190
190
|
P || "createdAt"
|
|
191
|
-
), { data: k, isLoading: H, isError: $ } =
|
|
191
|
+
), { data: k, isLoading: H, isError: $ } = be({
|
|
192
192
|
user: d,
|
|
193
|
-
query:
|
|
193
|
+
query: D,
|
|
194
194
|
getAccessToken: A,
|
|
195
195
|
enabled: w && l === "active"
|
|
196
196
|
}), {
|
|
197
197
|
data: g,
|
|
198
|
-
isLoading:
|
|
199
|
-
isError:
|
|
200
|
-
} =
|
|
198
|
+
isLoading: X,
|
|
199
|
+
isError: V
|
|
200
|
+
} = De({
|
|
201
201
|
user: d,
|
|
202
|
-
query:
|
|
202
|
+
query: D,
|
|
203
203
|
getAccessToken: A,
|
|
204
204
|
enabled: w && l === "expired"
|
|
205
|
-
}), F = Ee({ getAccessToken: A }),
|
|
206
|
-
S.current = { id: t, text: i, description: c, createdAt: m },
|
|
205
|
+
}), F = Ee({ getAccessToken: A }), j = Me({ getAccessToken: A }), Y = Re({ getAccessToken: A }), G = Ie({ getAccessToken: A }), J = Le({ getAccessToken: A }), [de, K] = N(!1), S = q(null), [me, Q] = N(!1), [xe, U] = N(!1), x = q(null), W = (t, i, c, m) => {
|
|
206
|
+
S.current = { id: t, text: i, description: c, createdAt: m }, K(!0);
|
|
207
207
|
}, he = () => {
|
|
208
208
|
S.current && F.mutate({ user: d, memoryId: S.current.id });
|
|
209
209
|
}, pe = (t, i, c, m, Ae, ye, Ce, Ne, we, Se) => {
|
|
@@ -234,9 +234,9 @@ const Pe = ({
|
|
|
234
234
|
}
|
|
235
235
|
);
|
|
236
236
|
}, ge = () => {
|
|
237
|
-
d &&
|
|
237
|
+
d && Q(!0);
|
|
238
238
|
}, fe = () => {
|
|
239
|
-
d && (l === "active" ?
|
|
239
|
+
d && (l === "active" ? j.mutate({ user: d }) : Y.mutate({ user: d }));
|
|
240
240
|
}, Z = (t) => {
|
|
241
241
|
const i = `${t.total} memor${t.total === 1 ? "y" : "ies"}`, c = t.totalTokenUsage ? ` (~${t.totalTokenUsage} tokens)` : "";
|
|
242
242
|
return i + c;
|
|
@@ -266,7 +266,7 @@ const Pe = ({
|
|
|
266
266
|
ie,
|
|
267
267
|
{
|
|
268
268
|
showConfirmation: de,
|
|
269
|
-
setShowConfirmation:
|
|
269
|
+
setShowConfirmation: K,
|
|
270
270
|
action: he,
|
|
271
271
|
customStrings: {
|
|
272
272
|
title: "Delete memory",
|
|
@@ -294,7 +294,7 @@ const Pe = ({
|
|
|
294
294
|
ie,
|
|
295
295
|
{
|
|
296
296
|
showConfirmation: me,
|
|
297
|
-
setShowConfirmation:
|
|
297
|
+
setShowConfirmation: Q,
|
|
298
298
|
action: fe,
|
|
299
299
|
customStrings: {
|
|
300
300
|
title: l === "active" ? "Delete all active memories" : "Delete all expired memories",
|
|
@@ -308,7 +308,7 @@ const Pe = ({
|
|
|
308
308
|
ae,
|
|
309
309
|
{
|
|
310
310
|
open: w,
|
|
311
|
-
onOpenChange: (t) =>
|
|
311
|
+
onOpenChange: (t) => b(t),
|
|
312
312
|
title: "User Memories",
|
|
313
313
|
animation: !0,
|
|
314
314
|
animationType: "fade",
|
|
@@ -318,7 +318,7 @@ const Pe = ({
|
|
|
318
318
|
/* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(
|
|
319
319
|
ce,
|
|
320
320
|
{
|
|
321
|
-
onOpenChange:
|
|
321
|
+
onOpenChange: b,
|
|
322
322
|
label: "Close",
|
|
323
323
|
ref: n
|
|
324
324
|
}
|
|
@@ -329,7 +329,7 @@ const Pe = ({
|
|
|
329
329
|
mode: "dark",
|
|
330
330
|
focusMode: "light",
|
|
331
331
|
variant: "danger",
|
|
332
|
-
disabled: (l === "active" ?
|
|
332
|
+
disabled: (l === "active" ? j.isPending : Y.isPending) || (l === "active" ? (k?.total ?? 0) === 0 : (g?.total ?? 0) === 0),
|
|
333
333
|
onClick: ge,
|
|
334
334
|
children: "Delete All"
|
|
335
335
|
}
|
|
@@ -527,7 +527,7 @@ const Pe = ({
|
|
|
527
527
|
variant: "primary",
|
|
528
528
|
iconClassName: "text-red-700 dark:text-red-500",
|
|
529
529
|
disabled: F.isPending,
|
|
530
|
-
onClick: () =>
|
|
530
|
+
onClick: () => W(
|
|
531
531
|
t.memoryId,
|
|
532
532
|
t.text,
|
|
533
533
|
t.description,
|
|
@@ -549,9 +549,9 @@ const Pe = ({
|
|
|
549
549
|
}
|
|
550
550
|
) : /* @__PURE__ */ e("p", { className: "m-0 italic opacity-70", children: "No memories stored." }))
|
|
551
551
|
] }) : /* @__PURE__ */ r(I, { children: [
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
!
|
|
552
|
+
X && /* @__PURE__ */ e("p", { className: "m-0", children: "Loading expired memories..." }),
|
|
553
|
+
V && /* @__PURE__ */ e("p", { className: "m-0 text-red-500", children: "Failed to load expired memories." }),
|
|
554
|
+
!X && !V && (g && g.items.length > 0 ? /* @__PURE__ */ r(ne, { stickyHeader: !0, stickyFooter: !0, compact: !0, mode: "alt-system", children: [
|
|
555
555
|
/* @__PURE__ */ e(oe, { children: /* @__PURE__ */ r(v, { children: [
|
|
556
556
|
/* @__PURE__ */ e(a, { className: "sr-only", children: "Row" }),
|
|
557
557
|
/* @__PURE__ */ e(a, { children: "Memory" }),
|
|
@@ -665,9 +665,9 @@ const Pe = ({
|
|
|
665
665
|
noBorder: !0,
|
|
666
666
|
label: "Restore memory",
|
|
667
667
|
variant: "primary",
|
|
668
|
-
disabled:
|
|
668
|
+
disabled: J.isPending,
|
|
669
669
|
onClick: () => {
|
|
670
|
-
d &&
|
|
670
|
+
d && J.mutate({
|
|
671
671
|
user: d,
|
|
672
672
|
memoryId: t.memoryId
|
|
673
673
|
});
|
|
@@ -692,7 +692,7 @@ const Pe = ({
|
|
|
692
692
|
variant: "primary",
|
|
693
693
|
iconClassName: "text-red-700 dark:text-red-500",
|
|
694
694
|
disabled: F.isPending,
|
|
695
|
-
onClick: () =>
|
|
695
|
+
onClick: () => W(
|
|
696
696
|
t.memoryId,
|
|
697
697
|
t.text,
|
|
698
698
|
t.description,
|
|
@@ -736,5 +736,5 @@ const Pe = ({
|
|
|
736
736
|
] });
|
|
737
737
|
};
|
|
738
738
|
export {
|
|
739
|
-
|
|
739
|
+
je as default
|
|
740
740
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as H, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.
|
|
3
|
-
import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.
|
|
2
|
+
import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.CIwNk-Ut.js";
|
|
3
|
+
import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.hJ_vIJmf.js";
|
|
4
4
|
import { useState as m, useMemo as ee, useCallback as N, useRef as ae } from "react";
|
|
5
|
-
import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.
|
|
6
|
-
import { Card as h } from "./index.
|
|
5
|
+
import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.DZAOimM5.js";
|
|
6
|
+
import { Card as h } from "./index.D8rj890J.js";
|
|
7
7
|
import de from "clsx";
|
|
8
8
|
const me = () => {
|
|
9
9
|
const {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.
|
|
3
|
-
import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as pe, PROMPTS_DESCRIPTION as tt, L as ot, j as Ee, APP_SET_OLED_MODE as Se, APP_SET_FULL_SCREEN as ge } from "./LogoEntry.
|
|
4
|
-
import { Card as f } from "./index.
|
|
5
|
-
import { useCapability as Te, useLocalStorage as be, Panel as st, Toggle as l, CancelButton as at } from "./App.
|
|
6
|
-
import { TextArea as Ne } from "./index.
|
|
2
|
+
import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.DZAOimM5.js";
|
|
3
|
+
import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as pe, PROMPTS_DESCRIPTION as tt, L as ot, j as Ee, APP_SET_OLED_MODE as Se, APP_SET_FULL_SCREEN as ge } from "./LogoEntry.hJ_vIJmf.js";
|
|
4
|
+
import { Card as f } from "./index.D8rj890J.js";
|
|
5
|
+
import { useCapability as Te, useLocalStorage as be, Panel as st, Toggle as l, CancelButton as at } from "./App.CIwNk-Ut.js";
|
|
6
|
+
import { TextArea as Ne } from "./index.ClNxiXVb.js";
|
|
7
7
|
import { useRef as nt, useContext as rt, useState as s, useMemo as lt, useCallback as ct, useEffect as Ce } from "react";
|
|
8
8
|
const Et = ({
|
|
9
9
|
open: ye,
|