@versini/sassysaint 8.110.0 → 8.110.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.BfOWMaYg.js → AboutChangelog.DEj7-6K6.js} +2 -2
- package/dist/chunks/AboutEntry.BSWdup9R.js +77 -0
- package/dist/chunks/{App.BD0e8HgV.js → App.Hqmg5y2Y.js} +2435 -2452
- package/dist/chunks/{Bubble.fxUgvZMG.js → Bubble.DJc-QO-3.js} +1 -1
- package/dist/chunks/ButtonIconDelete.D4aZDe7F.js +335 -0
- package/dist/chunks/{Chart.C-EqsPgy.js → Chart.CPv5Bfk9.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.hM8owVIk.js → ChatBubbleAssistant.DqUdvWwl.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.CnsuEhxO.js → ChatBubbleUser.Cs4LFprm.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.WRplbgo4.js → ChatHistoryTable.CkVMdj9x.js} +73 -73
- package/dist/chunks/{HistoryEntry.BgO_PD7Q.js → HistoryEntry.DM331KtZ.js} +72 -80
- package/dist/chunks/LoginEntry.Cvod0kbl.js +118 -0
- package/dist/chunks/{LogoEntry.CucXks5G.js → LogoEntry.DohsYXa0.js} +642 -746
- package/dist/chunks/MemoriesEntry.DJEsuqmV.js +649 -0
- package/dist/chunks/ProfileEntry.DHOE716m.js +205 -0
- package/dist/chunks/{SettingsEntry.ByPtC4lj.js → SettingsEntry.6_BWb1qD.js} +114 -122
- package/dist/chunks/UsageEntry.CtQKtTac.js +230 -0
- package/dist/chunks/{_baseUniq.DJhemj5B.js → _baseUniq.DdHdSR90.js} +1 -1
- package/dist/chunks/{arc.ClK0mYh2.js → arc.D4_xOXXj.js} +1 -1
- package/dist/chunks/{architecture-U656AL7Q.DGORleeb.js → architecture-U656AL7Q.s3rGBRgV.js} +1 -1
- package/dist/chunks/{architectureDiagram-VXUJARFQ.HR_eet_T.js → architectureDiagram-VXUJARFQ.CdCO91E5.js} +4 -4
- package/dist/chunks/{blockDiagram-VD42YOAC.CWrnXf_B.js → blockDiagram-VD42YOAC.CCDa9IbF.js} +5 -5
- package/dist/chunks/{browser.5ieI9QUP.js → browser.G7msF8GI.js} +1 -1
- package/dist/chunks/{c4Diagram-YG6GDRKO.CaA0SaMc.js → c4Diagram-YG6GDRKO.BYwrdrnm.js} +2 -2
- package/dist/chunks/{channel.BI8KZVUl.js → channel.Bhd_WAGN.js} +1 -1
- package/dist/chunks/{chunk-4BX2VUAB.CTzK9jPw.js → chunk-4BX2VUAB.CAsx7lRR.js} +1 -1
- package/dist/chunks/{chunk-55IACEB6.DMb8Reca.js → chunk-55IACEB6.ChwKLiO_.js} +1 -1
- package/dist/chunks/{chunk-B4BG7PRW.BHBa3N2V.js → chunk-B4BG7PRW.0XXdIUvB.js} +4 -4
- package/dist/chunks/{chunk-DI55MBZ5.Bqwg_jpX.js → chunk-DI55MBZ5.PoYuLfqT.js} +3 -3
- package/dist/chunks/{chunk-FMBD7UC4.p8OpoFJE.js → chunk-FMBD7UC4.ClQPaEEe.js} +1 -1
- package/dist/chunks/{chunk-QN33PNHL._xYLGQNv.js → chunk-QN33PNHL.BNHDFW8q.js} +1 -1
- package/dist/chunks/{chunk-QZHKN3VN.Bt1FHb64.js → chunk-QZHKN3VN.YjxD8GE7.js} +1 -1
- package/dist/chunks/{chunk-TZMSLE5B.hFsU0iJf.js → chunk-TZMSLE5B.CTNar1je.js} +1 -1
- package/dist/chunks/{classDiagram-2ON5EDUG.DiSJfiEu.js → classDiagram-2ON5EDUG.Ccr_Z8SZ.js} +2 -2
- package/dist/chunks/{classDiagram-v2-WZHVMYZB.DiSJfiEu.js → classDiagram-v2-WZHVMYZB.Ccr_Z8SZ.js} +2 -2
- package/dist/chunks/{clone.NcwizCyH.js → clone.BX8gciZV.js} +1 -1
- package/dist/chunks/{cose-bilkent-S5V4N54A.DogEbzcD.js → cose-bilkent-S5V4N54A.CJs1QiYn.js} +2 -2
- package/dist/chunks/{dagre-6UL2VRFP.Cy_GltZx.js → dagre-6UL2VRFP.DL9dVBGy.js} +5 -5
- package/dist/chunks/{diagram-PSM6KHXK.CazeYJ2F.js → diagram-PSM6KHXK.BlxCy0Sy.js} +4 -4
- package/dist/chunks/{diagram-QEK2KX5R.ByhZHDpm.js → diagram-QEK2KX5R.BWDu5W6C.js} +3 -3
- package/dist/chunks/{diagram-S2PKOQOG.D49-fpQd.js → diagram-S2PKOQOG.Ri3EElHD.js} +3 -3
- package/dist/chunks/{erDiagram-Q2GNP2WA.nce3gDBb.js → erDiagram-Q2GNP2WA.DEiFjTBB.js} +4 -4
- package/dist/chunks/{flowDiagram-NV44I4VS.DDUGMSKf.js → flowDiagram-NV44I4VS.BW00PHx7.js} +5 -5
- package/dist/chunks/{ganttDiagram-JELNMOA3.NGXzLkaH.js → ganttDiagram-JELNMOA3.ema0-IHx.js} +2 -2
- package/dist/chunks/{gitGraph-F6HP7TQM.BzKXexyv.js → gitGraph-F6HP7TQM.D7K-i_h_.js} +1 -1
- package/dist/chunks/{gitGraphDiagram-NY62KEGX.C3cn9f8o.js → gitGraphDiagram-NY62KEGX.D4HvM8U6.js} +4 -4
- package/dist/chunks/{graph.CURTRirk.js → graph.WmSD_kIW.js} +2 -2
- package/dist/chunks/{index.DAuo-OH1.js → index.5YcMrbtG.js} +1 -1
- package/dist/chunks/{index.BYDZbdMZ.js → index.BDdSIqNw.js} +1 -1
- package/dist/chunks/{index.CBEv2y_C.js → index.BRIbdI1P.js} +2 -2
- package/dist/chunks/{index.BinkIORG.js → index.CUKXvrUy.js} +1 -1
- package/dist/chunks/{index.gy41K1EE.js → index.CspNN5N2.js} +3 -3
- package/dist/chunks/{index.uUNtrS04.js → index.Damzobcg.js} +3 -3
- package/dist/chunks/{index.BqIARWUR.js → index.HEruAaRk.js} +1 -1
- package/dist/chunks/{index.CkajM1v0.js → index.OMR8Uuyn.js} +1 -1
- package/dist/chunks/{index.CURM9PiU.js → index.fRQVHuxk.js} +1 -1
- package/dist/chunks/{info-NVLQJR56.CHnZmbT7.js → info-NVLQJR56.jYI0Duob.js} +1 -1
- package/dist/chunks/{infoDiagram-WHAUD3N6.DCZfKYU8.js → infoDiagram-WHAUD3N6.BqOPFyGl.js} +2 -2
- package/dist/chunks/{journeyDiagram-XKPGCS4Q.B-0JNmK_.js → journeyDiagram-XKPGCS4Q.B1bd5wZT.js} +4 -4
- package/dist/chunks/{kanban-definition-3W4ZIXB7.C7aI8iBJ.js → kanban-definition-3W4ZIXB7.CXydmjo0.js} +2 -2
- package/dist/chunks/{layout.Bmgsrc8X.js → layout.D0fWXkiy.js} +4 -4
- package/dist/chunks/{mermaid-parser.core.BZIZyjyF.js → mermaid-parser.core.7OYqXvcF.js} +10 -10
- package/dist/chunks/{min.CtR4qhyM.js → min.DULzPnFA.js} +2 -2
- package/dist/chunks/{mindmap-definition-VGOIOE7T.DCsxzuhI.js → mindmap-definition-VGOIOE7T.BUC8Tuhp.js} +3 -3
- package/dist/chunks/{packet-BFZMPI3H.CQ2Sbdms.js → packet-BFZMPI3H.D_-dNPlf.js} +1 -1
- package/dist/chunks/{pie-7BOR55EZ.BYs1omMd.js → pie-7BOR55EZ.C5wUCEk_.js} +1 -1
- package/dist/chunks/{pieDiagram-ADFJNKIX.DqkDHdMo.js → pieDiagram-ADFJNKIX.DOCTIr8o.js} +4 -4
- package/dist/chunks/{quadrantDiagram-AYHSOK5B.Cx-eq1uu.js → quadrantDiagram-AYHSOK5B.DbasmgIr.js} +1 -1
- package/dist/chunks/{radar-NHE76QYJ.CIqwL1Hw.js → radar-NHE76QYJ.D-zD079S.js} +1 -1
- package/dist/chunks/{rehype-mermaid.LJaY9ylI.js → rehype-mermaid.C6-wTJWi.js} +33 -33
- package/dist/chunks/{requirementDiagram-UZGBJVZJ.C-YKp79x.js → requirementDiagram-UZGBJVZJ.CnuUJN5O.js} +3 -3
- package/dist/chunks/{sankeyDiagram-TZEHDZUN.BbfUzvVS.js → sankeyDiagram-TZEHDZUN.R_1cgZZg.js} +1 -1
- package/dist/chunks/{sequenceDiagram-WL72ISMW.D5wDvZwT.js → sequenceDiagram-WL72ISMW.sCa2kzuv.js} +3 -3
- package/dist/chunks/{stateDiagram-FKZM4ZOC.-65PQCxm.js → stateDiagram-FKZM4ZOC.DczjcrsN.js} +4 -4
- package/dist/chunks/{stateDiagram-v2-4FDKWEC3.BXy_3BUS.js → stateDiagram-v2-4FDKWEC3.DwOAdSSj.js} +2 -2
- package/dist/chunks/{timeline-definition-IT6M3QCI.B2tmtGDZ.js → timeline-definition-IT6M3QCI.Qx0o1egT.js} +2 -2
- package/dist/chunks/{treemap-KMMF4GRG.Dm_alnmO.js → treemap-KMMF4GRG.CwfQGJx8.js} +1 -1
- package/dist/chunks/{useMarkdown.BWJCktGN.js → useMarkdown.CZvYSQuE.js} +8 -8
- package/dist/chunks/{xychartDiagram-PRI3JC2R.XQCHu3eO.js → xychartDiagram-PRI3JC2R.CFOiW2rk.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/dist/chunks/AboutEntry.B7fBRGac.js +0 -85
- package/dist/chunks/ButtonIconDelete.Bw7zU6Rb.js +0 -456
- package/dist/chunks/LoginEntry.DvDNWT7T.js +0 -118
- package/dist/chunks/MemoriesEntry.OQ1K4KNa.js +0 -743
- package/dist/chunks/ProfileEntry.CbZLIK8x.js +0 -213
- package/dist/chunks/UsageEntry.CSkPteMr.js +0 -238
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as x, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { ButtonIcon as N, IconCopied as $, IconCopy as E } from "./LogoEntry.
|
|
2
|
+
import { ButtonIcon as N, IconCopied as $, IconCopy as E } from "./LogoEntry.DohsYXa0.js";
|
|
3
3
|
import { useState as z, useEffect as j } from "react";
|
|
4
4
|
import t from "clsx";
|
|
5
5
|
const u = "av-bubble";
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
import { jsx as s, jsxs as m, Fragment as N } from "react/jsx-runtime";
|
|
2
|
+
import o from "clsx";
|
|
3
|
+
import x, { useContext as y } from "react";
|
|
4
|
+
import { ButtonIcon as v, TableCellSortDirections as k, IconSortUp as T, IconSortDown as W, IconSort as R, IconDelete as S } from "./LogoEntry.DohsYXa0.js";
|
|
5
|
+
import { ResponsiveTooltip as z } from "./App.Hqmg5y2Y.js";
|
|
6
|
+
const C = /* @__PURE__ */ x.forwardRef(({ children: e, mode: t = "system", className: r, active: a = !1, ...l }, n) => {
|
|
7
|
+
const c = a ? o("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", {
|
|
8
|
+
"after:border-table-light": t === "dark",
|
|
9
|
+
"after:border-table-dark": t === "light",
|
|
10
|
+
"after:border-table-light dark:after:border-table-dark": t === "system",
|
|
11
|
+
"after:border-table-dark dark:after:border-table-light": t === "alt-system"
|
|
12
|
+
}) : "";
|
|
13
|
+
return /* @__PURE__ */ s("div", {
|
|
14
|
+
className: c,
|
|
15
|
+
children: /* @__PURE__ */ s(v, {
|
|
16
|
+
className: r,
|
|
17
|
+
ref: n,
|
|
18
|
+
mode: t,
|
|
19
|
+
radius: "small",
|
|
20
|
+
size: "small",
|
|
21
|
+
align: "center",
|
|
22
|
+
...l,
|
|
23
|
+
children: e
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
C.displayName = "ButtonSort";
|
|
28
|
+
const p = x.createContext({
|
|
29
|
+
mode: "light",
|
|
30
|
+
cellWrapper: "thead",
|
|
31
|
+
stickyHeader: !1,
|
|
32
|
+
stickyFooter: !1,
|
|
33
|
+
compact: !1
|
|
34
|
+
});
|
|
35
|
+
const u = "thead", f = "tfoot", w = "tbody", E = ({ mode: e }) => o("size-8", "align-[-0.125em]", "border-4", "inline-block animate-spin rounded-full border-solid border-current border-r-transparent motion-reduce:animate-[spin_1.5s_linear_infinite]", {
|
|
36
|
+
"text-copy-dark": e === "light",
|
|
37
|
+
"text-copy-light": e === "dark",
|
|
38
|
+
"text-copy-dark dark:text-copy-light": e === "alt-system",
|
|
39
|
+
"text-copy-light dark:text-copy-dark": e === "system"
|
|
40
|
+
}), B = ({ mode: e }) => ({
|
|
41
|
+
inner: "relative",
|
|
42
|
+
overlay: o("absolute inset-0 z-20 cursor-not-allowed", "backdrop-blur-xs bg-white/30 dark:bg-black/30"),
|
|
43
|
+
spinnerWrapper: o("absolute z-30 top-0 left-0 right-0 h-[min(100%,100vh)]", "flex items-center justify-center", "pointer-events-none"),
|
|
44
|
+
spinner: E({
|
|
45
|
+
mode: e
|
|
46
|
+
})
|
|
47
|
+
}), L = ({ mode: e, className: t, wrapperClassName: r, stickyHeader: a, stickyFooter: l, disabled: n }) => {
|
|
48
|
+
const c = n ? B({
|
|
49
|
+
mode: e
|
|
50
|
+
}) : null;
|
|
51
|
+
return {
|
|
52
|
+
overlay: c?.overlay ?? "",
|
|
53
|
+
inner: c?.inner ?? "",
|
|
54
|
+
spinnerWrapper: c?.spinnerWrapper ?? "",
|
|
55
|
+
spinner: c?.spinner ?? "",
|
|
56
|
+
wrapper: o("not-prose relative w-full rounded-lg shadow-md", {
|
|
57
|
+
"overflow-x-auto": !a && !l && !n,
|
|
58
|
+
"overflow-y-scroll": (a || l) && !n,
|
|
59
|
+
"overflow-hidden": n,
|
|
60
|
+
"bg-surface-darker": e === "dark" || e === "system",
|
|
61
|
+
"bg-surface-light": e === "light" || e === "alt-system",
|
|
62
|
+
"dark:bg-surface-light": e === "system",
|
|
63
|
+
"dark:bg-surface-darker": e === "alt-system",
|
|
64
|
+
"text-copy-light": e === "dark",
|
|
65
|
+
"text-copy-dark": e === "light",
|
|
66
|
+
"text-copy-light dark:text-copy-dark": e === "system",
|
|
67
|
+
"text-copy-dark dark:text-copy-light": e === "alt-system"
|
|
68
|
+
}, r),
|
|
69
|
+
table: o("my-0 w-full text-left text-sm", t, {
|
|
70
|
+
"text-copy-light": e === "dark",
|
|
71
|
+
"text-copy-dark": e === "light",
|
|
72
|
+
"text-copy-light dark:text-copy-dark": e === "system",
|
|
73
|
+
"text-copy-dark dark:text-copy-light": e === "alt-system"
|
|
74
|
+
}),
|
|
75
|
+
caption: o("py-2 text-sm font-bold", {
|
|
76
|
+
"text-copy-light": e === "dark",
|
|
77
|
+
"text-copy-dark": e === "light",
|
|
78
|
+
"text-copy-light dark:text-copy-dark": e === "system",
|
|
79
|
+
"text-copy-dark dark:text-copy-light": e === "alt-system"
|
|
80
|
+
})
|
|
81
|
+
};
|
|
82
|
+
}, j = ({ className: e, stickyHeader: t, mode: r }) => o({
|
|
83
|
+
"sticky top-0 z-10": t,
|
|
84
|
+
"shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": t && r === "dark",
|
|
85
|
+
"shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": t && r === "system",
|
|
86
|
+
"shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": t && r === "light",
|
|
87
|
+
"shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": t && r === "alt-system"
|
|
88
|
+
}, e), A = ({ className: e, stickyFooter: t, mode: r }) => o({
|
|
89
|
+
"sticky bottom-0 z-10": t,
|
|
90
|
+
"shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": t && r === "dark",
|
|
91
|
+
"shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": t && r === "system",
|
|
92
|
+
"shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": t && r === "light",
|
|
93
|
+
"shadow-[rgb(65_65_65_/30%)_-0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": t && r === "alt-system"
|
|
94
|
+
}, e), D = ({ mode: e, className: t, cellWrapper: r }) => r === u || r === f ? o({
|
|
95
|
+
"bg-table-head-dark": e === "dark" || e === "system",
|
|
96
|
+
"bg-table-head-light": e === "light" || e === "alt-system",
|
|
97
|
+
"dark:bg-table-head-light": e === "system",
|
|
98
|
+
"dark:bg-table-head-dark": e === "alt-system"
|
|
99
|
+
}, t) : o("border-b last:border-0", {
|
|
100
|
+
"border-table-dark": e === "dark" || e === "system",
|
|
101
|
+
"border-table-light": e === "light" || e === "alt-system",
|
|
102
|
+
"dark:border-table-light": e === "system",
|
|
103
|
+
"dark:border-table-dark": e === "alt-system",
|
|
104
|
+
"odd:bg-table-dark-odd even:bg-table-dark-even": e === "dark",
|
|
105
|
+
"hover:bg-table-dark-hover": e === "dark",
|
|
106
|
+
"odd:bg-table-light-odd even:bg-table-light-even": e === "light",
|
|
107
|
+
"hover:bg-table-light-hover": e === "light",
|
|
108
|
+
"odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": e === "system",
|
|
109
|
+
"hover:bg-table-dark-hover dark:hover:bg-table-light-hover": e === "system",
|
|
110
|
+
"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",
|
|
111
|
+
"hover:bg-table-light-hover dark:hover:bg-table-dark-hover": e === "alt-system"
|
|
112
|
+
}, t), P = ({ cellWrapper: e, className: t, compact: r, mode: a, align: l }) => ({
|
|
113
|
+
alignClasses: o({
|
|
114
|
+
"flex justify-start text-left": l === "left",
|
|
115
|
+
"flex justify-center text-center": l === "center",
|
|
116
|
+
"flex justify-end text-right": l === "right"
|
|
117
|
+
}),
|
|
118
|
+
mainClasses: o({
|
|
119
|
+
"text-copy-light": a === "dark" || a === "system",
|
|
120
|
+
"text-copy-dark": a === "light" || a === "alt-system",
|
|
121
|
+
"dark:text-copy-dark": a === "system",
|
|
122
|
+
"dark:text-copy-light": a === "alt-system",
|
|
123
|
+
"px-4 py-3": !r && (e === u || e === f),
|
|
124
|
+
"p-4": !r && e === w,
|
|
125
|
+
"px-2 py-1.5": r
|
|
126
|
+
}, t)
|
|
127
|
+
}), O = ({ buttonClassName: e }) => o("rounded-none text-sm", e);
|
|
128
|
+
const G = ({ children: e, mode: t = "system", caption: r, compact: a, disabled: l = !1, summary: n, className: c, wrapperClassName: g, maxHeight: d, stickyHeader: b, stickyFooter: h, ..._ }) => {
|
|
129
|
+
const i = L({
|
|
130
|
+
mode: t,
|
|
131
|
+
className: c,
|
|
132
|
+
wrapperClassName: g,
|
|
133
|
+
stickyHeader: b,
|
|
134
|
+
stickyFooter: h,
|
|
135
|
+
disabled: l
|
|
136
|
+
});
|
|
137
|
+
return /* @__PURE__ */ s(p.Provider, {
|
|
138
|
+
value: {
|
|
139
|
+
mode: t,
|
|
140
|
+
stickyHeader: b,
|
|
141
|
+
stickyFooter: h,
|
|
142
|
+
compact: a
|
|
143
|
+
},
|
|
144
|
+
children: /* @__PURE__ */ s("div", {
|
|
145
|
+
className: i.wrapper,
|
|
146
|
+
...d && {
|
|
147
|
+
style: {
|
|
148
|
+
maxHeight: d
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
children: l ? /* @__PURE__ */ m(N, {
|
|
152
|
+
children: [
|
|
153
|
+
/* @__PURE__ */ s("div", {
|
|
154
|
+
className: i.spinnerWrapper,
|
|
155
|
+
children: /* @__PURE__ */ s("div", {
|
|
156
|
+
className: i.spinner,
|
|
157
|
+
role: "status",
|
|
158
|
+
children: /* @__PURE__ */ s("span", {
|
|
159
|
+
className: "sr-only",
|
|
160
|
+
children: "Loading..."
|
|
161
|
+
})
|
|
162
|
+
})
|
|
163
|
+
}),
|
|
164
|
+
/* @__PURE__ */ m("div", {
|
|
165
|
+
className: i.inner,
|
|
166
|
+
children: [
|
|
167
|
+
/* @__PURE__ */ s("div", {
|
|
168
|
+
className: i.overlay
|
|
169
|
+
}),
|
|
170
|
+
/* @__PURE__ */ m("table", {
|
|
171
|
+
className: i.table,
|
|
172
|
+
summary: n,
|
|
173
|
+
...l && {
|
|
174
|
+
"aria-disabled": "true"
|
|
175
|
+
},
|
|
176
|
+
..._,
|
|
177
|
+
children: [
|
|
178
|
+
r && /* @__PURE__ */ s("caption", {
|
|
179
|
+
className: i.caption,
|
|
180
|
+
children: r
|
|
181
|
+
}),
|
|
182
|
+
e
|
|
183
|
+
]
|
|
184
|
+
})
|
|
185
|
+
]
|
|
186
|
+
})
|
|
187
|
+
]
|
|
188
|
+
}) : /* @__PURE__ */ m("table", {
|
|
189
|
+
className: i.table,
|
|
190
|
+
summary: n,
|
|
191
|
+
..._,
|
|
192
|
+
children: [
|
|
193
|
+
r && /* @__PURE__ */ s("caption", {
|
|
194
|
+
className: i.caption,
|
|
195
|
+
children: r
|
|
196
|
+
}),
|
|
197
|
+
e
|
|
198
|
+
]
|
|
199
|
+
})
|
|
200
|
+
})
|
|
201
|
+
});
|
|
202
|
+
}, H = ({ children: e, className: t, ...r }) => {
|
|
203
|
+
const a = y(p);
|
|
204
|
+
a.cellWrapper = u;
|
|
205
|
+
const l = j({
|
|
206
|
+
className: t,
|
|
207
|
+
mode: a.mode,
|
|
208
|
+
stickyHeader: a.stickyHeader
|
|
209
|
+
});
|
|
210
|
+
return /* @__PURE__ */ s("thead", {
|
|
211
|
+
className: l,
|
|
212
|
+
...r,
|
|
213
|
+
children: e
|
|
214
|
+
});
|
|
215
|
+
}, J = ({ children: e, className: t, ...r }) => {
|
|
216
|
+
const a = y(p);
|
|
217
|
+
a.cellWrapper = f;
|
|
218
|
+
const l = A({
|
|
219
|
+
className: t,
|
|
220
|
+
mode: a.mode,
|
|
221
|
+
stickyFooter: a.stickyFooter
|
|
222
|
+
});
|
|
223
|
+
return /* @__PURE__ */ s("tfoot", {
|
|
224
|
+
className: l,
|
|
225
|
+
...r,
|
|
226
|
+
children: e
|
|
227
|
+
});
|
|
228
|
+
}, K = ({ children: e, ...t }) => {
|
|
229
|
+
const r = y(p);
|
|
230
|
+
return r.cellWrapper = w, /* @__PURE__ */ s("tbody", {
|
|
231
|
+
...t,
|
|
232
|
+
children: e
|
|
233
|
+
});
|
|
234
|
+
}, Q = ({ children: e, className: t, ...r }) => {
|
|
235
|
+
const a = y(p), l = D({
|
|
236
|
+
mode: a.mode,
|
|
237
|
+
cellWrapper: a.cellWrapper,
|
|
238
|
+
className: t
|
|
239
|
+
});
|
|
240
|
+
return /* @__PURE__ */ s("tr", {
|
|
241
|
+
className: l,
|
|
242
|
+
...r,
|
|
243
|
+
children: e
|
|
244
|
+
});
|
|
245
|
+
}, F = ({ children: e, component: t, className: r, align: a, ...l }) => {
|
|
246
|
+
const n = y(p), c = t || (n.cellWrapper === u ? "th" : "td"), { mainClasses: g, alignClasses: d } = P({
|
|
247
|
+
cellWrapper: n.cellWrapper,
|
|
248
|
+
className: r,
|
|
249
|
+
mode: n.mode,
|
|
250
|
+
compact: n.compact,
|
|
251
|
+
align: a
|
|
252
|
+
});
|
|
253
|
+
return a ? /* @__PURE__ */ s(c, {
|
|
254
|
+
className: g,
|
|
255
|
+
...l,
|
|
256
|
+
children: /* @__PURE__ */ s("div", {
|
|
257
|
+
className: d,
|
|
258
|
+
children: e
|
|
259
|
+
})
|
|
260
|
+
}) : /* @__PURE__ */ s(c, {
|
|
261
|
+
className: g,
|
|
262
|
+
...l,
|
|
263
|
+
children: e
|
|
264
|
+
});
|
|
265
|
+
}, V = ({ align: e, children: t, buttonClassName: r, className: a, component: l, focusMode: n = "alt-system", mode: c = "alt-system", onClick: g, sortDirection: d, sortedCell: b, cellId: h, ..._ }) => {
|
|
266
|
+
const i = O({
|
|
267
|
+
buttonClassName: r
|
|
268
|
+
});
|
|
269
|
+
return /* @__PURE__ */ s(F, {
|
|
270
|
+
component: l,
|
|
271
|
+
className: a,
|
|
272
|
+
role: "columnheader",
|
|
273
|
+
"aria-sort": d === k.ASC && b === h ? "ascending" : d === k.DESC && b === h ? "descending" : "other",
|
|
274
|
+
..._,
|
|
275
|
+
children: /* @__PURE__ */ s(C, {
|
|
276
|
+
active: b === h,
|
|
277
|
+
className: i,
|
|
278
|
+
onClick: g,
|
|
279
|
+
align: e,
|
|
280
|
+
noBorder: !0,
|
|
281
|
+
focusMode: n,
|
|
282
|
+
mode: c,
|
|
283
|
+
fullWidth: !0,
|
|
284
|
+
labelRight: t,
|
|
285
|
+
children: d === k.ASC && b === h ? /* @__PURE__ */ s(T, {
|
|
286
|
+
className: "size-4",
|
|
287
|
+
monotone: !0
|
|
288
|
+
}) : d === k.DESC && b === h ? /* @__PURE__ */ s(W, {
|
|
289
|
+
className: "size-4",
|
|
290
|
+
monotone: !0
|
|
291
|
+
}) : /* @__PURE__ */ s(R, {
|
|
292
|
+
className: "size-4",
|
|
293
|
+
monotone: !0
|
|
294
|
+
})
|
|
295
|
+
})
|
|
296
|
+
});
|
|
297
|
+
}, X = ({
|
|
298
|
+
label: e,
|
|
299
|
+
disabled: t,
|
|
300
|
+
onClick: r
|
|
301
|
+
}) => /* @__PURE__ */ s(
|
|
302
|
+
z,
|
|
303
|
+
{
|
|
304
|
+
label: e,
|
|
305
|
+
placement: "top",
|
|
306
|
+
trigger: /* @__PURE__ */ s(
|
|
307
|
+
v,
|
|
308
|
+
{
|
|
309
|
+
noBorder: !0,
|
|
310
|
+
variant: "primary",
|
|
311
|
+
label: e,
|
|
312
|
+
disabled: t,
|
|
313
|
+
onClick: r,
|
|
314
|
+
children: /* @__PURE__ */ s(
|
|
315
|
+
S,
|
|
316
|
+
{
|
|
317
|
+
size: "size-3",
|
|
318
|
+
monotone: !0,
|
|
319
|
+
className: "text-copy-error-dark dark:text-copy-error-light"
|
|
320
|
+
}
|
|
321
|
+
)
|
|
322
|
+
}
|
|
323
|
+
)
|
|
324
|
+
}
|
|
325
|
+
);
|
|
326
|
+
export {
|
|
327
|
+
X as ButtonIconDelete,
|
|
328
|
+
G as Table,
|
|
329
|
+
K as TableBody,
|
|
330
|
+
F as TableCell,
|
|
331
|
+
V as TableCellSort,
|
|
332
|
+
J as TableFooter,
|
|
333
|
+
H as TableHead,
|
|
334
|
+
Q as TableRow
|
|
335
|
+
};
|
|
@@ -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.Hqmg5y2Y.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.DohsYXa0.js";
|
|
5
5
|
var hs = { exports: {} }, Dp = hs.exports, nn;
|
|
6
6
|
function Bp() {
|
|
7
7
|
return nn || (nn = 1, (function(Ae, pe) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as rs } from "react/jsx-runtime";
|
|
2
|
-
import { n as as, useUserPreferences as os, formatTimestamp as vt } from "./index.
|
|
3
|
-
import { numberFormatter as ls, pluralize as us, AsyncBubble as cs } from "./App.
|
|
2
|
+
import { n as as, useUserPreferences as os, formatTimestamp as vt } from "./index.BRIbdI1P.js";
|
|
3
|
+
import { numberFormatter as ls, pluralize as us, AsyncBubble as cs } from "./App.Hqmg5y2Y.js";
|
|
4
4
|
import Ht from "clsx";
|
|
5
5
|
import fs, { useState as Ae, useEffect as Zt, useContext as Vt } from "react";
|
|
6
|
-
import { useMarkdown as hs } from "./useMarkdown.
|
|
7
|
-
import { ChatContext as ds, AppContext as ps } from "./LogoEntry.
|
|
6
|
+
import { useMarkdown as hs } from "./useMarkdown.CZvYSQuE.js";
|
|
7
|
+
import { ChatContext as ds, AppContext as ps } from "./LogoEntry.DohsYXa0.js";
|
|
8
8
|
const Me = {
|
|
9
9
|
isEmpty: !0
|
|
10
10
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as i, Fragment as C, jsxs as S } from "react/jsx-runtime";
|
|
2
|
-
import { Button as b } from "./LogoEntry.
|
|
2
|
+
import { Button as b } from "./LogoEntry.DohsYXa0.js";
|
|
3
3
|
import { useState as k, useMemo as m, isValidElement as T, useEffect as H } from "react";
|
|
4
|
-
import { useMarkdown as h } from "./useMarkdown.
|
|
5
|
-
import { AsyncBubble as M } from "./App.
|
|
4
|
+
import { useMarkdown as h } from "./useMarkdown.CZvYSQuE.js";
|
|
5
|
+
import { AsyncBubble as M } from "./App.Hqmg5y2Y.js";
|
|
6
6
|
const O = 200, w = ({ string: e, idealLength: r = O }) => {
|
|
7
7
|
if (e.length <= r)
|
|
8
8
|
return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { y as
|
|
3
|
-
import { IconCloseLight as D, CARDS as
|
|
2
|
+
import { y as T, v as N, INFINITE_SCROLL_THRESHOLD as L } from "./index.BRIbdI1P.js";
|
|
3
|
+
import { IconCloseLight as D, CARDS as B, ButtonIcon as M, IconRestore as z, IconStarInCircle as _, IconStarInCircleLight as $ } from "./LogoEntry.DohsYXa0.js";
|
|
4
4
|
import { useState as Y, Fragment as K } from "react";
|
|
5
5
|
import i from "clsx";
|
|
6
|
-
import {
|
|
7
|
-
import { pluralize as A, ResponsiveTooltip as k, numberFormatter as
|
|
6
|
+
import { Table as W, TableHead as G, TableRow as C, TableBody as H, TableCell as o, TableCellSort as w, ButtonIconDelete as j } from "./ButtonIconDelete.D4aZDe7F.js";
|
|
7
|
+
import { pluralize as A, ResponsiveTooltip as k, numberFormatter as F, isProbablyMobile as V } from "./App.Hqmg5y2Y.js";
|
|
8
8
|
const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
9
9
|
"border-border-information": t === "information",
|
|
10
10
|
"border-border-warning": t === "warning",
|
|
@@ -21,30 +21,30 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
21
21
|
"bg-surface-success": t === "success",
|
|
22
22
|
"bg-surface-error": t === "error"
|
|
23
23
|
}), X = (t) => {
|
|
24
|
-
const { className:
|
|
24
|
+
const { className: a, variant: n } = t;
|
|
25
25
|
return {
|
|
26
26
|
main: i(q, "inline-flex items-center gap-1 px-2 py-0.5 text-xs", J({
|
|
27
|
-
variant:
|
|
27
|
+
variant: n
|
|
28
28
|
}), O({
|
|
29
|
-
variant:
|
|
30
|
-
}), Q(t),
|
|
29
|
+
variant: n
|
|
30
|
+
}), Q(t), a),
|
|
31
31
|
button: i("inline-flex items-center justify-center", "ml-1", "focus:outline", "focus:outline-1", "focus:outline-offset-1", "focus:outline-focus-dark", "hover:bg-surface-medium/50", "rounded-full", O({
|
|
32
|
-
variant:
|
|
32
|
+
variant: n
|
|
33
33
|
}))
|
|
34
34
|
};
|
|
35
|
-
}, R = ({ label: t, className:
|
|
36
|
-
const [h,
|
|
37
|
-
|
|
35
|
+
}, R = ({ label: t, className: a, variant: n = "information", description: m, onClose: d }) => {
|
|
36
|
+
const [h, b] = Y(!0), p = (f) => {
|
|
37
|
+
d && (d(f), f.defaultPrevented || b(!1));
|
|
38
38
|
};
|
|
39
39
|
if (!h)
|
|
40
40
|
return null;
|
|
41
|
-
const
|
|
42
|
-
className:
|
|
43
|
-
variant:
|
|
41
|
+
const u = X({
|
|
42
|
+
className: a,
|
|
43
|
+
variant: n
|
|
44
44
|
});
|
|
45
45
|
return /* @__PURE__ */ c("div", {
|
|
46
46
|
role: "text",
|
|
47
|
-
className:
|
|
47
|
+
className: u.main,
|
|
48
48
|
children: [
|
|
49
49
|
m && /* @__PURE__ */ e("span", {
|
|
50
50
|
className: "sr-only",
|
|
@@ -53,10 +53,10 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
53
53
|
/* @__PURE__ */ e("span", {
|
|
54
54
|
children: t
|
|
55
55
|
}),
|
|
56
|
-
|
|
56
|
+
d && /* @__PURE__ */ e("button", {
|
|
57
57
|
type: "button",
|
|
58
|
-
onClick:
|
|
59
|
-
className:
|
|
58
|
+
onClick: p,
|
|
59
|
+
className: u.button,
|
|
60
60
|
"aria-label": "Close",
|
|
61
61
|
children: /* @__PURE__ */ e(D, {
|
|
62
62
|
size: "size-3"
|
|
@@ -64,87 +64,87 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
64
64
|
})
|
|
65
65
|
]
|
|
66
66
|
});
|
|
67
|
-
},
|
|
67
|
+
}, l = {
|
|
68
68
|
ROW: "row",
|
|
69
|
-
TIMESTAMP:
|
|
69
|
+
TIMESTAMP: T,
|
|
70
70
|
SUMMARY: "summary",
|
|
71
|
-
TOKEN_USAGE:
|
|
71
|
+
TOKEN_USAGE: N,
|
|
72
72
|
ACTIONS: "actions"
|
|
73
73
|
}, Z = [
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
l.ROW,
|
|
75
|
+
l.TIMESTAMP,
|
|
76
|
+
l.SUMMARY,
|
|
77
|
+
l.ACTIONS
|
|
78
78
|
], ee = [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
l.ROW,
|
|
80
|
+
l.SUMMARY,
|
|
81
|
+
l.TIMESTAMP,
|
|
82
|
+
l.TOKEN_USAGE,
|
|
83
|
+
l.ACTIONS
|
|
84
84
|
], me = ({
|
|
85
85
|
filteredHistory: t,
|
|
86
|
-
historyState:
|
|
87
|
-
lastEntryToLoad:
|
|
86
|
+
historyState: a,
|
|
87
|
+
lastEntryToLoad: n,
|
|
88
88
|
onClickSort: m,
|
|
89
|
-
onClickRestore:
|
|
89
|
+
onClickRestore: d,
|
|
90
90
|
onClickDelete: h,
|
|
91
|
-
onClickFavorite:
|
|
92
|
-
infinityScrollMarkerRef:
|
|
93
|
-
isLoading:
|
|
91
|
+
onClickFavorite: b,
|
|
92
|
+
infinityScrollMarkerRef: p,
|
|
93
|
+
isLoading: u = !1,
|
|
94
94
|
totalHistoryCount: f,
|
|
95
95
|
isFiltered: E = !1,
|
|
96
|
-
isSearchActive:
|
|
96
|
+
isSearchActive: S = !1
|
|
97
97
|
}) => {
|
|
98
98
|
const y = V() ? Z : ee, I = (r) => {
|
|
99
99
|
switch (r) {
|
|
100
|
-
case
|
|
100
|
+
case l.ROW:
|
|
101
101
|
return /* @__PURE__ */ e(o, { className: "sr-only", children: "Row" }, r);
|
|
102
|
-
case
|
|
103
|
-
return
|
|
102
|
+
case l.TIMESTAMP:
|
|
103
|
+
return S ? /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm", children: "Date" }, r) : /* @__PURE__ */ e(
|
|
104
104
|
w,
|
|
105
105
|
{
|
|
106
106
|
focusMode: "system",
|
|
107
107
|
buttonClassName: "text-xs sm:text-sm",
|
|
108
|
-
cellId:
|
|
108
|
+
cellId: T,
|
|
109
109
|
align: "left",
|
|
110
|
-
sortDirection:
|
|
111
|
-
sortedCell:
|
|
110
|
+
sortDirection: a.sortDirection,
|
|
111
|
+
sortedCell: a.sortedCell,
|
|
112
112
|
onClick: () => {
|
|
113
|
-
m(
|
|
113
|
+
m(T);
|
|
114
114
|
},
|
|
115
115
|
children: "Date"
|
|
116
116
|
},
|
|
117
117
|
r
|
|
118
118
|
);
|
|
119
|
-
case
|
|
119
|
+
case l.SUMMARY:
|
|
120
120
|
return /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm", children: "Summary" }, r);
|
|
121
|
-
case
|
|
122
|
-
return
|
|
121
|
+
case l.TOKEN_USAGE:
|
|
122
|
+
return S ? /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm text-right", children: "Tokens" }, r) : /* @__PURE__ */ e(
|
|
123
123
|
w,
|
|
124
124
|
{
|
|
125
125
|
focusMode: "system",
|
|
126
126
|
buttonClassName: "text-xs sm:text-sm",
|
|
127
|
-
cellId:
|
|
127
|
+
cellId: N,
|
|
128
128
|
align: "right",
|
|
129
|
-
sortDirection:
|
|
130
|
-
sortedCell:
|
|
129
|
+
sortDirection: a.sortDirection,
|
|
130
|
+
sortedCell: a.sortedCell,
|
|
131
131
|
onClick: () => {
|
|
132
|
-
m(
|
|
132
|
+
m(N);
|
|
133
133
|
},
|
|
134
134
|
children: "Tokens"
|
|
135
135
|
},
|
|
136
136
|
r
|
|
137
137
|
);
|
|
138
|
-
case
|
|
138
|
+
case l.ACTIONS:
|
|
139
139
|
return /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm text-right", children: "Actions" }, r);
|
|
140
140
|
default:
|
|
141
141
|
return null;
|
|
142
142
|
}
|
|
143
|
-
}, v = (r, s,
|
|
143
|
+
}, v = (r, s, g) => {
|
|
144
144
|
switch (r) {
|
|
145
|
-
case
|
|
146
|
-
return /* @__PURE__ */ e(o, { children:
|
|
147
|
-
case
|
|
145
|
+
case l.ROW:
|
|
146
|
+
return /* @__PURE__ */ e(o, { children: g + 1 }, r);
|
|
147
|
+
case l.TIMESTAMP:
|
|
148
148
|
return /* @__PURE__ */ e(
|
|
149
149
|
o,
|
|
150
150
|
{
|
|
@@ -156,7 +156,7 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
156
156
|
},
|
|
157
157
|
r
|
|
158
158
|
);
|
|
159
|
-
case
|
|
159
|
+
case l.SUMMARY: {
|
|
160
160
|
const x = s.similarityScore !== void 0 && s.similarityScore !== null ? Math.round(s.similarityScore * 100) : null, P = x !== null && x < 40 ? "warning" : "success", U = s.keywordMatch === !0;
|
|
161
161
|
return /* @__PURE__ */ e(
|
|
162
162
|
o,
|
|
@@ -185,17 +185,17 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
185
185
|
r
|
|
186
186
|
);
|
|
187
187
|
}
|
|
188
|
-
case
|
|
188
|
+
case l.TOKEN_USAGE:
|
|
189
189
|
return /* @__PURE__ */ e(
|
|
190
190
|
o,
|
|
191
191
|
{
|
|
192
192
|
className: i("dark:text-copy-medium", "text-xs sm:text-sm"),
|
|
193
193
|
align: "right",
|
|
194
|
-
children: s.tokenUsage ?
|
|
194
|
+
children: s.tokenUsage ? F.format(s.tokenUsage) : "0"
|
|
195
195
|
},
|
|
196
196
|
r
|
|
197
197
|
);
|
|
198
|
-
case
|
|
198
|
+
case l.ACTIONS:
|
|
199
199
|
return /* @__PURE__ */ e(
|
|
200
200
|
o,
|
|
201
201
|
{
|
|
@@ -207,16 +207,16 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
207
207
|
label: "Restore chat",
|
|
208
208
|
placement: "top",
|
|
209
209
|
trigger: /* @__PURE__ */ e(
|
|
210
|
-
|
|
210
|
+
M,
|
|
211
211
|
{
|
|
212
212
|
noBorder: !0,
|
|
213
213
|
label: "Restore chat",
|
|
214
214
|
variant: "primary",
|
|
215
215
|
onClick: async () => {
|
|
216
|
-
await
|
|
216
|
+
await d(s);
|
|
217
217
|
},
|
|
218
218
|
children: /* @__PURE__ */ e(
|
|
219
|
-
|
|
219
|
+
z,
|
|
220
220
|
{
|
|
221
221
|
size: "size-3",
|
|
222
222
|
monotone: !0,
|
|
@@ -233,13 +233,13 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
233
233
|
label: s.favoriteChat ? "Remove from favorites" : "Add to favorites",
|
|
234
234
|
placement: "top",
|
|
235
235
|
trigger: /* @__PURE__ */ e(
|
|
236
|
-
|
|
236
|
+
M,
|
|
237
237
|
{
|
|
238
238
|
noBorder: !0,
|
|
239
239
|
label: s.favoriteChat ? "Remove from favorites" : "Add to favorites",
|
|
240
240
|
variant: "primary",
|
|
241
241
|
onClick: async () => {
|
|
242
|
-
await
|
|
242
|
+
await b(s);
|
|
243
243
|
},
|
|
244
244
|
children: s.favoriteChat ? /* @__PURE__ */ e(_, { size: "size-4", monotone: !0 }) : /* @__PURE__ */ e($, { size: "size-4", monotone: !0 })
|
|
245
245
|
}
|
|
@@ -247,7 +247,7 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
247
247
|
}
|
|
248
248
|
),
|
|
249
249
|
/* @__PURE__ */ e(
|
|
250
|
-
|
|
250
|
+
j,
|
|
251
251
|
{
|
|
252
252
|
label: "Delete chat",
|
|
253
253
|
disabled: !1,
|
|
@@ -274,15 +274,15 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
|
|
|
274
274
|
const r = t.length, s = f ?? r;
|
|
275
275
|
return E && s > r ? `Showing ${A(`${r} chat`, r)} out of ${s}` : A(`${r} chat`, r);
|
|
276
276
|
})(),
|
|
277
|
-
disabled:
|
|
277
|
+
disabled: u && t.length > 0,
|
|
278
278
|
children: [
|
|
279
|
-
/* @__PURE__ */ e(
|
|
280
|
-
/* @__PURE__ */ e(
|
|
281
|
-
s ===
|
|
279
|
+
/* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(C, { children: y.map((r) => I(r)) }) }),
|
|
280
|
+
/* @__PURE__ */ e(H, { children: u && t.length === 0 ? /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(o, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: "Loading..." }) }) }) : t.slice(0, n).map((r, s) => r?.summary ? /* @__PURE__ */ c(K, { children: [
|
|
281
|
+
s === n - L && /* @__PURE__ */ e("tr", { ref: p }),
|
|
282
282
|
/* @__PURE__ */ e(C, { children: y.map(
|
|
283
|
-
(
|
|
283
|
+
(g) => v(g, r, s)
|
|
284
284
|
) })
|
|
285
|
-
] }, `${
|
|
285
|
+
] }, `${B.HISTORY.TITLE}-${r.id}-${s}`) : null) })
|
|
286
286
|
]
|
|
287
287
|
}
|
|
288
288
|
);
|