@plyaz/ui 0.8.1 → 0.8.3
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/{Textarea-DmFDDtNg.cjs → Textarea-CN7GN2Hu.cjs} +3 -3
- package/dist/{Textarea-BTbJSVLU.js → Textarea-CS65LAew.js} +12 -12
- package/dist/client/calendar.cjs.js +1 -1
- package/dist/client/calendar.es.js +1 -1
- package/dist/client/carousel.cjs.js +1 -1
- package/dist/client/carousel.es.js +1 -1
- package/dist/client/combobox.cjs.js +1 -1
- package/dist/client/combobox.es.js +1 -1
- package/dist/client/radio-group.cjs.js +1 -1
- package/dist/client/radio-group.es.js +10 -10
- package/dist/client.cjs.js +1 -1
- package/dist/client.es.js +485 -485
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +2 -2
- package/dist/ui.css +1 -1
- package/package.json +3 -3
package/dist/client.es.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
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
|
|
16
|
-
import { ScrollArea as
|
|
17
|
-
import { Switch as
|
|
18
|
-
import { Tabs as
|
|
19
|
-
import { Tooltip as
|
|
20
|
-
import { Command as
|
|
21
|
-
import { CommandDialog as
|
|
22
|
-
import { Dialog as
|
|
23
|
-
import { Drawer as
|
|
24
|
-
import { Sheet as
|
|
25
|
-
import { SheetClose as
|
|
26
|
-
import { Toaster as
|
|
27
|
-
import { Toggle as
|
|
28
|
-
import { Label as
|
|
29
|
-
import { Menubar as
|
|
30
|
-
import { Popover as
|
|
31
|
-
import { PopoverAnchor as
|
|
32
|
-
import { jsx as n, jsxs as N, Fragment as
|
|
1
|
+
import { TextReveal as Ur } from "./client/reveal-text.es.js";
|
|
2
|
+
import { AlertDialog as Wr, AlertDialogAction as $r, AlertDialogCancel as Jr, AlertDialogContent as Qr, AlertDialogDescription as Zr, AlertDialogFooter as qr, AlertDialogHeader as Xr, AlertDialogOverlay as jr, AlertDialogPortal as Yr, AlertDialogTitle as ea, AlertDialogTrigger as ta } from "./client/alert-dialog.es.js";
|
|
3
|
+
import { Calendar as aa, CalendarDayButton as oa } from "./client/calendar.es.js";
|
|
4
|
+
import { Carousel as ia, CarouselContent as sa, CarouselItem as da, CarouselNext as la, CarouselPrevious as ua } from "./client/carousel.es.js";
|
|
5
|
+
import { Combobox as ma } from "./client/combobox.es.js";
|
|
6
|
+
import { InputOTP as pa, InputOTPGroup as ba, InputOTPSeparator as ga, InputOTPSlot as ha } from "./client/input-otp.es.js";
|
|
7
|
+
import { Slider as va } from "./client/slider.es.js";
|
|
8
|
+
import { Progress as wa } from "./client/progress.es.js";
|
|
9
|
+
import { Accordion as Sa, AccordionContent as Ca, AccordionItem as Ma, AccordionTrigger as Ia } from "./client/accordion.es.js";
|
|
10
|
+
import { Avatar as Da, AvatarFallback as _a, AvatarImage as Ea } from "./client/avatar.es.js";
|
|
11
|
+
import { Checkbox as ka } from "./client/checkbox.es.js";
|
|
12
|
+
import { ContextMenu as Fa, ContextMenuCheckboxItem as Pa, ContextMenuContent as Oa, ContextMenuGroup as Va, ContextMenuItem as Ba, ContextMenuLabel as La, ContextMenuPortal as Ga, ContextMenuRadioGroup as Ha, ContextMenuRadioItem as za, ContextMenuSeparator as Ua, ContextMenuShortcut as Ka, ContextMenuSub as Wa, ContextMenuSubContent as $a, ContextMenuSubTrigger as Ja, ContextMenuTrigger as Qa } from "./client/context-menu.es.js";
|
|
13
|
+
import { DropdownMenu as qa, DropdownMenuCheckboxItem as Xa, DropdownMenuContent as ja, DropdownMenuGroup as Ya, DropdownMenuItem as eo, DropdownMenuLabel as to, DropdownMenuPortal as ro, DropdownMenuRadioGroup as ao, DropdownMenuRadioItem as oo, DropdownMenuSeparator as no, DropdownMenuShortcut as io, DropdownMenuSub as so, DropdownMenuSubContent as lo, DropdownMenuSubTrigger as uo, DropdownMenuTrigger as co } from "./client/dropdown-menu.es.js";
|
|
14
|
+
import { HoverCard as fo, HoverCardContent as po, HoverCardTrigger as bo } from "./client/hover-card.es.js";
|
|
15
|
+
import { RadioGroup as ho, RadioGroupItem as xo } from "./client/radio-group.es.js";
|
|
16
|
+
import { ScrollArea as Ao, ScrollBar as wo } from "./client/scroll-area.es.js";
|
|
17
|
+
import { Switch as So } from "./client/switch.es.js";
|
|
18
|
+
import { Tabs as Mo, TabsContent as Io, TabsList as No, TabsTrigger as Do } from "./client/tabs.es.js";
|
|
19
|
+
import { Tooltip as pe, TooltipTrigger as be, TooltipContent as ge, TooltipProvider as he } from "./client/tooltip.es.js";
|
|
20
|
+
import { Command as $, CommandList as J, CommandInput as xe, CommandEmpty as ve, CommandGroup as Ae, CommandItem as we } from "./client/command.es.js";
|
|
21
|
+
import { CommandDialog as Eo, CommandSeparator as To, CommandShortcut as ko } from "./client/command.es.js";
|
|
22
|
+
import { Dialog as Fo, DialogClose as Po, DialogContent as Oo, DialogDescription as Vo, DialogFooter as Bo, DialogHeader as Lo, DialogOverlay as Go, DialogPortal as Ho, DialogTitle as zo, DialogTrigger as Uo } from "./client/dialog.es.js";
|
|
23
|
+
import { Drawer as Wo, DrawerClose as $o, DrawerContent as Jo, DrawerDescription as Qo, DrawerFooter as Zo, DrawerHeader as qo, DrawerOverlay as Xo, DrawerPortal as jo, DrawerTitle as Yo, DrawerTrigger as en } from "./client/drawer.es.js";
|
|
24
|
+
import { Sheet as ye, SheetContent as Se, SheetHeader as Ce, SheetTitle as Me, SheetDescription as Ie } from "./client/sheet.es.js";
|
|
25
|
+
import { SheetClose as rn, SheetFooter as an, SheetTrigger as on } from "./client/sheet.es.js";
|
|
26
|
+
import { Toaster as sn } from "./client/toaster.es.js";
|
|
27
|
+
import { Toggle as ln } from "./client/toggle.es.js";
|
|
28
|
+
import { Label as Ne } from "./client/label.es.js";
|
|
29
|
+
import { Menubar as cn, MenubarCheckboxItem as mn, MenubarContent as fn, MenubarGroup as pn, MenubarItem as bn, MenubarLabel as gn, MenubarMenu as hn, MenubarPortal as xn, MenubarRadioGroup as vn, MenubarRadioItem as An, MenubarSeparator as wn, MenubarShortcut as yn, MenubarSub as Sn, MenubarSubContent as Cn, MenubarSubTrigger as Mn, MenubarTrigger as In } from "./client/menu-bar.es.js";
|
|
30
|
+
import { Popover as De, PopoverContent as _e, PopoverTrigger as Ee } from "./client/popover.es.js";
|
|
31
|
+
import { PopoverAnchor as Dn } from "./client/popover.es.js";
|
|
32
|
+
import { jsx as n, jsxs as N, Fragment as Te } from "react/jsx-runtime";
|
|
33
33
|
import * as v from "react";
|
|
34
|
-
import m, { createContext as
|
|
34
|
+
import m, { createContext as ke, useState as F, useCallback as H, useEffect as Re, useRef as Q, useContext as Fe } from "react";
|
|
35
35
|
import { Slot as T } from "@radix-ui/react-slot";
|
|
36
|
-
import { cva as
|
|
37
|
-
import { PanelLeftIcon as
|
|
36
|
+
import { cva as Pe } from "class-variance-authority";
|
|
37
|
+
import { PanelLeftIcon as Oe, CheckIcon as Ve, ChevronsUpDownIcon as Be, XIcon as Le } from "lucide-react";
|
|
38
38
|
import { c as u } from "./utils-B6yFEsav.js";
|
|
39
|
-
import { I as
|
|
40
|
-
import { B as
|
|
39
|
+
import { I as Ge, B as Z } from "./Textarea-CS65LAew.js";
|
|
40
|
+
import { B as re } from "./Button-B7sEajdG.js";
|
|
41
41
|
import "@radix-ui/react-select";
|
|
42
42
|
import "next-intl";
|
|
43
|
-
import { a as
|
|
43
|
+
import { a as q, S as He } from "./Skeleton-Cj9Od_Nd.js";
|
|
44
44
|
import "@radix-ui/react-alert-dialog";
|
|
45
45
|
import "react-day-picker";
|
|
46
46
|
import "cmdk";
|
|
@@ -66,28 +66,28 @@ import "@radix-ui/react-label";
|
|
|
66
66
|
import "@radix-ui/react-menubar";
|
|
67
67
|
import "@radix-ui/react-separator";
|
|
68
68
|
import "@radix-ui/react-tooltip";
|
|
69
|
-
var i = { US: "US", CA: "CA", MX: "MX", BR: "BR", AR: "AR", CL: "CL", CO: "CO", PE: "PE", VE: "VE", GB: "GB", FR: "FR", DE: "DE", IT: "IT", ES: "ES", PT: "PT", NL: "NL", CH: "CH", SE: "SE", NO: "NO", FI: "FI", PL: "PL", GR: "GR", UA: "UA", RU: "RU", CN: "CN", JP: "JP", KR: "KR", IN: "IN", PK: "PK", BD: "BD", TH: "TH", VN: "VN", MY: "MY", SG: "SG", ID: "ID", PH: "PH", SA: "SA", AE: "AE", QA: "QA", KW: "KW", IQ: "IQ", IR: "IR", IL: "IL", TR: "TR", EG: "EG", MA: "MA", ET: "ET", KE: "KE", TZ: "TZ", ZA: "ZA", NG: "NG", GH: "GH", SN: "SN", AU: "AU", NZ: "NZ", PG: "PG", FJ: "FJ", AQ: "AQ" },
|
|
70
|
-
Array.from(new Set(Object.values(
|
|
71
|
-
Array.from({ length: He }, (e, r) => r);
|
|
69
|
+
var i = { US: "US", CA: "CA", MX: "MX", BR: "BR", AR: "AR", CL: "CL", CO: "CO", PE: "PE", VE: "VE", GB: "GB", FR: "FR", DE: "DE", IT: "IT", ES: "ES", PT: "PT", NL: "NL", CH: "CH", SE: "SE", NO: "NO", FI: "FI", PL: "PL", GR: "GR", UA: "UA", RU: "RU", CN: "CN", JP: "JP", KR: "KR", IN: "IN", PK: "PK", BD: "BD", TH: "TH", VN: "VN", MY: "MY", SG: "SG", ID: "ID", PH: "PH", SA: "SA", AE: "AE", QA: "QA", KW: "KW", IQ: "IQ", IR: "IR", IL: "IL", TR: "TR", EG: "EG", MA: "MA", ET: "ET", KE: "KE", TZ: "TZ", ZA: "ZA", NG: "NG", GH: "GH", SN: "SN", AU: "AU", NZ: "NZ", PG: "PG", FJ: "FJ", AQ: "AQ" }, ze = 7, Ue = 6, Ke = { WEEK: 6048e5 }, We = { [i.US]: ["America/New_York", "America/Chicago", "America/Denver", "America/Los_Angeles", "America/Anchorage", "Pacific/Honolulu"], [i.CA]: ["America/Toronto", "America/Vancouver", "America/Edmonton", "America/Halifax", "America/St_Johns"], [i.MX]: ["America/Mexico_City", "America/Monterrey", "America/Tijuana"], [i.BR]: ["America/Sao_Paulo", "America/Manaus", "America/Fortaleza"], [i.AR]: ["America/Argentina/Buenos_Aires"], [i.CL]: ["America/Santiago"], [i.CO]: ["America/Bogota"], [i.PE]: ["America/Lima"], [i.VE]: ["America/Caracas"], [i.GB]: ["Europe/London"], [i.FR]: ["Europe/Paris"], [i.DE]: ["Europe/Berlin"], [i.IT]: ["Europe/Rome"], [i.ES]: ["Europe/Madrid"], [i.PT]: ["Europe/Lisbon"], [i.NL]: ["Europe/Amsterdam"], [i.SE]: ["Europe/Stockholm"], [i.PL]: ["Europe/Warsaw"], [i.FI]: ["Europe/Helsinki"], [i.NO]: ["Europe/Oslo"], [i.CH]: ["Europe/Zurich"], [i.RU]: ["Europe/Moscow", "Asia/Yekaterinburg", "Asia/Irkutsk", "Asia/Vladivostok"], [i.UA]: ["Europe/Kyiv"], [i.GR]: ["Europe/Athens"], [i.TR]: ["Europe/Istanbul"], [i.CN]: ["Asia/Shanghai", "Asia/Urumqi"], [i.JP]: ["Asia/Tokyo"], [i.KR]: ["Asia/Seoul"], [i.IN]: ["Asia/Kolkata"], [i.PK]: ["Asia/Karachi"], [i.BD]: ["Asia/Dhaka"], [i.TH]: ["Asia/Bangkok"], [i.VN]: ["Asia/Ho_Chi_Minh"], [i.MY]: ["Asia/Kuala_Lumpur"], [i.SG]: ["Asia/Singapore"], [i.ID]: ["Asia/Jakarta", "Asia/Makassar", "Asia/Jayapura"], [i.PH]: ["Asia/Manila"], [i.AE]: ["Asia/Dubai"], [i.SA]: ["Asia/Riyadh"], [i.IR]: ["Asia/Tehran"], [i.IQ]: ["Asia/Baghdad"], [i.IL]: ["Asia/Jerusalem"], [i.QA]: ["Asia/Qatar"], [i.KW]: ["Asia/Kuwait"], [i.EG]: ["Africa/Cairo"], [i.NG]: ["Africa/Lagos"], [i.ZA]: ["Africa/Johannesburg"], [i.KE]: ["Africa/Nairobi"], [i.MA]: ["Africa/Casablanca"], [i.GH]: ["Africa/Accra"], [i.ET]: ["Africa/Addis_Ababa"], [i.TZ]: ["Africa/Dar_es_Salaam"], [i.SN]: ["Africa/Dakar"], [i.AU]: ["Australia/Sydney", "Australia/Melbourne", "Australia/Perth", "Australia/Brisbane"], [i.NZ]: ["Pacific/Auckland"], [i.FJ]: ["Pacific/Fiji"], [i.PG]: ["Pacific/Port_Moresby"], [i.AQ]: ["Antarctica/McMurdo", "Antarctica/Palmer", "Antarctica/Casey"] };
|
|
70
|
+
Array.from(new Set(Object.values(We).flat()));
|
|
72
71
|
Array.from({ length: ze }, (e, r) => r);
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
Array.from({ length: Ue }, (e, r) => r);
|
|
73
|
+
const L = 768;
|
|
74
|
+
function $e() {
|
|
75
75
|
const [e, r] = v.useState(void 0);
|
|
76
76
|
return v.useEffect(() => {
|
|
77
|
-
const t = window.matchMedia(`(max-width: ${
|
|
78
|
-
r(window.innerWidth <
|
|
77
|
+
const t = window.matchMedia(`(max-width: ${L - 1}px)`), a = () => {
|
|
78
|
+
r(window.innerWidth < L);
|
|
79
79
|
};
|
|
80
|
-
return t.addEventListener("change", a), r(window.innerWidth <
|
|
80
|
+
return t.addEventListener("change", a), r(window.innerWidth < L), () => t.removeEventListener("change", a);
|
|
81
81
|
}, []), !!e;
|
|
82
82
|
}
|
|
83
|
-
const
|
|
84
|
-
function
|
|
85
|
-
const e = v.useContext(
|
|
83
|
+
const Je = "sidebar_state", Qe = Ke.WEEK, Ze = "16rem", qe = "18rem", Xe = "3rem", ae = v.createContext(null);
|
|
84
|
+
function oe() {
|
|
85
|
+
const e = v.useContext(ae);
|
|
86
86
|
if (!e)
|
|
87
87
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
88
88
|
return e;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function ur({
|
|
91
91
|
defaultOpen: e = !0,
|
|
92
92
|
open: r,
|
|
93
93
|
onOpenChange: t,
|
|
@@ -96,32 +96,32 @@ function lr({
|
|
|
96
96
|
children: s,
|
|
97
97
|
...d
|
|
98
98
|
}) {
|
|
99
|
-
const l =
|
|
100
|
-
(
|
|
101
|
-
const
|
|
102
|
-
t ? t(
|
|
99
|
+
const l = $e(), [f, p] = v.useState(!1), [C, g] = v.useState(e), x = r ?? C, w = v.useCallback(
|
|
100
|
+
(h) => {
|
|
101
|
+
const S = typeof h == "function" ? h(x) : h;
|
|
102
|
+
t ? t(S) : g(S), document.cookie = `${Je}=${S}; path=/; max-age=${Qe}`;
|
|
103
103
|
},
|
|
104
|
-
[t,
|
|
105
|
-
),
|
|
106
|
-
}, []),
|
|
104
|
+
[t, x]
|
|
105
|
+
), A = v.useCallback(() => {
|
|
106
|
+
}, []), y = x ? "expanded" : "collapsed", b = v.useMemo(
|
|
107
107
|
() => ({
|
|
108
|
-
state:
|
|
109
|
-
open:
|
|
110
|
-
setOpen:
|
|
108
|
+
state: y,
|
|
109
|
+
open: x,
|
|
110
|
+
setOpen: w,
|
|
111
111
|
isMobile: l,
|
|
112
112
|
openMobile: f,
|
|
113
|
-
setOpenMobile:
|
|
114
|
-
toggleSidebar:
|
|
113
|
+
setOpenMobile: p,
|
|
114
|
+
toggleSidebar: A
|
|
115
115
|
}),
|
|
116
|
-
[
|
|
116
|
+
[y, x, w, l, f, p, A]
|
|
117
117
|
);
|
|
118
|
-
return /* @__PURE__ */ n(
|
|
118
|
+
return /* @__PURE__ */ n(ae.Provider, { value: b, children: /* @__PURE__ */ n(he, { delayDuration: 0, children: /* @__PURE__ */ n(
|
|
119
119
|
"div",
|
|
120
120
|
{
|
|
121
121
|
"data-slot": "sidebar-wrapper",
|
|
122
122
|
style: {
|
|
123
|
-
"--sidebar-width":
|
|
124
|
-
"--sidebar-width-icon":
|
|
123
|
+
"--sidebar-width": Ze,
|
|
124
|
+
"--sidebar-width-icon": Xe,
|
|
125
125
|
...o
|
|
126
126
|
},
|
|
127
127
|
className: u(
|
|
@@ -133,35 +133,35 @@ function lr({
|
|
|
133
133
|
}
|
|
134
134
|
) }) });
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function je({
|
|
137
137
|
side: e,
|
|
138
138
|
openMobile: r,
|
|
139
139
|
setOpenMobile: t,
|
|
140
140
|
children: a,
|
|
141
141
|
...o
|
|
142
142
|
}) {
|
|
143
|
-
return /* @__PURE__ */ n(
|
|
144
|
-
|
|
143
|
+
return /* @__PURE__ */ n(ye, { open: r, onOpenChange: t, ...o, children: /* @__PURE__ */ N(
|
|
144
|
+
Se,
|
|
145
145
|
{
|
|
146
146
|
"data-sidebar": "sidebar",
|
|
147
147
|
"data-slot": "sidebar",
|
|
148
148
|
"data-mobile": "true",
|
|
149
149
|
className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
150
150
|
style: {
|
|
151
|
-
"--sidebar-width":
|
|
151
|
+
"--sidebar-width": qe
|
|
152
152
|
},
|
|
153
153
|
side: e,
|
|
154
154
|
children: [
|
|
155
|
-
/* @__PURE__ */ N(
|
|
156
|
-
/* @__PURE__ */ n(
|
|
157
|
-
/* @__PURE__ */ n(
|
|
155
|
+
/* @__PURE__ */ N(Ce, { className: "sr-only", children: [
|
|
156
|
+
/* @__PURE__ */ n(Me, { children: "Sidebar" }),
|
|
157
|
+
/* @__PURE__ */ n(Ie, { children: "Displays the mobile sidebar." })
|
|
158
158
|
] }),
|
|
159
159
|
/* @__PURE__ */ n("div", { className: "flex h-full w-full flex-col", children: a })
|
|
160
160
|
]
|
|
161
161
|
}
|
|
162
162
|
) });
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Ye({
|
|
165
165
|
side: e,
|
|
166
166
|
variant: r,
|
|
167
167
|
collapsible: t,
|
|
@@ -219,7 +219,7 @@ function je({
|
|
|
219
219
|
}
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function cr({
|
|
223
223
|
side: e = "left",
|
|
224
224
|
variant: r = "sidebar",
|
|
225
225
|
collapsible: t = "offcanvas",
|
|
@@ -227,7 +227,7 @@ function ur({
|
|
|
227
227
|
children: o,
|
|
228
228
|
...s
|
|
229
229
|
}) {
|
|
230
|
-
const { isMobile: d, state: l, openMobile: f, setOpenMobile:
|
|
230
|
+
const { isMobile: d, state: l, openMobile: f, setOpenMobile: p } = oe();
|
|
231
231
|
return t === "none" ? /* @__PURE__ */ n(
|
|
232
232
|
"div",
|
|
233
233
|
{
|
|
@@ -239,8 +239,8 @@ function ur({
|
|
|
239
239
|
...s,
|
|
240
240
|
children: o
|
|
241
241
|
}
|
|
242
|
-
) : d ? /* @__PURE__ */ n(
|
|
243
|
-
|
|
242
|
+
) : d ? /* @__PURE__ */ n(je, { side: e, openMobile: f, setOpenMobile: p, ...s, children: o }) : /* @__PURE__ */ n(
|
|
243
|
+
Ye,
|
|
244
244
|
{
|
|
245
245
|
side: e,
|
|
246
246
|
variant: r,
|
|
@@ -252,9 +252,9 @@ function ur({
|
|
|
252
252
|
}
|
|
253
253
|
);
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function mr({ className: e, onClick: r, ...t }) {
|
|
256
256
|
return /* @__PURE__ */ N(
|
|
257
|
-
|
|
257
|
+
re,
|
|
258
258
|
{
|
|
259
259
|
"data-sidebar": "trigger",
|
|
260
260
|
"data-slot": "sidebar-trigger",
|
|
@@ -267,13 +267,13 @@ function cr({ className: e, onClick: r, ...t }) {
|
|
|
267
267
|
disabled: !0,
|
|
268
268
|
...t,
|
|
269
269
|
children: [
|
|
270
|
-
/* @__PURE__ */ n(
|
|
270
|
+
/* @__PURE__ */ n(Oe, {}),
|
|
271
271
|
/* @__PURE__ */ n("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
272
272
|
]
|
|
273
273
|
}
|
|
274
274
|
);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function fr({ className: e, ...r }) {
|
|
277
277
|
return /* @__PURE__ */ n(
|
|
278
278
|
"button",
|
|
279
279
|
{
|
|
@@ -298,7 +298,7 @@ function mr({ className: e, ...r }) {
|
|
|
298
298
|
}
|
|
299
299
|
);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function pr({ className: e, ...r }) {
|
|
302
302
|
return /* @__PURE__ */ n(
|
|
303
303
|
"main",
|
|
304
304
|
{
|
|
@@ -312,9 +312,9 @@ function fr({ className: e, ...r }) {
|
|
|
312
312
|
}
|
|
313
313
|
);
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function br({ className: e, ...r }) {
|
|
316
316
|
return /* @__PURE__ */ n(
|
|
317
|
-
|
|
317
|
+
Ge,
|
|
318
318
|
{
|
|
319
319
|
"data-slot": "sidebar-input",
|
|
320
320
|
"data-sidebar": "input",
|
|
@@ -323,7 +323,7 @@ function pr({ className: e, ...r }) {
|
|
|
323
323
|
}
|
|
324
324
|
);
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function gr({ className: e, ...r }) {
|
|
327
327
|
return /* @__PURE__ */ n(
|
|
328
328
|
"div",
|
|
329
329
|
{
|
|
@@ -334,7 +334,7 @@ function br({ className: e, ...r }) {
|
|
|
334
334
|
}
|
|
335
335
|
);
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function hr({ className: e, ...r }) {
|
|
338
338
|
return /* @__PURE__ */ n(
|
|
339
339
|
"div",
|
|
340
340
|
{
|
|
@@ -345,9 +345,9 @@ function gr({ className: e, ...r }) {
|
|
|
345
345
|
}
|
|
346
346
|
);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function xr({ className: e, ...r }) {
|
|
349
349
|
return /* @__PURE__ */ n(
|
|
350
|
-
|
|
350
|
+
He,
|
|
351
351
|
{
|
|
352
352
|
"data-slot": "sidebar-separator",
|
|
353
353
|
"data-sidebar": "separator",
|
|
@@ -356,7 +356,7 @@ function hr({ className: e, ...r }) {
|
|
|
356
356
|
}
|
|
357
357
|
);
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function vr({ className: e, ...r }) {
|
|
360
360
|
return /* @__PURE__ */ n(
|
|
361
361
|
"div",
|
|
362
362
|
{
|
|
@@ -370,7 +370,7 @@ function xr({ className: e, ...r }) {
|
|
|
370
370
|
}
|
|
371
371
|
);
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Ar({ className: e, ...r }) {
|
|
374
374
|
return /* @__PURE__ */ n(
|
|
375
375
|
"div",
|
|
376
376
|
{
|
|
@@ -381,7 +381,7 @@ function vr({ className: e, ...r }) {
|
|
|
381
381
|
}
|
|
382
382
|
);
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function wr({
|
|
385
385
|
className: e,
|
|
386
386
|
asChild: r = !1,
|
|
387
387
|
...t
|
|
@@ -400,7 +400,7 @@ function Ar({
|
|
|
400
400
|
}
|
|
401
401
|
);
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function yr({
|
|
404
404
|
className: e,
|
|
405
405
|
asChild: r = !1,
|
|
406
406
|
...t
|
|
@@ -421,7 +421,7 @@ function wr({
|
|
|
421
421
|
}
|
|
422
422
|
);
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function Sr({ className: e, ...r }) {
|
|
425
425
|
return /* @__PURE__ */ n(
|
|
426
426
|
"div",
|
|
427
427
|
{
|
|
@@ -432,7 +432,7 @@ function yr({ className: e, ...r }) {
|
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function Cr({ className: e, ...r }) {
|
|
436
436
|
return /* @__PURE__ */ n(
|
|
437
437
|
"ul",
|
|
438
438
|
{
|
|
@@ -443,7 +443,7 @@ function Sr({ className: e, ...r }) {
|
|
|
443
443
|
}
|
|
444
444
|
);
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function Mr({ className: e, ...r }) {
|
|
447
447
|
return /* @__PURE__ */ n(
|
|
448
448
|
"li",
|
|
449
449
|
{
|
|
@@ -454,7 +454,7 @@ function Cr({ className: e, ...r }) {
|
|
|
454
454
|
}
|
|
455
455
|
);
|
|
456
456
|
}
|
|
457
|
-
const
|
|
457
|
+
const et = Pe(
|
|
458
458
|
"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",
|
|
459
459
|
{
|
|
460
460
|
variants: {
|
|
@@ -474,7 +474,7 @@ const Ye = Fe(
|
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
);
|
|
477
|
-
function
|
|
477
|
+
function Ir({
|
|
478
478
|
asChild: e = !1,
|
|
479
479
|
isActive: r = !1,
|
|
480
480
|
variant: t = "default",
|
|
@@ -483,33 +483,33 @@ function Mr({
|
|
|
483
483
|
className: s,
|
|
484
484
|
...d
|
|
485
485
|
}) {
|
|
486
|
-
const l = e ? T : "button", { isMobile: f, state:
|
|
486
|
+
const l = e ? T : "button", { isMobile: f, state: p } = oe(), C = /* @__PURE__ */ n(
|
|
487
487
|
l,
|
|
488
488
|
{
|
|
489
489
|
"data-slot": "sidebar-menu-button",
|
|
490
490
|
"data-sidebar": "menu-button",
|
|
491
491
|
"data-size": a,
|
|
492
492
|
"data-active": r,
|
|
493
|
-
className: u(
|
|
493
|
+
className: u(et({ variant: t, size: a }), s),
|
|
494
494
|
...d
|
|
495
495
|
}
|
|
496
496
|
);
|
|
497
497
|
return o ? (typeof o == "string" && (o = {
|
|
498
498
|
children: o
|
|
499
|
-
}), /* @__PURE__ */ N(
|
|
500
|
-
/* @__PURE__ */ n(
|
|
499
|
+
}), /* @__PURE__ */ N(pe, { children: [
|
|
500
|
+
/* @__PURE__ */ n(be, { asChild: !0, children: C }),
|
|
501
501
|
/* @__PURE__ */ n(
|
|
502
|
-
|
|
502
|
+
ge,
|
|
503
503
|
{
|
|
504
504
|
side: "right",
|
|
505
505
|
align: "center",
|
|
506
|
-
hidden:
|
|
506
|
+
hidden: p !== "collapsed" || f,
|
|
507
507
|
...o
|
|
508
508
|
}
|
|
509
509
|
)
|
|
510
|
-
] })) :
|
|
510
|
+
] })) : C;
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function Nr({
|
|
513
513
|
className: e,
|
|
514
514
|
asChild: r = !1,
|
|
515
515
|
showOnHover: t = !1,
|
|
@@ -535,7 +535,7 @@ function Ir({
|
|
|
535
535
|
}
|
|
536
536
|
);
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function Dr({ className: e, ...r }) {
|
|
539
539
|
return /* @__PURE__ */ n(
|
|
540
540
|
"div",
|
|
541
541
|
{
|
|
@@ -554,13 +554,13 @@ function Nr({ className: e, ...r }) {
|
|
|
554
554
|
}
|
|
555
555
|
);
|
|
556
556
|
}
|
|
557
|
-
const
|
|
558
|
-
function
|
|
557
|
+
const tt = 50, rt = 40;
|
|
558
|
+
function _r({
|
|
559
559
|
className: e,
|
|
560
560
|
showIcon: r = !1,
|
|
561
561
|
...t
|
|
562
562
|
}) {
|
|
563
|
-
const a = v.useMemo(() => `${Math.floor(Math.random() *
|
|
563
|
+
const a = v.useMemo(() => `${Math.floor(Math.random() * rt) + tt}%`, []);
|
|
564
564
|
return /* @__PURE__ */ N(
|
|
565
565
|
"div",
|
|
566
566
|
{
|
|
@@ -569,9 +569,9 @@ function Dr({
|
|
|
569
569
|
className: u("flex h-10 items-center gap-3 rounded-md px-2", e),
|
|
570
570
|
...t,
|
|
571
571
|
children: [
|
|
572
|
-
r && /* @__PURE__ */ n(
|
|
572
|
+
r && /* @__PURE__ */ n(q, { className: "size-6 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
|
|
573
573
|
/* @__PURE__ */ n(
|
|
574
|
-
|
|
574
|
+
q,
|
|
575
575
|
{
|
|
576
576
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
577
577
|
"data-sidebar": "menu-skeleton-text",
|
|
@@ -584,7 +584,7 @@ function Dr({
|
|
|
584
584
|
}
|
|
585
585
|
);
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function Er({ className: e, ...r }) {
|
|
588
588
|
return /* @__PURE__ */ n(
|
|
589
589
|
"ul",
|
|
590
590
|
{
|
|
@@ -599,7 +599,7 @@ function _r({ className: e, ...r }) {
|
|
|
599
599
|
}
|
|
600
600
|
);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function Tr({ className: e, ...r }) {
|
|
603
603
|
return /* @__PURE__ */ n(
|
|
604
604
|
"li",
|
|
605
605
|
{
|
|
@@ -610,7 +610,7 @@ function Er({ className: e, ...r }) {
|
|
|
610
610
|
}
|
|
611
611
|
);
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function kr({
|
|
614
614
|
asChild: e = !1,
|
|
615
615
|
size: r = "md",
|
|
616
616
|
isActive: t = !1,
|
|
@@ -636,59 +636,59 @@ function Tr({
|
|
|
636
636
|
}
|
|
637
637
|
);
|
|
638
638
|
}
|
|
639
|
-
var
|
|
640
|
-
const
|
|
641
|
-
var E = (e) => !
|
|
639
|
+
var at = (e) => e.type === "checkbox", k = (e) => e instanceof Date, U = (e) => e == null;
|
|
640
|
+
const ne = (e) => typeof e == "object";
|
|
641
|
+
var E = (e) => !U(e) && !Array.isArray(e) && ne(e) && !k(e), ot = (e) => E(e) && e.target ? at(e.target) ? e.target.checked : e.target.value : e, nt = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, it = (e, r) => e.has(nt(r)), st = (e) => {
|
|
642
642
|
const r = e.constructor && e.constructor.prototype;
|
|
643
643
|
return E(r) && r.hasOwnProperty("isPrototypeOf");
|
|
644
|
-
},
|
|
645
|
-
function
|
|
644
|
+
}, dt = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
645
|
+
function ie(e) {
|
|
646
646
|
let r;
|
|
647
647
|
const t = Array.isArray(e), a = typeof FileList < "u" ? e instanceof FileList : !1;
|
|
648
648
|
if (e instanceof Date)
|
|
649
649
|
r = new Date(e);
|
|
650
|
-
else if (!(
|
|
651
|
-
if (r = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !
|
|
650
|
+
else if (!(dt && (e instanceof Blob || a)) && (t || E(e)))
|
|
651
|
+
if (r = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !st(e))
|
|
652
652
|
r = e;
|
|
653
653
|
else
|
|
654
654
|
for (const o in e)
|
|
655
|
-
e.hasOwnProperty(o) && (r[o] =
|
|
655
|
+
e.hasOwnProperty(o) && (r[o] = ie(e[o]));
|
|
656
656
|
else
|
|
657
657
|
return e;
|
|
658
658
|
return r;
|
|
659
659
|
}
|
|
660
|
-
var
|
|
660
|
+
var se = (e) => /^\w*$/.test(e), z = (e) => e === void 0, lt = (e) => Array.isArray(e) ? e.filter(Boolean) : [], de = (e) => lt(e.replace(/["|']|\]/g, "").split(/\.|\[/)), I = (e, r, t) => {
|
|
661
661
|
if (!r || !E(e))
|
|
662
662
|
return t;
|
|
663
|
-
const a = (
|
|
664
|
-
return
|
|
665
|
-
},
|
|
663
|
+
const a = (se(r) ? [r] : de(r)).reduce((o, s) => U(o) ? o : o[s], e);
|
|
664
|
+
return z(a) || a === e ? z(e[r]) ? t : e[r] : a;
|
|
665
|
+
}, G = (e) => typeof e == "boolean", X = (e, r, t) => {
|
|
666
666
|
let a = -1;
|
|
667
|
-
const o =
|
|
667
|
+
const o = se(r) ? [r] : de(r), s = o.length, d = s - 1;
|
|
668
668
|
for (; ++a < s; ) {
|
|
669
669
|
const l = o[a];
|
|
670
670
|
let f = t;
|
|
671
671
|
if (a !== d) {
|
|
672
|
-
const
|
|
673
|
-
f = E(
|
|
672
|
+
const p = e[l];
|
|
673
|
+
f = E(p) || Array.isArray(p) ? p : isNaN(+o[a + 1]) ? {} : [];
|
|
674
674
|
}
|
|
675
675
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
676
676
|
return;
|
|
677
677
|
e[l] = f, e = e[l];
|
|
678
678
|
}
|
|
679
679
|
};
|
|
680
|
-
const
|
|
680
|
+
const j = {
|
|
681
681
|
BLUR: "blur",
|
|
682
682
|
CHANGE: "change"
|
|
683
|
-
},
|
|
683
|
+
}, Y = {
|
|
684
684
|
all: "all"
|
|
685
|
-
},
|
|
686
|
-
|
|
687
|
-
const
|
|
685
|
+
}, K = m.createContext(null);
|
|
686
|
+
K.displayName = "HookFormContext";
|
|
687
|
+
const O = () => m.useContext(K), ut = (e) => {
|
|
688
688
|
const { children: r, ...t } = e;
|
|
689
|
-
return m.createElement(
|
|
689
|
+
return m.createElement(K.Provider, { value: t }, r);
|
|
690
690
|
};
|
|
691
|
-
var
|
|
691
|
+
var ct = (e, r, t, a = !0) => {
|
|
692
692
|
const o = {
|
|
693
693
|
defaultValues: r._defaultValues
|
|
694
694
|
};
|
|
@@ -696,14 +696,14 @@ var ut = (e, r, t, a = !0) => {
|
|
|
696
696
|
Object.defineProperty(o, s, {
|
|
697
697
|
get: () => {
|
|
698
698
|
const d = s;
|
|
699
|
-
return r._proxyFormState[d] !==
|
|
699
|
+
return r._proxyFormState[d] !== Y.all && (r._proxyFormState[d] = !a || Y.all), t && (t[d] = !0), e[d];
|
|
700
700
|
}
|
|
701
701
|
});
|
|
702
702
|
return o;
|
|
703
703
|
};
|
|
704
|
-
const
|
|
705
|
-
function
|
|
706
|
-
const r =
|
|
704
|
+
const le = typeof window < "u" ? m.useLayoutEffect : m.useEffect;
|
|
705
|
+
function mt(e) {
|
|
706
|
+
const r = O(), { control: t = r.control, disabled: a, name: o, exact: s } = e || {}, [d, l] = m.useState(t._formState), f = m.useRef({
|
|
707
707
|
isDirty: !1,
|
|
708
708
|
isLoading: !1,
|
|
709
709
|
dirtyFields: !1,
|
|
@@ -713,23 +713,23 @@ function ct(e) {
|
|
|
713
713
|
isValid: !1,
|
|
714
714
|
errors: !1
|
|
715
715
|
});
|
|
716
|
-
return
|
|
716
|
+
return le(() => t._subscribe({
|
|
717
717
|
name: o,
|
|
718
718
|
formState: f.current,
|
|
719
719
|
exact: s,
|
|
720
|
-
callback: (
|
|
720
|
+
callback: (p) => {
|
|
721
721
|
!a && l({
|
|
722
722
|
...t._formState,
|
|
723
|
-
...
|
|
723
|
+
...p
|
|
724
724
|
});
|
|
725
725
|
}
|
|
726
726
|
}), [o, a, s]), m.useEffect(() => {
|
|
727
727
|
f.current.isValid && t._setValid(!0);
|
|
728
|
-
}, [t]), m.useMemo(() =>
|
|
728
|
+
}, [t]), m.useMemo(() => ct(d, t, f.current, !1), [d, t]);
|
|
729
729
|
}
|
|
730
|
-
var
|
|
731
|
-
function
|
|
732
|
-
if (
|
|
730
|
+
var ft = (e) => typeof e == "string", ee = (e, r, t, a, o) => ft(e) ? I(t, e, o) : Array.isArray(e) ? e.map((s) => I(t, s)) : t, te = (e) => U(e) || !ne(e);
|
|
731
|
+
function P(e, r, t = /* @__PURE__ */ new WeakSet()) {
|
|
732
|
+
if (te(e) || te(r))
|
|
733
733
|
return Object.is(e, r);
|
|
734
734
|
if (k(e) && k(r))
|
|
735
735
|
return e.getTime() === r.getTime();
|
|
@@ -745,66 +745,66 @@ function F(e, r, t = /* @__PURE__ */ new WeakSet()) {
|
|
|
745
745
|
return !1;
|
|
746
746
|
if (s !== "ref") {
|
|
747
747
|
const l = r[s];
|
|
748
|
-
if (k(d) && k(l) || E(d) && E(l) || Array.isArray(d) && Array.isArray(l) ? !
|
|
748
|
+
if (k(d) && k(l) || E(d) && E(l) || Array.isArray(d) && Array.isArray(l) ? !P(d, l, t) : !Object.is(d, l))
|
|
749
749
|
return !1;
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
752
|
return !0;
|
|
753
753
|
}
|
|
754
|
-
function
|
|
755
|
-
const r =
|
|
756
|
-
|
|
757
|
-
const [
|
|
758
|
-
const
|
|
759
|
-
return
|
|
760
|
-
}),
|
|
761
|
-
const
|
|
762
|
-
return
|
|
763
|
-
}, [t._formValues, t._names, a]),
|
|
754
|
+
function pt(e) {
|
|
755
|
+
const r = O(), { control: t = r.control, name: a, defaultValue: o, disabled: s, exact: d, compute: l } = e || {}, f = m.useRef(o), p = m.useRef(l), C = m.useRef(void 0), g = m.useRef(t), x = m.useRef(a);
|
|
756
|
+
p.current = l;
|
|
757
|
+
const [w, A] = m.useState(() => {
|
|
758
|
+
const c = t._getWatch(a, f.current);
|
|
759
|
+
return p.current ? p.current(c) : c;
|
|
760
|
+
}), y = m.useCallback((c) => {
|
|
761
|
+
const M = ee(a, t._names, c || t._formValues, !1, f.current);
|
|
762
|
+
return p.current ? p.current(M) : M;
|
|
763
|
+
}, [t._formValues, t._names, a]), b = m.useCallback((c) => {
|
|
764
764
|
if (!s) {
|
|
765
|
-
const
|
|
766
|
-
if (
|
|
767
|
-
const _ =
|
|
768
|
-
|
|
765
|
+
const M = ee(a, t._names, c || t._formValues, !1, f.current);
|
|
766
|
+
if (p.current) {
|
|
767
|
+
const _ = p.current(M);
|
|
768
|
+
P(_, C.current) || (A(_), C.current = _);
|
|
769
769
|
} else
|
|
770
|
-
|
|
770
|
+
A(M);
|
|
771
771
|
}
|
|
772
772
|
}, [t._formValues, t._names, s, a]);
|
|
773
|
-
|
|
773
|
+
le(() => ((g.current !== t || !P(x.current, a)) && (g.current = t, x.current = a, b()), t._subscribe({
|
|
774
774
|
name: a,
|
|
775
775
|
formState: {
|
|
776
776
|
values: !0
|
|
777
777
|
},
|
|
778
778
|
exact: d,
|
|
779
|
-
callback: (
|
|
780
|
-
|
|
779
|
+
callback: (c) => {
|
|
780
|
+
b(c.values);
|
|
781
781
|
}
|
|
782
|
-
})), [t, d, a,
|
|
783
|
-
const
|
|
782
|
+
})), [t, d, a, b]), m.useEffect(() => t._removeUnmounted());
|
|
783
|
+
const h = g.current !== t, S = x.current, D = m.useMemo(() => {
|
|
784
784
|
if (s)
|
|
785
785
|
return null;
|
|
786
|
-
const
|
|
787
|
-
return
|
|
788
|
-
}, [s,
|
|
789
|
-
return
|
|
786
|
+
const c = !h && !P(S, a);
|
|
787
|
+
return h || c ? y() : null;
|
|
788
|
+
}, [s, h, a, S, y]);
|
|
789
|
+
return D !== null ? D : w;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
792
|
-
const r =
|
|
791
|
+
function bt(e) {
|
|
792
|
+
const r = O(), { name: t, disabled: a, control: o = r.control, shouldUnregister: s, defaultValue: d, exact: l = !0 } = e, f = it(o._names.array, t), p = m.useMemo(() => I(o._formValues, t, I(o._defaultValues, t, d)), [o, t, d]), C = pt({
|
|
793
793
|
control: o,
|
|
794
794
|
name: t,
|
|
795
|
-
defaultValue:
|
|
796
|
-
exact:
|
|
797
|
-
}), g =
|
|
795
|
+
defaultValue: p,
|
|
796
|
+
exact: l
|
|
797
|
+
}), g = mt({
|
|
798
798
|
control: o,
|
|
799
799
|
name: t,
|
|
800
|
-
exact:
|
|
801
|
-
}),
|
|
800
|
+
exact: l
|
|
801
|
+
}), x = m.useRef(e), w = m.useRef(void 0), A = m.useRef(o.register(t, {
|
|
802
802
|
...e.rules,
|
|
803
|
-
value:
|
|
804
|
-
...
|
|
803
|
+
value: C,
|
|
804
|
+
...G(e.disabled) ? { disabled: e.disabled } : {}
|
|
805
805
|
}));
|
|
806
|
-
|
|
807
|
-
const
|
|
806
|
+
x.current = e;
|
|
807
|
+
const y = m.useMemo(() => Object.defineProperties({}, {
|
|
808
808
|
invalid: {
|
|
809
809
|
enumerable: !0,
|
|
810
810
|
get: () => !!I(g.errors, t)
|
|
@@ -825,66 +825,66 @@ function pt(e) {
|
|
|
825
825
|
enumerable: !0,
|
|
826
826
|
get: () => I(g.errors, t)
|
|
827
827
|
}
|
|
828
|
-
}), [g, t]),
|
|
828
|
+
}), [g, t]), b = m.useCallback((c) => A.current.onChange({
|
|
829
829
|
target: {
|
|
830
|
-
value:
|
|
830
|
+
value: ot(c),
|
|
831
831
|
name: t
|
|
832
832
|
},
|
|
833
|
-
type:
|
|
834
|
-
}), [t]),
|
|
833
|
+
type: j.CHANGE
|
|
834
|
+
}), [t]), h = m.useCallback(() => A.current.onBlur({
|
|
835
835
|
target: {
|
|
836
836
|
value: I(o._formValues, t),
|
|
837
837
|
name: t
|
|
838
838
|
},
|
|
839
|
-
type:
|
|
840
|
-
}), [t, o._formValues]),
|
|
841
|
-
const
|
|
842
|
-
|
|
843
|
-
focus: () =>
|
|
844
|
-
select: () =>
|
|
845
|
-
setCustomValidity: (
|
|
846
|
-
reportValidity: () =>
|
|
839
|
+
type: j.BLUR
|
|
840
|
+
}), [t, o._formValues]), S = m.useCallback((c) => {
|
|
841
|
+
const M = I(o._fields, t);
|
|
842
|
+
M && c && (M._f.ref = {
|
|
843
|
+
focus: () => c.focus && c.focus(),
|
|
844
|
+
select: () => c.select && c.select(),
|
|
845
|
+
setCustomValidity: (_) => c.setCustomValidity(_),
|
|
846
|
+
reportValidity: () => c.reportValidity()
|
|
847
847
|
});
|
|
848
|
-
}, [o._fields, t]),
|
|
848
|
+
}, [o._fields, t]), D = m.useMemo(() => ({
|
|
849
849
|
name: t,
|
|
850
|
-
value:
|
|
851
|
-
...
|
|
852
|
-
onChange:
|
|
853
|
-
onBlur:
|
|
854
|
-
ref:
|
|
855
|
-
}), [t, a, g.disabled,
|
|
850
|
+
value: C,
|
|
851
|
+
...G(a) || g.disabled ? { disabled: g.disabled || a } : {},
|
|
852
|
+
onChange: b,
|
|
853
|
+
onBlur: h,
|
|
854
|
+
ref: S
|
|
855
|
+
}), [t, a, g.disabled, b, h, S, C]);
|
|
856
856
|
return m.useEffect(() => {
|
|
857
|
-
const
|
|
858
|
-
|
|
859
|
-
...
|
|
860
|
-
...
|
|
857
|
+
const c = o._options.shouldUnregister || s, M = w.current;
|
|
858
|
+
M && M !== t && !f && o.unregister(M), o.register(t, {
|
|
859
|
+
...x.current.rules,
|
|
860
|
+
...G(x.current.disabled) ? { disabled: x.current.disabled } : {}
|
|
861
861
|
});
|
|
862
|
-
const
|
|
863
|
-
const
|
|
864
|
-
|
|
862
|
+
const _ = (R, fe) => {
|
|
863
|
+
const B = I(o._fields, R);
|
|
864
|
+
B && B._f && (B._f.mount = fe);
|
|
865
865
|
};
|
|
866
|
-
if (
|
|
867
|
-
const
|
|
868
|
-
|
|
866
|
+
if (_(t, !0), c) {
|
|
867
|
+
const R = ie(I(o._options.defaultValues, t, x.current.defaultValue));
|
|
868
|
+
X(o._defaultValues, t, R), z(I(o._formValues, t)) && X(o._formValues, t, R);
|
|
869
869
|
}
|
|
870
|
-
return !
|
|
871
|
-
(
|
|
870
|
+
return !f && o.register(t), w.current = t, () => {
|
|
871
|
+
(f ? c && !o._state.action : c) ? o.unregister(t) : _(t, !1);
|
|
872
872
|
};
|
|
873
|
-
}, [t, o,
|
|
873
|
+
}, [t, o, f, s]), m.useEffect(() => {
|
|
874
874
|
o._setDisabledField({
|
|
875
875
|
disabled: a,
|
|
876
876
|
name: t
|
|
877
877
|
});
|
|
878
878
|
}, [a, t, o]), m.useMemo(() => ({
|
|
879
|
-
field:
|
|
879
|
+
field: D,
|
|
880
880
|
formState: g,
|
|
881
|
-
fieldState:
|
|
882
|
-
}), [
|
|
881
|
+
fieldState: y
|
|
882
|
+
}), [D, g, y]);
|
|
883
883
|
}
|
|
884
|
-
const
|
|
884
|
+
const gt = (e) => e.render(bt(e)), Rr = ut, ue = v.createContext(null), Fr = ({
|
|
885
885
|
...e
|
|
886
|
-
}) => /* @__PURE__ */ n(
|
|
887
|
-
const e = v.useContext(
|
|
886
|
+
}) => /* @__PURE__ */ n(ue.Provider, { value: { name: e.name }, children: /* @__PURE__ */ n(gt, { ...e }) }), V = () => {
|
|
887
|
+
const e = v.useContext(ue), r = v.useContext(ce), { getFieldState: t, formState: a } = O();
|
|
888
888
|
if (!e)
|
|
889
889
|
throw new Error("useFormField should be used within <FormField>");
|
|
890
890
|
if (!r)
|
|
@@ -898,17 +898,17 @@ const bt = (e) => e.render(pt(e)), kr = lt, le = v.createContext(null), Rr = ({
|
|
|
898
898
|
formMessageId: `${s}-form-item-message`,
|
|
899
899
|
...o
|
|
900
900
|
};
|
|
901
|
-
},
|
|
901
|
+
}, ce = v.createContext(null), ht = v.forwardRef(
|
|
902
902
|
({ className: e, ...r }, t) => {
|
|
903
903
|
const a = v.useId();
|
|
904
|
-
return /* @__PURE__ */ n(
|
|
904
|
+
return /* @__PURE__ */ n(ce.Provider, { value: { id: a }, children: /* @__PURE__ */ n("div", { ref: t, className: u("space-y-2", e), ...r }) });
|
|
905
905
|
}
|
|
906
906
|
);
|
|
907
|
-
|
|
908
|
-
const
|
|
909
|
-
const { error: a, formItemId: o } =
|
|
907
|
+
ht.displayName = "FormItem";
|
|
908
|
+
const xt = v.forwardRef(({ className: e, ...r }, t) => {
|
|
909
|
+
const { error: a, formItemId: o } = V();
|
|
910
910
|
return /* @__PURE__ */ n(
|
|
911
|
-
|
|
911
|
+
Ne,
|
|
912
912
|
{
|
|
913
913
|
ref: t,
|
|
914
914
|
className: u(a && "text-destructive", e),
|
|
@@ -917,9 +917,9 @@ const ht = v.forwardRef(({ className: e, ...r }, t) => {
|
|
|
917
917
|
}
|
|
918
918
|
);
|
|
919
919
|
});
|
|
920
|
-
|
|
921
|
-
const
|
|
922
|
-
const { error: t, formItemId: a, formDescriptionId: o, formMessageId: s } =
|
|
920
|
+
xt.displayName = "FormLabel";
|
|
921
|
+
const vt = v.forwardRef(({ ...e }, r) => {
|
|
922
|
+
const { error: t, formItemId: a, formDescriptionId: o, formMessageId: s } = V();
|
|
923
923
|
return /* @__PURE__ */ n(
|
|
924
924
|
T,
|
|
925
925
|
{
|
|
@@ -931,9 +931,9 @@ const xt = v.forwardRef(({ ...e }, r) => {
|
|
|
931
931
|
}
|
|
932
932
|
);
|
|
933
933
|
});
|
|
934
|
-
|
|
935
|
-
const
|
|
936
|
-
const { formDescriptionId: a } =
|
|
934
|
+
vt.displayName = "FormControl";
|
|
935
|
+
const At = v.forwardRef(({ className: e, ...r }, t) => {
|
|
936
|
+
const { formDescriptionId: a } = V();
|
|
937
937
|
return /* @__PURE__ */ n(
|
|
938
938
|
"p",
|
|
939
939
|
{
|
|
@@ -944,9 +944,9 @@ const vt = v.forwardRef(({ className: e, ...r }, t) => {
|
|
|
944
944
|
}
|
|
945
945
|
);
|
|
946
946
|
});
|
|
947
|
-
|
|
948
|
-
const
|
|
949
|
-
const { error: o, formMessageId: s } =
|
|
947
|
+
At.displayName = "FormDescription";
|
|
948
|
+
const wt = v.forwardRef(({ className: e, children: r, ...t }, a) => {
|
|
949
|
+
const { error: o, formMessageId: s } = V(), d = o ? String((o == null ? void 0 : o.message) ?? "") : r;
|
|
950
950
|
return d ? /* @__PURE__ */ n(
|
|
951
951
|
"p",
|
|
952
952
|
{
|
|
@@ -958,54 +958,54 @@ const At = v.forwardRef(({ className: e, children: r, ...t }, a) => {
|
|
|
958
958
|
}
|
|
959
959
|
) : null;
|
|
960
960
|
});
|
|
961
|
-
|
|
962
|
-
function
|
|
961
|
+
wt.displayName = "FormMessage";
|
|
962
|
+
function yt(e, r) {
|
|
963
963
|
let t = null;
|
|
964
964
|
return function(...a) {
|
|
965
965
|
t && clearTimeout(t), t = setTimeout(() => e.apply(this, a), r);
|
|
966
966
|
};
|
|
967
967
|
}
|
|
968
|
-
const
|
|
969
|
-
function
|
|
968
|
+
const me = ke(null);
|
|
969
|
+
function Pr({
|
|
970
970
|
children: e,
|
|
971
971
|
values: r,
|
|
972
972
|
defaultValues: t,
|
|
973
973
|
onValuesChange: a
|
|
974
974
|
}) {
|
|
975
|
-
const [o, s] =
|
|
976
|
-
function
|
|
977
|
-
const
|
|
978
|
-
const
|
|
979
|
-
return
|
|
975
|
+
const [o, s] = F(!1), [d, l] = F(new Set(r ?? t)), f = r ? new Set(r) : d, [p, C] = F(/* @__PURE__ */ new Map());
|
|
976
|
+
function g(w) {
|
|
977
|
+
const A = (y) => {
|
|
978
|
+
const b = new Set(y);
|
|
979
|
+
return b.has(w) ? b.delete(w) : b.add(w), b;
|
|
980
980
|
};
|
|
981
|
-
l(
|
|
981
|
+
l(A), a == null || a([...A(f)]);
|
|
982
982
|
}
|
|
983
|
-
const
|
|
984
|
-
|
|
983
|
+
const x = H((w, A) => {
|
|
984
|
+
C((y) => y.get(w) === A ? y : new Map(y).set(w, A));
|
|
985
985
|
}, []);
|
|
986
986
|
return /* @__PURE__ */ n(
|
|
987
|
-
|
|
987
|
+
me,
|
|
988
988
|
{
|
|
989
989
|
value: {
|
|
990
990
|
open: o,
|
|
991
991
|
setOpen: s,
|
|
992
992
|
selectedValues: f,
|
|
993
|
-
toggleValue:
|
|
994
|
-
items:
|
|
995
|
-
onItemAdded:
|
|
993
|
+
toggleValue: g,
|
|
994
|
+
items: p,
|
|
995
|
+
onItemAdded: x
|
|
996
996
|
},
|
|
997
|
-
children: /* @__PURE__ */ n(
|
|
997
|
+
children: /* @__PURE__ */ n(De, { open: o, onOpenChange: s, modal: !0, children: e })
|
|
998
998
|
}
|
|
999
999
|
);
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1001
|
+
function Or({
|
|
1002
1002
|
className: e,
|
|
1003
1003
|
children: r,
|
|
1004
1004
|
...t
|
|
1005
1005
|
}) {
|
|
1006
|
-
const { open: a } =
|
|
1007
|
-
return /* @__PURE__ */ n(
|
|
1008
|
-
|
|
1006
|
+
const { open: a } = W();
|
|
1007
|
+
return /* @__PURE__ */ n(Ee, { asChild: !0, children: /* @__PURE__ */ N(
|
|
1008
|
+
re,
|
|
1009
1009
|
{
|
|
1010
1010
|
...t,
|
|
1011
1011
|
variant: t.variant ?? "outline",
|
|
@@ -1017,83 +1017,83 @@ function Pr({
|
|
|
1017
1017
|
),
|
|
1018
1018
|
children: [
|
|
1019
1019
|
r,
|
|
1020
|
-
/* @__PURE__ */ n(
|
|
1020
|
+
/* @__PURE__ */ n(Be, { className: "opacity-50 size-4 shrink-0" })
|
|
1021
1021
|
]
|
|
1022
1022
|
}
|
|
1023
1023
|
) });
|
|
1024
1024
|
}
|
|
1025
|
-
function
|
|
1025
|
+
function Vr({
|
|
1026
1026
|
placeholder: e,
|
|
1027
1027
|
clickToRemove: r = !0,
|
|
1028
1028
|
className: t,
|
|
1029
1029
|
overflowBehavior: a = "wrap-when-open",
|
|
1030
1030
|
...o
|
|
1031
1031
|
}) {
|
|
1032
|
-
const { selectedValues: s, toggleValue: d, items: l, open: f } =
|
|
1033
|
-
if (
|
|
1034
|
-
const
|
|
1035
|
-
|
|
1036
|
-
let
|
|
1037
|
-
for (let
|
|
1038
|
-
const
|
|
1039
|
-
if (
|
|
1032
|
+
const { selectedValues: s, toggleValue: d, items: l, open: f } = W(), [p, C] = F(0), g = Q(null), x = Q(null), w = a === "wrap" || a === "wrap-when-open" && f, A = H(() => {
|
|
1033
|
+
if (g.current == null) return;
|
|
1034
|
+
const b = g.current, h = x.current, S = b.querySelectorAll("[data-selected-item]");
|
|
1035
|
+
h != null && (h.style.display = "none"), S.forEach((c) => c.style.removeProperty("display"));
|
|
1036
|
+
let D = 0;
|
|
1037
|
+
for (let c = S.length - 1; c >= 0; c--) {
|
|
1038
|
+
const M = S[c];
|
|
1039
|
+
if (b.scrollWidth <= b.clientWidth)
|
|
1040
1040
|
break;
|
|
1041
|
-
|
|
1041
|
+
D = S.length - c, M.style.display = "none", h == null || h.style.removeProperty("display");
|
|
1042
1042
|
}
|
|
1043
|
-
|
|
1044
|
-
}, []),
|
|
1045
|
-
(
|
|
1046
|
-
|
|
1047
|
-
const
|
|
1048
|
-
return
|
|
1043
|
+
C(D);
|
|
1044
|
+
}, []), y = H(
|
|
1045
|
+
(b) => {
|
|
1046
|
+
g.current = b;
|
|
1047
|
+
const h = new MutationObserver(A), S = 100, D = new ResizeObserver(yt(A, S));
|
|
1048
|
+
return h.observe(b, {
|
|
1049
1049
|
childList: !0,
|
|
1050
1050
|
attributes: !0,
|
|
1051
1051
|
attributeFilter: ["class", "style"]
|
|
1052
|
-
}),
|
|
1053
|
-
|
|
1052
|
+
}), D.observe(b), () => {
|
|
1053
|
+
D.disconnect(), h.disconnect(), g.current = null;
|
|
1054
1054
|
};
|
|
1055
1055
|
},
|
|
1056
|
-
[
|
|
1056
|
+
[A]
|
|
1057
1057
|
);
|
|
1058
1058
|
return s.size === 0 && e ? /* @__PURE__ */ n("span", { className: "min-w-0 overflow-hidden font-normal text-muted-foreground", children: e }) : /* @__PURE__ */ N(
|
|
1059
1059
|
"div",
|
|
1060
1060
|
{
|
|
1061
1061
|
...o,
|
|
1062
|
-
ref:
|
|
1062
|
+
ref: y,
|
|
1063
1063
|
className: u(
|
|
1064
1064
|
"flex gap-1.5 w-full overflow-hidden",
|
|
1065
|
-
|
|
1065
|
+
w && "h-full flex-wrap",
|
|
1066
1066
|
t
|
|
1067
1067
|
),
|
|
1068
1068
|
children: [
|
|
1069
|
-
[...s].filter((
|
|
1070
|
-
|
|
1069
|
+
[...s].filter((b) => l.has(b)).map((b) => /* @__PURE__ */ N(
|
|
1070
|
+
Z,
|
|
1071
1071
|
{
|
|
1072
1072
|
variant: "outline",
|
|
1073
1073
|
"data-selected-item": !0,
|
|
1074
1074
|
className: "group flex items-center gap-1 text-secondary",
|
|
1075
|
-
onClick: r ? (
|
|
1076
|
-
|
|
1075
|
+
onClick: r ? (h) => {
|
|
1076
|
+
h.stopPropagation(), d(b);
|
|
1077
1077
|
} : void 0,
|
|
1078
1078
|
children: [
|
|
1079
|
-
l.get(
|
|
1080
|
-
r && /* @__PURE__ */ n(
|
|
1079
|
+
l.get(b),
|
|
1080
|
+
r && /* @__PURE__ */ n(Le, { className: "size-2 text-muted-foreground group-hover:text-destructive hover:cursor-pointer group-hover:cursor-pointer" })
|
|
1081
1081
|
]
|
|
1082
1082
|
},
|
|
1083
|
-
|
|
1083
|
+
b
|
|
1084
1084
|
)),
|
|
1085
1085
|
/* @__PURE__ */ N(
|
|
1086
|
-
|
|
1086
|
+
Z,
|
|
1087
1087
|
{
|
|
1088
1088
|
className: "text-secondary cursor-pointer",
|
|
1089
1089
|
style: {
|
|
1090
|
-
display:
|
|
1090
|
+
display: p > 0 && !w ? "block" : "none"
|
|
1091
1091
|
},
|
|
1092
1092
|
variant: "outline",
|
|
1093
|
-
ref:
|
|
1093
|
+
ref: x,
|
|
1094
1094
|
children: [
|
|
1095
1095
|
"+",
|
|
1096
|
-
|
|
1096
|
+
p
|
|
1097
1097
|
]
|
|
1098
1098
|
}
|
|
1099
1099
|
)
|
|
@@ -1101,29 +1101,29 @@ function Or({
|
|
|
1101
1101
|
}
|
|
1102
1102
|
);
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function Br({
|
|
1105
1105
|
search: e = !0,
|
|
1106
1106
|
children: r,
|
|
1107
1107
|
...t
|
|
1108
1108
|
}) {
|
|
1109
1109
|
const a = typeof e == "object" ? !0 : e;
|
|
1110
|
-
return /* @__PURE__ */ N(
|
|
1111
|
-
/* @__PURE__ */ n("div", { style: { display: "none" }, children: /* @__PURE__ */ n(
|
|
1112
|
-
/* @__PURE__ */ n(
|
|
1110
|
+
return /* @__PURE__ */ N(Te, { children: [
|
|
1111
|
+
/* @__PURE__ */ n("div", { style: { display: "none" }, children: /* @__PURE__ */ n($, { children: /* @__PURE__ */ n(J, { children: r }) }) }),
|
|
1112
|
+
/* @__PURE__ */ n(_e, { className: "p-0 min-w-[var(--radix-popover-trigger-width)]", children: /* @__PURE__ */ N($, { ...t, children: [
|
|
1113
1113
|
a ? /* @__PURE__ */ n(
|
|
1114
|
-
|
|
1114
|
+
xe,
|
|
1115
1115
|
{
|
|
1116
1116
|
placeholder: typeof e == "object" ? e.placeholder : void 0
|
|
1117
1117
|
}
|
|
1118
1118
|
) : /* @__PURE__ */ n("button", { className: "sr-only" }),
|
|
1119
|
-
/* @__PURE__ */ N(
|
|
1120
|
-
a && /* @__PURE__ */ n(
|
|
1119
|
+
/* @__PURE__ */ N(J, { children: [
|
|
1120
|
+
a && /* @__PURE__ */ n(ve, { children: typeof e == "object" ? e.emptyMessage : void 0 }),
|
|
1121
1121
|
r
|
|
1122
1122
|
] })
|
|
1123
1123
|
] }) })
|
|
1124
1124
|
] });
|
|
1125
1125
|
}
|
|
1126
|
-
function
|
|
1126
|
+
function Lr({
|
|
1127
1127
|
value: e,
|
|
1128
1128
|
children: r,
|
|
1129
1129
|
badgeLabel: t,
|
|
@@ -1131,11 +1131,11 @@ function Br({
|
|
|
1131
1131
|
className: o,
|
|
1132
1132
|
...s
|
|
1133
1133
|
}) {
|
|
1134
|
-
const { toggleValue: d, selectedValues: l, onItemAdded: f } =
|
|
1135
|
-
return
|
|
1134
|
+
const { toggleValue: d, selectedValues: l, onItemAdded: f } = W(), p = l.has(e);
|
|
1135
|
+
return Re(() => {
|
|
1136
1136
|
f(e, t ?? r);
|
|
1137
1137
|
}, [e, r, f, t]), /* @__PURE__ */ N(
|
|
1138
|
-
|
|
1138
|
+
we,
|
|
1139
1139
|
{
|
|
1140
1140
|
...s,
|
|
1141
1141
|
onSelect: () => {
|
|
@@ -1143,198 +1143,198 @@ function Br({
|
|
|
1143
1143
|
},
|
|
1144
1144
|
className: u("text-secondary data-[selected=true]:text-secondary cursor-pointer", o),
|
|
1145
1145
|
children: [
|
|
1146
|
-
/* @__PURE__ */ n(
|
|
1146
|
+
/* @__PURE__ */ n(Ve, { className: u("mr-2 size-4", p ? "opacity-100" : "opacity-0") }),
|
|
1147
1147
|
r
|
|
1148
1148
|
]
|
|
1149
1149
|
}
|
|
1150
1150
|
);
|
|
1151
1151
|
}
|
|
1152
|
-
function
|
|
1153
|
-
return /* @__PURE__ */ n(
|
|
1152
|
+
function Gr(e) {
|
|
1153
|
+
return /* @__PURE__ */ n(Ae, { ...e });
|
|
1154
1154
|
}
|
|
1155
|
-
function
|
|
1156
|
-
const e =
|
|
1155
|
+
function W() {
|
|
1156
|
+
const e = Fe(me);
|
|
1157
1157
|
if (e == null)
|
|
1158
1158
|
throw new Error("useMultiSelectContext must be used within a MultiSelectContext");
|
|
1159
1159
|
return e;
|
|
1160
1160
|
}
|
|
1161
1161
|
export {
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
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
|
-
|
|
1162
|
+
Sa as Accordion,
|
|
1163
|
+
Ca as AccordionContent,
|
|
1164
|
+
Ma as AccordionItem,
|
|
1165
|
+
Ia as AccordionTrigger,
|
|
1166
|
+
Wr as AlertDialog,
|
|
1167
|
+
$r as AlertDialogAction,
|
|
1168
|
+
Jr as AlertDialogCancel,
|
|
1169
|
+
Qr as AlertDialogContent,
|
|
1170
|
+
Zr as AlertDialogDescription,
|
|
1171
|
+
qr as AlertDialogFooter,
|
|
1172
|
+
Xr as AlertDialogHeader,
|
|
1173
|
+
jr as AlertDialogOverlay,
|
|
1174
|
+
Yr as AlertDialogPortal,
|
|
1175
|
+
ea as AlertDialogTitle,
|
|
1176
|
+
ta as AlertDialogTrigger,
|
|
1177
|
+
Da as Avatar,
|
|
1178
|
+
_a as AvatarFallback,
|
|
1179
|
+
Ea as AvatarImage,
|
|
1180
|
+
aa as Calendar,
|
|
1181
|
+
oa as CalendarDayButton,
|
|
1182
|
+
ia as Carousel,
|
|
1183
|
+
sa as CarouselContent,
|
|
1184
|
+
da as CarouselItem,
|
|
1185
|
+
la as CarouselNext,
|
|
1186
|
+
ua as CarouselPrevious,
|
|
1187
|
+
ka as Checkbox,
|
|
1188
|
+
ma as Combobox,
|
|
1189
|
+
$ as Command,
|
|
1190
|
+
Eo as CommandDialog,
|
|
1191
|
+
ve as CommandEmpty,
|
|
1192
|
+
Ae as CommandGroup,
|
|
1193
|
+
xe as CommandInput,
|
|
1194
|
+
we as CommandItem,
|
|
1195
|
+
J as CommandList,
|
|
1196
|
+
To as CommandSeparator,
|
|
1197
|
+
ko as CommandShortcut,
|
|
1198
|
+
Fa as ContextMenu,
|
|
1199
|
+
Pa as ContextMenuCheckboxItem,
|
|
1200
|
+
Oa as ContextMenuContent,
|
|
1201
|
+
Va as ContextMenuGroup,
|
|
1202
|
+
Ba as ContextMenuItem,
|
|
1203
|
+
La as ContextMenuLabel,
|
|
1204
|
+
Ga as ContextMenuPortal,
|
|
1205
|
+
Ha as ContextMenuRadioGroup,
|
|
1206
|
+
za as ContextMenuRadioItem,
|
|
1207
|
+
Ua as ContextMenuSeparator,
|
|
1208
|
+
Ka as ContextMenuShortcut,
|
|
1209
|
+
Wa as ContextMenuSub,
|
|
1210
|
+
$a as ContextMenuSubContent,
|
|
1211
|
+
Ja as ContextMenuSubTrigger,
|
|
1212
|
+
Qa as ContextMenuTrigger,
|
|
1213
|
+
Fo as Dialog,
|
|
1214
|
+
Po as DialogClose,
|
|
1215
|
+
Oo as DialogContent,
|
|
1216
|
+
Vo as DialogDescription,
|
|
1217
|
+
Bo as DialogFooter,
|
|
1218
|
+
Lo as DialogHeader,
|
|
1219
|
+
Go as DialogOverlay,
|
|
1220
|
+
Ho as DialogPortal,
|
|
1221
|
+
zo as DialogTitle,
|
|
1222
|
+
Uo as DialogTrigger,
|
|
1223
|
+
Wo as Drawer,
|
|
1224
|
+
$o as DrawerClose,
|
|
1225
|
+
Jo as DrawerContent,
|
|
1226
|
+
Qo as DrawerDescription,
|
|
1227
|
+
Zo as DrawerFooter,
|
|
1228
|
+
qo as DrawerHeader,
|
|
1229
|
+
Xo as DrawerOverlay,
|
|
1230
|
+
jo as DrawerPortal,
|
|
1231
|
+
Yo as DrawerTitle,
|
|
1232
|
+
en as DrawerTrigger,
|
|
1233
|
+
qa as DropdownMenu,
|
|
1234
|
+
Xa as DropdownMenuCheckboxItem,
|
|
1235
|
+
ja as DropdownMenuContent,
|
|
1236
|
+
Ya as DropdownMenuGroup,
|
|
1237
|
+
eo as DropdownMenuItem,
|
|
1238
|
+
to as DropdownMenuLabel,
|
|
1239
|
+
ro as DropdownMenuPortal,
|
|
1240
|
+
ao as DropdownMenuRadioGroup,
|
|
1241
|
+
oo as DropdownMenuRadioItem,
|
|
1242
|
+
no as DropdownMenuSeparator,
|
|
1243
|
+
io as DropdownMenuShortcut,
|
|
1244
|
+
so as DropdownMenuSub,
|
|
1245
|
+
lo as DropdownMenuSubContent,
|
|
1246
|
+
uo as DropdownMenuSubTrigger,
|
|
1247
|
+
co as DropdownMenuTrigger,
|
|
1248
|
+
Rr as Form,
|
|
1249
|
+
vt as FormControl,
|
|
1250
|
+
At as FormDescription,
|
|
1251
|
+
Fr as FormField,
|
|
1252
|
+
ht as FormItem,
|
|
1253
|
+
xt as FormLabel,
|
|
1254
|
+
wt as FormMessage,
|
|
1255
|
+
fo as HoverCard,
|
|
1256
|
+
po as HoverCardContent,
|
|
1257
|
+
bo as HoverCardTrigger,
|
|
1258
|
+
pa as InputOTP,
|
|
1259
|
+
ba as InputOTPGroup,
|
|
1260
|
+
ga as InputOTPSeparator,
|
|
1261
|
+
ha as InputOTPSlot,
|
|
1262
|
+
Ne as Label,
|
|
1263
|
+
cn as Menubar,
|
|
1264
|
+
mn as MenubarCheckboxItem,
|
|
1265
|
+
fn as MenubarContent,
|
|
1266
|
+
pn as MenubarGroup,
|
|
1267
|
+
bn as MenubarItem,
|
|
1268
|
+
gn as MenubarLabel,
|
|
1269
|
+
hn as MenubarMenu,
|
|
1270
|
+
xn as MenubarPortal,
|
|
1271
|
+
vn as MenubarRadioGroup,
|
|
1272
|
+
An as MenubarRadioItem,
|
|
1273
|
+
wn as MenubarSeparator,
|
|
1274
|
+
yn as MenubarShortcut,
|
|
1275
|
+
Sn as MenubarSub,
|
|
1276
|
+
Cn as MenubarSubContent,
|
|
1277
|
+
Mn as MenubarSubTrigger,
|
|
1278
|
+
In as MenubarTrigger,
|
|
1279
|
+
Pr as MultiSelect,
|
|
1280
|
+
Br as MultiSelectContent,
|
|
1281
|
+
Gr as MultiSelectGroup,
|
|
1282
|
+
Lr as MultiSelectItem,
|
|
1283
|
+
Or as MultiSelectTrigger,
|
|
1284
|
+
Vr as MultiSelectValue,
|
|
1285
|
+
De as Popover,
|
|
1286
|
+
Dn as PopoverAnchor,
|
|
1287
|
+
_e as PopoverContent,
|
|
1288
|
+
Ee as PopoverTrigger,
|
|
1289
|
+
wa as Progress,
|
|
1290
|
+
ho as RadioGroup,
|
|
1291
|
+
xo as RadioGroupItem,
|
|
1292
|
+
Ao as ScrollArea,
|
|
1293
|
+
wo as ScrollBar,
|
|
1294
|
+
ye as Sheet,
|
|
1295
|
+
rn as SheetClose,
|
|
1296
|
+
Se as SheetContent,
|
|
1297
|
+
Ie as SheetDescription,
|
|
1298
|
+
an as SheetFooter,
|
|
1299
|
+
Ce as SheetHeader,
|
|
1300
|
+
Me as SheetTitle,
|
|
1301
|
+
on as SheetTrigger,
|
|
1302
|
+
cr as Sidebar,
|
|
1303
|
+
vr as SidebarContent,
|
|
1304
|
+
hr as SidebarFooter,
|
|
1305
|
+
Ar as SidebarGroup,
|
|
1306
|
+
yr as SidebarGroupAction,
|
|
1307
|
+
Sr as SidebarGroupContent,
|
|
1308
|
+
wr as SidebarGroupLabel,
|
|
1309
|
+
gr as SidebarHeader,
|
|
1310
|
+
br as SidebarInput,
|
|
1311
|
+
pr as SidebarInset,
|
|
1312
|
+
Cr as SidebarMenu,
|
|
1313
|
+
Nr as SidebarMenuAction,
|
|
1314
|
+
Dr as SidebarMenuBadge,
|
|
1315
|
+
Ir as SidebarMenuButton,
|
|
1316
|
+
Mr as SidebarMenuItem,
|
|
1317
|
+
_r as SidebarMenuSkeleton,
|
|
1318
|
+
Er as SidebarMenuSub,
|
|
1319
|
+
kr as SidebarMenuSubButton,
|
|
1320
|
+
Tr as SidebarMenuSubItem,
|
|
1321
|
+
ur as SidebarProvider,
|
|
1322
|
+
fr as SidebarRail,
|
|
1323
|
+
xr as SidebarSeparator,
|
|
1324
|
+
mr as SidebarTrigger,
|
|
1325
|
+
va as Slider,
|
|
1326
|
+
So as Switch,
|
|
1327
|
+
Mo as Tabs,
|
|
1328
|
+
Io as TabsContent,
|
|
1329
|
+
No as TabsList,
|
|
1330
|
+
Do as TabsTrigger,
|
|
1331
|
+
Ur as TextReveal,
|
|
1332
|
+
sn as Toaster,
|
|
1333
|
+
ln as Toggle,
|
|
1334
|
+
pe as Tooltip,
|
|
1335
|
+
ge as TooltipContent,
|
|
1336
|
+
he as TooltipProvider,
|
|
1337
|
+
be as TooltipTrigger,
|
|
1338
|
+
V as useFormField,
|
|
1339
|
+
oe as useSidebar
|
|
1340
1340
|
};
|