@versini/sassysaint 5.4.10 → 5.4.12
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/{LazyApp.DH3R7Vkb.js → LazyApp.Dyu2ic9d.js} +219 -219
- package/dist/chunks/{LazyHeader.Esu44rbC.js → LazyHeader.9qAKBwpW.js} +408 -407
- package/dist/chunks/{LazyMarkdownWithExtra.BVhDYmey.js → LazyMarkdownWithExtra.D-ycPLwb.js} +13 -13
- package/dist/chunks/{LazyMessageAssistant.BwKqEfdd.js → LazyMessageAssistant.D02uWotL.js} +7 -7
- package/dist/chunks/{index.PNVAoZsW.js → index.BQqipbFO.js} +142 -142
- package/dist/chunks/{index.2dkXMDMm.js → index.SBEBWYWL.js} +148 -149
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsxs as x, jsx as s, Fragment as
|
|
2
|
-
import { g as
|
|
1
|
+
import { jsxs as x, jsx as s, Fragment as Te } from "react/jsx-runtime";
|
|
2
|
+
import { g as Ne } from "./index.SBEBWYWL.js";
|
|
3
3
|
import U, { useSyncExternalStore as Se, useCallback as M, useEffect as A, useContext as R, useRef as k, useState as $, useLayoutEffect as V, useMemo as ie, useId as Ce, useReducer as Ie } from "react";
|
|
4
4
|
import i from "clsx";
|
|
5
|
-
const
|
|
5
|
+
const Tt = ({
|
|
6
6
|
className: e,
|
|
7
7
|
viewBox: r,
|
|
8
8
|
title: t,
|
|
9
9
|
monotone: a,
|
|
10
10
|
...o
|
|
11
11
|
}) => /* @__PURE__ */ x(
|
|
12
|
-
|
|
12
|
+
Ne,
|
|
13
13
|
{
|
|
14
14
|
defaultViewBox: "0 0 512 512",
|
|
15
|
-
|
|
15
|
+
size: "size-5",
|
|
16
16
|
viewBox: r,
|
|
17
17
|
className: e,
|
|
18
18
|
title: t || "Edit",
|
|
@@ -40,23 +40,23 @@ const te = (e, r) => {
|
|
|
40
40
|
}, $e = (e) => {
|
|
41
41
|
window.localStorage.removeItem(e), ne(e, null);
|
|
42
42
|
}, re = (e) => window.localStorage.getItem(e), Ae = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
|
|
43
|
-
function
|
|
43
|
+
function Nt({
|
|
44
44
|
key: e,
|
|
45
45
|
initialValue: r
|
|
46
46
|
}) {
|
|
47
47
|
const t = Se(Ae, () => re(e)), a = M(
|
|
48
48
|
(n) => {
|
|
49
49
|
try {
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
} catch (
|
|
53
|
-
console.warn(
|
|
50
|
+
const l = typeof n == "function" ? n(JSON.parse(t)) : n;
|
|
51
|
+
l == null ? $e(e) : te(e, l);
|
|
52
|
+
} catch (l) {
|
|
53
|
+
console.warn(l);
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
[e, t]
|
|
57
57
|
), o = M(() => {
|
|
58
58
|
a(r);
|
|
59
|
-
}, [r, a]),
|
|
59
|
+
}, [r, a]), c = M(() => {
|
|
60
60
|
a(null);
|
|
61
61
|
}, [a]);
|
|
62
62
|
return A(() => {
|
|
@@ -65,7 +65,7 @@ function Tt({
|
|
|
65
65
|
} catch (n) {
|
|
66
66
|
console.warn(n);
|
|
67
67
|
}
|
|
68
|
-
}, [e, r]), [t ? JSON.parse(t) : null, a, o,
|
|
68
|
+
}, [e, r]), [t ? JSON.parse(t) : null, a, o, c];
|
|
69
69
|
}
|
|
70
70
|
const _ = {
|
|
71
71
|
GET_LOCATION: `query GetLocation($latitude: Float!, $longitude: Float!) {
|
|
@@ -204,11 +204,11 @@ const _ = {
|
|
|
204
204
|
schema: _.SET_USER_PREFERENCES,
|
|
205
205
|
method: "setUserPreferences"
|
|
206
206
|
}
|
|
207
|
-
},
|
|
207
|
+
}, ce = process.env.PUBLIC_SASSY_API_SERVER_URL, Re = async ({
|
|
208
208
|
query: e,
|
|
209
209
|
data: r,
|
|
210
210
|
headers: t = {}
|
|
211
|
-
}) => await fetch(`${
|
|
211
|
+
}) => await fetch(`${ce}/graphql`, {
|
|
212
212
|
method: "POST",
|
|
213
213
|
credentials: "include",
|
|
214
214
|
headers: {
|
|
@@ -227,20 +227,20 @@ const _ = {
|
|
|
227
227
|
}) => {
|
|
228
228
|
const a = r != null && r.data ? r.data(t) : t;
|
|
229
229
|
try {
|
|
230
|
-
const o = `Bearer ${e}`,
|
|
230
|
+
const o = `Bearer ${e}`, c = await Re({
|
|
231
231
|
headers: {
|
|
232
232
|
authorization: o
|
|
233
233
|
},
|
|
234
234
|
query: r.schema,
|
|
235
235
|
data: a
|
|
236
236
|
});
|
|
237
|
-
if (
|
|
238
|
-
return { status:
|
|
239
|
-
const { data: n, errors:
|
|
237
|
+
if (c.status !== 200)
|
|
238
|
+
return { status: c.status, data: [] };
|
|
239
|
+
const { data: n, errors: l } = await c.json();
|
|
240
240
|
return {
|
|
241
|
-
status:
|
|
241
|
+
status: c.status,
|
|
242
242
|
data: n[r.method],
|
|
243
|
-
errors:
|
|
243
|
+
errors: l
|
|
244
244
|
};
|
|
245
245
|
} catch (o) {
|
|
246
246
|
return console.error(o), { status: 500, data: [] };
|
|
@@ -252,7 +252,7 @@ const _ = {
|
|
|
252
252
|
method: a = "POST"
|
|
253
253
|
}) => {
|
|
254
254
|
const o = `Bearer ${e}`;
|
|
255
|
-
return await fetch(`${
|
|
255
|
+
return await fetch(`${ce}/api/${r}`, {
|
|
256
256
|
method: a,
|
|
257
257
|
credentials: "include",
|
|
258
258
|
headers: {
|
|
@@ -263,19 +263,19 @@ const _ = {
|
|
|
263
263
|
});
|
|
264
264
|
};
|
|
265
265
|
/*!
|
|
266
|
-
@versini/ui-table v2.0.
|
|
266
|
+
@versini/ui-table v2.0.5
|
|
267
267
|
© 2024 gizmette.com
|
|
268
268
|
*/
|
|
269
269
|
try {
|
|
270
270
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
|
271
|
-
version: "2.0.
|
|
272
|
-
buildTime: "12/30/2024
|
|
271
|
+
version: "2.0.5",
|
|
272
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
273
273
|
homepage: "https://github.com/aversini/ui-components",
|
|
274
274
|
license: "MIT"
|
|
275
275
|
});
|
|
276
276
|
} catch {
|
|
277
277
|
}
|
|
278
|
-
const P = "thead", Q = "tfoot",
|
|
278
|
+
const P = "thead", Q = "tfoot", T = "tbody", O = {
|
|
279
279
|
ASC: "asc",
|
|
280
280
|
DESC: "desc"
|
|
281
281
|
}, Be = ({
|
|
@@ -322,7 +322,7 @@ const P = "thead", Q = "tfoot", N = "tbody", O = {
|
|
|
322
322
|
"shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": r && t === "alt-system"
|
|
323
323
|
},
|
|
324
324
|
e
|
|
325
|
-
),
|
|
325
|
+
), ze = ({
|
|
326
326
|
className: e,
|
|
327
327
|
stickyFooter: r,
|
|
328
328
|
mode: t
|
|
@@ -335,7 +335,7 @@ const P = "thead", Q = "tfoot", N = "tbody", O = {
|
|
|
335
335
|
"shadow-[rgb(65_65_65_/30%)_-0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": r && t === "alt-system"
|
|
336
336
|
},
|
|
337
337
|
e
|
|
338
|
-
),
|
|
338
|
+
), Le = ({
|
|
339
339
|
mode: e,
|
|
340
340
|
className: r,
|
|
341
341
|
cellWrapper: t
|
|
@@ -351,13 +351,13 @@ const P = "thead", Q = "tfoot", N = "tbody", O = {
|
|
|
351
351
|
"border-b last:border-0",
|
|
352
352
|
{
|
|
353
353
|
"border-table-dark": e === "dark",
|
|
354
|
-
"odd:bg-table-dark-odd even:bg-table-dark-even": t ===
|
|
354
|
+
"odd:bg-table-dark-odd even:bg-table-dark-even": t === T && e === "dark",
|
|
355
355
|
"border-table-light": e === "light",
|
|
356
|
-
"odd:bg-table-light-odd even:bg-table-light-even": t ===
|
|
356
|
+
"odd:bg-table-light-odd even:bg-table-light-even": t === T && e === "light",
|
|
357
357
|
"border-table-dark dark:border-table-light": e === "system",
|
|
358
|
-
"odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": t ===
|
|
358
|
+
"odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": t === T && e === "system",
|
|
359
359
|
"border-table-light dark:border-table-dark": e === "alt-system",
|
|
360
|
-
"odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": t ===
|
|
360
|
+
"odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": t === T && e === "alt-system"
|
|
361
361
|
},
|
|
362
362
|
r
|
|
363
363
|
), Ve = ({
|
|
@@ -372,34 +372,34 @@ const P = "thead", Q = "tfoot", N = "tbody", O = {
|
|
|
372
372
|
"text-copy-light dark:text-copy-dark": a === "system",
|
|
373
373
|
"text-copy-dark dark:text-copy-light": a === "alt-system",
|
|
374
374
|
"px-4 py-3": !t && (e === P || e === Q),
|
|
375
|
-
"p-4": !t && e ===
|
|
375
|
+
"p-4": !t && e === T,
|
|
376
376
|
"px-2 py-1.5": t
|
|
377
377
|
},
|
|
378
378
|
r
|
|
379
379
|
), Oe = ({
|
|
380
380
|
buttonClassName: e
|
|
381
|
-
}) => i("rounded-none text-sm", e), ae = "av-button",
|
|
381
|
+
}) => i("rounded-none text-sm", e), ae = "av-button", le = "icon", Me = "button", Ue = "link", Pe = ({
|
|
382
382
|
type: e,
|
|
383
383
|
size: r,
|
|
384
384
|
labelRight: t,
|
|
385
385
|
labelLeft: a,
|
|
386
386
|
align: o
|
|
387
387
|
}) => {
|
|
388
|
-
const
|
|
388
|
+
const c = "text-sm font-medium max-h-8 py-0", n = "text-base font-medium max-h-9 py-1", l = "text-lg font-medium max-h-12 py-2";
|
|
389
389
|
switch (e) {
|
|
390
390
|
case Me:
|
|
391
391
|
return i("px-4", {
|
|
392
|
-
[
|
|
392
|
+
[c]: r === "small",
|
|
393
393
|
[n]: r === "medium",
|
|
394
|
-
[
|
|
394
|
+
[l]: r === "large"
|
|
395
395
|
});
|
|
396
396
|
case Ue:
|
|
397
397
|
return i("px-4 text-center", {
|
|
398
|
-
[
|
|
398
|
+
[c]: r === "small",
|
|
399
399
|
[n]: r === "medium",
|
|
400
|
-
[
|
|
400
|
+
[l]: r === "large"
|
|
401
401
|
});
|
|
402
|
-
case
|
|
402
|
+
case le:
|
|
403
403
|
return i("inline-flex items-center", {
|
|
404
404
|
"justify-center": o === "center",
|
|
405
405
|
"justify-start": o === "left",
|
|
@@ -587,9 +587,9 @@ const P = "thead", Q = "tfoot", N = "tbody", O = {
|
|
|
587
587
|
raw: t,
|
|
588
588
|
mode: a,
|
|
589
589
|
focusMode: o,
|
|
590
|
-
disabled:
|
|
590
|
+
disabled: c,
|
|
591
591
|
fullWidth: n,
|
|
592
|
-
size:
|
|
592
|
+
size: l,
|
|
593
593
|
noBorder: d,
|
|
594
594
|
labelRight: u,
|
|
595
595
|
labelLeft: m,
|
|
@@ -607,14 +607,14 @@ const P = "thead", Q = "tfoot", N = "tbody", O = {
|
|
|
607
607
|
noTruncate: b,
|
|
608
608
|
radius: w
|
|
609
609
|
}),
|
|
610
|
-
Pe({ type: e, size:
|
|
610
|
+
Pe({ type: e, size: l, labelRight: u, labelLeft: m, align: p }),
|
|
611
611
|
We({ mode: a, variant: h, noBorder: d }),
|
|
612
612
|
je({ focusMode: o }),
|
|
613
|
-
Ge({ mode: a, variant: h, disabled:
|
|
614
|
-
De({ mode: a, variant: h, disabled:
|
|
613
|
+
Ge({ mode: a, variant: h, disabled: c }),
|
|
614
|
+
De({ mode: a, variant: h, disabled: c }),
|
|
615
615
|
{
|
|
616
616
|
"w-full": n,
|
|
617
|
-
"disabled:cursor-not-allowed disabled:opacity-50":
|
|
617
|
+
"disabled:cursor-not-allowed disabled:opacity-50": c
|
|
618
618
|
},
|
|
619
619
|
r
|
|
620
620
|
)), Je = (e, r, t) => {
|
|
@@ -626,8 +626,8 @@ const P = "thead", Q = "tfoot", N = "tbody", O = {
|
|
|
626
626
|
"button",
|
|
627
627
|
{
|
|
628
628
|
ref: r,
|
|
629
|
-
onClick: (
|
|
630
|
-
Je(
|
|
629
|
+
onClick: (c) => {
|
|
630
|
+
Je(c, a, t);
|
|
631
631
|
},
|
|
632
632
|
...o
|
|
633
633
|
}
|
|
@@ -635,13 +635,13 @@ const P = "thead", Q = "tfoot", N = "tbody", O = {
|
|
|
635
635
|
});
|
|
636
636
|
se.displayName = "BaseButton";
|
|
637
637
|
/*!
|
|
638
|
-
@versini/ui-button
|
|
638
|
+
@versini/ui-button v3.0.1
|
|
639
639
|
© 2024 gizmette.com
|
|
640
640
|
*/
|
|
641
641
|
try {
|
|
642
642
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
643
|
-
version: "
|
|
644
|
-
buildTime: "12/30/2024
|
|
643
|
+
version: "3.0.1",
|
|
644
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
645
645
|
homepage: "https://github.com/aversini/ui-components",
|
|
646
646
|
license: "MIT"
|
|
647
647
|
});
|
|
@@ -654,9 +654,9 @@ const de = U.forwardRef(
|
|
|
654
654
|
mode: t = "system",
|
|
655
655
|
focusMode: a = "system",
|
|
656
656
|
fullWidth: o = !1,
|
|
657
|
-
className:
|
|
657
|
+
className: c,
|
|
658
658
|
type: n = "button",
|
|
659
|
-
raw:
|
|
659
|
+
raw: l = !1,
|
|
660
660
|
noBorder: d = !1,
|
|
661
661
|
"aria-label": u,
|
|
662
662
|
label: m,
|
|
@@ -668,15 +668,15 @@ const de = U.forwardRef(
|
|
|
668
668
|
active: S = !1,
|
|
669
669
|
radius: B = "large",
|
|
670
670
|
...H
|
|
671
|
-
},
|
|
671
|
+
}, z) => {
|
|
672
672
|
const F = qe({
|
|
673
|
-
type:
|
|
673
|
+
type: le,
|
|
674
674
|
mode: t,
|
|
675
675
|
focusMode: a,
|
|
676
676
|
fullWidth: o,
|
|
677
677
|
disabled: r,
|
|
678
|
-
raw:
|
|
679
|
-
className:
|
|
678
|
+
raw: l,
|
|
679
|
+
className: c,
|
|
680
680
|
noBorder: d,
|
|
681
681
|
size: g,
|
|
682
682
|
labelRight: h,
|
|
@@ -685,10 +685,10 @@ const de = U.forwardRef(
|
|
|
685
685
|
align: w,
|
|
686
686
|
radius: B
|
|
687
687
|
}), G = i({
|
|
688
|
-
"text-copy-accent-dark": t === "light" && !
|
|
689
|
-
"text-copy-light": t === "dark" && !
|
|
690
|
-
"text-copy-accent-dark dark:text-copy-light": t === "alt-system" && !
|
|
691
|
-
"text-copy-light dark:text-copy-accent-dark": t === "system" && !
|
|
688
|
+
"text-copy-accent-dark": t === "light" && !l,
|
|
689
|
+
"text-copy-light": t === "dark" && !l,
|
|
690
|
+
"text-copy-accent-dark dark:text-copy-light": t === "alt-system" && !l,
|
|
691
|
+
"text-copy-light dark:text-copy-accent-dark": t === "system" && !l
|
|
692
692
|
}), f = S ? i(
|
|
693
693
|
"relative",
|
|
694
694
|
"focus-within:static",
|
|
@@ -709,7 +709,7 @@ const de = U.forwardRef(
|
|
|
709
709
|
return /* @__PURE__ */ s("div", { className: f, children: /* @__PURE__ */ x(
|
|
710
710
|
se,
|
|
711
711
|
{
|
|
712
|
-
ref:
|
|
712
|
+
ref: z,
|
|
713
713
|
className: F,
|
|
714
714
|
disabled: r,
|
|
715
715
|
type: n,
|
|
@@ -731,13 +731,13 @@ const X = ({
|
|
|
731
731
|
viewBox: t,
|
|
732
732
|
className: a,
|
|
733
733
|
defaultViewBox: o,
|
|
734
|
-
|
|
734
|
+
size: c,
|
|
735
735
|
title: n,
|
|
736
|
-
semantic:
|
|
736
|
+
semantic: l = !1,
|
|
737
737
|
...d
|
|
738
738
|
}) => {
|
|
739
|
-
const u = i(a
|
|
740
|
-
return /* @__PURE__ */ x(
|
|
739
|
+
const u = i(c, a);
|
|
740
|
+
return /* @__PURE__ */ x(Te, { children: [
|
|
741
741
|
/* @__PURE__ */ s(
|
|
742
742
|
"svg",
|
|
743
743
|
{
|
|
@@ -746,23 +746,23 @@ const X = ({
|
|
|
746
746
|
viewBox: t || o,
|
|
747
747
|
fill: r || "currentColor",
|
|
748
748
|
role: "img",
|
|
749
|
-
"aria-hidden": !
|
|
749
|
+
"aria-hidden": !l,
|
|
750
750
|
focusable: !1,
|
|
751
751
|
...d,
|
|
752
752
|
children: e
|
|
753
753
|
}
|
|
754
754
|
),
|
|
755
|
-
n &&
|
|
755
|
+
n && l && /* @__PURE__ */ s("span", { className: "sr-only", children: n })
|
|
756
756
|
] });
|
|
757
757
|
};
|
|
758
758
|
/*!
|
|
759
|
-
@versini/ui-svgicon
|
|
759
|
+
@versini/ui-svgicon v3.0.1
|
|
760
760
|
© 2024 gizmette.com
|
|
761
761
|
*/
|
|
762
762
|
try {
|
|
763
763
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
764
|
-
version: "
|
|
765
|
-
buildTime: "12/30/2024
|
|
764
|
+
version: "3.0.1",
|
|
765
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
766
766
|
homepage: "https://github.com/aversini/ui-components",
|
|
767
767
|
license: "MIT"
|
|
768
768
|
});
|
|
@@ -778,7 +778,7 @@ const Qe = ({
|
|
|
778
778
|
X,
|
|
779
779
|
{
|
|
780
780
|
defaultViewBox: "0 0 576 512",
|
|
781
|
-
|
|
781
|
+
size: "size-5",
|
|
782
782
|
viewBox: r,
|
|
783
783
|
className: e,
|
|
784
784
|
title: t || "Sort",
|
|
@@ -804,7 +804,7 @@ const Qe = ({
|
|
|
804
804
|
X,
|
|
805
805
|
{
|
|
806
806
|
defaultViewBox: "0 0 576 512",
|
|
807
|
-
|
|
807
|
+
size: "size-5",
|
|
808
808
|
viewBox: r,
|
|
809
809
|
className: e,
|
|
810
810
|
title: t || "Sort Down",
|
|
@@ -830,7 +830,7 @@ const Qe = ({
|
|
|
830
830
|
X,
|
|
831
831
|
{
|
|
832
832
|
defaultViewBox: "0 0 576 512",
|
|
833
|
-
|
|
833
|
+
size: "size-5",
|
|
834
834
|
viewBox: r,
|
|
835
835
|
className: e,
|
|
836
836
|
title: t || "Sort Up",
|
|
@@ -848,19 +848,19 @@ const Qe = ({
|
|
|
848
848
|
}
|
|
849
849
|
);
|
|
850
850
|
/*!
|
|
851
|
-
@versini/ui-icons
|
|
851
|
+
@versini/ui-icons v3.0.1
|
|
852
852
|
© 2024 gizmette.com
|
|
853
853
|
*/
|
|
854
854
|
try {
|
|
855
855
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
856
|
-
version: "
|
|
857
|
-
buildTime: "12/30/2024
|
|
856
|
+
version: "3.0.1",
|
|
857
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
858
858
|
homepage: "https://github.com/aversini/ui-components",
|
|
859
859
|
license: "MIT"
|
|
860
860
|
});
|
|
861
861
|
} catch {
|
|
862
862
|
}
|
|
863
|
-
const
|
|
863
|
+
const N = U.createContext({
|
|
864
864
|
mode: "light",
|
|
865
865
|
cellWrapper: "thead",
|
|
866
866
|
stickyHeader: !1,
|
|
@@ -872,30 +872,30 @@ const T = U.createContext({
|
|
|
872
872
|
caption: t,
|
|
873
873
|
compact: a,
|
|
874
874
|
summary: o,
|
|
875
|
-
className:
|
|
875
|
+
className: c,
|
|
876
876
|
wrapperClassName: n,
|
|
877
|
-
maxHeight:
|
|
877
|
+
maxHeight: l,
|
|
878
878
|
stickyHeader: d,
|
|
879
879
|
stickyFooter: u,
|
|
880
880
|
...m
|
|
881
881
|
}) => {
|
|
882
882
|
const g = Be({
|
|
883
883
|
mode: r,
|
|
884
|
-
className:
|
|
884
|
+
className: c,
|
|
885
885
|
wrapperClassName: n,
|
|
886
886
|
stickyHeader: d,
|
|
887
887
|
stickyFooter: u
|
|
888
888
|
});
|
|
889
889
|
return /* @__PURE__ */ s(
|
|
890
|
-
|
|
890
|
+
N.Provider,
|
|
891
891
|
{
|
|
892
892
|
value: { mode: r, stickyHeader: d, stickyFooter: u, compact: a },
|
|
893
893
|
children: /* @__PURE__ */ s(
|
|
894
894
|
"div",
|
|
895
895
|
{
|
|
896
896
|
className: g.wrapper,
|
|
897
|
-
...
|
|
898
|
-
style: { maxHeight:
|
|
897
|
+
...l && {
|
|
898
|
+
style: { maxHeight: l }
|
|
899
899
|
},
|
|
900
900
|
children: /* @__PURE__ */ x("table", { className: g.table, summary: o, ...m, children: [
|
|
901
901
|
t && /* @__PURE__ */ s("caption", { className: g.caption, children: t }),
|
|
@@ -910,7 +910,7 @@ const T = U.createContext({
|
|
|
910
910
|
className: r,
|
|
911
911
|
...t
|
|
912
912
|
}) => {
|
|
913
|
-
const a = R(
|
|
913
|
+
const a = R(N);
|
|
914
914
|
a.cellWrapper = P;
|
|
915
915
|
const o = He({
|
|
916
916
|
className: r,
|
|
@@ -923,23 +923,23 @@ const T = U.createContext({
|
|
|
923
923
|
className: r,
|
|
924
924
|
...t
|
|
925
925
|
}) => {
|
|
926
|
-
const a = R(
|
|
926
|
+
const a = R(N);
|
|
927
927
|
a.cellWrapper = Q;
|
|
928
|
-
const o =
|
|
928
|
+
const o = ze({
|
|
929
929
|
className: r,
|
|
930
930
|
mode: a.mode,
|
|
931
931
|
stickyFooter: a.stickyFooter
|
|
932
932
|
});
|
|
933
933
|
return /* @__PURE__ */ s("tfoot", { className: o, ...t, children: e });
|
|
934
934
|
}, Bt = ({ children: e, ...r }) => {
|
|
935
|
-
const t = R(
|
|
936
|
-
return t.cellWrapper =
|
|
935
|
+
const t = R(N);
|
|
936
|
+
return t.cellWrapper = T, /* @__PURE__ */ s("tbody", { ...r, children: e });
|
|
937
937
|
}, Ht = ({
|
|
938
938
|
children: e,
|
|
939
939
|
className: r,
|
|
940
940
|
...t
|
|
941
941
|
}) => {
|
|
942
|
-
const a = R(
|
|
942
|
+
const a = R(N), o = Le({
|
|
943
943
|
mode: a.mode,
|
|
944
944
|
cellWrapper: a.cellWrapper,
|
|
945
945
|
className: r
|
|
@@ -951,22 +951,22 @@ const T = U.createContext({
|
|
|
951
951
|
className: t,
|
|
952
952
|
...a
|
|
953
953
|
}) => {
|
|
954
|
-
const o = R(
|
|
954
|
+
const o = R(N), c = r || (o.cellWrapper === P ? "th" : "td"), n = Ve({
|
|
955
955
|
cellWrapper: o.cellWrapper,
|
|
956
956
|
className: t,
|
|
957
957
|
mode: o.mode,
|
|
958
958
|
compact: o.compact
|
|
959
959
|
});
|
|
960
|
-
return /* @__PURE__ */ s(
|
|
961
|
-
},
|
|
960
|
+
return /* @__PURE__ */ s(c, { className: n, ...a, children: e });
|
|
961
|
+
}, zt = ({
|
|
962
962
|
align: e,
|
|
963
963
|
children: r,
|
|
964
964
|
buttonClassName: t,
|
|
965
965
|
className: a,
|
|
966
966
|
component: o,
|
|
967
|
-
focusMode:
|
|
967
|
+
focusMode: c = "alt-system",
|
|
968
968
|
mode: n = "alt-system",
|
|
969
|
-
onClick:
|
|
969
|
+
onClick: l,
|
|
970
970
|
sortDirection: d,
|
|
971
971
|
sortedCell: u,
|
|
972
972
|
cellId: m,
|
|
@@ -986,10 +986,10 @@ const T = U.createContext({
|
|
|
986
986
|
{
|
|
987
987
|
active: u === m,
|
|
988
988
|
className: h,
|
|
989
|
-
onClick:
|
|
989
|
+
onClick: l,
|
|
990
990
|
align: e,
|
|
991
991
|
noBorder: !0,
|
|
992
|
-
focusMode:
|
|
992
|
+
focusMode: c,
|
|
993
993
|
mode: n,
|
|
994
994
|
fullWidth: !0,
|
|
995
995
|
labelRight: r,
|
|
@@ -1000,13 +1000,13 @@ const T = U.createContext({
|
|
|
1000
1000
|
);
|
|
1001
1001
|
};
|
|
1002
1002
|
/*!
|
|
1003
|
-
@versini/ui-textarea v2.0.
|
|
1003
|
+
@versini/ui-textarea v2.0.4
|
|
1004
1004
|
© 2024 gizmette.com
|
|
1005
1005
|
*/
|
|
1006
1006
|
try {
|
|
1007
1007
|
window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
|
|
1008
|
-
version: "2.0.
|
|
1009
|
-
buildTime: "12/30/2024
|
|
1008
|
+
version: "2.0.4",
|
|
1009
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
1010
1010
|
homepage: "https://github.com/aversini/ui-components",
|
|
1011
1011
|
license: "MIT"
|
|
1012
1012
|
});
|
|
@@ -1038,10 +1038,10 @@ const at = {
|
|
|
1038
1038
|
right: 0
|
|
1039
1039
|
};
|
|
1040
1040
|
function ot(e) {
|
|
1041
|
-
const r = tt(), t = k(0), a = k(null), [o,
|
|
1042
|
-
const d =
|
|
1041
|
+
const r = tt(), t = k(0), a = k(null), [o, c] = $(at), n = ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((l) => {
|
|
1042
|
+
const d = l[0];
|
|
1043
1043
|
d && (cancelAnimationFrame(t.current), t.current = requestAnimationFrame(() => {
|
|
1044
|
-
a.current && r() &&
|
|
1044
|
+
a.current && r() && c(d.contentRect);
|
|
1045
1045
|
}));
|
|
1046
1046
|
}), [r]);
|
|
1047
1047
|
return A(() => (a.current && (n == null || n.observe(a.current, e)), () => {
|
|
@@ -1056,16 +1056,16 @@ function it({
|
|
|
1056
1056
|
},
|
|
1057
1057
|
initialControlledDelay: o = 0
|
|
1058
1058
|
}) {
|
|
1059
|
-
const [
|
|
1059
|
+
const [c, n] = $(!1), [l, d] = $(
|
|
1060
1060
|
r !== void 0 ? r : t
|
|
1061
1061
|
), u = (m) => {
|
|
1062
1062
|
d(m), a == null || a(m);
|
|
1063
1063
|
};
|
|
1064
1064
|
return A(() => {
|
|
1065
|
-
(async () => e !== void 0 && !
|
|
1065
|
+
(async () => e !== void 0 && !c && o > 0 && (await new Promise(
|
|
1066
1066
|
(m) => setTimeout(m, o)
|
|
1067
1067
|
), n(!0)))();
|
|
1068
|
-
}, [e, o,
|
|
1068
|
+
}, [e, o, c]), e !== void 0 ? !c && o > 0 ? ["", a, !0] : [e, a, !0] : [l, u, !1];
|
|
1069
1069
|
}
|
|
1070
1070
|
function nt(e) {
|
|
1071
1071
|
const r = Ce();
|
|
@@ -1078,7 +1078,7 @@ function nt(e) {
|
|
|
1078
1078
|
return typeof t == "number" || typeof t == "string" ? `${a}${t}` : `${a}${r}`;
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
1081
|
-
const me = "SET_ANNOUNCEMENT", he = "CLEAR_ANNOUNCEMENT",
|
|
1081
|
+
const me = "SET_ANNOUNCEMENT", he = "CLEAR_ANNOUNCEMENT", ct = {
|
|
1082
1082
|
alert: null,
|
|
1083
1083
|
alertdialog: null,
|
|
1084
1084
|
log: "polite",
|
|
@@ -1086,7 +1086,7 @@ const me = "SET_ANNOUNCEMENT", he = "CLEAR_ANNOUNCEMENT", lt = {
|
|
|
1086
1086
|
progressbar: null,
|
|
1087
1087
|
status: "polite",
|
|
1088
1088
|
timer: "assertive"
|
|
1089
|
-
},
|
|
1089
|
+
}, lt = (e, r) => {
|
|
1090
1090
|
switch (r == null ? void 0 : r.type) {
|
|
1091
1091
|
case me:
|
|
1092
1092
|
return {
|
|
@@ -1131,20 +1131,20 @@ const me = "SET_ANNOUNCEMENT", he = "CLEAR_ANNOUNCEMENT", lt = {
|
|
|
1131
1131
|
announcementDelay: t,
|
|
1132
1132
|
clearAnnouncementDelay: a,
|
|
1133
1133
|
clearAnnouncementTimeoutRef: o,
|
|
1134
|
-
onAnnouncementClear:
|
|
1134
|
+
onAnnouncementClear: c,
|
|
1135
1135
|
dispatch: n
|
|
1136
1136
|
}) => {
|
|
1137
1137
|
clearTimeout(r.current), t ? r.current = setTimeout(oe, t, {
|
|
1138
1138
|
children: e,
|
|
1139
1139
|
clearAnnouncementDelay: a,
|
|
1140
1140
|
clearAnnouncementTimeoutRef: o,
|
|
1141
|
-
onAnnouncementClear:
|
|
1141
|
+
onAnnouncementClear: c,
|
|
1142
1142
|
dispatch: n
|
|
1143
1143
|
}) : oe({
|
|
1144
1144
|
children: e,
|
|
1145
1145
|
clearAnnouncementDelay: a,
|
|
1146
1146
|
clearAnnouncementTimeoutRef: o,
|
|
1147
|
-
onAnnouncementClear:
|
|
1147
|
+
onAnnouncementClear: c,
|
|
1148
1148
|
dispatch: n
|
|
1149
1149
|
});
|
|
1150
1150
|
};
|
|
@@ -1154,21 +1154,21 @@ function ut({
|
|
|
1154
1154
|
politeness: t,
|
|
1155
1155
|
role: a = null,
|
|
1156
1156
|
announcementDelay: o,
|
|
1157
|
-
clearAnnouncementDelay:
|
|
1157
|
+
clearAnnouncementDelay: c,
|
|
1158
1158
|
onAnnouncementClear: n,
|
|
1159
|
-
visible:
|
|
1159
|
+
visible: l,
|
|
1160
1160
|
...d
|
|
1161
1161
|
}) {
|
|
1162
|
-
const u = k(null), m = k(null), [g, h] = Ie(
|
|
1162
|
+
const u = k(null), m = k(null), [g, h] = Ie(lt, {
|
|
1163
1163
|
announcement: null
|
|
1164
1164
|
});
|
|
1165
1165
|
let b = t;
|
|
1166
|
-
typeof b > "u" && (b = a ?
|
|
1166
|
+
typeof b > "u" && (b = a ? ct[a] : "assertive"), A(() => {
|
|
1167
1167
|
dt({
|
|
1168
1168
|
announcementTimeoutRef: u,
|
|
1169
1169
|
announcementDelay: o,
|
|
1170
1170
|
children: e,
|
|
1171
|
-
clearAnnouncementDelay:
|
|
1171
|
+
clearAnnouncementDelay: c,
|
|
1172
1172
|
clearAnnouncementTimeoutRef: m,
|
|
1173
1173
|
onAnnouncementClear: n,
|
|
1174
1174
|
dispatch: h
|
|
@@ -1176,11 +1176,11 @@ function ut({
|
|
|
1176
1176
|
}, [
|
|
1177
1177
|
e,
|
|
1178
1178
|
o,
|
|
1179
|
-
|
|
1179
|
+
c,
|
|
1180
1180
|
n
|
|
1181
1181
|
]);
|
|
1182
1182
|
const p = i(r, {
|
|
1183
|
-
"sr-only": !
|
|
1183
|
+
"sr-only": !l
|
|
1184
1184
|
});
|
|
1185
1185
|
return /* @__PURE__ */ s(
|
|
1186
1186
|
"div",
|
|
@@ -1194,13 +1194,13 @@ function ut({
|
|
|
1194
1194
|
);
|
|
1195
1195
|
}
|
|
1196
1196
|
/*!
|
|
1197
|
-
@versini/ui-liveregion v1.2.
|
|
1197
|
+
@versini/ui-liveregion v1.2.6
|
|
1198
1198
|
© 2024 gizmette.com
|
|
1199
1199
|
*/
|
|
1200
1200
|
try {
|
|
1201
1201
|
window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
|
|
1202
|
-
version: "1.2.
|
|
1203
|
-
buildTime: "12/30/2024
|
|
1202
|
+
version: "1.2.6",
|
|
1203
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
1204
1204
|
homepage: "https://github.com/aversini/ui-components",
|
|
1205
1205
|
license: "MIT"
|
|
1206
1206
|
});
|
|
@@ -1285,9 +1285,9 @@ const mt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1285
1285
|
raw: t,
|
|
1286
1286
|
focusMode: a,
|
|
1287
1287
|
disabled: o,
|
|
1288
|
-
noBorder:
|
|
1288
|
+
noBorder: c,
|
|
1289
1289
|
error: n,
|
|
1290
|
-
mode:
|
|
1290
|
+
mode: l
|
|
1291
1291
|
}) => {
|
|
1292
1292
|
const d = t ? e : i(
|
|
1293
1293
|
"relative flex w-full flex-col justify-center",
|
|
@@ -1297,10 +1297,10 @@ const mt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1297
1297
|
ue,
|
|
1298
1298
|
r,
|
|
1299
1299
|
mt(),
|
|
1300
|
-
ht({ mode:
|
|
1300
|
+
ht({ mode: l }),
|
|
1301
1301
|
gt({ focusMode: a }),
|
|
1302
1302
|
bt({
|
|
1303
|
-
noBorder:
|
|
1303
|
+
noBorder: c,
|
|
1304
1304
|
error: n
|
|
1305
1305
|
}),
|
|
1306
1306
|
{
|
|
@@ -1310,11 +1310,11 @@ const mt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1310
1310
|
disabled: o,
|
|
1311
1311
|
raw: t,
|
|
1312
1312
|
error: n,
|
|
1313
|
-
mode:
|
|
1313
|
+
mode: l
|
|
1314
1314
|
}), h = yt({
|
|
1315
1315
|
error: n,
|
|
1316
1316
|
raw: t,
|
|
1317
|
-
mode:
|
|
1317
|
+
mode: l,
|
|
1318
1318
|
disabled: o
|
|
1319
1319
|
}), b = t ? void 0 : i(et, "absolute");
|
|
1320
1320
|
return {
|
|
@@ -1331,14 +1331,14 @@ const mt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1331
1331
|
currentLabelOffset: t = 0,
|
|
1332
1332
|
currentHelperTextOffset: a = 0
|
|
1333
1333
|
}) => {
|
|
1334
|
-
let o,
|
|
1334
|
+
let o, c;
|
|
1335
1335
|
if (e > 0 && e !== r) {
|
|
1336
|
-
const n = e - r,
|
|
1337
|
-
o = t + -1 * Math.sign(n) * (12 *
|
|
1336
|
+
const n = e - r, l = Math.abs(n / 24);
|
|
1337
|
+
o = t + -1 * Math.sign(n) * (12 * l), c = a + Math.sign(n) * (12 * l);
|
|
1338
1338
|
}
|
|
1339
1339
|
return {
|
|
1340
1340
|
labelOffset: o,
|
|
1341
|
-
helperTextOffset:
|
|
1341
|
+
helperTextOffset: c,
|
|
1342
1342
|
scrollHeight: e
|
|
1343
1343
|
};
|
|
1344
1344
|
}, vt = U.forwardRef(
|
|
@@ -1348,9 +1348,9 @@ const mt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1348
1348
|
label: t,
|
|
1349
1349
|
error: a = !1,
|
|
1350
1350
|
raw: o = !1,
|
|
1351
|
-
className:
|
|
1351
|
+
className: c,
|
|
1352
1352
|
textAreaClassName: n,
|
|
1353
|
-
mode:
|
|
1353
|
+
mode: l = "system",
|
|
1354
1354
|
focusMode: d = "system",
|
|
1355
1355
|
value: u,
|
|
1356
1356
|
defaultValue: m,
|
|
@@ -1362,20 +1362,20 @@ const mt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1362
1362
|
rightElement: S,
|
|
1363
1363
|
onChange: B,
|
|
1364
1364
|
onFocus: H,
|
|
1365
|
-
onBlur:
|
|
1365
|
+
onBlur: z,
|
|
1366
1366
|
...F
|
|
1367
1367
|
}, G) => {
|
|
1368
|
-
const f = k(null), ge = rt([G, f]), [be,
|
|
1368
|
+
const f = k(null), ge = rt([G, f]), [be, L] = ot(), D = k(80), Y = k(-25), C = k(null), K = k(30), W = k(null), I = nt({ id: e, prefix: `${ue}-` }), [pe, ye] = $(0), [fe, Z] = $(
|
|
1369
1369
|
!!(!w && p)
|
|
1370
1370
|
), ke = `${r} error, ${p}`, E = ft({
|
|
1371
|
-
className:
|
|
1371
|
+
className: c,
|
|
1372
1372
|
textAreaClassName: n,
|
|
1373
1373
|
error: a,
|
|
1374
1374
|
raw: o,
|
|
1375
1375
|
focusMode: d,
|
|
1376
1376
|
disabled: g,
|
|
1377
1377
|
noBorder: h,
|
|
1378
|
-
mode:
|
|
1378
|
+
mode: l
|
|
1379
1379
|
}), [v, ve] = it({
|
|
1380
1380
|
value: u,
|
|
1381
1381
|
initialControlledDelay: 20,
|
|
@@ -1392,11 +1392,11 @@ const mt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1392
1392
|
}, xe = (y) => {
|
|
1393
1393
|
w && p && Z(!0), H && H(y);
|
|
1394
1394
|
}, we = (y) => {
|
|
1395
|
-
w && p && !v && Z(!1),
|
|
1395
|
+
w && p && !v && Z(!1), z && z(y);
|
|
1396
1396
|
};
|
|
1397
1397
|
return V(() => {
|
|
1398
|
-
|
|
1399
|
-
}, [
|
|
1398
|
+
L && L.width && ye(L.width + 18 + 10);
|
|
1399
|
+
}, [L]), V(() => {
|
|
1400
1400
|
o || f && f.current && v !== void 0 && (f.current.style.height = "inherit", f.current.style.height = f.current.scrollHeight + "px");
|
|
1401
1401
|
}, [v, o]), V(() => {
|
|
1402
1402
|
o || setTimeout(() => {
|
|
@@ -1486,14 +1486,14 @@ const mt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1486
1486
|
);
|
|
1487
1487
|
vt.displayName = "TextArea";
|
|
1488
1488
|
export {
|
|
1489
|
-
|
|
1489
|
+
Nt as E,
|
|
1490
1490
|
vt as Le,
|
|
1491
1491
|
St as SERVICE_TYPES,
|
|
1492
|
-
|
|
1492
|
+
zt as be,
|
|
1493
1493
|
$t as ce,
|
|
1494
1494
|
O as f,
|
|
1495
1495
|
Bt as ge,
|
|
1496
|
-
|
|
1496
|
+
Tt as h,
|
|
1497
1497
|
Ht as he,
|
|
1498
1498
|
Rt as ne,
|
|
1499
1499
|
Ke as oe,
|