@versini/sassysaint 8.107.3 → 8.107.4
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.BmMVyf-Q.js → AboutChangelog.DeRcKN5H.js} +2 -2
- package/dist/chunks/{AboutEntry.wD5hG0ON.js → AboutEntry.6mTHwkfb.js} +7 -7
- package/dist/chunks/{App.FyINLNSp.js → App.DTjbiLAP.js} +1746 -1908
- package/dist/chunks/{Bubble.Ci-pu6NI.js → Bubble.ltolxxta.js} +47 -74
- package/dist/chunks/{Chart.DYVf2gst.js → Chart.BzOmOhOW.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CD6bVvcQ.js → ChatBubbleAssistant.lGE_8ao1.js} +199 -208
- package/dist/chunks/{ChatBubbleUser.Cre3cX04.js → ChatBubbleUser.DC661ePq.js} +27 -36
- package/dist/chunks/{ChatHistoryTable.D_kOkWN9.js → ChatHistoryTable.BkRFWpsA.js} +108 -121
- package/dist/chunks/{Table.Dzy9ts3i.js → DeleteButtonIcon.P0LgJDjE.js} +125 -104
- package/dist/chunks/{HistoryEntry.BFNME4Z8.js → HistoryEntry.uUjsDuT0.js} +6 -6
- package/dist/chunks/{LoginEntry.SW7wyEpU.js → LoginEntry.BGZdTDwf.js} +4 -4
- package/dist/chunks/{LogoEntry.BAKpdJEy.js → LogoEntry.Bpddd0yA.js} +304 -385
- package/dist/chunks/{MemoriesEntry.Ztyx_8Wm.js → MemoriesEntry.BYQm9cuU.js} +164 -169
- package/dist/chunks/{ProfileEntry.CjzAusYw.js → ProfileEntry.BqcZXSeT.js} +4 -4
- package/dist/chunks/{SettingsEntry.D4IKmfYP.js → SettingsEntry.BdC5Vyof.js} +5 -5
- package/dist/chunks/{UsageEntry.D7sTPflE.js → UsageEntry._O8Q6TwS.js} +5 -5
- package/dist/chunks/index.Bi0z4EE1.js +90 -0
- package/dist/chunks/{index.BI1_ccPN.js → index.BlviGqw0.js} +3 -3
- package/dist/chunks/{index.BfTDtoYy.js → index.BxbWxVtd.js} +1 -1
- package/dist/chunks/index.C70LcKzU.js +279 -0
- package/dist/chunks/{index.BT3Do9Po.js → index.CYcieK1H.js} +34 -43
- package/dist/chunks/{index.QiLu2wkI.js → index.CaofbEIP.js} +2 -2
- package/dist/chunks/{index.DBovegdE.js → index.D2nN0rC6.js} +1 -1
- package/dist/chunks/{index.uILjvEfo.js → index.DG-VhqKw.js} +1 -1
- package/dist/chunks/{index.16gcBvke.js → index.DuxTgnco.js} +60 -69
- package/dist/chunks/{index.DJlv39cv.js → index.s8Izh8-Q.js} +2 -2
- package/dist/chunks/{useMarkdown.BberHabr.js → useMarkdown.DjEZz9lH.js} +315 -324
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/dist/chunks/index.BjnVQ4X3.js +0 -99
- package/dist/chunks/index.uVDYkuxz.js +0 -297
|
@@ -1,33 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s, jsxs as b, Fragment as I } from "react/jsx-runtime";
|
|
2
2
|
import c from "clsx";
|
|
3
|
-
import
|
|
4
|
-
import { ButtonIcon as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
version: "11.0.1",
|
|
8
|
-
buildTime: "12/24/2025 09:19 AM EST",
|
|
9
|
-
homepage: "https://www.npmjs.com/package/@versini/ui-button",
|
|
10
|
-
license: "MIT"
|
|
11
|
-
});
|
|
12
|
-
} catch {
|
|
13
|
-
}
|
|
14
|
-
const w = /* @__PURE__ */ x.forwardRef(({ children: e, mode: t = "system", className: a, active: r = !1, ...s }, o) => {
|
|
3
|
+
import N, { useContext as y } from "react";
|
|
4
|
+
import { ButtonIcon as v, e as k, IconDelete as z } from "./LogoEntry.Bpddd0yA.js";
|
|
5
|
+
import { ResponsiveTooltip as S } from "./App.DTjbiLAP.js";
|
|
6
|
+
const w = /* @__PURE__ */ N.forwardRef(({ children: e, mode: t = "system", className: a, active: r = !1, ...l }, o) => {
|
|
15
7
|
const d = r ? c("relative", "focus-within:static", "focus-within:after:border-transparent", "after:absolute", "after:content-['']", "after:border-b-2", "after:-bottom-1", "after:left-0", "after:right-0", {
|
|
16
8
|
"after:border-table-light": t === "dark",
|
|
17
9
|
"after:border-table-dark": t === "light",
|
|
18
10
|
"after:border-table-light dark:after:border-table-dark": t === "system",
|
|
19
11
|
"after:border-table-dark dark:after:border-table-light": t === "alt-system"
|
|
20
12
|
}) : "";
|
|
21
|
-
return /* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ s("div", {
|
|
22
14
|
className: d,
|
|
23
|
-
children: /* @__PURE__ */
|
|
15
|
+
children: /* @__PURE__ */ s(v, {
|
|
24
16
|
className: a,
|
|
25
17
|
ref: o,
|
|
26
18
|
mode: t,
|
|
27
19
|
radius: "small",
|
|
28
20
|
size: "small",
|
|
29
21
|
align: "center",
|
|
30
|
-
...
|
|
22
|
+
...l,
|
|
31
23
|
children: e
|
|
32
24
|
})
|
|
33
25
|
});
|
|
@@ -51,79 +43,79 @@ try {
|
|
|
51
43
|
});
|
|
52
44
|
} catch {
|
|
53
45
|
}
|
|
54
|
-
const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox:
|
|
46
|
+
const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: l, size: o, title: d, semantic: h = !1, ...i }) => {
|
|
55
47
|
const m = c(o, r);
|
|
56
48
|
return /* @__PURE__ */ b("svg", {
|
|
57
49
|
xmlns: "http://www.w3.org/2000/svg",
|
|
58
50
|
className: m,
|
|
59
|
-
viewBox: a ||
|
|
51
|
+
viewBox: a || l,
|
|
60
52
|
fill: t || "currentColor",
|
|
61
53
|
role: "img",
|
|
62
54
|
"aria-hidden": !h,
|
|
63
55
|
focusable: !1,
|
|
64
56
|
...i,
|
|
65
57
|
children: [
|
|
66
|
-
d && h && /* @__PURE__ */
|
|
58
|
+
d && h && /* @__PURE__ */ s("title", {
|
|
67
59
|
children: d
|
|
68
60
|
}),
|
|
69
61
|
e
|
|
70
62
|
]
|
|
71
63
|
});
|
|
72
|
-
},
|
|
64
|
+
}, B = ({ className: e, viewBox: t, title: a, monotone: r, ...l }) => /* @__PURE__ */ b(f, {
|
|
73
65
|
defaultViewBox: "0 0 576 512",
|
|
74
66
|
size: "size-5",
|
|
75
67
|
viewBox: t,
|
|
76
68
|
className: e,
|
|
77
69
|
title: a || "Sort",
|
|
78
|
-
...
|
|
70
|
+
...l,
|
|
79
71
|
children: [
|
|
80
|
-
/* @__PURE__ */
|
|
72
|
+
/* @__PURE__ */ s("path", {
|
|
81
73
|
d: "M297.4 137.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l41.3-41.4V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.3l41.4 41.4c12.5 12.5 32.8 12.5 45.3 0 6.2-6.2 9.4-14.4 9.4-22.6s-3.1-16.4-9.4-22.6l-96-96c-6.3-6.4-14.5-9.5-22.7-9.5s-16.4 3.1-22.6 9.4z",
|
|
82
74
|
opacity: r ? "1" : "0.4"
|
|
83
75
|
}),
|
|
84
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ s("path", {
|
|
85
77
|
d: "M137.4 470.6c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 370.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v306.7l-41.4-41.3c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96z"
|
|
86
78
|
})
|
|
87
79
|
]
|
|
88
|
-
}),
|
|
80
|
+
}), V = ({ className: e, viewBox: t, title: a, monotone: r, ...l }) => /* @__PURE__ */ b(f, {
|
|
89
81
|
defaultViewBox: "0 0 576 512",
|
|
90
82
|
size: "size-5",
|
|
91
83
|
viewBox: t,
|
|
92
84
|
className: e,
|
|
93
85
|
title: a || "Sort Down",
|
|
94
|
-
...
|
|
86
|
+
...l,
|
|
95
87
|
children: [
|
|
96
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ s("path", {
|
|
97
89
|
d: "M288 64c0-17.7 14.3-32 32-32h224c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h160c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32h-96c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32h-32c-17.7 0-32-14.3-32-32",
|
|
98
90
|
opacity: r ? "1" : "0.4"
|
|
99
91
|
}),
|
|
100
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ s("path", {
|
|
101
93
|
d: "M128 480c9 0 17.5-3.8 23.6-10.4l88-96c11.9-13 11.1-33.3-2-45.2s-33.3-11.1-45.2 2L160 365.7V64c0-17.7-14.3-32-32-32S96 46.3 96 64v301.7l-32.4-35.3c-11.9-13-32.2-13.9-45.2-2s-13.9 32.2-2 45.2l88 96c6.1 6.6 14.6 10.4 23.6 10.4"
|
|
102
94
|
})
|
|
103
95
|
]
|
|
104
|
-
}),
|
|
96
|
+
}), W = ({ className: e, viewBox: t, title: a, monotone: r, ...l }) => /* @__PURE__ */ b(f, {
|
|
105
97
|
defaultViewBox: "0 0 576 512",
|
|
106
98
|
size: "size-5",
|
|
107
99
|
viewBox: t,
|
|
108
100
|
className: e,
|
|
109
101
|
title: a || "Sort Up",
|
|
110
|
-
...
|
|
102
|
+
...l,
|
|
111
103
|
children: [
|
|
112
|
-
/* @__PURE__ */
|
|
104
|
+
/* @__PURE__ */ s("path", {
|
|
113
105
|
d: "M288 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32h-32c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32h-96c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h160c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h224c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32",
|
|
114
106
|
opacity: r ? "1" : "0.4"
|
|
115
107
|
}),
|
|
116
|
-
/* @__PURE__ */
|
|
108
|
+
/* @__PURE__ */ s("path", {
|
|
117
109
|
d: "M128 32c9 0 17.5 3.8 23.6 10.4l88 96c11.9 13 11.1 33.3-2 45.2s-33.3 11.1-45.2-2L160 146.3V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V146.3l-32.4 35.3c-11.9 13-32.2 13.9-45.2 2s-13.9-32.2-2-45.2l88-96C110.5 35.8 119 32 128 32"
|
|
118
110
|
})
|
|
119
111
|
]
|
|
120
|
-
}), g =
|
|
112
|
+
}), g = N.createContext({
|
|
121
113
|
mode: "light",
|
|
122
114
|
cellWrapper: "thead",
|
|
123
115
|
stickyHeader: !1,
|
|
124
116
|
stickyFooter: !1,
|
|
125
117
|
compact: !1
|
|
126
|
-
}), u = "thead",
|
|
118
|
+
}), u = "thead", x = "tfoot", C = "tbody", H = ({ mode: e }) => c(
|
|
127
119
|
"size-8",
|
|
128
120
|
"align-[-0.125em]",
|
|
129
121
|
"border-4",
|
|
@@ -134,7 +126,7 @@ const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: s,
|
|
|
134
126
|
"text-copy-dark dark:text-copy-light": e === "alt-system",
|
|
135
127
|
"text-copy-light dark:text-copy-dark": e === "system"
|
|
136
128
|
}
|
|
137
|
-
),
|
|
129
|
+
), M = ({ mode: e }) => ({
|
|
138
130
|
inner: "relative",
|
|
139
131
|
overlay: c(
|
|
140
132
|
"absolute inset-0 z-20 cursor-not-allowed",
|
|
@@ -145,16 +137,16 @@ const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: s,
|
|
|
145
137
|
"flex items-center justify-center",
|
|
146
138
|
"pointer-events-none"
|
|
147
139
|
),
|
|
148
|
-
spinner:
|
|
149
|
-
}),
|
|
140
|
+
spinner: H({ mode: e })
|
|
141
|
+
}), F = ({
|
|
150
142
|
mode: e,
|
|
151
143
|
className: t,
|
|
152
144
|
wrapperClassName: a,
|
|
153
145
|
stickyHeader: r,
|
|
154
|
-
stickyFooter:
|
|
146
|
+
stickyFooter: l,
|
|
155
147
|
disabled: o
|
|
156
148
|
}) => {
|
|
157
|
-
const d = o ?
|
|
149
|
+
const d = o ? M({ mode: e }) : null;
|
|
158
150
|
return {
|
|
159
151
|
overlay: d?.overlay ?? "",
|
|
160
152
|
inner: d?.inner ?? "",
|
|
@@ -163,8 +155,8 @@ const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: s,
|
|
|
163
155
|
wrapper: c(
|
|
164
156
|
"not-prose relative w-full rounded-lg shadow-md",
|
|
165
157
|
{
|
|
166
|
-
"overflow-x-auto": !r && !
|
|
167
|
-
"overflow-y-scroll": (r ||
|
|
158
|
+
"overflow-x-auto": !r && !l && !o,
|
|
159
|
+
"overflow-y-scroll": (r || l) && !o,
|
|
168
160
|
"overflow-hidden": o,
|
|
169
161
|
"bg-surface-darker": e === "dark" || e === "system",
|
|
170
162
|
"bg-surface-light": e === "light" || e === "alt-system",
|
|
@@ -190,7 +182,7 @@ const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: s,
|
|
|
190
182
|
"text-copy-dark dark:text-copy-light": e === "alt-system"
|
|
191
183
|
})
|
|
192
184
|
};
|
|
193
|
-
},
|
|
185
|
+
}, E = ({
|
|
194
186
|
className: e,
|
|
195
187
|
stickyHeader: t,
|
|
196
188
|
mode: a
|
|
@@ -203,7 +195,7 @@ const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: s,
|
|
|
203
195
|
"shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": t && a === "alt-system"
|
|
204
196
|
},
|
|
205
197
|
e
|
|
206
|
-
),
|
|
198
|
+
), R = ({
|
|
207
199
|
className: e,
|
|
208
200
|
stickyFooter: t,
|
|
209
201
|
mode: a
|
|
@@ -216,11 +208,11 @@ const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: s,
|
|
|
216
208
|
"shadow-[rgb(65_65_65_/30%)_-0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": t && a === "alt-system"
|
|
217
209
|
},
|
|
218
210
|
e
|
|
219
|
-
),
|
|
211
|
+
), T = ({
|
|
220
212
|
mode: e,
|
|
221
213
|
className: t,
|
|
222
214
|
cellWrapper: a
|
|
223
|
-
}) => a === u || a ===
|
|
215
|
+
}) => a === u || a === x ? c(
|
|
224
216
|
{
|
|
225
217
|
"bg-table-head-dark": e === "dark" || e === "system",
|
|
226
218
|
"bg-table-head-light": e === "light" || e === "alt-system",
|
|
@@ -243,17 +235,17 @@ const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: s,
|
|
|
243
235
|
"odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": e === "alt-system"
|
|
244
236
|
},
|
|
245
237
|
t
|
|
246
|
-
),
|
|
238
|
+
), j = ({
|
|
247
239
|
cellWrapper: e,
|
|
248
240
|
className: t,
|
|
249
241
|
compact: a,
|
|
250
242
|
mode: r,
|
|
251
|
-
align:
|
|
243
|
+
align: l
|
|
252
244
|
}) => ({
|
|
253
245
|
alignClasses: c({
|
|
254
|
-
"flex justify-start text-left":
|
|
255
|
-
"flex justify-center text-center":
|
|
256
|
-
"flex justify-end text-right":
|
|
246
|
+
"flex justify-start text-left": l === "left",
|
|
247
|
+
"flex justify-center text-center": l === "center",
|
|
248
|
+
"flex justify-end text-right": l === "right"
|
|
257
249
|
}),
|
|
258
250
|
mainClasses: c(
|
|
259
251
|
{
|
|
@@ -261,152 +253,152 @@ const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: s,
|
|
|
261
253
|
"text-copy-dark": r === "light" || r === "alt-system",
|
|
262
254
|
"dark:text-copy-dark": r === "system",
|
|
263
255
|
"dark:text-copy-light": r === "alt-system",
|
|
264
|
-
"px-4 py-3": !a && (e === u || e ===
|
|
265
|
-
"p-4": !a && e ===
|
|
256
|
+
"px-4 py-3": !a && (e === u || e === x),
|
|
257
|
+
"p-4": !a && e === C,
|
|
266
258
|
"px-2 py-1.5": a
|
|
267
259
|
},
|
|
268
260
|
t
|
|
269
261
|
)
|
|
270
|
-
}),
|
|
262
|
+
}), D = ({
|
|
271
263
|
buttonClassName: e
|
|
272
|
-
}) => c("rounded-none text-sm", e),
|
|
264
|
+
}) => c("rounded-none text-sm", e), q = ({
|
|
273
265
|
children: e,
|
|
274
266
|
mode: t = "system",
|
|
275
267
|
caption: a,
|
|
276
268
|
compact: r,
|
|
277
|
-
disabled:
|
|
269
|
+
disabled: l = !1,
|
|
278
270
|
summary: o,
|
|
279
271
|
className: d,
|
|
280
272
|
wrapperClassName: h,
|
|
281
273
|
maxHeight: i,
|
|
282
274
|
stickyHeader: m,
|
|
283
275
|
stickyFooter: p,
|
|
284
|
-
...
|
|
276
|
+
..._
|
|
285
277
|
}) => {
|
|
286
|
-
const n =
|
|
278
|
+
const n = F({
|
|
287
279
|
mode: t,
|
|
288
280
|
className: d,
|
|
289
281
|
wrapperClassName: h,
|
|
290
282
|
stickyHeader: m,
|
|
291
283
|
stickyFooter: p,
|
|
292
|
-
disabled:
|
|
284
|
+
disabled: l
|
|
293
285
|
});
|
|
294
|
-
return /* @__PURE__ */
|
|
286
|
+
return /* @__PURE__ */ s(
|
|
295
287
|
g.Provider,
|
|
296
288
|
{
|
|
297
289
|
value: { mode: t, stickyHeader: m, stickyFooter: p, compact: r },
|
|
298
|
-
children: /* @__PURE__ */
|
|
290
|
+
children: /* @__PURE__ */ s(
|
|
299
291
|
"div",
|
|
300
292
|
{
|
|
301
293
|
className: n.wrapper,
|
|
302
294
|
...i && {
|
|
303
295
|
style: { maxHeight: i }
|
|
304
296
|
},
|
|
305
|
-
children:
|
|
306
|
-
/* @__PURE__ */
|
|
297
|
+
children: l ? /* @__PURE__ */ b(I, { children: [
|
|
298
|
+
/* @__PURE__ */ s("div", { className: n.spinnerWrapper, children: /* @__PURE__ */ s("div", { className: n.spinner, role: "status", children: /* @__PURE__ */ s("span", { className: "sr-only", children: "Loading..." }) }) }),
|
|
307
299
|
/* @__PURE__ */ b("div", { className: n.inner, children: [
|
|
308
|
-
/* @__PURE__ */
|
|
300
|
+
/* @__PURE__ */ s("div", { className: n.overlay }),
|
|
309
301
|
/* @__PURE__ */ b(
|
|
310
302
|
"table",
|
|
311
303
|
{
|
|
312
304
|
className: n.table,
|
|
313
305
|
summary: o,
|
|
314
|
-
...
|
|
315
|
-
...
|
|
306
|
+
...l && { "aria-disabled": "true" },
|
|
307
|
+
..._,
|
|
316
308
|
children: [
|
|
317
|
-
a && /* @__PURE__ */
|
|
309
|
+
a && /* @__PURE__ */ s("caption", { className: n.caption, children: a }),
|
|
318
310
|
e
|
|
319
311
|
]
|
|
320
312
|
}
|
|
321
313
|
)
|
|
322
314
|
] })
|
|
323
|
-
] }) : /* @__PURE__ */ b("table", { className: n.table, summary: o, ...
|
|
324
|
-
a && /* @__PURE__ */
|
|
315
|
+
] }) : /* @__PURE__ */ b("table", { className: n.table, summary: o, ..._, children: [
|
|
316
|
+
a && /* @__PURE__ */ s("caption", { className: n.caption, children: a }),
|
|
325
317
|
e
|
|
326
318
|
] })
|
|
327
319
|
}
|
|
328
320
|
)
|
|
329
321
|
}
|
|
330
322
|
);
|
|
331
|
-
},
|
|
323
|
+
}, J = ({
|
|
332
324
|
children: e,
|
|
333
325
|
className: t,
|
|
334
326
|
...a
|
|
335
327
|
}) => {
|
|
336
|
-
const r =
|
|
328
|
+
const r = y(g);
|
|
337
329
|
r.cellWrapper = u;
|
|
338
|
-
const
|
|
330
|
+
const l = E({
|
|
339
331
|
className: t,
|
|
340
332
|
mode: r.mode,
|
|
341
333
|
stickyHeader: r.stickyHeader
|
|
342
334
|
});
|
|
343
|
-
return /* @__PURE__ */
|
|
344
|
-
},
|
|
335
|
+
return /* @__PURE__ */ s("thead", { className: l, ...a, children: e });
|
|
336
|
+
}, Y = ({
|
|
345
337
|
children: e,
|
|
346
338
|
className: t,
|
|
347
339
|
...a
|
|
348
340
|
}) => {
|
|
349
|
-
const r =
|
|
350
|
-
r.cellWrapper =
|
|
351
|
-
const
|
|
341
|
+
const r = y(g);
|
|
342
|
+
r.cellWrapper = x;
|
|
343
|
+
const l = R({
|
|
352
344
|
className: t,
|
|
353
345
|
mode: r.mode,
|
|
354
346
|
stickyFooter: r.stickyFooter
|
|
355
347
|
});
|
|
356
|
-
return /* @__PURE__ */
|
|
357
|
-
},
|
|
358
|
-
const a =
|
|
359
|
-
return a.cellWrapper =
|
|
360
|
-
},
|
|
348
|
+
return /* @__PURE__ */ s("tfoot", { className: l, ...a, children: e });
|
|
349
|
+
}, K = ({ children: e, ...t }) => {
|
|
350
|
+
const a = y(g);
|
|
351
|
+
return a.cellWrapper = C, /* @__PURE__ */ s("tbody", { ...t, children: e });
|
|
352
|
+
}, Q = ({
|
|
361
353
|
children: e,
|
|
362
354
|
className: t,
|
|
363
355
|
...a
|
|
364
356
|
}) => {
|
|
365
|
-
const r =
|
|
357
|
+
const r = y(g), l = T({
|
|
366
358
|
mode: r.mode,
|
|
367
359
|
cellWrapper: r.cellWrapper,
|
|
368
360
|
className: t
|
|
369
361
|
});
|
|
370
|
-
return /* @__PURE__ */
|
|
371
|
-
},
|
|
362
|
+
return /* @__PURE__ */ s("tr", { className: l, ...a, children: e });
|
|
363
|
+
}, L = ({
|
|
372
364
|
children: e,
|
|
373
365
|
component: t,
|
|
374
366
|
className: a,
|
|
375
367
|
align: r,
|
|
376
|
-
...
|
|
368
|
+
...l
|
|
377
369
|
}) => {
|
|
378
|
-
const o =
|
|
370
|
+
const o = y(g), d = t || (o.cellWrapper === u ? "th" : "td"), { mainClasses: h, alignClasses: i } = j({
|
|
379
371
|
cellWrapper: o.cellWrapper,
|
|
380
372
|
className: a,
|
|
381
373
|
mode: o.mode,
|
|
382
374
|
compact: o.compact,
|
|
383
375
|
align: r
|
|
384
376
|
});
|
|
385
|
-
return r ? /* @__PURE__ */
|
|
386
|
-
},
|
|
377
|
+
return r ? /* @__PURE__ */ s(d, { className: h, ...l, children: /* @__PURE__ */ s("div", { className: i, children: e }) }) : /* @__PURE__ */ s(d, { className: h, ...l, children: e });
|
|
378
|
+
}, X = ({
|
|
387
379
|
align: e,
|
|
388
380
|
children: t,
|
|
389
381
|
buttonClassName: a,
|
|
390
382
|
className: r,
|
|
391
|
-
component:
|
|
383
|
+
component: l,
|
|
392
384
|
focusMode: o = "alt-system",
|
|
393
385
|
mode: d = "alt-system",
|
|
394
386
|
onClick: h,
|
|
395
387
|
sortDirection: i,
|
|
396
388
|
sortedCell: m,
|
|
397
389
|
cellId: p,
|
|
398
|
-
...
|
|
390
|
+
..._
|
|
399
391
|
}) => {
|
|
400
|
-
const n =
|
|
401
|
-
return /* @__PURE__ */
|
|
402
|
-
|
|
392
|
+
const n = D({ buttonClassName: a });
|
|
393
|
+
return /* @__PURE__ */ s(
|
|
394
|
+
L,
|
|
403
395
|
{
|
|
404
|
-
component:
|
|
396
|
+
component: l,
|
|
405
397
|
className: r,
|
|
406
398
|
role: "columnheader",
|
|
407
399
|
"aria-sort": i === k.ASC && m === p ? "ascending" : i === k.DESC && m === p ? "descending" : "other",
|
|
408
|
-
...
|
|
409
|
-
children: /* @__PURE__ */
|
|
400
|
+
..._,
|
|
401
|
+
children: /* @__PURE__ */ s(
|
|
410
402
|
w,
|
|
411
403
|
{
|
|
412
404
|
active: m === p,
|
|
@@ -418,18 +410,47 @@ const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: s,
|
|
|
418
410
|
mode: d,
|
|
419
411
|
fullWidth: !0,
|
|
420
412
|
labelRight: t,
|
|
421
|
-
children: i === k.ASC && m === p ? /* @__PURE__ */
|
|
413
|
+
children: i === k.ASC && m === p ? /* @__PURE__ */ s(W, { className: "size-4", monotone: !0 }) : i === k.DESC && m === p ? /* @__PURE__ */ s(V, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ s(B, { className: "size-4", monotone: !0 })
|
|
422
414
|
}
|
|
423
415
|
)
|
|
424
416
|
}
|
|
425
417
|
);
|
|
426
|
-
}
|
|
418
|
+
}, Z = ({
|
|
419
|
+
label: e,
|
|
420
|
+
disabled: t,
|
|
421
|
+
onClick: a
|
|
422
|
+
}) => /* @__PURE__ */ s(
|
|
423
|
+
S,
|
|
424
|
+
{
|
|
425
|
+
label: e,
|
|
426
|
+
placement: "top",
|
|
427
|
+
trigger: /* @__PURE__ */ s(
|
|
428
|
+
v,
|
|
429
|
+
{
|
|
430
|
+
noBorder: !0,
|
|
431
|
+
variant: "primary",
|
|
432
|
+
label: e,
|
|
433
|
+
disabled: t,
|
|
434
|
+
onClick: a,
|
|
435
|
+
children: /* @__PURE__ */ s(
|
|
436
|
+
z,
|
|
437
|
+
{
|
|
438
|
+
size: "size-3",
|
|
439
|
+
monotone: !0,
|
|
440
|
+
className: "text-copy-error-dark dark:text-copy-error-light"
|
|
441
|
+
}
|
|
442
|
+
)
|
|
443
|
+
}
|
|
444
|
+
)
|
|
445
|
+
}
|
|
446
|
+
);
|
|
427
447
|
export {
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
448
|
+
Z as DeleteButtonIcon,
|
|
449
|
+
J as F,
|
|
450
|
+
Y as G,
|
|
451
|
+
q as H,
|
|
452
|
+
X as J,
|
|
453
|
+
L as O,
|
|
454
|
+
K as Y,
|
|
455
|
+
Q as q
|
|
435
456
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as n, 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 ie, y as I, LOCAL_STORAGE_CHAT_ID as ne, 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 ie, y as I, LOCAL_STORAGE_CHAT_ID as ne, 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.CaofbEIP.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.Bpddd0yA.js";
|
|
4
|
+
import { Card as ve } from "./index.CYcieK1H.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.DTjbiLAP.js";
|
|
6
|
+
import { TextInput as ze } from "./index.DuxTgnco.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.BkRFWpsA.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.CaofbEIP.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.Bpddd0yA.js";
|
|
4
|
+
import { Card as O } from "./index.CYcieK1H.js";
|
|
5
|
+
import { TextInput as T, TextInputMask as W } from "./index.DuxTgnco.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({
|