@versini/sassysaint 8.62.3 → 8.63.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.DGB_6XWF.js → AboutChangelog.CcpXjtz2.js} +2 -2
- package/dist/chunks/{AboutEntry.Bi3Rtvax.js → AboutEntry.D-K-8suU.js} +9 -9
- package/dist/chunks/{App.cuOjKevV.js → App.BUHkBnAs.js} +1551 -1540
- package/dist/chunks/{Chart.D8o0MX15.js → Chart.f_78Yn-S.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.BsGW6-uz.js → ChatBubbleAssistant.BMzfA5pX.js} +16 -16
- package/dist/chunks/{ChatBubbleUser.5klvBcRZ.js → ChatBubbleUser.BkwIMaLA.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.Btl5R3g_.js → ChatHistoryTable.z1gXvLbS.js} +15 -15
- package/dist/chunks/{HistoryEntry.Dd9wepcS.js → HistoryEntry.6LhEmpQ3.js} +30 -30
- package/dist/chunks/ProfileEntry.BVd9oy8m.js +158 -0
- package/dist/chunks/{SettingsEntry.DJ6HHl3_.js → SettingsEntry.BITLpN9E.js} +104 -105
- package/dist/chunks/{Table.B9Dh8yT5.js → Table.BuN5VZQJ.js} +8 -8
- package/dist/chunks/{UsageEntry.BBHtbgZr.js → UsageEntry.B5xt2ba5.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.B2rrpuxL.js → UserMemoriesPanel.DU82nD6K.js} +3 -3
- package/dist/chunks/{index.BwP0kG4H.js → index.790ujKXR.js} +15 -15
- package/dist/chunks/{index.C1SMMUJo.js → index.BCvnlzn1.js} +1009 -947
- package/dist/chunks/{index.Chm9CISa.js → index.Bmi4qytW.js} +2 -2
- package/dist/chunks/{index.BWJ8ML3P.js → index.Cq79kge7.js} +1 -1
- package/dist/chunks/{index.EtY2KRYo.js → index.DEwRELHl.js} +3 -3
- package/dist/chunks/{index.DJTHwROE.js → index.TsLNeuu8.js} +1 -1
- package/dist/chunks/{index.BoS9FOuX.js → index.W_JEPkEx.js} +1 -1
- package/dist/chunks/{index.CXN6Kb5s.js → index.hfGQXbdH.js} +1 -1
- package/dist/chunks/{useMarkdown.Bw-tEpSM.js → useMarkdown.D7Tx0mAO.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/chunks/ProfileEntry.y2zGAvLi.js +0 -60
|
@@ -84,20 +84,20 @@ function Tt(t, e, a) {
|
|
|
84
84
|
if (E(i)) return;
|
|
85
85
|
let { toastId: c, updateId: h, data: C, staleId: y, delay: v } = i, L = h == null;
|
|
86
86
|
L && n++;
|
|
87
|
-
let
|
|
88
|
-
f.get(c).removalReason =
|
|
87
|
+
let P = { ...d, style: d.toastStyle, key: r++, ...Object.fromEntries(Object.entries(i).filter(([$, S]) => S != null)), toastId: c, updateId: h, data: C, isIn: !1, className: V(i.className || d.toastClassName), progressClassName: V(i.progressClassName || d.progressClassName), autoClose: i.isLoading ? !1 : mt(i.autoClose, d.autoClose), closeToast($) {
|
|
88
|
+
f.get(c).removalReason = $, b(c);
|
|
89
89
|
}, deleteToast() {
|
|
90
|
-
let
|
|
91
|
-
if (
|
|
92
|
-
if (a(ot(
|
|
90
|
+
let $ = f.get(c);
|
|
91
|
+
if ($ != null) {
|
|
92
|
+
if (a(ot($, "removed")), f.delete(c), n--, n < 0 && (n = 0), l.length > 0) {
|
|
93
93
|
p(l.shift());
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
96
|
x();
|
|
97
97
|
}
|
|
98
98
|
} };
|
|
99
|
-
|
|
100
|
-
let O = { content: s, props:
|
|
99
|
+
P.closeButton = d.closeButton, i.closeButton === !1 || Z(i.closeButton) ? P.closeButton = i.closeButton : i.closeButton === !0 && (P.closeButton = Z(d.closeButton) ? d.closeButton : !0);
|
|
100
|
+
let O = { content: s, props: P, staleId: y };
|
|
101
101
|
d.limit && d.limit > 0 && n > d.limit && L ? l.push(O) : M(v) ? setTimeout(() => {
|
|
102
102
|
p(O);
|
|
103
103
|
}, v) : p(O);
|
|
@@ -219,10 +219,10 @@ g.error = q("error");
|
|
|
219
219
|
g.warning = q("warning");
|
|
220
220
|
g.warn = g.warning;
|
|
221
221
|
g.dark = (t, e) => B(t, Y("default", { theme: "dark", ...e }));
|
|
222
|
-
function
|
|
222
|
+
function Pt(t) {
|
|
223
223
|
Et(t);
|
|
224
224
|
}
|
|
225
|
-
g.dismiss =
|
|
225
|
+
g.dismiss = Pt;
|
|
226
226
|
g.clearWaitingQueue = wt;
|
|
227
227
|
g.isActive = lt;
|
|
228
228
|
g.update = (t, e = {}) => {
|
|
@@ -240,7 +240,7 @@ g.done = (t) => {
|
|
|
240
240
|
g.onChange = Lt;
|
|
241
241
|
g.play = (t) => ct(!0, t);
|
|
242
242
|
g.pause = (t) => ct(!1, t);
|
|
243
|
-
function
|
|
243
|
+
function $t(t) {
|
|
244
244
|
var e;
|
|
245
245
|
let { subscribe: a, getSnapshot: r, setProps: n } = A(Ct(t)).current;
|
|
246
246
|
n(t);
|
|
@@ -276,8 +276,8 @@ function Nt(t) {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
function b(y) {
|
|
279
|
-
let { top: v, bottom: L, left:
|
|
280
|
-
y.nativeEvent.type !== "touchend" && t.pauseOnHover && y.clientX >=
|
|
279
|
+
let { top: v, bottom: L, left: P, right: O } = l.current.getBoundingClientRect();
|
|
280
|
+
y.nativeEvent.type !== "touchend" && t.pauseOnHover && y.clientX >= P && y.clientX <= O && y.clientY >= v && y.clientY <= L ? p() : m();
|
|
281
281
|
}
|
|
282
282
|
function m() {
|
|
283
283
|
a(!0);
|
|
@@ -337,11 +337,11 @@ function Ht({ theme: t, type: e, isLoading: a, icon: r }) {
|
|
|
337
337
|
return r === !1 || (z(r) ? n = r({ ...l, isLoading: a }) : U(r) ? n = tt(r, l) : a ? n = J.spinner() : Xt(e) && (n = J[e](l))), n;
|
|
338
338
|
}
|
|
339
339
|
var Ut = (t) => {
|
|
340
|
-
let { isRunning: e, preventExitTransition: a, toastRef: r, eventHandlers: n, playToast: l } = Nt(t), { closeButton: o, children: d, autoClose: f, onClick: u, type: _, hideProgressBar: x, closeToast: E, transition: k, position: I, className: b, style: m, progressClassName: p, updateId: s, role: i, progress: c, rtl: h, toastId: C, deleteToast: y, isIn: v, isLoading: L, closeOnClick:
|
|
341
|
-
return o === !1 || (z(o) ? X = o(W) : U(o) ? X = tt(o, W) : X = gt(W)), T.createElement(k, { isIn: v, done: y, position: I, preventExitTransition: a, nodeRef: r, playToast: l }, T.createElement("div", { id: C, tabIndex: 0, onClick: u, "data-in": v, className: dt, ...n, style: m, ref: r, ...v && { role: i, "aria-label":
|
|
340
|
+
let { isRunning: e, preventExitTransition: a, toastRef: r, eventHandlers: n, playToast: l } = Nt(t), { closeButton: o, children: d, autoClose: f, onClick: u, type: _, hideProgressBar: x, closeToast: E, transition: k, position: I, className: b, style: m, progressClassName: p, updateId: s, role: i, progress: c, rtl: h, toastId: C, deleteToast: y, isIn: v, isLoading: L, closeOnClick: P, theme: O, ariaLabel: $ } = t, S = N("Toastify__toast", `Toastify__toast-theme--${O}`, `Toastify__toast--${_}`, { "Toastify__toast--rtl": h }, { "Toastify__toast--close-on-click": P }), dt = z(b) ? b({ rtl: h, position: I, type: _, defaultClassName: S }) : N(S, b), et = Ht(t), at = !!c || !f, W = { closeToast: E, type: _, theme: O }, X = null;
|
|
341
|
+
return o === !1 || (z(o) ? X = o(W) : U(o) ? X = tt(o, W) : X = gt(W)), T.createElement(k, { isIn: v, done: y, position: I, preventExitTransition: a, nodeRef: r, playToast: l }, T.createElement("div", { id: C, tabIndex: 0, onClick: u, "data-in": v, className: dt, ...n, style: m, ref: r, ...v && { role: i, "aria-label": $ } }, et != null && T.createElement("div", { className: N("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !L }) }, et), rt(d, t, !e), X, !t.customProgressBar && T.createElement(vt, { ...s && !at ? { key: `p-${s}` } : {}, rtl: h, theme: O, delay: f, isRunning: e, isIn: v, closeToast: E, hide: x, type: _, className: p, controlledProgress: at, progress: c || 0 })));
|
|
342
342
|
}, Q = (t, e = !1) => ({ enter: `Toastify--animate Toastify__${t}-enter`, exit: `Toastify--animate Toastify__${t}-exit`, appendPosition: e }), Ft = F(Q("bounce", !0)), Qt = F(Q("slide", !0)), Wt = F(Q("zoom")), jt = F(Q("flip")), Yt = { position: "top-right", transition: Ft, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light", "aria-label": "Notifications Alt+T", hotKeys: (t) => t.altKey && t.code === "KeyT" };
|
|
343
343
|
function Vt(t) {
|
|
344
|
-
let e = { ...Yt, ...t }, a = t.stacked, [r, n] = j(!0), l = A(null), { getToastToRender: o, isToastActive: d, count: f } =
|
|
344
|
+
let e = { ...Yt, ...t }, a = t.stacked, [r, n] = j(!0), l = A(null), { getToastToRender: o, isToastActive: d, count: f } = $t(e), { className: u, style: _, rtl: x, containerId: E, hotKeys: k } = e;
|
|
345
345
|
function I(m) {
|
|
346
346
|
let p = N("Toastify__toast-container", `Toastify__toast-container--${m}`, { "Toastify__toast-container--rtl": x });
|
|
347
347
|
return z(u) ? u({ position: m, rtl: x, defaultClassName: p }) : N(p, V(u));
|