@krosoft/react 0.0.182 → 0.0.183
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/{AppActions-DEkRxBia.js → AppActions-DtdwQdm-.js} +1 -1
- package/dist/{AppSubTitle-ChCtQ7Sv.js → AppSubTitle-Co9HDBO4.js} +1 -1
- package/dist/AppVerticalTabs-B3_nbdLm.js +99 -0
- package/dist/{ConfirmationDialog-BPXA2g3g.js → ConfirmationDialog-3rO4sYM8.js} +2 -2
- package/dist/{DataTable-ny08K506.js → DataTable-Ckbr166c.js} +1 -1
- package/dist/{GenericForm-B39toMkE.js → GenericForm-ClzOIaJc.js} +4 -4
- package/dist/{ImageInput-BoYUZx9H.js → ImageInput-BPV_4oDI.js} +1 -1
- package/dist/{KpiCardsLayout-mQ7AcbqA.js → KpiCardsLayout-D67cLG3R.js} +3 -3
- package/dist/{MetricCard-CvQFjIOb.js → MetricCard-BAa26w6e.js} +1 -1
- package/dist/{MultiSelect-CqcbwKYV.js → MultiSelect-ovXnKCuU.js} +1 -1
- package/dist/SearchInput-B08-Mcsx.js +250 -0
- package/dist/{SkeletonCards-BvJYF_LK.js → SkeletonCards-D0V2nuDg.js} +1 -1
- package/dist/{TableFilter-CWDy_RHA.js → TableFilter-Z0T30AzZ.js} +3 -3
- package/dist/components/core/cards/index.js +2 -2
- package/dist/components/core/dialogs/index.js +2 -2
- package/dist/components/core/filters/index.js +1 -1
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.js +14 -14
- package/dist/components/core/inputs/SearchableSelect.d.ts +16 -2
- package/dist/components/core/inputs/SearchableSelect.d.ts.map +1 -1
- package/dist/components/core/inputs/index.d.ts +1 -0
- package/dist/components/core/inputs/index.d.ts.map +1 -1
- package/dist/components/core/inputs/index.js +3 -3
- package/dist/components/core/layouts/index.js +3 -3
- package/dist/components/core/table/index.js +1 -1
- package/dist/components/core/tabs/AppTabs.d.ts.map +1 -1
- package/dist/components/core/tabs/index.js +1 -1
- package/dist/components/index.js +15 -15
- package/dist/components/ui/index.js +2 -2
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/hooks/index.js +9 -7
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/index.js +11 -9
- package/dist/hooks/ui/useScrollFade.d.ts +11 -0
- package/dist/hooks/ui/useScrollFade.d.ts.map +1 -0
- package/dist/{toaster-B6XKMRwI.js → toaster-BaFcYXKg.js} +1 -1
- package/dist/{toggle-group-D6c-gM1D.js → toggle-group-D2Li0iBJ.js} +583 -565
- package/dist/useScrollFade-BA4KqJYp.js +23 -0
- package/package.json +1 -1
- package/dist/AppVerticalTabs-D8fURUUN.js +0 -94
- package/dist/SearchInput-ClZbbRWg.js +0 -254
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
1
|
+
import { jsx as o, jsxs as l, Fragment as ke } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
3
|
import { c as r } from "./tailwind.helper-B6yFEsav.js";
|
|
4
4
|
import * as P from "@radix-ui/react-accordion";
|
|
@@ -14,14 +14,14 @@ import * as ee from "recharts";
|
|
|
14
14
|
import * as J from "@radix-ui/react-checkbox";
|
|
15
15
|
import { Command as x } from "cmdk";
|
|
16
16
|
import * as y from "@radix-ui/react-dialog";
|
|
17
|
-
import * as
|
|
17
|
+
import * as p from "@radix-ui/react-context-menu";
|
|
18
18
|
import { Drawer as R } from "vaul";
|
|
19
|
-
import * as
|
|
19
|
+
import * as g from "@radix-ui/react-dropdown-menu";
|
|
20
20
|
import { useFormContext as Oe, FormProvider as Be, Controller as He } from "react-hook-form";
|
|
21
21
|
import * as $e from "@radix-ui/react-label";
|
|
22
22
|
import * as $ from "@radix-ui/react-hover-card";
|
|
23
23
|
import { OTPInput as Ee, OTPInputContext as Ve } from "input-otp";
|
|
24
|
-
import * as
|
|
24
|
+
import * as u from "@radix-ui/react-menubar";
|
|
25
25
|
import * as h from "@radix-ui/react-navigation-menu";
|
|
26
26
|
import * as G from "@radix-ui/react-popover";
|
|
27
27
|
import * as Q from "@radix-ui/react-progress";
|
|
@@ -31,26 +31,27 @@ import * as de from "@radix-ui/react-separator";
|
|
|
31
31
|
import * as F from "@radix-ui/react-slider";
|
|
32
32
|
import * as U from "@radix-ui/react-switch";
|
|
33
33
|
import * as D from "@radix-ui/react-tabs";
|
|
34
|
+
import { u as Ke } from "./useScrollFade-BA4KqJYp.js";
|
|
34
35
|
import * as v from "@radix-ui/react-toast";
|
|
35
36
|
import * as E from "@radix-ui/react-toggle-group";
|
|
36
37
|
import * as le from "@radix-ui/react-toggle";
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
const
|
|
38
|
+
const qe = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: r("rounded-surface border bg-card text-card-foreground shadow-sm", a), ...e }));
|
|
39
|
+
qe.displayName = "Card";
|
|
40
|
+
const Xe = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: r("flex flex-col space-y-1.5 p-6", a), ...e }));
|
|
41
|
+
Xe.displayName = "CardHeader";
|
|
42
|
+
const We = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("h3", { ref: t, className: r("text-2xl font-semibold leading-none tracking-tight", a), ...e }));
|
|
43
|
+
We.displayName = "CardTitle";
|
|
44
|
+
const Je = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("p", { ref: t, className: r("text-sm text-muted-foreground", a), ...e }));
|
|
45
|
+
Je.displayName = "CardDescription";
|
|
46
|
+
const Qe = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: r("p-6 pt-0", a), ...e }));
|
|
47
|
+
Qe.displayName = "CardContent";
|
|
48
|
+
const Ue = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: r("flex items-center p-6 pt-0", a), ...e }));
|
|
49
|
+
Ue.displayName = "CardFooter";
|
|
50
|
+
const Bo = P.Root, Ye = s.forwardRef(
|
|
50
51
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(P.Item, { ref: t, className: r("border-b", a), ...e })
|
|
51
52
|
);
|
|
52
|
-
|
|
53
|
-
const
|
|
53
|
+
Ye.displayName = "AccordionItem";
|
|
54
|
+
const Ze = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(P.Header, { className: "flex", children: /* @__PURE__ */ l(
|
|
54
55
|
P.Trigger,
|
|
55
56
|
{
|
|
56
57
|
ref: n,
|
|
@@ -62,8 +63,8 @@ const Ye = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
62
63
|
]
|
|
63
64
|
}
|
|
64
65
|
) }));
|
|
65
|
-
|
|
66
|
-
const
|
|
66
|
+
Ze.displayName = P.Trigger.displayName;
|
|
67
|
+
const ea = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(
|
|
67
68
|
P.Content,
|
|
68
69
|
{
|
|
69
70
|
ref: n,
|
|
@@ -72,8 +73,8 @@ const Ze = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
72
73
|
children: /* @__PURE__ */ o("div", { className: r("pb-4 pt-0", a), children: e })
|
|
73
74
|
}
|
|
74
75
|
));
|
|
75
|
-
|
|
76
|
-
const
|
|
76
|
+
ea.displayName = P.Content.displayName;
|
|
77
|
+
const Ho = N.Root, $o = N.Trigger, aa = N.Portal, ce = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
77
78
|
N.Overlay,
|
|
78
79
|
{
|
|
79
80
|
className: r(
|
|
@@ -85,7 +86,7 @@ const Oo = N.Root, Bo = N.Trigger, ea = N.Portal, ce = s.forwardRef(({ className
|
|
|
85
86
|
}
|
|
86
87
|
));
|
|
87
88
|
ce.displayName = N.Overlay.displayName;
|
|
88
|
-
const
|
|
89
|
+
const ta = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ l(aa, { children: [
|
|
89
90
|
/* @__PURE__ */ o(ce, {}),
|
|
90
91
|
/* @__PURE__ */ o(
|
|
91
92
|
N.Content,
|
|
@@ -99,32 +100,32 @@ const aa = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ d(ea, { c
|
|
|
99
100
|
}
|
|
100
101
|
)
|
|
101
102
|
] }));
|
|
102
|
-
|
|
103
|
-
const
|
|
104
|
-
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
const
|
|
108
|
-
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
const
|
|
112
|
-
|
|
113
|
-
const
|
|
114
|
-
|
|
115
|
-
const
|
|
103
|
+
ta.displayName = N.Content.displayName;
|
|
104
|
+
const oa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
|
|
105
|
+
oa.displayName = "AlertDialogHeader";
|
|
106
|
+
const ra = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
107
|
+
ra.displayName = "AlertDialogFooter";
|
|
108
|
+
const sa = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(N.Title, { ref: t, className: r("text-lg font-semibold", a), ...e }));
|
|
109
|
+
sa.displayName = N.Title.displayName;
|
|
110
|
+
const na = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(N.Description, { ref: t, className: r("text-sm text-muted-foreground", a), ...e }));
|
|
111
|
+
na.displayName = N.Description.displayName;
|
|
112
|
+
const ia = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(N.Action, { ref: t, className: r(M(), a), ...e }));
|
|
113
|
+
ia.displayName = N.Action.displayName;
|
|
114
|
+
const da = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(N.Cancel, { ref: t, className: r(M({ variant: "outline" }), "mt-2 sm:mt-0", a), ...e }));
|
|
115
|
+
da.displayName = N.Cancel.displayName;
|
|
116
|
+
const la = s.forwardRef(
|
|
116
117
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(_.Root, { ref: t, className: r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", a), ...e })
|
|
117
118
|
);
|
|
118
|
-
|
|
119
|
-
const
|
|
119
|
+
la.displayName = _.Root.displayName;
|
|
120
|
+
const ca = s.forwardRef(
|
|
120
121
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(_.Image, { ref: t, className: r("aspect-square h-full w-full", a), ...e })
|
|
121
122
|
);
|
|
122
|
-
|
|
123
|
-
const
|
|
123
|
+
ca.displayName = _.Image.displayName;
|
|
124
|
+
const ma = s.forwardRef(
|
|
124
125
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(_.Fallback, { ref: t, className: r("flex h-full w-full items-center justify-center rounded-full bg-muted", a), ...e })
|
|
125
126
|
);
|
|
126
|
-
|
|
127
|
-
const
|
|
127
|
+
ma.displayName = _.Fallback.displayName;
|
|
128
|
+
const ua = B(
|
|
128
129
|
"inline-flex items-center rounded-control border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
129
130
|
{
|
|
130
131
|
variants: {
|
|
@@ -140,27 +141,27 @@ const ma = B(
|
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
);
|
|
143
|
-
function
|
|
144
|
-
return /* @__PURE__ */ o("div", { className: r(
|
|
144
|
+
function Eo({ className: a, variant: e, ...t }) {
|
|
145
|
+
return /* @__PURE__ */ o("div", { className: r(ua({ variant: e }), a), ...t });
|
|
145
146
|
}
|
|
146
|
-
const
|
|
147
|
-
|
|
148
|
-
const
|
|
149
|
-
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
const
|
|
153
|
-
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
const
|
|
157
|
-
|
|
158
|
-
const
|
|
147
|
+
const fa = s.forwardRef(({ ...a }, e) => /* @__PURE__ */ o("nav", { ref: e, "aria-label": "breadcrumb", ...a }));
|
|
148
|
+
fa.displayName = "Breadcrumb";
|
|
149
|
+
const pa = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("ol", { ref: t, className: r("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5", a), ...e }));
|
|
150
|
+
pa.displayName = "BreadcrumbList";
|
|
151
|
+
const ga = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("li", { ref: t, className: r("inline-flex items-center gap-1.5", a), ...e }));
|
|
152
|
+
ga.displayName = "BreadcrumbItem";
|
|
153
|
+
const ba = s.forwardRef(({ asChild: a, className: e, ...t }, n) => /* @__PURE__ */ o(a ? ie : "a", { ref: n, className: r("transition-colors hover:text-foreground", e), ...t }));
|
|
154
|
+
ba.displayName = "BreadcrumbLink";
|
|
155
|
+
const Na = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("span", { ref: t, role: "link", "aria-disabled": "true", "aria-current": "page", className: r("font-normal text-foreground", a), ...e }));
|
|
156
|
+
Na.displayName = "BreadcrumbPage";
|
|
157
|
+
const xa = ({ children: a, className: e, ...t }) => /* @__PURE__ */ o("li", { role: "presentation", "aria-hidden": "true", className: r("[&>svg]:size-3.5", e), ...t, children: a ?? /* @__PURE__ */ o(H, {}) });
|
|
158
|
+
xa.displayName = "BreadcrumbSeparator";
|
|
159
|
+
const ha = ({ className: a, ...e }) => /* @__PURE__ */ l("span", { role: "presentation", "aria-hidden": "true", className: r("flex h-9 w-9 items-center justify-center", a), ...e, children: [
|
|
159
160
|
/* @__PURE__ */ o(Ie, { className: "size-4" }),
|
|
160
161
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "More" })
|
|
161
162
|
] });
|
|
162
|
-
|
|
163
|
-
function
|
|
163
|
+
ha.displayName = "BreadcrumbElipssis";
|
|
164
|
+
function ya({ className: a, classNames: e, showOutsideDays: t = !0, ...n }) {
|
|
164
165
|
return /* @__PURE__ */ o(
|
|
165
166
|
Fe,
|
|
166
167
|
{
|
|
@@ -197,13 +198,13 @@ function ha({ className: a, classNames: e, showOutsideDays: t = !0, ...n }) {
|
|
|
197
198
|
...e
|
|
198
199
|
},
|
|
199
200
|
components: {
|
|
200
|
-
Chevron: ({ orientation: i, ...
|
|
201
|
+
Chevron: ({ orientation: i, ...d }) => /* @__PURE__ */ o(i === "left" ? Te : H, { className: "size-4", ...d })
|
|
201
202
|
},
|
|
202
203
|
...n
|
|
203
204
|
}
|
|
204
205
|
);
|
|
205
206
|
}
|
|
206
|
-
|
|
207
|
+
ya.displayName = "Calendar";
|
|
207
208
|
const me = s.createContext(null);
|
|
208
209
|
function V() {
|
|
209
210
|
const a = s.useContext(me);
|
|
@@ -211,8 +212,8 @@ function V() {
|
|
|
211
212
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
212
213
|
return a;
|
|
213
214
|
}
|
|
214
|
-
const
|
|
215
|
-
({ orientation: a = "horizontal", opts: e, setApi: t, plugins: n, className: i, children:
|
|
215
|
+
const va = s.forwardRef(
|
|
216
|
+
({ orientation: a = "horizontal", opts: e, setApi: t, plugins: n, className: i, children: d, ...m }, f) => {
|
|
216
217
|
const [k, c] = Ge(
|
|
217
218
|
{
|
|
218
219
|
...e,
|
|
@@ -225,7 +226,7 @@ const ya = s.forwardRef(
|
|
|
225
226
|
c == null || c.scrollPrev();
|
|
226
227
|
}, [c]), T = s.useCallback(() => {
|
|
227
228
|
c == null || c.scrollNext();
|
|
228
|
-
}, [c]),
|
|
229
|
+
}, [c]), b = s.useCallback(
|
|
229
230
|
(w) => {
|
|
230
231
|
w.key === "ArrowLeft" ? (w.preventDefault(), z()) : w.key === "ArrowRight" && (w.preventDefault(), T());
|
|
231
232
|
},
|
|
@@ -251,18 +252,18 @@ const ya = s.forwardRef(
|
|
|
251
252
|
canScrollPrev: q,
|
|
252
253
|
canScrollNext: L
|
|
253
254
|
},
|
|
254
|
-
children: /* @__PURE__ */ o("div", { ref:
|
|
255
|
+
children: /* @__PURE__ */ o("div", { ref: f, onKeyDownCapture: b, className: r("relative", i), role: "region", "aria-roledescription": "carousel", ...m, children: d })
|
|
255
256
|
}
|
|
256
257
|
);
|
|
257
258
|
}
|
|
258
259
|
);
|
|
259
|
-
|
|
260
|
-
const
|
|
260
|
+
va.displayName = "Carousel";
|
|
261
|
+
const wa = s.forwardRef(({ className: a, ...e }, t) => {
|
|
261
262
|
const { carouselRef: n, orientation: i } = V();
|
|
262
263
|
return /* @__PURE__ */ o("div", { ref: n, className: "overflow-hidden", children: /* @__PURE__ */ o("div", { ref: t, className: r("flex", i === "horizontal" ? "-ml-4" : "-mt-4 flex-col", a), ...e }) });
|
|
263
264
|
});
|
|
264
|
-
|
|
265
|
-
const
|
|
265
|
+
wa.displayName = "CarouselContent";
|
|
266
|
+
const Ca = s.forwardRef(({ className: a, ...e }, t) => {
|
|
266
267
|
const { orientation: n } = V();
|
|
267
268
|
return /* @__PURE__ */ o(
|
|
268
269
|
"div",
|
|
@@ -275,11 +276,11 @@ const wa = s.forwardRef(({ className: a, ...e }, t) => {
|
|
|
275
276
|
}
|
|
276
277
|
);
|
|
277
278
|
});
|
|
278
|
-
|
|
279
|
-
const
|
|
279
|
+
Ca.displayName = "CarouselItem";
|
|
280
|
+
const Ra = s.forwardRef(
|
|
280
281
|
({ className: a, variant: e = "outline", size: t = "icon", ...n }, i) => {
|
|
281
|
-
const { orientation:
|
|
282
|
-
return /* @__PURE__ */
|
|
282
|
+
const { orientation: d, scrollPrev: m, canScrollPrev: f } = V();
|
|
283
|
+
return /* @__PURE__ */ l(
|
|
283
284
|
ne,
|
|
284
285
|
{
|
|
285
286
|
ref: i,
|
|
@@ -287,11 +288,11 @@ const Ca = s.forwardRef(
|
|
|
287
288
|
size: t,
|
|
288
289
|
className: r(
|
|
289
290
|
"absolute h-8 w-8 rounded-control",
|
|
290
|
-
|
|
291
|
+
d === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
291
292
|
a
|
|
292
293
|
),
|
|
293
|
-
disabled: !
|
|
294
|
-
onClick:
|
|
294
|
+
disabled: !f,
|
|
295
|
+
onClick: m,
|
|
295
296
|
...n,
|
|
296
297
|
children: [
|
|
297
298
|
/* @__PURE__ */ o(Se, { className: "size-4" }),
|
|
@@ -301,11 +302,11 @@ const Ca = s.forwardRef(
|
|
|
301
302
|
);
|
|
302
303
|
}
|
|
303
304
|
);
|
|
304
|
-
|
|
305
|
-
const
|
|
305
|
+
Ra.displayName = "CarouselPrevious";
|
|
306
|
+
const ka = s.forwardRef(
|
|
306
307
|
({ className: a, variant: e = "outline", size: t = "icon", ...n }, i) => {
|
|
307
|
-
const { orientation:
|
|
308
|
-
return /* @__PURE__ */
|
|
308
|
+
const { orientation: d, scrollNext: m, canScrollNext: f } = V();
|
|
309
|
+
return /* @__PURE__ */ l(
|
|
309
310
|
ne,
|
|
310
311
|
{
|
|
311
312
|
ref: i,
|
|
@@ -313,11 +314,11 @@ const Ra = s.forwardRef(
|
|
|
313
314
|
size: t,
|
|
314
315
|
className: r(
|
|
315
316
|
"absolute h-8 w-8 rounded-control",
|
|
316
|
-
|
|
317
|
+
d === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
317
318
|
a
|
|
318
319
|
),
|
|
319
|
-
disabled: !
|
|
320
|
-
onClick:
|
|
320
|
+
disabled: !f,
|
|
321
|
+
onClick: m,
|
|
321
322
|
...n,
|
|
322
323
|
children: [
|
|
323
324
|
/* @__PURE__ */ o(Pe, { className: "size-4" }),
|
|
@@ -327,47 +328,47 @@ const Ra = s.forwardRef(
|
|
|
327
328
|
);
|
|
328
329
|
}
|
|
329
330
|
);
|
|
330
|
-
|
|
331
|
-
const
|
|
331
|
+
ka.displayName = "CarouselNext";
|
|
332
|
+
const Ia = { light: "", dark: ".dark" }, ue = s.createContext(null);
|
|
332
333
|
function fe() {
|
|
333
334
|
const a = s.useContext(ue);
|
|
334
335
|
if (!a)
|
|
335
336
|
throw new Error("useChart must be used within a <ChartContainer />");
|
|
336
337
|
return a;
|
|
337
338
|
}
|
|
338
|
-
const
|
|
339
|
-
const
|
|
340
|
-
return /* @__PURE__ */ o(ue.Provider, { value: { config: n }, children: /* @__PURE__ */
|
|
339
|
+
const Ta = s.forwardRef(({ id: a, className: e, children: t, config: n, ...i }, d) => {
|
|
340
|
+
const m = s.useId(), f = `chart-${a || m.replace(/:/g, "")}`;
|
|
341
|
+
return /* @__PURE__ */ o(ue.Provider, { value: { config: n }, children: /* @__PURE__ */ l(
|
|
341
342
|
"div",
|
|
342
343
|
{
|
|
343
|
-
"data-chart":
|
|
344
|
-
ref:
|
|
344
|
+
"data-chart": f,
|
|
345
|
+
ref: d,
|
|
345
346
|
className: r(
|
|
346
347
|
"flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",
|
|
347
348
|
e
|
|
348
349
|
),
|
|
349
350
|
...i,
|
|
350
351
|
children: [
|
|
351
|
-
/* @__PURE__ */ o(
|
|
352
|
+
/* @__PURE__ */ o(Sa, { id: f, config: n }),
|
|
352
353
|
/* @__PURE__ */ o(ee.ResponsiveContainer, { children: t })
|
|
353
354
|
]
|
|
354
355
|
}
|
|
355
356
|
) });
|
|
356
357
|
});
|
|
357
|
-
|
|
358
|
-
const
|
|
358
|
+
Ta.displayName = "Chart";
|
|
359
|
+
const Sa = ({ id: a, config: e }) => {
|
|
359
360
|
const t = Object.entries(e).filter(([n, i]) => i.theme || i.color);
|
|
360
361
|
return t.length ? /* @__PURE__ */ o(
|
|
361
362
|
"style",
|
|
362
363
|
{
|
|
363
364
|
dangerouslySetInnerHTML: {
|
|
364
|
-
__html: Object.entries(
|
|
365
|
+
__html: Object.entries(Ia).map(
|
|
365
366
|
([n, i]) => `
|
|
366
367
|
${i} [data-chart=${a}] {
|
|
367
|
-
${t.map(([
|
|
368
|
+
${t.map(([d, m]) => {
|
|
368
369
|
var k;
|
|
369
|
-
const
|
|
370
|
-
return
|
|
370
|
+
const f = ((k = m.theme) == null ? void 0 : k[n]) || m.color;
|
|
371
|
+
return f ? ` --color-${d}: ${f};` : null;
|
|
371
372
|
}).join(`
|
|
372
373
|
`)}
|
|
373
374
|
}
|
|
@@ -377,16 +378,16 @@ ${t.map(([l, u]) => {
|
|
|
377
378
|
}
|
|
378
379
|
}
|
|
379
380
|
) : null;
|
|
380
|
-
},
|
|
381
|
+
}, Vo = ee.Tooltip, Pa = s.forwardRef(
|
|
381
382
|
({
|
|
382
383
|
active: a,
|
|
383
384
|
payload: e = [],
|
|
384
385
|
className: t,
|
|
385
386
|
indicator: n = "dot",
|
|
386
387
|
hideLabel: i = !1,
|
|
387
|
-
hideIndicator:
|
|
388
|
-
label:
|
|
389
|
-
labelFormatter:
|
|
388
|
+
hideIndicator: d = !1,
|
|
389
|
+
label: m = "",
|
|
390
|
+
labelFormatter: f,
|
|
390
391
|
labelClassName: k,
|
|
391
392
|
formatter: c,
|
|
392
393
|
color: q,
|
|
@@ -397,21 +398,21 @@ ${t.map(([l, u]) => {
|
|
|
397
398
|
var A;
|
|
398
399
|
if (i || !(e != null && e.length))
|
|
399
400
|
return null;
|
|
400
|
-
const [
|
|
401
|
-
return
|
|
402
|
-
}, [
|
|
401
|
+
const [b] = e, w = `${L || b.dataKey || b.name || "value"}`, j = Y(I, b, w), C = !L && typeof m == "string" ? ((A = I[m]) == null ? void 0 : A.label) || m : j == null ? void 0 : j.label;
|
|
402
|
+
return f ? /* @__PURE__ */ o("div", { className: r("font-medium", k), children: f(C, e) }) : C ? /* @__PURE__ */ o("div", { className: r("font-medium", k), children: C }) : null;
|
|
403
|
+
}, [m, f, e, i, k, I, L]);
|
|
403
404
|
if (!a || !(e != null && e.length))
|
|
404
405
|
return null;
|
|
405
406
|
const T = e.length === 1 && n !== "dot";
|
|
406
|
-
return /* @__PURE__ */
|
|
407
|
+
return /* @__PURE__ */ l(
|
|
407
408
|
"div",
|
|
408
409
|
{
|
|
409
410
|
ref: W,
|
|
410
411
|
className: r("grid min-w-[8rem] items-start gap-1.5 rounded-surface border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl", t),
|
|
411
412
|
children: [
|
|
412
413
|
T ? null : z,
|
|
413
|
-
/* @__PURE__ */ o("div", { className: "grid gap-1.5", children: e.map((
|
|
414
|
-
const j = `${X ||
|
|
414
|
+
/* @__PURE__ */ o("div", { className: "grid gap-1.5", children: e.map((b, w) => {
|
|
415
|
+
const j = `${X || b.name || b.dataKey || "value"}`, C = Y(I, b, j), A = q || b.payload.fill || b.color;
|
|
415
416
|
return /* @__PURE__ */ o(
|
|
416
417
|
"div",
|
|
417
418
|
{
|
|
@@ -419,8 +420,8 @@ ${t.map(([l, u]) => {
|
|
|
419
420
|
"flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
|
|
420
421
|
n === "dot" && "items-center"
|
|
421
422
|
),
|
|
422
|
-
children: c && (
|
|
423
|
-
C != null && C.icon ? /* @__PURE__ */ o(C.icon, {}) : !
|
|
423
|
+
children: c && (b == null ? void 0 : b.value) !== void 0 && b.name ? c(b.value, b.name, b, w, b.payload) : /* @__PURE__ */ l(ke, { children: [
|
|
424
|
+
C != null && C.icon ? /* @__PURE__ */ o(C.icon, {}) : !d && /* @__PURE__ */ o(
|
|
424
425
|
"div",
|
|
425
426
|
{
|
|
426
427
|
className: r("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]", {
|
|
@@ -435,16 +436,16 @@ ${t.map(([l, u]) => {
|
|
|
435
436
|
}
|
|
436
437
|
}
|
|
437
438
|
),
|
|
438
|
-
/* @__PURE__ */
|
|
439
|
-
/* @__PURE__ */
|
|
439
|
+
/* @__PURE__ */ l("div", { className: r("flex flex-1 justify-between leading-none", T ? "items-end" : "items-center"), children: [
|
|
440
|
+
/* @__PURE__ */ l("div", { className: "grid gap-1.5", children: [
|
|
440
441
|
T ? z : null,
|
|
441
|
-
/* @__PURE__ */ o("span", { className: "text-muted-foreground", children: (C == null ? void 0 : C.label) ||
|
|
442
|
+
/* @__PURE__ */ o("span", { className: "text-muted-foreground", children: (C == null ? void 0 : C.label) || b.name })
|
|
442
443
|
] }),
|
|
443
|
-
|
|
444
|
+
b.value && /* @__PURE__ */ o("span", { className: "font-mono font-medium tabular-nums text-foreground", children: b.value.toLocaleString() })
|
|
444
445
|
] })
|
|
445
446
|
] })
|
|
446
447
|
},
|
|
447
|
-
|
|
448
|
+
b.dataKey
|
|
448
449
|
);
|
|
449
450
|
}) })
|
|
450
451
|
]
|
|
@@ -452,26 +453,26 @@ ${t.map(([l, u]) => {
|
|
|
452
453
|
);
|
|
453
454
|
}
|
|
454
455
|
);
|
|
455
|
-
|
|
456
|
-
const
|
|
457
|
-
const { config:
|
|
458
|
-
return !t || !Array.isArray(t) || !t.length ? null : /* @__PURE__ */ o("div", { ref:
|
|
459
|
-
const k = `${i ||
|
|
460
|
-
return /* @__PURE__ */
|
|
456
|
+
Pa.displayName = "ChartTooltip";
|
|
457
|
+
const Ko = ee.Legend, Da = s.forwardRef(({ className: a, hideIcon: e = !1, payload: t, verticalAlign: n = "bottom", nameKey: i }, d) => {
|
|
458
|
+
const { config: m } = fe();
|
|
459
|
+
return !t || !Array.isArray(t) || !t.length ? null : /* @__PURE__ */ o("div", { ref: d, className: r("flex items-center justify-center gap-4", n === "top" ? "pb-3" : "pt-3", a), children: Array.isArray(t) && t.map((f) => {
|
|
460
|
+
const k = `${i || f.dataKey || "value"}`, c = Y(m, f, k);
|
|
461
|
+
return /* @__PURE__ */ l("div", { className: r("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"), children: [
|
|
461
462
|
c != null && c.icon && !e ? /* @__PURE__ */ o(c.icon, {}) : /* @__PURE__ */ o(
|
|
462
463
|
"div",
|
|
463
464
|
{
|
|
464
465
|
className: "h-2 w-2 shrink-0 rounded-[2px]",
|
|
465
466
|
style: {
|
|
466
|
-
backgroundColor:
|
|
467
|
+
backgroundColor: f.color
|
|
467
468
|
}
|
|
468
469
|
}
|
|
469
470
|
),
|
|
470
471
|
c == null ? void 0 : c.label
|
|
471
|
-
] },
|
|
472
|
+
] }, f.value);
|
|
472
473
|
}) });
|
|
473
474
|
});
|
|
474
|
-
|
|
475
|
+
Da.displayName = "ChartLegend";
|
|
475
476
|
function Y(a, e, t) {
|
|
476
477
|
if (typeof e != "object" || e === null)
|
|
477
478
|
return;
|
|
@@ -479,7 +480,7 @@ function Y(a, e, t) {
|
|
|
479
480
|
let i = t;
|
|
480
481
|
return t in e && typeof e[t] == "string" ? i = e[t] : n && t in n && typeof n[t] == "string" && (i = n[t]), i in a ? a[i] : a[t];
|
|
481
482
|
}
|
|
482
|
-
const
|
|
483
|
+
const za = s.forwardRef(
|
|
483
484
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
484
485
|
J.Root,
|
|
485
486
|
{
|
|
@@ -493,8 +494,8 @@ const Da = s.forwardRef(
|
|
|
493
494
|
}
|
|
494
495
|
)
|
|
495
496
|
);
|
|
496
|
-
|
|
497
|
-
const
|
|
497
|
+
za.displayName = J.Root.displayName;
|
|
498
|
+
const Ma = y.Root, qo = y.Trigger, _a = y.Portal, Xo = y.Close, pe = s.forwardRef(
|
|
498
499
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
499
500
|
y.Overlay,
|
|
500
501
|
{
|
|
@@ -509,9 +510,9 @@ const za = y.Root, Vo = y.Trigger, Ma = y.Portal, Ko = y.Close, pe = s.forwardRe
|
|
|
509
510
|
);
|
|
510
511
|
pe.displayName = y.Overlay.displayName;
|
|
511
512
|
const ge = s.forwardRef(
|
|
512
|
-
({ className: a, children: e, ...t }, n) => /* @__PURE__ */
|
|
513
|
+
({ className: a, children: e, ...t }, n) => /* @__PURE__ */ l(_a, { children: [
|
|
513
514
|
/* @__PURE__ */ o(pe, {}),
|
|
514
|
-
/* @__PURE__ */
|
|
515
|
+
/* @__PURE__ */ l(
|
|
515
516
|
y.Content,
|
|
516
517
|
{
|
|
517
518
|
ref: n,
|
|
@@ -522,7 +523,7 @@ const ge = s.forwardRef(
|
|
|
522
523
|
...t,
|
|
523
524
|
children: [
|
|
524
525
|
e,
|
|
525
|
-
/* @__PURE__ */
|
|
526
|
+
/* @__PURE__ */ l(y.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
|
|
526
527
|
/* @__PURE__ */ o(De, { className: "size-4" }),
|
|
527
528
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
528
529
|
] })
|
|
@@ -532,16 +533,16 @@ const ge = s.forwardRef(
|
|
|
532
533
|
] })
|
|
533
534
|
);
|
|
534
535
|
ge.displayName = y.Content.displayName;
|
|
535
|
-
const
|
|
536
|
-
|
|
537
|
-
const
|
|
538
|
-
|
|
539
|
-
const
|
|
536
|
+
const La = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-1.5 text-center sm:text-left", a), ...e });
|
|
537
|
+
La.displayName = "DialogHeader";
|
|
538
|
+
const ja = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
539
|
+
ja.displayName = "DialogFooter";
|
|
540
|
+
const Aa = s.forwardRef(
|
|
540
541
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(y.Title, { ref: t, className: r("text-lg font-semibold leading-none tracking-tight", a), ...e })
|
|
541
542
|
);
|
|
542
|
-
|
|
543
|
-
const
|
|
544
|
-
|
|
543
|
+
Aa.displayName = y.Title.displayName;
|
|
544
|
+
const Fa = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(y.Description, { ref: t, className: r("text-sm text-muted-foreground", a), ...e }));
|
|
545
|
+
Fa.displayName = y.Description.displayName;
|
|
545
546
|
const be = s.forwardRef(
|
|
546
547
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
547
548
|
x,
|
|
@@ -553,8 +554,8 @@ const be = s.forwardRef(
|
|
|
553
554
|
)
|
|
554
555
|
);
|
|
555
556
|
be.displayName = x.displayName;
|
|
556
|
-
const
|
|
557
|
-
({ className: a, ...e }, t) => /* @__PURE__ */
|
|
557
|
+
const Wo = ({ children: a, ...e }) => /* @__PURE__ */ o(Ma, { ...e, children: /* @__PURE__ */ o(ge, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ o(be, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: a }) }) }), Ga = s.forwardRef(
|
|
558
|
+
({ className: a, ...e }, t) => /* @__PURE__ */ l("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
558
559
|
/* @__PURE__ */ o(ze, { className: "mr-2 size-4 shrink-0 opacity-50" }),
|
|
559
560
|
/* @__PURE__ */ o(
|
|
560
561
|
x.Input,
|
|
@@ -569,16 +570,16 @@ const qo = ({ children: a, ...e }) => /* @__PURE__ */ o(za, { ...e, children: /*
|
|
|
569
570
|
)
|
|
570
571
|
] })
|
|
571
572
|
);
|
|
572
|
-
|
|
573
|
-
const
|
|
573
|
+
Ga.displayName = x.Input.displayName;
|
|
574
|
+
const Oa = s.forwardRef(
|
|
574
575
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(x.List, { ref: t, className: r("max-h-[300px] overflow-y-auto overflow-x-hidden", a), ...e })
|
|
575
576
|
);
|
|
576
|
-
|
|
577
|
-
const
|
|
577
|
+
Oa.displayName = x.List.displayName;
|
|
578
|
+
const Ba = s.forwardRef(
|
|
578
579
|
(a, e) => /* @__PURE__ */ o(x.Empty, { ref: e, className: "py-6 text-center text-sm", ...a })
|
|
579
580
|
);
|
|
580
|
-
|
|
581
|
-
const
|
|
581
|
+
Ba.displayName = x.Empty.displayName;
|
|
582
|
+
const Ha = s.forwardRef(
|
|
582
583
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
583
584
|
x.Group,
|
|
584
585
|
{
|
|
@@ -591,10 +592,10 @@ const Ba = s.forwardRef(
|
|
|
591
592
|
}
|
|
592
593
|
)
|
|
593
594
|
);
|
|
594
|
-
|
|
595
|
-
const
|
|
596
|
-
|
|
597
|
-
const
|
|
595
|
+
Ha.displayName = x.Group.displayName;
|
|
596
|
+
const $a = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(x.Separator, { ref: t, className: r("-mx-1 h-px bg-border", a), ...e }));
|
|
597
|
+
$a.displayName = x.Separator.displayName;
|
|
598
|
+
const Ea = s.forwardRef(
|
|
598
599
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
599
600
|
x.Item,
|
|
600
601
|
{
|
|
@@ -607,11 +608,11 @@ const $a = s.forwardRef(
|
|
|
607
608
|
}
|
|
608
609
|
)
|
|
609
610
|
);
|
|
610
|
-
|
|
611
|
-
const
|
|
612
|
-
|
|
613
|
-
const
|
|
614
|
-
|
|
611
|
+
Ea.displayName = x.Item.displayName;
|
|
612
|
+
const Va = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
|
|
613
|
+
Va.displayName = "CommandShortcut";
|
|
614
|
+
const Jo = p.Root, Qo = p.Trigger, Uo = p.Group, Yo = p.Portal, Zo = p.Sub, er = p.RadioGroup, Ka = s.forwardRef(({ className: a, inset: e, children: t, ...n }, i) => /* @__PURE__ */ l(
|
|
615
|
+
p.SubTrigger,
|
|
615
616
|
{
|
|
616
617
|
ref: i,
|
|
617
618
|
className: r(
|
|
@@ -626,9 +627,9 @@ const Xo = f.Root, Wo = f.Trigger, Jo = f.Group, Qo = f.Portal, Uo = f.Sub, Yo =
|
|
|
626
627
|
]
|
|
627
628
|
}
|
|
628
629
|
));
|
|
629
|
-
|
|
630
|
-
const
|
|
631
|
-
|
|
630
|
+
Ka.displayName = p.SubTrigger.displayName;
|
|
631
|
+
const qa = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
632
|
+
p.SubContent,
|
|
632
633
|
{
|
|
633
634
|
ref: t,
|
|
634
635
|
className: r(
|
|
@@ -638,9 +639,9 @@ const Ka = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
638
639
|
...e
|
|
639
640
|
}
|
|
640
641
|
));
|
|
641
|
-
|
|
642
|
-
const
|
|
643
|
-
|
|
642
|
+
qa.displayName = p.SubContent.displayName;
|
|
643
|
+
const Xa = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(p.Portal, { children: /* @__PURE__ */ o(
|
|
644
|
+
p.Content,
|
|
644
645
|
{
|
|
645
646
|
ref: t,
|
|
646
647
|
className: r(
|
|
@@ -650,9 +651,9 @@ const qa = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Porta
|
|
|
650
651
|
...e
|
|
651
652
|
}
|
|
652
653
|
) }));
|
|
653
|
-
|
|
654
|
-
const
|
|
655
|
-
|
|
654
|
+
Xa.displayName = p.Content.displayName;
|
|
655
|
+
const Wa = s.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
656
|
+
p.Item,
|
|
656
657
|
{
|
|
657
658
|
ref: n,
|
|
658
659
|
className: r(
|
|
@@ -663,9 +664,9 @@ const Xa = s.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */
|
|
|
663
664
|
...t
|
|
664
665
|
}
|
|
665
666
|
));
|
|
666
|
-
|
|
667
|
-
const
|
|
668
|
-
|
|
667
|
+
Wa.displayName = p.Item.displayName;
|
|
668
|
+
const Ja = s.forwardRef(({ className: a, children: e, checked: t, ...n }, i) => /* @__PURE__ */ l(
|
|
669
|
+
p.CheckboxItem,
|
|
669
670
|
{
|
|
670
671
|
ref: i,
|
|
671
672
|
className: r(
|
|
@@ -675,14 +676,14 @@ const Wa = s.forwardRef(({ className: a, children: e, checked: t, ...n }, i) =>
|
|
|
675
676
|
checked: t,
|
|
676
677
|
...n,
|
|
677
678
|
children: [
|
|
678
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
679
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(p.ItemIndicator, { children: /* @__PURE__ */ o(re, { className: "size-4" }) }) }),
|
|
679
680
|
e
|
|
680
681
|
]
|
|
681
682
|
}
|
|
682
683
|
));
|
|
683
|
-
|
|
684
|
-
const
|
|
685
|
-
|
|
684
|
+
Ja.displayName = p.CheckboxItem.displayName;
|
|
685
|
+
const Qa = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ l(
|
|
686
|
+
p.RadioItem,
|
|
686
687
|
{
|
|
687
688
|
ref: n,
|
|
688
689
|
className: r(
|
|
@@ -691,28 +692,28 @@ const Ja = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
691
692
|
),
|
|
692
693
|
...t,
|
|
693
694
|
children: [
|
|
694
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
695
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(p.ItemIndicator, { children: /* @__PURE__ */ o(Z, { className: "h-2 w-2 fill-current" }) }) }),
|
|
695
696
|
e
|
|
696
697
|
]
|
|
697
698
|
}
|
|
698
699
|
));
|
|
699
|
-
|
|
700
|
-
const
|
|
701
|
-
|
|
702
|
-
const
|
|
703
|
-
|
|
704
|
-
const
|
|
705
|
-
|
|
706
|
-
const
|
|
707
|
-
|
|
708
|
-
const
|
|
700
|
+
Qa.displayName = p.RadioItem.displayName;
|
|
701
|
+
const Ua = s.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(p.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold text-foreground", e && "pl-8", a), ...t }));
|
|
702
|
+
Ua.displayName = p.Label.displayName;
|
|
703
|
+
const Ya = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(p.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-border", a), ...e }));
|
|
704
|
+
Ya.displayName = p.Separator.displayName;
|
|
705
|
+
const Za = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
|
|
706
|
+
Za.displayName = "ContextMenuShortcut";
|
|
707
|
+
const et = ({ shouldScaleBackground: a = !0, ...e }) => /* @__PURE__ */ o(R.Root, { shouldScaleBackground: a, ...e });
|
|
708
|
+
et.displayName = "Drawer";
|
|
709
|
+
const ar = R.Trigger, at = R.Portal, tr = R.Close, Ne = s.forwardRef(
|
|
709
710
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(R.Overlay, { ref: t, className: r("fixed inset-0 z-50 bg-black/80", a), ...e })
|
|
710
711
|
);
|
|
711
712
|
Ne.displayName = R.Overlay.displayName;
|
|
712
|
-
const
|
|
713
|
-
({ className: a, children: e, ...t }, n) => /* @__PURE__ */
|
|
713
|
+
const tt = s.forwardRef(
|
|
714
|
+
({ className: a, children: e, ...t }, n) => /* @__PURE__ */ l(at, { children: [
|
|
714
715
|
/* @__PURE__ */ o(Ne, {}),
|
|
715
|
-
/* @__PURE__ */
|
|
716
|
+
/* @__PURE__ */ l(
|
|
716
717
|
R.Content,
|
|
717
718
|
{
|
|
718
719
|
ref: n,
|
|
@@ -726,19 +727,19 @@ const at = s.forwardRef(
|
|
|
726
727
|
)
|
|
727
728
|
] })
|
|
728
729
|
);
|
|
729
|
-
|
|
730
|
-
const
|
|
731
|
-
|
|
732
|
-
const
|
|
733
|
-
|
|
734
|
-
const
|
|
730
|
+
tt.displayName = "DrawerContent";
|
|
731
|
+
const ot = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: r("grid gap-1.5 p-4 text-center sm:text-left", a), ...e });
|
|
732
|
+
ot.displayName = "DrawerHeader";
|
|
733
|
+
const rt = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: r("mt-auto flex flex-col gap-2 p-4", a), ...e });
|
|
734
|
+
rt.displayName = "DrawerFooter";
|
|
735
|
+
const st = s.forwardRef(
|
|
735
736
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(R.Title, { ref: t, className: r("text-lg font-semibold leading-none tracking-tight", a), ...e })
|
|
736
737
|
);
|
|
737
|
-
|
|
738
|
-
const
|
|
739
|
-
|
|
740
|
-
const
|
|
741
|
-
|
|
738
|
+
st.displayName = R.Title.displayName;
|
|
739
|
+
const nt = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(R.Description, { ref: t, className: r("text-sm text-muted-foreground", a), ...e }));
|
|
740
|
+
nt.displayName = R.Description.displayName;
|
|
741
|
+
const or = g.Root, rr = g.Trigger, sr = g.Group, nr = g.Portal, ir = g.Sub, dr = g.RadioGroup, it = s.forwardRef(({ className: a, inset: e, children: t, ...n }, i) => /* @__PURE__ */ l(
|
|
742
|
+
g.SubTrigger,
|
|
742
743
|
{
|
|
743
744
|
ref: i,
|
|
744
745
|
className: r(
|
|
@@ -753,9 +754,9 @@ const ar = p.Root, tr = p.Trigger, or = p.Group, rr = p.Portal, sr = p.Sub, nr =
|
|
|
753
754
|
]
|
|
754
755
|
}
|
|
755
756
|
));
|
|
756
|
-
|
|
757
|
-
const
|
|
758
|
-
|
|
757
|
+
it.displayName = g.SubTrigger.displayName;
|
|
758
|
+
const dt = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
759
|
+
g.SubContent,
|
|
759
760
|
{
|
|
760
761
|
ref: t,
|
|
761
762
|
className: r(
|
|
@@ -765,9 +766,9 @@ const it = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
765
766
|
...e
|
|
766
767
|
}
|
|
767
768
|
));
|
|
768
|
-
|
|
769
|
-
const
|
|
770
|
-
|
|
769
|
+
dt.displayName = g.SubContent.displayName;
|
|
770
|
+
const lt = s.forwardRef(({ className: a, sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ o(g.Portal, { children: /* @__PURE__ */ o(
|
|
771
|
+
g.Content,
|
|
771
772
|
{
|
|
772
773
|
ref: n,
|
|
773
774
|
sideOffset: e,
|
|
@@ -778,9 +779,9 @@ const dt = s.forwardRef(({ className: a, sideOffset: e = 4, ...t }, n) => /* @__
|
|
|
778
779
|
...t
|
|
779
780
|
}
|
|
780
781
|
) }));
|
|
781
|
-
|
|
782
|
-
const
|
|
783
|
-
|
|
782
|
+
lt.displayName = g.Content.displayName;
|
|
783
|
+
const ct = s.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
784
|
+
g.Item,
|
|
784
785
|
{
|
|
785
786
|
ref: n,
|
|
786
787
|
className: r(
|
|
@@ -791,9 +792,9 @@ const lt = s.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */
|
|
|
791
792
|
...t
|
|
792
793
|
}
|
|
793
794
|
));
|
|
794
|
-
|
|
795
|
-
const
|
|
796
|
-
|
|
795
|
+
ct.displayName = g.Item.displayName;
|
|
796
|
+
const mt = s.forwardRef(({ className: a, children: e, checked: t, ...n }, i) => /* @__PURE__ */ l(
|
|
797
|
+
g.CheckboxItem,
|
|
797
798
|
{
|
|
798
799
|
ref: i,
|
|
799
800
|
className: r(
|
|
@@ -803,14 +804,14 @@ const ct = s.forwardRef(({ className: a, children: e, checked: t, ...n }, i) =>
|
|
|
803
804
|
checked: t,
|
|
804
805
|
...n,
|
|
805
806
|
children: [
|
|
806
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
807
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(g.ItemIndicator, { children: /* @__PURE__ */ o(oe, { className: "size-4" }) }) }),
|
|
807
808
|
e
|
|
808
809
|
]
|
|
809
810
|
}
|
|
810
811
|
));
|
|
811
|
-
|
|
812
|
-
const
|
|
813
|
-
|
|
812
|
+
mt.displayName = g.CheckboxItem.displayName;
|
|
813
|
+
const ut = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ l(
|
|
814
|
+
g.RadioItem,
|
|
814
815
|
{
|
|
815
816
|
ref: n,
|
|
816
817
|
className: r(
|
|
@@ -819,72 +820,72 @@ const mt = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
819
820
|
),
|
|
820
821
|
...t,
|
|
821
822
|
children: [
|
|
822
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
823
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(g.ItemIndicator, { children: /* @__PURE__ */ o(Me, { className: "h-2 w-2 fill-current" }) }) }),
|
|
823
824
|
e
|
|
824
825
|
]
|
|
825
826
|
}
|
|
826
827
|
));
|
|
827
|
-
|
|
828
|
-
const
|
|
829
|
-
|
|
830
|
-
const
|
|
831
|
-
|
|
832
|
-
const
|
|
833
|
-
|
|
834
|
-
const
|
|
828
|
+
ut.displayName = g.RadioItem.displayName;
|
|
829
|
+
const ft = s.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(g.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold", e === !0 && "pl-8", a), ...t }));
|
|
830
|
+
ft.displayName = g.Label.displayName;
|
|
831
|
+
const pt = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(g.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-muted", a), ...e }));
|
|
832
|
+
pt.displayName = g.Separator.displayName;
|
|
833
|
+
const gt = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest opacity-60", a), ...e });
|
|
834
|
+
gt.displayName = "DropdownMenuShortcut";
|
|
835
|
+
const bt = B("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), xe = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o($e.Root, { ref: t, className: r(bt(), a), ...e }));
|
|
835
836
|
xe.displayName = "Label";
|
|
836
|
-
const
|
|
837
|
+
const lr = Be, he = s.createContext({}), cr = ({
|
|
837
838
|
...a
|
|
838
839
|
}) => /* @__PURE__ */ o(he.Provider, { value: { name: a.name }, children: /* @__PURE__ */ o(He, { ...a }) }), K = () => {
|
|
839
840
|
const a = s.useContext(he), e = s.useContext(ye), { getFieldState: t, formState: n } = Oe(), i = t(a.name, n);
|
|
840
841
|
if (!a)
|
|
841
842
|
throw new Error("useFormField should be used within <FormField>");
|
|
842
|
-
const { id:
|
|
843
|
+
const { id: d } = e;
|
|
843
844
|
return {
|
|
844
|
-
id:
|
|
845
|
+
id: d,
|
|
845
846
|
name: a.name,
|
|
846
|
-
formItemId: `${
|
|
847
|
-
formDescriptionId: `${
|
|
848
|
-
formMessageId: `${
|
|
847
|
+
formItemId: `${d}-form-item`,
|
|
848
|
+
formDescriptionId: `${d}-form-item-description`,
|
|
849
|
+
formMessageId: `${d}-form-item-message`,
|
|
849
850
|
...i
|
|
850
851
|
};
|
|
851
|
-
}, ye = s.createContext({}),
|
|
852
|
+
}, ye = s.createContext({}), Nt = s.forwardRef(({ className: a, ...e }, t) => {
|
|
852
853
|
const n = s.useId();
|
|
853
854
|
return /* @__PURE__ */ o(ye.Provider, { value: { id: n }, children: /* @__PURE__ */ o("div", { ref: t, className: r("space-y-2", a), ...e }) });
|
|
854
855
|
});
|
|
855
|
-
|
|
856
|
-
const
|
|
856
|
+
Nt.displayName = "FormItem";
|
|
857
|
+
const xt = s.forwardRef(
|
|
857
858
|
({ className: a, ...e }, t) => {
|
|
858
859
|
const { error: n, formItemId: i } = K();
|
|
859
860
|
return /* @__PURE__ */ o(xe, { ref: t, className: r(n && "text-destructive", a), htmlFor: i, ...e });
|
|
860
861
|
}
|
|
861
862
|
);
|
|
862
|
-
|
|
863
|
-
const
|
|
864
|
-
const { error: t, formItemId: n, formDescriptionId: i, formMessageId:
|
|
863
|
+
xt.displayName = "FormLabel";
|
|
864
|
+
const ht = s.forwardRef(({ ...a }, e) => {
|
|
865
|
+
const { error: t, formItemId: n, formDescriptionId: i, formMessageId: d } = K();
|
|
865
866
|
return /* @__PURE__ */ o(
|
|
866
867
|
ie,
|
|
867
868
|
{
|
|
868
869
|
ref: e,
|
|
869
870
|
id: n,
|
|
870
|
-
"aria-describedby": t ? `${i} ${
|
|
871
|
+
"aria-describedby": t ? `${i} ${d}` : `${i}`,
|
|
871
872
|
"aria-invalid": !!t,
|
|
872
873
|
...a
|
|
873
874
|
}
|
|
874
875
|
);
|
|
875
876
|
});
|
|
876
|
-
|
|
877
|
-
const
|
|
877
|
+
ht.displayName = "FormControl";
|
|
878
|
+
const yt = s.forwardRef(({ className: a, ...e }, t) => {
|
|
878
879
|
const { formDescriptionId: n } = K();
|
|
879
880
|
return /* @__PURE__ */ o("p", { ref: t, id: n, className: r("text-sm text-muted-foreground", a), ...e });
|
|
880
881
|
});
|
|
881
|
-
|
|
882
|
-
const
|
|
883
|
-
const { error: i, formMessageId:
|
|
884
|
-
return
|
|
882
|
+
yt.displayName = "FormDescription";
|
|
883
|
+
const vt = s.forwardRef(({ className: a, children: e, ...t }, n) => {
|
|
884
|
+
const { error: i, formMessageId: d } = K(), m = i ? String(i == null ? void 0 : i.message) : e;
|
|
885
|
+
return m ? /* @__PURE__ */ o("p", { ref: n, id: d, className: r("text-sm font-medium text-destructive", a), ...t, children: m }) : null;
|
|
885
886
|
});
|
|
886
|
-
|
|
887
|
-
const
|
|
887
|
+
vt.displayName = "FormMessage";
|
|
888
|
+
const mr = $.Root, ur = $.Trigger, wt = s.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...n }, i) => /* @__PURE__ */ o(
|
|
888
889
|
$.Content,
|
|
889
890
|
{
|
|
890
891
|
ref: i,
|
|
@@ -897,8 +898,8 @@ const lr = $.Root, cr = $.Trigger, vt = s.forwardRef(({ className: a, align: e =
|
|
|
897
898
|
...n
|
|
898
899
|
}
|
|
899
900
|
));
|
|
900
|
-
|
|
901
|
-
const
|
|
901
|
+
wt.displayName = $.Content.displayName;
|
|
902
|
+
const Ct = s.forwardRef(
|
|
902
903
|
({ className: a, containerClassName: e, ...t }, n) => /* @__PURE__ */ o(
|
|
903
904
|
Ee,
|
|
904
905
|
{
|
|
@@ -909,40 +910,40 @@ const wt = s.forwardRef(
|
|
|
909
910
|
}
|
|
910
911
|
)
|
|
911
912
|
);
|
|
912
|
-
|
|
913
|
-
const
|
|
914
|
-
|
|
915
|
-
const
|
|
913
|
+
Ct.displayName = "InputOTP";
|
|
914
|
+
const Rt = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: r("flex items-center", a), ...e }));
|
|
915
|
+
Rt.displayName = "InputOTPGroup";
|
|
916
|
+
const kt = s.forwardRef(
|
|
916
917
|
({ index: a, className: e, ...t }, n) => {
|
|
917
|
-
const i = s.useContext(Ve), { char:
|
|
918
|
-
return /* @__PURE__ */
|
|
918
|
+
const i = s.useContext(Ve), { char: d, hasFakeCaret: m, isActive: f } = i.slots[a];
|
|
919
|
+
return /* @__PURE__ */ l(
|
|
919
920
|
"div",
|
|
920
921
|
{
|
|
921
922
|
ref: n,
|
|
922
923
|
className: r(
|
|
923
924
|
"relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-control first:border-l last:rounded-r-control",
|
|
924
|
-
|
|
925
|
+
f && "z-10 ring-2 ring-ring ring-offset-background",
|
|
925
926
|
e
|
|
926
927
|
),
|
|
927
928
|
...t,
|
|
928
929
|
children: [
|
|
929
|
-
|
|
930
|
-
|
|
930
|
+
d,
|
|
931
|
+
m && /* @__PURE__ */ o("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ o("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
|
|
931
932
|
]
|
|
932
933
|
}
|
|
933
934
|
);
|
|
934
935
|
}
|
|
935
936
|
);
|
|
936
|
-
|
|
937
|
-
const
|
|
938
|
-
|
|
939
|
-
const
|
|
940
|
-
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
937
|
+
kt.displayName = "InputOTPSlot";
|
|
938
|
+
const It = s.forwardRef(({ ...a }, e) => /* @__PURE__ */ o("div", { ref: e, role: "separator", ...a, children: /* @__PURE__ */ o(_e, {}) }));
|
|
939
|
+
It.displayName = "InputOTPSeparator";
|
|
940
|
+
const fr = u.Menu, pr = u.Group, gr = u.Portal, br = u.Sub, Nr = u.RadioGroup, Tt = s.forwardRef(
|
|
941
|
+
({ className: a, ...e }, t) => /* @__PURE__ */ o(u.Root, { ref: t, className: r("flex h-10 items-center space-x-1 rounded-surface border bg-background p-1", a), ...e })
|
|
941
942
|
);
|
|
942
|
-
|
|
943
|
-
const
|
|
943
|
+
Tt.displayName = u.Root.displayName;
|
|
944
|
+
const St = s.forwardRef(
|
|
944
945
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
945
|
-
|
|
946
|
+
u.Trigger,
|
|
946
947
|
{
|
|
947
948
|
ref: t,
|
|
948
949
|
className: r(
|
|
@@ -953,9 +954,9 @@ const Tt = s.forwardRef(
|
|
|
953
954
|
}
|
|
954
955
|
)
|
|
955
956
|
);
|
|
956
|
-
|
|
957
|
-
const
|
|
958
|
-
|
|
957
|
+
St.displayName = u.Trigger.displayName;
|
|
958
|
+
const Pt = s.forwardRef(({ className: a, inset: e, children: t, ...n }, i) => /* @__PURE__ */ l(
|
|
959
|
+
u.SubTrigger,
|
|
959
960
|
{
|
|
960
961
|
ref: i,
|
|
961
962
|
className: r(
|
|
@@ -970,9 +971,9 @@ const St = s.forwardRef(({ className: a, inset: e, children: t, ...n }, i) => /*
|
|
|
970
971
|
]
|
|
971
972
|
}
|
|
972
973
|
));
|
|
973
|
-
|
|
974
|
-
const
|
|
975
|
-
|
|
974
|
+
Pt.displayName = u.SubTrigger.displayName;
|
|
975
|
+
const Dt = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
976
|
+
u.SubContent,
|
|
976
977
|
{
|
|
977
978
|
ref: t,
|
|
978
979
|
className: r(
|
|
@@ -982,12 +983,12 @@ const Pt = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
982
983
|
...e
|
|
983
984
|
}
|
|
984
985
|
));
|
|
985
|
-
|
|
986
|
-
const
|
|
987
|
-
({ className: a, align: e = "start", alignOffset: t = -4, sideOffset: n = 8, ...i },
|
|
988
|
-
|
|
986
|
+
Dt.displayName = u.SubContent.displayName;
|
|
987
|
+
const zt = s.forwardRef(
|
|
988
|
+
({ className: a, align: e = "start", alignOffset: t = -4, sideOffset: n = 8, ...i }, d) => /* @__PURE__ */ o(u.Portal, { children: /* @__PURE__ */ o(
|
|
989
|
+
u.Content,
|
|
989
990
|
{
|
|
990
|
-
ref:
|
|
991
|
+
ref: d,
|
|
991
992
|
align: e,
|
|
992
993
|
alignOffset: t,
|
|
993
994
|
sideOffset: n,
|
|
@@ -999,9 +1000,9 @@ const Dt = s.forwardRef(
|
|
|
999
1000
|
}
|
|
1000
1001
|
) })
|
|
1001
1002
|
);
|
|
1002
|
-
|
|
1003
|
-
const
|
|
1004
|
-
|
|
1003
|
+
zt.displayName = u.Content.displayName;
|
|
1004
|
+
const Mt = s.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
1005
|
+
u.Item,
|
|
1005
1006
|
{
|
|
1006
1007
|
ref: n,
|
|
1007
1008
|
className: r(
|
|
@@ -1012,9 +1013,9 @@ const zt = s.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */
|
|
|
1012
1013
|
...t
|
|
1013
1014
|
}
|
|
1014
1015
|
));
|
|
1015
|
-
|
|
1016
|
-
const
|
|
1017
|
-
|
|
1016
|
+
Mt.displayName = u.Item.displayName;
|
|
1017
|
+
const _t = s.forwardRef(({ className: a, children: e, checked: t, ...n }, i) => /* @__PURE__ */ l(
|
|
1018
|
+
u.CheckboxItem,
|
|
1018
1019
|
{
|
|
1019
1020
|
ref: i,
|
|
1020
1021
|
className: r(
|
|
@@ -1024,14 +1025,14 @@ const Mt = s.forwardRef(({ className: a, children: e, checked: t, ...n }, i) =>
|
|
|
1024
1025
|
checked: t,
|
|
1025
1026
|
...n,
|
|
1026
1027
|
children: [
|
|
1027
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
1028
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(u.ItemIndicator, { children: /* @__PURE__ */ o(re, { className: "size-4" }) }) }),
|
|
1028
1029
|
e
|
|
1029
1030
|
]
|
|
1030
1031
|
}
|
|
1031
1032
|
));
|
|
1032
|
-
|
|
1033
|
-
const
|
|
1034
|
-
|
|
1033
|
+
_t.displayName = u.CheckboxItem.displayName;
|
|
1034
|
+
const Lt = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ l(
|
|
1035
|
+
u.RadioItem,
|
|
1035
1036
|
{
|
|
1036
1037
|
ref: n,
|
|
1037
1038
|
className: r(
|
|
@@ -1040,34 +1041,34 @@ const _t = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
1040
1041
|
),
|
|
1041
1042
|
...t,
|
|
1042
1043
|
children: [
|
|
1043
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
1044
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(u.ItemIndicator, { children: /* @__PURE__ */ o(Z, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1044
1045
|
e
|
|
1045
1046
|
]
|
|
1046
1047
|
}
|
|
1047
1048
|
));
|
|
1048
|
-
|
|
1049
|
-
const
|
|
1050
|
-
|
|
1051
|
-
const
|
|
1052
|
-
|
|
1053
|
-
const
|
|
1054
|
-
|
|
1055
|
-
const
|
|
1049
|
+
Lt.displayName = u.RadioItem.displayName;
|
|
1050
|
+
const jt = s.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(u.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold", e && "pl-8", a), ...t }));
|
|
1051
|
+
jt.displayName = u.Label.displayName;
|
|
1052
|
+
const At = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(u.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-muted", a), ...e }));
|
|
1053
|
+
At.displayName = u.Separator.displayName;
|
|
1054
|
+
const Ft = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
|
|
1055
|
+
Ft.displayname = "MenubarShortcut";
|
|
1056
|
+
const Gt = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ l(h.Root, { ref: n, className: r("relative z-10 flex max-w-max flex-1 items-center justify-center", a), ...t, children: [
|
|
1056
1057
|
e,
|
|
1057
1058
|
/* @__PURE__ */ o(ve, {})
|
|
1058
1059
|
] }));
|
|
1059
|
-
|
|
1060
|
-
const
|
|
1061
|
-
|
|
1062
|
-
const
|
|
1060
|
+
Gt.displayName = h.Root.displayName;
|
|
1061
|
+
const Ot = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(h.List, { ref: t, className: r("group flex flex-1 list-none items-center justify-center space-x-1", a), ...e }));
|
|
1062
|
+
Ot.displayName = h.List.displayName;
|
|
1063
|
+
const xr = h.Item, Bt = B(
|
|
1063
1064
|
"group inline-flex h-10 w-max items-center justify-center rounded-control bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
|
|
1064
|
-
),
|
|
1065
|
+
), Ht = s.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ l(h.Trigger, { ref: n, className: r(Bt(), "group", a), ...t, children: [
|
|
1065
1066
|
e,
|
|
1066
1067
|
" ",
|
|
1067
1068
|
/* @__PURE__ */ o(te, { className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180", "aria-hidden": "true" })
|
|
1068
1069
|
] }));
|
|
1069
|
-
|
|
1070
|
-
const
|
|
1070
|
+
Ht.displayName = h.Trigger.displayName;
|
|
1071
|
+
const $t = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
1071
1072
|
h.Content,
|
|
1072
1073
|
{
|
|
1073
1074
|
ref: t,
|
|
@@ -1078,8 +1079,8 @@ const Ht = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
1078
1079
|
...e
|
|
1079
1080
|
}
|
|
1080
1081
|
));
|
|
1081
|
-
|
|
1082
|
-
const
|
|
1082
|
+
$t.displayName = h.Content.displayName;
|
|
1083
|
+
const hr = h.Link, ve = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { className: r("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ o(
|
|
1083
1084
|
h.Viewport,
|
|
1084
1085
|
{
|
|
1085
1086
|
className: r(
|
|
@@ -1091,7 +1092,7 @@ const Nr = h.Link, ve = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__
|
|
|
1091
1092
|
}
|
|
1092
1093
|
) }));
|
|
1093
1094
|
ve.displayName = h.Viewport.displayName;
|
|
1094
|
-
const
|
|
1095
|
+
const Et = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
1095
1096
|
h.Indicator,
|
|
1096
1097
|
{
|
|
1097
1098
|
ref: t,
|
|
@@ -1103,13 +1104,13 @@ const $t = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
1103
1104
|
children: /* @__PURE__ */ o("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
1104
1105
|
}
|
|
1105
1106
|
));
|
|
1106
|
-
|
|
1107
|
-
const
|
|
1108
|
-
|
|
1109
|
-
const
|
|
1110
|
-
|
|
1111
|
-
const
|
|
1112
|
-
|
|
1107
|
+
Et.displayName = h.Indicator.displayName;
|
|
1108
|
+
const Vt = ({ className: a, ...e }) => /* @__PURE__ */ o("nav", { role: "navigation", "aria-label": "pagination", className: r("mx-auto flex w-full justify-center", a), ...e });
|
|
1109
|
+
Vt.displayName = "Pagination";
|
|
1110
|
+
const Kt = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("ul", { ref: t, className: r("flex flex-row items-center gap-1", a), ...e }));
|
|
1111
|
+
Kt.displayName = "PaginationContent";
|
|
1112
|
+
const qt = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("li", { ref: t, className: r("", a), ...e }));
|
|
1113
|
+
qt.displayName = "PaginationItem";
|
|
1113
1114
|
const ae = ({ className: a, isActive: e, size: t = "icon", ...n }) => /* @__PURE__ */ o(
|
|
1114
1115
|
"a",
|
|
1115
1116
|
{
|
|
@@ -1125,22 +1126,22 @@ const ae = ({ className: a, isActive: e, size: t = "icon", ...n }) => /* @__PURE
|
|
|
1125
1126
|
}
|
|
1126
1127
|
);
|
|
1127
1128
|
ae.displayName = "PaginationLink";
|
|
1128
|
-
const
|
|
1129
|
+
const Xt = ({ className: a, label: e = "Previous", ...t }) => /* @__PURE__ */ l(ae, { "aria-label": "Go to previous page", size: "default", className: r("gap-1 pl-2.5", a), ...t, children: [
|
|
1129
1130
|
/* @__PURE__ */ o(je, { className: "size-4" }),
|
|
1130
1131
|
/* @__PURE__ */ o("span", { children: e })
|
|
1131
1132
|
] });
|
|
1132
|
-
|
|
1133
|
-
const
|
|
1133
|
+
Xt.displayName = "PaginationPrevious";
|
|
1134
|
+
const Wt = ({ className: a, label: e = "Next", ...t }) => /* @__PURE__ */ l(ae, { "aria-label": "Go to next page", size: "default", className: r("gap-1 pr-2.5", a), ...t, children: [
|
|
1134
1135
|
/* @__PURE__ */ o("span", { children: e }),
|
|
1135
1136
|
/* @__PURE__ */ o(se, { className: "size-4" })
|
|
1136
1137
|
] });
|
|
1137
|
-
|
|
1138
|
-
const
|
|
1138
|
+
Wt.displayName = "PaginationNext";
|
|
1139
|
+
const Jt = ({ className: a, ...e }) => /* @__PURE__ */ l("span", { "aria-hidden": !0, className: r("flex h-9 w-9 items-center justify-center", a), ...e, children: [
|
|
1139
1140
|
/* @__PURE__ */ o(Le, { className: "size-4" }),
|
|
1140
1141
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "More pages" })
|
|
1141
1142
|
] });
|
|
1142
|
-
|
|
1143
|
-
const
|
|
1143
|
+
Jt.displayName = "PaginationEllipsis";
|
|
1144
|
+
const yr = G.Root, vr = G.Trigger, Qt = s.forwardRef(
|
|
1144
1145
|
({ className: a, align: e = "center", sideOffset: t = 4, ...n }, i) => /* @__PURE__ */ o(G.Portal, { children: /* @__PURE__ */ o(
|
|
1145
1146
|
G.Content,
|
|
1146
1147
|
{
|
|
@@ -1155,8 +1156,8 @@ const xr = G.Root, hr = G.Trigger, Jt = s.forwardRef(
|
|
|
1155
1156
|
}
|
|
1156
1157
|
) })
|
|
1157
1158
|
);
|
|
1158
|
-
|
|
1159
|
-
const
|
|
1159
|
+
Qt.displayName = G.Content.displayName;
|
|
1160
|
+
const Ut = s.forwardRef(
|
|
1160
1161
|
({ className: a, value: e, indeterminate: t = !1, ...n }, i) => /* @__PURE__ */ o(Q.Root, { ref: i, className: r("relative h-4 w-full overflow-hidden rounded-full bg-secondary", a), ...n, children: /* @__PURE__ */ o(
|
|
1161
1162
|
Q.Indicator,
|
|
1162
1163
|
{
|
|
@@ -1165,12 +1166,12 @@ const Qt = s.forwardRef(
|
|
|
1165
1166
|
}
|
|
1166
1167
|
) })
|
|
1167
1168
|
);
|
|
1168
|
-
|
|
1169
|
-
const
|
|
1169
|
+
Ut.displayName = Q.Root.displayName;
|
|
1170
|
+
const Yt = s.forwardRef(
|
|
1170
1171
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(O.Root, { className: r("grid gap-2", a), ...e, ref: t })
|
|
1171
1172
|
);
|
|
1172
|
-
|
|
1173
|
-
const
|
|
1173
|
+
Yt.displayName = O.Root.displayName;
|
|
1174
|
+
const Zt = s.forwardRef(
|
|
1174
1175
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
1175
1176
|
O.Item,
|
|
1176
1177
|
{
|
|
@@ -1184,15 +1185,15 @@ const Yt = s.forwardRef(
|
|
|
1184
1185
|
}
|
|
1185
1186
|
)
|
|
1186
1187
|
);
|
|
1187
|
-
|
|
1188
|
-
const
|
|
1189
|
-
({ className: a, children: e, ...t }, n) => /* @__PURE__ */
|
|
1188
|
+
Zt.displayName = O.Item.displayName;
|
|
1189
|
+
const eo = s.forwardRef(
|
|
1190
|
+
({ className: a, children: e, ...t }, n) => /* @__PURE__ */ l(S.Root, { ref: n, className: r("relative overflow-hidden", a), ...t, children: [
|
|
1190
1191
|
/* @__PURE__ */ o(S.Viewport, { className: "h-full w-full rounded-[inherit]", children: e }),
|
|
1191
1192
|
/* @__PURE__ */ o(we, {}),
|
|
1192
1193
|
/* @__PURE__ */ o(S.Corner, {})
|
|
1193
1194
|
] })
|
|
1194
1195
|
);
|
|
1195
|
-
|
|
1196
|
+
eo.displayName = S.Root.displayName;
|
|
1196
1197
|
const we = s.forwardRef(({ className: a, orientation: e = "vertical", ...t }, n) => /* @__PURE__ */ o(
|
|
1197
1198
|
S.ScrollAreaScrollbar,
|
|
1198
1199
|
{
|
|
@@ -1209,7 +1210,7 @@ const we = s.forwardRef(({ className: a, orientation: e = "vertical", ...t }, n)
|
|
|
1209
1210
|
}
|
|
1210
1211
|
));
|
|
1211
1212
|
we.displayName = S.ScrollAreaScrollbar.displayName;
|
|
1212
|
-
const
|
|
1213
|
+
const ao = s.forwardRef(
|
|
1213
1214
|
({ className: a, orientation: e = "horizontal", decorative: t = !0, ...n }, i) => /* @__PURE__ */ o(
|
|
1214
1215
|
de.Root,
|
|
1215
1216
|
{
|
|
@@ -1221,31 +1222,31 @@ const eo = s.forwardRef(
|
|
|
1221
1222
|
}
|
|
1222
1223
|
)
|
|
1223
1224
|
);
|
|
1224
|
-
|
|
1225
|
-
const
|
|
1226
|
-
|
|
1227
|
-
const
|
|
1228
|
-
|
|
1229
|
-
const
|
|
1230
|
-
|
|
1231
|
-
const
|
|
1232
|
-
|
|
1233
|
-
const
|
|
1234
|
-
|
|
1235
|
-
const
|
|
1236
|
-
|
|
1237
|
-
const
|
|
1238
|
-
|
|
1239
|
-
const
|
|
1240
|
-
|
|
1241
|
-
const
|
|
1242
|
-
({ className: a, ...e }, t) => /* @__PURE__ */
|
|
1225
|
+
ao.displayName = de.Root.displayName;
|
|
1226
|
+
const to = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { className: "relative w-full max-w-full overflow-auto", children: /* @__PURE__ */ o("table", { ref: t, className: r("w-full caption-bottom text-sm", a), ...e }) }));
|
|
1227
|
+
to.displayName = "SimpleTable";
|
|
1228
|
+
const oo = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("thead", { ref: t, className: r("[&_tr]:border-b", a), ...e }));
|
|
1229
|
+
oo.displayName = "SimpleTableHeader";
|
|
1230
|
+
const ro = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("tbody", { ref: t, className: r("[&_tr:last-child]:border-0", a), ...e }));
|
|
1231
|
+
ro.displayName = "SimpleTableBody";
|
|
1232
|
+
const so = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("tfoot", { ref: t, className: r("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", a), ...e }));
|
|
1233
|
+
so.displayName = "SimpleTableFooter";
|
|
1234
|
+
const no = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("tr", { ref: t, className: r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", a), ...e }));
|
|
1235
|
+
no.displayName = "SimpleTableRow";
|
|
1236
|
+
const io = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("th", { ref: t, className: r("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", a), ...e }));
|
|
1237
|
+
io.displayName = "SimpleTableHead";
|
|
1238
|
+
const lo = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("td", { ref: t, className: r("p-4 align-middle [&:has([role=checkbox])]:pr-0", a), ...e }));
|
|
1239
|
+
lo.displayName = "SimpleTableCell";
|
|
1240
|
+
const co = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("caption", { ref: t, className: r("mt-4 text-sm text-muted-foreground", a), ...e }));
|
|
1241
|
+
co.displayName = "SimpleTableCaption";
|
|
1242
|
+
const mo = s.forwardRef(
|
|
1243
|
+
({ className: a, ...e }, t) => /* @__PURE__ */ l(F.Root, { ref: t, className: r("relative flex w-full touch-none select-none items-center", a), ...e, children: [
|
|
1243
1244
|
/* @__PURE__ */ o(F.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ o(F.Range, { className: "absolute h-full bg-primary" }) }),
|
|
1244
1245
|
/* @__PURE__ */ o(F.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
|
|
1245
1246
|
] })
|
|
1246
1247
|
);
|
|
1247
|
-
|
|
1248
|
-
const
|
|
1248
|
+
mo.displayName = F.Root.displayName;
|
|
1249
|
+
const uo = s.forwardRef(
|
|
1249
1250
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
1250
1251
|
U.Root,
|
|
1251
1252
|
{
|
|
@@ -1266,33 +1267,50 @@ const mo = s.forwardRef(
|
|
|
1266
1267
|
}
|
|
1267
1268
|
)
|
|
1268
1269
|
);
|
|
1269
|
-
|
|
1270
|
-
const
|
|
1271
|
-
({ className: a,
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1270
|
+
uo.displayName = U.Root.displayName;
|
|
1271
|
+
const wr = D.Root, fo = s.forwardRef(
|
|
1272
|
+
({ className: a, style: e, ...t }, n) => {
|
|
1273
|
+
const i = s.useRef(null), d = s.useCallback(
|
|
1274
|
+
(f) => {
|
|
1275
|
+
i.current = f, typeof n == "function" ? n(f) : n && (n.current = f);
|
|
1276
|
+
},
|
|
1277
|
+
[n]
|
|
1278
|
+
), m = Ke(i);
|
|
1279
|
+
return /* @__PURE__ */ o(
|
|
1280
|
+
D.List,
|
|
1281
|
+
{
|
|
1282
|
+
ref: d,
|
|
1283
|
+
style: { ...e, ...m },
|
|
1284
|
+
className: r(
|
|
1285
|
+
// Les onglets qui ne tiennent pas dans la largeur défilent dans la liste au lieu d'élargir
|
|
1286
|
+
// la page : sur mobile, une liste plus large que l'écran rendait tout le layout scrollable
|
|
1287
|
+
// horizontalement (en-tête et contenu compris). overscroll-x-contain évite en plus que le
|
|
1288
|
+
// swipe sur les onglets déclenche le retour arrière du navigateur.
|
|
1289
|
+
// La scrollbar est masquée : haute de ~15px sur Windows, elle rognerait la barre (h-10).
|
|
1290
|
+
"inline-flex h-10 items-center justify-start gap-6 overflow-x-auto overscroll-x-contain border-b border-border bg-transparent p-0 text-muted-foreground w-full [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1291
|
+
a
|
|
1292
|
+
),
|
|
1293
|
+
...t
|
|
1294
|
+
}
|
|
1295
|
+
);
|
|
1296
|
+
}
|
|
1279
1297
|
);
|
|
1280
|
-
|
|
1281
|
-
const
|
|
1298
|
+
fo.displayName = D.List.displayName;
|
|
1299
|
+
const po = s.forwardRef(
|
|
1282
1300
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
1283
1301
|
D.Trigger,
|
|
1284
1302
|
{
|
|
1285
1303
|
ref: t,
|
|
1286
1304
|
className: r(
|
|
1287
|
-
"relative inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-none border-b-2 border-transparent bg-transparent px-1 pb-2.5 pt-2 -mb-px text-sm font-medium text-muted-foreground ring-offset-background cursor-pointer transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-primary data-[state=active]:text-foreground data-[state=active]:shadow-none [&_svg]:h-4 [&_svg]:w-4",
|
|
1305
|
+
"relative inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-none border-b-2 border-transparent bg-transparent px-1 pb-2.5 pt-2 -mb-px text-sm font-medium text-muted-foreground ring-offset-background cursor-pointer transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-primary data-[state=active]:text-foreground data-[state=active]:shadow-none [&_svg]:h-4 [&_svg]:w-4",
|
|
1288
1306
|
a
|
|
1289
1307
|
),
|
|
1290
1308
|
...e
|
|
1291
1309
|
}
|
|
1292
1310
|
)
|
|
1293
1311
|
);
|
|
1294
|
-
|
|
1295
|
-
const
|
|
1312
|
+
po.displayName = D.Trigger.displayName;
|
|
1313
|
+
const go = s.forwardRef(
|
|
1296
1314
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
1297
1315
|
D.Content,
|
|
1298
1316
|
{
|
|
@@ -1305,8 +1323,8 @@ const po = s.forwardRef(
|
|
|
1305
1323
|
}
|
|
1306
1324
|
)
|
|
1307
1325
|
);
|
|
1308
|
-
|
|
1309
|
-
const
|
|
1326
|
+
go.displayName = D.Content.displayName;
|
|
1327
|
+
const bo = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
1310
1328
|
"textarea",
|
|
1311
1329
|
{
|
|
1312
1330
|
className: r(
|
|
@@ -1317,8 +1335,8 @@ const go = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
1317
1335
|
...e
|
|
1318
1336
|
}
|
|
1319
1337
|
));
|
|
1320
|
-
|
|
1321
|
-
const
|
|
1338
|
+
bo.displayName = "Textarea";
|
|
1339
|
+
const Cr = v.Provider, No = s.forwardRef(
|
|
1322
1340
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
1323
1341
|
v.Viewport,
|
|
1324
1342
|
{
|
|
@@ -1331,8 +1349,8 @@ const vr = v.Provider, bo = s.forwardRef(
|
|
|
1331
1349
|
}
|
|
1332
1350
|
)
|
|
1333
1351
|
);
|
|
1334
|
-
|
|
1335
|
-
const
|
|
1352
|
+
No.displayName = v.Viewport.displayName;
|
|
1353
|
+
const xo = B(
|
|
1336
1354
|
"group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-surface border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
1337
1355
|
{
|
|
1338
1356
|
variants: {
|
|
@@ -1345,9 +1363,9 @@ const No = B(
|
|
|
1345
1363
|
variant: "default"
|
|
1346
1364
|
}
|
|
1347
1365
|
}
|
|
1348
|
-
),
|
|
1349
|
-
|
|
1350
|
-
const
|
|
1366
|
+
), ho = s.forwardRef(({ className: a, variant: e, ...t }, n) => /* @__PURE__ */ o(v.Root, { ref: n, className: r(xo({ variant: e }), a), ...t }));
|
|
1367
|
+
ho.displayName = v.Root.displayName;
|
|
1368
|
+
const yo = s.forwardRef(
|
|
1351
1369
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
1352
1370
|
v.Action,
|
|
1353
1371
|
{
|
|
@@ -1360,8 +1378,8 @@ const ho = s.forwardRef(
|
|
|
1360
1378
|
}
|
|
1361
1379
|
)
|
|
1362
1380
|
);
|
|
1363
|
-
|
|
1364
|
-
const
|
|
1381
|
+
yo.displayName = v.Action.displayName;
|
|
1382
|
+
const vo = s.forwardRef(
|
|
1365
1383
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
1366
1384
|
v.Close,
|
|
1367
1385
|
{
|
|
@@ -1376,13 +1394,13 @@ const yo = s.forwardRef(
|
|
|
1376
1394
|
}
|
|
1377
1395
|
)
|
|
1378
1396
|
);
|
|
1379
|
-
|
|
1380
|
-
const
|
|
1397
|
+
vo.displayName = v.Close.displayName;
|
|
1398
|
+
const wo = s.forwardRef(
|
|
1381
1399
|
({ className: a, ...e }, t) => /* @__PURE__ */ o(v.Title, { ref: t, className: r("text-sm font-semibold", a), ...e })
|
|
1382
1400
|
);
|
|
1383
|
-
|
|
1384
|
-
const
|
|
1385
|
-
|
|
1401
|
+
wo.displayName = v.Title.displayName;
|
|
1402
|
+
const Co = s.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(v.Description, { ref: t, className: r("text-sm opacity-90", a), ...e }));
|
|
1403
|
+
Co.displayName = v.Description.displayName;
|
|
1386
1404
|
const Ce = B(
|
|
1387
1405
|
"inline-flex items-center justify-center rounded-control text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
|
|
1388
1406
|
{
|
|
@@ -1402,23 +1420,23 @@ const Ce = B(
|
|
|
1402
1420
|
size: "default"
|
|
1403
1421
|
}
|
|
1404
1422
|
}
|
|
1405
|
-
),
|
|
1406
|
-
|
|
1423
|
+
), Ro = s.forwardRef(({ className: a, variant: e, size: t, ...n }, i) => /* @__PURE__ */ o(le.Root, { ref: i, className: r(Ce({ variant: e, size: t, className: a })), ...n }));
|
|
1424
|
+
Ro.displayName = le.Root.displayName;
|
|
1407
1425
|
const Re = s.createContext({
|
|
1408
1426
|
size: "default",
|
|
1409
1427
|
variant: "default"
|
|
1410
|
-
}),
|
|
1411
|
-
|
|
1412
|
-
const
|
|
1413
|
-
const
|
|
1428
|
+
}), ko = s.forwardRef(({ className: a, variant: e, size: t, children: n, ...i }, d) => /* @__PURE__ */ o(E.Root, { ref: d, className: r("flex items-center justify-center gap-1", a), ...i, children: /* @__PURE__ */ o(Re.Provider, { value: { variant: e, size: t }, children: n }) }));
|
|
1429
|
+
ko.displayName = E.Root.displayName;
|
|
1430
|
+
const Io = s.forwardRef(({ className: a, children: e, variant: t, size: n, ...i }, d) => {
|
|
1431
|
+
const m = s.useContext(Re);
|
|
1414
1432
|
return /* @__PURE__ */ o(
|
|
1415
1433
|
E.Item,
|
|
1416
1434
|
{
|
|
1417
|
-
ref:
|
|
1435
|
+
ref: d,
|
|
1418
1436
|
className: r(
|
|
1419
1437
|
Ce({
|
|
1420
|
-
variant:
|
|
1421
|
-
size:
|
|
1438
|
+
variant: m.variant || t,
|
|
1439
|
+
size: m.size || n
|
|
1422
1440
|
}),
|
|
1423
1441
|
a
|
|
1424
1442
|
),
|
|
@@ -1427,192 +1445,192 @@ const ko = s.forwardRef(({ className: a, children: e, variant: t, size: n, ...i
|
|
|
1427
1445
|
}
|
|
1428
1446
|
);
|
|
1429
1447
|
});
|
|
1430
|
-
|
|
1448
|
+
Io.displayName = E.Item.displayName;
|
|
1431
1449
|
export {
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1450
|
+
za as $,
|
|
1451
|
+
Bo as A,
|
|
1452
|
+
Eo as B,
|
|
1453
|
+
ga as C,
|
|
1454
|
+
Ma as D,
|
|
1455
|
+
ba as E,
|
|
1456
|
+
pa as F,
|
|
1457
|
+
Na as G,
|
|
1458
|
+
xa as H,
|
|
1459
|
+
ya as I,
|
|
1460
|
+
qe as J,
|
|
1461
|
+
Qe as K,
|
|
1462
|
+
Je as L,
|
|
1463
|
+
Ue as M,
|
|
1464
|
+
Xe as N,
|
|
1465
|
+
We as O,
|
|
1466
|
+
Ut as P,
|
|
1467
|
+
va as Q,
|
|
1468
|
+
wa as R,
|
|
1469
|
+
Ca as S,
|
|
1470
|
+
ka as T,
|
|
1471
|
+
Ra as U,
|
|
1472
|
+
Ta as V,
|
|
1473
|
+
Ko as W,
|
|
1474
|
+
Da as X,
|
|
1475
|
+
Sa as Y,
|
|
1476
|
+
Vo as Z,
|
|
1477
|
+
Pa as _,
|
|
1478
|
+
Xo as a,
|
|
1461
1479
|
xe as a$,
|
|
1462
1480
|
be as a0,
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1481
|
+
Wo as a1,
|
|
1482
|
+
Ba as a2,
|
|
1483
|
+
Ha as a3,
|
|
1484
|
+
Ga as a4,
|
|
1485
|
+
Ea as a5,
|
|
1486
|
+
Oa as a6,
|
|
1487
|
+
$a as a7,
|
|
1488
|
+
Va as a8,
|
|
1489
|
+
Jo as a9,
|
|
1490
|
+
lt as aA,
|
|
1491
|
+
sr as aB,
|
|
1492
|
+
ct as aC,
|
|
1493
|
+
ft as aD,
|
|
1494
|
+
nr as aE,
|
|
1495
|
+
dr as aF,
|
|
1496
|
+
ut as aG,
|
|
1497
|
+
pt as aH,
|
|
1498
|
+
gt as aI,
|
|
1499
|
+
ir as aJ,
|
|
1500
|
+
dt as aK,
|
|
1501
|
+
it as aL,
|
|
1502
|
+
rr as aM,
|
|
1503
|
+
lr as aN,
|
|
1504
|
+
ht as aO,
|
|
1505
|
+
yt as aP,
|
|
1506
|
+
cr as aQ,
|
|
1507
|
+
Nt as aR,
|
|
1508
|
+
xt as aS,
|
|
1509
|
+
vt as aT,
|
|
1510
|
+
mr as aU,
|
|
1511
|
+
wt as aV,
|
|
1512
|
+
ur as aW,
|
|
1513
|
+
Ct as aX,
|
|
1514
|
+
Rt as aY,
|
|
1515
|
+
It as aZ,
|
|
1516
|
+
kt as a_,
|
|
1517
|
+
Ja as aa,
|
|
1518
|
+
Xa as ab,
|
|
1519
|
+
Uo as ac,
|
|
1520
|
+
Wa as ad,
|
|
1521
|
+
Ua as ae,
|
|
1522
|
+
Yo as af,
|
|
1523
|
+
er as ag,
|
|
1524
|
+
Qa as ah,
|
|
1525
|
+
Ya as ai,
|
|
1526
|
+
Za as aj,
|
|
1527
|
+
Zo as ak,
|
|
1528
|
+
qa as al,
|
|
1529
|
+
Ka as am,
|
|
1530
|
+
Qo as an,
|
|
1531
|
+
et as ao,
|
|
1532
|
+
tr as ap,
|
|
1533
|
+
tt as aq,
|
|
1534
|
+
nt as ar,
|
|
1535
|
+
rt as as,
|
|
1536
|
+
ot as at,
|
|
1519
1537
|
Ne as au,
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1538
|
+
at as av,
|
|
1539
|
+
st as aw,
|
|
1540
|
+
ar as ax,
|
|
1541
|
+
or as ay,
|
|
1542
|
+
mt as az,
|
|
1525
1543
|
ge as b,
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1544
|
+
Io as b$,
|
|
1545
|
+
Tt as b0,
|
|
1546
|
+
_t as b1,
|
|
1547
|
+
zt as b2,
|
|
1548
|
+
pr as b3,
|
|
1549
|
+
Mt as b4,
|
|
1550
|
+
jt as b5,
|
|
1551
|
+
fr as b6,
|
|
1552
|
+
gr as b7,
|
|
1553
|
+
Nr as b8,
|
|
1554
|
+
Lt as b9,
|
|
1555
|
+
eo as bA,
|
|
1538
1556
|
we as bB,
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1557
|
+
ao as bC,
|
|
1558
|
+
to as bD,
|
|
1559
|
+
ro as bE,
|
|
1560
|
+
co as bF,
|
|
1561
|
+
lo as bG,
|
|
1562
|
+
so as bH,
|
|
1563
|
+
io as bI,
|
|
1564
|
+
oo as bJ,
|
|
1565
|
+
no as bK,
|
|
1566
|
+
mo as bL,
|
|
1567
|
+
uo as bM,
|
|
1568
|
+
wr as bN,
|
|
1569
|
+
go as bO,
|
|
1570
|
+
fo as bP,
|
|
1571
|
+
po as bQ,
|
|
1572
|
+
bo as bR,
|
|
1573
|
+
ho as bS,
|
|
1574
|
+
yo as bT,
|
|
1575
|
+
vo as bU,
|
|
1576
|
+
Co as bV,
|
|
1577
|
+
Cr as bW,
|
|
1578
|
+
wo as bX,
|
|
1579
|
+
No as bY,
|
|
1580
|
+
Ro as bZ,
|
|
1581
|
+
ko as b_,
|
|
1582
|
+
At as ba,
|
|
1583
|
+
Ft as bb,
|
|
1584
|
+
br as bc,
|
|
1585
|
+
Dt as bd,
|
|
1586
|
+
Pt as be,
|
|
1587
|
+
St as bf,
|
|
1588
|
+
Gt as bg,
|
|
1589
|
+
$t as bh,
|
|
1590
|
+
Et as bi,
|
|
1591
|
+
xr as bj,
|
|
1592
|
+
hr as bk,
|
|
1593
|
+
Ot as bl,
|
|
1594
|
+
Ht as bm,
|
|
1577
1595
|
ve as bn,
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1596
|
+
Vt as bo,
|
|
1597
|
+
Kt as bp,
|
|
1598
|
+
Jt as bq,
|
|
1599
|
+
qt as br,
|
|
1582
1600
|
ae as bs,
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1601
|
+
Wt as bt,
|
|
1602
|
+
Xt as bu,
|
|
1603
|
+
yr as bv,
|
|
1604
|
+
Qt as bw,
|
|
1605
|
+
vr as bx,
|
|
1606
|
+
Yt as by,
|
|
1607
|
+
Zt as bz,
|
|
1608
|
+
Fa as c,
|
|
1609
|
+
ua as c0,
|
|
1610
|
+
Bt as c1,
|
|
1593
1611
|
Ce as c2,
|
|
1594
1612
|
K as c3,
|
|
1595
|
-
|
|
1596
|
-
|
|
1613
|
+
ja as d,
|
|
1614
|
+
La as e,
|
|
1597
1615
|
pe as f,
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1616
|
+
_a as g,
|
|
1617
|
+
Aa as h,
|
|
1618
|
+
qo as i,
|
|
1619
|
+
ea as j,
|
|
1620
|
+
Ye as k,
|
|
1621
|
+
Ze as l,
|
|
1622
|
+
Ho as m,
|
|
1623
|
+
ia as n,
|
|
1624
|
+
da as o,
|
|
1625
|
+
ta as p,
|
|
1626
|
+
na as q,
|
|
1627
|
+
ra as r,
|
|
1628
|
+
oa as s,
|
|
1629
|
+
sa as t,
|
|
1630
|
+
$o as u,
|
|
1631
|
+
la as v,
|
|
1632
|
+
ma as w,
|
|
1633
|
+
ca as x,
|
|
1634
|
+
fa as y,
|
|
1635
|
+
ha as z
|
|
1618
1636
|
};
|