@versini/sassysaint 8.110.0 → 8.110.1

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.
Files changed (87) hide show
  1. package/dist/chunks/{AboutChangelog.BfOWMaYg.js → AboutChangelog.DfItgg_1.js} +2 -2
  2. package/dist/chunks/AboutEntry.DIYTS0Pp.js +77 -0
  3. package/dist/chunks/{App.BD0e8HgV.js → App.7P9lyXTX.js} +2435 -2452
  4. package/dist/chunks/{Bubble.fxUgvZMG.js → Bubble.C3J-YrAQ.js} +1 -1
  5. package/dist/chunks/ButtonIconDelete.CAEfJOI7.js +333 -0
  6. package/dist/chunks/{Chart.C-EqsPgy.js → Chart.Dg1jAFpj.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.hM8owVIk.js → ChatBubbleAssistant.DavDkAFx.js} +4 -4
  8. package/dist/chunks/{ChatBubbleUser.CnsuEhxO.js → ChatBubbleUser.DSMfBmEP.js} +3 -3
  9. package/dist/chunks/{ChatHistoryTable.WRplbgo4.js → ChatHistoryTable.qju2f_Sh.js} +73 -73
  10. package/dist/chunks/{HistoryEntry.BgO_PD7Q.js → HistoryEntry.QxUwQO5B.js} +72 -80
  11. package/dist/chunks/LoginEntry.BbhZpovW.js +118 -0
  12. package/dist/chunks/{LogoEntry.CucXks5G.js → LogoEntry.CTMAkXZN.js} +642 -746
  13. package/dist/chunks/{MemoriesEntry.OQ1K4KNa.js → MemoriesEntry.BYYT1IVl.js} +304 -318
  14. package/dist/chunks/ProfileEntry.vCF-ayWr.js +205 -0
  15. package/dist/chunks/{SettingsEntry.ByPtC4lj.js → SettingsEntry.DEaHLi7A.js} +114 -122
  16. package/dist/chunks/UsageEntry.B3Z4Zr4a.js +230 -0
  17. package/dist/chunks/{_baseUniq.DJhemj5B.js → _baseUniq.CKo3g19j.js} +1 -1
  18. package/dist/chunks/{arc.ClK0mYh2.js → arc.ny1AnYpL.js} +1 -1
  19. package/dist/chunks/{architecture-U656AL7Q.DGORleeb.js → architecture-U656AL7Q.CoJV4P-W.js} +1 -1
  20. package/dist/chunks/{architectureDiagram-VXUJARFQ.HR_eet_T.js → architectureDiagram-VXUJARFQ.C_r6hPXf.js} +4 -4
  21. package/dist/chunks/{blockDiagram-VD42YOAC.CWrnXf_B.js → blockDiagram-VD42YOAC.DeTKi9HH.js} +5 -5
  22. package/dist/chunks/{browser.5ieI9QUP.js → browser.Dd1PVu4Q.js} +1 -1
  23. package/dist/chunks/{c4Diagram-YG6GDRKO.CaA0SaMc.js → c4Diagram-YG6GDRKO.PYJXPQRd.js} +2 -2
  24. package/dist/chunks/{channel.BI8KZVUl.js → channel.CldxJpdX.js} +1 -1
  25. package/dist/chunks/{chunk-4BX2VUAB.CTzK9jPw.js → chunk-4BX2VUAB.D_xGzQXV.js} +1 -1
  26. package/dist/chunks/{chunk-55IACEB6.DMb8Reca.js → chunk-55IACEB6.D91lGO9k.js} +1 -1
  27. package/dist/chunks/{chunk-B4BG7PRW.BHBa3N2V.js → chunk-B4BG7PRW.rABluadn.js} +4 -4
  28. package/dist/chunks/{chunk-DI55MBZ5.Bqwg_jpX.js → chunk-DI55MBZ5.BisMfdbP.js} +3 -3
  29. package/dist/chunks/{chunk-FMBD7UC4.p8OpoFJE.js → chunk-FMBD7UC4.IZluU3TG.js} +1 -1
  30. package/dist/chunks/{chunk-QN33PNHL._xYLGQNv.js → chunk-QN33PNHL.DdhRwJuC.js} +1 -1
  31. package/dist/chunks/{chunk-QZHKN3VN.Bt1FHb64.js → chunk-QZHKN3VN.DxJRkbxl.js} +1 -1
  32. package/dist/chunks/{chunk-TZMSLE5B.hFsU0iJf.js → chunk-TZMSLE5B.yJUdJdZG.js} +1 -1
  33. package/dist/chunks/{classDiagram-2ON5EDUG.DiSJfiEu.js → classDiagram-2ON5EDUG.BJJShSGE.js} +2 -2
  34. package/dist/chunks/{classDiagram-v2-WZHVMYZB.DiSJfiEu.js → classDiagram-v2-WZHVMYZB.BJJShSGE.js} +2 -2
  35. package/dist/chunks/{clone.NcwizCyH.js → clone.CYQWcQos.js} +1 -1
  36. package/dist/chunks/{cose-bilkent-S5V4N54A.DogEbzcD.js → cose-bilkent-S5V4N54A.CFiLRTlV.js} +2 -2
  37. package/dist/chunks/{dagre-6UL2VRFP.Cy_GltZx.js → dagre-6UL2VRFP.BAOLjlsO.js} +5 -5
  38. package/dist/chunks/{diagram-PSM6KHXK.CazeYJ2F.js → diagram-PSM6KHXK.B7fd_KvS.js} +4 -4
  39. package/dist/chunks/{diagram-QEK2KX5R.ByhZHDpm.js → diagram-QEK2KX5R.nRWB6Pdu.js} +3 -3
  40. package/dist/chunks/{diagram-S2PKOQOG.D49-fpQd.js → diagram-S2PKOQOG.C4gQIrc_.js} +3 -3
  41. package/dist/chunks/{erDiagram-Q2GNP2WA.nce3gDBb.js → erDiagram-Q2GNP2WA.U2TDWSHg.js} +4 -4
  42. package/dist/chunks/{flowDiagram-NV44I4VS.DDUGMSKf.js → flowDiagram-NV44I4VS.CmXaVrq9.js} +5 -5
  43. package/dist/chunks/{ganttDiagram-JELNMOA3.NGXzLkaH.js → ganttDiagram-JELNMOA3.DSD39bjf.js} +2 -2
  44. package/dist/chunks/{gitGraph-F6HP7TQM.BzKXexyv.js → gitGraph-F6HP7TQM.C_axBowD.js} +1 -1
  45. package/dist/chunks/{gitGraphDiagram-NY62KEGX.C3cn9f8o.js → gitGraphDiagram-NY62KEGX.Y6LpuRjD.js} +4 -4
  46. package/dist/chunks/{graph.CURTRirk.js → graph.CsEnoNl4.js} +2 -2
  47. package/dist/chunks/{index.BYDZbdMZ.js → index.-DOP9Ckx.js} +1 -1
  48. package/dist/chunks/{index.gy41K1EE.js → index.4552QdXH.js} +3 -3
  49. package/dist/chunks/{index.BinkIORG.js → index.76MlCVOY.js} +1 -1
  50. package/dist/chunks/{index.CkajM1v0.js → index.BYUyJHzk.js} +1 -1
  51. package/dist/chunks/{index.CURM9PiU.js → index.Bi2ow_w5.js} +1 -1
  52. package/dist/chunks/{index.DAuo-OH1.js → index.CK3q1Sfv.js} +1 -1
  53. package/dist/chunks/{index.uUNtrS04.js → index.CR9-xbTg.js} +3 -3
  54. package/dist/chunks/{index.CBEv2y_C.js → index.MD-I3XF8.js} +2 -2
  55. package/dist/chunks/{index.BqIARWUR.js → index.whZY27YH.js} +1 -1
  56. package/dist/chunks/{info-NVLQJR56.CHnZmbT7.js → info-NVLQJR56.BM1oszeu.js} +1 -1
  57. package/dist/chunks/{infoDiagram-WHAUD3N6.DCZfKYU8.js → infoDiagram-WHAUD3N6.BOdkf_MU.js} +2 -2
  58. package/dist/chunks/{journeyDiagram-XKPGCS4Q.B-0JNmK_.js → journeyDiagram-XKPGCS4Q.Dw7-F-3G.js} +4 -4
  59. package/dist/chunks/{kanban-definition-3W4ZIXB7.C7aI8iBJ.js → kanban-definition-3W4ZIXB7.DBHZd8kd.js} +2 -2
  60. package/dist/chunks/{layout.Bmgsrc8X.js → layout.FDyoYwG2.js} +4 -4
  61. package/dist/chunks/{mermaid-parser.core.BZIZyjyF.js → mermaid-parser.core.C4lg1K9H.js} +10 -10
  62. package/dist/chunks/{min.CtR4qhyM.js → min.DBs1Msoe.js} +2 -2
  63. package/dist/chunks/{mindmap-definition-VGOIOE7T.DCsxzuhI.js → mindmap-definition-VGOIOE7T.CU1TS1Wz.js} +3 -3
  64. package/dist/chunks/{packet-BFZMPI3H.CQ2Sbdms.js → packet-BFZMPI3H.BQDJHYjU.js} +1 -1
  65. package/dist/chunks/{pie-7BOR55EZ.BYs1omMd.js → pie-7BOR55EZ.BlU94TQO.js} +1 -1
  66. package/dist/chunks/{pieDiagram-ADFJNKIX.DqkDHdMo.js → pieDiagram-ADFJNKIX.CKbT8AbG.js} +4 -4
  67. package/dist/chunks/{quadrantDiagram-AYHSOK5B.Cx-eq1uu.js → quadrantDiagram-AYHSOK5B.iibdk6QV.js} +1 -1
  68. package/dist/chunks/{radar-NHE76QYJ.CIqwL1Hw.js → radar-NHE76QYJ.CqellN1R.js} +1 -1
  69. package/dist/chunks/{rehype-mermaid.LJaY9ylI.js → rehype-mermaid.D5rxFoLJ.js} +33 -33
  70. package/dist/chunks/{requirementDiagram-UZGBJVZJ.C-YKp79x.js → requirementDiagram-UZGBJVZJ.BeoYCRTt.js} +3 -3
  71. package/dist/chunks/{sankeyDiagram-TZEHDZUN.BbfUzvVS.js → sankeyDiagram-TZEHDZUN.Cl7AJQyH.js} +1 -1
  72. package/dist/chunks/{sequenceDiagram-WL72ISMW.D5wDvZwT.js → sequenceDiagram-WL72ISMW.DJiYzLwe.js} +3 -3
  73. package/dist/chunks/{stateDiagram-FKZM4ZOC.-65PQCxm.js → stateDiagram-FKZM4ZOC.CEH77n-u.js} +4 -4
  74. package/dist/chunks/{stateDiagram-v2-4FDKWEC3.BXy_3BUS.js → stateDiagram-v2-4FDKWEC3.C7e8FoNM.js} +2 -2
  75. package/dist/chunks/{timeline-definition-IT6M3QCI.B2tmtGDZ.js → timeline-definition-IT6M3QCI.DpH45C9N.js} +2 -2
  76. package/dist/chunks/{treemap-KMMF4GRG.Dm_alnmO.js → treemap-KMMF4GRG.CaXoo_S5.js} +1 -1
  77. package/dist/chunks/{useMarkdown.BWJCktGN.js → useMarkdown.C2zWe9xE.js} +8 -8
  78. package/dist/chunks/{xychartDiagram-PRI3JC2R.XQCHu3eO.js → xychartDiagram-PRI3JC2R.l9efaY6c.js} +1 -1
  79. package/dist/components/SassySaint/SassySaint.js +1 -1
  80. package/dist/index.js +3 -3
  81. package/dist/style.css +1 -1
  82. package/package.json +3 -3
  83. package/dist/chunks/AboutEntry.B7fBRGac.js +0 -85
  84. package/dist/chunks/ButtonIconDelete.Bw7zU6Rb.js +0 -456
  85. package/dist/chunks/LoginEntry.DvDNWT7T.js +0 -118
  86. package/dist/chunks/ProfileEntry.CbZLIK8x.js +0 -213
  87. package/dist/chunks/UsageEntry.CSkPteMr.js +0 -238
