@krosoft/react 0.0.199 → 0.0.201
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-DeBcK3cv.js → AppActions-ViFjSupi.js} +6 -6
- package/dist/{AppSubTitle-CdIM6aXB.js → AppSubTitle-ClHzadQW.js} +1 -1
- package/dist/{AppVerticalTabs-BlgIZ0mf.js → AppVerticalTabs-Cj66X8_R.js} +7 -7
- package/dist/{ConfirmationDialog-DZ6tvSwP.js → ConfirmationDialog-BoajNW2s.js} +15 -15
- package/dist/{DataTable-BDW0AEsH.js → DataTable-BUcnJCi6.js} +22 -22
- package/dist/{GenericForm-DFTUIw-X.js → GenericForm-BPY5O-B6.js} +43 -43
- package/dist/{ImageInput-MzY2W495.js → ImageInput-DOIglcpv.js} +2 -2
- package/dist/{KpiCardsLayout-fcfJK4ts.js → KpiCardsLayout-D9NSC5Fb.js} +4 -4
- package/dist/{MultiSelect-V-RantiK.js → MultiSelect-B60y82TF.js} +16 -16
- package/dist/{SearchInput-tz8UERbu.js → SearchInput-C-jCOSoi.js} +49 -49
- package/dist/{SkeletonCards-CyP7ZysR.js → SkeletonCards-63vDljXy.js} +2 -2
- package/dist/{TableFilter-BXf-oSjf.js → TableFilter-DP7cq0PU.js} +26 -26
- package/dist/Topbar-0EBMHLwG.js +301 -0
- package/dist/components/core/cards/index.js +1 -1
- package/dist/components/core/dialogs/index.js +8 -7
- package/dist/components/core/filters/index.js +1 -1
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.js +66 -64
- package/dist/components/core/inputs/index.js +3 -3
- package/dist/components/core/layouts/index.js +3 -3
- package/dist/components/core/navbar/GlobalSearch.d.ts +52 -0
- package/dist/components/core/navbar/GlobalSearch.d.ts.map +1 -0
- package/dist/components/core/navbar/index.d.ts +2 -0
- package/dist/components/core/navbar/index.d.ts.map +1 -1
- package/dist/components/core/navbar/index.js +6 -5
- package/dist/components/core/table/index.js +1 -1
- package/dist/components/core/tabs/index.js +1 -1
- package/dist/components/index.js +293 -292
- package/dist/components/ui/command.d.ts +20 -2
- package/dist/components/ui/command.d.ts.map +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +187 -187
- package/dist/hooks/behavior/index.d.ts +1 -0
- package/dist/hooks/behavior/index.d.ts.map +1 -1
- package/dist/hooks/behavior/index.js +6 -5
- package/dist/hooks/behavior/useDebouncedValue.d.ts +6 -0
- package/dist/hooks/behavior/useDebouncedValue.d.ts.map +1 -0
- package/dist/hooks/index.js +20 -19
- package/dist/sheet-C-QvdRNi.js +245 -0
- package/dist/{toaster-DG7IvN3o.js → toaster-D6OHn49K.js} +9 -9
- package/dist/{toggle-group-CKCJXGta.js → toggle-group-DLLrEwv2.js} +576 -714
- package/dist/usePage-BFE9lxI1.js +84 -0
- package/package.json +2 -2
- package/dist/Topbar-CFmKB_S2.js +0 -217
- package/dist/sheet-B_uq6-K_.js +0 -87
- package/dist/usePage-u2gRhvQ0.js +0 -72
|
@@ -1,58 +1,56 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
1
|
+
import { jsx as o, jsxs as u } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import * as
|
|
4
|
-
import { ChevronDown as
|
|
3
|
+
import * as w from "@radix-ui/react-accordion";
|
|
4
|
+
import { ChevronDown as E, MoreHorizontal as fe, ChevronRight as M, ChevronLeft as pe, ArrowLeft as ge, ArrowRight as be, CheckIcon as $, Check as q, Circle as V, ChevronRightIcon as K, CircleIcon as Ne, Dot as xe, MoreHorizontalIcon as ye, ChevronLeftIcon as ve, XIcon as he } from "lucide-react";
|
|
5
5
|
import { c as r } from "./tailwind.helper-B6yFEsav.js";
|
|
6
6
|
import * as g from "@radix-ui/react-alert-dialog";
|
|
7
|
-
import { d as
|
|
8
|
-
import * as
|
|
9
|
-
import { cva as
|
|
7
|
+
import { d as C, B as X } from "./tooltip-DVeqVwqV.js";
|
|
8
|
+
import * as I from "@radix-ui/react-avatar";
|
|
9
|
+
import { cva as z } from "class-variance-authority";
|
|
10
10
|
import { Slot as W } from "@radix-ui/react-slot";
|
|
11
|
-
import { DayPicker as
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import * as m from "@radix-ui/react-
|
|
17
|
-
import {
|
|
18
|
-
import * as
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import * as A from "@radix-ui/react-hover-card";
|
|
22
|
-
import { OTPInput as Le, OTPInputContext as je } from "input-otp";
|
|
11
|
+
import { DayPicker as we } from "react-day-picker";
|
|
12
|
+
import Re from "embla-carousel-react";
|
|
13
|
+
import * as B from "@radix-ui/react-checkbox";
|
|
14
|
+
import * as c from "@radix-ui/react-context-menu";
|
|
15
|
+
import { Drawer as y } from "vaul";
|
|
16
|
+
import * as m from "@radix-ui/react-dropdown-menu";
|
|
17
|
+
import { useFormContext as Ce, FormProvider as Ie, Controller as Se } from "react-hook-form";
|
|
18
|
+
import * as Te from "@radix-ui/react-label";
|
|
19
|
+
import * as D from "@radix-ui/react-hover-card";
|
|
20
|
+
import { OTPInput as Pe, OTPInputContext as ke } from "input-otp";
|
|
23
21
|
import * as l from "@radix-ui/react-menubar";
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
27
|
-
import * as
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
32
|
-
import * as
|
|
33
|
-
import { u as
|
|
34
|
-
import * as
|
|
35
|
-
import * as
|
|
36
|
-
import * as
|
|
37
|
-
const
|
|
38
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
22
|
+
import * as b from "@radix-ui/react-navigation-menu";
|
|
23
|
+
import * as P from "@radix-ui/react-popover";
|
|
24
|
+
import * as O from "@radix-ui/react-progress";
|
|
25
|
+
import * as k from "@radix-ui/react-radio-group";
|
|
26
|
+
import * as h from "@radix-ui/react-scroll-area";
|
|
27
|
+
import * as J from "@radix-ui/react-separator";
|
|
28
|
+
import * as T from "@radix-ui/react-slider";
|
|
29
|
+
import * as H from "@radix-ui/react-switch";
|
|
30
|
+
import * as R from "@radix-ui/react-tabs";
|
|
31
|
+
import { u as ze } from "./useScrollFade-BA4KqJYp.js";
|
|
32
|
+
import * as N from "@radix-ui/react-toast";
|
|
33
|
+
import * as A from "@radix-ui/react-toggle-group";
|
|
34
|
+
import * as Q from "@radix-ui/react-toggle";
|
|
35
|
+
const Zt = w.Root, Me = s.forwardRef(
|
|
36
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o(w.Item, { ref: t, className: r("border-b", e), ...a })
|
|
39
37
|
);
|
|
40
|
-
|
|
41
|
-
const
|
|
42
|
-
|
|
38
|
+
Me.displayName = "AccordionItem";
|
|
39
|
+
const De = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ o(w.Header, { className: "flex", children: /* @__PURE__ */ u(
|
|
40
|
+
w.Trigger,
|
|
43
41
|
{
|
|
44
42
|
ref: n,
|
|
45
43
|
className: r("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
|
|
46
44
|
...t,
|
|
47
45
|
children: [
|
|
48
46
|
a,
|
|
49
|
-
/* @__PURE__ */ o(
|
|
47
|
+
/* @__PURE__ */ o(E, { className: "size-4 shrink-0 transition-transform duration-200" })
|
|
50
48
|
]
|
|
51
49
|
}
|
|
52
50
|
) }));
|
|
53
|
-
|
|
54
|
-
const
|
|
55
|
-
|
|
51
|
+
De.displayName = w.Trigger.displayName;
|
|
52
|
+
const Ae = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ o(
|
|
53
|
+
w.Content,
|
|
56
54
|
{
|
|
57
55
|
ref: n,
|
|
58
56
|
className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
@@ -60,8 +58,8 @@ const Oe = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
|
|
|
60
58
|
children: /* @__PURE__ */ o("div", { className: r("pb-4 pt-0", e), children: a })
|
|
61
59
|
}
|
|
62
60
|
));
|
|
63
|
-
|
|
64
|
-
const
|
|
61
|
+
Ae.displayName = w.Content.displayName;
|
|
62
|
+
const eo = g.Root, ao = g.Trigger, Fe = g.Portal, U = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
65
63
|
g.Overlay,
|
|
66
64
|
{
|
|
67
65
|
className: r(
|
|
@@ -72,9 +70,9 @@ const Ro = g.Root, Co = g.Trigger, He = g.Portal, Z = s.forwardRef(({ className:
|
|
|
72
70
|
ref: t
|
|
73
71
|
}
|
|
74
72
|
));
|
|
75
|
-
|
|
76
|
-
const
|
|
77
|
-
/* @__PURE__ */ o(
|
|
73
|
+
U.displayName = g.Overlay.displayName;
|
|
74
|
+
const je = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ u(Fe, { children: [
|
|
75
|
+
/* @__PURE__ */ o(U, {}),
|
|
78
76
|
/* @__PURE__ */ o(
|
|
79
77
|
g.Content,
|
|
80
78
|
{
|
|
@@ -87,32 +85,32 @@ const Ve = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ d(He, { c
|
|
|
87
85
|
}
|
|
88
86
|
)
|
|
89
87
|
] }));
|
|
90
|
-
|
|
91
|
-
const
|
|
92
|
-
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
const
|
|
96
|
-
|
|
97
|
-
const
|
|
98
|
-
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
const
|
|
104
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
88
|
+
je.displayName = g.Content.displayName;
|
|
89
|
+
const Le = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
|
|
90
|
+
Le.displayName = "AlertDialogHeader";
|
|
91
|
+
const Ge = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
|
|
92
|
+
Ge.displayName = "AlertDialogFooter";
|
|
93
|
+
const Be = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Title, { ref: t, className: r("text-lg font-semibold", e), ...a }));
|
|
94
|
+
Be.displayName = g.Title.displayName;
|
|
95
|
+
const Oe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Description, { ref: t, className: r("text-sm text-muted-foreground", e), ...a }));
|
|
96
|
+
Oe.displayName = g.Description.displayName;
|
|
97
|
+
const He = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Action, { ref: t, className: r(C(), e), ...a }));
|
|
98
|
+
He.displayName = g.Action.displayName;
|
|
99
|
+
const Ve = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(g.Cancel, { ref: t, className: r(C({ variant: "outline" }), "mt-2 sm:mt-0", e), ...a }));
|
|
100
|
+
Ve.displayName = g.Cancel.displayName;
|
|
101
|
+
const _e = s.forwardRef(
|
|
102
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o(I.Root, { ref: t, className: r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e), ...a })
|
|
105
103
|
);
|
|
106
|
-
|
|
107
|
-
const
|
|
108
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
104
|
+
_e.displayName = I.Root.displayName;
|
|
105
|
+
const Ee = s.forwardRef(
|
|
106
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o(I.Image, { ref: t, className: r("aspect-square h-full w-full", e), ...a })
|
|
109
107
|
);
|
|
110
|
-
|
|
111
|
-
const
|
|
112
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
108
|
+
Ee.displayName = I.Image.displayName;
|
|
109
|
+
const $e = s.forwardRef(
|
|
110
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o(I.Fallback, { ref: t, className: r("flex h-full w-full items-center justify-center rounded-full bg-muted", e), ...a })
|
|
113
111
|
);
|
|
114
|
-
|
|
115
|
-
const
|
|
112
|
+
$e.displayName = I.Fallback.displayName;
|
|
113
|
+
const qe = z(
|
|
116
114
|
"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",
|
|
117
115
|
{
|
|
118
116
|
variants: {
|
|
@@ -128,29 +126,29 @@ const Ye = M(
|
|
|
128
126
|
}
|
|
129
127
|
}
|
|
130
128
|
);
|
|
131
|
-
function
|
|
132
|
-
return /* @__PURE__ */ o("div", { className: r(
|
|
129
|
+
function to({ className: e, variant: a, ...t }) {
|
|
130
|
+
return /* @__PURE__ */ o("div", { className: r(qe({ variant: a }), e), ...t });
|
|
133
131
|
}
|
|
134
|
-
const
|
|
135
|
-
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
const
|
|
141
|
-
|
|
142
|
-
const
|
|
143
|
-
|
|
144
|
-
const
|
|
145
|
-
|
|
146
|
-
const
|
|
147
|
-
/* @__PURE__ */ o(
|
|
132
|
+
const Ke = s.forwardRef(({ ...e }, a) => /* @__PURE__ */ o("nav", { ref: a, "aria-label": "breadcrumb", ...e }));
|
|
133
|
+
Ke.displayName = "Breadcrumb";
|
|
134
|
+
const Xe = s.forwardRef(({ className: e, ...a }, 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", e), ...a }));
|
|
135
|
+
Xe.displayName = "BreadcrumbList";
|
|
136
|
+
const We = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("li", { ref: t, className: r("inline-flex items-center gap-1.5", e), ...a }));
|
|
137
|
+
We.displayName = "BreadcrumbItem";
|
|
138
|
+
const Je = s.forwardRef(({ asChild: e, className: a, ...t }, n) => /* @__PURE__ */ o(e ? W : "a", { ref: n, className: r("transition-colors hover:text-foreground", a), ...t }));
|
|
139
|
+
Je.displayName = "BreadcrumbLink";
|
|
140
|
+
const Qe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("span", { ref: t, role: "link", "aria-disabled": "true", "aria-current": "page", className: r("font-normal text-foreground", e), ...a }));
|
|
141
|
+
Qe.displayName = "BreadcrumbPage";
|
|
142
|
+
const Ue = ({ children: e, className: a, ...t }) => /* @__PURE__ */ o("li", { role: "presentation", "aria-hidden": "true", className: r("[&>svg]:size-3.5", a), ...t, children: e ?? /* @__PURE__ */ o(M, {}) });
|
|
143
|
+
Ue.displayName = "BreadcrumbSeparator";
|
|
144
|
+
const Ye = ({ className: e, ...a }) => /* @__PURE__ */ u("span", { role: "presentation", "aria-hidden": "true", className: r("flex h-9 w-9 items-center justify-center", e), ...a, children: [
|
|
145
|
+
/* @__PURE__ */ o(fe, { className: "size-4" }),
|
|
148
146
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "More" })
|
|
149
147
|
] });
|
|
150
|
-
|
|
151
|
-
function
|
|
148
|
+
Ye.displayName = "BreadcrumbElipssis";
|
|
149
|
+
function Ze({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
|
|
152
150
|
return /* @__PURE__ */ o(
|
|
153
|
-
|
|
151
|
+
we,
|
|
154
152
|
{
|
|
155
153
|
showOutsideDays: t,
|
|
156
154
|
className: r("p-3 pointer-events-auto", e),
|
|
@@ -160,8 +158,8 @@ function na({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
|
|
|
160
158
|
month_caption: "flex justify-center pt-1 relative items-center w-full",
|
|
161
159
|
caption_label: "text-sm font-medium",
|
|
162
160
|
nav: "flex items-center gap-1 absolute h-7 w-full z-10",
|
|
163
|
-
button_previous: r(
|
|
164
|
-
button_next: r(
|
|
161
|
+
button_previous: r(C({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100", "absolute left-1"),
|
|
162
|
+
button_next: r(C({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100", "absolute right-1"),
|
|
165
163
|
weekdays: "flex justify-center",
|
|
166
164
|
weekday: "text-muted-foreground rounded-control w-9 font-normal text-[0.8rem] text-center flex items-center justify-center",
|
|
167
165
|
week: "flex w-full mt-2",
|
|
@@ -173,7 +171,7 @@ function na({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
|
|
|
173
171
|
"last:[&:has([aria-selected])]:rounded-r-control",
|
|
174
172
|
"[&:has([aria-selected].day-outside)]:bg-accent/50"
|
|
175
173
|
),
|
|
176
|
-
day_button: r(
|
|
174
|
+
day_button: r(C({ variant: "ghost" }), "size-9 p-0 font-normal aria-selected:opacity-100"),
|
|
177
175
|
range_start: "day-range-start rounded-l-control",
|
|
178
176
|
range_end: "day-range-end rounded-r-control",
|
|
179
177
|
selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
|
|
@@ -185,73 +183,73 @@ function na({ className: e, classNames: a, showOutsideDays: t = !0, ...n }) {
|
|
|
185
183
|
...a
|
|
186
184
|
},
|
|
187
185
|
components: {
|
|
188
|
-
Chevron: ({ orientation: i, ...
|
|
186
|
+
Chevron: ({ orientation: i, ...d }) => /* @__PURE__ */ o(i === "left" ? pe : M, { className: "size-4", ...d })
|
|
189
187
|
},
|
|
190
188
|
...n
|
|
191
189
|
}
|
|
192
190
|
);
|
|
193
191
|
}
|
|
194
|
-
|
|
195
|
-
const
|
|
196
|
-
function
|
|
197
|
-
const e = s.useContext(
|
|
192
|
+
Ze.displayName = "Calendar";
|
|
193
|
+
const Y = s.createContext(null);
|
|
194
|
+
function F() {
|
|
195
|
+
const e = s.useContext(Y);
|
|
198
196
|
if (!e)
|
|
199
197
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
200
198
|
return e;
|
|
201
199
|
}
|
|
202
|
-
const
|
|
203
|
-
({ orientation: e = "horizontal", opts: a, setApi: t, plugins: n, className: i, children:
|
|
204
|
-
const [
|
|
200
|
+
const ea = s.forwardRef(
|
|
201
|
+
({ orientation: e = "horizontal", opts: a, setApi: t, plugins: n, className: i, children: d, ...p }, x) => {
|
|
202
|
+
const [ie, f] = Re(
|
|
205
203
|
{
|
|
206
204
|
...a,
|
|
207
205
|
axis: e === "horizontal" ? "x" : "y"
|
|
208
206
|
},
|
|
209
207
|
n
|
|
210
|
-
), [
|
|
211
|
-
|
|
212
|
-
}, []),
|
|
208
|
+
), [le, de] = s.useState(!1), [ce, me] = s.useState(!1), S = s.useCallback((v) => {
|
|
209
|
+
v && (de(v.canScrollPrev()), me(v.canScrollNext()));
|
|
210
|
+
}, []), L = s.useCallback(() => {
|
|
213
211
|
f == null || f.scrollPrev();
|
|
214
|
-
}, [f]),
|
|
212
|
+
}, [f]), G = s.useCallback(() => {
|
|
215
213
|
f == null || f.scrollNext();
|
|
216
|
-
}, [f]),
|
|
217
|
-
(
|
|
218
|
-
|
|
214
|
+
}, [f]), ue = s.useCallback(
|
|
215
|
+
(v) => {
|
|
216
|
+
v.key === "ArrowLeft" ? (v.preventDefault(), L()) : v.key === "ArrowRight" && (v.preventDefault(), G());
|
|
219
217
|
},
|
|
220
|
-
[
|
|
218
|
+
[L, G]
|
|
221
219
|
);
|
|
222
220
|
return s.useEffect(() => {
|
|
223
221
|
!f || !t || t(f);
|
|
224
222
|
}, [f, t]), s.useEffect(() => {
|
|
225
223
|
if (f)
|
|
226
|
-
return
|
|
227
|
-
f == null || f.off("select",
|
|
224
|
+
return S(f), f.on("reInit", S), f.on("select", S), () => {
|
|
225
|
+
f == null || f.off("select", S);
|
|
228
226
|
};
|
|
229
|
-
}, [f,
|
|
230
|
-
|
|
227
|
+
}, [f, S]), /* @__PURE__ */ o(
|
|
228
|
+
Y.Provider,
|
|
231
229
|
{
|
|
232
230
|
value: {
|
|
233
|
-
carouselRef:
|
|
231
|
+
carouselRef: ie,
|
|
234
232
|
api: f,
|
|
235
233
|
opts: a,
|
|
236
234
|
orientation: e || ((a == null ? void 0 : a.axis) === "y" ? "vertical" : "horizontal"),
|
|
237
|
-
scrollPrev:
|
|
238
|
-
scrollNext:
|
|
239
|
-
canScrollPrev:
|
|
240
|
-
canScrollNext:
|
|
235
|
+
scrollPrev: L,
|
|
236
|
+
scrollNext: G,
|
|
237
|
+
canScrollPrev: le,
|
|
238
|
+
canScrollNext: ce
|
|
241
239
|
},
|
|
242
|
-
children: /* @__PURE__ */ o("div", { ref:
|
|
240
|
+
children: /* @__PURE__ */ o("div", { ref: x, onKeyDownCapture: ue, className: r("relative", i), role: "region", "aria-roledescription": "carousel", ...p, children: d })
|
|
243
241
|
}
|
|
244
242
|
);
|
|
245
243
|
}
|
|
246
244
|
);
|
|
247
|
-
|
|
248
|
-
const
|
|
249
|
-
const { carouselRef: n, orientation: i } =
|
|
245
|
+
ea.displayName = "Carousel";
|
|
246
|
+
const aa = s.forwardRef(({ className: e, ...a }, t) => {
|
|
247
|
+
const { carouselRef: n, orientation: i } = F();
|
|
250
248
|
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", e), ...a }) });
|
|
251
249
|
});
|
|
252
|
-
|
|
253
|
-
const
|
|
254
|
-
const { orientation: n } =
|
|
250
|
+
aa.displayName = "CarouselContent";
|
|
251
|
+
const ta = s.forwardRef(({ className: e, ...a }, t) => {
|
|
252
|
+
const { orientation: n } = F();
|
|
255
253
|
return /* @__PURE__ */ o(
|
|
256
254
|
"div",
|
|
257
255
|
{
|
|
@@ -263,62 +261,62 @@ const la = s.forwardRef(({ className: e, ...a }, t) => {
|
|
|
263
261
|
}
|
|
264
262
|
);
|
|
265
263
|
});
|
|
266
|
-
|
|
267
|
-
const
|
|
264
|
+
ta.displayName = "CarouselItem";
|
|
265
|
+
const oa = s.forwardRef(
|
|
268
266
|
({ className: e, variant: a = "outline", size: t = "icon", ...n }, i) => {
|
|
269
|
-
const { orientation:
|
|
270
|
-
return /* @__PURE__ */
|
|
271
|
-
|
|
267
|
+
const { orientation: d, scrollPrev: p, canScrollPrev: x } = F();
|
|
268
|
+
return /* @__PURE__ */ u(
|
|
269
|
+
X,
|
|
272
270
|
{
|
|
273
271
|
ref: i,
|
|
274
272
|
variant: a,
|
|
275
273
|
size: t,
|
|
276
274
|
className: r(
|
|
277
275
|
"absolute h-8 w-8 rounded-control",
|
|
278
|
-
|
|
276
|
+
d === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
279
277
|
e
|
|
280
278
|
),
|
|
281
|
-
disabled: !
|
|
279
|
+
disabled: !x,
|
|
282
280
|
onClick: p,
|
|
283
281
|
...n,
|
|
284
282
|
children: [
|
|
285
|
-
/* @__PURE__ */ o(
|
|
283
|
+
/* @__PURE__ */ o(ge, { className: "size-4" }),
|
|
286
284
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "Previous slide" })
|
|
287
285
|
]
|
|
288
286
|
}
|
|
289
287
|
);
|
|
290
288
|
}
|
|
291
289
|
);
|
|
292
|
-
|
|
293
|
-
const
|
|
290
|
+
oa.displayName = "CarouselPrevious";
|
|
291
|
+
const ra = s.forwardRef(
|
|
294
292
|
({ className: e, variant: a = "outline", size: t = "icon", ...n }, i) => {
|
|
295
|
-
const { orientation:
|
|
296
|
-
return /* @__PURE__ */
|
|
297
|
-
|
|
293
|
+
const { orientation: d, scrollNext: p, canScrollNext: x } = F();
|
|
294
|
+
return /* @__PURE__ */ u(
|
|
295
|
+
X,
|
|
298
296
|
{
|
|
299
297
|
ref: i,
|
|
300
298
|
variant: a,
|
|
301
299
|
size: t,
|
|
302
300
|
className: r(
|
|
303
301
|
"absolute h-8 w-8 rounded-control",
|
|
304
|
-
|
|
302
|
+
d === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
305
303
|
e
|
|
306
304
|
),
|
|
307
|
-
disabled: !
|
|
305
|
+
disabled: !x,
|
|
308
306
|
onClick: p,
|
|
309
307
|
...n,
|
|
310
308
|
children: [
|
|
311
|
-
/* @__PURE__ */ o(
|
|
309
|
+
/* @__PURE__ */ o(be, { className: "size-4" }),
|
|
312
310
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "Next slide" })
|
|
313
311
|
]
|
|
314
312
|
}
|
|
315
313
|
);
|
|
316
314
|
}
|
|
317
315
|
);
|
|
318
|
-
|
|
319
|
-
const
|
|
316
|
+
ra.displayName = "CarouselNext";
|
|
317
|
+
const sa = s.forwardRef(
|
|
320
318
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
321
|
-
|
|
319
|
+
B.Root,
|
|
322
320
|
{
|
|
323
321
|
ref: t,
|
|
324
322
|
className: r(
|
|
@@ -326,130 +324,13 @@ const ua = s.forwardRef(
|
|
|
326
324
|
e
|
|
327
325
|
),
|
|
328
326
|
...a,
|
|
329
|
-
children: /* @__PURE__ */ o(
|
|
330
|
-
}
|
|
331
|
-
)
|
|
332
|
-
);
|
|
333
|
-
ua.displayName = O.Root.displayName;
|
|
334
|
-
const fa = x.Root, Io = x.Trigger, pa = x.Portal, So = x.Close, ae = s.forwardRef(
|
|
335
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
336
|
-
x.Overlay,
|
|
337
|
-
{
|
|
338
|
-
ref: t,
|
|
339
|
-
className: r(
|
|
340
|
-
"fixed inset-0 z-[70] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
341
|
-
e
|
|
342
|
-
),
|
|
343
|
-
...a
|
|
327
|
+
children: /* @__PURE__ */ o(B.Indicator, { className: r("flex items-center justify-center text-current"), children: a.checked === "indeterminate" ? /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 3, className: "size-3", children: /* @__PURE__ */ o("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) }) : /* @__PURE__ */ o($, { className: "size-3" }) })
|
|
344
328
|
}
|
|
345
329
|
)
|
|
346
330
|
);
|
|
347
|
-
|
|
348
|
-
const
|
|
349
|
-
|
|
350
|
-
/* @__PURE__ */ o(ae, {}),
|
|
351
|
-
/* @__PURE__ */ d(
|
|
352
|
-
x.Content,
|
|
353
|
-
{
|
|
354
|
-
ref: n,
|
|
355
|
-
className: r(
|
|
356
|
-
"fixed left-[50%] top-[50%] z-[70] grid overflow-y-auto translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
|
|
357
|
-
ga,
|
|
358
|
-
e
|
|
359
|
-
),
|
|
360
|
-
...t,
|
|
361
|
-
children: [
|
|
362
|
-
a,
|
|
363
|
-
/* @__PURE__ */ d(x.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: [
|
|
364
|
-
/* @__PURE__ */ o(we, { className: "size-4" }),
|
|
365
|
-
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
366
|
-
] })
|
|
367
|
-
]
|
|
368
|
-
}
|
|
369
|
-
)
|
|
370
|
-
] })
|
|
371
|
-
);
|
|
372
|
-
te.displayName = x.Content.displayName;
|
|
373
|
-
const ba = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-1.5 text-center sm:text-left", e), ...a });
|
|
374
|
-
ba.displayName = "DialogHeader";
|
|
375
|
-
const Na = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
|
|
376
|
-
Na.displayName = "DialogFooter";
|
|
377
|
-
const xa = s.forwardRef(
|
|
378
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(x.Title, { ref: t, className: r("text-lg font-semibold leading-none tracking-tight", e), ...a })
|
|
379
|
-
);
|
|
380
|
-
xa.displayName = x.Title.displayName;
|
|
381
|
-
const ya = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(x.Description, { ref: t, className: r("text-sm text-muted-foreground", e), ...a }));
|
|
382
|
-
ya.displayName = x.Description.displayName;
|
|
383
|
-
const oe = s.forwardRef(
|
|
384
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
385
|
-
b,
|
|
386
|
-
{
|
|
387
|
-
ref: t,
|
|
388
|
-
className: r("flex h-full w-full flex-col overflow-hidden rounded-surface bg-popover text-popover-foreground", e),
|
|
389
|
-
...a
|
|
390
|
-
}
|
|
391
|
-
)
|
|
392
|
-
);
|
|
393
|
-
oe.displayName = b.displayName;
|
|
394
|
-
const To = ({ children: e, ...a }) => /* @__PURE__ */ o(fa, { ...a, children: /* @__PURE__ */ o(te, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ o(oe, { 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: e }) }) }), ha = s.forwardRef(
|
|
395
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ d("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
396
|
-
/* @__PURE__ */ o(Re, { className: "mr-2 size-4 shrink-0 opacity-50" }),
|
|
397
|
-
/* @__PURE__ */ o(
|
|
398
|
-
b.Input,
|
|
399
|
-
{
|
|
400
|
-
ref: t,
|
|
401
|
-
className: r(
|
|
402
|
-
"flex h-11 w-full rounded-control bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
403
|
-
e
|
|
404
|
-
),
|
|
405
|
-
...a
|
|
406
|
-
}
|
|
407
|
-
)
|
|
408
|
-
] })
|
|
409
|
-
);
|
|
410
|
-
ha.displayName = b.Input.displayName;
|
|
411
|
-
const va = s.forwardRef(
|
|
412
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(b.List, { ref: t, className: r("max-h-[300px] overflow-y-auto overflow-x-hidden", e), ...a })
|
|
413
|
-
);
|
|
414
|
-
va.displayName = b.List.displayName;
|
|
415
|
-
const wa = s.forwardRef(
|
|
416
|
-
(e, a) => /* @__PURE__ */ o(b.Empty, { ref: a, className: "py-6 text-center text-sm", ...e })
|
|
417
|
-
);
|
|
418
|
-
wa.displayName = b.Empty.displayName;
|
|
419
|
-
const Ra = s.forwardRef(
|
|
420
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
421
|
-
b.Group,
|
|
422
|
-
{
|
|
423
|
-
ref: t,
|
|
424
|
-
className: r(
|
|
425
|
-
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
|
|
426
|
-
e
|
|
427
|
-
),
|
|
428
|
-
...a
|
|
429
|
-
}
|
|
430
|
-
)
|
|
431
|
-
);
|
|
432
|
-
Ra.displayName = b.Group.displayName;
|
|
433
|
-
const Ca = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(b.Separator, { ref: t, className: r("-mx-1 h-px bg-border", e), ...a }));
|
|
434
|
-
Ca.displayName = b.Separator.displayName;
|
|
435
|
-
const ka = s.forwardRef(
|
|
436
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
437
|
-
b.Item,
|
|
438
|
-
{
|
|
439
|
-
ref: t,
|
|
440
|
-
className: r(
|
|
441
|
-
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",
|
|
442
|
-
e
|
|
443
|
-
),
|
|
444
|
-
...a
|
|
445
|
-
}
|
|
446
|
-
)
|
|
447
|
-
);
|
|
448
|
-
ka.displayName = b.Item.displayName;
|
|
449
|
-
const Ia = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
|
|
450
|
-
Ia.displayName = "CommandShortcut";
|
|
451
|
-
const Po = m.Root, zo = m.Trigger, Do = m.Group, Mo = m.Portal, Fo = m.Sub, Ao = m.RadioGroup, Sa = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /* @__PURE__ */ d(
|
|
452
|
-
m.SubTrigger,
|
|
331
|
+
sa.displayName = B.Root.displayName;
|
|
332
|
+
const oo = c.Root, ro = c.Trigger, so = c.Group, no = c.Portal, io = c.Sub, lo = c.RadioGroup, na = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /* @__PURE__ */ u(
|
|
333
|
+
c.SubTrigger,
|
|
453
334
|
{
|
|
454
335
|
ref: i,
|
|
455
336
|
className: r(
|
|
@@ -460,13 +341,13 @@ const Po = m.Root, zo = m.Trigger, Do = m.Group, Mo = m.Portal, Fo = m.Sub, Ao =
|
|
|
460
341
|
...n,
|
|
461
342
|
children: [
|
|
462
343
|
t,
|
|
463
|
-
/* @__PURE__ */ o(
|
|
344
|
+
/* @__PURE__ */ o(M, { className: "ml-auto size-4" })
|
|
464
345
|
]
|
|
465
346
|
}
|
|
466
347
|
));
|
|
467
|
-
|
|
468
|
-
const
|
|
469
|
-
|
|
348
|
+
na.displayName = c.SubTrigger.displayName;
|
|
349
|
+
const ia = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
350
|
+
c.SubContent,
|
|
470
351
|
{
|
|
471
352
|
ref: t,
|
|
472
353
|
className: r(
|
|
@@ -476,9 +357,9 @@ const Ta = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
|
476
357
|
...a
|
|
477
358
|
}
|
|
478
359
|
));
|
|
479
|
-
|
|
480
|
-
const
|
|
481
|
-
|
|
360
|
+
ia.displayName = c.SubContent.displayName;
|
|
361
|
+
const la = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(c.Portal, { children: /* @__PURE__ */ o(
|
|
362
|
+
c.Content,
|
|
482
363
|
{
|
|
483
364
|
ref: t,
|
|
484
365
|
className: r(
|
|
@@ -488,9 +369,9 @@ const Pa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(m.Porta
|
|
|
488
369
|
...a
|
|
489
370
|
}
|
|
490
371
|
) }));
|
|
491
|
-
|
|
492
|
-
const
|
|
493
|
-
|
|
372
|
+
la.displayName = c.Content.displayName;
|
|
373
|
+
const da = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
|
|
374
|
+
c.Item,
|
|
494
375
|
{
|
|
495
376
|
ref: n,
|
|
496
377
|
className: r(
|
|
@@ -501,9 +382,9 @@ const za = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */
|
|
|
501
382
|
...t
|
|
502
383
|
}
|
|
503
384
|
));
|
|
504
|
-
|
|
505
|
-
const
|
|
506
|
-
|
|
385
|
+
da.displayName = c.Item.displayName;
|
|
386
|
+
const ca = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) => /* @__PURE__ */ u(
|
|
387
|
+
c.CheckboxItem,
|
|
507
388
|
{
|
|
508
389
|
ref: i,
|
|
509
390
|
className: r(
|
|
@@ -513,14 +394,14 @@ const Da = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) =>
|
|
|
513
394
|
checked: t,
|
|
514
395
|
...n,
|
|
515
396
|
children: [
|
|
516
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
397
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(c.ItemIndicator, { children: /* @__PURE__ */ o(q, { className: "size-4" }) }) }),
|
|
517
398
|
a
|
|
518
399
|
]
|
|
519
400
|
}
|
|
520
401
|
));
|
|
521
|
-
|
|
522
|
-
const
|
|
523
|
-
|
|
402
|
+
ca.displayName = c.CheckboxItem.displayName;
|
|
403
|
+
const ma = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(
|
|
404
|
+
c.RadioItem,
|
|
524
405
|
{
|
|
525
406
|
ref: n,
|
|
526
407
|
className: r(
|
|
@@ -529,29 +410,29 @@ const Ma = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
|
|
|
529
410
|
),
|
|
530
411
|
...t,
|
|
531
412
|
children: [
|
|
532
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
413
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(c.ItemIndicator, { children: /* @__PURE__ */ o(V, { className: "h-2 w-2 fill-current" }) }) }),
|
|
533
414
|
a
|
|
534
415
|
]
|
|
535
416
|
}
|
|
536
417
|
));
|
|
537
|
-
|
|
538
|
-
const
|
|
539
|
-
|
|
540
|
-
const
|
|
541
|
-
|
|
542
|
-
const
|
|
543
|
-
|
|
544
|
-
const
|
|
545
|
-
|
|
546
|
-
const
|
|
547
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
418
|
+
ma.displayName = c.RadioItem.displayName;
|
|
419
|
+
const ua = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(c.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold text-foreground", a && "pl-8", e), ...t }));
|
|
420
|
+
ua.displayName = c.Label.displayName;
|
|
421
|
+
const fa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(c.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-border", e), ...a }));
|
|
422
|
+
fa.displayName = c.Separator.displayName;
|
|
423
|
+
const pa = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
|
|
424
|
+
pa.displayName = "ContextMenuShortcut";
|
|
425
|
+
const ga = ({ shouldScaleBackground: e = !0, ...a }) => /* @__PURE__ */ o(y.Root, { shouldScaleBackground: e, ...a });
|
|
426
|
+
ga.displayName = "Drawer";
|
|
427
|
+
const co = y.Trigger, ba = y.Portal, mo = y.Close, Z = s.forwardRef(
|
|
428
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o(y.Overlay, { ref: t, className: r("fixed inset-0 z-50 bg-black/80", e), ...a })
|
|
548
429
|
);
|
|
549
|
-
|
|
550
|
-
const
|
|
551
|
-
({ className: e, children: a, ...t }, n) => /* @__PURE__ */
|
|
552
|
-
/* @__PURE__ */ o(
|
|
553
|
-
/* @__PURE__ */
|
|
554
|
-
|
|
430
|
+
Z.displayName = y.Overlay.displayName;
|
|
431
|
+
const Na = s.forwardRef(
|
|
432
|
+
({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(ba, { children: [
|
|
433
|
+
/* @__PURE__ */ o(Z, {}),
|
|
434
|
+
/* @__PURE__ */ u(
|
|
435
|
+
y.Content,
|
|
555
436
|
{
|
|
556
437
|
ref: n,
|
|
557
438
|
className: r("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-surface border bg-background", e),
|
|
@@ -564,19 +445,19 @@ const Ga = s.forwardRef(
|
|
|
564
445
|
)
|
|
565
446
|
] })
|
|
566
447
|
);
|
|
567
|
-
|
|
568
|
-
const
|
|
569
|
-
|
|
570
|
-
const
|
|
571
|
-
|
|
572
|
-
const
|
|
573
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
448
|
+
Na.displayName = "DrawerContent";
|
|
449
|
+
const xa = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("grid gap-1.5 p-4 text-center sm:text-left", e), ...a });
|
|
450
|
+
xa.displayName = "DrawerHeader";
|
|
451
|
+
const ya = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: r("mt-auto flex flex-col gap-2 p-4", e), ...a });
|
|
452
|
+
ya.displayName = "DrawerFooter";
|
|
453
|
+
const va = s.forwardRef(
|
|
454
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o(y.Title, { ref: t, className: r("text-lg font-semibold leading-none tracking-tight", e), ...a })
|
|
574
455
|
);
|
|
575
|
-
|
|
576
|
-
const
|
|
577
|
-
|
|
578
|
-
const
|
|
579
|
-
|
|
456
|
+
va.displayName = y.Title.displayName;
|
|
457
|
+
const ha = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(y.Description, { ref: t, className: r("text-sm text-muted-foreground", e), ...a }));
|
|
458
|
+
ha.displayName = y.Description.displayName;
|
|
459
|
+
const uo = m.Root, fo = m.Trigger, po = m.Group, go = m.Portal, bo = m.Sub, No = m.RadioGroup, wa = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /* @__PURE__ */ u(
|
|
460
|
+
m.SubTrigger,
|
|
580
461
|
{
|
|
581
462
|
ref: i,
|
|
582
463
|
className: r(
|
|
@@ -587,13 +468,13 @@ const _o = u.Root, Go = u.Trigger, Bo = u.Group, Oo = u.Portal, Ho = u.Sub, Vo =
|
|
|
587
468
|
...n,
|
|
588
469
|
children: [
|
|
589
470
|
t,
|
|
590
|
-
/* @__PURE__ */ o(
|
|
471
|
+
/* @__PURE__ */ o(K, { className: "ml-auto size-4" })
|
|
591
472
|
]
|
|
592
473
|
}
|
|
593
474
|
));
|
|
594
|
-
|
|
595
|
-
const
|
|
596
|
-
|
|
475
|
+
wa.displayName = m.SubTrigger.displayName;
|
|
476
|
+
const Ra = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
477
|
+
m.SubContent,
|
|
597
478
|
{
|
|
598
479
|
ref: t,
|
|
599
480
|
className: r(
|
|
@@ -603,9 +484,9 @@ const $a = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
|
603
484
|
...a
|
|
604
485
|
}
|
|
605
486
|
));
|
|
606
|
-
|
|
607
|
-
const
|
|
608
|
-
|
|
487
|
+
Ra.displayName = m.SubContent.displayName;
|
|
488
|
+
const Ca = s.forwardRef(({ className: e, sideOffset: a = 4, ...t }, n) => /* @__PURE__ */ o(m.Portal, { children: /* @__PURE__ */ o(
|
|
489
|
+
m.Content,
|
|
609
490
|
{
|
|
610
491
|
ref: n,
|
|
611
492
|
sideOffset: a,
|
|
@@ -616,9 +497,9 @@ const qa = s.forwardRef(({ className: e, sideOffset: a = 4, ...t }, n) => /* @__
|
|
|
616
497
|
...t
|
|
617
498
|
}
|
|
618
499
|
) }));
|
|
619
|
-
|
|
620
|
-
const
|
|
621
|
-
|
|
500
|
+
Ca.displayName = m.Content.displayName;
|
|
501
|
+
const Ia = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
|
|
502
|
+
m.Item,
|
|
622
503
|
{
|
|
623
504
|
ref: n,
|
|
624
505
|
className: r(
|
|
@@ -629,9 +510,9 @@ const Ka = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */
|
|
|
629
510
|
...t
|
|
630
511
|
}
|
|
631
512
|
));
|
|
632
|
-
|
|
633
|
-
const
|
|
634
|
-
|
|
513
|
+
Ia.displayName = m.Item.displayName;
|
|
514
|
+
const Sa = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) => /* @__PURE__ */ u(
|
|
515
|
+
m.CheckboxItem,
|
|
635
516
|
{
|
|
636
517
|
ref: i,
|
|
637
518
|
className: r(
|
|
@@ -641,14 +522,14 @@ const Xa = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) =>
|
|
|
641
522
|
checked: t,
|
|
642
523
|
...n,
|
|
643
524
|
children: [
|
|
644
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
525
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(m.ItemIndicator, { children: /* @__PURE__ */ o($, { className: "size-4" }) }) }),
|
|
645
526
|
a
|
|
646
527
|
]
|
|
647
528
|
}
|
|
648
529
|
));
|
|
649
|
-
|
|
650
|
-
const
|
|
651
|
-
|
|
530
|
+
Sa.displayName = m.CheckboxItem.displayName;
|
|
531
|
+
const Ta = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(
|
|
532
|
+
m.RadioItem,
|
|
652
533
|
{
|
|
653
534
|
ref: n,
|
|
654
535
|
className: r(
|
|
@@ -657,73 +538,73 @@ const Ja = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
|
|
|
657
538
|
),
|
|
658
539
|
...t,
|
|
659
540
|
children: [
|
|
660
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
541
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(m.ItemIndicator, { children: /* @__PURE__ */ o(Ne, { className: "h-2 w-2 fill-current" }) }) }),
|
|
661
542
|
a
|
|
662
543
|
]
|
|
663
544
|
}
|
|
664
545
|
));
|
|
665
|
-
|
|
666
|
-
const
|
|
667
|
-
|
|
668
|
-
const
|
|
669
|
-
|
|
670
|
-
const
|
|
671
|
-
|
|
672
|
-
const
|
|
673
|
-
|
|
674
|
-
const
|
|
546
|
+
Ta.displayName = m.RadioItem.displayName;
|
|
547
|
+
const Pa = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(m.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold", a === !0 && "pl-8", e), ...t }));
|
|
548
|
+
Pa.displayName = m.Label.displayName;
|
|
549
|
+
const ka = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(m.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-muted", e), ...a }));
|
|
550
|
+
ka.displayName = m.Separator.displayName;
|
|
551
|
+
const za = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest opacity-60", e), ...a });
|
|
552
|
+
za.displayName = "DropdownMenuShortcut";
|
|
553
|
+
const Ma = z("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), ee = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(Te.Root, { ref: t, className: r(Ma(), e), ...a }));
|
|
554
|
+
ee.displayName = "Label";
|
|
555
|
+
const xo = Ie, ae = s.createContext({}), yo = ({
|
|
675
556
|
...e
|
|
676
|
-
}) => /* @__PURE__ */ o(
|
|
677
|
-
const e = s.useContext(
|
|
557
|
+
}) => /* @__PURE__ */ o(ae.Provider, { value: { name: e.name }, children: /* @__PURE__ */ o(Se, { ...e }) }), j = () => {
|
|
558
|
+
const e = s.useContext(ae), a = s.useContext(te), { getFieldState: t, formState: n } = Ce(), i = t(e.name, n);
|
|
678
559
|
if (!e)
|
|
679
560
|
throw new Error("useFormField should be used within <FormField>");
|
|
680
|
-
const { id:
|
|
561
|
+
const { id: d } = a;
|
|
681
562
|
return {
|
|
682
|
-
id:
|
|
563
|
+
id: d,
|
|
683
564
|
name: e.name,
|
|
684
|
-
formItemId: `${
|
|
685
|
-
formDescriptionId: `${
|
|
686
|
-
formMessageId: `${
|
|
565
|
+
formItemId: `${d}-form-item`,
|
|
566
|
+
formDescriptionId: `${d}-form-item-description`,
|
|
567
|
+
formMessageId: `${d}-form-item-message`,
|
|
687
568
|
...i
|
|
688
569
|
};
|
|
689
|
-
},
|
|
570
|
+
}, te = s.createContext({}), Da = s.forwardRef(({ className: e, ...a }, t) => {
|
|
690
571
|
const n = s.useId();
|
|
691
|
-
return /* @__PURE__ */ o(
|
|
572
|
+
return /* @__PURE__ */ o(te.Provider, { value: { id: n }, children: /* @__PURE__ */ o("div", { ref: t, className: r("space-y-2", e), ...a }) });
|
|
692
573
|
});
|
|
693
|
-
|
|
694
|
-
const
|
|
574
|
+
Da.displayName = "FormItem";
|
|
575
|
+
const Aa = s.forwardRef(
|
|
695
576
|
({ className: e, ...a }, t) => {
|
|
696
|
-
const { error: n, formItemId: i } =
|
|
697
|
-
return /* @__PURE__ */ o(
|
|
577
|
+
const { error: n, formItemId: i } = j();
|
|
578
|
+
return /* @__PURE__ */ o(ee, { ref: t, className: r(n && "text-destructive", e), htmlFor: i, ...a });
|
|
698
579
|
}
|
|
699
580
|
);
|
|
700
|
-
|
|
701
|
-
const
|
|
702
|
-
const { error: t, formItemId: n, formDescriptionId: i, formMessageId:
|
|
581
|
+
Aa.displayName = "FormLabel";
|
|
582
|
+
const Fa = s.forwardRef(({ ...e }, a) => {
|
|
583
|
+
const { error: t, formItemId: n, formDescriptionId: i, formMessageId: d } = j();
|
|
703
584
|
return /* @__PURE__ */ o(
|
|
704
585
|
W,
|
|
705
586
|
{
|
|
706
587
|
ref: a,
|
|
707
588
|
id: n,
|
|
708
|
-
"aria-describedby": t ? `${i} ${
|
|
589
|
+
"aria-describedby": t ? `${i} ${d}` : `${i}`,
|
|
709
590
|
"aria-invalid": !!t,
|
|
710
591
|
...e
|
|
711
592
|
}
|
|
712
593
|
);
|
|
713
594
|
});
|
|
714
|
-
|
|
715
|
-
const
|
|
716
|
-
const { formDescriptionId: n } =
|
|
595
|
+
Fa.displayName = "FormControl";
|
|
596
|
+
const ja = s.forwardRef(({ className: e, ...a }, t) => {
|
|
597
|
+
const { formDescriptionId: n } = j();
|
|
717
598
|
return /* @__PURE__ */ o("p", { ref: t, id: n, className: r("text-sm text-muted-foreground", e), ...a });
|
|
718
599
|
});
|
|
719
|
-
|
|
720
|
-
const
|
|
721
|
-
const { error: i, formMessageId:
|
|
722
|
-
return p ? /* @__PURE__ */ o("p", { ref: n, id:
|
|
600
|
+
ja.displayName = "FormDescription";
|
|
601
|
+
const La = s.forwardRef(({ className: e, children: a, ...t }, n) => {
|
|
602
|
+
const { error: i, formMessageId: d } = j(), p = i ? String(i == null ? void 0 : i.message) : a;
|
|
603
|
+
return p ? /* @__PURE__ */ o("p", { ref: n, id: d, className: r("text-sm font-medium text-destructive", e), ...t, children: p }) : null;
|
|
723
604
|
});
|
|
724
|
-
|
|
725
|
-
const
|
|
726
|
-
|
|
605
|
+
La.displayName = "FormMessage";
|
|
606
|
+
const vo = D.Root, ho = D.Trigger, Ga = s.forwardRef(({ className: e, align: a = "center", sideOffset: t = 4, ...n }, i) => /* @__PURE__ */ o(
|
|
607
|
+
D.Content,
|
|
727
608
|
{
|
|
728
609
|
ref: i,
|
|
729
610
|
align: a,
|
|
@@ -735,10 +616,10 @@ const qo = A.Root, Ko = A.Trigger, rt = s.forwardRef(({ className: e, align: a =
|
|
|
735
616
|
...n
|
|
736
617
|
}
|
|
737
618
|
));
|
|
738
|
-
|
|
739
|
-
const
|
|
619
|
+
Ga.displayName = D.Content.displayName;
|
|
620
|
+
const Ba = s.forwardRef(
|
|
740
621
|
({ className: e, containerClassName: a, ...t }, n) => /* @__PURE__ */ o(
|
|
741
|
-
|
|
622
|
+
Pe,
|
|
742
623
|
{
|
|
743
624
|
ref: n,
|
|
744
625
|
containerClassName: r("flex items-center gap-2 has-[:disabled]:opacity-50", a),
|
|
@@ -747,38 +628,38 @@ const st = s.forwardRef(
|
|
|
747
628
|
}
|
|
748
629
|
)
|
|
749
630
|
);
|
|
750
|
-
|
|
751
|
-
const
|
|
752
|
-
|
|
753
|
-
const
|
|
631
|
+
Ba.displayName = "InputOTP";
|
|
632
|
+
const Oa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { ref: t, className: r("flex items-center", e), ...a }));
|
|
633
|
+
Oa.displayName = "InputOTPGroup";
|
|
634
|
+
const Ha = s.forwardRef(
|
|
754
635
|
({ index: e, className: a, ...t }, n) => {
|
|
755
|
-
const i = s.useContext(
|
|
756
|
-
return /* @__PURE__ */
|
|
636
|
+
const i = s.useContext(ke), { char: d, hasFakeCaret: p, isActive: x } = i.slots[e];
|
|
637
|
+
return /* @__PURE__ */ u(
|
|
757
638
|
"div",
|
|
758
639
|
{
|
|
759
640
|
ref: n,
|
|
760
641
|
className: r(
|
|
761
642
|
"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",
|
|
762
|
-
|
|
643
|
+
x && "z-10 ring-2 ring-ring ring-offset-background",
|
|
763
644
|
a
|
|
764
645
|
),
|
|
765
646
|
...t,
|
|
766
647
|
children: [
|
|
767
|
-
|
|
648
|
+
d,
|
|
768
649
|
p && /* @__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" }) })
|
|
769
650
|
]
|
|
770
651
|
}
|
|
771
652
|
);
|
|
772
653
|
}
|
|
773
654
|
);
|
|
774
|
-
|
|
775
|
-
const
|
|
776
|
-
|
|
777
|
-
const
|
|
655
|
+
Ha.displayName = "InputOTPSlot";
|
|
656
|
+
const Va = s.forwardRef(({ ...e }, a) => /* @__PURE__ */ o("div", { ref: a, role: "separator", ...e, children: /* @__PURE__ */ o(xe, {}) }));
|
|
657
|
+
Va.displayName = "InputOTPSeparator";
|
|
658
|
+
const wo = l.Menu, Ro = l.Group, Co = l.Portal, Io = l.Sub, So = l.RadioGroup, _a = s.forwardRef(
|
|
778
659
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(l.Root, { ref: t, className: r("flex h-10 items-center space-x-1 rounded-surface border bg-background p-1", e), ...a })
|
|
779
660
|
);
|
|
780
|
-
|
|
781
|
-
const
|
|
661
|
+
_a.displayName = l.Root.displayName;
|
|
662
|
+
const Ea = s.forwardRef(
|
|
782
663
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
783
664
|
l.Trigger,
|
|
784
665
|
{
|
|
@@ -791,8 +672,8 @@ const ct = s.forwardRef(
|
|
|
791
672
|
}
|
|
792
673
|
)
|
|
793
674
|
);
|
|
794
|
-
|
|
795
|
-
const
|
|
675
|
+
Ea.displayName = l.Trigger.displayName;
|
|
676
|
+
const $a = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /* @__PURE__ */ u(
|
|
796
677
|
l.SubTrigger,
|
|
797
678
|
{
|
|
798
679
|
ref: i,
|
|
@@ -804,12 +685,12 @@ const mt = s.forwardRef(({ className: e, inset: a, children: t, ...n }, i) => /*
|
|
|
804
685
|
...n,
|
|
805
686
|
children: [
|
|
806
687
|
t,
|
|
807
|
-
/* @__PURE__ */ o(
|
|
688
|
+
/* @__PURE__ */ o(M, { className: "ml-auto size-4" })
|
|
808
689
|
]
|
|
809
690
|
}
|
|
810
691
|
));
|
|
811
|
-
|
|
812
|
-
const
|
|
692
|
+
$a.displayName = l.SubTrigger.displayName;
|
|
693
|
+
const qa = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
813
694
|
l.SubContent,
|
|
814
695
|
{
|
|
815
696
|
ref: t,
|
|
@@ -820,12 +701,12 @@ const ut = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
|
820
701
|
...a
|
|
821
702
|
}
|
|
822
703
|
));
|
|
823
|
-
|
|
824
|
-
const
|
|
825
|
-
({ className: e, align: a = "start", alignOffset: t = -4, sideOffset: n = 8, ...i },
|
|
704
|
+
qa.displayName = l.SubContent.displayName;
|
|
705
|
+
const Ka = s.forwardRef(
|
|
706
|
+
({ className: e, align: a = "start", alignOffset: t = -4, sideOffset: n = 8, ...i }, d) => /* @__PURE__ */ o(l.Portal, { children: /* @__PURE__ */ o(
|
|
826
707
|
l.Content,
|
|
827
708
|
{
|
|
828
|
-
ref:
|
|
709
|
+
ref: d,
|
|
829
710
|
align: a,
|
|
830
711
|
alignOffset: t,
|
|
831
712
|
sideOffset: n,
|
|
@@ -837,8 +718,8 @@ const ft = s.forwardRef(
|
|
|
837
718
|
}
|
|
838
719
|
) })
|
|
839
720
|
);
|
|
840
|
-
|
|
841
|
-
const
|
|
721
|
+
Ka.displayName = l.Content.displayName;
|
|
722
|
+
const Xa = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
|
|
842
723
|
l.Item,
|
|
843
724
|
{
|
|
844
725
|
ref: n,
|
|
@@ -850,8 +731,8 @@ const pt = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */
|
|
|
850
731
|
...t
|
|
851
732
|
}
|
|
852
733
|
));
|
|
853
|
-
|
|
854
|
-
const
|
|
734
|
+
Xa.displayName = l.Item.displayName;
|
|
735
|
+
const Wa = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) => /* @__PURE__ */ u(
|
|
855
736
|
l.CheckboxItem,
|
|
856
737
|
{
|
|
857
738
|
ref: i,
|
|
@@ -862,13 +743,13 @@ const gt = s.forwardRef(({ className: e, children: a, checked: t, ...n }, i) =>
|
|
|
862
743
|
checked: t,
|
|
863
744
|
...n,
|
|
864
745
|
children: [
|
|
865
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(
|
|
746
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(q, { className: "size-4" }) }) }),
|
|
866
747
|
a
|
|
867
748
|
]
|
|
868
749
|
}
|
|
869
750
|
));
|
|
870
|
-
|
|
871
|
-
const
|
|
751
|
+
Wa.displayName = l.CheckboxItem.displayName;
|
|
752
|
+
const Ja = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(
|
|
872
753
|
l.RadioItem,
|
|
873
754
|
{
|
|
874
755
|
ref: n,
|
|
@@ -878,35 +759,35 @@ const bt = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
|
|
|
878
759
|
),
|
|
879
760
|
...t,
|
|
880
761
|
children: [
|
|
881
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(
|
|
762
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(V, { className: "h-2 w-2 fill-current" }) }) }),
|
|
882
763
|
a
|
|
883
764
|
]
|
|
884
765
|
}
|
|
885
766
|
));
|
|
886
|
-
|
|
887
|
-
const
|
|
888
|
-
|
|
889
|
-
const
|
|
890
|
-
|
|
891
|
-
const
|
|
892
|
-
|
|
893
|
-
const
|
|
767
|
+
Ja.displayName = l.RadioItem.displayName;
|
|
768
|
+
const Qa = s.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(l.Label, { ref: n, className: r("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e), ...t }));
|
|
769
|
+
Qa.displayName = l.Label.displayName;
|
|
770
|
+
const Ua = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(l.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-muted", e), ...a }));
|
|
771
|
+
Ua.displayName = l.Separator.displayName;
|
|
772
|
+
const Ya = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
|
|
773
|
+
Ya.displayname = "MenubarShortcut";
|
|
774
|
+
const Za = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(b.Root, { ref: n, className: r("relative z-10 flex max-w-max flex-1 items-center justify-center", e), ...t, children: [
|
|
894
775
|
a,
|
|
895
|
-
/* @__PURE__ */ o(
|
|
776
|
+
/* @__PURE__ */ o(oe, {})
|
|
896
777
|
] }));
|
|
897
|
-
|
|
898
|
-
const
|
|
899
|
-
|
|
900
|
-
const
|
|
778
|
+
Za.displayName = b.Root.displayName;
|
|
779
|
+
const et = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(b.List, { ref: t, className: r("group flex flex-1 list-none items-center justify-center space-x-1", e), ...a }));
|
|
780
|
+
et.displayName = b.List.displayName;
|
|
781
|
+
const To = b.Item, at = z(
|
|
901
782
|
"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"
|
|
902
|
-
),
|
|
783
|
+
), tt = s.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(b.Trigger, { ref: n, className: r(at(), "group", e), ...t, children: [
|
|
903
784
|
a,
|
|
904
785
|
" ",
|
|
905
|
-
/* @__PURE__ */ o(
|
|
786
|
+
/* @__PURE__ */ o(E, { className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180", "aria-hidden": "true" })
|
|
906
787
|
] }));
|
|
907
|
-
|
|
908
|
-
const
|
|
909
|
-
|
|
788
|
+
tt.displayName = b.Trigger.displayName;
|
|
789
|
+
const ot = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
790
|
+
b.Content,
|
|
910
791
|
{
|
|
911
792
|
ref: t,
|
|
912
793
|
className: r(
|
|
@@ -916,9 +797,9 @@ const Ct = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
|
916
797
|
...a
|
|
917
798
|
}
|
|
918
799
|
));
|
|
919
|
-
|
|
920
|
-
const
|
|
921
|
-
|
|
800
|
+
ot.displayName = b.Content.displayName;
|
|
801
|
+
const Po = b.Link, oe = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("div", { className: r("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ o(
|
|
802
|
+
b.Viewport,
|
|
922
803
|
{
|
|
923
804
|
className: r(
|
|
924
805
|
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-surface border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
@@ -928,9 +809,9 @@ const Zo = N.Link, de = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__
|
|
|
928
809
|
...a
|
|
929
810
|
}
|
|
930
811
|
) }));
|
|
931
|
-
|
|
932
|
-
const
|
|
933
|
-
|
|
812
|
+
oe.displayName = b.Viewport.displayName;
|
|
813
|
+
const rt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
814
|
+
b.Indicator,
|
|
934
815
|
{
|
|
935
816
|
ref: t,
|
|
936
817
|
className: r(
|
|
@@ -941,19 +822,19 @@ const kt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
|
941
822
|
children: /* @__PURE__ */ o("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
942
823
|
}
|
|
943
824
|
));
|
|
944
|
-
|
|
945
|
-
const
|
|
946
|
-
|
|
947
|
-
const
|
|
948
|
-
|
|
949
|
-
const
|
|
950
|
-
|
|
951
|
-
const
|
|
825
|
+
rt.displayName = b.Indicator.displayName;
|
|
826
|
+
const st = ({ className: e, ...a }) => /* @__PURE__ */ o("nav", { role: "navigation", "aria-label": "pagination", className: r("mx-auto flex w-full justify-center", e), ...a });
|
|
827
|
+
st.displayName = "Pagination";
|
|
828
|
+
const nt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("ul", { ref: t, className: r("flex flex-row items-center gap-1", e), ...a }));
|
|
829
|
+
nt.displayName = "PaginationContent";
|
|
830
|
+
const it = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("li", { ref: t, className: r("", e), ...a }));
|
|
831
|
+
it.displayName = "PaginationItem";
|
|
832
|
+
const _ = ({ className: e, isActive: a, size: t = "icon", ...n }) => /* @__PURE__ */ o(
|
|
952
833
|
"a",
|
|
953
834
|
{
|
|
954
835
|
"aria-current": a ? "page" : void 0,
|
|
955
836
|
className: r(
|
|
956
|
-
|
|
837
|
+
C({
|
|
957
838
|
variant: a ? "outline" : "ghost",
|
|
958
839
|
size: t
|
|
959
840
|
}),
|
|
@@ -962,25 +843,25 @@ const $ = ({ className: e, isActive: a, size: t = "icon", ...n }) => /* @__PURE_
|
|
|
962
843
|
...n
|
|
963
844
|
}
|
|
964
845
|
);
|
|
965
|
-
|
|
966
|
-
const
|
|
967
|
-
/* @__PURE__ */ o(
|
|
846
|
+
_.displayName = "PaginationLink";
|
|
847
|
+
const lt = ({ className: e, label: a = "Previous", ...t }) => /* @__PURE__ */ u(_, { "aria-label": "Go to previous page", size: "default", className: r("gap-1 pl-2.5", e), ...t, children: [
|
|
848
|
+
/* @__PURE__ */ o(ve, { className: "size-4" }),
|
|
968
849
|
/* @__PURE__ */ o("span", { children: a })
|
|
969
850
|
] });
|
|
970
|
-
|
|
971
|
-
const
|
|
851
|
+
lt.displayName = "PaginationPrevious";
|
|
852
|
+
const dt = ({ className: e, label: a = "Next", ...t }) => /* @__PURE__ */ u(_, { "aria-label": "Go to next page", size: "default", className: r("gap-1 pr-2.5", e), ...t, children: [
|
|
972
853
|
/* @__PURE__ */ o("span", { children: a }),
|
|
973
|
-
/* @__PURE__ */ o(
|
|
854
|
+
/* @__PURE__ */ o(K, { className: "size-4" })
|
|
974
855
|
] });
|
|
975
|
-
|
|
976
|
-
const
|
|
977
|
-
/* @__PURE__ */ o(
|
|
856
|
+
dt.displayName = "PaginationNext";
|
|
857
|
+
const ct = ({ className: e, ...a }) => /* @__PURE__ */ u("span", { "aria-hidden": !0, className: r("flex h-9 w-9 items-center justify-center", e), ...a, children: [
|
|
858
|
+
/* @__PURE__ */ o(ye, { className: "size-4" }),
|
|
978
859
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "More pages" })
|
|
979
860
|
] });
|
|
980
|
-
|
|
981
|
-
const
|
|
982
|
-
({ className: e, align: a = "center", sideOffset: t = 4, ...n }, i) => /* @__PURE__ */ o(
|
|
983
|
-
|
|
861
|
+
ct.displayName = "PaginationEllipsis";
|
|
862
|
+
const ko = P.Root, zo = P.Trigger, mt = s.forwardRef(
|
|
863
|
+
({ className: e, align: a = "center", sideOffset: t = 4, ...n }, i) => /* @__PURE__ */ o(P.Portal, { children: /* @__PURE__ */ o(
|
|
864
|
+
P.Content,
|
|
984
865
|
{
|
|
985
866
|
ref: i,
|
|
986
867
|
align: a,
|
|
@@ -993,24 +874,24 @@ const er = z.Root, ar = z.Trigger, Mt = s.forwardRef(
|
|
|
993
874
|
}
|
|
994
875
|
) })
|
|
995
876
|
);
|
|
996
|
-
|
|
997
|
-
const
|
|
998
|
-
({ className: e, value: a, indeterminate: t = !1, ...n }, i) => /* @__PURE__ */ o(
|
|
999
|
-
|
|
877
|
+
mt.displayName = P.Content.displayName;
|
|
878
|
+
const ut = s.forwardRef(
|
|
879
|
+
({ className: e, value: a, indeterminate: t = !1, ...n }, i) => /* @__PURE__ */ o(O.Root, { ref: i, className: r("relative h-4 w-full overflow-hidden rounded-full bg-secondary", e), ...n, children: /* @__PURE__ */ o(
|
|
880
|
+
O.Indicator,
|
|
1000
881
|
{
|
|
1001
882
|
className: r("h-full w-full flex-1 bg-primary transition-all", t && "animate-progress origin-left"),
|
|
1002
883
|
style: t ? void 0 : { transform: `translateX(-${(100 - (a ?? 0)).toString()}%)` }
|
|
1003
884
|
}
|
|
1004
885
|
) })
|
|
1005
886
|
);
|
|
1006
|
-
|
|
1007
|
-
const
|
|
1008
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
887
|
+
ut.displayName = O.Root.displayName;
|
|
888
|
+
const ft = s.forwardRef(
|
|
889
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o(k.Root, { className: r("grid gap-2", e), ...a, ref: t })
|
|
1009
890
|
);
|
|
1010
|
-
|
|
1011
|
-
const
|
|
891
|
+
ft.displayName = k.Root.displayName;
|
|
892
|
+
const pt = s.forwardRef(
|
|
1012
893
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1013
|
-
|
|
894
|
+
k.Item,
|
|
1014
895
|
{
|
|
1015
896
|
ref: t,
|
|
1016
897
|
className: r(
|
|
@@ -1018,21 +899,21 @@ const Lt = s.forwardRef(
|
|
|
1018
899
|
e
|
|
1019
900
|
),
|
|
1020
901
|
...a,
|
|
1021
|
-
children: /* @__PURE__ */ o(
|
|
902
|
+
children: /* @__PURE__ */ o(k.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ o(V, { className: "h-2.5 w-2.5 fill-current text-current" }) })
|
|
1022
903
|
}
|
|
1023
904
|
)
|
|
1024
905
|
);
|
|
1025
|
-
|
|
1026
|
-
const
|
|
1027
|
-
({ className: e, children: a, ...t }, n) => /* @__PURE__ */
|
|
1028
|
-
/* @__PURE__ */ o(
|
|
1029
|
-
/* @__PURE__ */ o(
|
|
1030
|
-
/* @__PURE__ */ o(
|
|
906
|
+
pt.displayName = k.Item.displayName;
|
|
907
|
+
const gt = s.forwardRef(
|
|
908
|
+
({ className: e, children: a, ...t }, n) => /* @__PURE__ */ u(h.Root, { ref: n, className: r("relative overflow-hidden", e), ...t, children: [
|
|
909
|
+
/* @__PURE__ */ o(h.Viewport, { className: "h-full w-full rounded-[inherit]", children: a }),
|
|
910
|
+
/* @__PURE__ */ o(re, {}),
|
|
911
|
+
/* @__PURE__ */ o(h.Corner, {})
|
|
1031
912
|
] })
|
|
1032
913
|
);
|
|
1033
|
-
|
|
1034
|
-
const
|
|
1035
|
-
|
|
914
|
+
gt.displayName = h.Root.displayName;
|
|
915
|
+
const re = s.forwardRef(({ className: e, orientation: a = "vertical", ...t }, n) => /* @__PURE__ */ o(
|
|
916
|
+
h.ScrollAreaScrollbar,
|
|
1036
917
|
{
|
|
1037
918
|
ref: n,
|
|
1038
919
|
orientation: a,
|
|
@@ -1043,13 +924,13 @@ const le = s.forwardRef(({ className: e, orientation: a = "vertical", ...t }, n)
|
|
|
1043
924
|
e
|
|
1044
925
|
),
|
|
1045
926
|
...t,
|
|
1046
|
-
children: /* @__PURE__ */ o(
|
|
927
|
+
children: /* @__PURE__ */ o(h.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
1047
928
|
}
|
|
1048
929
|
));
|
|
1049
|
-
|
|
1050
|
-
const
|
|
930
|
+
re.displayName = h.ScrollAreaScrollbar.displayName;
|
|
931
|
+
const bt = s.forwardRef(
|
|
1051
932
|
({ className: e, orientation: a = "horizontal", decorative: t = !0, ...n }, i) => /* @__PURE__ */ o(
|
|
1052
|
-
|
|
933
|
+
J.Root,
|
|
1053
934
|
{
|
|
1054
935
|
ref: i,
|
|
1055
936
|
decorative: t,
|
|
@@ -1059,33 +940,33 @@ const _t = s.forwardRef(
|
|
|
1059
940
|
}
|
|
1060
941
|
)
|
|
1061
942
|
);
|
|
1062
|
-
|
|
1063
|
-
const
|
|
1064
|
-
|
|
1065
|
-
const
|
|
1066
|
-
|
|
1067
|
-
const
|
|
1068
|
-
|
|
1069
|
-
const
|
|
1070
|
-
|
|
1071
|
-
const
|
|
1072
|
-
|
|
1073
|
-
const
|
|
1074
|
-
|
|
1075
|
-
const
|
|
1076
|
-
|
|
1077
|
-
const
|
|
1078
|
-
|
|
1079
|
-
const
|
|
1080
|
-
({ className: e, ...a }, t) => /* @__PURE__ */
|
|
1081
|
-
/* @__PURE__ */ o(
|
|
1082
|
-
/* @__PURE__ */ o(
|
|
943
|
+
bt.displayName = J.Root.displayName;
|
|
944
|
+
const Nt = s.forwardRef(({ className: e, ...a }, 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", e), ...a }) }));
|
|
945
|
+
Nt.displayName = "SimpleTable";
|
|
946
|
+
const xt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("thead", { ref: t, className: r("[&_tr]:border-b", e), ...a }));
|
|
947
|
+
xt.displayName = "SimpleTableHeader";
|
|
948
|
+
const yt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tbody", { ref: t, className: r("[&_tr:last-child]:border-0", e), ...a }));
|
|
949
|
+
yt.displayName = "SimpleTableBody";
|
|
950
|
+
const vt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tfoot", { ref: t, className: r("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e), ...a }));
|
|
951
|
+
vt.displayName = "SimpleTableFooter";
|
|
952
|
+
const ht = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("tr", { ref: t, className: r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", e), ...a }));
|
|
953
|
+
ht.displayName = "SimpleTableRow";
|
|
954
|
+
const wt = s.forwardRef(({ className: e, ...a }, 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", e), ...a }));
|
|
955
|
+
wt.displayName = "SimpleTableHead";
|
|
956
|
+
const Rt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("td", { ref: t, className: r("p-4 align-middle [&:has([role=checkbox])]:pr-0", e), ...a }));
|
|
957
|
+
Rt.displayName = "SimpleTableCell";
|
|
958
|
+
const Ct = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o("caption", { ref: t, className: r("mt-4 text-sm text-muted-foreground", e), ...a }));
|
|
959
|
+
Ct.displayName = "SimpleTableCaption";
|
|
960
|
+
const It = s.forwardRef(
|
|
961
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ u(T.Root, { ref: t, className: r("relative flex w-full touch-none select-none items-center", e), ...a, children: [
|
|
962
|
+
/* @__PURE__ */ o(T.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ o(T.Range, { className: "absolute h-full bg-primary" }) }),
|
|
963
|
+
/* @__PURE__ */ o(T.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" })
|
|
1083
964
|
] })
|
|
1084
965
|
);
|
|
1085
|
-
|
|
1086
|
-
const
|
|
966
|
+
It.displayName = T.Root.displayName;
|
|
967
|
+
const St = s.forwardRef(
|
|
1087
968
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1088
|
-
|
|
969
|
+
H.Root,
|
|
1089
970
|
{
|
|
1090
971
|
className: r(
|
|
1091
972
|
"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
@@ -1094,7 +975,7 @@ const Xt = s.forwardRef(
|
|
|
1094
975
|
...a,
|
|
1095
976
|
ref: t,
|
|
1096
977
|
children: /* @__PURE__ */ o(
|
|
1097
|
-
|
|
978
|
+
H.Thumb,
|
|
1098
979
|
{
|
|
1099
980
|
className: r(
|
|
1100
981
|
"pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
@@ -1104,19 +985,19 @@ const Xt = s.forwardRef(
|
|
|
1104
985
|
}
|
|
1105
986
|
)
|
|
1106
987
|
);
|
|
1107
|
-
|
|
1108
|
-
const
|
|
988
|
+
St.displayName = H.Root.displayName;
|
|
989
|
+
const Mo = R.Root, Tt = s.forwardRef(
|
|
1109
990
|
({ className: e, style: a, ...t }, n) => {
|
|
1110
|
-
const i = s.useRef(null),
|
|
1111
|
-
(
|
|
1112
|
-
i.current =
|
|
991
|
+
const i = s.useRef(null), d = s.useCallback(
|
|
992
|
+
(x) => {
|
|
993
|
+
i.current = x, typeof n == "function" ? n(x) : n && (n.current = x);
|
|
1113
994
|
},
|
|
1114
995
|
[n]
|
|
1115
|
-
), p =
|
|
996
|
+
), p = ze(i);
|
|
1116
997
|
return /* @__PURE__ */ o(
|
|
1117
|
-
|
|
998
|
+
R.List,
|
|
1118
999
|
{
|
|
1119
|
-
ref:
|
|
1000
|
+
ref: d,
|
|
1120
1001
|
style: { ...a, ...p },
|
|
1121
1002
|
className: r(
|
|
1122
1003
|
// Les onglets qui ne tiennent pas dans la largeur défilent dans la liste au lieu d'élargir
|
|
@@ -1132,10 +1013,10 @@ const tr = k.Root, Jt = s.forwardRef(
|
|
|
1132
1013
|
);
|
|
1133
1014
|
}
|
|
1134
1015
|
);
|
|
1135
|
-
|
|
1136
|
-
const
|
|
1016
|
+
Tt.displayName = R.List.displayName;
|
|
1017
|
+
const Pt = s.forwardRef(
|
|
1137
1018
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1138
|
-
|
|
1019
|
+
R.Trigger,
|
|
1139
1020
|
{
|
|
1140
1021
|
ref: t,
|
|
1141
1022
|
className: r(
|
|
@@ -1146,10 +1027,10 @@ const Qt = s.forwardRef(
|
|
|
1146
1027
|
}
|
|
1147
1028
|
)
|
|
1148
1029
|
);
|
|
1149
|
-
|
|
1150
|
-
const
|
|
1030
|
+
Pt.displayName = R.Trigger.displayName;
|
|
1031
|
+
const kt = s.forwardRef(
|
|
1151
1032
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1152
|
-
|
|
1033
|
+
R.Content,
|
|
1153
1034
|
{
|
|
1154
1035
|
ref: t,
|
|
1155
1036
|
className: r(
|
|
@@ -1160,8 +1041,8 @@ const Wt = s.forwardRef(
|
|
|
1160
1041
|
}
|
|
1161
1042
|
)
|
|
1162
1043
|
);
|
|
1163
|
-
|
|
1164
|
-
const
|
|
1044
|
+
kt.displayName = R.Content.displayName;
|
|
1045
|
+
const zt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1165
1046
|
"textarea",
|
|
1166
1047
|
{
|
|
1167
1048
|
className: r(
|
|
@@ -1172,10 +1053,10 @@ const Ut = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
|
1172
1053
|
...a
|
|
1173
1054
|
}
|
|
1174
1055
|
));
|
|
1175
|
-
|
|
1176
|
-
const
|
|
1056
|
+
zt.displayName = "Textarea";
|
|
1057
|
+
const Do = N.Provider, Mt = s.forwardRef(
|
|
1177
1058
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1178
|
-
|
|
1059
|
+
N.Viewport,
|
|
1179
1060
|
{
|
|
1180
1061
|
ref: t,
|
|
1181
1062
|
className: r(
|
|
@@ -1186,8 +1067,8 @@ const or = y.Provider, Yt = s.forwardRef(
|
|
|
1186
1067
|
}
|
|
1187
1068
|
)
|
|
1188
1069
|
);
|
|
1189
|
-
|
|
1190
|
-
const
|
|
1070
|
+
Mt.displayName = N.Viewport.displayName;
|
|
1071
|
+
const Dt = z(
|
|
1191
1072
|
"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",
|
|
1192
1073
|
{
|
|
1193
1074
|
variants: {
|
|
@@ -1200,11 +1081,11 @@ const Zt = M(
|
|
|
1200
1081
|
variant: "default"
|
|
1201
1082
|
}
|
|
1202
1083
|
}
|
|
1203
|
-
),
|
|
1204
|
-
|
|
1205
|
-
const
|
|
1084
|
+
), At = s.forwardRef(({ className: e, variant: a, ...t }, n) => /* @__PURE__ */ o(N.Root, { ref: n, className: r(Dt({ variant: a }), e), ...t }));
|
|
1085
|
+
At.displayName = N.Root.displayName;
|
|
1086
|
+
const Ft = s.forwardRef(
|
|
1206
1087
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1207
|
-
|
|
1088
|
+
N.Action,
|
|
1208
1089
|
{
|
|
1209
1090
|
ref: t,
|
|
1210
1091
|
className: r(
|
|
@@ -1215,10 +1096,10 @@ const ao = s.forwardRef(
|
|
|
1215
1096
|
}
|
|
1216
1097
|
)
|
|
1217
1098
|
);
|
|
1218
|
-
|
|
1219
|
-
const
|
|
1099
|
+
Ft.displayName = N.Action.displayName;
|
|
1100
|
+
const jt = s.forwardRef(
|
|
1220
1101
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1221
|
-
|
|
1102
|
+
N.Close,
|
|
1222
1103
|
{
|
|
1223
1104
|
ref: t,
|
|
1224
1105
|
className: r(
|
|
@@ -1227,18 +1108,18 @@ const to = s.forwardRef(
|
|
|
1227
1108
|
),
|
|
1228
1109
|
"toast-close": "",
|
|
1229
1110
|
...a,
|
|
1230
|
-
children: /* @__PURE__ */ o(
|
|
1111
|
+
children: /* @__PURE__ */ o(he, { className: "size-4" })
|
|
1231
1112
|
}
|
|
1232
1113
|
)
|
|
1233
1114
|
);
|
|
1234
|
-
|
|
1235
|
-
const
|
|
1236
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1115
|
+
jt.displayName = N.Close.displayName;
|
|
1116
|
+
const Lt = s.forwardRef(
|
|
1117
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o(N.Title, { ref: t, className: r("text-sm font-semibold", e), ...a })
|
|
1237
1118
|
);
|
|
1238
|
-
|
|
1239
|
-
const
|
|
1240
|
-
|
|
1241
|
-
const
|
|
1119
|
+
Lt.displayName = N.Title.displayName;
|
|
1120
|
+
const Gt = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(N.Description, { ref: t, className: r("text-sm opacity-90", e), ...a }));
|
|
1121
|
+
Gt.displayName = N.Description.displayName;
|
|
1122
|
+
const se = z(
|
|
1242
1123
|
"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",
|
|
1243
1124
|
{
|
|
1244
1125
|
variants: {
|
|
@@ -1257,21 +1138,21 @@ const ce = M(
|
|
|
1257
1138
|
size: "default"
|
|
1258
1139
|
}
|
|
1259
1140
|
}
|
|
1260
|
-
),
|
|
1261
|
-
|
|
1262
|
-
const
|
|
1141
|
+
), Bt = s.forwardRef(({ className: e, variant: a, size: t, ...n }, i) => /* @__PURE__ */ o(Q.Root, { ref: i, className: r(se({ variant: a, size: t, className: e })), ...n }));
|
|
1142
|
+
Bt.displayName = Q.Root.displayName;
|
|
1143
|
+
const ne = s.createContext({
|
|
1263
1144
|
size: "default",
|
|
1264
1145
|
variant: "default"
|
|
1265
|
-
}),
|
|
1266
|
-
|
|
1267
|
-
const
|
|
1268
|
-
const p = s.useContext(
|
|
1146
|
+
}), Ot = s.forwardRef(({ className: e, variant: a, size: t, children: n, ...i }, d) => /* @__PURE__ */ o(A.Root, { ref: d, className: r("flex items-center justify-center gap-1", e), ...i, children: /* @__PURE__ */ o(ne.Provider, { value: { variant: a, size: t }, children: n }) }));
|
|
1147
|
+
Ot.displayName = A.Root.displayName;
|
|
1148
|
+
const Ht = s.forwardRef(({ className: e, children: a, variant: t, size: n, ...i }, d) => {
|
|
1149
|
+
const p = s.useContext(ne);
|
|
1269
1150
|
return /* @__PURE__ */ o(
|
|
1270
|
-
|
|
1151
|
+
A.Item,
|
|
1271
1152
|
{
|
|
1272
|
-
ref:
|
|
1153
|
+
ref: d,
|
|
1273
1154
|
className: r(
|
|
1274
|
-
|
|
1155
|
+
se({
|
|
1275
1156
|
variant: p.variant || t,
|
|
1276
1157
|
size: p.size || n
|
|
1277
1158
|
}),
|
|
@@ -1282,180 +1163,161 @@ const io = s.forwardRef(({ className: e, children: a, variant: t, size: n, ...i
|
|
|
1282
1163
|
}
|
|
1283
1164
|
);
|
|
1284
1165
|
});
|
|
1285
|
-
|
|
1166
|
+
Ht.displayName = A.Item.displayName;
|
|
1286
1167
|
export {
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
xa as h,
|
|
1443
|
-
Io as i,
|
|
1444
|
-
Oe as j,
|
|
1445
|
-
Ge as k,
|
|
1446
|
-
Be as l,
|
|
1447
|
-
Ro as m,
|
|
1448
|
-
Xe as n,
|
|
1449
|
-
Je as o,
|
|
1450
|
-
Ve as p,
|
|
1451
|
-
Ke as q,
|
|
1452
|
-
$e as r,
|
|
1453
|
-
Ee as s,
|
|
1454
|
-
qe as t,
|
|
1455
|
-
Co as u,
|
|
1456
|
-
Qe as v,
|
|
1457
|
-
Ue as w,
|
|
1458
|
-
We as x,
|
|
1459
|
-
Ze as y,
|
|
1460
|
-
sa as z
|
|
1168
|
+
Z as $,
|
|
1169
|
+
Zt as A,
|
|
1170
|
+
to as B,
|
|
1171
|
+
Ze as C,
|
|
1172
|
+
oa as D,
|
|
1173
|
+
sa as E,
|
|
1174
|
+
oo as F,
|
|
1175
|
+
ca as G,
|
|
1176
|
+
la as H,
|
|
1177
|
+
so as I,
|
|
1178
|
+
da as J,
|
|
1179
|
+
ua as K,
|
|
1180
|
+
no as L,
|
|
1181
|
+
lo as M,
|
|
1182
|
+
ma as N,
|
|
1183
|
+
fa as O,
|
|
1184
|
+
ut as P,
|
|
1185
|
+
pa as Q,
|
|
1186
|
+
io as R,
|
|
1187
|
+
ia as S,
|
|
1188
|
+
na as T,
|
|
1189
|
+
ro as U,
|
|
1190
|
+
ga as V,
|
|
1191
|
+
mo as W,
|
|
1192
|
+
Na as X,
|
|
1193
|
+
ha as Y,
|
|
1194
|
+
ya as Z,
|
|
1195
|
+
xa as _,
|
|
1196
|
+
Ae as a,
|
|
1197
|
+
lt as a$,
|
|
1198
|
+
ba as a0,
|
|
1199
|
+
va as a1,
|
|
1200
|
+
co as a2,
|
|
1201
|
+
uo as a3,
|
|
1202
|
+
Sa as a4,
|
|
1203
|
+
Ca as a5,
|
|
1204
|
+
po as a6,
|
|
1205
|
+
Ia as a7,
|
|
1206
|
+
Pa as a8,
|
|
1207
|
+
go as a9,
|
|
1208
|
+
Ro as aA,
|
|
1209
|
+
Xa as aB,
|
|
1210
|
+
Qa as aC,
|
|
1211
|
+
wo as aD,
|
|
1212
|
+
Co as aE,
|
|
1213
|
+
So as aF,
|
|
1214
|
+
Ja as aG,
|
|
1215
|
+
Ua as aH,
|
|
1216
|
+
Ya as aI,
|
|
1217
|
+
Io as aJ,
|
|
1218
|
+
qa as aK,
|
|
1219
|
+
$a as aL,
|
|
1220
|
+
Ea as aM,
|
|
1221
|
+
Za as aN,
|
|
1222
|
+
ot as aO,
|
|
1223
|
+
rt as aP,
|
|
1224
|
+
To as aQ,
|
|
1225
|
+
Po as aR,
|
|
1226
|
+
et as aS,
|
|
1227
|
+
tt as aT,
|
|
1228
|
+
oe as aU,
|
|
1229
|
+
st as aV,
|
|
1230
|
+
nt as aW,
|
|
1231
|
+
ct as aX,
|
|
1232
|
+
it as aY,
|
|
1233
|
+
_ as aZ,
|
|
1234
|
+
dt as a_,
|
|
1235
|
+
No as aa,
|
|
1236
|
+
Ta as ab,
|
|
1237
|
+
ka as ac,
|
|
1238
|
+
za as ad,
|
|
1239
|
+
bo as ae,
|
|
1240
|
+
Ra as af,
|
|
1241
|
+
wa as ag,
|
|
1242
|
+
fo as ah,
|
|
1243
|
+
xo as ai,
|
|
1244
|
+
Fa as aj,
|
|
1245
|
+
ja as ak,
|
|
1246
|
+
yo as al,
|
|
1247
|
+
Da as am,
|
|
1248
|
+
Aa as an,
|
|
1249
|
+
La as ao,
|
|
1250
|
+
vo as ap,
|
|
1251
|
+
Ga as aq,
|
|
1252
|
+
ho as ar,
|
|
1253
|
+
Ba as as,
|
|
1254
|
+
Oa as at,
|
|
1255
|
+
Va as au,
|
|
1256
|
+
Ha as av,
|
|
1257
|
+
ee as aw,
|
|
1258
|
+
_a as ax,
|
|
1259
|
+
Wa as ay,
|
|
1260
|
+
Ka as az,
|
|
1261
|
+
Me as b,
|
|
1262
|
+
ko as b0,
|
|
1263
|
+
mt as b1,
|
|
1264
|
+
zo as b2,
|
|
1265
|
+
ft as b3,
|
|
1266
|
+
pt as b4,
|
|
1267
|
+
gt as b5,
|
|
1268
|
+
re as b6,
|
|
1269
|
+
bt as b7,
|
|
1270
|
+
Nt as b8,
|
|
1271
|
+
yt as b9,
|
|
1272
|
+
j as bA,
|
|
1273
|
+
Ct as ba,
|
|
1274
|
+
Rt as bb,
|
|
1275
|
+
vt as bc,
|
|
1276
|
+
wt as bd,
|
|
1277
|
+
xt as be,
|
|
1278
|
+
ht as bf,
|
|
1279
|
+
It as bg,
|
|
1280
|
+
St as bh,
|
|
1281
|
+
Mo as bi,
|
|
1282
|
+
kt as bj,
|
|
1283
|
+
Tt as bk,
|
|
1284
|
+
Pt as bl,
|
|
1285
|
+
zt as bm,
|
|
1286
|
+
At as bn,
|
|
1287
|
+
Ft as bo,
|
|
1288
|
+
jt as bp,
|
|
1289
|
+
Gt as bq,
|
|
1290
|
+
Do as br,
|
|
1291
|
+
Lt as bs,
|
|
1292
|
+
Mt as bt,
|
|
1293
|
+
Bt as bu,
|
|
1294
|
+
Ot as bv,
|
|
1295
|
+
Ht as bw,
|
|
1296
|
+
qe as bx,
|
|
1297
|
+
at as by,
|
|
1298
|
+
se as bz,
|
|
1299
|
+
De as c,
|
|
1300
|
+
eo as d,
|
|
1301
|
+
He as e,
|
|
1302
|
+
Ve as f,
|
|
1303
|
+
je as g,
|
|
1304
|
+
Oe as h,
|
|
1305
|
+
Ge as i,
|
|
1306
|
+
Le as j,
|
|
1307
|
+
Be as k,
|
|
1308
|
+
ao as l,
|
|
1309
|
+
_e as m,
|
|
1310
|
+
$e as n,
|
|
1311
|
+
Ee as o,
|
|
1312
|
+
Ke as p,
|
|
1313
|
+
Ye as q,
|
|
1314
|
+
We as r,
|
|
1315
|
+
Je as s,
|
|
1316
|
+
Xe as t,
|
|
1317
|
+
Qe as u,
|
|
1318
|
+
Ue as v,
|
|
1319
|
+
ea as w,
|
|
1320
|
+
aa as x,
|
|
1321
|
+
ta as y,
|
|
1322
|
+
ra as z
|
|
1461
1323
|
};
|