@overmap-ai/blocks 1.0.45 → 1.0.47
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/DayPicker/cva.d.ts +6 -0
- package/dist/blocks.js +502 -451
- package/dist/blocks.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/blocks.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import * as $ from "@radix-ui/react-alert-dialog";
|
|
2
2
|
import { jsx as i, jsxs as W } from "react/jsx-runtime";
|
|
3
3
|
import { cva as v, cx as x } from "class-variance-authority";
|
|
4
|
-
import { createContext as
|
|
4
|
+
import { createContext as T, useContext as j, memo as u, useMemo as w, useState as E, useCallback as h, useRef as U, useEffect as B, useId as Ye, useLayoutEffect as ue, use as b } from "react";
|
|
5
5
|
import * as Qe from "@radix-ui/react-avatar";
|
|
6
6
|
import * as ze from "@radix-ui/react-checkbox";
|
|
7
7
|
import { useMediaQuery as be } from "react-responsive";
|
|
8
|
-
import { CommandItem as Ns, CommandRoot as ws, CommandEmpty as Is, CommandGroup as Ss, CommandInput as ks, useCommandState as Rs, CommandList as
|
|
8
|
+
import { CommandItem as Ns, CommandRoot as ws, CommandEmpty as Is, CommandGroup as Ss, CommandInput as ks, useCommandState as Rs, CommandList as Ts, CommandSeparator as Ps } from "cmdk";
|
|
9
9
|
import * as H from "@radix-ui/react-dialog";
|
|
10
10
|
import { DialogPortal as kt, DialogContent as Ms, DialogTitle as Os, DialogDescription as Vs, DialogOverlay as Ls, DialogTrigger as As } from "@radix-ui/react-dialog";
|
|
11
11
|
import { DayPicker as Ds } from "react-day-picker";
|
|
12
|
-
import { ChevronRight as Gs, ChevronLeft as Es, ChevronDown as
|
|
12
|
+
import { ChevronRight as Gs, ChevronLeft as Es, ChevronDown as _s, ChevronUp as Fs, AlertTriangle as Hs, RotateCcw as Bs, X as $s, CircleAlertIcon as js, TriangleAlertIcon as Us, InfoIcon as qs, Check as Ws } from "lucide-react";
|
|
13
13
|
import * as ye from "@radix-ui/react-hover-card";
|
|
14
14
|
import { createContext as Ks, useContext as Xs, useContextSelector as Ys } from "use-context-selector";
|
|
15
15
|
import { Slot as me } from "@radix-ui/react-slot";
|
|
16
16
|
import { CSSTransition as Qs } from "react-transition-group";
|
|
17
17
|
import "react-transition-group/CSSTransition";
|
|
18
18
|
import Js from "react-dom";
|
|
19
|
-
import { useListItem as Rt, useMergeRefs as ge, FloatingNode as
|
|
19
|
+
import { useListItem as Rt, useMergeRefs as ge, FloatingNode as Tt, FloatingPortal as Pt, FloatingOverlay as Zs, FloatingFocusManager as Mt, FloatingList as Ot, useFloatingNodeId as Vt, useFloating as Lt, offset as At, size as Dt, flip as Gt, shift as Et, hide as _t, autoUpdate as Ft, useRole as eo, useDismiss as Ht, useClick as Bt, useListNavigation as $t, useInteractions as jt, FloatingTree as to, useHover as ao, safePolygon as no } from "@floating-ui/react";
|
|
20
20
|
import * as Je from "@radix-ui/react-separator";
|
|
21
21
|
import * as Ze from "@radix-ui/react-one-time-password-field";
|
|
22
22
|
import { useErrorBoundary as so, ErrorBoundary as oo } from "react-error-boundary";
|
|
23
|
-
import * as
|
|
23
|
+
import * as Pe from "@radix-ui/react-popover";
|
|
24
24
|
import * as Nt from "@radix-ui/react-progress";
|
|
25
25
|
import * as ae from "@radix-ui/react-radio-group";
|
|
26
26
|
import * as Oe from "@radix-ui/react-toggle-group";
|
|
27
27
|
import * as ne from "@radix-ui/react-tabs";
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
28
|
+
import * as Te from "@radix-ui/react-slider";
|
|
29
|
+
import * as Ut from "@radix-ui/react-switch";
|
|
30
30
|
import { toast as K, Toaster as ro } from "sonner";
|
|
31
31
|
import * as co from "@radix-ui/react-toggle";
|
|
32
32
|
import * as de from "@radix-ui/react-tooltip";
|
|
@@ -94,8 +94,8 @@ const Ve = v(
|
|
|
94
94
|
className: ["rounded-full"]
|
|
95
95
|
}
|
|
96
96
|
]
|
|
97
|
-
}),
|
|
98
|
-
const n = j(
|
|
97
|
+
}), qt = T({}), M = () => {
|
|
98
|
+
const n = j(qt);
|
|
99
99
|
if (!n)
|
|
100
100
|
throw new Error("useProvider must be used within a Provider");
|
|
101
101
|
return n;
|
|
@@ -107,7 +107,7 @@ const Ve = v(
|
|
|
107
107
|
}),
|
|
108
108
|
[a, t]
|
|
109
109
|
);
|
|
110
|
-
return /* @__PURE__ */ i(
|
|
110
|
+
return /* @__PURE__ */ i(qt.Provider, { value: s, children: e });
|
|
111
111
|
});
|
|
112
112
|
io.displayName = "Provider";
|
|
113
113
|
const Wt = v([
|
|
@@ -182,14 +182,14 @@ const Wt = v([
|
|
|
182
182
|
] });
|
|
183
183
|
});
|
|
184
184
|
et.displayName = "AlertDialogContent";
|
|
185
|
-
const Xt =
|
|
185
|
+
const Xt = T(() => {
|
|
186
186
|
throw new Error("No AlertDialogProvider found");
|
|
187
|
-
}),
|
|
187
|
+
}), Ec = () => {
|
|
188
188
|
const n = j(Xt);
|
|
189
189
|
if (!n)
|
|
190
190
|
throw new Error("No AlertDialogProvider found");
|
|
191
191
|
return n;
|
|
192
|
-
}, Yt =
|
|
192
|
+
}, Yt = T({}), lo = u((n) => {
|
|
193
193
|
const a = M(), {
|
|
194
194
|
children: t,
|
|
195
195
|
variant: e = "solid",
|
|
@@ -441,7 +441,7 @@ const uo = u((n) => {
|
|
|
441
441
|
] });
|
|
442
442
|
});
|
|
443
443
|
uo.displayName = "AlertDialogProvider";
|
|
444
|
-
const
|
|
444
|
+
const _c = {
|
|
445
445
|
Content: et,
|
|
446
446
|
Trigger: $.Trigger,
|
|
447
447
|
Root: $.Root,
|
|
@@ -449,7 +449,7 @@ const Ac = {
|
|
|
449
449
|
Description: $.Description,
|
|
450
450
|
Action: $.Action,
|
|
451
451
|
Cancel: $.Cancel
|
|
452
|
-
}, Zt =
|
|
452
|
+
}, Zt = T({}), mo = v(["shrink-0", "select-none", "inline-block", "align-middle"], {
|
|
453
453
|
variants: {
|
|
454
454
|
size: {
|
|
455
455
|
xs: ["h-6", "w-6", "text-xs"],
|
|
@@ -514,7 +514,7 @@ const aa = u((n) => {
|
|
|
514
514
|
);
|
|
515
515
|
});
|
|
516
516
|
aa.displayName = "AvatarRoot";
|
|
517
|
-
const
|
|
517
|
+
const Fc = {
|
|
518
518
|
Fallback: ea,
|
|
519
519
|
Image: ta,
|
|
520
520
|
Root: aa
|
|
@@ -740,16 +740,16 @@ const at = v(
|
|
|
740
740
|
);
|
|
741
741
|
});
|
|
742
742
|
sa.displayName = "CheckboxRoot";
|
|
743
|
-
const
|
|
743
|
+
const Hc = {
|
|
744
744
|
Root: sa,
|
|
745
745
|
Indicator: na
|
|
746
|
-
}, Ne =
|
|
746
|
+
}, Ne = T({}), Z = T({}), Bc = (n) => {
|
|
747
747
|
const { xs: a, sm: t, md: e, lg: s, xl: o } = n, [r, c] = E("initial"), [l, d] = E("initial"), m = be({ minWidth: a }), g = be({ minWidth: t }), p = be({ minWidth: e }), f = be({ minWidth: s }), C = be({ minWidth: o });
|
|
748
748
|
return ue(() => {
|
|
749
749
|
d((S) => (c(S), C ? "xl" : f ? "lg" : p ? "md" : g ? "sm" : m ? "xs" : "initial"));
|
|
750
750
|
}, [f, p, g, C, m]), { size: l, prevSize: r, xs: m, sm: g, md: p, lg: f, xl: C };
|
|
751
751
|
};
|
|
752
|
-
function
|
|
752
|
+
function $c(n, a) {
|
|
753
753
|
const [t, e] = E([]), [s, o] = E("");
|
|
754
754
|
return B(() => {
|
|
755
755
|
e(n.filter((r) => a(r, s)));
|
|
@@ -771,10 +771,10 @@ function vo(n) {
|
|
|
771
771
|
return n ?? a;
|
|
772
772
|
}
|
|
773
773
|
function nt(n) {
|
|
774
|
-
const a =
|
|
774
|
+
const a = U(n);
|
|
775
775
|
return a.current = n, a;
|
|
776
776
|
}
|
|
777
|
-
const
|
|
777
|
+
const F = u;
|
|
778
778
|
function we(n) {
|
|
779
779
|
return (a) => {
|
|
780
780
|
const t = n.reduce(
|
|
@@ -816,7 +816,7 @@ function Q(n) {
|
|
|
816
816
|
function pe(n) {
|
|
817
817
|
return n ? "open" : "closed";
|
|
818
818
|
}
|
|
819
|
-
const Ae =
|
|
819
|
+
const Ae = F(function(a) {
|
|
820
820
|
const { children: t, defaultValues: e, values: s, onValuesChange: o, equalityFn: r } = a, c = nt(r), [l, d] = E(/* @__PURE__ */ new Set()), [m, g] = X(e ?? [], s, o), p = h(
|
|
821
821
|
(y, V) => c.current ? V.some((A) => c.current(A, y)) : V.includes(y),
|
|
822
822
|
[c]
|
|
@@ -835,14 +835,14 @@ const Ae = _(function(a) {
|
|
|
835
835
|
) : g([...m, y]);
|
|
836
836
|
},
|
|
837
837
|
[c, C, g, m]
|
|
838
|
-
), z = w(() => Array.from(l.values()).every((y) => p(y, m)), [p, l, m]), N = w(() => Array.from(l.values()).some((y) => p(y, m)), [p, l, m]),
|
|
838
|
+
), z = w(() => Array.from(l.values()).every((y) => p(y, m)), [p, l, m]), N = w(() => Array.from(l.values()).some((y) => p(y, m)), [p, l, m]), P = h(() => {
|
|
839
839
|
g(z ? [] : Array.from(l.values()));
|
|
840
840
|
}, [z, l, g]), L = w(
|
|
841
|
-
() => ({ selected: C, selectValue: S, allSelected: z, someSelected: N, toggleSelectAll:
|
|
842
|
-
[z, f, S, C, N,
|
|
841
|
+
() => ({ selected: C, selectValue: S, allSelected: z, someSelected: N, toggleSelectAll: P, registerValue: f }),
|
|
842
|
+
[z, f, S, C, N, P]
|
|
843
843
|
);
|
|
844
844
|
return /* @__PURE__ */ i(Z, { value: L, children: t });
|
|
845
|
-
}), st =
|
|
845
|
+
}), st = F(function(a) {
|
|
846
846
|
const { children: t, defaultValue: e, value: s, onValueChange: o, equalityFn: r } = a, c = nt(r), [l, d] = X(e, s, o), m = h(
|
|
847
847
|
(f) => c.current ? c.current(f, l) : f === l,
|
|
848
848
|
[l, c]
|
|
@@ -853,7 +853,7 @@ const Ae = _(function(a) {
|
|
|
853
853
|
[m, d]
|
|
854
854
|
), p = w(() => ({ selected: m, selectValue: g }), [g, m]);
|
|
855
855
|
return /* @__PURE__ */ i(Ne, { value: p, children: t });
|
|
856
|
-
}), ot =
|
|
856
|
+
}), ot = F(function(a) {
|
|
857
857
|
const { children: t, defaultValue: e = void 0, value: s, onValueChange: o, equalityFn: r } = a, c = nt(r), [l, d] = X(e, s, o), m = h(
|
|
858
858
|
(f) => l !== void 0 && (c.current ? c.current(f, l) : f === l),
|
|
859
859
|
[l, c]
|
|
@@ -864,7 +864,7 @@ const Ae = _(function(a) {
|
|
|
864
864
|
[m, d]
|
|
865
865
|
), p = w(() => ({ selected: m, selectValue: g }), [m, g]);
|
|
866
866
|
return /* @__PURE__ */ i(Ne, { value: p, children: t });
|
|
867
|
-
}), rt =
|
|
867
|
+
}), rt = T({}), oa = u((n) => {
|
|
868
868
|
const a = b(rt), {
|
|
869
869
|
ref: t,
|
|
870
870
|
className: e,
|
|
@@ -979,12 +979,12 @@ const ia = u((n) => {
|
|
|
979
979
|
);
|
|
980
980
|
});
|
|
981
981
|
ia.displayName = "CheckboxGroupSelectAllItem";
|
|
982
|
-
const
|
|
982
|
+
const jc = {
|
|
983
983
|
Root: ca,
|
|
984
984
|
Item: oa,
|
|
985
985
|
SelectAllItem: ia,
|
|
986
986
|
ItemIndicator: ra
|
|
987
|
-
}, Se =
|
|
987
|
+
}, Se = T({}), De = u((n) => {
|
|
988
988
|
const { children: a, ref: t, className: e, ...s } = n, o = b(Se), r = typeof a == "function" ? a(o) : a;
|
|
989
989
|
return /* @__PURE__ */ i(
|
|
990
990
|
"span",
|
|
@@ -1009,7 +1009,7 @@ const la = u((n) => {
|
|
|
1009
1009
|
return /* @__PURE__ */ i(De, { ref: a, ...e, children: t });
|
|
1010
1010
|
});
|
|
1011
1011
|
la.displayName = "CommandMenuCheckboxIndicator";
|
|
1012
|
-
const re =
|
|
1012
|
+
const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
|
|
1013
1013
|
[
|
|
1014
1014
|
"ring",
|
|
1015
1015
|
"ring-(--base-6)",
|
|
@@ -1303,7 +1303,7 @@ xa.displayName = "CommandMenuInput";
|
|
|
1303
1303
|
const fa = u((n) => {
|
|
1304
1304
|
const { className: a, ref: t, ...e } = n, { size: s } = b(re), o = Rs((r) => r.filtered.count);
|
|
1305
1305
|
return /* @__PURE__ */ i(
|
|
1306
|
-
|
|
1306
|
+
Ts,
|
|
1307
1307
|
{
|
|
1308
1308
|
className: x(zo({ size: s }), a),
|
|
1309
1309
|
ref: t,
|
|
@@ -1313,10 +1313,10 @@ const fa = u((n) => {
|
|
|
1313
1313
|
);
|
|
1314
1314
|
});
|
|
1315
1315
|
fa.displayName = "CommandMenuList";
|
|
1316
|
-
const Ro =
|
|
1316
|
+
const Ro = F(function(a) {
|
|
1317
1317
|
const { children: t, ref: e, defaultValues: s, values: o, onValuesChange: r, ...c } = a;
|
|
1318
1318
|
return /* @__PURE__ */ i(Ae, { values: o, onValuesChange: r, defaultValues: s, children: /* @__PURE__ */ i(Ge, { ref: e, "aria-multiselectable": !0, ...c, children: t }) });
|
|
1319
|
-
}),
|
|
1319
|
+
}), To = F(function(n) {
|
|
1320
1320
|
const { children: a, ref: t, value: e, onSelect: s, closeOnSelect: o = !1, ...r } = n, {
|
|
1321
1321
|
selected: c,
|
|
1322
1322
|
selectValue: l,
|
|
@@ -1369,7 +1369,7 @@ const Ca = u((n) => {
|
|
|
1369
1369
|
) });
|
|
1370
1370
|
});
|
|
1371
1371
|
Ca.displayName = "CommandMenuPageTriggerItem";
|
|
1372
|
-
const
|
|
1372
|
+
const Po = F(function(a) {
|
|
1373
1373
|
const { children: t, ref: e, required: s, defaultValue: o, value: r, onValueChange: c, ...l } = a;
|
|
1374
1374
|
return /* @__PURE__ */ i(Ge, { ref: e, role: "radiogroup", ...l, children: s ? /* @__PURE__ */ i(
|
|
1375
1375
|
st,
|
|
@@ -1388,7 +1388,7 @@ const To = _(function(a) {
|
|
|
1388
1388
|
children: t
|
|
1389
1389
|
}
|
|
1390
1390
|
) });
|
|
1391
|
-
}), Mo =
|
|
1391
|
+
}), Mo = F(function(n) {
|
|
1392
1392
|
const { children: a, ref: t, value: e, onSelect: s, ...o } = n, { selected: r, selectValue: c } = b(Ne), l = h(() => {
|
|
1393
1393
|
s == null || s(), c(e);
|
|
1394
1394
|
}, [s, c, e]), d = r(e);
|
|
@@ -1408,7 +1408,7 @@ const To = _(function(a) {
|
|
|
1408
1408
|
return /* @__PURE__ */ i(H.Root, { defaultOpen: t, open: r, onOpenChange: c, modal: o, children: /* @__PURE__ */ i(ua, { value: l, children: a }) });
|
|
1409
1409
|
});
|
|
1410
1410
|
ya.displayName = "CommandMenuRoot";
|
|
1411
|
-
const Oo =
|
|
1411
|
+
const Oo = F(function(n) {
|
|
1412
1412
|
const { ref: a, onSelect: t, closeOnSelect: e = !1, ...s } = n, { allSelected: o, someSelected: r, toggleSelectAll: c } = b(Z), l = h(() => {
|
|
1413
1413
|
t == null || t(), c();
|
|
1414
1414
|
}, [t, c]), d = o ? !0 : r ? "indeterminate" : !1;
|
|
@@ -1423,7 +1423,7 @@ const Oo = _(function(n) {
|
|
|
1423
1423
|
...s
|
|
1424
1424
|
}
|
|
1425
1425
|
) });
|
|
1426
|
-
}), xe =
|
|
1426
|
+
}), xe = T(!1), Ee = u((n) => {
|
|
1427
1427
|
const { ref: a, children: t, className: e, ...s } = n, o = b(xe), r = typeof t == "function" ? t(o) : t;
|
|
1428
1428
|
return /* @__PURE__ */ i(
|
|
1429
1429
|
"span",
|
|
@@ -1450,12 +1450,12 @@ const za = u((n) => {
|
|
|
1450
1450
|
za.displayName = "CommandMenuSelectedIndicator";
|
|
1451
1451
|
const Na = u((n) => {
|
|
1452
1452
|
const { className: a, ref: t, spacing: e = !1, ...s } = n, { size: o } = b(re);
|
|
1453
|
-
return /* @__PURE__ */ i(
|
|
1453
|
+
return /* @__PURE__ */ i(Ps, { ref: t, className: x(wo({ size: o, spacing: e }), a), ...s });
|
|
1454
1454
|
});
|
|
1455
1455
|
Na.displayName = "CommandMenuSeparator";
|
|
1456
1456
|
const wa = u((n) => /* @__PURE__ */ i(As, { ...n }));
|
|
1457
1457
|
wa.displayName = "CommandMenuTrigger";
|
|
1458
|
-
const
|
|
1458
|
+
const Uc = {
|
|
1459
1459
|
Root: ya,
|
|
1460
1460
|
Overlay: ha,
|
|
1461
1461
|
Content: ga,
|
|
@@ -1468,11 +1468,11 @@ const Hc = {
|
|
|
1468
1468
|
Empty: pa,
|
|
1469
1469
|
// Multi select
|
|
1470
1470
|
MultiSelectGroup: Ro,
|
|
1471
|
-
MultiSelectItem:
|
|
1471
|
+
MultiSelectItem: To,
|
|
1472
1472
|
SelectAllItem: Oo,
|
|
1473
1473
|
SelectedIndicator: za,
|
|
1474
1474
|
// Radio / single select
|
|
1475
|
-
RadioGroup:
|
|
1475
|
+
RadioGroup: Po,
|
|
1476
1476
|
RadioItem: Mo,
|
|
1477
1477
|
// Checkbox
|
|
1478
1478
|
CheckboxItem: ma,
|
|
@@ -1481,22 +1481,22 @@ const Hc = {
|
|
|
1481
1481
|
Pages: ba,
|
|
1482
1482
|
Page: va,
|
|
1483
1483
|
PageTriggerItem: Ca
|
|
1484
|
-
},
|
|
1484
|
+
}, q = u((n) => {
|
|
1485
1485
|
const { ref: a, icon: t, className: e, size: s = "1em", ...o } = n;
|
|
1486
1486
|
return /* @__PURE__ */ i(t, { ref: a, className: x("shrink-0", e), size: s, ...o });
|
|
1487
1487
|
});
|
|
1488
|
-
|
|
1488
|
+
q.displayName = "LuIcon";
|
|
1489
1489
|
const Vo = (n) => {
|
|
1490
1490
|
const { orientation: a, ...t } = n;
|
|
1491
1491
|
switch (a) {
|
|
1492
1492
|
case "up":
|
|
1493
|
-
return /* @__PURE__ */ i(
|
|
1493
|
+
return /* @__PURE__ */ i(q, { icon: Fs, ...t });
|
|
1494
1494
|
case "down":
|
|
1495
|
-
return /* @__PURE__ */ i(
|
|
1495
|
+
return /* @__PURE__ */ i(q, { icon: _s, ...t });
|
|
1496
1496
|
case "left":
|
|
1497
|
-
return /* @__PURE__ */ i(
|
|
1497
|
+
return /* @__PURE__ */ i(q, { icon: Es, ...t });
|
|
1498
1498
|
default:
|
|
1499
|
-
return /* @__PURE__ */ i(
|
|
1499
|
+
return /* @__PURE__ */ i(q, { icon: Gs, ...t });
|
|
1500
1500
|
}
|
|
1501
1501
|
}, Lo = v(["relative", "size-max"], {
|
|
1502
1502
|
variants: {
|
|
@@ -1535,11 +1535,11 @@ const Vo = (n) => {
|
|
|
1535
1535
|
{
|
|
1536
1536
|
variants: {
|
|
1537
1537
|
size: {
|
|
1538
|
-
xs: ["size-
|
|
1539
|
-
sm: ["size-
|
|
1540
|
-
md: ["size-
|
|
1541
|
-
lg: ["size-
|
|
1542
|
-
xl: ["size-
|
|
1538
|
+
xs: ["size-7"],
|
|
1539
|
+
sm: ["size-8"],
|
|
1540
|
+
md: ["size-9"],
|
|
1541
|
+
lg: ["size-10"],
|
|
1542
|
+
xl: ["size-11"]
|
|
1543
1543
|
},
|
|
1544
1544
|
variant: {
|
|
1545
1545
|
soft: [
|
|
@@ -1620,17 +1620,52 @@ const Vo = (n) => {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
|
-
), Eo = v(["font-medium", "w-full", "flex", "
|
|
1623
|
+
), Eo = v(["font-medium", "w-full", "flex", "gap-4", "items-center"], {
|
|
1624
1624
|
variants: {
|
|
1625
1625
|
size: {
|
|
1626
|
-
xs: ["h-
|
|
1627
|
-
sm: ["h-
|
|
1628
|
-
md: ["h-
|
|
1629
|
-
lg: ["h-
|
|
1630
|
-
xl: ["h-
|
|
1626
|
+
xs: ["h-6"],
|
|
1627
|
+
sm: ["h-7"],
|
|
1628
|
+
md: ["h-8"],
|
|
1629
|
+
lg: ["h-9"],
|
|
1630
|
+
xl: ["h-10"]
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
|
-
}),
|
|
1633
|
+
}), _o = v(
|
|
1634
|
+
[
|
|
1635
|
+
"focus-visible:outline-2",
|
|
1636
|
+
"focus-visible:-outline-offset-1",
|
|
1637
|
+
"focus-visible:outline-(--base-a8)",
|
|
1638
|
+
"flex",
|
|
1639
|
+
"items-center",
|
|
1640
|
+
"justify-center",
|
|
1641
|
+
"text-(--base-a11)",
|
|
1642
|
+
"hover:bg-(--base-a3)",
|
|
1643
|
+
"active:bg-(--base-a4)",
|
|
1644
|
+
"text-(--base-a11)",
|
|
1645
|
+
"hover:text-(--base-a12)"
|
|
1646
|
+
],
|
|
1647
|
+
{
|
|
1648
|
+
variants: {
|
|
1649
|
+
size: {
|
|
1650
|
+
xs: ["h-6", "text-xs", "px-1"],
|
|
1651
|
+
sm: ["h-7", "text-sm", "px-1.25"],
|
|
1652
|
+
md: ["h-8", "text-base", "px-1.5"],
|
|
1653
|
+
lg: ["h-9", "text-lg", "px-1.75"],
|
|
1654
|
+
xl: ["h-10", "text-xl", "px-2"]
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
), Fo = v(["inline-flex", "items-center"], {
|
|
1659
|
+
variants: {
|
|
1660
|
+
size: {
|
|
1661
|
+
xs: ["h-6", "text-xs", "gap-0.5"],
|
|
1662
|
+
sm: ["h-7", "text-sm", "gap-0.75"],
|
|
1663
|
+
md: ["h-8", "text-base", "gap-1"],
|
|
1664
|
+
lg: ["h-9", "text-lg", "gap-1.25"],
|
|
1665
|
+
xl: ["h-10", "text-xl", "gap-1.5"]
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
}), It = { Chevron: Vo }, Ho = new Date(1969, 0, 1), Bo = new Date(2042, 11, 1), $o = u((n) => {
|
|
1634
1669
|
const a = M(), {
|
|
1635
1670
|
components: t,
|
|
1636
1671
|
classNames: e,
|
|
@@ -1639,11 +1674,13 @@ const Vo = (n) => {
|
|
|
1639
1674
|
variant: r = "soft",
|
|
1640
1675
|
radius: c = a.radius,
|
|
1641
1676
|
showOutsideDays: l = !0,
|
|
1642
|
-
|
|
1643
|
-
|
|
1677
|
+
startMonth: d = Ho,
|
|
1678
|
+
endMonth: m = Bo,
|
|
1679
|
+
...g
|
|
1680
|
+
} = n, p = w(() => ({
|
|
1644
1681
|
...e,
|
|
1645
1682
|
root: x(e == null ? void 0 : e.root, Lo({ size: o })),
|
|
1646
|
-
nav: x(e == null ? void 0 : e.nav, ["absolute", "top-0", "w-full", "flex", "justify-
|
|
1683
|
+
nav: x(e == null ? void 0 : e.nav, ["absolute", "top-0", "w-full", "flex", "justify-end"]),
|
|
1647
1684
|
month: x(e == null ? void 0 : e.month, ["flex", "flex-col", "gap-1"]),
|
|
1648
1685
|
month_caption: x(e == null ? void 0 : e.month_caption, Eo({ size: o })),
|
|
1649
1686
|
button_next: x(
|
|
@@ -1666,8 +1703,18 @@ const Vo = (n) => {
|
|
|
1666
1703
|
),
|
|
1667
1704
|
range_start: x(e == null ? void 0 : e.range_start, "rdp-range-start"),
|
|
1668
1705
|
range_middle: x(e == null ? void 0 : e.range_middle, "rdp-range-middle"),
|
|
1669
|
-
range_end: x(e == null ? void 0 : e.range_end, "rdp-range-end")
|
|
1670
|
-
|
|
1706
|
+
range_end: x(e == null ? void 0 : e.range_end, "rdp-range-end"),
|
|
1707
|
+
months_dropdown: "opacity-0 absolute z-[1]",
|
|
1708
|
+
years_dropdown: "opacity-0 absolute z-[1]",
|
|
1709
|
+
dropdown_root: x(
|
|
1710
|
+
e == null ? void 0 : e.dropdown_root,
|
|
1711
|
+
_o({ size: o }),
|
|
1712
|
+
k({ radius: c, maxLarge: !1 })
|
|
1713
|
+
),
|
|
1714
|
+
dropdowns: "flex items-center",
|
|
1715
|
+
caption_label: x(e == null ? void 0 : e.caption_label, Fo({ size: o })),
|
|
1716
|
+
chevron: "size-[1em]"
|
|
1717
|
+
}), [e, c, o, r]), f = w(
|
|
1671
1718
|
() => t ? { ...It, ...t } : It,
|
|
1672
1719
|
[t]
|
|
1673
1720
|
);
|
|
@@ -1676,20 +1723,24 @@ const Vo = (n) => {
|
|
|
1676
1723
|
{
|
|
1677
1724
|
"data-accent-color": s,
|
|
1678
1725
|
showOutsideDays: l,
|
|
1679
|
-
components:
|
|
1680
|
-
classNames:
|
|
1681
|
-
|
|
1726
|
+
components: f,
|
|
1727
|
+
classNames: p,
|
|
1728
|
+
startMonth: d,
|
|
1729
|
+
endMonth: m,
|
|
1730
|
+
hideNavigation: !1,
|
|
1731
|
+
captionLayout: "dropdown",
|
|
1732
|
+
...g
|
|
1682
1733
|
}
|
|
1683
1734
|
);
|
|
1684
1735
|
});
|
|
1685
|
-
|
|
1686
|
-
const Ia =
|
|
1736
|
+
$o.displayName = "DayPicker";
|
|
1737
|
+
const Ia = T({}), jo = () => {
|
|
1687
1738
|
const n = j(Ia);
|
|
1688
1739
|
if (!n)
|
|
1689
1740
|
throw new Error("useDialog must be used within a DialogRoot");
|
|
1690
1741
|
return n;
|
|
1691
1742
|
}, Sa = u((n) => {
|
|
1692
|
-
const { radius: a } = M(), t =
|
|
1743
|
+
const { radius: a } = M(), t = jo(), { ref: e, children: s, container: o, className: r, size: c, ...l } = n, d = w(() => typeof s == "function" ? s(t) : s, [s, t]);
|
|
1693
1744
|
return /* @__PURE__ */ i(H.Portal, { container: o, children: /* @__PURE__ */ i(
|
|
1694
1745
|
H.Content,
|
|
1695
1746
|
{
|
|
@@ -1752,7 +1803,7 @@ const Ra = u((n) => {
|
|
|
1752
1803
|
return /* @__PURE__ */ i(H.Root, { open: m, onOpenChange: g, children: /* @__PURE__ */ i(Ia.Provider, { value: p, children: a }) });
|
|
1753
1804
|
});
|
|
1754
1805
|
Ra.displayName = "DialogRoot";
|
|
1755
|
-
const
|
|
1806
|
+
const qc = {
|
|
1756
1807
|
Root: Ra,
|
|
1757
1808
|
Content: Sa,
|
|
1758
1809
|
Overlay: ka,
|
|
@@ -1760,14 +1811,14 @@ const Bc = {
|
|
|
1760
1811
|
Description: H.Description,
|
|
1761
1812
|
Trigger: H.Trigger,
|
|
1762
1813
|
Close: H.Close
|
|
1763
|
-
},
|
|
1814
|
+
}, Uo = {
|
|
1764
1815
|
1: "h1",
|
|
1765
1816
|
2: "h2",
|
|
1766
1817
|
3: "h3",
|
|
1767
1818
|
4: "h4",
|
|
1768
1819
|
5: "h5",
|
|
1769
1820
|
6: "h6"
|
|
1770
|
-
},
|
|
1821
|
+
}, qo = v([], {
|
|
1771
1822
|
variants: {
|
|
1772
1823
|
size: {
|
|
1773
1824
|
xs: ["text-xs"],
|
|
@@ -1796,7 +1847,7 @@ const Bc = {
|
|
|
1796
1847
|
right: ["text-right"]
|
|
1797
1848
|
}
|
|
1798
1849
|
}
|
|
1799
|
-
}),
|
|
1850
|
+
}), Wo = u((n) => {
|
|
1800
1851
|
const {
|
|
1801
1852
|
ref: a,
|
|
1802
1853
|
children: t,
|
|
@@ -1808,13 +1859,13 @@ const Bc = {
|
|
|
1808
1859
|
highContrast: l = !1,
|
|
1809
1860
|
accentColor: d,
|
|
1810
1861
|
...m
|
|
1811
|
-
} = n, g =
|
|
1862
|
+
} = n, g = Uo[s];
|
|
1812
1863
|
return /* @__PURE__ */ i(
|
|
1813
1864
|
g,
|
|
1814
1865
|
{
|
|
1815
1866
|
ref: a,
|
|
1816
1867
|
className: x(
|
|
1817
|
-
|
|
1868
|
+
qo({ size: o, weight: r, align: c }),
|
|
1818
1869
|
{
|
|
1819
1870
|
"text-(--accent-a11)": !!d,
|
|
1820
1871
|
"text-(--accent-a12)": l
|
|
@@ -1827,13 +1878,13 @@ const Bc = {
|
|
|
1827
1878
|
}
|
|
1828
1879
|
);
|
|
1829
1880
|
});
|
|
1830
|
-
|
|
1831
|
-
const
|
|
1881
|
+
Wo.displayName = "Heading";
|
|
1882
|
+
const Ta = u((n) => {
|
|
1832
1883
|
const { ref: a, children: t, className: e, ...s } = n;
|
|
1833
1884
|
return /* @__PURE__ */ i(ye.Arrow, { className: x("fill-(--base-6)", e), ref: a, ...s, children: t });
|
|
1834
1885
|
});
|
|
1835
|
-
|
|
1836
|
-
const
|
|
1886
|
+
Ta.displayName = "HoverCardArrow";
|
|
1887
|
+
const Ko = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(--base-6)"], {
|
|
1837
1888
|
variants: {
|
|
1838
1889
|
size: {
|
|
1839
1890
|
xs: ["p-2"],
|
|
@@ -1846,7 +1897,7 @@ const jo = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
|
|
|
1846
1897
|
defaultVariants: {
|
|
1847
1898
|
size: "md"
|
|
1848
1899
|
}
|
|
1849
|
-
}),
|
|
1900
|
+
}), Pa = u((n) => {
|
|
1850
1901
|
const a = M(), {
|
|
1851
1902
|
ref: t,
|
|
1852
1903
|
children: e,
|
|
@@ -1863,7 +1914,7 @@ const jo = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
|
|
|
1863
1914
|
ye.Content,
|
|
1864
1915
|
{
|
|
1865
1916
|
className: x(
|
|
1866
|
-
|
|
1917
|
+
Ko({ size: o }),
|
|
1867
1918
|
Ve({ side: r, shadow: "3" }),
|
|
1868
1919
|
k({ radius: c, maxLarge: !0 }),
|
|
1869
1920
|
s
|
|
@@ -1878,13 +1929,13 @@ const jo = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
|
|
|
1878
1929
|
}
|
|
1879
1930
|
) });
|
|
1880
1931
|
});
|
|
1881
|
-
|
|
1882
|
-
const
|
|
1883
|
-
Arrow:
|
|
1884
|
-
Content:
|
|
1932
|
+
Pa.displayName = "HoverCardContent";
|
|
1933
|
+
const Wc = {
|
|
1934
|
+
Arrow: Ta,
|
|
1935
|
+
Content: Pa,
|
|
1885
1936
|
Root: ye.Root,
|
|
1886
1937
|
Trigger: ye.Trigger
|
|
1887
|
-
},
|
|
1938
|
+
}, Xo = u(({ children: n, forceHover: a }) => {
|
|
1888
1939
|
const [t, e] = E(!1), s = h(() => {
|
|
1889
1940
|
e(!0);
|
|
1890
1941
|
}, []), o = h(() => {
|
|
@@ -1896,8 +1947,8 @@ const $c = {
|
|
|
1896
1947
|
onPointerLeave: o
|
|
1897
1948
|
});
|
|
1898
1949
|
});
|
|
1899
|
-
|
|
1900
|
-
const lt =
|
|
1950
|
+
Xo.displayName = "HoverUtility";
|
|
1951
|
+
const lt = T({}), Yo = v(
|
|
1901
1952
|
[
|
|
1902
1953
|
"flex",
|
|
1903
1954
|
"items-stretch",
|
|
@@ -1929,7 +1980,7 @@ const lt = P({}), Uo = v(
|
|
|
1929
1980
|
variant: "surface"
|
|
1930
1981
|
}
|
|
1931
1982
|
}
|
|
1932
|
-
),
|
|
1983
|
+
), Qo = v(["peer-[.slot]/slot:px-0"], {
|
|
1933
1984
|
variants: {
|
|
1934
1985
|
variant: {
|
|
1935
1986
|
surface: ["placeholder-(--accent-12)", "placeholder:opacity-60", "selection:bg-(--accent-a5)"],
|
|
@@ -1949,7 +2000,7 @@ const lt = P({}), Uo = v(
|
|
|
1949
2000
|
size: "md",
|
|
1950
2001
|
variant: "surface"
|
|
1951
2002
|
}
|
|
1952
|
-
}),
|
|
2003
|
+
}), Jo = v(["peer/slot", "slot"], {
|
|
1953
2004
|
variants: {
|
|
1954
2005
|
size: {
|
|
1955
2006
|
xs: ["px-1.5"],
|
|
@@ -1973,7 +2024,7 @@ const lt = P({}), Uo = v(
|
|
|
1973
2024
|
return /* @__PURE__ */ i(
|
|
1974
2025
|
"input",
|
|
1975
2026
|
{
|
|
1976
|
-
className: x(
|
|
2027
|
+
className: x(Qo({ size: s, variant: o }), "grow bg-transparent outline-0", t),
|
|
1977
2028
|
ref: a,
|
|
1978
2029
|
...e
|
|
1979
2030
|
}
|
|
@@ -1994,7 +2045,7 @@ const Oa = u((n) => {
|
|
|
1994
2045
|
return /* @__PURE__ */ i(lt.Provider, { value: m, children: /* @__PURE__ */ i(
|
|
1995
2046
|
"div",
|
|
1996
2047
|
{
|
|
1997
|
-
className: x(
|
|
2048
|
+
className: x(Yo({ variant: o, size: r }), k({ radius: l, maxLarge: !1 }), s),
|
|
1998
2049
|
ref: t,
|
|
1999
2050
|
"data-accent-color": c,
|
|
2000
2051
|
...d,
|
|
@@ -2005,15 +2056,15 @@ const Oa = u((n) => {
|
|
|
2005
2056
|
Oa.displayName = "InputRoot";
|
|
2006
2057
|
const Va = u((n) => {
|
|
2007
2058
|
const { ref: a, children: t, className: e, ...s } = n, { size: o, variant: r } = j(lt);
|
|
2008
|
-
return /* @__PURE__ */ i("div", { className: x(
|
|
2059
|
+
return /* @__PURE__ */ i("div", { className: x(Jo({ size: o, variant: r }), "flex items-center", e), ref: a, ...s, children: t });
|
|
2009
2060
|
});
|
|
2010
2061
|
Va.displayName = "InputSlot";
|
|
2011
|
-
const
|
|
2062
|
+
const Kc = {
|
|
2012
2063
|
Field: Ma,
|
|
2013
2064
|
Root: Oa,
|
|
2014
2065
|
Slot: Va
|
|
2015
2066
|
}, dt = Ks({}), ke = () => Xs(dt);
|
|
2016
|
-
function
|
|
2067
|
+
function Xc(n) {
|
|
2017
2068
|
return Ys(dt, n);
|
|
2018
2069
|
}
|
|
2019
2070
|
const La = u((n) => {
|
|
@@ -2039,7 +2090,7 @@ const Aa = u((n) => {
|
|
|
2039
2090
|
return /* @__PURE__ */ i(dt.Provider, { value: l, children: a });
|
|
2040
2091
|
});
|
|
2041
2092
|
Aa.displayName = "LayoutRoot";
|
|
2042
|
-
const fe =
|
|
2093
|
+
const fe = T({}), Da = T({}), ut = u((n) => {
|
|
2043
2094
|
const { ref: a, onClick: t, disabled: e, ...s } = n, { setOpen: o } = b(fe), r = h(
|
|
2044
2095
|
(c) => {
|
|
2045
2096
|
t == null || t(c), !c.defaultPrevented && o(!1);
|
|
@@ -2049,15 +2100,15 @@ const fe = P({}), Da = P({}), ut = u((n) => {
|
|
|
2049
2100
|
return /* @__PURE__ */ i(me, { ref: a, onClick: r, "data-disabled": e ?? !1, ...s });
|
|
2050
2101
|
});
|
|
2051
2102
|
ut.displayName = "SlideOutClose";
|
|
2052
|
-
const
|
|
2053
|
-
function
|
|
2054
|
-
const t =
|
|
2103
|
+
const Zo = 200;
|
|
2104
|
+
function er(n, a = globalThis == null ? void 0 : globalThis.document.body) {
|
|
2105
|
+
const t = nr(n), e = U(!1), s = U(() => {
|
|
2055
2106
|
});
|
|
2056
2107
|
return B(() => {
|
|
2057
2108
|
const o = (c) => {
|
|
2058
2109
|
if (c.target && !e.current) {
|
|
2059
2110
|
const l = { originalEvent: c }, d = () => {
|
|
2060
|
-
|
|
2111
|
+
ar("pointerDownOutside", t, l, {
|
|
2061
2112
|
discrete: !0
|
|
2062
2113
|
});
|
|
2063
2114
|
};
|
|
@@ -2076,15 +2127,15 @@ function Yo(n, a = globalThis == null ? void 0 : globalThis.document.body) {
|
|
|
2076
2127
|
onPointerDownCapture: () => e.current = !0
|
|
2077
2128
|
};
|
|
2078
2129
|
}
|
|
2079
|
-
function
|
|
2130
|
+
function tr(n, a) {
|
|
2080
2131
|
n && Js.flushSync(() => n.dispatchEvent(a));
|
|
2081
2132
|
}
|
|
2082
|
-
function
|
|
2133
|
+
function ar(n, a, t, { discrete: e }) {
|
|
2083
2134
|
const s = t.originalEvent.target, o = new CustomEvent(n, { bubbles: !1, cancelable: !0, detail: t });
|
|
2084
|
-
a && s.addEventListener(n, a, { once: !0 }),
|
|
2135
|
+
a && s.addEventListener(n, a, { once: !0 }), tr(s, o);
|
|
2085
2136
|
}
|
|
2086
|
-
function
|
|
2087
|
-
const a =
|
|
2137
|
+
function nr(n) {
|
|
2138
|
+
const a = U(n);
|
|
2088
2139
|
return B(() => {
|
|
2089
2140
|
a.current = n;
|
|
2090
2141
|
}), w(() => (...t) => {
|
|
@@ -2092,7 +2143,7 @@ function Zo(n) {
|
|
|
2092
2143
|
return (e = a.current) == null ? void 0 : e.call(a, ...t);
|
|
2093
2144
|
}, []);
|
|
2094
2145
|
}
|
|
2095
|
-
const
|
|
2146
|
+
const sr = {
|
|
2096
2147
|
left: {
|
|
2097
2148
|
enter: "-ml-(--slide-out-size)",
|
|
2098
2149
|
enterActive: "ease-linear duration-200 transition-[margin-left] ml-0",
|
|
@@ -2122,23 +2173,23 @@ const er = {
|
|
|
2122
2173
|
exitDone: "-mb-(--slide-out-size)"
|
|
2123
2174
|
}
|
|
2124
2175
|
}, mt = u((n) => {
|
|
2125
|
-
const { ref: a, children: t, style: e, side: s, type: o, resizeable: r = !1, initialSize: c, minSize: l, maxSize: d, ...m } = n, g =
|
|
2176
|
+
const { ref: a, children: t, style: e, side: s, type: o, resizeable: r = !1, initialSize: c, minSize: l, maxSize: d, ...m } = n, g = U(null), { open: p, setOpen: f, parentElement: C, modal: S, hide: z } = b(fe), [N, P] = E(null), L = h(() => {
|
|
2126
2177
|
S && f(!1);
|
|
2127
|
-
}, [S, f]), { onPointerDownCapture: y } =
|
|
2178
|
+
}, [S, f]), { onPointerDownCapture: y } = er(
|
|
2128
2179
|
L,
|
|
2129
2180
|
C ?? void 0
|
|
2130
2181
|
);
|
|
2131
2182
|
ue(() => {
|
|
2132
2183
|
if (!p || !g.current) return;
|
|
2133
|
-
const { offsetWidth: O, offsetHeight:
|
|
2184
|
+
const { offsetWidth: O, offsetHeight: _ } = g.current;
|
|
2134
2185
|
switch (s) {
|
|
2135
2186
|
case "left":
|
|
2136
2187
|
case "right":
|
|
2137
|
-
|
|
2188
|
+
P(O);
|
|
2138
2189
|
break;
|
|
2139
2190
|
case "top":
|
|
2140
2191
|
case "bottom":
|
|
2141
|
-
|
|
2192
|
+
P(_);
|
|
2142
2193
|
}
|
|
2143
2194
|
}, [p, s]);
|
|
2144
2195
|
const V = w(() => {
|
|
@@ -2184,13 +2235,13 @@ const er = {
|
|
|
2184
2235
|
"--slide-out-size": `${N}px`
|
|
2185
2236
|
};
|
|
2186
2237
|
}
|
|
2187
|
-
}, [N, c, d, l, s, e, o]), A =
|
|
2238
|
+
}, [N, c, d, l, s, e, o]), A = sr[s], G = w(
|
|
2188
2239
|
() => ({
|
|
2189
2240
|
side: s,
|
|
2190
2241
|
type: o,
|
|
2191
2242
|
resizeable: r,
|
|
2192
2243
|
computedSize: N,
|
|
2193
|
-
setComputedSize:
|
|
2244
|
+
setComputedSize: P
|
|
2194
2245
|
}),
|
|
2195
2246
|
[N, r, s, o]
|
|
2196
2247
|
);
|
|
@@ -2202,7 +2253,7 @@ const er = {
|
|
|
2202
2253
|
{
|
|
2203
2254
|
classNames: A,
|
|
2204
2255
|
in: p,
|
|
2205
|
-
timeout:
|
|
2256
|
+
timeout: Zo,
|
|
2206
2257
|
unmountOnExit: !0,
|
|
2207
2258
|
mountOnEnter: !0,
|
|
2208
2259
|
nodeRef: g,
|
|
@@ -2225,8 +2276,8 @@ const er = {
|
|
|
2225
2276
|
});
|
|
2226
2277
|
mt.displayName = "SlideOutContent";
|
|
2227
2278
|
const gt = u((n) => {
|
|
2228
|
-
const { ref: a, onMouseDown: t, disabled: e, ...s } = n, o =
|
|
2229
|
-
(N,
|
|
2279
|
+
const { ref: a, onMouseDown: t, disabled: e, ...s } = n, o = U(null), [r, c] = E(!1), { side: l, resizeable: d, computedSize: m, setComputedSize: g } = b(Da), p = e ?? !d, f = h(
|
|
2280
|
+
(N, P) => {
|
|
2230
2281
|
switch (l) {
|
|
2231
2282
|
case "left":
|
|
2232
2283
|
o.current = N;
|
|
@@ -2235,10 +2286,10 @@ const gt = u((n) => {
|
|
|
2235
2286
|
o.current = N;
|
|
2236
2287
|
break;
|
|
2237
2288
|
case "top":
|
|
2238
|
-
o.current =
|
|
2289
|
+
o.current = P;
|
|
2239
2290
|
break;
|
|
2240
2291
|
case "bottom":
|
|
2241
|
-
o.current =
|
|
2292
|
+
o.current = P;
|
|
2242
2293
|
break;
|
|
2243
2294
|
}
|
|
2244
2295
|
},
|
|
@@ -2252,14 +2303,14 @@ const gt = u((n) => {
|
|
|
2252
2303
|
(N) => {
|
|
2253
2304
|
if (!r || !o.current || p) return;
|
|
2254
2305
|
N.preventDefault();
|
|
2255
|
-
const { clientX:
|
|
2306
|
+
const { clientX: P, clientY: L } = N;
|
|
2256
2307
|
let y = 0;
|
|
2257
2308
|
switch (l) {
|
|
2258
2309
|
case "left":
|
|
2259
|
-
y =
|
|
2310
|
+
y = P - o.current;
|
|
2260
2311
|
break;
|
|
2261
2312
|
case "right":
|
|
2262
|
-
y = (
|
|
2313
|
+
y = (P - o.current) * -1;
|
|
2263
2314
|
break;
|
|
2264
2315
|
case "top":
|
|
2265
2316
|
y = L - o.current;
|
|
@@ -2268,7 +2319,7 @@ const gt = u((n) => {
|
|
|
2268
2319
|
y = (L - o.current) * -1;
|
|
2269
2320
|
break;
|
|
2270
2321
|
}
|
|
2271
|
-
f(
|
|
2322
|
+
f(P, L), g(m + y);
|
|
2272
2323
|
},
|
|
2273
2324
|
[p, m, r, g, f, l]
|
|
2274
2325
|
), z = h(() => {
|
|
@@ -2328,7 +2379,7 @@ const Ga = u((n) => {
|
|
|
2328
2379
|
});
|
|
2329
2380
|
Ga.displayName = "SlideOutTrigger";
|
|
2330
2381
|
const ft = u((n) => {
|
|
2331
|
-
const { ref: a, ...t } = n, e =
|
|
2382
|
+
const { ref: a, ...t } = n, e = U(null), { open: s, modal: o, parentElement: r } = b(fe);
|
|
2332
2383
|
return B(() => {
|
|
2333
2384
|
if (!e.current) return;
|
|
2334
2385
|
const c = e.current, l = c.style.pointerEvents;
|
|
@@ -2338,7 +2389,7 @@ const ft = u((n) => {
|
|
|
2338
2389
|
}, [o, s, r == null ? void 0 : r.style]), /* @__PURE__ */ i("div", { ref: we([a, e]), ...t });
|
|
2339
2390
|
});
|
|
2340
2391
|
ft.displayName = "SlideOutViewport";
|
|
2341
|
-
const
|
|
2392
|
+
const Yc = {
|
|
2342
2393
|
Close: ut,
|
|
2343
2394
|
Content: mt,
|
|
2344
2395
|
Handle: gt,
|
|
@@ -2351,16 +2402,16 @@ const Uc = {
|
|
|
2351
2402
|
return /* @__PURE__ */ i(ut, { ref: a, ...t });
|
|
2352
2403
|
});
|
|
2353
2404
|
Ea.displayName = "LayoutSlideOutClose";
|
|
2354
|
-
const
|
|
2405
|
+
const _a = u((n) => {
|
|
2355
2406
|
const { ref: a, type: t, ...e } = n, { small: s } = ke();
|
|
2356
2407
|
return /* @__PURE__ */ i(mt, { ref: a, type: t ?? (s ? "overlay" : "inline"), ...e });
|
|
2357
2408
|
});
|
|
2358
|
-
|
|
2359
|
-
const
|
|
2409
|
+
_a.displayName = "LayoutSlideOutContent";
|
|
2410
|
+
const Fa = u((n) => {
|
|
2360
2411
|
const { ref: a, ...t } = n;
|
|
2361
2412
|
return /* @__PURE__ */ i(gt, { ref: a, ...t });
|
|
2362
2413
|
});
|
|
2363
|
-
|
|
2414
|
+
Fa.displayName = "LayoutSlideOutHandle";
|
|
2364
2415
|
const Ha = u((n) => {
|
|
2365
2416
|
const { ref: a, smallModeOnly: t = !1, ...e } = n, { small: s, hideLayout: o } = ke();
|
|
2366
2417
|
return w(() => !(o || t && !s), [o, s, t]) ? /* @__PURE__ */ i(pt, { ref: a, ...e }) : null;
|
|
@@ -2400,17 +2451,17 @@ const ja = u((n) => {
|
|
|
2400
2451
|
return /* @__PURE__ */ i(ft, { ref: a, ...t });
|
|
2401
2452
|
});
|
|
2402
2453
|
ja.displayName = "LayoutSlideOutViewport";
|
|
2403
|
-
const
|
|
2454
|
+
const Qc = {
|
|
2404
2455
|
Root: Aa,
|
|
2405
2456
|
Container: La,
|
|
2406
2457
|
SlideOutClose: Ea,
|
|
2407
|
-
SlideOutContent:
|
|
2408
|
-
SlideOutHandle:
|
|
2458
|
+
SlideOutContent: _a,
|
|
2459
|
+
SlideOutHandle: Fa,
|
|
2409
2460
|
SlideOutOverlay: Ha,
|
|
2410
2461
|
SlideOutRoot: Ba,
|
|
2411
2462
|
SlideOutTrigger: $a,
|
|
2412
2463
|
SlideOutViewport: ja
|
|
2413
|
-
},
|
|
2464
|
+
}, or = v(["cursor-pointer"], {
|
|
2414
2465
|
variants: {
|
|
2415
2466
|
size: {
|
|
2416
2467
|
none: ["[font-size:inherit]", "leading-[inherit]"],
|
|
@@ -2445,7 +2496,7 @@ const Wc = {
|
|
|
2445
2496
|
weight: "regular",
|
|
2446
2497
|
align: "left"
|
|
2447
2498
|
}
|
|
2448
|
-
}),
|
|
2499
|
+
}), rr = u((n) => {
|
|
2449
2500
|
const a = M(), {
|
|
2450
2501
|
ref: t,
|
|
2451
2502
|
children: e,
|
|
@@ -2462,7 +2513,7 @@ const Wc = {
|
|
|
2462
2513
|
{
|
|
2463
2514
|
ref: t,
|
|
2464
2515
|
className: x(
|
|
2465
|
-
|
|
2516
|
+
or({ size: o, weight: r, align: c }),
|
|
2466
2517
|
{
|
|
2467
2518
|
"text-(--accent-a11)": !l,
|
|
2468
2519
|
"text-(--accent-a12)": l
|
|
@@ -2475,8 +2526,8 @@ const Wc = {
|
|
|
2475
2526
|
}
|
|
2476
2527
|
);
|
|
2477
2528
|
});
|
|
2478
|
-
|
|
2479
|
-
const
|
|
2529
|
+
rr.displayName = "Link";
|
|
2530
|
+
const cr = v(
|
|
2480
2531
|
[
|
|
2481
2532
|
"select-none",
|
|
2482
2533
|
"relative",
|
|
@@ -2516,7 +2567,7 @@ const nr = v(
|
|
|
2516
2567
|
variant: "soft"
|
|
2517
2568
|
}
|
|
2518
2569
|
}
|
|
2519
|
-
),
|
|
2570
|
+
), ir = v(["text-(--base-a10)", "flex", "items-center", "select-none", "py-1"], {
|
|
2520
2571
|
variants: {
|
|
2521
2572
|
size: {
|
|
2522
2573
|
xs: ["gap-1.5", "px-3", "text-xs"],
|
|
@@ -2529,7 +2580,7 @@ const nr = v(
|
|
|
2529
2580
|
defaultVariants: {
|
|
2530
2581
|
size: "md"
|
|
2531
2582
|
}
|
|
2532
|
-
}),
|
|
2583
|
+
}), lr = v(["h-px", "bg-(--base-a6)", "w-auto", "shrink-0"], {
|
|
2533
2584
|
variants: {
|
|
2534
2585
|
size: {
|
|
2535
2586
|
xs: ["-mx-0.5", "my-0.5"],
|
|
@@ -2542,7 +2593,7 @@ const nr = v(
|
|
|
2542
2593
|
defaultVariants: {
|
|
2543
2594
|
size: "md"
|
|
2544
2595
|
}
|
|
2545
|
-
}),
|
|
2596
|
+
}), Ua = v(
|
|
2546
2597
|
[
|
|
2547
2598
|
"flex",
|
|
2548
2599
|
"flex-col",
|
|
@@ -2579,7 +2630,7 @@ const nr = v(
|
|
|
2579
2630
|
size: "md"
|
|
2580
2631
|
}
|
|
2581
2632
|
}
|
|
2582
|
-
),
|
|
2633
|
+
), dr = v(["overflow-hidden", "touch-manipulation"], {
|
|
2583
2634
|
variants: {
|
|
2584
2635
|
modal: {
|
|
2585
2636
|
true: ["pointer-events-auto"],
|
|
@@ -2589,7 +2640,7 @@ const nr = v(
|
|
|
2589
2640
|
defaultVariants: {
|
|
2590
2641
|
modal: !1
|
|
2591
2642
|
}
|
|
2592
|
-
}),
|
|
2643
|
+
}), ur = v(
|
|
2593
2644
|
[
|
|
2594
2645
|
"flex",
|
|
2595
2646
|
"items-stretch",
|
|
@@ -2615,8 +2666,8 @@ const nr = v(
|
|
|
2615
2666
|
size: "md"
|
|
2616
2667
|
}
|
|
2617
2668
|
}
|
|
2618
|
-
), J =
|
|
2619
|
-
const a = b(ie), { getItemProps: t, activeIndex: e, setOpen: s, size: o, variant: r, radius: c } = b(J), { closeRoot: l } = b(
|
|
2669
|
+
), J = T({}), ie = T({}), _e = T({}), mr = ["Enter", " "], se = u((n) => {
|
|
2670
|
+
const a = b(ie), { getItemProps: t, activeIndex: e, setOpen: s, size: o, variant: r, radius: c } = b(J), { closeRoot: l } = b(_e), {
|
|
2620
2671
|
ref: d,
|
|
2621
2672
|
className: m,
|
|
2622
2673
|
children: g,
|
|
@@ -2626,21 +2677,21 @@ const nr = v(
|
|
|
2626
2677
|
closeOnSelect: S = !0,
|
|
2627
2678
|
disabled: z = !1,
|
|
2628
2679
|
...N
|
|
2629
|
-
} = n, { ref:
|
|
2630
|
-
(
|
|
2631
|
-
|
|
2680
|
+
} = n, { ref: P, index: L } = Rt(), y = ge([P, d]), V = h(
|
|
2681
|
+
(_) => {
|
|
2682
|
+
_.stopPropagation(), !z && (f == null || f(_), p == null || p(), S && s(!1), l && a.setOpen(!1));
|
|
2632
2683
|
},
|
|
2633
2684
|
[S, l, z, a, f, p, s]
|
|
2634
2685
|
), A = h(
|
|
2635
|
-
(
|
|
2636
|
-
z || (C == null || C(
|
|
2686
|
+
(_) => {
|
|
2687
|
+
z || (C == null || C(_), mr.includes(_.key) && (p == null || p(), S && s(!1)));
|
|
2637
2688
|
},
|
|
2638
2689
|
[S, z, C, p, s]
|
|
2639
2690
|
), G = w(() => L === e, [e, L]), O = w(() => typeof g == "function" ? g({ active: G, selected: !1 }) : g, [g, G]);
|
|
2640
2691
|
return /* @__PURE__ */ i(
|
|
2641
2692
|
"li",
|
|
2642
2693
|
{
|
|
2643
|
-
className: x(
|
|
2694
|
+
className: x(cr({ size: o, variant: r }), k({ radius: c, maxLarge: !0 }), m),
|
|
2644
2695
|
ref: y,
|
|
2645
2696
|
role: "menuitem",
|
|
2646
2697
|
"data-disabled": Q(z),
|
|
@@ -2657,7 +2708,7 @@ const nr = v(
|
|
|
2657
2708
|
);
|
|
2658
2709
|
});
|
|
2659
2710
|
se.displayName = "MenuItem";
|
|
2660
|
-
const
|
|
2711
|
+
const qa = u((n) => {
|
|
2661
2712
|
const { ref: a, checked: t, onCheckedChange: e, onSelect: s, ...o } = n, r = h(() => {
|
|
2662
2713
|
switch (s == null || s(), t) {
|
|
2663
2714
|
case !0:
|
|
@@ -2671,7 +2722,7 @@ const Ua = u((n) => {
|
|
|
2671
2722
|
}, [t, e, s]);
|
|
2672
2723
|
return /* @__PURE__ */ i(Se.Provider, { value: t, children: /* @__PURE__ */ i(se, { ref: a, onSelect: r, ...o }) });
|
|
2673
2724
|
});
|
|
2674
|
-
|
|
2725
|
+
qa.displayName = "MenuCheckboxItem";
|
|
2675
2726
|
const Wa = u((n) => {
|
|
2676
2727
|
const { ref: a, children: t, ...e } = n;
|
|
2677
2728
|
return /* @__PURE__ */ i(De, { ref: a, ...e, children: t });
|
|
@@ -2714,7 +2765,7 @@ const Xa = u((n) => {
|
|
|
2714
2765
|
setActiveIndex: S,
|
|
2715
2766
|
getItemProps: z,
|
|
2716
2767
|
open: N,
|
|
2717
|
-
setOpen:
|
|
2768
|
+
setOpen: P,
|
|
2718
2769
|
nodeId: L,
|
|
2719
2770
|
context: y,
|
|
2720
2771
|
floatingStyles: V,
|
|
@@ -2726,7 +2777,7 @@ const Xa = u((n) => {
|
|
|
2726
2777
|
...V,
|
|
2727
2778
|
visibility: (I = p.hide) != null && I.referenceHidden ? "hidden" : "visible"
|
|
2728
2779
|
};
|
|
2729
|
-
}, [V, (R = p.hide) == null ? void 0 : R.referenceHidden]),
|
|
2780
|
+
}, [V, (R = p.hide) == null ? void 0 : R.referenceHidden]), _ = h(
|
|
2730
2781
|
(I) => {
|
|
2731
2782
|
A && bo(I);
|
|
2732
2783
|
},
|
|
@@ -2737,7 +2788,7 @@ const Xa = u((n) => {
|
|
|
2737
2788
|
activeIndex: C,
|
|
2738
2789
|
elementsRef: f,
|
|
2739
2790
|
open: N,
|
|
2740
|
-
setOpen:
|
|
2791
|
+
setOpen: P,
|
|
2741
2792
|
refs: m,
|
|
2742
2793
|
setActiveIndex: S,
|
|
2743
2794
|
size: o,
|
|
@@ -2750,7 +2801,7 @@ const Xa = u((n) => {
|
|
|
2750
2801
|
C,
|
|
2751
2802
|
f,
|
|
2752
2803
|
N,
|
|
2753
|
-
|
|
2804
|
+
P,
|
|
2754
2805
|
m,
|
|
2755
2806
|
S,
|
|
2756
2807
|
o,
|
|
@@ -2759,11 +2810,11 @@ const Xa = u((n) => {
|
|
|
2759
2810
|
c
|
|
2760
2811
|
]
|
|
2761
2812
|
);
|
|
2762
|
-
return /* @__PURE__ */ i(
|
|
2813
|
+
return /* @__PURE__ */ i(Tt, { id: L, children: N && /* @__PURE__ */ i(Pt, { children: /* @__PURE__ */ i(
|
|
2763
2814
|
Zs,
|
|
2764
2815
|
{
|
|
2765
|
-
className:
|
|
2766
|
-
onClick:
|
|
2816
|
+
className: dr({ modal: A }),
|
|
2817
|
+
onClick: _,
|
|
2767
2818
|
lockScroll: !0,
|
|
2768
2819
|
"data-floating-content": "",
|
|
2769
2820
|
children: /* @__PURE__ */ i(Mt, { context: y, children: /* @__PURE__ */ i(Ot, { elementsRef: f, children: /* @__PURE__ */ i(J.Provider, { value: ee, children: /* @__PURE__ */ i(
|
|
@@ -2779,7 +2830,7 @@ const Xa = u((n) => {
|
|
|
2779
2830
|
"ul",
|
|
2780
2831
|
{
|
|
2781
2832
|
className: x(
|
|
2782
|
-
|
|
2833
|
+
Ua({ size: o }),
|
|
2783
2834
|
Ve({ side: G, shadow: "3" }),
|
|
2784
2835
|
k({ radius: c, maxLarge: !0 }),
|
|
2785
2836
|
"max-h-(--overmap-menu-available-height)",
|
|
@@ -2800,7 +2851,7 @@ const Xa = u((n) => {
|
|
|
2800
2851
|
});
|
|
2801
2852
|
Xa.displayName = "Menu.Content";
|
|
2802
2853
|
const Ya = u((n) => {
|
|
2803
|
-
const { ref: a, children: t, disabled: e = !1 } = n, s =
|
|
2854
|
+
const { ref: a, children: t, disabled: e = !1 } = n, s = U(null), { setOpen: o, refs: r, setTriggerType: c, open: l } = b(ie), d = ge([a, s]);
|
|
2804
2855
|
B(() => {
|
|
2805
2856
|
c("context");
|
|
2806
2857
|
}, [c]);
|
|
@@ -2839,11 +2890,11 @@ const Ya = u((n) => {
|
|
|
2839
2890
|
);
|
|
2840
2891
|
});
|
|
2841
2892
|
Ya.displayName = "MenuContextTrigger";
|
|
2842
|
-
const
|
|
2893
|
+
const Fe = u((n) => {
|
|
2843
2894
|
const { ref: a, children: t, ...e } = n;
|
|
2844
2895
|
return /* @__PURE__ */ i("div", { ref: a, role: "group", ...e, children: t });
|
|
2845
2896
|
});
|
|
2846
|
-
|
|
2897
|
+
Fe.displayName = "MenuGroup";
|
|
2847
2898
|
const Qa = u((n) => {
|
|
2848
2899
|
const { ref: a, className: t, onValueChange: e, onChange: s, disabled: o = !1, ...r } = n, { activeIndex: c, getItemProps: l } = b(J), { index: d, ref: m } = Rt(), g = ge([m, a]), p = h(
|
|
2849
2900
|
(f) => {
|
|
@@ -2871,7 +2922,7 @@ const Qa = u((n) => {
|
|
|
2871
2922
|
Qa.displayName = "MenuInputField";
|
|
2872
2923
|
const Ja = u((n) => {
|
|
2873
2924
|
const { ref: a, className: t, ...e } = n, { size: s } = b(J);
|
|
2874
|
-
return /* @__PURE__ */ i("div", { className: x(
|
|
2925
|
+
return /* @__PURE__ */ i("div", { className: x(ur({ size: s }), t), ref: a, ...e });
|
|
2875
2926
|
});
|
|
2876
2927
|
Ja.displayName = "MenuInputRoot";
|
|
2877
2928
|
const Za = u((n) => {
|
|
@@ -2881,13 +2932,13 @@ const Za = u((n) => {
|
|
|
2881
2932
|
Za.displayName = "MenuInputSlot";
|
|
2882
2933
|
const en = u((n) => {
|
|
2883
2934
|
const { ref: a, className: t, ...e } = n, { size: s } = b(J);
|
|
2884
|
-
return /* @__PURE__ */ i("div", { ref: a, className: x(
|
|
2935
|
+
return /* @__PURE__ */ i("div", { ref: a, className: x(ir({ size: s }), t), ...e });
|
|
2885
2936
|
});
|
|
2886
2937
|
en.displayName = "MenuLabel";
|
|
2887
|
-
const
|
|
2938
|
+
const gr = F(function(a) {
|
|
2888
2939
|
const { ref: t, children: e, defaultValues: s, values: o, onValuesChange: r, ...c } = a;
|
|
2889
|
-
return /* @__PURE__ */ i(
|
|
2890
|
-
}),
|
|
2940
|
+
return /* @__PURE__ */ i(Fe, { ref: t, ...c, children: /* @__PURE__ */ i(Ae, { defaultValues: s, values: o, onValuesChange: r, children: e }) });
|
|
2941
|
+
}), pr = F(function(n) {
|
|
2891
2942
|
const { ref: a, onSelect: t, children: e, closeOnSelect: s = !1, value: o, ...r } = n, { selected: c, selectValue: l, registerValue: d } = b(Z);
|
|
2892
2943
|
ue(() => d(o), [d, o]);
|
|
2893
2944
|
const m = c(o), g = h(() => {
|
|
@@ -2905,7 +2956,7 @@ const lr = _(function(a) {
|
|
|
2905
2956
|
children: p
|
|
2906
2957
|
}
|
|
2907
2958
|
) });
|
|
2908
|
-
}), ht =
|
|
2959
|
+
}), ht = T({}), tn = u((n) => {
|
|
2909
2960
|
const { page: a, children: t } = n, { activePage: e } = b(ht);
|
|
2910
2961
|
return e === a ? t : null;
|
|
2911
2962
|
});
|
|
@@ -2923,7 +2974,7 @@ const nn = u((n) => {
|
|
|
2923
2974
|
return /* @__PURE__ */ i(se, { ref: a, onSelect: l, closeOnSelect: !1, ...s });
|
|
2924
2975
|
});
|
|
2925
2976
|
nn.displayName = "MenuPageTrigger";
|
|
2926
|
-
const Me = 20, Y = 8, sn = 250,
|
|
2977
|
+
const Me = 20, Y = 8, sn = 250, xr = 5, on = u((n) => {
|
|
2927
2978
|
const {
|
|
2928
2979
|
children: a,
|
|
2929
2980
|
side: t = "bottom",
|
|
@@ -2935,16 +2986,16 @@ const Me = 20, Y = 8, sn = 250, ur = 5, on = u((n) => {
|
|
|
2935
2986
|
open: c,
|
|
2936
2987
|
onOpenChange: l,
|
|
2937
2988
|
defaultOpen: d
|
|
2938
|
-
} = n, [m, g] = X(d ?? !1, c, l), [p, f] = E(null), [C, S] = E(null), z =
|
|
2989
|
+
} = n, [m, g] = X(d ?? !1, c, l), [p, f] = E(null), [C, S] = E(null), z = U([]), N = Vt(), { refs: P, floatingStyles: L, context: y, middlewareData: V } = Lt({
|
|
2939
2990
|
nodeId: N,
|
|
2940
2991
|
strategy: "fixed",
|
|
2941
2992
|
// TODO: probably some way with template string types to not need the "as Placement"
|
|
2942
2993
|
placement: t + (e !== "center" ? "-" + e : ""),
|
|
2943
|
-
whileElementsMounted:
|
|
2994
|
+
whileElementsMounted: Ft,
|
|
2944
2995
|
open: m,
|
|
2945
2996
|
onOpenChange: g,
|
|
2946
2997
|
middleware: [
|
|
2947
|
-
At({ mainAxis: s ??
|
|
2998
|
+
At({ mainAxis: s ?? xr }),
|
|
2948
2999
|
Dt({
|
|
2949
3000
|
apply({ availableHeight: he, elements: ve }) {
|
|
2950
3001
|
ve.floating.style.setProperty(
|
|
@@ -2956,7 +3007,7 @@ const Me = 20, Y = 8, sn = 250, ur = 5, on = u((n) => {
|
|
|
2956
3007
|
}),
|
|
2957
3008
|
Gt({ fallbackStrategy: "initialPlacement" }),
|
|
2958
3009
|
Et({ padding: Me }),
|
|
2959
|
-
|
|
3010
|
+
_t()
|
|
2960
3011
|
]
|
|
2961
3012
|
}), A = eo(y, {
|
|
2962
3013
|
role: "menu"
|
|
@@ -2965,21 +3016,21 @@ const Me = 20, Y = 8, sn = 250, ur = 5, on = u((n) => {
|
|
|
2965
3016
|
ancestorScroll: C === "context" || C === "virtual"
|
|
2966
3017
|
}), O = Bt(y, {
|
|
2967
3018
|
enabled: C === "click"
|
|
2968
|
-
}),
|
|
3019
|
+
}), _ = $t(y, {
|
|
2969
3020
|
listRef: z,
|
|
2970
3021
|
activeIndex: p,
|
|
2971
3022
|
onNavigate: f,
|
|
2972
3023
|
loop: o
|
|
2973
3024
|
}), { getFloatingProps: ee, getItemProps: R, getReferenceProps: I } = jt([
|
|
2974
3025
|
G,
|
|
2975
|
-
|
|
3026
|
+
_,
|
|
2976
3027
|
O,
|
|
2977
3028
|
A
|
|
2978
3029
|
]), D = w(
|
|
2979
3030
|
() => ({
|
|
2980
3031
|
open: m,
|
|
2981
3032
|
setOpen: g,
|
|
2982
|
-
refs:
|
|
3033
|
+
refs: P,
|
|
2983
3034
|
context: y,
|
|
2984
3035
|
floatingStyles: L,
|
|
2985
3036
|
elementsRef: z,
|
|
@@ -2997,7 +3048,7 @@ const Me = 20, Y = 8, sn = 250, ur = 5, on = u((n) => {
|
|
|
2997
3048
|
[
|
|
2998
3049
|
m,
|
|
2999
3050
|
g,
|
|
3000
|
-
|
|
3051
|
+
P,
|
|
3001
3052
|
y,
|
|
3002
3053
|
L,
|
|
3003
3054
|
z,
|
|
@@ -3031,7 +3082,7 @@ const rn = u((n) => {
|
|
|
3031
3082
|
);
|
|
3032
3083
|
});
|
|
3033
3084
|
rn.displayName = "MenuScroll";
|
|
3034
|
-
const
|
|
3085
|
+
const fr = F((n) => {
|
|
3035
3086
|
const { ref: a, children: t, onSelect: e, closeOnSelect: s = !1, ...o } = n, { allSelected: r, someSelected: c, toggleSelectAll: l } = b(Z), d = r ? !0 : c ? "indeterminate" : !1, m = h(() => {
|
|
3036
3087
|
e == null || e(), l();
|
|
3037
3088
|
}, [e, l]), g = w(() => typeof t == "function" ? ({ active: p }) => t({ selected: d, active: p }) : t, [t, d]);
|
|
@@ -3051,9 +3102,9 @@ const mr = _((n) => {
|
|
|
3051
3102
|
return /* @__PURE__ */ i(Ee, { ref: a, ...e, children: t });
|
|
3052
3103
|
});
|
|
3053
3104
|
cn.displayName = "MenuSelectedIndicator";
|
|
3054
|
-
const
|
|
3105
|
+
const hr = F(function(a) {
|
|
3055
3106
|
const { ref: t, children: e, required: s, defaultValue: o, value: r, onValueChange: c, ...l } = a;
|
|
3056
|
-
return /* @__PURE__ */ i(
|
|
3107
|
+
return /* @__PURE__ */ i(Fe, { ref: t, ...l, children: s ? /* @__PURE__ */ i(st, { defaultValue: o, value: r, onValueChange: c, children: e }) : /* @__PURE__ */ i(
|
|
3057
3108
|
ot,
|
|
3058
3109
|
{
|
|
3059
3110
|
defaultValue: o,
|
|
@@ -3062,7 +3113,7 @@ const gr = _(function(a) {
|
|
|
3062
3113
|
children: e
|
|
3063
3114
|
}
|
|
3064
3115
|
) });
|
|
3065
|
-
}),
|
|
3116
|
+
}), vr = F(function(n) {
|
|
3066
3117
|
const { ref: a, value: t, onSelect: e, children: s, closeOnSelect: o = !0, ...r } = n, { selected: c, selectValue: l } = b(Ne), d = c(t), m = h(() => {
|
|
3067
3118
|
e == null || e(), l(t);
|
|
3068
3119
|
}, [e, l, t]), g = w(() => typeof s == "function" ? ({ active: p }) => s({ selected: d, active: p }) : s, [s, d]);
|
|
@@ -3080,15 +3131,15 @@ const gr = _(function(a) {
|
|
|
3080
3131
|
) });
|
|
3081
3132
|
}), ln = u((n) => {
|
|
3082
3133
|
const { ref: a, className: t, ...e } = n, { size: s } = b(J);
|
|
3083
|
-
return /* @__PURE__ */ i(Je.Root, { className: x(
|
|
3134
|
+
return /* @__PURE__ */ i(Je.Root, { className: x(lr({ size: s }), t), ref: a, ...e });
|
|
3084
3135
|
});
|
|
3085
3136
|
ln.displayName = "MenuSeparator";
|
|
3086
|
-
const
|
|
3137
|
+
const br = { mainAxis: Y + 1, crossAxis: 0 }, Cr = {
|
|
3087
3138
|
"right-start": { mainAxis: Y + 1, crossAxis: -Y },
|
|
3088
3139
|
"right-end": { mainAxis: Y + 1, crossAxis: Y },
|
|
3089
3140
|
"left-start": { mainAxis: Y + 1, crossAxis: -Y },
|
|
3090
3141
|
"left-end": { mainAxis: Y + 1, crossAxis: Y }
|
|
3091
|
-
},
|
|
3142
|
+
}, yr = (n, a) => Cr[`${n}-${a}`] ?? br, dn = u((n) => {
|
|
3092
3143
|
const {
|
|
3093
3144
|
children: a,
|
|
3094
3145
|
disabled: t = !1,
|
|
@@ -3104,14 +3155,14 @@ const xr = { mainAxis: Y + 1, crossAxis: 0 }, fr = {
|
|
|
3104
3155
|
} = n, [g, p] = X(m ?? !1, l, d), f = Vt(), { refs: C, floatingStyles: S, context: z } = Lt({
|
|
3105
3156
|
nodeId: f,
|
|
3106
3157
|
strategy: "fixed",
|
|
3107
|
-
whileElementsMounted:
|
|
3158
|
+
whileElementsMounted: Ft,
|
|
3108
3159
|
open: g,
|
|
3109
3160
|
onOpenChange: (R, I, D) => {
|
|
3110
3161
|
D && p(R);
|
|
3111
3162
|
},
|
|
3112
3163
|
placement: e + (s !== "center" ? "-" + s : ""),
|
|
3113
3164
|
middleware: [
|
|
3114
|
-
At({ ...
|
|
3165
|
+
At({ ...yr(e, s) }),
|
|
3115
3166
|
Dt({
|
|
3116
3167
|
padding: Me,
|
|
3117
3168
|
apply({ availableHeight: R, elements: I }) {
|
|
@@ -3123,12 +3174,12 @@ const xr = { mainAxis: Y + 1, crossAxis: 0 }, fr = {
|
|
|
3123
3174
|
}),
|
|
3124
3175
|
Gt(),
|
|
3125
3176
|
Et({ padding: Me }),
|
|
3126
|
-
|
|
3177
|
+
_t()
|
|
3127
3178
|
]
|
|
3128
3179
|
}), N = Ht(z, {
|
|
3129
3180
|
bubbles: o,
|
|
3130
3181
|
outsidePress: o
|
|
3131
|
-
}),
|
|
3182
|
+
}), P = ao(z, {
|
|
3132
3183
|
restMs: 50,
|
|
3133
3184
|
handleClose: no({
|
|
3134
3185
|
blockPointerEvents: !0,
|
|
@@ -3137,21 +3188,21 @@ const xr = { mainAxis: Y + 1, crossAxis: 0 }, fr = {
|
|
|
3137
3188
|
enabled: !t
|
|
3138
3189
|
}), L = Bt(z, {
|
|
3139
3190
|
enabled: !t
|
|
3140
|
-
}), y =
|
|
3191
|
+
}), y = U([]), [V, A] = E(null), G = $t(z, {
|
|
3141
3192
|
listRef: y,
|
|
3142
3193
|
nested: !0,
|
|
3143
3194
|
activeIndex: V,
|
|
3144
3195
|
onNavigate: A,
|
|
3145
3196
|
loop: r,
|
|
3146
3197
|
rtl: e === "left"
|
|
3147
|
-
}), { getFloatingProps: O, getItemProps:
|
|
3198
|
+
}), { getFloatingProps: O, getItemProps: _, getReferenceProps: ee } = jt([
|
|
3148
3199
|
G,
|
|
3149
3200
|
N,
|
|
3150
|
-
|
|
3201
|
+
P,
|
|
3151
3202
|
L
|
|
3152
3203
|
]);
|
|
3153
3204
|
return /* @__PURE__ */ i(
|
|
3154
|
-
|
|
3205
|
+
_e.Provider,
|
|
3155
3206
|
{
|
|
3156
3207
|
value: {
|
|
3157
3208
|
open: g,
|
|
@@ -3164,7 +3215,7 @@ const xr = { mainAxis: Y + 1, crossAxis: 0 }, fr = {
|
|
|
3164
3215
|
activeIndex: V,
|
|
3165
3216
|
setActiveIndex: A,
|
|
3166
3217
|
getFloatingProps: O,
|
|
3167
|
-
getItemProps:
|
|
3218
|
+
getItemProps: _,
|
|
3168
3219
|
getReferenceProps: ee,
|
|
3169
3220
|
disabled: t,
|
|
3170
3221
|
side: e,
|
|
@@ -3188,17 +3239,17 @@ const un = u((n) => {
|
|
|
3188
3239
|
activeIndex: S,
|
|
3189
3240
|
setActiveIndex: z,
|
|
3190
3241
|
elementsRef: N,
|
|
3191
|
-
floatingStyles:
|
|
3242
|
+
floatingStyles: P,
|
|
3192
3243
|
setOpen: L,
|
|
3193
3244
|
side: y
|
|
3194
|
-
} = b(
|
|
3195
|
-
var
|
|
3245
|
+
} = b(_e), V = U(null), A = ge([g.setFloating, V]), G = w(() => {
|
|
3246
|
+
var _;
|
|
3196
3247
|
return {
|
|
3197
|
-
...
|
|
3198
|
-
visibility: (
|
|
3248
|
+
...P,
|
|
3249
|
+
visibility: (_ = s.hide) != null && _.referenceHidden ? "hidden" : "visible"
|
|
3199
3250
|
};
|
|
3200
|
-
}, [
|
|
3201
|
-
return /* @__PURE__ */ i(
|
|
3251
|
+
}, [P, (O = s.hide) == null ? void 0 : O.referenceHidden]);
|
|
3252
|
+
return /* @__PURE__ */ i(Tt, { id: m, children: d && /* @__PURE__ */ i(Pt, { children: /* @__PURE__ */ i(Mt, { context: p, initialFocus: V, children: /* @__PURE__ */ i(Ot, { elementsRef: N, children: /* @__PURE__ */ i(
|
|
3202
3253
|
J.Provider,
|
|
3203
3254
|
{
|
|
3204
3255
|
value: {
|
|
@@ -3226,7 +3277,7 @@ const un = u((n) => {
|
|
|
3226
3277
|
{
|
|
3227
3278
|
className: x(
|
|
3228
3279
|
"overmap-menu-sub-content",
|
|
3229
|
-
|
|
3280
|
+
Ua({ size: l }),
|
|
3230
3281
|
Ve({ side: y, shadow: "3" }),
|
|
3231
3282
|
k({ radius: r, maxLarge: !0 }),
|
|
3232
3283
|
"max-h-(--overmap-menu-available-height)"
|
|
@@ -3246,7 +3297,7 @@ const un = u((n) => {
|
|
|
3246
3297
|
});
|
|
3247
3298
|
un.displayName = "MenuSubContent";
|
|
3248
3299
|
const mn = u((n) => {
|
|
3249
|
-
const { ref: a, children: t, ...e } = n, { refs: s, getReferenceProps: o, open: r, disabled: c } = b(
|
|
3300
|
+
const { ref: a, children: t, ...e } = n, { refs: s, getReferenceProps: o, open: r, disabled: c } = b(_e), l = ge([a, s.setReference]);
|
|
3250
3301
|
return /* @__PURE__ */ i(
|
|
3251
3302
|
se,
|
|
3252
3303
|
{
|
|
@@ -3270,7 +3321,7 @@ const gn = u((n) => {
|
|
|
3270
3321
|
}, [t, e, o, a]), null;
|
|
3271
3322
|
});
|
|
3272
3323
|
gn.displayName = "VirtualTrigger";
|
|
3273
|
-
const
|
|
3324
|
+
const Jc = {
|
|
3274
3325
|
Root: on,
|
|
3275
3326
|
Content: Xa,
|
|
3276
3327
|
// sub
|
|
@@ -3286,15 +3337,15 @@ const Kc = {
|
|
|
3286
3337
|
ContextTrigger: Ya,
|
|
3287
3338
|
VirtualTrigger: gn,
|
|
3288
3339
|
// groups
|
|
3289
|
-
Group:
|
|
3290
|
-
SelectGroup:
|
|
3291
|
-
MultiSelectGroup:
|
|
3340
|
+
Group: Fe,
|
|
3341
|
+
SelectGroup: hr,
|
|
3342
|
+
MultiSelectGroup: gr,
|
|
3292
3343
|
// items
|
|
3293
3344
|
Item: se,
|
|
3294
|
-
SelectItem:
|
|
3295
|
-
MultiSelectItem:
|
|
3296
|
-
SelectAllItem:
|
|
3297
|
-
CheckboxItem:
|
|
3345
|
+
SelectItem: vr,
|
|
3346
|
+
MultiSelectItem: pr,
|
|
3347
|
+
SelectAllItem: fr,
|
|
3348
|
+
CheckboxItem: qa,
|
|
3298
3349
|
// indicators
|
|
3299
3350
|
SelectedIndicator: cn,
|
|
3300
3351
|
CheckboxItemIndicator: Wa,
|
|
@@ -3312,7 +3363,7 @@ const Kc = {
|
|
|
3312
3363
|
first: "PageUp",
|
|
3313
3364
|
last: "PageDown",
|
|
3314
3365
|
selectItem: "Enter"
|
|
3315
|
-
}, te = "menu-item", Ke = "menu-group", He =
|
|
3366
|
+
}, te = "menu-item", Ke = "menu-group", He = T({}), pn = T({}), vt = T({}), zr = v(["w-full", "outline-none"], {
|
|
3316
3367
|
variants: {
|
|
3317
3368
|
size: {
|
|
3318
3369
|
xs: ["p-0.5", "text-xs", "min-w-30"],
|
|
@@ -3331,7 +3382,7 @@ const Kc = {
|
|
|
3331
3382
|
full: ["rounded-lg"]
|
|
3332
3383
|
}
|
|
3333
3384
|
}
|
|
3334
|
-
}),
|
|
3385
|
+
}), Nr = v(
|
|
3335
3386
|
[
|
|
3336
3387
|
"select-none",
|
|
3337
3388
|
"relative",
|
|
@@ -3366,7 +3417,7 @@ const Kc = {
|
|
|
3366
3417
|
}
|
|
3367
3418
|
}
|
|
3368
3419
|
}
|
|
3369
|
-
),
|
|
3420
|
+
), wr = v(["text-(--base-a11)", "flex", "items-center", "select-none", "py-1"], {
|
|
3370
3421
|
variants: {
|
|
3371
3422
|
size: {
|
|
3372
3423
|
xs: ["gap-1.5", "px-3", "text-xs"],
|
|
@@ -3376,7 +3427,7 @@ const Kc = {
|
|
|
3376
3427
|
xl: ["gap-2.5", "px-5", "text-lg"]
|
|
3377
3428
|
}
|
|
3378
3429
|
}
|
|
3379
|
-
}),
|
|
3430
|
+
}), Ir = v(["h-px", "bg-(--base-a6)", "w-auto", "shrink-0"], {
|
|
3380
3431
|
variants: {
|
|
3381
3432
|
size: {
|
|
3382
3433
|
xs: ["-mx-0.5", "my-0.5"],
|
|
@@ -3398,7 +3449,7 @@ const Kc = {
|
|
|
3398
3449
|
onPointerLeave: l,
|
|
3399
3450
|
onPointerMove: d,
|
|
3400
3451
|
...m
|
|
3401
|
-
} = n, g =
|
|
3452
|
+
} = n, g = U(null), p = Ye(), { activeItemId: f, setActiveItemId: C, size: S, variant: z, radius: N } = b(He), P = p === f, L = h(
|
|
3402
3453
|
(O) => {
|
|
3403
3454
|
r == null || r(O);
|
|
3404
3455
|
},
|
|
@@ -3434,14 +3485,14 @@ const Kc = {
|
|
|
3434
3485
|
"div",
|
|
3435
3486
|
{
|
|
3436
3487
|
ref: we([a, g]),
|
|
3437
|
-
className: x(
|
|
3488
|
+
className: x(Nr({ size: S, variant: z }), k({ radius: N, maxLarge: !0 }), e),
|
|
3438
3489
|
role: "menuitem",
|
|
3439
3490
|
onClick: y,
|
|
3440
3491
|
onPointerEnter: V,
|
|
3441
3492
|
onPointerLeave: A,
|
|
3442
3493
|
onPointerMove: G,
|
|
3443
3494
|
[te]: p,
|
|
3444
|
-
"data-active": Q(
|
|
3495
|
+
"data-active": Q(P),
|
|
3445
3496
|
"data-disabled": Q(s),
|
|
3446
3497
|
"aria-disabled": Q(s),
|
|
3447
3498
|
...m,
|
|
@@ -3491,10 +3542,10 @@ const hn = u((n) => {
|
|
|
3491
3542
|
const { ref: a, children: t, id: e, className: s, ...o } = n, r = vo(e), { size: c } = b(He), { setLabelId: l } = b(pn);
|
|
3492
3543
|
return B(() => {
|
|
3493
3544
|
l(r);
|
|
3494
|
-
}, [r, l]), /* @__PURE__ */ i("div", { ref: a, id: r, className: x(
|
|
3545
|
+
}, [r, l]), /* @__PURE__ */ i("div", { ref: a, id: r, className: x(wr({ size: c }), s), ...o, children: t });
|
|
3495
3546
|
});
|
|
3496
3547
|
hn.displayName = "MenuGroupLabel";
|
|
3497
|
-
const
|
|
3548
|
+
const Sr = F((n) => {
|
|
3498
3549
|
const { ref: a, children: t, onSelect: e, ...s } = n, { allSelected: o, someSelected: r, toggleSelectAll: c } = b(Z), l = o ? !0 : r ? "indeterminate" : !1, d = h(
|
|
3499
3550
|
(m) => {
|
|
3500
3551
|
e == null || e(m), !m.defaultPrevented && c();
|
|
@@ -3502,10 +3553,10 @@ const zr = _((n) => {
|
|
|
3502
3553
|
[e, c]
|
|
3503
3554
|
);
|
|
3504
3555
|
return /* @__PURE__ */ i(le, { onSelect: d, ref: a, "data-state": Ie(l), ...s, children: /* @__PURE__ */ i(Se, { value: l, children: t }) });
|
|
3505
|
-
}),
|
|
3556
|
+
}), kr = F(function(a) {
|
|
3506
3557
|
const { ref: t, children: e, defaultValues: s, values: o, onValuesChange: r, ...c } = a;
|
|
3507
3558
|
return /* @__PURE__ */ i(Be, { ref: t, ...c, children: /* @__PURE__ */ i(Ae, { defaultValues: s, values: o, onValuesChange: r, children: e }) });
|
|
3508
|
-
}),
|
|
3559
|
+
}), Rr = F(function(n) {
|
|
3509
3560
|
const { ref: a, onSelect: t, children: e, value: s, ...o } = n, { selected: r, selectValue: c, registerValue: l } = b(Z);
|
|
3510
3561
|
ue(() => l(s), [l, s]);
|
|
3511
3562
|
const d = r(s), m = h(
|
|
@@ -3571,36 +3622,36 @@ const St = (n, a, t, e) => {
|
|
|
3571
3622
|
size: d = "md",
|
|
3572
3623
|
variant: m = "soft",
|
|
3573
3624
|
...g
|
|
3574
|
-
} = n, p =
|
|
3625
|
+
} = n, p = U(null), [f, C] = E(null), S = h((R) => Array.from(R.querySelectorAll(`[${te}]:not([data-disabled=true]`)), []), z = h(
|
|
3575
3626
|
(R) => S(R).at(0),
|
|
3576
3627
|
[S]
|
|
3577
3628
|
), N = h(
|
|
3578
3629
|
(R) => S(R).at(-1),
|
|
3579
3630
|
[S]
|
|
3580
|
-
),
|
|
3631
|
+
), P = h(
|
|
3581
3632
|
(R) => S(R).find((I) => I.getAttribute(te) === f),
|
|
3582
3633
|
[f, S]
|
|
3583
3634
|
), L = h(
|
|
3584
3635
|
(R, I) => {
|
|
3585
|
-
const D = S(R), he =
|
|
3586
|
-
return D[
|
|
3636
|
+
const D = S(R), he = P(R), ve = D.findIndex((zs) => zs === he), Ue = St(ve, D.length, I, r);
|
|
3637
|
+
return D[Ue];
|
|
3587
3638
|
},
|
|
3588
|
-
[
|
|
3639
|
+
[P, S, r]
|
|
3589
3640
|
), y = h(() => p.current ? Array.from(p.current.querySelectorAll(`[${Ke}]`)) : [], []), V = h(() => {
|
|
3590
3641
|
var R;
|
|
3591
|
-
return ((R =
|
|
3592
|
-
}, [
|
|
3642
|
+
return ((R = P(p.current)) == null ? void 0 : R.closest(`[${Ke}]`)) ?? void 0;
|
|
3643
|
+
}, [P]), A = h(
|
|
3593
3644
|
(R) => {
|
|
3594
|
-
const I = y(), D = V(), he = I.findIndex((
|
|
3645
|
+
const I = y(), D = V(), he = I.findIndex((Ue) => Ue === D), ve = St(he, I.length, R, r);
|
|
3595
3646
|
return I[ve];
|
|
3596
3647
|
},
|
|
3597
3648
|
[V, y, r]
|
|
3598
|
-
), G = h(() => y().at(0), [y]), O = h(() => y().at(-1), [y]),
|
|
3649
|
+
), G = h(() => y().at(0), [y]), O = h(() => y().at(-1), [y]), _ = h(
|
|
3599
3650
|
(R) => {
|
|
3600
3651
|
if (o == null || o(R), !R.defaultPrevented)
|
|
3601
3652
|
switch (R.code) {
|
|
3602
3653
|
case Ce.selectItem: {
|
|
3603
|
-
const I =
|
|
3654
|
+
const I = P(p.current);
|
|
3604
3655
|
I && I.dispatchEvent(new Event("menu-select"));
|
|
3605
3656
|
break;
|
|
3606
3657
|
}
|
|
@@ -3654,7 +3705,7 @@ const St = (n, a, t, e) => {
|
|
|
3654
3705
|
}
|
|
3655
3706
|
}
|
|
3656
3707
|
},
|
|
3657
|
-
[
|
|
3708
|
+
[P, G, z, O, N, A, L, o]
|
|
3658
3709
|
);
|
|
3659
3710
|
B(() => {
|
|
3660
3711
|
var I;
|
|
@@ -3677,9 +3728,9 @@ const St = (n, a, t, e) => {
|
|
|
3677
3728
|
"div",
|
|
3678
3729
|
{
|
|
3679
3730
|
ref: we([t, p]),
|
|
3680
|
-
className: x(
|
|
3731
|
+
className: x(zr({ size: d }), k({ radius: c, maxLarge: !0 }), s),
|
|
3681
3732
|
role: "menu",
|
|
3682
|
-
onKeyDown:
|
|
3733
|
+
onKeyDown: _,
|
|
3683
3734
|
tabIndex: 0,
|
|
3684
3735
|
"aria-activedescendant": f ?? void 0,
|
|
3685
3736
|
"data-accent-color": l,
|
|
@@ -3694,7 +3745,7 @@ const zn = u((n) => {
|
|
|
3694
3745
|
return /* @__PURE__ */ i(Ee, { ref: a, ...e, children: t });
|
|
3695
3746
|
});
|
|
3696
3747
|
zn.displayName = "MenuCheckboxItemIndicator";
|
|
3697
|
-
const
|
|
3748
|
+
const Tr = F(function(a) {
|
|
3698
3749
|
const { ref: t, children: e, required: s, defaultValue: o, value: r, onValueChange: c, ...l } = a;
|
|
3699
3750
|
return /* @__PURE__ */ i(Be, { ref: t, ...l, children: s ? /* @__PURE__ */ i(st, { defaultValue: o, value: r, onValueChange: c, children: e }) : /* @__PURE__ */ i(
|
|
3700
3751
|
ot,
|
|
@@ -3705,7 +3756,7 @@ const Ir = _(function(a) {
|
|
|
3705
3756
|
children: e
|
|
3706
3757
|
}
|
|
3707
3758
|
) });
|
|
3708
|
-
}),
|
|
3759
|
+
}), Pr = F(function(n) {
|
|
3709
3760
|
const { ref: a, value: t, onSelect: e, children: s, ...o } = n, { selected: r, selectValue: c } = b(Ne), l = r(t), d = h(
|
|
3710
3761
|
(m) => {
|
|
3711
3762
|
e == null || e(m), !m.defaultPrevented && c(t);
|
|
@@ -3725,20 +3776,20 @@ const Ir = _(function(a) {
|
|
|
3725
3776
|
);
|
|
3726
3777
|
}), Nn = u((n) => {
|
|
3727
3778
|
const { ref: a, className: t, ...e } = n, { size: s } = b(He);
|
|
3728
|
-
return /* @__PURE__ */ i(Je.Root, { className: x(
|
|
3779
|
+
return /* @__PURE__ */ i(Je.Root, { className: x(Ir({ size: s }), t), ref: a, ...e });
|
|
3729
3780
|
});
|
|
3730
3781
|
Nn.displayName = "MenuSeparator";
|
|
3731
|
-
const
|
|
3782
|
+
const Zc = {
|
|
3732
3783
|
Root: yn,
|
|
3733
3784
|
Group: Be,
|
|
3734
3785
|
GroupLabel: hn,
|
|
3735
3786
|
Item: le,
|
|
3736
3787
|
Separator: Nn,
|
|
3737
|
-
SelectGroup:
|
|
3738
|
-
SelectItem:
|
|
3739
|
-
MultiSelectGroup:
|
|
3740
|
-
MultiSelectItem:
|
|
3741
|
-
SelectAllItem:
|
|
3788
|
+
SelectGroup: Tr,
|
|
3789
|
+
SelectItem: Pr,
|
|
3790
|
+
MultiSelectGroup: kr,
|
|
3791
|
+
MultiSelectItem: Rr,
|
|
3792
|
+
SelectAllItem: Sr,
|
|
3742
3793
|
SelectedIndicator: zn,
|
|
3743
3794
|
CheckboxItem: xn,
|
|
3744
3795
|
CheckedIndicator: fn,
|
|
@@ -3747,7 +3798,7 @@ const Xc = {
|
|
|
3747
3798
|
PageTriggerItem: Cn
|
|
3748
3799
|
}, wn = u((n) => /* @__PURE__ */ i(Ze.HiddenInput, { ...n }));
|
|
3749
3800
|
wn.displayName = "OneTimePasswordFieldHiddenInput";
|
|
3750
|
-
const In =
|
|
3801
|
+
const In = T({}), Mr = v(
|
|
3751
3802
|
[
|
|
3752
3803
|
"flex",
|
|
3753
3804
|
"items-center",
|
|
@@ -3809,7 +3860,7 @@ const In = P({}), kr = v(
|
|
|
3809
3860
|
{
|
|
3810
3861
|
ref: a,
|
|
3811
3862
|
className: x(
|
|
3812
|
-
|
|
3863
|
+
Mr({ variant: s, size: o }),
|
|
3813
3864
|
k({ radius: r, maxLarge: !0 }),
|
|
3814
3865
|
t
|
|
3815
3866
|
),
|
|
@@ -3832,7 +3883,7 @@ const kn = u((n) => {
|
|
|
3832
3883
|
return /* @__PURE__ */ i(Ze.Root, { ref: t, "data-accent-color": c, ...l, children: /* @__PURE__ */ i(In, { value: d, children: e }) });
|
|
3833
3884
|
});
|
|
3834
3885
|
kn.displayName = "OneTimePasswordFieldRoot";
|
|
3835
|
-
const
|
|
3886
|
+
const ei = {
|
|
3836
3887
|
HiddenInput: wn,
|
|
3837
3888
|
Input: Sn,
|
|
3838
3889
|
Root: kn
|
|
@@ -3841,7 +3892,7 @@ const Yc = {
|
|
|
3841
3892
|
return /* @__PURE__ */ i(H.Close, { ref: a, ...t });
|
|
3842
3893
|
});
|
|
3843
3894
|
Rn.displayName = "OverlayClose";
|
|
3844
|
-
const
|
|
3895
|
+
const Or = v([
|
|
3845
3896
|
"fixed",
|
|
3846
3897
|
"inset-0",
|
|
3847
3898
|
"bg-(--color-background)",
|
|
@@ -3851,24 +3902,24 @@ const Rr = v([
|
|
|
3851
3902
|
"data-[state='open']:animate-in",
|
|
3852
3903
|
"data-[state='open']:fade-in-0",
|
|
3853
3904
|
"data-[state='open']:zoom-in-95"
|
|
3854
|
-
]),
|
|
3905
|
+
]), Tn = u((n) => {
|
|
3855
3906
|
const { ref: a, container: t, className: e, ...s } = n;
|
|
3856
3907
|
return /* @__PURE__ */ i(H.Portal, { container: t, children: /* @__PURE__ */ i(
|
|
3857
3908
|
H.Content,
|
|
3858
3909
|
{
|
|
3859
|
-
className: x(
|
|
3910
|
+
className: x(Or(), e),
|
|
3860
3911
|
ref: a,
|
|
3861
3912
|
"data-floating-content": "",
|
|
3862
3913
|
...s
|
|
3863
3914
|
}
|
|
3864
3915
|
) });
|
|
3865
3916
|
});
|
|
3866
|
-
|
|
3867
|
-
const
|
|
3917
|
+
Tn.displayName = "OverlayContent";
|
|
3918
|
+
const Pn = u((n) => {
|
|
3868
3919
|
const { ref: a, ...t } = n;
|
|
3869
3920
|
return /* @__PURE__ */ i(H.Description, { ref: a, ...t });
|
|
3870
3921
|
});
|
|
3871
|
-
|
|
3922
|
+
Pn.displayName = "OverlayDescription";
|
|
3872
3923
|
const Mn = u((n) => /* @__PURE__ */ i(H.Root, { ...n }));
|
|
3873
3924
|
Mn.displayName = "OverlayRoot";
|
|
3874
3925
|
const On = u((n) => {
|
|
@@ -3881,27 +3932,27 @@ const Vn = u((n) => {
|
|
|
3881
3932
|
return /* @__PURE__ */ i(H.Trigger, { ref: a, ...t });
|
|
3882
3933
|
});
|
|
3883
3934
|
Vn.displayName = "OverlayTrigger";
|
|
3884
|
-
const
|
|
3935
|
+
const ti = {
|
|
3885
3936
|
Root: Mn,
|
|
3886
|
-
Content:
|
|
3937
|
+
Content: Tn,
|
|
3887
3938
|
Title: On,
|
|
3888
|
-
Description:
|
|
3939
|
+
Description: Pn,
|
|
3889
3940
|
Trigger: Vn,
|
|
3890
3941
|
Close: Rn
|
|
3891
|
-
},
|
|
3942
|
+
}, qe = { placeSelf: "center" }, Ln = u((n) => {
|
|
3892
3943
|
const { absoluteCentering: a, message: t = "Something went wrong", onRetry: e } = n, { resetBoundary: s } = so(), o = "20px", r = a ? { position: "absolute", top: "50%", transform: "translateY(-50%)" } : void 0, c = h(() => {
|
|
3893
3944
|
s(), e();
|
|
3894
3945
|
}, [e, s]);
|
|
3895
3946
|
return /* @__PURE__ */ W("div", { className: "flex w-full gap-2", style: r, children: [
|
|
3896
3947
|
/* @__PURE__ */ i("div", { style: { flexGrow: 1 } }),
|
|
3897
|
-
/* @__PURE__ */ i(
|
|
3898
|
-
/* @__PURE__ */ i("span", { style: { lineHeight: o, ...
|
|
3899
|
-
/* @__PURE__ */ i(tt, { "aria-label": "Try again", variant: "soft", onClick: c, style:
|
|
3948
|
+
/* @__PURE__ */ i(q, { icon: Hs, size: o, style: qe }),
|
|
3949
|
+
/* @__PURE__ */ i("span", { style: { lineHeight: o, ...qe }, children: t }),
|
|
3950
|
+
/* @__PURE__ */ i(tt, { "aria-label": "Try again", variant: "soft", onClick: c, style: qe, children: /* @__PURE__ */ i(q, { icon: Bs, size: o }) }),
|
|
3900
3951
|
/* @__PURE__ */ i("div", { style: { flexGrow: 1 } })
|
|
3901
3952
|
] });
|
|
3902
3953
|
});
|
|
3903
3954
|
Ln.displayName = "ErrorFallback";
|
|
3904
|
-
const
|
|
3955
|
+
const Vr = u((n) => {
|
|
3905
3956
|
const { absoluteCentering: a, message: t } = n, [e, s] = E(0), o = h((c, l) => {
|
|
3906
3957
|
console.error("Error in OvermapErrorBoundary:", c, l), s((d) => d + 1);
|
|
3907
3958
|
}, []), r = h(() => {
|
|
@@ -3917,13 +3968,13 @@ const Pr = u((n) => {
|
|
|
3917
3968
|
e
|
|
3918
3969
|
);
|
|
3919
3970
|
});
|
|
3920
|
-
|
|
3971
|
+
Vr.displayName = "OvermapErrorBoundary";
|
|
3921
3972
|
const An = u((n) => {
|
|
3922
3973
|
const { ref: a, children: t, className: e, ...s } = n;
|
|
3923
|
-
return /* @__PURE__ */ i(
|
|
3974
|
+
return /* @__PURE__ */ i(Pe.Arrow, { className: x("fill-(--base-6)", e), ref: a, ...s, children: t });
|
|
3924
3975
|
});
|
|
3925
3976
|
An.displayName = "PopoverArrow";
|
|
3926
|
-
const
|
|
3977
|
+
const Lr = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(--base-6)"], {
|
|
3927
3978
|
variants: {
|
|
3928
3979
|
size: {
|
|
3929
3980
|
xs: ["p-2"],
|
|
@@ -3948,11 +3999,11 @@ const Tr = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
|
|
|
3948
3999
|
container: d,
|
|
3949
4000
|
...m
|
|
3950
4001
|
} = n;
|
|
3951
|
-
return /* @__PURE__ */ i(
|
|
3952
|
-
|
|
4002
|
+
return /* @__PURE__ */ i(Pe.Portal, { container: d, children: /* @__PURE__ */ i(
|
|
4003
|
+
Pe.Content,
|
|
3953
4004
|
{
|
|
3954
4005
|
className: x(
|
|
3955
|
-
|
|
4006
|
+
Lr({ size: c }),
|
|
3956
4007
|
Ve({ shadow: "3" }),
|
|
3957
4008
|
k({ radius: o, maxLarge: !0 }),
|
|
3958
4009
|
s
|
|
@@ -3967,11 +4018,11 @@ const Tr = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
|
|
|
3967
4018
|
) });
|
|
3968
4019
|
});
|
|
3969
4020
|
Dn.displayName = "PopoverContent";
|
|
3970
|
-
const
|
|
3971
|
-
...
|
|
4021
|
+
const ai = {
|
|
4022
|
+
...Pe,
|
|
3972
4023
|
Content: Dn,
|
|
3973
4024
|
Arrow: An
|
|
3974
|
-
},
|
|
4025
|
+
}, Ar = v(["relative", "overflow-hidden", "grow"], {
|
|
3975
4026
|
variants: {
|
|
3976
4027
|
size: {
|
|
3977
4028
|
xs: ["h-1.5"],
|
|
@@ -3985,7 +4036,7 @@ const Jc = {
|
|
|
3985
4036
|
soft: ["bg-(--base-a4)"]
|
|
3986
4037
|
}
|
|
3987
4038
|
}
|
|
3988
|
-
}),
|
|
4039
|
+
}), Dr = v(
|
|
3989
4040
|
[
|
|
3990
4041
|
"size-full",
|
|
3991
4042
|
"transform-[scaleX(calc(var(--progress-value)/var(--progress-max)))]",
|
|
@@ -4007,7 +4058,7 @@ const Jc = {
|
|
|
4007
4058
|
}
|
|
4008
4059
|
}
|
|
4009
4060
|
}
|
|
4010
|
-
),
|
|
4061
|
+
), Gr = u((n) => {
|
|
4011
4062
|
const a = M(), {
|
|
4012
4063
|
ref: t,
|
|
4013
4064
|
className: e,
|
|
@@ -4029,16 +4080,16 @@ const Jc = {
|
|
|
4029
4080
|
Nt.Root,
|
|
4030
4081
|
{
|
|
4031
4082
|
ref: t,
|
|
4032
|
-
className: x(
|
|
4083
|
+
className: x(Ar({ variant: r, size: c }), k({ radius: o, maxLarge: !1 }), e),
|
|
4033
4084
|
style: m,
|
|
4034
4085
|
"data-accent-color": l,
|
|
4035
4086
|
...d,
|
|
4036
|
-
children: /* @__PURE__ */ i(Nt.ProgressIndicator, { className:
|
|
4087
|
+
children: /* @__PURE__ */ i(Nt.ProgressIndicator, { className: Dr({ variant: r, size: c }) })
|
|
4037
4088
|
}
|
|
4038
4089
|
);
|
|
4039
4090
|
});
|
|
4040
|
-
|
|
4041
|
-
const Gn =
|
|
4091
|
+
Gr.displayName = "Progress";
|
|
4092
|
+
const Gn = T({}), Er = v([], {
|
|
4042
4093
|
variants: {
|
|
4043
4094
|
size: {
|
|
4044
4095
|
xs: ["text-xs"],
|
|
@@ -4052,7 +4103,7 @@ const Gn = P({}), Lr = v([], {
|
|
|
4052
4103
|
outline: []
|
|
4053
4104
|
}
|
|
4054
4105
|
}
|
|
4055
|
-
}),
|
|
4106
|
+
}), _r = v(
|
|
4056
4107
|
[
|
|
4057
4108
|
"block",
|
|
4058
4109
|
"overflow-hidden",
|
|
@@ -4100,14 +4151,14 @@ const Gn = P({}), Lr = v([], {
|
|
|
4100
4151
|
return /* @__PURE__ */ i(
|
|
4101
4152
|
ae.Item,
|
|
4102
4153
|
{
|
|
4103
|
-
className: x(
|
|
4154
|
+
className: x(_r({ variant: a, size: t }), k({ radius: e, maxLarge: !0 }), s),
|
|
4104
4155
|
"data-accent-color": o,
|
|
4105
4156
|
...r
|
|
4106
4157
|
}
|
|
4107
4158
|
);
|
|
4108
4159
|
});
|
|
4109
4160
|
En.displayName = "RadioCardsItem";
|
|
4110
|
-
const
|
|
4161
|
+
const _n = u((n) => {
|
|
4111
4162
|
const a = M(), {
|
|
4112
4163
|
className: t,
|
|
4113
4164
|
children: e,
|
|
@@ -4127,18 +4178,18 @@ const Fn = u((n) => {
|
|
|
4127
4178
|
return /* @__PURE__ */ i(
|
|
4128
4179
|
ae.Root,
|
|
4129
4180
|
{
|
|
4130
|
-
className: x(
|
|
4181
|
+
className: x(Er({ size: o, variant: s }), t),
|
|
4131
4182
|
"data-accent-color": c,
|
|
4132
4183
|
...l,
|
|
4133
4184
|
children: /* @__PURE__ */ i(Gn, { value: d, children: e })
|
|
4134
4185
|
}
|
|
4135
4186
|
);
|
|
4136
4187
|
});
|
|
4137
|
-
|
|
4138
|
-
const
|
|
4139
|
-
Root:
|
|
4188
|
+
_n.displayName = "RadioCardsRoot";
|
|
4189
|
+
const ni = {
|
|
4190
|
+
Root: _n,
|
|
4140
4191
|
Item: En
|
|
4141
|
-
},
|
|
4192
|
+
}, Fn = u((n) => {
|
|
4142
4193
|
const { ref: a, children: t, className: e, ...s } = n;
|
|
4143
4194
|
return /* @__PURE__ */ i(
|
|
4144
4195
|
ae.Indicator,
|
|
@@ -4150,8 +4201,8 @@ const Zc = {
|
|
|
4150
4201
|
}
|
|
4151
4202
|
);
|
|
4152
4203
|
});
|
|
4153
|
-
|
|
4154
|
-
const Hn =
|
|
4204
|
+
Fn.displayName = "RadioGroupIndicator";
|
|
4205
|
+
const Hn = T({}), Fr = v(
|
|
4155
4206
|
[
|
|
4156
4207
|
"inline-flex",
|
|
4157
4208
|
"justify-center",
|
|
@@ -4202,7 +4253,7 @@ const Hn = P({}), Dr = v(
|
|
|
4202
4253
|
variant: r = a.variant,
|
|
4203
4254
|
...c
|
|
4204
4255
|
} = n;
|
|
4205
|
-
return /* @__PURE__ */ i(ae.Item, { className: x(
|
|
4256
|
+
return /* @__PURE__ */ i(ae.Item, { className: x(Fr({ size: o, variant: r }), s), ref: t, ...c, children: e });
|
|
4206
4257
|
});
|
|
4207
4258
|
Bn.displayName = "RadioGroupItem";
|
|
4208
4259
|
const $n = u((n) => {
|
|
@@ -4218,16 +4269,16 @@ const $n = u((n) => {
|
|
|
4218
4269
|
return /* @__PURE__ */ i(ae.Root, { className: x(e), ref: t, "data-accent-color": s, ...l, children: /* @__PURE__ */ i(Hn.Provider, { value: d, children: c }) });
|
|
4219
4270
|
});
|
|
4220
4271
|
$n.displayName = "RadioGroupRoot";
|
|
4221
|
-
const
|
|
4222
|
-
Indicator:
|
|
4272
|
+
const si = {
|
|
4273
|
+
Indicator: Fn,
|
|
4223
4274
|
Item: Bn,
|
|
4224
4275
|
Root: $n
|
|
4225
|
-
}, bt =
|
|
4276
|
+
}, bt = T({}), jn = T({}), Un = u((n) => {
|
|
4226
4277
|
const { ref: a, children: t, value: e, ...s } = n, { value: o } = b(bt), r = !!o && e <= o, c = w(() => ({ value: e }), [e]);
|
|
4227
4278
|
return /* @__PURE__ */ i(ae.Item, { ref: a, value: e.toString(), "data-active": r, ...s, children: /* @__PURE__ */ i(jn, { value: c, children: t }) });
|
|
4228
4279
|
});
|
|
4229
|
-
|
|
4230
|
-
const
|
|
4280
|
+
Un.displayName = "RatingItem";
|
|
4281
|
+
const qn = u((n) => {
|
|
4231
4282
|
const { ref: a, children: t, forceMount: e, ...s } = n, { value: o } = b(bt), { value: r } = b(jn), c = !!o && r <= o;
|
|
4232
4283
|
return /* @__PURE__ */ i(
|
|
4233
4284
|
ae.Indicator,
|
|
@@ -4240,7 +4291,7 @@ const Un = u((n) => {
|
|
|
4240
4291
|
}
|
|
4241
4292
|
);
|
|
4242
4293
|
});
|
|
4243
|
-
|
|
4294
|
+
qn.displayName = "RatingItemIndicator";
|
|
4244
4295
|
const Wn = u((n) => {
|
|
4245
4296
|
const { ref: a, children: t, defaultValue: e, value: s, onValueChange: o, ...r } = n, [c, l] = X(e ?? null, s, o), d = h(
|
|
4246
4297
|
(g) => {
|
|
@@ -4265,11 +4316,11 @@ const Wn = u((n) => {
|
|
|
4265
4316
|
);
|
|
4266
4317
|
});
|
|
4267
4318
|
Wn.displayName = "RatingRoot";
|
|
4268
|
-
const
|
|
4269
|
-
Item:
|
|
4270
|
-
ItemIndicator:
|
|
4319
|
+
const oi = {
|
|
4320
|
+
Item: Un,
|
|
4321
|
+
ItemIndicator: qn,
|
|
4271
4322
|
Root: Wn
|
|
4272
|
-
},
|
|
4323
|
+
}, Hr = v(
|
|
4273
4324
|
["shrink-0", "transition-colors", "inline-flex", "box-border", "min-w-max", "text-center"],
|
|
4274
4325
|
{
|
|
4275
4326
|
variants: {
|
|
@@ -4287,7 +4338,7 @@ const ti = {
|
|
|
4287
4338
|
}
|
|
4288
4339
|
}
|
|
4289
4340
|
}
|
|
4290
|
-
),
|
|
4341
|
+
), Br = v(
|
|
4291
4342
|
[
|
|
4292
4343
|
"h-full",
|
|
4293
4344
|
"grow",
|
|
@@ -4410,18 +4461,18 @@ const ti = {
|
|
|
4410
4461
|
icon: !1
|
|
4411
4462
|
}
|
|
4412
4463
|
}
|
|
4413
|
-
), Kn =
|
|
4464
|
+
), Kn = T({}), $r = () => {
|
|
4414
4465
|
const n = j(Kn);
|
|
4415
4466
|
if (!n)
|
|
4416
4467
|
throw new Error("useSegmentedControl must be used within a SegmentedControlProvider");
|
|
4417
4468
|
return n;
|
|
4418
4469
|
}, Xn = u((n) => {
|
|
4419
|
-
const { ref: a, className: t, ...e } = n, { size: s, radius: o, variant: r, icon: c } =
|
|
4470
|
+
const { ref: a, className: t, ...e } = n, { size: s, radius: o, variant: r, icon: c } = $r();
|
|
4420
4471
|
return /* @__PURE__ */ i(
|
|
4421
4472
|
Oe.Item,
|
|
4422
4473
|
{
|
|
4423
4474
|
ref: a,
|
|
4424
|
-
className: x(
|
|
4475
|
+
className: x(Br({ size: s, variant: r, icon: c, radius: o }), t),
|
|
4425
4476
|
...e
|
|
4426
4477
|
}
|
|
4427
4478
|
);
|
|
@@ -4444,7 +4495,7 @@ const Yn = u((n) => {
|
|
|
4444
4495
|
{
|
|
4445
4496
|
ref: t,
|
|
4446
4497
|
className: x(
|
|
4447
|
-
|
|
4498
|
+
Hr({ size: o, variant: r }),
|
|
4448
4499
|
k({ radius: l, maxLarge: !1 }),
|
|
4449
4500
|
s
|
|
4450
4501
|
),
|
|
@@ -4456,10 +4507,10 @@ const Yn = u((n) => {
|
|
|
4456
4507
|
);
|
|
4457
4508
|
});
|
|
4458
4509
|
Yn.displayName = "SegmentedControlRoot";
|
|
4459
|
-
const
|
|
4510
|
+
const ri = {
|
|
4460
4511
|
Item: Xn,
|
|
4461
4512
|
Root: Yn
|
|
4462
|
-
}, Qn =
|
|
4513
|
+
}, Qn = T({}), jr = v(
|
|
4463
4514
|
["shrink-0", "transition-colors", "inline-flex", "box-border", "min-w-max", "text-center"],
|
|
4464
4515
|
{
|
|
4465
4516
|
variants: {
|
|
@@ -4481,7 +4532,7 @@ const ai = {
|
|
|
4481
4532
|
size: "md"
|
|
4482
4533
|
}
|
|
4483
4534
|
}
|
|
4484
|
-
),
|
|
4535
|
+
), Ur = v(
|
|
4485
4536
|
[
|
|
4486
4537
|
"h-full",
|
|
4487
4538
|
"grow",
|
|
@@ -4626,7 +4677,7 @@ const ai = {
|
|
|
4626
4677
|
ne.List,
|
|
4627
4678
|
{
|
|
4628
4679
|
ref: t,
|
|
4629
|
-
className: x(
|
|
4680
|
+
className: x(jr({ size: o, variant: r }), k({ radius: c, maxLarge: !1 }), s),
|
|
4630
4681
|
"data-accent-color": l,
|
|
4631
4682
|
...d,
|
|
4632
4683
|
children: /* @__PURE__ */ i(Qn.Provider, { value: m, children: e })
|
|
@@ -4645,19 +4696,19 @@ const es = u((n) => {
|
|
|
4645
4696
|
ne.Trigger,
|
|
4646
4697
|
{
|
|
4647
4698
|
ref: a,
|
|
4648
|
-
className: x(
|
|
4699
|
+
className: x(Ur({ size: o, radius: r, variant: c }), e),
|
|
4649
4700
|
...s,
|
|
4650
4701
|
children: t
|
|
4651
4702
|
}
|
|
4652
4703
|
);
|
|
4653
4704
|
});
|
|
4654
4705
|
es.displayName = "TabsTrigger";
|
|
4655
|
-
const
|
|
4706
|
+
const ci = {
|
|
4656
4707
|
Root: Zn,
|
|
4657
4708
|
List: Jn,
|
|
4658
4709
|
Trigger: es,
|
|
4659
4710
|
Content: ne.Content
|
|
4660
|
-
},
|
|
4711
|
+
}, qr = v(["shrink-0", "bg-(--accent-6)"], {
|
|
4661
4712
|
variants: {
|
|
4662
4713
|
size: {
|
|
4663
4714
|
xs: [],
|
|
@@ -4738,20 +4789,20 @@ const ni = {
|
|
|
4738
4789
|
size: "md",
|
|
4739
4790
|
orientation: "horizontal"
|
|
4740
4791
|
}
|
|
4741
|
-
}),
|
|
4792
|
+
}), Wr = u((n) => {
|
|
4742
4793
|
const { ref: a, className: t, accentColor: e = "base", orientation: s, size: o, ...r } = n;
|
|
4743
4794
|
return /* @__PURE__ */ i(
|
|
4744
4795
|
Je.Root,
|
|
4745
4796
|
{
|
|
4746
|
-
className: x(
|
|
4797
|
+
className: x(qr({ orientation: s, size: o }), t),
|
|
4747
4798
|
"data-accent-color": e,
|
|
4748
4799
|
ref: a,
|
|
4749
4800
|
...r
|
|
4750
4801
|
}
|
|
4751
4802
|
);
|
|
4752
4803
|
});
|
|
4753
|
-
|
|
4754
|
-
const
|
|
4804
|
+
Wr.displayName = "Separator";
|
|
4805
|
+
const Kr = v(["relative", "select-none", "touch-none", "flex", "items-center"], {
|
|
4755
4806
|
variants: {
|
|
4756
4807
|
size: {
|
|
4757
4808
|
xs: [],
|
|
@@ -4823,7 +4874,7 @@ const jr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
|
|
|
4823
4874
|
className: ["w-8"]
|
|
4824
4875
|
}
|
|
4825
4876
|
]
|
|
4826
|
-
}),
|
|
4877
|
+
}), Xr = v(
|
|
4827
4878
|
[
|
|
4828
4879
|
"overflow-hidden",
|
|
4829
4880
|
"relative",
|
|
@@ -4906,7 +4957,7 @@ const jr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
|
|
|
4906
4957
|
}
|
|
4907
4958
|
]
|
|
4908
4959
|
}
|
|
4909
|
-
),
|
|
4960
|
+
), Yr = v(
|
|
4910
4961
|
["absolute", "rounded-[inherit]", "data-disabled:opacity-50", "disabled:pointer-events-none"],
|
|
4911
4962
|
{
|
|
4912
4963
|
variants: {
|
|
@@ -4927,7 +4978,7 @@ const jr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
|
|
|
4927
4978
|
}
|
|
4928
4979
|
}
|
|
4929
4980
|
}
|
|
4930
|
-
),
|
|
4981
|
+
), Qr = v(
|
|
4931
4982
|
[
|
|
4932
4983
|
"block",
|
|
4933
4984
|
"shrink-0",
|
|
@@ -4956,7 +5007,7 @@ const jr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
|
|
|
4956
5007
|
}
|
|
4957
5008
|
}
|
|
4958
5009
|
}
|
|
4959
|
-
),
|
|
5010
|
+
), Jr = u((n) => {
|
|
4960
5011
|
const a = M(), {
|
|
4961
5012
|
className: t,
|
|
4962
5013
|
size: e = "md",
|
|
@@ -4968,10 +5019,10 @@ const jr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
|
|
|
4968
5019
|
...d
|
|
4969
5020
|
} = n;
|
|
4970
5021
|
return /* @__PURE__ */ W(
|
|
4971
|
-
|
|
5022
|
+
Te.Root,
|
|
4972
5023
|
{
|
|
4973
5024
|
className: x(
|
|
4974
|
-
|
|
5025
|
+
Kr({ size: e, variant: c, orientation: s }),
|
|
4975
5026
|
k({ radius: r, maxLarge: !1 }),
|
|
4976
5027
|
t
|
|
4977
5028
|
),
|
|
@@ -4979,11 +5030,11 @@ const jr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
|
|
|
4979
5030
|
"data-accent-color": o,
|
|
4980
5031
|
...d,
|
|
4981
5032
|
children: [
|
|
4982
|
-
/* @__PURE__ */ i(
|
|
5033
|
+
/* @__PURE__ */ i(Te.Track, { className: Xr({ size: e, variant: c, orientation: s }), children: /* @__PURE__ */ i(Te.Range, { className: Yr({ size: e, variant: c, orientation: s }) }) }),
|
|
4983
5034
|
(n.value ?? d.defaultValue ?? []).map((m, g) => /* @__PURE__ */ i(
|
|
4984
|
-
|
|
5035
|
+
Te.Thumb,
|
|
4985
5036
|
{
|
|
4986
|
-
className: x(
|
|
5037
|
+
className: x(Qr({ size: e, variant: c }), k({ radius: r, maxLarge: !1 })),
|
|
4987
5038
|
...l !== void 0 ? { tabIndex: l } : void 0
|
|
4988
5039
|
},
|
|
4989
5040
|
`${g}-${m}`
|
|
@@ -4992,8 +5043,8 @@ const jr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
|
|
|
4992
5043
|
}
|
|
4993
5044
|
);
|
|
4994
5045
|
});
|
|
4995
|
-
|
|
4996
|
-
const
|
|
5046
|
+
Jr.displayName = "Slider";
|
|
5047
|
+
const Zr = v(
|
|
4997
5048
|
["box-border", "shrink-0", "animate-spin", "rounded-full", "border-(--accent-9)", "border-b-transparent"],
|
|
4998
5049
|
{
|
|
4999
5050
|
variants: {
|
|
@@ -5009,12 +5060,12 @@ const Xr = v(
|
|
|
5009
5060
|
size: "md"
|
|
5010
5061
|
}
|
|
5011
5062
|
}
|
|
5012
|
-
),
|
|
5063
|
+
), ec = u((n) => {
|
|
5013
5064
|
const a = M(), { ref: t, className: e, size: s = "md", accentColor: o = a.accentColor, ...r } = n;
|
|
5014
|
-
return /* @__PURE__ */ i("div", { className: x(
|
|
5065
|
+
return /* @__PURE__ */ i("div", { className: x(Zr({ size: s }), e), ref: t, "data-accent-color": o, ...r });
|
|
5015
5066
|
});
|
|
5016
|
-
|
|
5017
|
-
const ts =
|
|
5067
|
+
ec.displayName = "Spinner";
|
|
5068
|
+
const ts = T({}), tc = v(
|
|
5018
5069
|
[
|
|
5019
5070
|
"shrink-0",
|
|
5020
5071
|
// select
|
|
@@ -5047,7 +5098,7 @@ const ts = P({}), Qr = v(
|
|
|
5047
5098
|
size: "md"
|
|
5048
5099
|
}
|
|
5049
5100
|
}
|
|
5050
|
-
),
|
|
5101
|
+
), ac = v(
|
|
5051
5102
|
[
|
|
5052
5103
|
"flex",
|
|
5053
5104
|
"items-center",
|
|
@@ -5082,9 +5133,9 @@ const ts = P({}), Qr = v(
|
|
|
5082
5133
|
...l
|
|
5083
5134
|
} = n, d = w(() => ({ size: o, radius: r }), [o, r]);
|
|
5084
5135
|
return /* @__PURE__ */ i(
|
|
5085
|
-
|
|
5136
|
+
Ut.Root,
|
|
5086
5137
|
{
|
|
5087
|
-
className: x(
|
|
5138
|
+
className: x(tc({ size: o }), k({ radius: r, maxLarge: !1 }), s),
|
|
5088
5139
|
ref: t,
|
|
5089
5140
|
"data-accent-color": c,
|
|
5090
5141
|
...l,
|
|
@@ -5096,16 +5147,16 @@ as.displayName = "SwitchRoot";
|
|
|
5096
5147
|
const ns = u((n) => {
|
|
5097
5148
|
const { ref: a, className: t, ...e } = n, { size: s, radius: o } = j(ts);
|
|
5098
5149
|
return /* @__PURE__ */ i(
|
|
5099
|
-
|
|
5150
|
+
Ut.Thumb,
|
|
5100
5151
|
{
|
|
5101
|
-
className: x(
|
|
5152
|
+
className: x(ac({ size: s }), k({ radius: o, maxLarge: !1 }), t),
|
|
5102
5153
|
ref: a,
|
|
5103
5154
|
...e
|
|
5104
5155
|
}
|
|
5105
5156
|
);
|
|
5106
5157
|
});
|
|
5107
5158
|
ns.displayName = "SwitchThumb";
|
|
5108
|
-
const
|
|
5159
|
+
const ii = {
|
|
5109
5160
|
Root: as,
|
|
5110
5161
|
Thumb: ns
|
|
5111
5162
|
}, ss = u((n) => {
|
|
@@ -5113,7 +5164,7 @@ const si = {
|
|
|
5113
5164
|
return /* @__PURE__ */ i("tbody", { ref: a, className: x(t), ...e });
|
|
5114
5165
|
});
|
|
5115
5166
|
ss.displayName = "TableBody";
|
|
5116
|
-
const $e =
|
|
5167
|
+
const $e = T({}), nc = v(["border-collapse text-left"], {
|
|
5117
5168
|
variants: {
|
|
5118
5169
|
variant: {
|
|
5119
5170
|
ghost: [],
|
|
@@ -5218,7 +5269,7 @@ const ls = u((n) => {
|
|
|
5218
5269
|
{
|
|
5219
5270
|
ref: t,
|
|
5220
5271
|
className: x(
|
|
5221
|
-
|
|
5272
|
+
nc({ size: o, variant: l }),
|
|
5222
5273
|
k({ radius: a.radius, maxLarge: !0 }),
|
|
5223
5274
|
s
|
|
5224
5275
|
),
|
|
@@ -5246,7 +5297,7 @@ const us = u((n) => {
|
|
|
5246
5297
|
);
|
|
5247
5298
|
});
|
|
5248
5299
|
us.displayName = "TableRowHeaderCell";
|
|
5249
|
-
const
|
|
5300
|
+
const li = {
|
|
5250
5301
|
Root: ls,
|
|
5251
5302
|
Header: is,
|
|
5252
5303
|
Body: ss,
|
|
@@ -5255,7 +5306,7 @@ const oi = {
|
|
|
5255
5306
|
Cell: os,
|
|
5256
5307
|
RowHeaderCell: us,
|
|
5257
5308
|
ColumnHeaderCell: rs
|
|
5258
|
-
}, ms =
|
|
5309
|
+
}, ms = T({}), sc = v(["flex", "border-box", "inset-shadow-[0_-1px_0_0_var(--base-a6)]"], {
|
|
5259
5310
|
variants: {
|
|
5260
5311
|
size: {
|
|
5261
5312
|
xs: ["h-6", "text-xs"],
|
|
@@ -5268,7 +5319,7 @@ const oi = {
|
|
|
5268
5319
|
defaultVariants: {
|
|
5269
5320
|
size: "md"
|
|
5270
5321
|
}
|
|
5271
|
-
}),
|
|
5322
|
+
}), oc = v(
|
|
5272
5323
|
[
|
|
5273
5324
|
"select-none",
|
|
5274
5325
|
"shrink-0",
|
|
@@ -5308,7 +5359,7 @@ const oi = {
|
|
|
5308
5359
|
ne.List,
|
|
5309
5360
|
{
|
|
5310
5361
|
ref: t,
|
|
5311
|
-
className: x(
|
|
5362
|
+
className: x(sc({ size: o }), s),
|
|
5312
5363
|
"data-accent-color": r,
|
|
5313
5364
|
...c,
|
|
5314
5365
|
children: /* @__PURE__ */ i(ms.Provider, { value: { size: o }, children: e })
|
|
@@ -5321,22 +5372,22 @@ const ps = u((n) => {
|
|
|
5321
5372
|
return /* @__PURE__ */ i(ne.Root, { ref: a, className: x("flex flex-col", t), ...e });
|
|
5322
5373
|
});
|
|
5323
5374
|
ps.displayName = "TabsRoot";
|
|
5324
|
-
const
|
|
5375
|
+
const rc = () => {
|
|
5325
5376
|
const n = j(ms);
|
|
5326
5377
|
if (!n)
|
|
5327
5378
|
throw new Error("useTabsList must be used within a TabsList component");
|
|
5328
5379
|
return n;
|
|
5329
5380
|
}, xs = u((n) => {
|
|
5330
|
-
const { ref: a, children: t, className: e, ...s } = n, { size: o } =
|
|
5331
|
-
return /* @__PURE__ */ i(ne.Trigger, { ref: a, className: x(
|
|
5381
|
+
const { ref: a, children: t, className: e, ...s } = n, { size: o } = rc();
|
|
5382
|
+
return /* @__PURE__ */ i(ne.Trigger, { ref: a, className: x(oc({ size: o }), e), ...s, children: t });
|
|
5332
5383
|
});
|
|
5333
5384
|
xs.displayName = "TabsTrigger";
|
|
5334
|
-
const
|
|
5385
|
+
const di = {
|
|
5335
5386
|
Root: ps,
|
|
5336
5387
|
List: gs,
|
|
5337
5388
|
Trigger: xs,
|
|
5338
5389
|
Content: ne.Content
|
|
5339
|
-
},
|
|
5390
|
+
}, cc = v([], {
|
|
5340
5391
|
variants: {
|
|
5341
5392
|
size: {
|
|
5342
5393
|
xs: ["text-xs"],
|
|
@@ -5372,7 +5423,7 @@ const ri = {
|
|
|
5372
5423
|
{
|
|
5373
5424
|
ref: a,
|
|
5374
5425
|
className: x(
|
|
5375
|
-
|
|
5426
|
+
cc({ size: e, weight: s, align: o }),
|
|
5376
5427
|
{
|
|
5377
5428
|
"text-(--accent-a11)": !!r,
|
|
5378
5429
|
"text-(--accent-a12)": c
|
|
@@ -5385,7 +5436,7 @@ const ri = {
|
|
|
5385
5436
|
);
|
|
5386
5437
|
});
|
|
5387
5438
|
Xe.displayName = "Text";
|
|
5388
|
-
const
|
|
5439
|
+
const ic = v(
|
|
5389
5440
|
[
|
|
5390
5441
|
"focus:outline-(--accent-a8)",
|
|
5391
5442
|
"focus:outline-2",
|
|
@@ -5445,7 +5496,7 @@ const sc = v(
|
|
|
5445
5496
|
resize: "none"
|
|
5446
5497
|
}
|
|
5447
5498
|
}
|
|
5448
|
-
),
|
|
5499
|
+
), lc = u((n) => {
|
|
5449
5500
|
const a = M(), {
|
|
5450
5501
|
ref: t,
|
|
5451
5502
|
className: e,
|
|
@@ -5458,14 +5509,14 @@ const sc = v(
|
|
|
5458
5509
|
return /* @__PURE__ */ i(
|
|
5459
5510
|
"textarea",
|
|
5460
5511
|
{
|
|
5461
|
-
className: x(
|
|
5512
|
+
className: x(ic({ size: s, variant: o }), k({ radius: r, maxLarge: !0 }), e),
|
|
5462
5513
|
ref: t,
|
|
5463
5514
|
"data-accent-color": c,
|
|
5464
5515
|
...l
|
|
5465
5516
|
}
|
|
5466
5517
|
);
|
|
5467
5518
|
});
|
|
5468
|
-
|
|
5519
|
+
lc.displayName = "TextArea";
|
|
5469
5520
|
const Re = u((n) => {
|
|
5470
5521
|
const { toastId: a, title: t, description: e, icon: s, accentColor: o, closeButton: r, action: c } = n, { radius: l } = M(), d = h(() => {
|
|
5471
5522
|
K.dismiss(a);
|
|
@@ -5498,18 +5549,18 @@ const Re = u((n) => {
|
|
|
5498
5549
|
accentColor: "base",
|
|
5499
5550
|
variant: "ghost",
|
|
5500
5551
|
size: "xs",
|
|
5501
|
-
children: /* @__PURE__ */ i(
|
|
5552
|
+
children: /* @__PURE__ */ i(q, { icon: $s })
|
|
5502
5553
|
}
|
|
5503
5554
|
)
|
|
5504
5555
|
]
|
|
5505
5556
|
}
|
|
5506
5557
|
);
|
|
5507
5558
|
}), je = {
|
|
5508
|
-
success: /* @__PURE__ */ i(
|
|
5509
|
-
info: /* @__PURE__ */ i(
|
|
5510
|
-
warning: /* @__PURE__ */ i(
|
|
5511
|
-
error: /* @__PURE__ */ i(
|
|
5512
|
-
},
|
|
5559
|
+
success: /* @__PURE__ */ i(q, { icon: Ws, color: "var(--accent-9)" }),
|
|
5560
|
+
info: /* @__PURE__ */ i(q, { icon: qs, color: "var(--base-11)" }),
|
|
5561
|
+
warning: /* @__PURE__ */ i(q, { icon: Us, color: "var(--accent-9)" }),
|
|
5562
|
+
error: /* @__PURE__ */ i(q, { icon: js, color: "var(--accent-9)" })
|
|
5563
|
+
}, dc = (n) => {
|
|
5513
5564
|
const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
|
|
5514
5565
|
return K.custom(
|
|
5515
5566
|
(c) => /* @__PURE__ */ i(
|
|
@@ -5525,7 +5576,7 @@ const Re = u((n) => {
|
|
|
5525
5576
|
),
|
|
5526
5577
|
r
|
|
5527
5578
|
);
|
|
5528
|
-
},
|
|
5579
|
+
}, uc = (n) => {
|
|
5529
5580
|
const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
|
|
5530
5581
|
return K.custom(
|
|
5531
5582
|
(c) => /* @__PURE__ */ i(
|
|
@@ -5542,7 +5593,7 @@ const Re = u((n) => {
|
|
|
5542
5593
|
),
|
|
5543
5594
|
r
|
|
5544
5595
|
);
|
|
5545
|
-
},
|
|
5596
|
+
}, mc = (n) => {
|
|
5546
5597
|
const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
|
|
5547
5598
|
return K.custom(
|
|
5548
5599
|
(c) => /* @__PURE__ */ i(
|
|
@@ -5559,7 +5610,7 @@ const Re = u((n) => {
|
|
|
5559
5610
|
),
|
|
5560
5611
|
r
|
|
5561
5612
|
);
|
|
5562
|
-
},
|
|
5613
|
+
}, gc = (n) => {
|
|
5563
5614
|
const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
|
|
5564
5615
|
return K.custom(
|
|
5565
5616
|
(c) => /* @__PURE__ */ i(
|
|
@@ -5576,7 +5627,7 @@ const Re = u((n) => {
|
|
|
5576
5627
|
),
|
|
5577
5628
|
r
|
|
5578
5629
|
);
|
|
5579
|
-
},
|
|
5630
|
+
}, pc = (n) => {
|
|
5580
5631
|
const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
|
|
5581
5632
|
return K.custom(
|
|
5582
5633
|
(c) => /* @__PURE__ */ i(
|
|
@@ -5593,22 +5644,22 @@ const Re = u((n) => {
|
|
|
5593
5644
|
),
|
|
5594
5645
|
r
|
|
5595
5646
|
);
|
|
5596
|
-
},
|
|
5597
|
-
|
|
5647
|
+
}, ui = Object.assign(
|
|
5648
|
+
dc,
|
|
5598
5649
|
{
|
|
5599
|
-
success:
|
|
5600
|
-
info:
|
|
5601
|
-
warning:
|
|
5602
|
-
error:
|
|
5650
|
+
success: uc,
|
|
5651
|
+
info: mc,
|
|
5652
|
+
warning: gc,
|
|
5653
|
+
error: pc,
|
|
5603
5654
|
custom: K.custom,
|
|
5604
5655
|
dismiss: K.dismiss
|
|
5605
5656
|
},
|
|
5606
5657
|
{ getHistory: K.getHistory, getToasts: K.getToasts }
|
|
5607
|
-
),
|
|
5658
|
+
), xc = {
|
|
5608
5659
|
unstyled: !0
|
|
5609
|
-
},
|
|
5610
|
-
|
|
5611
|
-
const
|
|
5660
|
+
}, fc = u((n) => /* @__PURE__ */ i(ro, { toastOptions: xc, richColors: !1, closeButton: !1, theme: "system", ...n }));
|
|
5661
|
+
fc.displayName = "Toaster";
|
|
5662
|
+
const hc = v(
|
|
5612
5663
|
[
|
|
5613
5664
|
"flex",
|
|
5614
5665
|
"items-center",
|
|
@@ -5742,18 +5793,18 @@ const gc = v(
|
|
|
5742
5793
|
co.Root,
|
|
5743
5794
|
{
|
|
5744
5795
|
ref: t,
|
|
5745
|
-
className: x(
|
|
5796
|
+
className: x(hc({ size: s, variant: r, icon: o }), k({ radius: c, maxLarge: !1 }), e),
|
|
5746
5797
|
"data-accent-color": l,
|
|
5747
5798
|
...d
|
|
5748
5799
|
}
|
|
5749
5800
|
);
|
|
5750
5801
|
});
|
|
5751
5802
|
yt.displayName = "BaseToggleButton";
|
|
5752
|
-
const
|
|
5753
|
-
|
|
5754
|
-
const
|
|
5755
|
-
|
|
5756
|
-
const fs =
|
|
5803
|
+
const vc = u((n) => /* @__PURE__ */ i(yt, { icon: !0, ...n }));
|
|
5804
|
+
vc.displayName = "IconToggleButton";
|
|
5805
|
+
const bc = u((n) => /* @__PURE__ */ i(yt, { icon: !1, ...n }));
|
|
5806
|
+
bc.displayName = "ToggleButton";
|
|
5807
|
+
const fs = T({}), Cc = v(
|
|
5757
5808
|
[
|
|
5758
5809
|
"flex",
|
|
5759
5810
|
"items-center",
|
|
@@ -5883,7 +5934,7 @@ const fs = P({}), fc = v(
|
|
|
5883
5934
|
{
|
|
5884
5935
|
ref: t,
|
|
5885
5936
|
className: x(
|
|
5886
|
-
|
|
5937
|
+
Cc({ icon: s, variant: c, size: l }),
|
|
5887
5938
|
k({ radius: r, maxLarge: !1 }),
|
|
5888
5939
|
e
|
|
5889
5940
|
),
|
|
@@ -5918,7 +5969,7 @@ const bs = u((n) => {
|
|
|
5918
5969
|
return /* @__PURE__ */ i(Oe.Root, { ref: t, "data-accent-color": s, ...l, children: /* @__PURE__ */ i(fs, { value: d, children: e }) });
|
|
5919
5970
|
});
|
|
5920
5971
|
bs.displayName = "ToggleGroupRoot";
|
|
5921
|
-
const
|
|
5972
|
+
const mi = {
|
|
5922
5973
|
Root: bs,
|
|
5923
5974
|
Item: vs,
|
|
5924
5975
|
IconItem: hs
|
|
@@ -5927,7 +5978,7 @@ const ii = {
|
|
|
5927
5978
|
return /* @__PURE__ */ i(de.Arrow, { className: x("fill-(--base-6)", t), ref: a, ...e });
|
|
5928
5979
|
});
|
|
5929
5980
|
Cs.displayName = "TooltipArrow";
|
|
5930
|
-
const
|
|
5981
|
+
const yc = v(
|
|
5931
5982
|
[
|
|
5932
5983
|
"data-[state=delayed-open]:animate-in",
|
|
5933
5984
|
"data-[state=delayed-open]:fade-in-0",
|
|
@@ -5978,7 +6029,7 @@ const hc = v(
|
|
|
5978
6029
|
return /* @__PURE__ */ i(de.Portal, { container: d, children: /* @__PURE__ */ i(
|
|
5979
6030
|
de.Content,
|
|
5980
6031
|
{
|
|
5981
|
-
className: x(
|
|
6032
|
+
className: x(yc({ size: r, side: o }), k({ radius: c, maxLarge: !1 }), s),
|
|
5982
6033
|
ref: t,
|
|
5983
6034
|
sideOffset: l,
|
|
5984
6035
|
"data-floating-content": "",
|
|
@@ -5988,7 +6039,7 @@ const hc = v(
|
|
|
5988
6039
|
) });
|
|
5989
6040
|
});
|
|
5990
6041
|
ys.displayName = "TooltipContent";
|
|
5991
|
-
const
|
|
6042
|
+
const gi = {
|
|
5992
6043
|
Arrow: Cs,
|
|
5993
6044
|
Content: ys,
|
|
5994
6045
|
Root: de.Root,
|
|
@@ -5996,10 +6047,10 @@ const li = {
|
|
|
5996
6047
|
Provider: de.Provider
|
|
5997
6048
|
};
|
|
5998
6049
|
export {
|
|
5999
|
-
|
|
6050
|
+
_c as AlertDialog,
|
|
6000
6051
|
et as AlertDialogContent,
|
|
6001
6052
|
uo as AlertDialogProvider,
|
|
6002
|
-
|
|
6053
|
+
Fc as Avatar,
|
|
6003
6054
|
ea as AvatarFallback,
|
|
6004
6055
|
ta as AvatarImage,
|
|
6005
6056
|
aa as AvatarRoot,
|
|
@@ -6007,15 +6058,15 @@ export {
|
|
|
6007
6058
|
We as Button,
|
|
6008
6059
|
lo as ButtonGroup,
|
|
6009
6060
|
ho as Card,
|
|
6010
|
-
|
|
6011
|
-
|
|
6061
|
+
Hc as Checkbox,
|
|
6062
|
+
jc as CheckboxGroup,
|
|
6012
6063
|
oa as CheckboxGroupItem,
|
|
6013
6064
|
ra as CheckboxGroupItemIndicator,
|
|
6014
6065
|
ca as CheckboxGroupRoot,
|
|
6015
6066
|
ia as CheckboxGroupSelectAllItem,
|
|
6016
6067
|
na as CheckboxIndicator,
|
|
6017
6068
|
sa as CheckboxRoot,
|
|
6018
|
-
|
|
6069
|
+
Uc as CommandMenu,
|
|
6019
6070
|
la as CommandMenuCheckboxIndicator,
|
|
6020
6071
|
ma as CommandMenuCheckboxItem,
|
|
6021
6072
|
ga as CommandMenuContent,
|
|
@@ -6025,127 +6076,127 @@ export {
|
|
|
6025
6076
|
ce as CommandMenuItem,
|
|
6026
6077
|
fa as CommandMenuList,
|
|
6027
6078
|
Ro as CommandMenuMultiSelectGroup,
|
|
6028
|
-
|
|
6079
|
+
To as CommandMenuMultiSelectItem,
|
|
6029
6080
|
ha as CommandMenuOverlay,
|
|
6030
6081
|
va as CommandMenuPage,
|
|
6031
6082
|
Ca as CommandMenuPageTriggerItem,
|
|
6032
6083
|
ba as CommandMenuPages,
|
|
6033
|
-
|
|
6084
|
+
Po as CommandMenuRadioGroup,
|
|
6034
6085
|
Mo as CommandMenuRadioItem,
|
|
6035
6086
|
ya as CommandMenuRoot,
|
|
6036
6087
|
Oo as CommandMenuSelectAllItem,
|
|
6037
6088
|
za as CommandMenuSelectedIndicator,
|
|
6038
6089
|
Na as CommandMenuSeparator,
|
|
6039
6090
|
wa as CommandMenuTrigger,
|
|
6040
|
-
|
|
6041
|
-
|
|
6091
|
+
$o as DayPicker,
|
|
6092
|
+
qc as Dialog,
|
|
6042
6093
|
Sa as DialogContent,
|
|
6043
6094
|
ka as DialogOverlay,
|
|
6044
6095
|
Ra as DialogRoot,
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6096
|
+
Wo as Heading,
|
|
6097
|
+
Wc as HoverCard,
|
|
6098
|
+
Ta as HoverCardArrow,
|
|
6099
|
+
Pa as HoverCardContent,
|
|
6100
|
+
Xo as HoverUtility,
|
|
6050
6101
|
tt as IconButton,
|
|
6051
|
-
|
|
6052
|
-
|
|
6102
|
+
vc as IconToggleButton,
|
|
6103
|
+
Kc as Input,
|
|
6053
6104
|
Ma as InputField,
|
|
6054
6105
|
Oa as InputRoot,
|
|
6055
6106
|
Va as InputSlot,
|
|
6056
|
-
|
|
6107
|
+
Qc as Layout,
|
|
6057
6108
|
La as LayoutContainer,
|
|
6058
6109
|
Aa as LayoutRoot,
|
|
6059
6110
|
Ea as LayoutSlideOutClose,
|
|
6060
|
-
|
|
6061
|
-
|
|
6111
|
+
_a as LayoutSlideOutContent,
|
|
6112
|
+
Fa as LayoutSlideOutHandle,
|
|
6062
6113
|
Ha as LayoutSlideOutOverlay,
|
|
6063
6114
|
Ba as LayoutSlideOutRoot,
|
|
6064
6115
|
$a as LayoutSlideOutTrigger,
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6116
|
+
rr as Link,
|
|
6117
|
+
q as LuIcon,
|
|
6118
|
+
Jc as Menu,
|
|
6119
|
+
qa as MenuCheckboxItem,
|
|
6069
6120
|
Wa as MenuCheckboxItemIndicator,
|
|
6070
6121
|
Ka as MenuClickTrigger,
|
|
6071
6122
|
Xa as MenuContent,
|
|
6072
6123
|
Ya as MenuContextTrigger,
|
|
6073
|
-
|
|
6124
|
+
Fe as MenuGroup,
|
|
6074
6125
|
Qa as MenuInputField,
|
|
6075
6126
|
Ja as MenuInputRoot,
|
|
6076
6127
|
Za as MenuInputSlot,
|
|
6077
6128
|
se as MenuItem,
|
|
6078
6129
|
en as MenuLabel,
|
|
6079
|
-
|
|
6080
|
-
|
|
6130
|
+
gr as MenuMultiSelectGroup,
|
|
6131
|
+
pr as MenuMultiSelectItem,
|
|
6081
6132
|
tn as MenuPageContent,
|
|
6082
6133
|
nn as MenuPageTrigger,
|
|
6083
6134
|
an as MenuPages,
|
|
6084
6135
|
on as MenuRoot,
|
|
6085
6136
|
rn as MenuScroll,
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6137
|
+
fr as MenuSelectAllItem,
|
|
6138
|
+
hr as MenuSelectGroup,
|
|
6139
|
+
vr as MenuSelectItem,
|
|
6089
6140
|
cn as MenuSelectedIndicator,
|
|
6090
6141
|
ln as MenuSeparator,
|
|
6091
6142
|
dn as MenuSub,
|
|
6092
6143
|
un as MenuSubContent,
|
|
6093
6144
|
mn as MenuSubTrigger,
|
|
6094
|
-
|
|
6145
|
+
Zc as MenuV2,
|
|
6095
6146
|
xn as MenuV2CheckboxItem,
|
|
6096
6147
|
fn as MenuV2CheckedIndicator,
|
|
6097
6148
|
Be as MenuV2Group,
|
|
6098
6149
|
hn as MenuV2GroupLabel,
|
|
6099
6150
|
le as MenuV2Item,
|
|
6100
|
-
|
|
6101
|
-
|
|
6151
|
+
kr as MenuV2MultiSelectGroup,
|
|
6152
|
+
Rr as MenuV2MultiSelectItem,
|
|
6102
6153
|
vn as MenuV2Page,
|
|
6103
6154
|
Cn as MenuV2PageTriggerItem,
|
|
6104
6155
|
bn as MenuV2Pages,
|
|
6105
6156
|
yn as MenuV2Root,
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6157
|
+
Sr as MenuV2SelectAllItem,
|
|
6158
|
+
Tr as MenuV2SelectGroup,
|
|
6159
|
+
Pr as MenuV2SelectItem,
|
|
6109
6160
|
zn as MenuV2SelectedIndicator,
|
|
6110
6161
|
Nn as MenuV2Separator,
|
|
6111
6162
|
gn as MenuVirtualTrigger,
|
|
6112
|
-
|
|
6163
|
+
ei as OneTimePasswordField,
|
|
6113
6164
|
wn as OneTimePasswordFieldHiddenInput,
|
|
6114
6165
|
Sn as OneTimePasswordFieldInput,
|
|
6115
6166
|
kn as OneTimePasswordFieldRoot,
|
|
6116
|
-
|
|
6167
|
+
ti as Overlay,
|
|
6117
6168
|
Rn as OverlayClose,
|
|
6118
|
-
|
|
6119
|
-
|
|
6169
|
+
Tn as OverlayContent,
|
|
6170
|
+
Pn as OverlayDescription,
|
|
6120
6171
|
Mn as OverlayRoot,
|
|
6121
6172
|
On as OverlayTitle,
|
|
6122
6173
|
Vn as OverlayTrigger,
|
|
6123
|
-
|
|
6124
|
-
|
|
6174
|
+
Vr as OvermapErrorBoundary,
|
|
6175
|
+
ai as Popover,
|
|
6125
6176
|
An as PopoverArrow,
|
|
6126
6177
|
Dn as PopoverContent,
|
|
6127
|
-
|
|
6178
|
+
Gr as Progress,
|
|
6128
6179
|
io as Provider,
|
|
6129
|
-
|
|
6180
|
+
ni as RadioCards,
|
|
6130
6181
|
En as RadioCardsItem,
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6182
|
+
_n as RadioCardsRoot,
|
|
6183
|
+
si as RadioGroup,
|
|
6184
|
+
Fn as RadioGroupIndicator,
|
|
6134
6185
|
Bn as RadioGroupItem,
|
|
6135
6186
|
$n as RadioGroupRoot,
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6187
|
+
oi as Rating,
|
|
6188
|
+
Un as RatingItem,
|
|
6189
|
+
qn as RatingItemIndicator,
|
|
6139
6190
|
Wn as RatingRoot,
|
|
6140
|
-
|
|
6191
|
+
ri as SegmentedControl,
|
|
6141
6192
|
Xn as SegmentedControlItem,
|
|
6142
6193
|
Yn as SegmentedControlRoot,
|
|
6143
|
-
|
|
6194
|
+
ci as SegmentedTabs,
|
|
6144
6195
|
Jn as SegmentedTabsList,
|
|
6145
6196
|
Zn as SegmentedTabsRoot,
|
|
6146
6197
|
es as SegmentedTabsTrigger,
|
|
6147
|
-
|
|
6148
|
-
|
|
6198
|
+
Wr as Separator,
|
|
6199
|
+
Yc as SlideOut,
|
|
6149
6200
|
ut as SlideOutClose,
|
|
6150
6201
|
mt as SlideOutContent,
|
|
6151
6202
|
gt as SlideOutHandle,
|
|
@@ -6153,12 +6204,12 @@ export {
|
|
|
6153
6204
|
xt as SlideOutRoot,
|
|
6154
6205
|
Ga as SlideOutTrigger,
|
|
6155
6206
|
ft as SlideOutViewport,
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6207
|
+
Jr as Slider,
|
|
6208
|
+
ec as Spinner,
|
|
6209
|
+
ii as Switch,
|
|
6159
6210
|
as as SwitchRoot,
|
|
6160
6211
|
ns as SwitchThumb,
|
|
6161
|
-
|
|
6212
|
+
li as Table,
|
|
6162
6213
|
ss as TableBody,
|
|
6163
6214
|
os as TableCell,
|
|
6164
6215
|
rs as TableColumnHeaderCell,
|
|
@@ -6167,25 +6218,25 @@ export {
|
|
|
6167
6218
|
ls as TableRoot,
|
|
6168
6219
|
ds as TableRow,
|
|
6169
6220
|
us as TableRowHeaderCell,
|
|
6170
|
-
|
|
6221
|
+
di as Tabs,
|
|
6171
6222
|
gs as TabsList,
|
|
6172
6223
|
ps as TabsRoot,
|
|
6173
6224
|
xs as TabsTrigger,
|
|
6174
6225
|
Xe as Text,
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6226
|
+
lc as TextArea,
|
|
6227
|
+
fc as Toaster,
|
|
6228
|
+
bc as ToggleButton,
|
|
6229
|
+
mi as ToggleGroup,
|
|
6179
6230
|
hs as ToggleGroupIconItem,
|
|
6180
6231
|
vs as ToggleGroupItem,
|
|
6181
6232
|
bs as ToggleGroupRoot,
|
|
6182
|
-
|
|
6233
|
+
gi as Tooltip,
|
|
6183
6234
|
Cs as TooltipArrow,
|
|
6184
6235
|
ys as TooltipContent,
|
|
6185
6236
|
po as badge,
|
|
6186
6237
|
Jt as buttonCva,
|
|
6187
6238
|
Ve as floating,
|
|
6188
|
-
|
|
6239
|
+
F as genericMemo,
|
|
6189
6240
|
Le as getActiveState,
|
|
6190
6241
|
Q as getBooleanState,
|
|
6191
6242
|
Ie as getCheckedState,
|
|
@@ -6194,15 +6245,15 @@ export {
|
|
|
6194
6245
|
we as mergeRefs,
|
|
6195
6246
|
k as radiusCva,
|
|
6196
6247
|
bo as stopPropagation,
|
|
6197
|
-
|
|
6198
|
-
|
|
6248
|
+
ui as toast,
|
|
6249
|
+
Ec as useAlertDialog,
|
|
6199
6250
|
Qt as useButtonGroup,
|
|
6200
6251
|
X as useControlledState,
|
|
6201
6252
|
vo as useFallbackId,
|
|
6202
6253
|
nt as useLatest,
|
|
6203
6254
|
ke as useLayoutContext,
|
|
6204
|
-
|
|
6255
|
+
Xc as useLayoutContextSelector,
|
|
6205
6256
|
M as useProvider,
|
|
6206
|
-
|
|
6207
|
-
|
|
6257
|
+
$c as useTextFilter,
|
|
6258
|
+
Bc as useViewportSize
|
|
6208
6259
|
};
|