@@ -1,456 +0,0 @@
1
- import { jsx as s, jsxs as b, Fragment as I } from "react/jsx-runtime";
2
- import c from "clsx";
3
- import N, { useContext as y } from "react";
4
- import { ButtonIcon as v, e as k, IconDelete as z } from "./LogoEntry.CucXks5G.js";
5
- import { ResponsiveTooltip as S } from "./App.BD0e8HgV.js";
6
- const w = /* @__PURE__ */ N.forwardRef(({ children: e, mode: t = "system", className: a, active: r = !1, ...l }, o) => {
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", {
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: d,
15
- children: /* @__PURE__ */ s(v, {
16
- className: a,
17
- ref: o,
18
- mode: t,
19
- radius: "small",
20
- size: "small",
21
- align: "center",
22
- ...l,
23
- children: e
24
- })
25
- });
26
- });
27
- w.displayName = "ButtonSort";
28
- try {
29
- window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
30
- version: "4.15.1",
31
- buildTime: "11/03/2025 07:21 PM EST",
32
- homepage: "https://github.com/aversini/ui-icons",
33
- license: "MIT"
34
- });
35
- } catch {
36
- }
37
- try {
38
- window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
39
- version: "4.3.0",
40
- buildTime: "11/03/2025 07:21 PM EST",
41
- homepage: "https://github.com/aversini/ui-icons",
42
- license: "MIT"
43
- });
44
- } catch {
45
- }
46
- const f = ({ children: e, fill: t, viewBox: a, className: r, defaultViewBox: l, size: o, title: d, semantic: h = !1, ...i }) => {
47
- const m = c(o, r);
48
- return /* @__PURE__ */ b("svg", {
49
- xmlns: "http://www.w3.org/2000/svg",
50
- className: m,
51
- viewBox: a || l,
52
- fill: t || "currentColor",
53
- role: "img",
54
- "aria-hidden": !h,
55
- focusable: !1,
56
- ...i,
57
- children: [
58
- d && h && /* @__PURE__ */ s("title", {
59
- children: d
60
- }),
61
- e
62
- ]
63
- });
64
- }, B = ({ className: e, viewBox: t, title: a, monotone: r, ...l }) => /* @__PURE__ */ b(f, {
65
- defaultViewBox: "0 0 576 512",
66
- size: "size-5",
67
- viewBox: t,
68
- className: e,
69
- title: a || "Sort",
70
- ...l,
71
- children: [
72
- /* @__PURE__ */ s("path", {
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",
74
- opacity: r ? "1" : "0.4"
75
- }),
76
- /* @__PURE__ */ s("path", {
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"
78
- })
79
- ]
80
- }), V = ({ className: e, viewBox: t, title: a, monotone: r, ...l }) => /* @__PURE__ */ b(f, {
81
- defaultViewBox: "0 0 576 512",
82
- size: "size-5",
83
- viewBox: t,
84
- className: e,
85
- title: a || "Sort Down",
86
- ...l,
87
- children: [
88
- /* @__PURE__ */ s("path", {
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",
90
- opacity: r ? "1" : "0.4"
91
- }),
92
- /* @__PURE__ */ s("path", {
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"
94
- })
95
- ]
96
- }), W = ({ className: e, viewBox: t, title: a, monotone: r, ...l }) => /* @__PURE__ */ b(f, {
97
- defaultViewBox: "0 0 576 512",
98
- size: "size-5",
99
- viewBox: t,
100
- className: e,
101
- title: a || "Sort Up",
102
- ...l,
103
- children: [
104
- /* @__PURE__ */ s("path", {
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",
106
- opacity: r ? "1" : "0.4"
107
- }),
108
- /* @__PURE__ */ s("path", {
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"
110
- })
111
- ]
112
- }), g = N.createContext({
113
- mode: "light",
114
- cellWrapper: "thead",
115
- stickyHeader: !1,
116
- stickyFooter: !1,
117
- compact: !1
118
- }), u = "thead", x = "tfoot", C = "tbody", H = ({ mode: e }) => c(
119
- "size-8",
120
- "align-[-0.125em]",
121
- "border-4",
122
- "inline-block animate-spin rounded-full border-solid border-current border-r-transparent motion-reduce:animate-[spin_1.5s_linear_infinite]",
123
- {
124
- "text-copy-dark": e === "light",
125
- "text-copy-light": e === "dark",
126
- "text-copy-dark dark:text-copy-light": e === "alt-system",
127
- "text-copy-light dark:text-copy-dark": e === "system"
128
- }
129
- ), M = ({ mode: e }) => ({
130
- inner: "relative",
131
- overlay: c(
132
- "absolute inset-0 z-20 cursor-not-allowed",
133
- "backdrop-blur-xs bg-white/30 dark:bg-black/30"
134
- ),
135
- spinnerWrapper: c(
136
- "absolute z-30 top-0 left-0 right-0 h-[min(100%,100vh)]",
137
- "flex items-center justify-center",
138
- "pointer-events-none"
139
- ),
140
- spinner: H({ mode: e })
141
- }), F = ({
142
- mode: e,
143
- className: t,
144
- wrapperClassName: a,
145
- stickyHeader: r,
146
- stickyFooter: l,
147
- disabled: o
148
- }) => {
149
- const d = o ? M({ mode: e }) : null;
150
- return {
151
- overlay: d?.overlay ?? "",
152
- inner: d?.inner ?? "",
153
- spinnerWrapper: d?.spinnerWrapper ?? "",
154
- spinner: d?.spinner ?? "",
155
- wrapper: c(
156
- "not-prose relative w-full rounded-lg shadow-md",
157
- {
158
- "overflow-x-auto": !r && !l && !o,
159
- "overflow-y-scroll": (r || l) && !o,
160
- "overflow-hidden": o,
161
- "bg-surface-darker": e === "dark" || e === "system",
162
- "bg-surface-light": e === "light" || e === "alt-system",
163
- "dark:bg-surface-light": e === "system",
164
- "dark:bg-surface-darker": e === "alt-system",
165
- "text-copy-light": e === "dark",
166
- "text-copy-dark": e === "light",
167
- "text-copy-light dark:text-copy-dark": e === "system",
168
- "text-copy-dark dark:text-copy-light": e === "alt-system"
169
- },
170
- a
171
- ),
172
- table: c("my-0 w-full text-left text-sm", t, {
173
- "text-copy-light": e === "dark",
174
- "text-copy-dark": e === "light",
175
- "text-copy-light dark:text-copy-dark": e === "system",
176
- "text-copy-dark dark:text-copy-light": e === "alt-system"
177
- }),
178
- caption: c("py-2 text-sm font-bold", {
179
- "text-copy-light": e === "dark",
180
- "text-copy-dark": e === "light",
181
- "text-copy-light dark:text-copy-dark": e === "system",
182
- "text-copy-dark dark:text-copy-light": e === "alt-system"
183
- })
184
- };
185
- }, E = ({
186
- className: e,
187
- stickyHeader: t,
188
- mode: a
189
- }) => c(
190
- {
191
- "sticky top-0 z-10": t,
192
- "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": t && a === "dark",
193
- "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": t && a === "system",
194
- "shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": t && a === "light",
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"
196
- },
197
- e
198
- ), R = ({
199
- className: e,
200
- stickyFooter: t,
201
- mode: a
202
- }) => c(
203
- {
204
- "sticky bottom-0 z-10": t,
205
- "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": t && a === "dark",
206
- "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": t && a === "system",
207
- "shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": t && a === "light",
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"
209
- },
210
- e
211
- ), T = ({
212
- mode: e,
213
- className: t,
214
- cellWrapper: a
215
- }) => a === u || a === x ? c(
216
- {
217
- "bg-table-head-dark": e === "dark" || e === "system",
218
- "bg-table-head-light": e === "light" || e === "alt-system",
219
- "dark:bg-table-head-light": e === "system",
220
- "dark:bg-table-head-dark": e === "alt-system"
221
- },
222
- t
223
- ) : c(
224
- "border-b last:border-0",
225
- {
226
- "hover:bg-table-dark-odd/50! hover:dark:bg-table-light-odd/50!": e === "alt-system" || e === "light",
227
- "hover:bg-table-light-odd/50! hover:dark:bg-table-dark-odd/50!": e === "system" || e === "dark",
228
- "border-table-dark": e === "dark" || e === "system",
229
- "odd:bg-table-dark-odd even:bg-table-dark-even": e === "dark",
230
- "border-table-light": e === "light" || e === "alt-system",
231
- "odd:bg-table-light-odd even:bg-table-light-even": e === "light",
232
- "dark:border-table-light": e === "system",
233
- "odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": e === "system",
234
- "dark:border-table-dark": e === "alt-system",
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"
236
- },
237
- t
238
- ), j = ({
239
- cellWrapper: e,
240
- className: t,
241
- compact: a,
242
- mode: r,
243
- align: l
244
- }) => ({
245
- alignClasses: c({
246
- "flex justify-start text-left": l === "left",
247
- "flex justify-center text-center": l === "center",
248
- "flex justify-end text-right": l === "right"
249
- }),
250
- mainClasses: c(
251
- {
252
- "text-copy-light": r === "dark" || r === "system",
253
- "text-copy-dark": r === "light" || r === "alt-system",
254
- "dark:text-copy-dark": r === "system",
255
- "dark:text-copy-light": r === "alt-system",
256
- "px-4 py-3": !a && (e === u || e === x),
257
- "p-4": !a && e === C,
258
- "px-2 py-1.5": a
259
- },
260
- t
261
- )
262
- }), D = ({
263
- buttonClassName: e
264
- }) => c("rounded-none text-sm", e), q = ({
265
- children: e,
266
- mode: t = "system",
267
- caption: a,
268
- compact: r,
269
- disabled: l = !1,
270
- summary: o,
271
- className: d,
272
- wrapperClassName: h,
273
- maxHeight: i,
274
- stickyHeader: m,
275
- stickyFooter: p,
276
- ..._
277
- }) => {
278
- const n = F({
279
- mode: t,
280
- className: d,
281
- wrapperClassName: h,
282
- stickyHeader: m,
283
- stickyFooter: p,
284
- disabled: l
285
- });
286
- return /* @__PURE__ */ s(
287
- g.Provider,
288
- {
289
- value: { mode: t, stickyHeader: m, stickyFooter: p, compact: r },
290
- children: /* @__PURE__ */ s(
291
- "div",
292
- {
293
- className: n.wrapper,
294
- ...i && {
295
- style: { maxHeight: i }
296
- },
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..." }) }) }),
299
- /* @__PURE__ */ b("div", { className: n.inner, children: [
300
- /* @__PURE__ */ s("div", { className: n.overlay }),
301
- /* @__PURE__ */ b(
302
- "table",
303
- {
304
- className: n.table,
305
- summary: o,
306
- ...l && { "aria-disabled": "true" },
307
- ..._,
308
- children: [
309
- a && /* @__PURE__ */ s("caption", { className: n.caption, children: a }),
310
- e
311
- ]
312
- }
313
- )
314
- ] })
315
- ] }) : /* @__PURE__ */ b("table", { className: n.table, summary: o, ..._, children: [
316
- a && /* @__PURE__ */ s("caption", { className: n.caption, children: a }),
317
- e
318
- ] })
319
- }
320
- )
321
- }
322
- );
323
- }, J = ({
324
- children: e,
325
- className: t,
326
- ...a
327
- }) => {
328
- const r = y(g);
329
- r.cellWrapper = u;
330
- const l = E({
331
- className: t,
332
- mode: r.mode,
333
- stickyHeader: r.stickyHeader
334
- });
335
- return /* @__PURE__ */ s("thead", { className: l, ...a, children: e });
336
- }, Y = ({
337
- children: e,
338
- className: t,
339
- ...a
340
- }) => {
341
- const r = y(g);
342
- r.cellWrapper = x;
343
- const l = R({
344
- className: t,
345
- mode: r.mode,
346
- stickyFooter: r.stickyFooter
347
- });
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 = ({
353
- children: e,
354
- className: t,
355
- ...a
356
- }) => {
357
- const r = y(g), l = T({
358
- mode: r.mode,
359
- cellWrapper: r.cellWrapper,
360
- className: t
361
- });
362
- return /* @__PURE__ */ s("tr", { className: l, ...a, children: e });
363
- }, L = ({
364
- children: e,
365
- component: t,
366
- className: a,
367
- align: r,
368
- ...l
369
- }) => {
370
- const o = y(g), d = t || (o.cellWrapper === u ? "th" : "td"), { mainClasses: h, alignClasses: i } = j({
371
- cellWrapper: o.cellWrapper,
372
- className: a,
373
- mode: o.mode,
374
- compact: o.compact,
375
- align: r
376
- });
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 = ({
379
- align: e,
380
- children: t,
381
- buttonClassName: a,
382
- className: r,
383
- component: l,
384
- focusMode: o = "alt-system",
385
- mode: d = "alt-system",
386
- onClick: h,
387
- sortDirection: i,
388
- sortedCell: m,
389
- cellId: p,
390
- ..._
391
- }) => {
392
- const n = D({ buttonClassName: a });
393
- return /* @__PURE__ */ s(
394
- L,
395
- {
396
- component: l,
397
- className: r,
398
- role: "columnheader",
399
- "aria-sort": i === k.ASC && m === p ? "ascending" : i === k.DESC && m === p ? "descending" : "other",
400
- ..._,
401
- children: /* @__PURE__ */ s(
402
- w,
403
- {
404
- active: m === p,
405
- className: n,
406
- onClick: h,
407
- align: e,
408
- noBorder: !0,
409
- focusMode: o,
410
- mode: d,
411
- fullWidth: !0,
412
- labelRight: t,
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 })
414
- }
415
- )
416
- }
417
- );
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
- );
447
- export {
448
- Z as ButtonIconDelete,
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
456
- };
@@ -1,118 +0,0 @@
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.CBEv2y_C.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.CucXks5G.js";
4
- import { Card as O } from "./index.BYDZbdMZ.js";
5
- import { TextInput as T, TextInputMask as W } from "./index.CURM9PiU.js";
6
- import { useState as s, useEffect as h } from "react";
7
- const q = () => {
8
- const { login: g, logoutReason: o, loginWithPasskey: f } = L(), [n, l] = s(""), [d, m] = s(""), [c, C] = s(!0), [r, u] = s({
9
- username: "",
10
- password: ""
11
- }), k = async (a) => {
12
- a.preventDefault(), await g(r.username, r.password) || (m(""), l("Invalid username or password"));
13
- };
14
- return h(() => {
15
- document.getElementById("logo")?.classList.add("fadeOut"), setTimeout(() => {
16
- document.getElementById("root")?.classList.replace("app-hidden", "fadeIn");
17
- }, 500);
18
- }), h(() => {
19
- o && m(o);
20
- }, [o]), /* @__PURE__ */ i("main", { className: M({ extraClass: "mt-5" }), children: [
21
- /* @__PURE__ */ e(
22
- "div",
23
- {
24
- className: b({
25
- extraClass: "rounded-md pb-10"
26
- }),
27
- children: /* @__PURE__ */ e(N, {})
28
- }
29
- ),
30
- /* @__PURE__ */ e("form", { className: "mt-5", onSubmit: k, children: /* @__PURE__ */ e(E, { alignHorizontal: "center", children: /* @__PURE__ */ e(t, { span: 6, children: /* @__PURE__ */ i(O, { mode: "dark", children: [
31
- /* @__PURE__ */ e(t, { span: 12, className: "mt-7", children: d && /* @__PURE__ */ e("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: d }) }),
32
- /* @__PURE__ */ e(t, { span: 12, children: /* @__PURE__ */ e(
33
- T,
34
- {
35
- className: "mt-7",
36
- required: !0,
37
- autoCapitalize: "off",
38
- autoComplete: "off",
39
- autoCorrect: "off",
40
- mode: "dark",
41
- focusMode: "light",
42
- name: "username",
43
- label: "Username",
44
- onChange: (a) => {
45
- u({
46
- ...r,
47
- username: a.target.value
48
- }), l("");
49
- },
50
- error: n !== ""
51
- }
52
- ) }),
53
- /* @__PURE__ */ e(t, { span: 12, children: /* @__PURE__ */ e(
54
- W,
55
- {
56
- className: "mt-7",
57
- required: !0,
58
- autoCapitalize: "off",
59
- autoComplete: "off",
60
- autoCorrect: "off",
61
- mode: "dark",
62
- focusMode: "light",
63
- name: "password",
64
- label: y,
65
- rightElement: /* @__PURE__ */ e(
66
- p,
67
- {
68
- focusMode: "light",
69
- mode: "dark",
70
- label: c ? "Show" : "Hide",
71
- children: c ? /* @__PURE__ */ e(S, {}) : /* @__PURE__ */ e(v, {})
72
- }
73
- ),
74
- onMaskChange: C,
75
- onChange: (a) => {
76
- u({
77
- ...r,
78
- password: a.target.value
79
- }), l("");
80
- },
81
- error: n !== "",
82
- helperText: n
83
- }
84
- ) }),
85
- /* @__PURE__ */ e(t, { span: 12, children: /* @__PURE__ */ e(
86
- w,
87
- {
88
- mode: "dark",
89
- focusMode: "light",
90
- fullWidth: !0,
91
- noBorder: !0,
92
- type: "submit",
93
- className: "mt-7",
94
- children: P
95
- }
96
- ) }),
97
- !I() && /* @__PURE__ */ i(x, { children: [
98
- /* @__PURE__ */ e(t, { span: 12, children: /* @__PURE__ */ e("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
99
- /* @__PURE__ */ e(t, { span: 12, children: /* @__PURE__ */ e(
100
- p,
101
- {
102
- variant: "selected",
103
- mode: "dark",
104
- focusMode: "light",
105
- fullWidth: !0,
106
- className: "mb-4",
107
- labelRight: z,
108
- onClick: f,
109
- children: /* @__PURE__ */ e(B, { size: "size-7" })
110
- }
111
- ) })
112
- ] })
113
- ] }) }) }) })
114
- ] });
115
- };
116
- export {
117
- q as default
118
- };