reend-components 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +172 -98
- package/dist/bin/cli.cjs +289 -228
- package/dist/lib/index.cjs +2 -2
- package/dist/lib/index.cjs.map +1 -1
- package/dist/lib/index.mjs +386 -273
- package/dist/lib/index.mjs.map +1 -1
- package/dist/tailwind/index.cjs +492 -0
- package/dist/tailwind/index.mjs +462 -0
- package/package.json +20 -10
- package/src/tailwind-preset.ts +0 -1
package/dist/lib/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import * as F from "@radix-ui/react-toast";
|
|
|
8
8
|
import { cva as O } from "class-variance-authority";
|
|
9
9
|
import { X as dt, Moon as ct, Sun as ut, Crosshair as pt, Terminal as ft, AlertTriangle as mt } from "lucide-react";
|
|
10
10
|
import { Toaster as bt, toast as J } from "sonner";
|
|
11
|
-
import { toast as
|
|
11
|
+
import { toast as Cn } from "sonner";
|
|
12
12
|
import { Slot as xt } from "@radix-ui/react-slot";
|
|
13
13
|
import * as ge from "@radix-ui/react-checkbox";
|
|
14
14
|
import * as Ve from "@radix-ui/react-radio-group";
|
|
@@ -23,13 +23,13 @@ import * as H from "@radix-ui/react-dialog";
|
|
|
23
23
|
import * as gt from "@radix-ui/react-separator";
|
|
24
24
|
import * as xe from "react-dom";
|
|
25
25
|
import { Separator as ht } from "react-resizable-panels";
|
|
26
|
-
import { Panel as
|
|
26
|
+
import { Panel as Mn, Group as Ln, Separator as On } from "react-resizable-panels";
|
|
27
27
|
import "recharts";
|
|
28
28
|
import { AnimatePresence as yt, motion as ue, useInView as vt } from "framer-motion";
|
|
29
29
|
function l(...t) {
|
|
30
30
|
return lt(it(t));
|
|
31
31
|
}
|
|
32
|
-
const
|
|
32
|
+
const xn = q.Provider, gn = q.Root, hn = q.Trigger, Nt = s.forwardRef(({ className: t, sideOffset: r = 4, ...a }, o) => /* @__PURE__ */ e(
|
|
33
33
|
q.Content,
|
|
34
34
|
{
|
|
35
35
|
ref: o,
|
|
@@ -211,7 +211,7 @@ function Dt() {
|
|
|
211
211
|
dismiss: (a) => W({ type: "DISMISS_TOAST", toastId: a })
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function yn() {
|
|
215
215
|
const { toasts: t } = Dt();
|
|
216
216
|
return /* @__PURE__ */ u(wt, { children: [
|
|
217
217
|
t.map(function({ id: r, title: a, description: o, action: n, ...i }) {
|
|
@@ -227,7 +227,7 @@ function hn() {
|
|
|
227
227
|
/* @__PURE__ */ e(Be, {})
|
|
228
228
|
] });
|
|
229
229
|
}
|
|
230
|
-
const
|
|
230
|
+
const vn = ({ theme: t = "dark", ...r }) => /* @__PURE__ */ e(
|
|
231
231
|
bt,
|
|
232
232
|
{
|
|
233
233
|
theme: t,
|
|
@@ -253,7 +253,7 @@ const yn = ({ theme: t = "dark", ...r }) => /* @__PURE__ */ e(
|
|
|
253
253
|
},
|
|
254
254
|
...r
|
|
255
255
|
}
|
|
256
|
-
),
|
|
256
|
+
), Nn = {
|
|
257
257
|
info: (t, r) => J(t, { duration: 5e3, ...r }),
|
|
258
258
|
success: (t, r) => J.success(t, { duration: 4e3, ...r }),
|
|
259
259
|
warning: (t, r) => J.warning(t, { duration: 8e3, ...r }),
|
|
@@ -539,7 +539,7 @@ const Ht = s.forwardRef(
|
|
|
539
539
|
);
|
|
540
540
|
Ht.displayName = "LinkCard";
|
|
541
541
|
const Yt = 'a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])';
|
|
542
|
-
function
|
|
542
|
+
function wn(t, r = !0) {
|
|
543
543
|
me(() => {
|
|
544
544
|
if (!r || !t.current) return;
|
|
545
545
|
const a = t.current, o = () => Array.from(a.querySelectorAll(Yt)), n = (i) => {
|
|
@@ -552,7 +552,7 @@ function Nn(t, r = !0) {
|
|
|
552
552
|
return a.addEventListener("keydown", n), () => a.removeEventListener("keydown", n);
|
|
553
553
|
}, [t, r]);
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function kn(t, r, a = {}) {
|
|
556
556
|
me(() => {
|
|
557
557
|
const { meta: o = !1, ctrl: n = !1, shift: i = !1, preventDefault: c = !0 } = a, d = (p) => {
|
|
558
558
|
o && !p.metaKey || n && !(p.ctrlKey || p.metaKey) || i && !p.shiftKey || p.key.toLowerCase() === t.toLowerCase() && (c && p.preventDefault(), r());
|
|
@@ -560,7 +560,7 @@ function wn(t, r, a = {}) {
|
|
|
560
560
|
return window.addEventListener("keydown", d), () => window.removeEventListener("keydown", d);
|
|
561
561
|
}, [t, r, a]);
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function Tn(t, r = {}) {
|
|
564
564
|
const { threshold: a = 0.1, once: o = !0 } = r, [n, i] = nt(() => typeof window < "u" ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1), c = st(n);
|
|
565
565
|
return c.current = n, me(() => {
|
|
566
566
|
if (typeof window > "u" || c.current && o) return;
|
|
@@ -575,7 +575,7 @@ function kn(t, r = {}) {
|
|
|
575
575
|
return p.observe(d), () => p.disconnect();
|
|
576
576
|
}, [t, a, o]), n;
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function Sn(t, r = 100) {
|
|
579
579
|
return Array.from({ length: t }, (a, o) => `${o * r}ms`);
|
|
580
580
|
}
|
|
581
581
|
const Ut = O(
|
|
@@ -3572,7 +3572,7 @@ const Sa = ({ direction: t = "horizontal", className: r, ...a }) => /* @__PURE__
|
|
|
3572
3572
|
}
|
|
3573
3573
|
);
|
|
3574
3574
|
Sa.displayName = "ResizeHandle";
|
|
3575
|
-
const
|
|
3575
|
+
const Rn = [
|
|
3576
3576
|
"var(--chart-1)",
|
|
3577
3577
|
"var(--chart-2)",
|
|
3578
3578
|
"var(--chart-3)",
|
|
@@ -3581,20 +3581,26 @@ const Sn = [
|
|
|
3581
3581
|
"var(--chart-6)",
|
|
3582
3582
|
"var(--chart-7)",
|
|
3583
3583
|
"var(--chart-8)"
|
|
3584
|
-
],
|
|
3584
|
+
], En = {
|
|
3585
3585
|
backgroundColor: "transparent",
|
|
3586
3586
|
style: { fontFamily: "JetBrains Mono, monospace", fontSize: 11 },
|
|
3587
3587
|
tick: { fill: "hsl(var(--muted-foreground))" },
|
|
3588
3588
|
grid: { stroke: "hsl(var(--border))" }
|
|
3589
3589
|
};
|
|
3590
3590
|
function Ra(t) {
|
|
3591
|
-
return t.replace(
|
|
3591
|
+
return t.replace(/&/g, "&").replace(/</g, "<");
|
|
3592
3592
|
}
|
|
3593
|
-
function Ea(t
|
|
3593
|
+
function Ea(t) {
|
|
3594
|
+
return Ra(t).replace(/^### (.+)$/gm, "<h3>$1</h3>").replace(/^## (.+)$/gm, "<h2>$1</h2>").replace(/^# (.+)$/gm, "<h1>$1</h1>").replace(/^---$/gm, "<hr />").replace(/^> (.+)$/gm, "<blockquote>$1</blockquote>").replace(/^\d+\. (.+)$/gm, "<li>$1</li>").replace(/^[-*] (.+)$/gm, '<li class="ul">$1</li>').replace(/\*\*\*(.+?)\*\*\*/g, "<strong><em>$1</em></strong>").replace(/\*\*(.+?)\*\*/g, "<strong>$1</strong>").replace(/\*(.+?)\*/g, "<em>$1</em>").replace(/__(.+?)__/g, "<u>$1</u>").replace(/~~(.+?)~~/g, "<s>$1</s>").replace(/`(.+?)`/g, "<code>$1</code>").replace(/\[(.+?)\]\((.+?)\)/g, (r, a, o) => {
|
|
3595
|
+
const n = o.trim();
|
|
3596
|
+
return /^(https?:|mailto:|\/(?!\/))/i.test(n) ? `<a href="${n}" target="_blank" rel="noopener noreferrer">${a}</a>` : a;
|
|
3597
|
+
}).replace(/\n\n+/g, "</p><p>").replace(/^(?!<[hbloius])(.+)$/gm, (r) => r.trim() === "" ? "" : r.startsWith("<") ? r : `<p>${r}</p>`);
|
|
3598
|
+
}
|
|
3599
|
+
function Ia(t, r, a = r, o = "") {
|
|
3594
3600
|
const { selectionStart: n, selectionEnd: i, value: c } = t, d = c.slice(n, i) || o, p = c.slice(0, n) + r + d + a + c.slice(i), b = n + r.length + d.length;
|
|
3595
3601
|
return { newVal: p, newCursor: b };
|
|
3596
3602
|
}
|
|
3597
|
-
function
|
|
3603
|
+
function _a(t, r) {
|
|
3598
3604
|
const { selectionStart: a, value: o } = t, i = (a > 0 && o[a - 1] !== `
|
|
3599
3605
|
` ? `
|
|
3600
3606
|
` : "") + r + `
|
|
@@ -3615,7 +3621,7 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
|
|
|
3615
3621
|
"aria-pressed": a,
|
|
3616
3622
|
children: t
|
|
3617
3623
|
}
|
|
3618
|
-
), ie = () => /* @__PURE__ */ e("div", { className: "w-px h-5 bg-border mx-1.5 shrink-0", "aria-hidden": "true" }),
|
|
3624
|
+
), ie = () => /* @__PURE__ */ e("div", { className: "w-px h-5 bg-border mx-1.5 shrink-0", "aria-hidden": "true" }), Da = s.forwardRef(
|
|
3619
3625
|
({
|
|
3620
3626
|
value: t,
|
|
3621
3627
|
onChange: r,
|
|
@@ -3628,9 +3634,9 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
|
|
|
3628
3634
|
className: p,
|
|
3629
3635
|
id: b
|
|
3630
3636
|
}, f) => {
|
|
3631
|
-
const [m, v] = s.useState(
|
|
3632
|
-
|
|
3633
|
-
), N = s.useRef(null), h = t ?? m, y = i ?? x;
|
|
3637
|
+
const [m, v] = s.useState(
|
|
3638
|
+
t ?? ""
|
|
3639
|
+
), [x, g] = s.useState(i ?? "markdown"), N = s.useRef(null), h = t ?? m, y = i ?? x;
|
|
3634
3640
|
s.useEffect(() => {
|
|
3635
3641
|
t !== void 0 && v(t);
|
|
3636
3642
|
}, [t]);
|
|
@@ -3642,14 +3648,14 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
|
|
|
3642
3648
|
}, E = (R, k = R, C = "text") => {
|
|
3643
3649
|
const L = N.current;
|
|
3644
3650
|
if (!L || d) return;
|
|
3645
|
-
const { newVal: w, newCursor: _ } =
|
|
3651
|
+
const { newVal: w, newCursor: _ } = Ia(L, R, k, C), M = o ? w.slice(0, o) : w;
|
|
3646
3652
|
t === void 0 && v(M), r == null || r(M), requestAnimationFrame(() => {
|
|
3647
3653
|
L.focus(), L.setSelectionRange(_, _);
|
|
3648
3654
|
});
|
|
3649
3655
|
}, D = (R) => {
|
|
3650
3656
|
const k = N.current;
|
|
3651
3657
|
if (!k || d) return;
|
|
3652
|
-
const { newVal: C, newCursor: L } =
|
|
3658
|
+
const { newVal: C, newCursor: L } = _a(k, R), w = o ? C.slice(0, o) : C;
|
|
3653
3659
|
t === void 0 && v(w), r == null || r(w), requestAnimationFrame(() => {
|
|
3654
3660
|
k.focus(), k.setSelectionRange(L, L);
|
|
3655
3661
|
});
|
|
@@ -3666,23 +3672,121 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
|
|
|
3666
3672
|
),
|
|
3667
3673
|
children: [
|
|
3668
3674
|
/* @__PURE__ */ u("div", { className: "flex items-center gap-0.5 flex-wrap px-3 py-2 bg-surface-1 border border-border border-b-0", children: [
|
|
3669
|
-
/* @__PURE__ */ e(
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3675
|
+
/* @__PURE__ */ e(
|
|
3676
|
+
V,
|
|
3677
|
+
{
|
|
3678
|
+
label: "B",
|
|
3679
|
+
title: "Bold (**text**)",
|
|
3680
|
+
onClick: () => E("**", "**", "bold")
|
|
3681
|
+
}
|
|
3682
|
+
),
|
|
3683
|
+
/* @__PURE__ */ e(
|
|
3684
|
+
V,
|
|
3685
|
+
{
|
|
3686
|
+
label: "I",
|
|
3687
|
+
title: "Italic (*text*)",
|
|
3688
|
+
onClick: () => E("*", "*", "italic")
|
|
3689
|
+
}
|
|
3690
|
+
),
|
|
3691
|
+
/* @__PURE__ */ e(
|
|
3692
|
+
V,
|
|
3693
|
+
{
|
|
3694
|
+
label: "U",
|
|
3695
|
+
title: "Underline (__text__)",
|
|
3696
|
+
onClick: () => E("__", "__", "text")
|
|
3697
|
+
}
|
|
3698
|
+
),
|
|
3699
|
+
/* @__PURE__ */ e(
|
|
3700
|
+
V,
|
|
3701
|
+
{
|
|
3702
|
+
label: "S",
|
|
3703
|
+
title: "Strikethrough (~~text~~)",
|
|
3704
|
+
onClick: () => E("~~", "~~", "text")
|
|
3705
|
+
}
|
|
3706
|
+
),
|
|
3673
3707
|
/* @__PURE__ */ e(ie, {}),
|
|
3674
|
-
/* @__PURE__ */ e(
|
|
3675
|
-
|
|
3676
|
-
|
|
3708
|
+
/* @__PURE__ */ e(
|
|
3709
|
+
V,
|
|
3710
|
+
{
|
|
3711
|
+
label: "H1",
|
|
3712
|
+
title: "Heading 1",
|
|
3713
|
+
onClick: () => D("# Heading 1")
|
|
3714
|
+
}
|
|
3715
|
+
),
|
|
3716
|
+
/* @__PURE__ */ e(
|
|
3717
|
+
V,
|
|
3718
|
+
{
|
|
3719
|
+
label: "H2",
|
|
3720
|
+
title: "Heading 2",
|
|
3721
|
+
onClick: () => D("## Heading 2")
|
|
3722
|
+
}
|
|
3723
|
+
),
|
|
3724
|
+
/* @__PURE__ */ e(
|
|
3725
|
+
V,
|
|
3726
|
+
{
|
|
3727
|
+
label: "H3",
|
|
3728
|
+
title: "Heading 3",
|
|
3729
|
+
onClick: () => D("### Heading 3")
|
|
3730
|
+
}
|
|
3731
|
+
),
|
|
3677
3732
|
/* @__PURE__ */ e(ie, {}),
|
|
3678
|
-
/* @__PURE__ */ e(
|
|
3679
|
-
|
|
3680
|
-
|
|
3733
|
+
/* @__PURE__ */ e(
|
|
3734
|
+
V,
|
|
3735
|
+
{
|
|
3736
|
+
label: "❝",
|
|
3737
|
+
title: "Blockquote",
|
|
3738
|
+
onClick: () => D("> Quote")
|
|
3739
|
+
}
|
|
3740
|
+
),
|
|
3741
|
+
/* @__PURE__ */ e(
|
|
3742
|
+
V,
|
|
3743
|
+
{
|
|
3744
|
+
label: "≡",
|
|
3745
|
+
title: "Unordered list",
|
|
3746
|
+
onClick: () => D("- Item")
|
|
3747
|
+
}
|
|
3748
|
+
),
|
|
3749
|
+
/* @__PURE__ */ e(
|
|
3750
|
+
V,
|
|
3751
|
+
{
|
|
3752
|
+
label: "≡·",
|
|
3753
|
+
title: "Ordered list",
|
|
3754
|
+
onClick: () => D("1. Item")
|
|
3755
|
+
}
|
|
3756
|
+
),
|
|
3681
3757
|
/* @__PURE__ */ e(ie, {}),
|
|
3682
|
-
/* @__PURE__ */ e(
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3758
|
+
/* @__PURE__ */ e(
|
|
3759
|
+
V,
|
|
3760
|
+
{
|
|
3761
|
+
label: "url",
|
|
3762
|
+
title: "Link",
|
|
3763
|
+
onClick: () => E("[", "](https://)", "link text")
|
|
3764
|
+
}
|
|
3765
|
+
),
|
|
3766
|
+
/* @__PURE__ */ e(
|
|
3767
|
+
V,
|
|
3768
|
+
{
|
|
3769
|
+
label: "img",
|
|
3770
|
+
title: "Image",
|
|
3771
|
+
onClick: () => E("", "alt text")
|
|
3772
|
+
}
|
|
3773
|
+
),
|
|
3774
|
+
/* @__PURE__ */ e(
|
|
3775
|
+
V,
|
|
3776
|
+
{
|
|
3777
|
+
label: "⎯",
|
|
3778
|
+
title: "Horizontal divider (---)",
|
|
3779
|
+
onClick: () => D("---")
|
|
3780
|
+
}
|
|
3781
|
+
),
|
|
3782
|
+
/* @__PURE__ */ e(
|
|
3783
|
+
V,
|
|
3784
|
+
{
|
|
3785
|
+
label: "`",
|
|
3786
|
+
title: "Inline code",
|
|
3787
|
+
onClick: () => E("`", "`", "code")
|
|
3788
|
+
}
|
|
3789
|
+
)
|
|
3686
3790
|
] }),
|
|
3687
3791
|
y === "markdown" ? /* @__PURE__ */ e(
|
|
3688
3792
|
"textarea",
|
|
@@ -3731,7 +3835,7 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
|
|
|
3731
3835
|
),
|
|
3732
3836
|
style: { minHeight: `${n}px` },
|
|
3733
3837
|
dangerouslySetInnerHTML: {
|
|
3734
|
-
__html: h ?
|
|
3838
|
+
__html: h ? Ea(h) : `<p class="text-muted-foreground/40">${a}</p>`
|
|
3735
3839
|
},
|
|
3736
3840
|
"aria-label": "Preview",
|
|
3737
3841
|
"aria-live": "polite"
|
|
@@ -3777,15 +3881,15 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
|
|
|
3777
3881
|
);
|
|
3778
3882
|
}
|
|
3779
3883
|
);
|
|
3780
|
-
|
|
3781
|
-
const
|
|
3884
|
+
Da.displayName = "RichTextEditor";
|
|
3885
|
+
const Ca = s.forwardRef(
|
|
3782
3886
|
({ title: t, className: r, children: a, ...o }, n) => /* @__PURE__ */ u("div", { ref: n, className: l("space-y-3", r), ...o, children: [
|
|
3783
3887
|
/* @__PURE__ */ e("h3", { className: "font-display text-[12px] font-bold tracking-[0.15em] uppercase text-muted-foreground", children: t }),
|
|
3784
3888
|
/* @__PURE__ */ e("ul", { className: "space-y-2", children: a })
|
|
3785
3889
|
] })
|
|
3786
3890
|
);
|
|
3787
|
-
|
|
3788
|
-
const
|
|
3891
|
+
Ca.displayName = "FooterColumn";
|
|
3892
|
+
const Aa = s.forwardRef(
|
|
3789
3893
|
({ external: t, className: r, children: a, ...o }, n) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
3790
3894
|
"a",
|
|
3791
3895
|
{
|
|
@@ -3801,8 +3905,8 @@ const Ca = s.forwardRef(
|
|
|
3801
3905
|
}
|
|
3802
3906
|
) })
|
|
3803
3907
|
);
|
|
3804
|
-
|
|
3805
|
-
const
|
|
3908
|
+
Aa.displayName = "FooterLink";
|
|
3909
|
+
const Ma = s.forwardRef(
|
|
3806
3910
|
({ brand: t, tagline: r, copyright: a, note: o, className: n, children: i, ...c }, d) => /* @__PURE__ */ u(
|
|
3807
3911
|
"footer",
|
|
3808
3912
|
{
|
|
@@ -3828,8 +3932,8 @@ const Aa = s.forwardRef(
|
|
|
3828
3932
|
}
|
|
3829
3933
|
)
|
|
3830
3934
|
);
|
|
3831
|
-
|
|
3832
|
-
const
|
|
3935
|
+
Ma.displayName = "Footer";
|
|
3936
|
+
const La = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("div", { className: "relative w-full overflow-x-auto", children: /* @__PURE__ */ e(
|
|
3833
3937
|
"table",
|
|
3834
3938
|
{
|
|
3835
3939
|
ref: a,
|
|
@@ -3837,10 +3941,10 @@ const Ma = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("div",
|
|
|
3837
3941
|
...r
|
|
3838
3942
|
}
|
|
3839
3943
|
) }));
|
|
3840
|
-
|
|
3841
|
-
const
|
|
3842
|
-
|
|
3843
|
-
const
|
|
3944
|
+
La.displayName = "Table";
|
|
3945
|
+
const Oa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("thead", { ref: a, className: l("[&_tr]:border-b", t), ...r }));
|
|
3946
|
+
Oa.displayName = "TableHeader";
|
|
3947
|
+
const $a = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
3844
3948
|
"tbody",
|
|
3845
3949
|
{
|
|
3846
3950
|
ref: a,
|
|
@@ -3848,8 +3952,8 @@ const Oa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
|
3848
3952
|
...r
|
|
3849
3953
|
}
|
|
3850
3954
|
));
|
|
3851
|
-
|
|
3852
|
-
const
|
|
3955
|
+
$a.displayName = "TableBody";
|
|
3956
|
+
const Pa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
3853
3957
|
"tfoot",
|
|
3854
3958
|
{
|
|
3855
3959
|
ref: a,
|
|
@@ -3860,8 +3964,8 @@ const $a = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
|
3860
3964
|
...r
|
|
3861
3965
|
}
|
|
3862
3966
|
));
|
|
3863
|
-
|
|
3864
|
-
const
|
|
3967
|
+
Pa.displayName = "TableFooter";
|
|
3968
|
+
const Va = s.forwardRef(
|
|
3865
3969
|
({ className: t, selected: r, ...a }, o) => /* @__PURE__ */ e(
|
|
3866
3970
|
"tr",
|
|
3867
3971
|
{
|
|
@@ -3879,8 +3983,8 @@ const Pa = s.forwardRef(
|
|
|
3879
3983
|
}
|
|
3880
3984
|
)
|
|
3881
3985
|
);
|
|
3882
|
-
|
|
3883
|
-
const
|
|
3986
|
+
Va.displayName = "TableRow";
|
|
3987
|
+
const Ba = s.forwardRef(
|
|
3884
3988
|
({ className: t, sortable: r, sortDirection: a, onSort: o, children: n, ...i }, c) => /* @__PURE__ */ e(
|
|
3885
3989
|
"th",
|
|
3886
3990
|
{
|
|
@@ -3901,8 +4005,8 @@ const Va = s.forwardRef(
|
|
|
3901
4005
|
}
|
|
3902
4006
|
)
|
|
3903
4007
|
);
|
|
3904
|
-
|
|
3905
|
-
const
|
|
4008
|
+
Ba.displayName = "TableHead";
|
|
4009
|
+
const ja = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
3906
4010
|
"td",
|
|
3907
4011
|
{
|
|
3908
4012
|
ref: a,
|
|
@@ -3913,8 +4017,8 @@ const Ba = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
|
3913
4017
|
...r
|
|
3914
4018
|
}
|
|
3915
4019
|
));
|
|
3916
|
-
|
|
3917
|
-
const
|
|
4020
|
+
ja.displayName = "TableCell";
|
|
4021
|
+
const Fa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
3918
4022
|
"caption",
|
|
3919
4023
|
{
|
|
3920
4024
|
ref: a,
|
|
@@ -3925,8 +4029,8 @@ const ja = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
|
3925
4029
|
...r
|
|
3926
4030
|
}
|
|
3927
4031
|
));
|
|
3928
|
-
|
|
3929
|
-
const
|
|
4032
|
+
Fa.displayName = "TableCaption";
|
|
4033
|
+
const za = s.forwardRef(
|
|
3930
4034
|
({ colSpan: t, className: r, children: a, ...o }, n) => /* @__PURE__ */ e("tr", { ref: n, ...o, children: /* @__PURE__ */ e(
|
|
3931
4035
|
"td",
|
|
3932
4036
|
{
|
|
@@ -3942,12 +4046,12 @@ const Fa = s.forwardRef(
|
|
|
3942
4046
|
}
|
|
3943
4047
|
) })
|
|
3944
4048
|
);
|
|
3945
|
-
|
|
3946
|
-
const
|
|
4049
|
+
za.displayName = "TableEmpty";
|
|
4050
|
+
const Ha = s.forwardRef(
|
|
3947
4051
|
({ className: t, ...r }, a) => /* @__PURE__ */ e("ul", { ref: a, className: l("space-y-2", t), ...r })
|
|
3948
4052
|
);
|
|
3949
|
-
|
|
3950
|
-
const
|
|
4053
|
+
Ha.displayName = "List";
|
|
4054
|
+
const Ya = s.forwardRef(
|
|
3951
4055
|
({ className: t, children: r, ...a }, o) => /* @__PURE__ */ u(
|
|
3952
4056
|
"li",
|
|
3953
4057
|
{
|
|
@@ -3971,8 +4075,8 @@ const Ha = s.forwardRef(
|
|
|
3971
4075
|
}
|
|
3972
4076
|
)
|
|
3973
4077
|
);
|
|
3974
|
-
|
|
3975
|
-
const
|
|
4078
|
+
Ya.displayName = "ListItem";
|
|
4079
|
+
const Ua = s.forwardRef(
|
|
3976
4080
|
({ className: t, children: r, ...a }, o) => {
|
|
3977
4081
|
const n = s.Children.map(r, (i, c) => s.isValidElement(i) ? s.cloneElement(
|
|
3978
4082
|
i,
|
|
@@ -3983,8 +4087,8 @@ const Ya = s.forwardRef(
|
|
|
3983
4087
|
return /* @__PURE__ */ e("ol", { ref: o, className: l("space-y-2", t), ...a, children: n });
|
|
3984
4088
|
}
|
|
3985
4089
|
);
|
|
3986
|
-
|
|
3987
|
-
const
|
|
4090
|
+
Ua.displayName = "NumberedList";
|
|
4091
|
+
const Ga = s.forwardRef(
|
|
3988
4092
|
({ className: t, children: r, _index: a = 0, ...o }, n) => /* @__PURE__ */ u(
|
|
3989
4093
|
"li",
|
|
3990
4094
|
{
|
|
@@ -3998,10 +4102,10 @@ const Ua = s.forwardRef(
|
|
|
3998
4102
|
}
|
|
3999
4103
|
)
|
|
4000
4104
|
);
|
|
4001
|
-
|
|
4002
|
-
const
|
|
4003
|
-
|
|
4004
|
-
const
|
|
4105
|
+
Ga.displayName = "NumberedListItem";
|
|
4106
|
+
const Wa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("dl", { ref: a, className: l("space-y-3", t), ...r }));
|
|
4107
|
+
Wa.displayName = "DescriptionList";
|
|
4108
|
+
const Ka = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
4005
4109
|
"dt",
|
|
4006
4110
|
{
|
|
4007
4111
|
ref: a,
|
|
@@ -4012,8 +4116,8 @@ const Wa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
|
4012
4116
|
...r
|
|
4013
4117
|
}
|
|
4014
4118
|
));
|
|
4015
|
-
|
|
4016
|
-
const
|
|
4119
|
+
Ka.displayName = "DescriptionTerm";
|
|
4120
|
+
const qa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
4017
4121
|
"dd",
|
|
4018
4122
|
{
|
|
4019
4123
|
ref: a,
|
|
@@ -4021,8 +4125,8 @@ const Ka = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
|
4021
4125
|
...r
|
|
4022
4126
|
}
|
|
4023
4127
|
));
|
|
4024
|
-
|
|
4025
|
-
const
|
|
4128
|
+
qa.displayName = "DescriptionDetail";
|
|
4129
|
+
const Xa = s.forwardRef(
|
|
4026
4130
|
({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
4027
4131
|
"ul",
|
|
4028
4132
|
{
|
|
@@ -4032,8 +4136,8 @@ const qa = s.forwardRef(
|
|
|
4032
4136
|
}
|
|
4033
4137
|
)
|
|
4034
4138
|
);
|
|
4035
|
-
|
|
4036
|
-
const
|
|
4139
|
+
Xa.displayName = "LinkList";
|
|
4140
|
+
const Ja = s.forwardRef(
|
|
4037
4141
|
({ className: t, children: r, description: a, ...o }, n) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ u(
|
|
4038
4142
|
"a",
|
|
4039
4143
|
{
|
|
@@ -4063,8 +4167,8 @@ const Xa = s.forwardRef(
|
|
|
4063
4167
|
}
|
|
4064
4168
|
) })
|
|
4065
4169
|
);
|
|
4066
|
-
|
|
4067
|
-
const
|
|
4170
|
+
Ja.displayName = "LinkListItem";
|
|
4171
|
+
const Za = s.forwardRef(
|
|
4068
4172
|
({ value: t, label: r, trend: a, trendValue: o, description: n, className: i, ...c }, d) => {
|
|
4069
4173
|
const p = a === "up" ? "text-ef-green" : a === "down" ? "text-destructive" : "text-muted-foreground", b = a === "up" ? "▲" : a === "down" ? "▼" : null;
|
|
4070
4174
|
return /* @__PURE__ */ u(
|
|
@@ -4092,8 +4196,8 @@ const Ja = s.forwardRef(
|
|
|
4092
4196
|
);
|
|
4093
4197
|
}
|
|
4094
4198
|
);
|
|
4095
|
-
|
|
4096
|
-
const
|
|
4199
|
+
Za.displayName = "Stat";
|
|
4200
|
+
const Qa = s.forwardRef(
|
|
4097
4201
|
({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
4098
4202
|
"div",
|
|
4099
4203
|
{
|
|
@@ -4107,8 +4211,8 @@ const Za = s.forwardRef(
|
|
|
4107
4211
|
}
|
|
4108
4212
|
)
|
|
4109
4213
|
);
|
|
4110
|
-
|
|
4111
|
-
const
|
|
4214
|
+
Qa.displayName = "StatGrid";
|
|
4215
|
+
const eo = s.forwardRef(
|
|
4112
4216
|
({ options: t, activeId: r, direction: a = "none", onSortChange: o, className: n }, i) => {
|
|
4113
4217
|
const c = (d) => {
|
|
4114
4218
|
o && (d === r ? a === "asc" ? o(d, "desc") : a === "desc" ? o(d, "none") : o(d, "asc") : o(d, "asc"));
|
|
@@ -4152,8 +4256,8 @@ const Qa = s.forwardRef(
|
|
|
4152
4256
|
);
|
|
4153
4257
|
}
|
|
4154
4258
|
);
|
|
4155
|
-
|
|
4156
|
-
const
|
|
4259
|
+
eo.displayName = "SortControl";
|
|
4260
|
+
const to = 120, ro = s.forwardRef(
|
|
4157
4261
|
({
|
|
4158
4262
|
onRefresh: t,
|
|
4159
4263
|
threshold: r = 60,
|
|
@@ -4190,7 +4294,7 @@ const eo = 120, to = s.forwardRef(
|
|
|
4190
4294
|
g(0), v("idle");
|
|
4191
4295
|
return;
|
|
4192
4296
|
}
|
|
4193
|
-
const C = Math.min(k,
|
|
4297
|
+
const C = Math.min(k, to);
|
|
4194
4298
|
g(C), C >= r ? (f.current || (h(10), f.current = !0), v("threshold")) : v("pulling");
|
|
4195
4299
|
},
|
|
4196
4300
|
[n, m, r, h]
|
|
@@ -4261,7 +4365,7 @@ const eo = 120, to = s.forwardRef(
|
|
|
4261
4365
|
);
|
|
4262
4366
|
}
|
|
4263
4367
|
);
|
|
4264
|
-
|
|
4368
|
+
ro.displayName = "PullToRefresh";
|
|
4265
4369
|
function Te(t) {
|
|
4266
4370
|
switch (t.variant) {
|
|
4267
4371
|
case "archive":
|
|
@@ -4284,7 +4388,7 @@ function Se(t) {
|
|
|
4284
4388
|
return "text-white";
|
|
4285
4389
|
}
|
|
4286
4390
|
}
|
|
4287
|
-
const
|
|
4391
|
+
const ao = s.forwardRef(
|
|
4288
4392
|
({
|
|
4289
4393
|
leftSwipeAction: t,
|
|
4290
4394
|
rightSwipeAction: r,
|
|
@@ -4382,8 +4486,8 @@ const ro = s.forwardRef(
|
|
|
4382
4486
|
] });
|
|
4383
4487
|
}
|
|
4384
4488
|
);
|
|
4385
|
-
|
|
4386
|
-
const
|
|
4489
|
+
ao.displayName = "SwipeableItem";
|
|
4490
|
+
const oo = s.forwardRef(
|
|
4387
4491
|
({ text: t, resetDelay: r = 2e3, onCopy: a, className: o, ...n }, i) => {
|
|
4388
4492
|
const [c, d] = s.useState(!1), p = s.useRef();
|
|
4389
4493
|
return s.useEffect(() => () => clearTimeout(p.current), []), /* @__PURE__ */ e(
|
|
@@ -4416,8 +4520,8 @@ const ao = s.forwardRef(
|
|
|
4416
4520
|
);
|
|
4417
4521
|
}
|
|
4418
4522
|
);
|
|
4419
|
-
|
|
4420
|
-
const
|
|
4523
|
+
oo.displayName = "CopyClipboard";
|
|
4524
|
+
const no = s.forwardRef(
|
|
4421
4525
|
({ threshold: t = 300, smooth: r = !0, className: a, ...o }, n) => {
|
|
4422
4526
|
const [i, c] = s.useState(!1);
|
|
4423
4527
|
s.useEffect(() => {
|
|
@@ -4446,8 +4550,8 @@ const oo = s.forwardRef(
|
|
|
4446
4550
|
) : null;
|
|
4447
4551
|
}
|
|
4448
4552
|
);
|
|
4449
|
-
|
|
4450
|
-
const
|
|
4553
|
+
no.displayName = "BackToTop";
|
|
4554
|
+
const so = s.forwardRef(
|
|
4451
4555
|
({ color: t, height: r = 2, className: a, style: o, ...n }, i) => {
|
|
4452
4556
|
const [c, d] = s.useState(0);
|
|
4453
4557
|
return s.useEffect(() => {
|
|
@@ -4481,8 +4585,8 @@ const no = s.forwardRef(
|
|
|
4481
4585
|
);
|
|
4482
4586
|
}
|
|
4483
4587
|
);
|
|
4484
|
-
|
|
4485
|
-
const
|
|
4588
|
+
so.displayName = "ScrollProgress";
|
|
4589
|
+
const io = s.forwardRef(
|
|
4486
4590
|
({
|
|
4487
4591
|
message: t,
|
|
4488
4592
|
onAccept: r,
|
|
@@ -4530,8 +4634,8 @@ const so = s.forwardRef(
|
|
|
4530
4634
|
}
|
|
4531
4635
|
)
|
|
4532
4636
|
);
|
|
4533
|
-
|
|
4534
|
-
function
|
|
4637
|
+
io.displayName = "CookieConsent";
|
|
4638
|
+
function In() {
|
|
4535
4639
|
const [t, r] = s.useState(!1);
|
|
4536
4640
|
return s.useEffect(() => {
|
|
4537
4641
|
const a = (o) => {
|
|
@@ -4544,7 +4648,7 @@ function En() {
|
|
|
4544
4648
|
close: () => r(!1)
|
|
4545
4649
|
};
|
|
4546
4650
|
}
|
|
4547
|
-
function
|
|
4651
|
+
function lo(t, r) {
|
|
4548
4652
|
if (!r.trim()) return t;
|
|
4549
4653
|
const a = r.toLowerCase();
|
|
4550
4654
|
return t.map((o) => ({
|
|
@@ -4552,14 +4656,14 @@ function io(t, r) {
|
|
|
4552
4656
|
items: o.items.filter((n) => n.label.toLowerCase().includes(a))
|
|
4553
4657
|
})).filter((o) => o.items.length > 0);
|
|
4554
4658
|
}
|
|
4555
|
-
const
|
|
4659
|
+
const co = ({
|
|
4556
4660
|
open: t,
|
|
4557
4661
|
onOpenChange: r,
|
|
4558
4662
|
groups: a,
|
|
4559
4663
|
onSelect: o,
|
|
4560
4664
|
placeholder: n = "Type a command or search..."
|
|
4561
4665
|
}) => {
|
|
4562
|
-
const [i, c] = s.useState(""), [d, p] = s.useState(0), b = s.useRef(null), f =
|
|
4666
|
+
const [i, c] = s.useState(""), [d, p] = s.useState(0), b = s.useRef(null), f = lo(a, i), m = f.flatMap((g) => g.items);
|
|
4563
4667
|
s.useEffect(() => {
|
|
4564
4668
|
if (t) {
|
|
4565
4669
|
c(""), p(0);
|
|
@@ -4652,8 +4756,8 @@ const lo = ({
|
|
|
4652
4756
|
)
|
|
4653
4757
|
] });
|
|
4654
4758
|
};
|
|
4655
|
-
|
|
4656
|
-
const
|
|
4759
|
+
co.displayName = "CommandPalette";
|
|
4760
|
+
const uo = ({
|
|
4657
4761
|
trigger: t,
|
|
4658
4762
|
groups: r,
|
|
4659
4763
|
items: a,
|
|
@@ -4697,8 +4801,8 @@ const co = ({
|
|
|
4697
4801
|
) })
|
|
4698
4802
|
] });
|
|
4699
4803
|
};
|
|
4700
|
-
|
|
4701
|
-
const
|
|
4804
|
+
uo.displayName = "Dropdown";
|
|
4805
|
+
const po = ({
|
|
4702
4806
|
children: t,
|
|
4703
4807
|
groups: r,
|
|
4704
4808
|
items: a,
|
|
@@ -4772,8 +4876,8 @@ const uo = ({
|
|
|
4772
4876
|
}
|
|
4773
4877
|
);
|
|
4774
4878
|
};
|
|
4775
|
-
|
|
4776
|
-
const
|
|
4879
|
+
po.displayName = "ContextMenu";
|
|
4880
|
+
const fo = s.forwardRef(
|
|
4777
4881
|
({
|
|
4778
4882
|
children: t,
|
|
4779
4883
|
title: r,
|
|
@@ -4837,8 +4941,8 @@ const po = s.forwardRef(
|
|
|
4837
4941
|
);
|
|
4838
4942
|
}
|
|
4839
4943
|
);
|
|
4840
|
-
|
|
4841
|
-
const
|
|
4944
|
+
fo.displayName = "SpoilerBlock";
|
|
4945
|
+
const mo = s.forwardRef(
|
|
4842
4946
|
({ children: t, className: r, ...a }, o) => {
|
|
4843
4947
|
const [n, i] = s.useState(!1);
|
|
4844
4948
|
return /* @__PURE__ */ e(
|
|
@@ -4860,8 +4964,8 @@ const fo = s.forwardRef(
|
|
|
4860
4964
|
);
|
|
4861
4965
|
}
|
|
4862
4966
|
);
|
|
4863
|
-
|
|
4864
|
-
const
|
|
4967
|
+
mo.displayName = "SpoilerInline";
|
|
4968
|
+
const bo = s.forwardRef(
|
|
4865
4969
|
({ storageKey: t = "ef-theme", className: r, ...a }, o) => {
|
|
4866
4970
|
const [n, i] = s.useState(!1), [c, d] = s.useState(!1), p = s.useRef();
|
|
4867
4971
|
return s.useEffect(() => {
|
|
@@ -4909,8 +5013,8 @@ const mo = s.forwardRef(
|
|
|
4909
5013
|
);
|
|
4910
5014
|
}
|
|
4911
5015
|
);
|
|
4912
|
-
|
|
4913
|
-
const
|
|
5016
|
+
bo.displayName = "ThemeSwitcher";
|
|
5017
|
+
const xo = {
|
|
4914
5018
|
low: {
|
|
4915
5019
|
duration: "6s",
|
|
4916
5020
|
clipTop: "15% 0 70% 0",
|
|
@@ -4932,7 +5036,7 @@ const bo = {
|
|
|
4932
5036
|
offset: 4,
|
|
4933
5037
|
defaultInterval: 1200
|
|
4934
5038
|
}
|
|
4935
|
-
},
|
|
5039
|
+
}, go = s.forwardRef(
|
|
4936
5040
|
({
|
|
4937
5041
|
children: t,
|
|
4938
5042
|
className: r,
|
|
@@ -4941,7 +5045,7 @@ const bo = {
|
|
|
4941
5045
|
continuousInterval: n,
|
|
4942
5046
|
...i
|
|
4943
5047
|
}, c) => {
|
|
4944
|
-
const d =
|
|
5048
|
+
const d = xo[a], p = n ?? d.defaultInterval, [b, f] = s.useState(!1);
|
|
4945
5049
|
s.useEffect(() => {
|
|
4946
5050
|
if (!o) return;
|
|
4947
5051
|
const v = setInterval(() => {
|
|
@@ -4995,9 +5099,9 @@ const bo = {
|
|
|
4995
5099
|
);
|
|
4996
5100
|
}
|
|
4997
5101
|
);
|
|
4998
|
-
|
|
4999
|
-
const
|
|
5000
|
-
const n =
|
|
5102
|
+
go.displayName = "GlitchText";
|
|
5103
|
+
const ho = { sm: 16, md: 28, lg: 44 }, yo = s.forwardRef(({ size: t = "md", label: r, className: a }, o) => {
|
|
5104
|
+
const n = ho[t];
|
|
5001
5105
|
return /* @__PURE__ */ u(
|
|
5002
5106
|
"div",
|
|
5003
5107
|
{
|
|
@@ -5021,18 +5125,18 @@ const go = { sm: 16, md: 28, lg: 44 }, ho = s.forwardRef(({ size: t = "md", labe
|
|
|
5021
5125
|
}
|
|
5022
5126
|
);
|
|
5023
5127
|
});
|
|
5024
|
-
|
|
5025
|
-
const
|
|
5128
|
+
yo.displayName = "DiamondLoader";
|
|
5129
|
+
const vo = {
|
|
5026
5130
|
online: "ONLINE",
|
|
5027
5131
|
warning: "CAUTION",
|
|
5028
5132
|
offline: "OFFLINE",
|
|
5029
5133
|
scanning: "SCANNING"
|
|
5030
|
-
},
|
|
5134
|
+
}, No = {
|
|
5031
5135
|
online: "bg-ef-green",
|
|
5032
5136
|
warning: "bg-ef-yellow",
|
|
5033
5137
|
offline: "bg-ef-red",
|
|
5034
5138
|
scanning: "bg-ef-cyan animate-pulse"
|
|
5035
|
-
},
|
|
5139
|
+
}, wo = s.forwardRef(
|
|
5036
5140
|
({
|
|
5037
5141
|
title: t,
|
|
5038
5142
|
status: r = "online",
|
|
@@ -5079,13 +5183,13 @@ const yo = {
|
|
|
5079
5183
|
/* @__PURE__ */ e(
|
|
5080
5184
|
"div",
|
|
5081
5185
|
{
|
|
5082
|
-
className: l("w-2 h-2",
|
|
5186
|
+
className: l("w-2 h-2", No[r]),
|
|
5083
5187
|
style: {
|
|
5084
5188
|
clipPath: "polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)"
|
|
5085
5189
|
}
|
|
5086
5190
|
}
|
|
5087
5191
|
),
|
|
5088
|
-
/* @__PURE__ */ e("span", { className: "font-mono text-[10px] tracking-[0.1em] text-muted-foreground", children:
|
|
5192
|
+
/* @__PURE__ */ e("span", { className: "font-mono text-[10px] tracking-[0.1em] text-muted-foreground", children: vo[r] })
|
|
5089
5193
|
] }),
|
|
5090
5194
|
n && /* @__PURE__ */ e(
|
|
5091
5195
|
"div",
|
|
@@ -5118,8 +5222,8 @@ const yo = {
|
|
|
5118
5222
|
);
|
|
5119
5223
|
}
|
|
5120
5224
|
);
|
|
5121
|
-
|
|
5122
|
-
const
|
|
5225
|
+
wo.displayName = "TacticalPanel";
|
|
5226
|
+
const ko = s.forwardRef(
|
|
5123
5227
|
({ title: t, subtitle: r, icon: a, value: o, className: n }, i) => {
|
|
5124
5228
|
const [c, d] = s.useState(!1);
|
|
5125
5229
|
return /* @__PURE__ */ u(
|
|
@@ -5163,23 +5267,23 @@ const wo = s.forwardRef(
|
|
|
5163
5267
|
);
|
|
5164
5268
|
}
|
|
5165
5269
|
);
|
|
5166
|
-
|
|
5270
|
+
ko.displayName = "HoloCard";
|
|
5167
5271
|
const Re = {
|
|
5168
5272
|
1: 2e3,
|
|
5169
5273
|
2: 1500,
|
|
5170
5274
|
3: 1e3,
|
|
5171
5275
|
4: 600,
|
|
5172
5276
|
5: 300
|
|
5173
|
-
},
|
|
5277
|
+
}, To = {
|
|
5174
5278
|
mono: "text-muted-foreground",
|
|
5175
5279
|
classified: "text-primary",
|
|
5176
5280
|
transmission: "text-ef-cyan"
|
|
5177
|
-
},
|
|
5281
|
+
}, So = {
|
|
5178
5282
|
system: "text-muted-foreground",
|
|
5179
5283
|
data: "text-ef-cyan",
|
|
5180
5284
|
warning: "text-ef-orange",
|
|
5181
5285
|
classified: "text-primary"
|
|
5182
|
-
},
|
|
5286
|
+
}, Ro = [
|
|
5183
5287
|
"[SYS] Initializing ENDFIELD protocol...",
|
|
5184
5288
|
"[NET] Connection established — latency: 12ms",
|
|
5185
5289
|
"[SEC] Authentication verified ◆ Level: ALPHA",
|
|
@@ -5194,16 +5298,16 @@ const Re = {
|
|
|
5194
5298
|
function Ee(t) {
|
|
5195
5299
|
return typeof t == "string" ? t : t.text;
|
|
5196
5300
|
}
|
|
5197
|
-
function
|
|
5198
|
-
if (r) return
|
|
5301
|
+
function Eo(t, r) {
|
|
5302
|
+
if (r) return To[r];
|
|
5199
5303
|
if (typeof t != "string" && t.type)
|
|
5200
|
-
return
|
|
5304
|
+
return So[t.type] ?? "text-muted-foreground";
|
|
5201
5305
|
const a = typeof t == "string" ? t : t.text;
|
|
5202
5306
|
return a.includes("[SEC]") ? "text-ef-green" : a.includes("[NET]") ? "text-ef-blue" : a.includes("[DAT]") ? "text-ef-cyan" : a.includes("[GPU]") ? "text-ef-purple" : "text-muted-foreground";
|
|
5203
5307
|
}
|
|
5204
|
-
const
|
|
5308
|
+
const Io = s.forwardRef(
|
|
5205
5309
|
({
|
|
5206
|
-
messages: t =
|
|
5310
|
+
messages: t = Ro,
|
|
5207
5311
|
speed: r = 3,
|
|
5208
5312
|
messageType: a,
|
|
5209
5313
|
className: o,
|
|
@@ -5258,7 +5362,7 @@ const Eo = s.forwardRef(
|
|
|
5258
5362
|
{
|
|
5259
5363
|
initial: { opacity: 0, x: -10 },
|
|
5260
5364
|
animate: { opacity: 1, x: 0 },
|
|
5261
|
-
className:
|
|
5365
|
+
className: Eo(f, a),
|
|
5262
5366
|
children: Ee(f)
|
|
5263
5367
|
},
|
|
5264
5368
|
`${Ee(f)}-${m}`
|
|
@@ -5272,8 +5376,8 @@ const Eo = s.forwardRef(
|
|
|
5272
5376
|
);
|
|
5273
5377
|
}
|
|
5274
5378
|
);
|
|
5275
|
-
|
|
5276
|
-
const
|
|
5379
|
+
Io.displayName = "DataStream";
|
|
5380
|
+
const _o = O(
|
|
5277
5381
|
"inline-flex items-center gap-1.5 clip-corner-sm border px-3 py-1 font-display text-[10px] font-bold tracking-[0.15em] uppercase",
|
|
5278
5382
|
{
|
|
5279
5383
|
variants: {
|
|
@@ -5289,11 +5393,11 @@ const Io = O(
|
|
|
5289
5393
|
variant: "default"
|
|
5290
5394
|
}
|
|
5291
5395
|
}
|
|
5292
|
-
),
|
|
5396
|
+
), Do = s.forwardRef(({ variant: t, className: r, children: a, ...o }, n) => /* @__PURE__ */ u(
|
|
5293
5397
|
"span",
|
|
5294
5398
|
{
|
|
5295
5399
|
ref: n,
|
|
5296
|
-
className: l(
|
|
5400
|
+
className: l(_o({ variant: t }), r),
|
|
5297
5401
|
...o,
|
|
5298
5402
|
children: [
|
|
5299
5403
|
/* @__PURE__ */ e("span", { style: { fontSize: "6px" }, children: "◆" }),
|
|
@@ -5301,8 +5405,8 @@ const Io = O(
|
|
|
5301
5405
|
]
|
|
5302
5406
|
}
|
|
5303
5407
|
));
|
|
5304
|
-
|
|
5305
|
-
const
|
|
5408
|
+
Do.displayName = "TacticalBadge";
|
|
5409
|
+
const Co = {
|
|
5306
5410
|
caution: {
|
|
5307
5411
|
border: "border-ef-yellow/30",
|
|
5308
5412
|
bg: "bg-ef-yellow/5",
|
|
@@ -5321,8 +5425,8 @@ const Do = {
|
|
|
5321
5425
|
icon: "text-ef-red",
|
|
5322
5426
|
label: "CRITICAL"
|
|
5323
5427
|
}
|
|
5324
|
-
},
|
|
5325
|
-
const n =
|
|
5428
|
+
}, Ao = s.forwardRef(({ level: t = "caution", children: r, className: a }, o) => {
|
|
5429
|
+
const n = Co[t];
|
|
5326
5430
|
return /* @__PURE__ */ u(
|
|
5327
5431
|
"div",
|
|
5328
5432
|
{
|
|
@@ -5344,8 +5448,8 @@ const Do = {
|
|
|
5344
5448
|
}
|
|
5345
5449
|
);
|
|
5346
5450
|
});
|
|
5347
|
-
|
|
5348
|
-
const
|
|
5451
|
+
Ao.displayName = "WarningBanner";
|
|
5452
|
+
const Mo = s.forwardRef(
|
|
5349
5453
|
({ label: t, className: r }, a) => /* @__PURE__ */ u(
|
|
5350
5454
|
"div",
|
|
5351
5455
|
{
|
|
@@ -5365,8 +5469,8 @@ const Ao = s.forwardRef(
|
|
|
5365
5469
|
}
|
|
5366
5470
|
)
|
|
5367
5471
|
);
|
|
5368
|
-
|
|
5369
|
-
const
|
|
5472
|
+
Mo.displayName = "ScanDivider";
|
|
5473
|
+
const Lo = s.forwardRef(({ label: t, value: r, unit: a, className: o }, n) => /* @__PURE__ */ u(
|
|
5370
5474
|
"div",
|
|
5371
5475
|
{
|
|
5372
5476
|
ref: n,
|
|
@@ -5378,7 +5482,7 @@ const Mo = s.forwardRef(({ label: t, value: r, unit: a, className: o }, n) => /*
|
|
|
5378
5482
|
]
|
|
5379
5483
|
}
|
|
5380
5484
|
));
|
|
5381
|
-
|
|
5485
|
+
Lo.displayName = "CoordinateTag";
|
|
5382
5486
|
function G(t, r, a, o, n) {
|
|
5383
5487
|
return {
|
|
5384
5488
|
x: t + a * Math.sin(n * o),
|
|
@@ -5388,7 +5492,7 @@ function G(t, r, a, o, n) {
|
|
|
5388
5492
|
function le(t) {
|
|
5389
5493
|
return t.map((r) => `${r.x},${r.y}`).join(" ");
|
|
5390
5494
|
}
|
|
5391
|
-
const
|
|
5495
|
+
const Oo = s.forwardRef(
|
|
5392
5496
|
({
|
|
5393
5497
|
data: t,
|
|
5394
5498
|
color: r = "primary",
|
|
@@ -5572,12 +5676,12 @@ const Lo = s.forwardRef(
|
|
|
5572
5676
|
);
|
|
5573
5677
|
}
|
|
5574
5678
|
);
|
|
5575
|
-
|
|
5679
|
+
Oo.displayName = "RadarChart";
|
|
5576
5680
|
const Ie = {
|
|
5577
5681
|
sm: "w-5 h-5",
|
|
5578
5682
|
md: "w-8 h-8",
|
|
5579
5683
|
lg: "w-12 h-12"
|
|
5580
|
-
},
|
|
5684
|
+
}, $o = s.forwardRef(
|
|
5581
5685
|
({
|
|
5582
5686
|
children: t,
|
|
5583
5687
|
systemLabel: r = "SYS::ENDFIELD v2.0",
|
|
@@ -5691,8 +5795,8 @@ const Ie = {
|
|
|
5691
5795
|
);
|
|
5692
5796
|
}
|
|
5693
5797
|
);
|
|
5694
|
-
|
|
5695
|
-
const
|
|
5798
|
+
$o.displayName = "HUDOverlay";
|
|
5799
|
+
const Po = O(
|
|
5696
5800
|
[
|
|
5697
5801
|
"relative bg-surface-1 border overflow-hidden transition-all duration-300",
|
|
5698
5802
|
"before:absolute before:top-0 before:left-0 before:w-5 before:h-5",
|
|
@@ -5722,7 +5826,7 @@ const $o = O(
|
|
|
5722
5826
|
},
|
|
5723
5827
|
defaultVariants: { priority: "medium", status: "active", clickable: !1 }
|
|
5724
5828
|
}
|
|
5725
|
-
),
|
|
5829
|
+
), Vo = {
|
|
5726
5830
|
active: {
|
|
5727
5831
|
label: "ACTIVE",
|
|
5728
5832
|
cls: "text-ef-green border-ef-green/40 bg-ef-green/10"
|
|
@@ -5743,12 +5847,12 @@ const $o = O(
|
|
|
5743
5847
|
label: "CLASSIFIED",
|
|
5744
5848
|
cls: "text-primary border-primary/40 bg-primary/10"
|
|
5745
5849
|
}
|
|
5746
|
-
},
|
|
5850
|
+
}, Bo = {
|
|
5747
5851
|
low: { label: "LOW", cls: "text-muted-foreground" },
|
|
5748
5852
|
medium: { label: "MEDIUM", cls: "text-ef-blue" },
|
|
5749
5853
|
high: { label: "HIGH", cls: "text-ef-orange" },
|
|
5750
5854
|
critical: { label: "CRITICAL", cls: "text-destructive" }
|
|
5751
|
-
},
|
|
5855
|
+
}, jo = s.forwardRef(
|
|
5752
5856
|
({
|
|
5753
5857
|
className: t,
|
|
5754
5858
|
title: r,
|
|
@@ -5762,7 +5866,7 @@ const $o = O(
|
|
|
5762
5866
|
onClick: b,
|
|
5763
5867
|
...f
|
|
5764
5868
|
}, m) => {
|
|
5765
|
-
const v =
|
|
5869
|
+
const v = Vo[n], x = Bo[i], g = !!b, N = (y) => {
|
|
5766
5870
|
g && (y.key === "Enter" || y.key === " ") && (y.preventDefault(), b == null || b(y));
|
|
5767
5871
|
}, h = d !== void 0 ? Math.min(100, Math.max(0, d)) : void 0;
|
|
5768
5872
|
return /* @__PURE__ */ u(
|
|
@@ -5775,7 +5879,7 @@ const $o = O(
|
|
|
5775
5879
|
onClick: b,
|
|
5776
5880
|
onKeyDown: N,
|
|
5777
5881
|
className: l(
|
|
5778
|
-
|
|
5882
|
+
Po({ priority: i, status: n, clickable: g }),
|
|
5779
5883
|
t
|
|
5780
5884
|
),
|
|
5781
5885
|
...f,
|
|
@@ -5855,7 +5959,7 @@ const $o = O(
|
|
|
5855
5959
|
);
|
|
5856
5960
|
}
|
|
5857
5961
|
);
|
|
5858
|
-
|
|
5962
|
+
jo.displayName = "MissionCard";
|
|
5859
5963
|
const _e = {
|
|
5860
5964
|
1: "text-muted-foreground/60",
|
|
5861
5965
|
2: "text-ef-green/70",
|
|
@@ -5901,7 +6005,16 @@ function Ae({
|
|
|
5901
6005
|
style: {
|
|
5902
6006
|
clipPath: "polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%)"
|
|
5903
6007
|
},
|
|
5904
|
-
children: t ? /* @__PURE__ */ e(
|
|
6008
|
+
children: t ? /* @__PURE__ */ e(
|
|
6009
|
+
"img",
|
|
6010
|
+
{
|
|
6011
|
+
src: t,
|
|
6012
|
+
alt: r,
|
|
6013
|
+
loading: "lazy",
|
|
6014
|
+
decoding: "async",
|
|
6015
|
+
className: "w-full h-full object-cover"
|
|
6016
|
+
}
|
|
6017
|
+
) : /* @__PURE__ */ e("span", { children: a ?? r.slice(0, 2) })
|
|
5905
6018
|
}
|
|
5906
6019
|
);
|
|
5907
6020
|
}
|
|
@@ -5919,7 +6032,7 @@ function Me({ rarity: t }) {
|
|
|
5919
6032
|
}
|
|
5920
6033
|
);
|
|
5921
6034
|
}
|
|
5922
|
-
function
|
|
6035
|
+
function Fo({ label: t }) {
|
|
5923
6036
|
return /* @__PURE__ */ u(
|
|
5924
6037
|
"span",
|
|
5925
6038
|
{
|
|
@@ -5935,7 +6048,7 @@ function jo({ label: t }) {
|
|
|
5935
6048
|
}
|
|
5936
6049
|
);
|
|
5937
6050
|
}
|
|
5938
|
-
const
|
|
6051
|
+
const zo = s.forwardRef(
|
|
5939
6052
|
({
|
|
5940
6053
|
className: t,
|
|
5941
6054
|
name: r,
|
|
@@ -5996,7 +6109,7 @@ const Fo = s.forwardRef(
|
|
|
5996
6109
|
/* @__PURE__ */ u("div", { className: "flex-1 min-w-0 pt-1", children: [
|
|
5997
6110
|
/* @__PURE__ */ e("h3", { className: "font-display text-[16px] font-bold uppercase tracking-wider text-foreground leading-tight", children: r }),
|
|
5998
6111
|
d && /* @__PURE__ */ e("p", { className: "font-mono text-[10px] text-muted-foreground/60 mt-0.5 uppercase tracking-wider", children: d }),
|
|
5999
|
-
a && /* @__PURE__ */ e("div", { className: "mt-1.5", children: /* @__PURE__ */ e(
|
|
6112
|
+
a && /* @__PURE__ */ e("div", { className: "mt-1.5", children: /* @__PURE__ */ e(Fo, { label: a }) }),
|
|
6000
6113
|
/* @__PURE__ */ e("div", { className: "mt-2", children: /* @__PURE__ */ e(Me, { rarity: v }) })
|
|
6001
6114
|
] })
|
|
6002
6115
|
] }),
|
|
@@ -6027,8 +6140,8 @@ const Fo = s.forwardRef(
|
|
|
6027
6140
|
);
|
|
6028
6141
|
}
|
|
6029
6142
|
);
|
|
6030
|
-
|
|
6031
|
-
const
|
|
6143
|
+
zo.displayName = "OperatorCard";
|
|
6144
|
+
const Ho = O("flex items-center gap-1.5", {
|
|
6032
6145
|
variants: {
|
|
6033
6146
|
size: {
|
|
6034
6147
|
sm: "[&>span.seg]:w-3 [&>span.seg]:h-2",
|
|
@@ -6037,7 +6150,7 @@ const zo = O("flex items-center gap-1.5", {
|
|
|
6037
6150
|
}
|
|
6038
6151
|
},
|
|
6039
6152
|
defaultVariants: { size: "md" }
|
|
6040
|
-
}),
|
|
6153
|
+
}), Yo = O("seg transition-all duration-200", {
|
|
6041
6154
|
variants: {
|
|
6042
6155
|
variant: {
|
|
6043
6156
|
health: "",
|
|
@@ -6052,7 +6165,7 @@ const zo = O("flex items-center gap-1.5", {
|
|
|
6052
6165
|
energy: "bg-primary",
|
|
6053
6166
|
shield: "bg-ef-blue",
|
|
6054
6167
|
experience: "bg-ef-purple"
|
|
6055
|
-
},
|
|
6168
|
+
}, Uo = s.forwardRef(
|
|
6056
6169
|
({
|
|
6057
6170
|
className: t,
|
|
6058
6171
|
value: r,
|
|
@@ -6085,11 +6198,11 @@ const zo = O("flex items-center gap-1.5", {
|
|
|
6085
6198
|
...p,
|
|
6086
6199
|
children: [
|
|
6087
6200
|
n && /* @__PURE__ */ e("span", { className: "font-mono text-[10px] uppercase tracking-wider text-muted-foreground shrink-0", children: n }),
|
|
6088
|
-
/* @__PURE__ */ e("div", { className: l(
|
|
6201
|
+
/* @__PURE__ */ e("div", { className: l(Ho({ size: c })), children: Array.from({ length: o }).map((g, N) => /* @__PURE__ */ e(
|
|
6089
6202
|
"span",
|
|
6090
6203
|
{
|
|
6091
6204
|
className: l(
|
|
6092
|
-
|
|
6205
|
+
Yo({ variant: d }),
|
|
6093
6206
|
x(N)
|
|
6094
6207
|
)
|
|
6095
6208
|
},
|
|
@@ -6105,14 +6218,14 @@ const zo = O("flex items-center gap-1.5", {
|
|
|
6105
6218
|
);
|
|
6106
6219
|
}
|
|
6107
6220
|
);
|
|
6108
|
-
|
|
6109
|
-
const
|
|
6221
|
+
Uo.displayName = "StatusBar";
|
|
6222
|
+
const Go = {
|
|
6110
6223
|
system: { prefix: "[SYS] ", color: "text-muted-foreground", ariaLive: "off" },
|
|
6111
6224
|
info: { prefix: "[INFO]", color: "text-ef-blue", ariaLive: "off" },
|
|
6112
6225
|
success: { prefix: "[OK] ", color: "text-ef-green", ariaLive: "polite" },
|
|
6113
6226
|
warning: { prefix: "[WARN]", color: "text-ef-orange", ariaLive: "polite" },
|
|
6114
6227
|
error: { prefix: "[ERR] ", color: "text-destructive", ariaLive: "assertive" }
|
|
6115
|
-
},
|
|
6228
|
+
}, Wo = s.forwardRef(
|
|
6116
6229
|
({
|
|
6117
6230
|
className: t,
|
|
6118
6231
|
entries: r,
|
|
@@ -6157,7 +6270,7 @@ const Uo = {
|
|
|
6157
6270
|
children: [
|
|
6158
6271
|
r.length === 0 && /* @__PURE__ */ e("div", { className: "px-4 py-2 text-muted-foreground/40 text-[12px]", children: "No output." }),
|
|
6159
6272
|
r.map((m, v) => {
|
|
6160
|
-
const x =
|
|
6273
|
+
const x = Go[m.level], g = m.id ?? v;
|
|
6161
6274
|
return /* @__PURE__ */ u(
|
|
6162
6275
|
"div",
|
|
6163
6276
|
{
|
|
@@ -6199,8 +6312,8 @@ const Uo = {
|
|
|
6199
6312
|
);
|
|
6200
6313
|
}
|
|
6201
6314
|
);
|
|
6202
|
-
|
|
6203
|
-
const
|
|
6315
|
+
Wo.displayName = "CommandOutput";
|
|
6316
|
+
const Ko = O(
|
|
6204
6317
|
"font-display font-bold text-primary tabular-nums leading-none",
|
|
6205
6318
|
{
|
|
6206
6319
|
variants: {
|
|
@@ -6212,7 +6325,7 @@ const Wo = O(
|
|
|
6212
6325
|
},
|
|
6213
6326
|
defaultVariants: { size: "md" }
|
|
6214
6327
|
}
|
|
6215
|
-
),
|
|
6328
|
+
), qo = O(
|
|
6216
6329
|
"font-mono uppercase tracking-widest text-muted-foreground/60",
|
|
6217
6330
|
{
|
|
6218
6331
|
variants: {
|
|
@@ -6238,8 +6351,8 @@ function Z({
|
|
|
6238
6351
|
size: a
|
|
6239
6352
|
}) {
|
|
6240
6353
|
return /* @__PURE__ */ u("div", { className: "flex flex-col items-center gap-1", children: [
|
|
6241
|
-
/* @__PURE__ */ e("span", { className:
|
|
6242
|
-
/* @__PURE__ */ e("span", { className:
|
|
6354
|
+
/* @__PURE__ */ e("span", { className: Ko({ size: a }), children: t }),
|
|
6355
|
+
/* @__PURE__ */ e("span", { className: qo({ size: a }), children: r })
|
|
6243
6356
|
] });
|
|
6244
6357
|
}
|
|
6245
6358
|
function ce({ size: t }) {
|
|
@@ -6254,7 +6367,7 @@ function ce({ size: t }) {
|
|
|
6254
6367
|
}
|
|
6255
6368
|
);
|
|
6256
6369
|
}
|
|
6257
|
-
const
|
|
6370
|
+
const Xo = s.forwardRef(
|
|
6258
6371
|
({
|
|
6259
6372
|
className: t,
|
|
6260
6373
|
targetDate: r,
|
|
@@ -6281,7 +6394,7 @@ const qo = s.forwardRef(
|
|
|
6281
6394
|
}, [f, o]);
|
|
6282
6395
|
const g = s.useMemo(
|
|
6283
6396
|
() => `Countdown: ${m.days} days ${m.hours} hours ${m.minutes} minutes ${m.seconds} seconds`,
|
|
6284
|
-
[m.days, m.hours, m.minutes]
|
|
6397
|
+
[m.days, m.hours, m.minutes, m.seconds]
|
|
6285
6398
|
), N = c && !(i && m.days === 0);
|
|
6286
6399
|
return /* @__PURE__ */ u(
|
|
6287
6400
|
"div",
|
|
@@ -6310,14 +6423,14 @@ const qo = s.forwardRef(
|
|
|
6310
6423
|
);
|
|
6311
6424
|
}
|
|
6312
6425
|
);
|
|
6313
|
-
|
|
6314
|
-
function
|
|
6426
|
+
Xo.displayName = "CountdownTimer";
|
|
6427
|
+
function Jo({
|
|
6315
6428
|
active: t,
|
|
6316
6429
|
direction: r
|
|
6317
6430
|
}) {
|
|
6318
6431
|
return t ? /* @__PURE__ */ e("span", { className: "ml-1 text-primary text-[10px]", children: r === "asc" ? "▲" : "▼" }) : /* @__PURE__ */ e("span", { className: "ml-1 text-muted-foreground/20 text-[10px]", children: "↕" });
|
|
6319
6432
|
}
|
|
6320
|
-
function
|
|
6433
|
+
function Zo({ colCount: t }) {
|
|
6321
6434
|
return /* @__PURE__ */ e("tr", { children: Array.from({ length: t }).map((r, a) => /* @__PURE__ */ e("td", { className: "px-4 py-3 border-b border-border", children: /* @__PURE__ */ e(
|
|
6322
6435
|
"div",
|
|
6323
6436
|
{
|
|
@@ -6333,7 +6446,7 @@ const $e = {
|
|
|
6333
6446
|
center: "text-center",
|
|
6334
6447
|
right: "text-right"
|
|
6335
6448
|
};
|
|
6336
|
-
function
|
|
6449
|
+
function Qo({
|
|
6337
6450
|
className: t,
|
|
6338
6451
|
columns: r,
|
|
6339
6452
|
data: a,
|
|
@@ -6376,7 +6489,7 @@ function Zo({
|
|
|
6376
6489
|
children: [
|
|
6377
6490
|
h.header,
|
|
6378
6491
|
h.sortable && /* @__PURE__ */ e(
|
|
6379
|
-
|
|
6492
|
+
Jo,
|
|
6380
6493
|
{
|
|
6381
6494
|
active: y,
|
|
6382
6495
|
direction: n
|
|
@@ -6387,7 +6500,7 @@ function Zo({
|
|
|
6387
6500
|
h.key
|
|
6388
6501
|
);
|
|
6389
6502
|
}) }) }),
|
|
6390
|
-
/* @__PURE__ */ e("tbody", { children: b ? Array.from({ length: f }).map((h, y) => /* @__PURE__ */ e(
|
|
6503
|
+
/* @__PURE__ */ e("tbody", { children: b ? Array.from({ length: f }).map((h, y) => /* @__PURE__ */ e(Zo, { colCount: r.length }, y)) : a.length === 0 ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: r.length, className: "px-4 py-12 text-center", children: m ?? /* @__PURE__ */ e("span", { className: "font-mono text-[12px] text-muted-foreground/40 uppercase tracking-wider", children: "NO DATA" }) }) }) : a.map((h, y) => {
|
|
6391
6504
|
const T = c && N.has(y), S = y % 2 === 1;
|
|
6392
6505
|
return /* @__PURE__ */ e(
|
|
6393
6506
|
"tr",
|
|
@@ -6422,9 +6535,9 @@ function Zo({
|
|
|
6422
6535
|
}
|
|
6423
6536
|
);
|
|
6424
6537
|
}
|
|
6425
|
-
const
|
|
6426
|
-
|
|
6427
|
-
const
|
|
6538
|
+
const en = s.forwardRef(Qo);
|
|
6539
|
+
en.displayName = "TacticalTable";
|
|
6540
|
+
const tn = s.forwardRef(
|
|
6428
6541
|
({
|
|
6429
6542
|
className: t,
|
|
6430
6543
|
cols: r = 20,
|
|
@@ -6486,8 +6599,8 @@ const en = s.forwardRef(
|
|
|
6486
6599
|
);
|
|
6487
6600
|
}
|
|
6488
6601
|
);
|
|
6489
|
-
|
|
6490
|
-
const
|
|
6602
|
+
tn.displayName = "MatrixGrid";
|
|
6603
|
+
const rn = O("flex items-end gap-px", {
|
|
6491
6604
|
variants: {
|
|
6492
6605
|
color: {
|
|
6493
6606
|
primary: "[&>span]:bg-primary",
|
|
@@ -6502,7 +6615,7 @@ const tn = O("flex items-end gap-px", {
|
|
|
6502
6615
|
slow: "1.4s",
|
|
6503
6616
|
medium: "0.8s",
|
|
6504
6617
|
fast: "0.4s"
|
|
6505
|
-
},
|
|
6618
|
+
}, an = s.forwardRef(
|
|
6506
6619
|
({
|
|
6507
6620
|
className: t,
|
|
6508
6621
|
barCount: r = 12,
|
|
@@ -6524,7 +6637,7 @@ const tn = O("flex items-end gap-px", {
|
|
|
6524
6637
|
"div",
|
|
6525
6638
|
{
|
|
6526
6639
|
ref: b,
|
|
6527
|
-
className: l(
|
|
6640
|
+
className: l(rn({ color: c }), t),
|
|
6528
6641
|
style: { height: o, ...d },
|
|
6529
6642
|
"aria-hidden": "true",
|
|
6530
6643
|
...p,
|
|
@@ -6547,7 +6660,7 @@ const tn = O("flex items-end gap-px", {
|
|
|
6547
6660
|
);
|
|
6548
6661
|
}
|
|
6549
6662
|
);
|
|
6550
|
-
|
|
6663
|
+
an.displayName = "FrequencyBars";
|
|
6551
6664
|
export {
|
|
6552
6665
|
gr as Accordion,
|
|
6553
6666
|
vr as AccordionContent,
|
|
@@ -6557,12 +6670,12 @@ export {
|
|
|
6557
6670
|
ur as Avatar,
|
|
6558
6671
|
fr as AvatarFallback,
|
|
6559
6672
|
pr as AvatarImage,
|
|
6560
|
-
|
|
6673
|
+
no as BackToTop,
|
|
6561
6674
|
At as Badge,
|
|
6562
6675
|
wa as BottomSheet,
|
|
6563
6676
|
ea as Breadcrumb,
|
|
6564
6677
|
pe as Button,
|
|
6565
|
-
|
|
6678
|
+
Rn as CHART_COLORS,
|
|
6566
6679
|
Ot as Card,
|
|
6567
6680
|
jt as CardBody,
|
|
6568
6681
|
Bt as CardDescription,
|
|
@@ -6573,18 +6686,18 @@ export {
|
|
|
6573
6686
|
Ta as Carousel,
|
|
6574
6687
|
ka as CarouselItem,
|
|
6575
6688
|
Jt as Checkbox,
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6689
|
+
Wo as CommandOutput,
|
|
6690
|
+
co as CommandPalette,
|
|
6691
|
+
po as ContextMenu,
|
|
6692
|
+
io as CookieConsent,
|
|
6693
|
+
Lo as CoordinateTag,
|
|
6694
|
+
oo as CopyClipboard,
|
|
6695
|
+
Xo as CountdownTimer,
|
|
6696
|
+
Io as DataStream,
|
|
6584
6697
|
fa as DatePicker,
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6698
|
+
qa as DescriptionDetail,
|
|
6699
|
+
Wa as DescriptionList,
|
|
6700
|
+
Ka as DescriptionTerm,
|
|
6588
6701
|
Ge as Dialog,
|
|
6589
6702
|
Ar as DialogClose,
|
|
6590
6703
|
qe as DialogContent,
|
|
@@ -6595,52 +6708,52 @@ export {
|
|
|
6595
6708
|
We as DialogPortal,
|
|
6596
6709
|
Je as DialogTitle,
|
|
6597
6710
|
Cr as DialogTrigger,
|
|
6598
|
-
|
|
6599
|
-
|
|
6711
|
+
yo as DiamondLoader,
|
|
6712
|
+
uo as Dropdown,
|
|
6600
6713
|
Yr as EmptyState,
|
|
6601
6714
|
ya as FileUpload,
|
|
6602
6715
|
na as FilterBar,
|
|
6603
6716
|
oa as FilterChip,
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6717
|
+
Ma as Footer,
|
|
6718
|
+
Ca as FooterColumn,
|
|
6719
|
+
Aa as FooterLink,
|
|
6720
|
+
an as FrequencyBars,
|
|
6721
|
+
go as GlitchText,
|
|
6722
|
+
$o as HUDOverlay,
|
|
6610
6723
|
Kt as HelperText,
|
|
6611
|
-
|
|
6724
|
+
ko as HoloCard,
|
|
6612
6725
|
Gt as Input,
|
|
6613
6726
|
Wt as Label,
|
|
6614
6727
|
Ht as LinkCard,
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6728
|
+
Xa as LinkList,
|
|
6729
|
+
Ja as LinkListItem,
|
|
6730
|
+
Ha as List,
|
|
6731
|
+
Ya as ListItem,
|
|
6732
|
+
tn as MatrixGrid,
|
|
6733
|
+
jo as MissionCard,
|
|
6621
6734
|
ra as NumberInput,
|
|
6622
|
-
|
|
6623
|
-
|
|
6735
|
+
Ua as NumberedList,
|
|
6736
|
+
Ga as NumberedListItem,
|
|
6624
6737
|
sa as OTPInput,
|
|
6625
6738
|
zt as OperatorCard,
|
|
6626
6739
|
Qr as Pagination,
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6740
|
+
Mn as Panel,
|
|
6741
|
+
Ln as PanelGroup,
|
|
6742
|
+
On as PanelResizeHandle,
|
|
6630
6743
|
Er as Popover,
|
|
6631
6744
|
_r as PopoverAnchor,
|
|
6632
6745
|
Dr as PopoverContent,
|
|
6633
6746
|
Ir as PopoverTrigger,
|
|
6634
6747
|
xr as Progress,
|
|
6635
|
-
|
|
6636
|
-
|
|
6748
|
+
ro as PullToRefresh,
|
|
6749
|
+
Oo as RadarChart,
|
|
6637
6750
|
Zt as RadioGroup,
|
|
6638
6751
|
Qt as RadioGroupItem,
|
|
6639
6752
|
ba as Rating,
|
|
6640
6753
|
Sa as ResizeHandle,
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6754
|
+
Da as RichTextEditor,
|
|
6755
|
+
Mo as ScanDivider,
|
|
6756
|
+
so as ScrollProgress,
|
|
6644
6757
|
tr as Select,
|
|
6645
6758
|
nr as SelectContent,
|
|
6646
6759
|
rr as SelectGroup,
|
|
@@ -6659,34 +6772,34 @@ export {
|
|
|
6659
6772
|
Y as SkeletonLine,
|
|
6660
6773
|
zr as SkeletonTableRow,
|
|
6661
6774
|
Qe as SkeletonText,
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6775
|
+
vn as SonnerToaster,
|
|
6776
|
+
eo as SortControl,
|
|
6777
|
+
fo as SpoilerBlock,
|
|
6778
|
+
mo as SpoilerInline,
|
|
6779
|
+
Za as Stat,
|
|
6780
|
+
Qa as StatGrid,
|
|
6781
|
+
Uo as StatusBar,
|
|
6669
6782
|
Jr as Stepper,
|
|
6670
|
-
|
|
6783
|
+
ao as SwipeableItem,
|
|
6671
6784
|
er as Switch,
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6785
|
+
La as Table,
|
|
6786
|
+
$a as TableBody,
|
|
6787
|
+
Fa as TableCaption,
|
|
6788
|
+
ja as TableCell,
|
|
6789
|
+
za as TableEmpty,
|
|
6790
|
+
Pa as TableFooter,
|
|
6791
|
+
Ba as TableHead,
|
|
6792
|
+
Oa as TableHeader,
|
|
6793
|
+
Va as TableRow,
|
|
6681
6794
|
Nr as Tabs,
|
|
6682
6795
|
Rr as TabsContent,
|
|
6683
6796
|
kr as TabsList,
|
|
6684
6797
|
Sr as TabsTrigger,
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
|
|
6798
|
+
Do as TacticalBadge,
|
|
6799
|
+
wo as TacticalPanel,
|
|
6800
|
+
en as TacticalTable,
|
|
6688
6801
|
Xt as Textarea,
|
|
6689
|
-
|
|
6802
|
+
bo as ThemeSwitcher,
|
|
6690
6803
|
Xr as Timeline,
|
|
6691
6804
|
tt as TimelineItem,
|
|
6692
6805
|
je as Toast,
|
|
@@ -6696,14 +6809,14 @@ export {
|
|
|
6696
6809
|
wt as ToastProvider,
|
|
6697
6810
|
ze as ToastTitle,
|
|
6698
6811
|
Be as ToastViewport,
|
|
6699
|
-
|
|
6700
|
-
|
|
6812
|
+
yn as Toaster,
|
|
6813
|
+
gn as Tooltip,
|
|
6701
6814
|
Nt as TooltipContent,
|
|
6702
|
-
|
|
6703
|
-
|
|
6815
|
+
xn as TooltipProvider,
|
|
6816
|
+
hn as TooltipTrigger,
|
|
6704
6817
|
Kr as TopBanner,
|
|
6705
6818
|
aa as ViewToggle,
|
|
6706
|
-
|
|
6819
|
+
Ao as WarningBanner,
|
|
6707
6820
|
Ur as alertVariants,
|
|
6708
6821
|
dr as avatarVariants,
|
|
6709
6822
|
Ct as badgeVariants,
|
|
@@ -6712,11 +6825,11 @@ export {
|
|
|
6712
6825
|
l as cn,
|
|
6713
6826
|
Mr as dialogContentVariants,
|
|
6714
6827
|
Hr as emptyStateVariants,
|
|
6715
|
-
|
|
6716
|
-
|
|
6828
|
+
En as endfieldChartTheme,
|
|
6829
|
+
rn as frequencyBarsVariants,
|
|
6717
6830
|
Ut as inputWrapperVariants,
|
|
6718
|
-
|
|
6719
|
-
|
|
6831
|
+
Po as missionCardVariants,
|
|
6832
|
+
Nn as notify,
|
|
6720
6833
|
ta as numberInputVariants,
|
|
6721
6834
|
Ce as operatorCardVariants,
|
|
6722
6835
|
ne as paginationItemVariants,
|
|
@@ -6724,20 +6837,20 @@ export {
|
|
|
6724
6837
|
mr as progressTrackVariants,
|
|
6725
6838
|
Or as separatorVariants,
|
|
6726
6839
|
Pr as skeletonLineVariants,
|
|
6727
|
-
|
|
6728
|
-
|
|
6840
|
+
Ho as statusBarContainerVariants,
|
|
6841
|
+
Yo as statusBarSegmentVariants,
|
|
6729
6842
|
wr as tabsListVariants,
|
|
6730
6843
|
Tr as tabsTriggerVariants,
|
|
6731
|
-
|
|
6844
|
+
_o as tacticalBadgeVariants,
|
|
6732
6845
|
qt as textareaVariants,
|
|
6733
6846
|
qr as timelineItemVariants,
|
|
6734
|
-
|
|
6847
|
+
Cn as toast,
|
|
6735
6848
|
_t as toastAction,
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6849
|
+
In as useCommandPalette,
|
|
6850
|
+
wn as useFocusTrap,
|
|
6851
|
+
Tn as useInView,
|
|
6852
|
+
kn as useShortcut,
|
|
6853
|
+
Sn as useStagger,
|
|
6741
6854
|
Dt as useToast
|
|
6742
6855
|
};
|
|
6743
6856
|
//# sourceMappingURL=index.mjs.map
|