@plyaz/ui 0.7.18 → 0.7.19
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/client.cjs.js +1 -1
- package/dist/client.es.js +766 -432
- package/dist/types/components/AlertDialog/AlertDialog.stories.d.ts.map +1 -1
- package/dist/types/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/types/components/Form/Form.d.ts +24 -0
- package/dist/types/components/Form/Form.d.ts.map +1 -0
- package/dist/types/components/Pagination/Pagination.stories.d.ts.map +1 -1
- package/dist/types/components/Select/Select.stories.d.ts.map +1 -1
- package/dist/types/components/client.d.ts +1 -0
- package/dist/types/components/client.d.ts.map +1 -1
- package/package.json +7 -3
package/dist/client.es.js
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import { TextReveal as
|
|
2
|
-
import { AlertDialog as
|
|
3
|
-
import { Calendar as
|
|
4
|
-
import { Carousel as
|
|
5
|
-
import { Combobox as
|
|
6
|
-
import { InputOTP as
|
|
7
|
-
import { Slider as
|
|
8
|
-
import { Progress as
|
|
9
|
-
import { Accordion as
|
|
10
|
-
import { Avatar as
|
|
11
|
-
import { Checkbox as
|
|
12
|
-
import { ContextMenu as
|
|
13
|
-
import { DropdownMenu as
|
|
14
|
-
import { HoverCard as
|
|
15
|
-
import { RadioGroup as
|
|
1
|
+
import { TextReveal as sr } from "./client/reveal-text.es.js";
|
|
2
|
+
import { AlertDialog as lr, AlertDialogAction as ur, AlertDialogCancel as cr, AlertDialogContent as fr, AlertDialogDescription as mr, AlertDialogFooter as br, AlertDialogHeader as pr, AlertDialogOverlay as gr, AlertDialogPortal as hr, AlertDialogTitle as xr, AlertDialogTrigger as vr } from "./client/alert-dialog.es.js";
|
|
3
|
+
import { Calendar as Cr, CalendarDayButton as yr } from "./client/calendar.es.js";
|
|
4
|
+
import { Carousel as Mr, CarouselContent as Dr, CarouselItem as _r, CarouselNext as Ir, CarouselPrevious as Nr } from "./client/carousel.es.js";
|
|
5
|
+
import { Combobox as Fr } from "./client/combobox.es.js";
|
|
6
|
+
import { InputOTP as kr, InputOTPGroup as Er, InputOTPSeparator as Or, InputOTPSlot as Rr } from "./client/input-otp.es.js";
|
|
7
|
+
import { Slider as Pr } from "./client/slider.es.js";
|
|
8
|
+
import { Progress as Lr } from "./client/progress.es.js";
|
|
9
|
+
import { Accordion as Gr, AccordionContent as Hr, AccordionItem as Wr, AccordionTrigger as $r } from "./client/accordion.es.js";
|
|
10
|
+
import { Avatar as Kr, AvatarFallback as qr, AvatarImage as Xr } from "./client/avatar.es.js";
|
|
11
|
+
import { Checkbox as Qr } from "./client/checkbox.es.js";
|
|
12
|
+
import { ContextMenu as Zr, ContextMenuCheckboxItem as jr, ContextMenuContent as ea, ContextMenuGroup as ta, ContextMenuItem as ra, ContextMenuLabel as aa, ContextMenuPortal as oa, ContextMenuRadioGroup as na, ContextMenuRadioItem as ia, ContextMenuSeparator as sa, ContextMenuShortcut as da, ContextMenuSub as la, ContextMenuSubContent as ua, ContextMenuSubTrigger as ca, ContextMenuTrigger as fa } from "./client/context-menu.es.js";
|
|
13
|
+
import { DropdownMenu as ba, DropdownMenuCheckboxItem as pa, DropdownMenuContent as ga, DropdownMenuGroup as ha, DropdownMenuItem as xa, DropdownMenuLabel as va, DropdownMenuPortal as wa, DropdownMenuRadioGroup as Ca, DropdownMenuRadioItem as ya, DropdownMenuSeparator as Sa, DropdownMenuShortcut as Ma, DropdownMenuSub as Da, DropdownMenuSubContent as _a, DropdownMenuSubTrigger as Ia, DropdownMenuTrigger as Na } from "./client/dropdown-menu.es.js";
|
|
14
|
+
import { HoverCard as Fa, HoverCardContent as Ta, HoverCardTrigger as ka } from "./client/hover-card.es.js";
|
|
15
|
+
import { RadioGroup as Oa, RadioGroupItem as Ra } from "./client/radio-group.es.js";
|
|
16
16
|
import { ScrollArea as Pa, ScrollBar as Ba } from "./client/scroll-area.es.js";
|
|
17
|
-
import { Switch as
|
|
18
|
-
import { Tabs as
|
|
19
|
-
import { Tooltip as
|
|
20
|
-
import { Command as qa, CommandDialog as
|
|
21
|
-
import { Dialog as
|
|
22
|
-
import { Drawer as
|
|
23
|
-
import { Sheet as
|
|
24
|
-
import { SheetClose as
|
|
25
|
-
import { Toaster as
|
|
26
|
-
import { Toggle as
|
|
27
|
-
import { Label as
|
|
28
|
-
import { Menubar as
|
|
29
|
-
import { Popover as
|
|
30
|
-
import { jsx as
|
|
31
|
-
import * as
|
|
32
|
-
import
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
17
|
+
import { Switch as za } from "./client/switch.es.js";
|
|
18
|
+
import { Tabs as Ha, TabsContent as Wa, TabsList as $a, TabsTrigger as Ua } from "./client/tabs.es.js";
|
|
19
|
+
import { Tooltip as ae, TooltipTrigger as oe, TooltipContent as ne, TooltipProvider as ie } from "./client/tooltip.es.js";
|
|
20
|
+
import { Command as qa, CommandDialog as Xa, CommandEmpty as Ja, CommandGroup as Qa, CommandInput as Ya, CommandItem as Za, CommandList as ja, CommandSeparator as eo, CommandShortcut as to } from "./client/command.es.js";
|
|
21
|
+
import { Dialog as ao, DialogClose as oo, DialogContent as no, DialogDescription as io, DialogFooter as so, DialogHeader as lo, DialogOverlay as uo, DialogPortal as co, DialogTitle as fo, DialogTrigger as mo } from "./client/dialog.es.js";
|
|
22
|
+
import { Drawer as po, DrawerClose as go, DrawerContent as ho, DrawerDescription as xo, DrawerFooter as vo, DrawerHeader as wo, DrawerOverlay as Co, DrawerPortal as yo, DrawerTitle as So, DrawerTrigger as Mo } from "./client/drawer.es.js";
|
|
23
|
+
import { Sheet as se, SheetContent as de, SheetHeader as le, SheetTitle as ue, SheetDescription as ce } from "./client/sheet.es.js";
|
|
24
|
+
import { SheetClose as _o, SheetFooter as Io, SheetTrigger as No } from "./client/sheet.es.js";
|
|
25
|
+
import { Toaster as Fo } from "./client/toaster.es.js";
|
|
26
|
+
import { Toggle as ko } from "./client/toggle.es.js";
|
|
27
|
+
import { Label as fe } from "./client/label.es.js";
|
|
28
|
+
import { Menubar as Oo, MenubarCheckboxItem as Ro, MenubarContent as Vo, MenubarGroup as Po, MenubarItem as Bo, MenubarLabel as Lo, MenubarMenu as zo, MenubarPortal as Go, MenubarRadioGroup as Ho, MenubarRadioItem as Wo, MenubarSeparator as $o, MenubarShortcut as Uo, MenubarSub as Ko, MenubarSubContent as qo, MenubarSubTrigger as Xo, MenubarTrigger as Jo } from "./client/menu-bar.es.js";
|
|
29
|
+
import { Popover as Yo, PopoverAnchor as Zo, PopoverContent as jo, PopoverTrigger as en } from "./client/popover.es.js";
|
|
30
|
+
import { jsx as n, jsxs as A } from "react/jsx-runtime";
|
|
31
|
+
import * as f from "react";
|
|
32
|
+
import d from "react";
|
|
33
|
+
import { Slot as F } from "@radix-ui/react-slot";
|
|
34
|
+
import { cva as me } from "class-variance-authority";
|
|
35
|
+
import { PanelLeftIcon as be } from "lucide-react";
|
|
36
|
+
import { c as u } from "./utils-B6yFEsav.js";
|
|
37
|
+
import { I as pe } from "./Textarea-BTbJSVLU.js";
|
|
38
|
+
import { B as ge } from "./Button-B7sEajdG.js";
|
|
38
39
|
import "@radix-ui/react-select";
|
|
39
40
|
import "next-intl";
|
|
40
|
-
import { a as
|
|
41
|
+
import { a as G, S as he } from "./Skeleton-Cj9Od_Nd.js";
|
|
41
42
|
import "@radix-ui/react-alert-dialog";
|
|
42
43
|
import "react-day-picker";
|
|
43
44
|
import "cmdk";
|
|
@@ -61,148 +62,150 @@ import "next-themes";
|
|
|
61
62
|
import "sonner";
|
|
62
63
|
import "@radix-ui/react-label";
|
|
63
64
|
import "@radix-ui/react-menubar";
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
import "@radix-ui/react-separator";
|
|
66
|
+
import "@radix-ui/react-tooltip";
|
|
67
|
+
var xe = { WEEK: 6048e5 };
|
|
68
|
+
const V = 768;
|
|
69
|
+
function ve() {
|
|
70
|
+
const [e, r] = f.useState(void 0);
|
|
71
|
+
return f.useEffect(() => {
|
|
72
|
+
const t = window.matchMedia(`(max-width: ${V - 1}px)`), o = () => {
|
|
73
|
+
r(window.innerWidth < V);
|
|
71
74
|
};
|
|
72
|
-
return
|
|
73
|
-
}, []), !!
|
|
75
|
+
return t.addEventListener("change", o), r(window.innerWidth < V), () => t.removeEventListener("change", o);
|
|
76
|
+
}, []), !!e;
|
|
74
77
|
}
|
|
75
|
-
const
|
|
76
|
-
function
|
|
77
|
-
const
|
|
78
|
-
if (!
|
|
78
|
+
const we = "sidebar_state", Ce = xe.WEEK, ye = "16rem", Se = "18rem", Me = "3rem", q = f.createContext(null);
|
|
79
|
+
function X() {
|
|
80
|
+
const e = f.useContext(q);
|
|
81
|
+
if (!e)
|
|
79
82
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
80
|
-
return
|
|
83
|
+
return e;
|
|
81
84
|
}
|
|
82
|
-
function
|
|
83
|
-
defaultOpen:
|
|
84
|
-
open:
|
|
85
|
-
onOpenChange:
|
|
85
|
+
function Ot({
|
|
86
|
+
defaultOpen: e = !0,
|
|
87
|
+
open: r,
|
|
88
|
+
onOpenChange: t,
|
|
86
89
|
className: o,
|
|
87
|
-
style:
|
|
88
|
-
children:
|
|
89
|
-
...
|
|
90
|
+
style: a,
|
|
91
|
+
children: i,
|
|
92
|
+
...s
|
|
90
93
|
}) {
|
|
91
|
-
const
|
|
92
|
-
(
|
|
93
|
-
const
|
|
94
|
-
|
|
94
|
+
const l = ve(), [m, c] = f.useState(!1), [b, v] = f.useState(e), x = r ?? b, I = f.useCallback(
|
|
95
|
+
(C) => {
|
|
96
|
+
const y = typeof C == "function" ? C(x) : C;
|
|
97
|
+
t ? t(y) : v(y), document.cookie = `${we}=${y}; path=/; max-age=${Ce}`;
|
|
95
98
|
},
|
|
96
|
-
[
|
|
97
|
-
), S =
|
|
98
|
-
}, []), M =
|
|
99
|
+
[t, x]
|
|
100
|
+
), S = f.useCallback(() => {
|
|
101
|
+
}, []), M = x ? "expanded" : "collapsed", D = f.useMemo(
|
|
99
102
|
() => ({
|
|
100
103
|
state: M,
|
|
101
|
-
open:
|
|
102
|
-
setOpen:
|
|
103
|
-
isMobile:
|
|
104
|
-
openMobile:
|
|
105
|
-
setOpenMobile:
|
|
104
|
+
open: x,
|
|
105
|
+
setOpen: I,
|
|
106
|
+
isMobile: l,
|
|
107
|
+
openMobile: m,
|
|
108
|
+
setOpenMobile: c,
|
|
106
109
|
toggleSidebar: S
|
|
107
110
|
}),
|
|
108
|
-
[M,
|
|
111
|
+
[M, x, I, l, m, c, S]
|
|
109
112
|
);
|
|
110
|
-
return /* @__PURE__ */
|
|
113
|
+
return /* @__PURE__ */ n(q.Provider, { value: D, children: /* @__PURE__ */ n(ie, { delayDuration: 0, children: /* @__PURE__ */ n(
|
|
111
114
|
"div",
|
|
112
115
|
{
|
|
113
116
|
"data-slot": "sidebar-wrapper",
|
|
114
117
|
style: {
|
|
115
|
-
"--sidebar-width":
|
|
116
|
-
"--sidebar-width-icon":
|
|
117
|
-
...
|
|
118
|
+
"--sidebar-width": ye,
|
|
119
|
+
"--sidebar-width-icon": Me,
|
|
120
|
+
...a
|
|
118
121
|
},
|
|
119
|
-
className:
|
|
122
|
+
className: u(
|
|
120
123
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
|
|
121
124
|
o
|
|
122
125
|
),
|
|
123
|
-
...
|
|
124
|
-
children:
|
|
126
|
+
...s,
|
|
127
|
+
children: i
|
|
125
128
|
}
|
|
126
129
|
) }) });
|
|
127
130
|
}
|
|
128
|
-
function
|
|
129
|
-
side:
|
|
130
|
-
openMobile:
|
|
131
|
-
setOpenMobile:
|
|
131
|
+
function De({
|
|
132
|
+
side: e,
|
|
133
|
+
openMobile: r,
|
|
134
|
+
setOpenMobile: t,
|
|
132
135
|
children: o,
|
|
133
|
-
...
|
|
136
|
+
...a
|
|
134
137
|
}) {
|
|
135
|
-
return /* @__PURE__ */
|
|
136
|
-
|
|
138
|
+
return /* @__PURE__ */ n(se, { open: r, onOpenChange: t, ...a, children: /* @__PURE__ */ A(
|
|
139
|
+
de,
|
|
137
140
|
{
|
|
138
141
|
"data-sidebar": "sidebar",
|
|
139
142
|
"data-slot": "sidebar",
|
|
140
143
|
"data-mobile": "true",
|
|
141
144
|
className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
142
145
|
style: {
|
|
143
|
-
"--sidebar-width":
|
|
146
|
+
"--sidebar-width": Se
|
|
144
147
|
},
|
|
145
|
-
side:
|
|
148
|
+
side: e,
|
|
146
149
|
children: [
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
-
/* @__PURE__ */
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
+
/* @__PURE__ */ A(le, { className: "sr-only", children: [
|
|
151
|
+
/* @__PURE__ */ n(ue, { children: "Sidebar" }),
|
|
152
|
+
/* @__PURE__ */ n(ce, { children: "Displays the mobile sidebar." })
|
|
150
153
|
] }),
|
|
151
|
-
/* @__PURE__ */
|
|
154
|
+
/* @__PURE__ */ n("div", { className: "flex h-full w-full flex-col", children: o })
|
|
152
155
|
]
|
|
153
156
|
}
|
|
154
157
|
) });
|
|
155
158
|
}
|
|
156
|
-
function
|
|
157
|
-
side:
|
|
158
|
-
variant:
|
|
159
|
-
collapsible:
|
|
159
|
+
function _e({
|
|
160
|
+
side: e,
|
|
161
|
+
variant: r,
|
|
162
|
+
collapsible: t,
|
|
160
163
|
state: o,
|
|
161
|
-
className:
|
|
162
|
-
children:
|
|
163
|
-
...
|
|
164
|
+
className: a,
|
|
165
|
+
children: i,
|
|
166
|
+
...s
|
|
164
167
|
}) {
|
|
165
|
-
return /* @__PURE__ */
|
|
168
|
+
return /* @__PURE__ */ A(
|
|
166
169
|
"div",
|
|
167
170
|
{
|
|
168
171
|
className: "group peer text-sidebar-foreground hidden md:block",
|
|
169
172
|
"data-state": o,
|
|
170
|
-
"data-collapsible": o === "collapsed" ?
|
|
171
|
-
"data-variant":
|
|
172
|
-
"data-side":
|
|
173
|
+
"data-collapsible": o === "collapsed" ? t : "",
|
|
174
|
+
"data-variant": r,
|
|
175
|
+
"data-side": e,
|
|
173
176
|
"data-slot": "sidebar",
|
|
174
177
|
children: [
|
|
175
|
-
/* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ n(
|
|
176
179
|
"div",
|
|
177
180
|
{
|
|
178
181
|
"data-slot": "sidebar-gap",
|
|
179
|
-
className:
|
|
182
|
+
className: u(
|
|
180
183
|
"relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
|
|
181
184
|
"group-data-[collapsible=offcanvas]:w-0",
|
|
182
185
|
"group-data-[side=right]:rotate-180",
|
|
183
|
-
|
|
186
|
+
r === "floating" || r === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
|
|
184
187
|
)
|
|
185
188
|
}
|
|
186
189
|
),
|
|
187
|
-
/* @__PURE__ */
|
|
190
|
+
/* @__PURE__ */ n(
|
|
188
191
|
"div",
|
|
189
192
|
{
|
|
190
193
|
"data-slot": "sidebar-container",
|
|
191
|
-
className:
|
|
194
|
+
className: u(
|
|
192
195
|
"fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
193
|
-
|
|
196
|
+
e === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
194
197
|
// Adjust the padding for floating and inset variants.
|
|
195
|
-
|
|
196
|
-
|
|
198
|
+
r === "floating" || r === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
|
|
199
|
+
a
|
|
197
200
|
),
|
|
198
|
-
...
|
|
199
|
-
children: /* @__PURE__ */
|
|
201
|
+
...s,
|
|
202
|
+
children: /* @__PURE__ */ n(
|
|
200
203
|
"div",
|
|
201
204
|
{
|
|
202
205
|
"data-sidebar": "sidebar",
|
|
203
206
|
"data-slot": "sidebar-inner",
|
|
204
207
|
className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
|
|
205
|
-
children:
|
|
208
|
+
children: i
|
|
206
209
|
}
|
|
207
210
|
)
|
|
208
211
|
}
|
|
@@ -211,62 +214,62 @@ function J({
|
|
|
211
214
|
}
|
|
212
215
|
);
|
|
213
216
|
}
|
|
214
|
-
function
|
|
215
|
-
side:
|
|
216
|
-
variant:
|
|
217
|
-
collapsible:
|
|
217
|
+
function Rt({
|
|
218
|
+
side: e = "left",
|
|
219
|
+
variant: r = "sidebar",
|
|
220
|
+
collapsible: t = "offcanvas",
|
|
218
221
|
className: o,
|
|
219
|
-
children:
|
|
220
|
-
...
|
|
222
|
+
children: a,
|
|
223
|
+
...i
|
|
221
224
|
}) {
|
|
222
|
-
const { isMobile:
|
|
223
|
-
return
|
|
225
|
+
const { isMobile: s, state: l, openMobile: m, setOpenMobile: c } = X();
|
|
226
|
+
return t === "none" ? /* @__PURE__ */ n(
|
|
224
227
|
"div",
|
|
225
228
|
{
|
|
226
229
|
"data-slot": "sidebar",
|
|
227
|
-
className:
|
|
230
|
+
className: u(
|
|
228
231
|
"bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
|
|
229
232
|
o
|
|
230
233
|
),
|
|
231
|
-
...
|
|
232
|
-
children:
|
|
234
|
+
...i,
|
|
235
|
+
children: a
|
|
233
236
|
}
|
|
234
|
-
) :
|
|
235
|
-
|
|
237
|
+
) : s ? /* @__PURE__ */ n(De, { side: e, openMobile: m, setOpenMobile: c, ...i, children: a }) : /* @__PURE__ */ n(
|
|
238
|
+
_e,
|
|
236
239
|
{
|
|
237
|
-
side:
|
|
238
|
-
variant:
|
|
239
|
-
collapsible:
|
|
240
|
-
state:
|
|
240
|
+
side: e,
|
|
241
|
+
variant: r,
|
|
242
|
+
collapsible: t,
|
|
243
|
+
state: l,
|
|
241
244
|
className: o,
|
|
242
|
-
...
|
|
243
|
-
children:
|
|
245
|
+
...i,
|
|
246
|
+
children: a
|
|
244
247
|
}
|
|
245
248
|
);
|
|
246
249
|
}
|
|
247
|
-
function
|
|
248
|
-
return /* @__PURE__ */
|
|
249
|
-
|
|
250
|
+
function Vt({ className: e, onClick: r, ...t }) {
|
|
251
|
+
return /* @__PURE__ */ A(
|
|
252
|
+
ge,
|
|
250
253
|
{
|
|
251
254
|
"data-sidebar": "trigger",
|
|
252
255
|
"data-slot": "sidebar-trigger",
|
|
253
256
|
variant: "ghost",
|
|
254
257
|
size: "icon",
|
|
255
|
-
className:
|
|
258
|
+
className: u("size-7", e),
|
|
256
259
|
onClick: (o) => {
|
|
257
|
-
|
|
260
|
+
r == null || r(o);
|
|
258
261
|
},
|
|
259
262
|
disabled: !0,
|
|
260
|
-
...
|
|
263
|
+
...t,
|
|
261
264
|
children: [
|
|
262
|
-
/* @__PURE__ */
|
|
263
|
-
/* @__PURE__ */
|
|
265
|
+
/* @__PURE__ */ n(be, {}),
|
|
266
|
+
/* @__PURE__ */ n("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
264
267
|
]
|
|
265
268
|
}
|
|
266
269
|
);
|
|
267
270
|
}
|
|
268
|
-
function
|
|
269
|
-
return /* @__PURE__ */
|
|
271
|
+
function Pt({ className: e, ...r }) {
|
|
272
|
+
return /* @__PURE__ */ n(
|
|
270
273
|
"button",
|
|
271
274
|
{
|
|
272
275
|
"data-sidebar": "rail",
|
|
@@ -277,176 +280,176 @@ function Ge({ className: t, ...e }) {
|
|
|
277
280
|
},
|
|
278
281
|
title: "Toggle Sidebar",
|
|
279
282
|
disabled: !0,
|
|
280
|
-
className:
|
|
283
|
+
className: u(
|
|
281
284
|
"hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
|
|
282
285
|
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
283
286
|
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
284
287
|
"hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full",
|
|
285
288
|
"[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
|
|
286
289
|
"[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
|
|
287
|
-
|
|
290
|
+
e
|
|
288
291
|
),
|
|
289
|
-
...
|
|
292
|
+
...r
|
|
290
293
|
}
|
|
291
294
|
);
|
|
292
295
|
}
|
|
293
|
-
function
|
|
294
|
-
return /* @__PURE__ */
|
|
296
|
+
function Bt({ className: e, ...r }) {
|
|
297
|
+
return /* @__PURE__ */ n(
|
|
295
298
|
"main",
|
|
296
299
|
{
|
|
297
300
|
"data-slot": "sidebar-inset",
|
|
298
|
-
className:
|
|
301
|
+
className: u(
|
|
299
302
|
"bg-background relative flex w-full flex-1 flex-col",
|
|
300
303
|
"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
301
|
-
|
|
304
|
+
e
|
|
302
305
|
),
|
|
303
|
-
...
|
|
306
|
+
...r
|
|
304
307
|
}
|
|
305
308
|
);
|
|
306
309
|
}
|
|
307
|
-
function
|
|
308
|
-
return /* @__PURE__ */
|
|
309
|
-
|
|
310
|
+
function Lt({ className: e, ...r }) {
|
|
311
|
+
return /* @__PURE__ */ n(
|
|
312
|
+
pe,
|
|
310
313
|
{
|
|
311
314
|
"data-slot": "sidebar-input",
|
|
312
315
|
"data-sidebar": "input",
|
|
313
|
-
className:
|
|
314
|
-
...
|
|
316
|
+
className: u("bg-background h-10 w-full shadow-none", e),
|
|
317
|
+
...r
|
|
315
318
|
}
|
|
316
319
|
);
|
|
317
320
|
}
|
|
318
|
-
function
|
|
319
|
-
return /* @__PURE__ */
|
|
321
|
+
function zt({ className: e, ...r }) {
|
|
322
|
+
return /* @__PURE__ */ n(
|
|
320
323
|
"div",
|
|
321
324
|
{
|
|
322
325
|
"data-slot": "sidebar-header",
|
|
323
326
|
"data-sidebar": "header",
|
|
324
|
-
className:
|
|
325
|
-
...
|
|
327
|
+
className: u("flex flex-col gap-3 p-2", e),
|
|
328
|
+
...r
|
|
326
329
|
}
|
|
327
330
|
);
|
|
328
331
|
}
|
|
329
|
-
function
|
|
330
|
-
return /* @__PURE__ */
|
|
332
|
+
function Gt({ className: e, ...r }) {
|
|
333
|
+
return /* @__PURE__ */ n(
|
|
331
334
|
"div",
|
|
332
335
|
{
|
|
333
336
|
"data-slot": "sidebar-footer",
|
|
334
337
|
"data-sidebar": "footer",
|
|
335
|
-
className:
|
|
336
|
-
...
|
|
338
|
+
className: u("flex flex-col gap-3 p-2", e),
|
|
339
|
+
...r
|
|
337
340
|
}
|
|
338
341
|
);
|
|
339
342
|
}
|
|
340
|
-
function
|
|
341
|
-
return /* @__PURE__ */
|
|
342
|
-
|
|
343
|
+
function Ht({ className: e, ...r }) {
|
|
344
|
+
return /* @__PURE__ */ n(
|
|
345
|
+
he,
|
|
343
346
|
{
|
|
344
347
|
"data-slot": "sidebar-separator",
|
|
345
348
|
"data-sidebar": "separator",
|
|
346
|
-
className:
|
|
347
|
-
...
|
|
349
|
+
className: u("bg-sidebar-border mx-2 w-auto", e),
|
|
350
|
+
...r
|
|
348
351
|
}
|
|
349
352
|
);
|
|
350
353
|
}
|
|
351
|
-
function
|
|
352
|
-
return /* @__PURE__ */
|
|
354
|
+
function Wt({ className: e, ...r }) {
|
|
355
|
+
return /* @__PURE__ */ n(
|
|
353
356
|
"div",
|
|
354
357
|
{
|
|
355
358
|
"data-slot": "sidebar-content",
|
|
356
359
|
"data-sidebar": "content",
|
|
357
|
-
className:
|
|
360
|
+
className: u(
|
|
358
361
|
"flex min-h-0 flex-1 flex-col gap-3 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
|
359
|
-
|
|
362
|
+
e
|
|
360
363
|
),
|
|
361
|
-
...
|
|
364
|
+
...r
|
|
362
365
|
}
|
|
363
366
|
);
|
|
364
367
|
}
|
|
365
|
-
function $
|
|
366
|
-
return /* @__PURE__ */
|
|
368
|
+
function $t({ className: e, ...r }) {
|
|
369
|
+
return /* @__PURE__ */ n(
|
|
367
370
|
"div",
|
|
368
371
|
{
|
|
369
372
|
"data-slot": "sidebar-group",
|
|
370
373
|
"data-sidebar": "group",
|
|
371
|
-
className:
|
|
372
|
-
...
|
|
374
|
+
className: u("relative flex w-full min-w-0 flex-col p-2", e),
|
|
375
|
+
...r
|
|
373
376
|
}
|
|
374
377
|
);
|
|
375
378
|
}
|
|
376
|
-
function
|
|
377
|
-
className:
|
|
378
|
-
asChild:
|
|
379
|
-
...
|
|
379
|
+
function Ut({
|
|
380
|
+
className: e,
|
|
381
|
+
asChild: r = !1,
|
|
382
|
+
...t
|
|
380
383
|
}) {
|
|
381
|
-
return /* @__PURE__ */
|
|
382
|
-
|
|
384
|
+
return /* @__PURE__ */ n(
|
|
385
|
+
r ? F : "div",
|
|
383
386
|
{
|
|
384
387
|
"data-slot": "sidebar-group-label",
|
|
385
388
|
"data-sidebar": "group-label",
|
|
386
|
-
className:
|
|
389
|
+
className: u(
|
|
387
390
|
"text-sidebar-foreground/70 ring-sidebar-ring flex h-10 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
|
|
388
391
|
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
389
|
-
|
|
392
|
+
e
|
|
390
393
|
),
|
|
391
|
-
...
|
|
394
|
+
...t
|
|
392
395
|
}
|
|
393
396
|
);
|
|
394
397
|
}
|
|
395
|
-
function
|
|
396
|
-
className:
|
|
397
|
-
asChild:
|
|
398
|
-
...
|
|
398
|
+
function Kt({
|
|
399
|
+
className: e,
|
|
400
|
+
asChild: r = !1,
|
|
401
|
+
...t
|
|
399
402
|
}) {
|
|
400
|
-
return /* @__PURE__ */
|
|
401
|
-
|
|
403
|
+
return /* @__PURE__ */ n(
|
|
404
|
+
r ? F : "button",
|
|
402
405
|
{
|
|
403
406
|
"data-slot": "sidebar-group-action",
|
|
404
407
|
"data-sidebar": "group-action",
|
|
405
|
-
className:
|
|
408
|
+
className: u(
|
|
406
409
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
|
|
407
410
|
// Increases the hit area of the button on mobile.
|
|
408
411
|
"after:absolute after:-inset-2 md:after:hidden",
|
|
409
412
|
"group-data-[collapsible=icon]:hidden",
|
|
410
|
-
|
|
413
|
+
e
|
|
411
414
|
),
|
|
412
|
-
...
|
|
415
|
+
...t
|
|
413
416
|
}
|
|
414
417
|
);
|
|
415
418
|
}
|
|
416
|
-
function
|
|
417
|
-
return /* @__PURE__ */
|
|
419
|
+
function qt({ className: e, ...r }) {
|
|
420
|
+
return /* @__PURE__ */ n(
|
|
418
421
|
"div",
|
|
419
422
|
{
|
|
420
423
|
"data-slot": "sidebar-group-content",
|
|
421
424
|
"data-sidebar": "group-content",
|
|
422
|
-
className:
|
|
423
|
-
...
|
|
425
|
+
className: u("w-full text-sm", e),
|
|
426
|
+
...r
|
|
424
427
|
}
|
|
425
428
|
);
|
|
426
429
|
}
|
|
427
|
-
function
|
|
428
|
-
return /* @__PURE__ */
|
|
430
|
+
function Xt({ className: e, ...r }) {
|
|
431
|
+
return /* @__PURE__ */ n(
|
|
429
432
|
"ul",
|
|
430
433
|
{
|
|
431
434
|
"data-slot": "sidebar-menu",
|
|
432
435
|
"data-sidebar": "menu",
|
|
433
|
-
className:
|
|
434
|
-
...
|
|
436
|
+
className: u("flex w-full min-w-0 flex-col gap-1", e),
|
|
437
|
+
...r
|
|
435
438
|
}
|
|
436
439
|
);
|
|
437
440
|
}
|
|
438
|
-
function
|
|
439
|
-
return /* @__PURE__ */
|
|
441
|
+
function Jt({ className: e, ...r }) {
|
|
442
|
+
return /* @__PURE__ */ n(
|
|
440
443
|
"li",
|
|
441
444
|
{
|
|
442
445
|
"data-slot": "sidebar-menu-item",
|
|
443
446
|
"data-sidebar": "menu-item",
|
|
444
|
-
className:
|
|
445
|
-
...
|
|
447
|
+
className: u("group/menu-item relative", e),
|
|
448
|
+
...r
|
|
446
449
|
}
|
|
447
450
|
);
|
|
448
451
|
}
|
|
449
|
-
const
|
|
452
|
+
const Ie = me(
|
|
450
453
|
"peer/menu-button flex w-full items-center gap-3 overflow-hidden rounded-md p-2 text-left text-sm font-medium outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
|
|
451
454
|
{
|
|
452
455
|
variants: {
|
|
@@ -466,53 +469,53 @@ const Q = B(
|
|
|
466
469
|
}
|
|
467
470
|
}
|
|
468
471
|
);
|
|
469
|
-
function
|
|
470
|
-
asChild:
|
|
471
|
-
isActive:
|
|
472
|
-
variant:
|
|
472
|
+
function Qt({
|
|
473
|
+
asChild: e = !1,
|
|
474
|
+
isActive: r = !1,
|
|
475
|
+
variant: t = "default",
|
|
473
476
|
size: o = "default",
|
|
474
|
-
tooltip:
|
|
475
|
-
className:
|
|
476
|
-
...
|
|
477
|
+
tooltip: a,
|
|
478
|
+
className: i,
|
|
479
|
+
...s
|
|
477
480
|
}) {
|
|
478
|
-
const
|
|
479
|
-
|
|
481
|
+
const l = e ? F : "button", { isMobile: m, state: c } = X(), b = /* @__PURE__ */ n(
|
|
482
|
+
l,
|
|
480
483
|
{
|
|
481
484
|
"data-slot": "sidebar-menu-button",
|
|
482
485
|
"data-sidebar": "menu-button",
|
|
483
486
|
"data-size": o,
|
|
484
|
-
"data-active":
|
|
485
|
-
className:
|
|
486
|
-
...
|
|
487
|
+
"data-active": r,
|
|
488
|
+
className: u(Ie({ variant: t, size: o }), i),
|
|
489
|
+
...s
|
|
487
490
|
}
|
|
488
491
|
);
|
|
489
|
-
return
|
|
490
|
-
children:
|
|
491
|
-
}), /* @__PURE__ */
|
|
492
|
-
/* @__PURE__ */
|
|
493
|
-
/* @__PURE__ */
|
|
494
|
-
|
|
492
|
+
return a ? (typeof a == "string" && (a = {
|
|
493
|
+
children: a
|
|
494
|
+
}), /* @__PURE__ */ A(ae, { children: [
|
|
495
|
+
/* @__PURE__ */ n(oe, { asChild: !0, children: b }),
|
|
496
|
+
/* @__PURE__ */ n(
|
|
497
|
+
ne,
|
|
495
498
|
{
|
|
496
499
|
side: "right",
|
|
497
500
|
align: "center",
|
|
498
|
-
hidden:
|
|
499
|
-
...
|
|
501
|
+
hidden: c !== "collapsed" || m,
|
|
502
|
+
...a
|
|
500
503
|
}
|
|
501
504
|
)
|
|
502
|
-
] })) :
|
|
505
|
+
] })) : b;
|
|
503
506
|
}
|
|
504
|
-
function
|
|
505
|
-
className:
|
|
506
|
-
asChild:
|
|
507
|
-
showOnHover:
|
|
507
|
+
function Yt({
|
|
508
|
+
className: e,
|
|
509
|
+
asChild: r = !1,
|
|
510
|
+
showOnHover: t = !1,
|
|
508
511
|
...o
|
|
509
512
|
}) {
|
|
510
|
-
return /* @__PURE__ */
|
|
511
|
-
|
|
513
|
+
return /* @__PURE__ */ n(
|
|
514
|
+
r ? F : "button",
|
|
512
515
|
{
|
|
513
516
|
"data-slot": "sidebar-menu-action",
|
|
514
517
|
"data-sidebar": "menu-action",
|
|
515
|
-
className:
|
|
518
|
+
className: u(
|
|
516
519
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
|
|
517
520
|
// Increases the hit area of the button on mobile.
|
|
518
521
|
"after:absolute after:-inset-2 md:after:hidden",
|
|
@@ -520,50 +523,50 @@ function Ye({
|
|
|
520
523
|
"peer-data-[size=default]/menu-button:top-1.5",
|
|
521
524
|
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
522
525
|
"group-data-[collapsible=icon]:hidden",
|
|
523
|
-
|
|
524
|
-
|
|
526
|
+
t && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
|
|
527
|
+
e
|
|
525
528
|
),
|
|
526
529
|
...o
|
|
527
530
|
}
|
|
528
531
|
);
|
|
529
532
|
}
|
|
530
|
-
function
|
|
531
|
-
return /* @__PURE__ */
|
|
533
|
+
function Zt({ className: e, ...r }) {
|
|
534
|
+
return /* @__PURE__ */ n(
|
|
532
535
|
"div",
|
|
533
536
|
{
|
|
534
537
|
"data-slot": "sidebar-menu-badge",
|
|
535
538
|
"data-sidebar": "menu-badge",
|
|
536
|
-
className:
|
|
539
|
+
className: u(
|
|
537
540
|
"text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
|
|
538
541
|
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
|
|
539
542
|
"peer-data-[size=sm]/menu-button:top-1",
|
|
540
543
|
"peer-data-[size=default]/menu-button:top-1.5",
|
|
541
544
|
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
542
545
|
"group-data-[collapsible=icon]:hidden",
|
|
543
|
-
|
|
546
|
+
e
|
|
544
547
|
),
|
|
545
|
-
...
|
|
548
|
+
...r
|
|
546
549
|
}
|
|
547
550
|
);
|
|
548
551
|
}
|
|
549
|
-
const
|
|
550
|
-
function
|
|
551
|
-
className:
|
|
552
|
-
showIcon:
|
|
553
|
-
...
|
|
552
|
+
const Ne = 50, Ae = 40;
|
|
553
|
+
function jt({
|
|
554
|
+
className: e,
|
|
555
|
+
showIcon: r = !1,
|
|
556
|
+
...t
|
|
554
557
|
}) {
|
|
555
|
-
const o =
|
|
556
|
-
return /* @__PURE__ */
|
|
558
|
+
const o = f.useMemo(() => `${Math.floor(Math.random() * Ae) + Ne}%`, []);
|
|
559
|
+
return /* @__PURE__ */ A(
|
|
557
560
|
"div",
|
|
558
561
|
{
|
|
559
562
|
"data-slot": "sidebar-menu-skeleton",
|
|
560
563
|
"data-sidebar": "menu-skeleton",
|
|
561
|
-
className:
|
|
562
|
-
...
|
|
564
|
+
className: u("flex h-10 items-center gap-3 rounded-md px-2", e),
|
|
565
|
+
...t,
|
|
563
566
|
children: [
|
|
564
|
-
|
|
565
|
-
/* @__PURE__ */
|
|
566
|
-
|
|
567
|
+
r && /* @__PURE__ */ n(G, { className: "size-6 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
|
|
568
|
+
/* @__PURE__ */ n(
|
|
569
|
+
G,
|
|
567
570
|
{
|
|
568
571
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
569
572
|
"data-sidebar": "menu-skeleton-text",
|
|
@@ -576,221 +579,552 @@ function et({
|
|
|
576
579
|
}
|
|
577
580
|
);
|
|
578
581
|
}
|
|
579
|
-
function
|
|
580
|
-
return /* @__PURE__ */
|
|
582
|
+
function er({ className: e, ...r }) {
|
|
583
|
+
return /* @__PURE__ */ n(
|
|
581
584
|
"ul",
|
|
582
585
|
{
|
|
583
586
|
"data-slot": "sidebar-menu-sub",
|
|
584
587
|
"data-sidebar": "menu-sub",
|
|
585
|
-
className:
|
|
588
|
+
className: u(
|
|
586
589
|
"border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
|
|
587
590
|
"group-data-[collapsible=icon]:hidden",
|
|
588
|
-
|
|
591
|
+
e
|
|
589
592
|
),
|
|
590
|
-
...
|
|
593
|
+
...r
|
|
591
594
|
}
|
|
592
595
|
);
|
|
593
596
|
}
|
|
594
|
-
function
|
|
595
|
-
return /* @__PURE__ */
|
|
597
|
+
function tr({ className: e, ...r }) {
|
|
598
|
+
return /* @__PURE__ */ n(
|
|
596
599
|
"li",
|
|
597
600
|
{
|
|
598
601
|
"data-slot": "sidebar-menu-sub-item",
|
|
599
602
|
"data-sidebar": "menu-sub-item",
|
|
600
|
-
className:
|
|
601
|
-
...
|
|
603
|
+
className: u("group/menu-sub-item relative", e),
|
|
604
|
+
...r
|
|
602
605
|
}
|
|
603
606
|
);
|
|
604
607
|
}
|
|
605
|
-
function
|
|
606
|
-
asChild:
|
|
607
|
-
size:
|
|
608
|
-
isActive:
|
|
608
|
+
function rr({
|
|
609
|
+
asChild: e = !1,
|
|
610
|
+
size: r = "md",
|
|
611
|
+
isActive: t = !1,
|
|
609
612
|
className: o,
|
|
610
|
-
...
|
|
613
|
+
...a
|
|
611
614
|
}) {
|
|
612
|
-
return /* @__PURE__ */
|
|
613
|
-
|
|
615
|
+
return /* @__PURE__ */ n(
|
|
616
|
+
e ? F : "a",
|
|
614
617
|
{
|
|
615
618
|
"data-slot": "sidebar-menu-sub-button",
|
|
616
619
|
"data-sidebar": "menu-sub-button",
|
|
617
|
-
"data-size":
|
|
618
|
-
"data-active":
|
|
619
|
-
className:
|
|
620
|
+
"data-size": r,
|
|
621
|
+
"data-active": t,
|
|
622
|
+
className: u(
|
|
620
623
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-tertiary-foreground flex h-7 min-w-0 -translate-x-px items-center gap-3 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-6 [&>svg]:shrink-0",
|
|
621
624
|
"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
|
|
622
|
-
|
|
623
|
-
|
|
625
|
+
r === "sm" && "text-xs",
|
|
626
|
+
r === "md" && "text-sm",
|
|
624
627
|
"group-data-[collapsible=icon]:hidden",
|
|
625
628
|
o
|
|
626
629
|
),
|
|
627
|
-
...
|
|
630
|
+
...a
|
|
628
631
|
}
|
|
629
632
|
);
|
|
630
633
|
}
|
|
634
|
+
var Fe = (e) => e.type === "checkbox", T = (e) => e instanceof Date, L = (e) => e == null;
|
|
635
|
+
const J = (e) => typeof e == "object";
|
|
636
|
+
var N = (e) => !L(e) && !Array.isArray(e) && J(e) && !T(e), Te = (e) => N(e) && e.target ? Fe(e.target) ? e.target.checked : e.target.value : e, ke = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Ee = (e, r) => e.has(ke(r)), Oe = (e) => {
|
|
637
|
+
const r = e.constructor && e.constructor.prototype;
|
|
638
|
+
return N(r) && r.hasOwnProperty("isPrototypeOf");
|
|
639
|
+
}, Re = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
640
|
+
function Q(e) {
|
|
641
|
+
let r;
|
|
642
|
+
const t = Array.isArray(e), o = typeof FileList < "u" ? e instanceof FileList : !1;
|
|
643
|
+
if (e instanceof Date)
|
|
644
|
+
r = new Date(e);
|
|
645
|
+
else if (!(Re && (e instanceof Blob || o)) && (t || N(e)))
|
|
646
|
+
if (r = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !Oe(e))
|
|
647
|
+
r = e;
|
|
648
|
+
else
|
|
649
|
+
for (const a in e)
|
|
650
|
+
e.hasOwnProperty(a) && (r[a] = Q(e[a]));
|
|
651
|
+
else
|
|
652
|
+
return e;
|
|
653
|
+
return r;
|
|
654
|
+
}
|
|
655
|
+
var Y = (e) => /^\w*$/.test(e), B = (e) => e === void 0, Ve = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Z = (e) => Ve(e.replace(/["|']|\]/g, "").split(/\.|\[/)), h = (e, r, t) => {
|
|
656
|
+
if (!r || !N(e))
|
|
657
|
+
return t;
|
|
658
|
+
const o = (Y(r) ? [r] : Z(r)).reduce((a, i) => L(a) ? a : a[i], e);
|
|
659
|
+
return B(o) || o === e ? B(e[r]) ? t : e[r] : o;
|
|
660
|
+
}, P = (e) => typeof e == "boolean", H = (e, r, t) => {
|
|
661
|
+
let o = -1;
|
|
662
|
+
const a = Y(r) ? [r] : Z(r), i = a.length, s = i - 1;
|
|
663
|
+
for (; ++o < i; ) {
|
|
664
|
+
const l = a[o];
|
|
665
|
+
let m = t;
|
|
666
|
+
if (o !== s) {
|
|
667
|
+
const c = e[l];
|
|
668
|
+
m = N(c) || Array.isArray(c) ? c : isNaN(+a[o + 1]) ? {} : [];
|
|
669
|
+
}
|
|
670
|
+
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
671
|
+
return;
|
|
672
|
+
e[l] = m, e = e[l];
|
|
673
|
+
}
|
|
674
|
+
};
|
|
675
|
+
const W = {
|
|
676
|
+
BLUR: "blur",
|
|
677
|
+
CHANGE: "change"
|
|
678
|
+
}, $ = {
|
|
679
|
+
all: "all"
|
|
680
|
+
}, z = d.createContext(null);
|
|
681
|
+
z.displayName = "HookFormContext";
|
|
682
|
+
const E = () => d.useContext(z), Pe = (e) => {
|
|
683
|
+
const { children: r, ...t } = e;
|
|
684
|
+
return d.createElement(z.Provider, { value: t }, r);
|
|
685
|
+
};
|
|
686
|
+
var Be = (e, r, t, o = !0) => {
|
|
687
|
+
const a = {
|
|
688
|
+
defaultValues: r._defaultValues
|
|
689
|
+
};
|
|
690
|
+
for (const i in e)
|
|
691
|
+
Object.defineProperty(a, i, {
|
|
692
|
+
get: () => {
|
|
693
|
+
const s = i;
|
|
694
|
+
return r._proxyFormState[s] !== $.all && (r._proxyFormState[s] = !o || $.all), t && (t[s] = !0), e[s];
|
|
695
|
+
}
|
|
696
|
+
});
|
|
697
|
+
return a;
|
|
698
|
+
};
|
|
699
|
+
const j = typeof window < "u" ? d.useLayoutEffect : d.useEffect;
|
|
700
|
+
function Le(e) {
|
|
701
|
+
const r = E(), { control: t = r.control, disabled: o, name: a, exact: i } = e || {}, [s, l] = d.useState(t._formState), m = d.useRef({
|
|
702
|
+
isDirty: !1,
|
|
703
|
+
isLoading: !1,
|
|
704
|
+
dirtyFields: !1,
|
|
705
|
+
touchedFields: !1,
|
|
706
|
+
validatingFields: !1,
|
|
707
|
+
isValidating: !1,
|
|
708
|
+
isValid: !1,
|
|
709
|
+
errors: !1
|
|
710
|
+
});
|
|
711
|
+
return j(() => t._subscribe({
|
|
712
|
+
name: a,
|
|
713
|
+
formState: m.current,
|
|
714
|
+
exact: i,
|
|
715
|
+
callback: (c) => {
|
|
716
|
+
!o && l({
|
|
717
|
+
...t._formState,
|
|
718
|
+
...c
|
|
719
|
+
});
|
|
720
|
+
}
|
|
721
|
+
}), [a, o, i]), d.useEffect(() => {
|
|
722
|
+
m.current.isValid && t._setValid(!0);
|
|
723
|
+
}, [t]), d.useMemo(() => Be(s, t, m.current, !1), [s, t]);
|
|
724
|
+
}
|
|
725
|
+
var ze = (e) => typeof e == "string", U = (e, r, t, o, a) => ze(e) ? h(t, e, a) : Array.isArray(e) ? e.map((i) => h(t, i)) : t, K = (e) => L(e) || !J(e);
|
|
726
|
+
function k(e, r, t = /* @__PURE__ */ new WeakSet()) {
|
|
727
|
+
if (K(e) || K(r))
|
|
728
|
+
return e === r;
|
|
729
|
+
if (T(e) && T(r))
|
|
730
|
+
return e.getTime() === r.getTime();
|
|
731
|
+
const o = Object.keys(e), a = Object.keys(r);
|
|
732
|
+
if (o.length !== a.length)
|
|
733
|
+
return !1;
|
|
734
|
+
if (t.has(e) || t.has(r))
|
|
735
|
+
return !0;
|
|
736
|
+
t.add(e), t.add(r);
|
|
737
|
+
for (const i of o) {
|
|
738
|
+
const s = e[i];
|
|
739
|
+
if (!a.includes(i))
|
|
740
|
+
return !1;
|
|
741
|
+
if (i !== "ref") {
|
|
742
|
+
const l = r[i];
|
|
743
|
+
if (T(s) && T(l) || N(s) && N(l) || Array.isArray(s) && Array.isArray(l) ? !k(s, l, t) : s !== l)
|
|
744
|
+
return !1;
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
return !0;
|
|
748
|
+
}
|
|
749
|
+
function Ge(e) {
|
|
750
|
+
const r = E(), { control: t = r.control, name: o, defaultValue: a, disabled: i, exact: s, compute: l } = e || {}, m = d.useRef(a), c = d.useRef(l), b = d.useRef(void 0), v = d.useRef(t), x = d.useRef(o);
|
|
751
|
+
c.current = l;
|
|
752
|
+
const [I, S] = d.useState(() => {
|
|
753
|
+
const p = t._getWatch(o, m.current);
|
|
754
|
+
return c.current ? c.current(p) : p;
|
|
755
|
+
}), M = d.useCallback((p) => {
|
|
756
|
+
const w = U(o, t._names, p || t._formValues, !1, m.current);
|
|
757
|
+
return c.current ? c.current(w) : w;
|
|
758
|
+
}, [t._formValues, t._names, o]), D = d.useCallback((p) => {
|
|
759
|
+
if (!i) {
|
|
760
|
+
const w = U(o, t._names, p || t._formValues, !1, m.current);
|
|
761
|
+
if (c.current) {
|
|
762
|
+
const _ = c.current(w);
|
|
763
|
+
k(_, b.current) || (S(_), b.current = _);
|
|
764
|
+
} else
|
|
765
|
+
S(w);
|
|
766
|
+
}
|
|
767
|
+
}, [t._formValues, t._names, i, o]);
|
|
768
|
+
j(() => ((v.current !== t || !k(x.current, o)) && (v.current = t, x.current = o, D()), t._subscribe({
|
|
769
|
+
name: o,
|
|
770
|
+
formState: {
|
|
771
|
+
values: !0
|
|
772
|
+
},
|
|
773
|
+
exact: s,
|
|
774
|
+
callback: (p) => {
|
|
775
|
+
D(p.values);
|
|
776
|
+
}
|
|
777
|
+
})), [t, s, o, D]), d.useEffect(() => t._removeUnmounted());
|
|
778
|
+
const C = v.current !== t, y = x.current, g = d.useMemo(() => {
|
|
779
|
+
if (i)
|
|
780
|
+
return null;
|
|
781
|
+
const p = !C && !k(y, o);
|
|
782
|
+
return C || p ? M() : null;
|
|
783
|
+
}, [i, C, o, y, M]);
|
|
784
|
+
return g !== null ? g : I;
|
|
785
|
+
}
|
|
786
|
+
function He(e) {
|
|
787
|
+
const r = E(), { name: t, disabled: o, control: a = r.control, shouldUnregister: i, defaultValue: s } = e, l = Ee(a._names.array, t), m = d.useMemo(() => h(a._formValues, t, h(a._defaultValues, t, s)), [a, t, s]), c = Ge({
|
|
788
|
+
control: a,
|
|
789
|
+
name: t,
|
|
790
|
+
defaultValue: m,
|
|
791
|
+
exact: !0
|
|
792
|
+
}), b = Le({
|
|
793
|
+
control: a,
|
|
794
|
+
name: t,
|
|
795
|
+
exact: !0
|
|
796
|
+
}), v = d.useRef(e), x = d.useRef(void 0), I = d.useRef(a.register(t, {
|
|
797
|
+
...e.rules,
|
|
798
|
+
value: c,
|
|
799
|
+
...P(e.disabled) ? { disabled: e.disabled } : {}
|
|
800
|
+
}));
|
|
801
|
+
v.current = e;
|
|
802
|
+
const S = d.useMemo(() => Object.defineProperties({}, {
|
|
803
|
+
invalid: {
|
|
804
|
+
enumerable: !0,
|
|
805
|
+
get: () => !!h(b.errors, t)
|
|
806
|
+
},
|
|
807
|
+
isDirty: {
|
|
808
|
+
enumerable: !0,
|
|
809
|
+
get: () => !!h(b.dirtyFields, t)
|
|
810
|
+
},
|
|
811
|
+
isTouched: {
|
|
812
|
+
enumerable: !0,
|
|
813
|
+
get: () => !!h(b.touchedFields, t)
|
|
814
|
+
},
|
|
815
|
+
isValidating: {
|
|
816
|
+
enumerable: !0,
|
|
817
|
+
get: () => !!h(b.validatingFields, t)
|
|
818
|
+
},
|
|
819
|
+
error: {
|
|
820
|
+
enumerable: !0,
|
|
821
|
+
get: () => h(b.errors, t)
|
|
822
|
+
}
|
|
823
|
+
}), [b, t]), M = d.useCallback((g) => I.current.onChange({
|
|
824
|
+
target: {
|
|
825
|
+
value: Te(g),
|
|
826
|
+
name: t
|
|
827
|
+
},
|
|
828
|
+
type: W.CHANGE
|
|
829
|
+
}), [t]), D = d.useCallback(() => I.current.onBlur({
|
|
830
|
+
target: {
|
|
831
|
+
value: h(a._formValues, t),
|
|
832
|
+
name: t
|
|
833
|
+
},
|
|
834
|
+
type: W.BLUR
|
|
835
|
+
}), [t, a._formValues]), C = d.useCallback((g) => {
|
|
836
|
+
const p = h(a._fields, t);
|
|
837
|
+
p && g && (p._f.ref = {
|
|
838
|
+
focus: () => g.focus && g.focus(),
|
|
839
|
+
select: () => g.select && g.select(),
|
|
840
|
+
setCustomValidity: (w) => g.setCustomValidity(w),
|
|
841
|
+
reportValidity: () => g.reportValidity()
|
|
842
|
+
});
|
|
843
|
+
}, [a._fields, t]), y = d.useMemo(() => ({
|
|
844
|
+
name: t,
|
|
845
|
+
value: c,
|
|
846
|
+
...P(o) || b.disabled ? { disabled: b.disabled || o } : {},
|
|
847
|
+
onChange: M,
|
|
848
|
+
onBlur: D,
|
|
849
|
+
ref: C
|
|
850
|
+
}), [t, o, b.disabled, M, D, C, c]);
|
|
851
|
+
return d.useEffect(() => {
|
|
852
|
+
const g = a._options.shouldUnregister || i, p = x.current;
|
|
853
|
+
p && p !== t && !l && a.unregister(p), a.register(t, {
|
|
854
|
+
...v.current.rules,
|
|
855
|
+
...P(v.current.disabled) ? { disabled: v.current.disabled } : {}
|
|
856
|
+
});
|
|
857
|
+
const w = (_, re) => {
|
|
858
|
+
const R = h(a._fields, _);
|
|
859
|
+
R && R._f && (R._f.mount = re);
|
|
860
|
+
};
|
|
861
|
+
if (w(t, !0), g) {
|
|
862
|
+
const _ = Q(h(a._options.defaultValues, t, v.current.defaultValue));
|
|
863
|
+
H(a._defaultValues, t, _), B(h(a._formValues, t)) && H(a._formValues, t, _);
|
|
864
|
+
}
|
|
865
|
+
return !l && a.register(t), x.current = t, () => {
|
|
866
|
+
(l ? g && !a._state.action : g) ? a.unregister(t) : w(t, !1);
|
|
867
|
+
};
|
|
868
|
+
}, [t, a, l, i]), d.useEffect(() => {
|
|
869
|
+
a._setDisabledField({
|
|
870
|
+
disabled: o,
|
|
871
|
+
name: t
|
|
872
|
+
});
|
|
873
|
+
}, [o, t, a]), d.useMemo(() => ({
|
|
874
|
+
field: y,
|
|
875
|
+
formState: b,
|
|
876
|
+
fieldState: S
|
|
877
|
+
}), [y, b, S]);
|
|
878
|
+
}
|
|
879
|
+
const We = (e) => e.render(He(e)), ar = Pe, ee = f.createContext(null), or = ({
|
|
880
|
+
...e
|
|
881
|
+
}) => /* @__PURE__ */ n(ee.Provider, { value: { name: e.name }, children: /* @__PURE__ */ n(We, { ...e }) }), O = () => {
|
|
882
|
+
const e = f.useContext(ee), r = f.useContext(te), { getFieldState: t, formState: o } = E();
|
|
883
|
+
if (!e)
|
|
884
|
+
throw new Error("useFormField should be used within <FormField>");
|
|
885
|
+
if (!r)
|
|
886
|
+
throw new Error("useFormField should be used within <FormItem>");
|
|
887
|
+
const a = t(e.name, o), { id: i } = r;
|
|
888
|
+
return {
|
|
889
|
+
id: i,
|
|
890
|
+
name: e.name,
|
|
891
|
+
formItemId: `${i}-form-item`,
|
|
892
|
+
formDescriptionId: `${i}-form-item-description`,
|
|
893
|
+
formMessageId: `${i}-form-item-message`,
|
|
894
|
+
...a
|
|
895
|
+
};
|
|
896
|
+
}, te = f.createContext(null), $e = f.forwardRef(
|
|
897
|
+
({ className: e, ...r }, t) => {
|
|
898
|
+
const o = f.useId();
|
|
899
|
+
return /* @__PURE__ */ n(te.Provider, { value: { id: o }, children: /* @__PURE__ */ n("div", { ref: t, className: u("space-y-2", e), ...r }) });
|
|
900
|
+
}
|
|
901
|
+
);
|
|
902
|
+
$e.displayName = "FormItem";
|
|
903
|
+
const Ue = f.forwardRef(({ className: e, ...r }, t) => {
|
|
904
|
+
const { error: o, formItemId: a } = O();
|
|
905
|
+
return /* @__PURE__ */ n(
|
|
906
|
+
fe,
|
|
907
|
+
{
|
|
908
|
+
ref: t,
|
|
909
|
+
className: u(o && "text-destructive", e),
|
|
910
|
+
htmlFor: a,
|
|
911
|
+
...r
|
|
912
|
+
}
|
|
913
|
+
);
|
|
914
|
+
});
|
|
915
|
+
Ue.displayName = "FormLabel";
|
|
916
|
+
const Ke = f.forwardRef(({ ...e }, r) => {
|
|
917
|
+
const { error: t, formItemId: o, formDescriptionId: a, formMessageId: i } = O();
|
|
918
|
+
return /* @__PURE__ */ n(
|
|
919
|
+
F,
|
|
920
|
+
{
|
|
921
|
+
ref: r,
|
|
922
|
+
id: o,
|
|
923
|
+
"aria-describedby": t ? `${a} ${i}` : `${a}`,
|
|
924
|
+
"aria-invalid": !!t,
|
|
925
|
+
...e
|
|
926
|
+
}
|
|
927
|
+
);
|
|
928
|
+
});
|
|
929
|
+
Ke.displayName = "FormControl";
|
|
930
|
+
const qe = f.forwardRef(({ className: e, ...r }, t) => {
|
|
931
|
+
const { formDescriptionId: o } = O();
|
|
932
|
+
return /* @__PURE__ */ n(
|
|
933
|
+
"p",
|
|
934
|
+
{
|
|
935
|
+
ref: t,
|
|
936
|
+
id: o,
|
|
937
|
+
className: u("text-[0.8rem] text-muted-foreground", e),
|
|
938
|
+
...r
|
|
939
|
+
}
|
|
940
|
+
);
|
|
941
|
+
});
|
|
942
|
+
qe.displayName = "FormDescription";
|
|
943
|
+
const Xe = f.forwardRef(({ className: e, children: r, ...t }, o) => {
|
|
944
|
+
const { error: a, formMessageId: i } = O(), s = a ? String((a == null ? void 0 : a.message) ?? "") : r;
|
|
945
|
+
return s ? /* @__PURE__ */ n(
|
|
946
|
+
"p",
|
|
947
|
+
{
|
|
948
|
+
ref: o,
|
|
949
|
+
id: i,
|
|
950
|
+
className: u("font-medium text-[0.8rem] text-destructive", e),
|
|
951
|
+
...t,
|
|
952
|
+
children: s
|
|
953
|
+
}
|
|
954
|
+
) : null;
|
|
955
|
+
});
|
|
956
|
+
Xe.displayName = "FormMessage";
|
|
631
957
|
export {
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
958
|
+
Gr as Accordion,
|
|
959
|
+
Hr as AccordionContent,
|
|
960
|
+
Wr as AccordionItem,
|
|
961
|
+
$r as AccordionTrigger,
|
|
962
|
+
lr as AlertDialog,
|
|
963
|
+
ur as AlertDialogAction,
|
|
964
|
+
cr as AlertDialogCancel,
|
|
965
|
+
fr as AlertDialogContent,
|
|
966
|
+
mr as AlertDialogDescription,
|
|
967
|
+
br as AlertDialogFooter,
|
|
968
|
+
pr as AlertDialogHeader,
|
|
969
|
+
gr as AlertDialogOverlay,
|
|
970
|
+
hr as AlertDialogPortal,
|
|
971
|
+
xr as AlertDialogTitle,
|
|
972
|
+
vr as AlertDialogTrigger,
|
|
973
|
+
Kr as Avatar,
|
|
974
|
+
qr as AvatarFallback,
|
|
975
|
+
Xr as AvatarImage,
|
|
976
|
+
Cr as Calendar,
|
|
977
|
+
yr as CalendarDayButton,
|
|
978
|
+
Mr as Carousel,
|
|
979
|
+
Dr as CarouselContent,
|
|
980
|
+
_r as CarouselItem,
|
|
981
|
+
Ir as CarouselNext,
|
|
982
|
+
Nr as CarouselPrevious,
|
|
983
|
+
Qr as Checkbox,
|
|
984
|
+
Fr as Combobox,
|
|
659
985
|
qa as Command,
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
986
|
+
Xa as CommandDialog,
|
|
987
|
+
Ja as CommandEmpty,
|
|
988
|
+
Qa as CommandGroup,
|
|
989
|
+
Ya as CommandInput,
|
|
990
|
+
Za as CommandItem,
|
|
991
|
+
ja as CommandList,
|
|
992
|
+
eo as CommandSeparator,
|
|
993
|
+
to as CommandShortcut,
|
|
994
|
+
Zr as ContextMenu,
|
|
995
|
+
jr as ContextMenuCheckboxItem,
|
|
996
|
+
ea as ContextMenuContent,
|
|
997
|
+
ta as ContextMenuGroup,
|
|
998
|
+
ra as ContextMenuItem,
|
|
673
999
|
aa as ContextMenuLabel,
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
1000
|
+
oa as ContextMenuPortal,
|
|
1001
|
+
na as ContextMenuRadioGroup,
|
|
1002
|
+
ia as ContextMenuRadioItem,
|
|
1003
|
+
sa as ContextMenuSeparator,
|
|
678
1004
|
da as ContextMenuShortcut,
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
1005
|
+
la as ContextMenuSub,
|
|
1006
|
+
ua as ContextMenuSubContent,
|
|
1007
|
+
ca as ContextMenuSubTrigger,
|
|
1008
|
+
fa as ContextMenuTrigger,
|
|
1009
|
+
ao as Dialog,
|
|
1010
|
+
oo as DialogClose,
|
|
1011
|
+
no as DialogContent,
|
|
1012
|
+
io as DialogDescription,
|
|
1013
|
+
so as DialogFooter,
|
|
1014
|
+
lo as DialogHeader,
|
|
1015
|
+
uo as DialogOverlay,
|
|
1016
|
+
co as DialogPortal,
|
|
1017
|
+
fo as DialogTitle,
|
|
1018
|
+
mo as DialogTrigger,
|
|
1019
|
+
po as Drawer,
|
|
1020
|
+
go as DrawerClose,
|
|
1021
|
+
ho as DrawerContent,
|
|
1022
|
+
xo as DrawerDescription,
|
|
1023
|
+
vo as DrawerFooter,
|
|
1024
|
+
wo as DrawerHeader,
|
|
1025
|
+
Co as DrawerOverlay,
|
|
1026
|
+
yo as DrawerPortal,
|
|
1027
|
+
So as DrawerTitle,
|
|
1028
|
+
Mo as DrawerTrigger,
|
|
1029
|
+
ba as DropdownMenu,
|
|
1030
|
+
pa as DropdownMenuCheckboxItem,
|
|
705
1031
|
ga as DropdownMenuContent,
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
1032
|
+
ha as DropdownMenuGroup,
|
|
1033
|
+
xa as DropdownMenuItem,
|
|
1034
|
+
va as DropdownMenuLabel,
|
|
1035
|
+
wa as DropdownMenuPortal,
|
|
1036
|
+
Ca as DropdownMenuRadioGroup,
|
|
1037
|
+
ya as DropdownMenuRadioItem,
|
|
1038
|
+
Sa as DropdownMenuSeparator,
|
|
1039
|
+
Ma as DropdownMenuShortcut,
|
|
714
1040
|
Da as DropdownMenuSub,
|
|
715
|
-
|
|
716
|
-
|
|
1041
|
+
_a as DropdownMenuSubContent,
|
|
1042
|
+
Ia as DropdownMenuSubTrigger,
|
|
717
1043
|
Na as DropdownMenuTrigger,
|
|
718
|
-
|
|
719
|
-
|
|
1044
|
+
ar as Form,
|
|
1045
|
+
Ke as FormControl,
|
|
1046
|
+
qe as FormDescription,
|
|
1047
|
+
or as FormField,
|
|
1048
|
+
$e as FormItem,
|
|
1049
|
+
Ue as FormLabel,
|
|
1050
|
+
Xe as FormMessage,
|
|
1051
|
+
Fa as HoverCard,
|
|
1052
|
+
Ta as HoverCardContent,
|
|
720
1053
|
ka as HoverCardTrigger,
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
1054
|
+
kr as InputOTP,
|
|
1055
|
+
Er as InputOTPGroup,
|
|
1056
|
+
Or as InputOTPSeparator,
|
|
1057
|
+
Rr as InputOTPSlot,
|
|
1058
|
+
fe as Label,
|
|
1059
|
+
Oo as Menubar,
|
|
1060
|
+
Ro as MenubarCheckboxItem,
|
|
1061
|
+
Vo as MenubarContent,
|
|
1062
|
+
Po as MenubarGroup,
|
|
1063
|
+
Bo as MenubarItem,
|
|
1064
|
+
Lo as MenubarLabel,
|
|
1065
|
+
zo as MenubarMenu,
|
|
1066
|
+
Go as MenubarPortal,
|
|
1067
|
+
Ho as MenubarRadioGroup,
|
|
1068
|
+
Wo as MenubarRadioItem,
|
|
1069
|
+
$o as MenubarSeparator,
|
|
1070
|
+
Uo as MenubarShortcut,
|
|
1071
|
+
Ko as MenubarSub,
|
|
1072
|
+
qo as MenubarSubContent,
|
|
1073
|
+
Xo as MenubarSubTrigger,
|
|
1074
|
+
Jo as MenubarTrigger,
|
|
1075
|
+
Yo as Popover,
|
|
1076
|
+
Zo as PopoverAnchor,
|
|
1077
|
+
jo as PopoverContent,
|
|
1078
|
+
en as PopoverTrigger,
|
|
1079
|
+
Lr as Progress,
|
|
1080
|
+
Oa as RadioGroup,
|
|
1081
|
+
Ra as RadioGroupItem,
|
|
749
1082
|
Pa as ScrollArea,
|
|
750
1083
|
Ba as ScrollBar,
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
$
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
1084
|
+
se as Sheet,
|
|
1085
|
+
_o as SheetClose,
|
|
1086
|
+
de as SheetContent,
|
|
1087
|
+
ce as SheetDescription,
|
|
1088
|
+
Io as SheetFooter,
|
|
1089
|
+
le as SheetHeader,
|
|
1090
|
+
ue as SheetTitle,
|
|
1091
|
+
No as SheetTrigger,
|
|
1092
|
+
Rt as Sidebar,
|
|
1093
|
+
Wt as SidebarContent,
|
|
1094
|
+
Gt as SidebarFooter,
|
|
1095
|
+
$t as SidebarGroup,
|
|
1096
|
+
Kt as SidebarGroupAction,
|
|
1097
|
+
qt as SidebarGroupContent,
|
|
1098
|
+
Ut as SidebarGroupLabel,
|
|
1099
|
+
zt as SidebarHeader,
|
|
1100
|
+
Lt as SidebarInput,
|
|
1101
|
+
Bt as SidebarInset,
|
|
1102
|
+
Xt as SidebarMenu,
|
|
1103
|
+
Yt as SidebarMenuAction,
|
|
1104
|
+
Zt as SidebarMenuBadge,
|
|
1105
|
+
Qt as SidebarMenuButton,
|
|
1106
|
+
Jt as SidebarMenuItem,
|
|
1107
|
+
jt as SidebarMenuSkeleton,
|
|
1108
|
+
er as SidebarMenuSub,
|
|
1109
|
+
rr as SidebarMenuSubButton,
|
|
1110
|
+
tr as SidebarMenuSubItem,
|
|
1111
|
+
Ot as SidebarProvider,
|
|
1112
|
+
Pt as SidebarRail,
|
|
1113
|
+
Ht as SidebarSeparator,
|
|
1114
|
+
Vt as SidebarTrigger,
|
|
1115
|
+
Pr as Slider,
|
|
1116
|
+
za as Switch,
|
|
1117
|
+
Ha as Tabs,
|
|
1118
|
+
Wa as TabsContent,
|
|
1119
|
+
$a as TabsList,
|
|
1120
|
+
Ua as TabsTrigger,
|
|
1121
|
+
sr as TextReveal,
|
|
1122
|
+
Fo as Toaster,
|
|
1123
|
+
ko as Toggle,
|
|
1124
|
+
ae as Tooltip,
|
|
1125
|
+
ne as TooltipContent,
|
|
1126
|
+
ie as TooltipProvider,
|
|
1127
|
+
oe as TooltipTrigger,
|
|
1128
|
+
O as useFormField,
|
|
1129
|
+
X as useSidebar
|
|
796
1130
|
};
|