@cyberbloxai/ui-kit 0.1.0
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/README.md +73 -0
- package/dist/App.d.ts +2 -0
- package/dist/components/CodeBlock.d.ts +7 -0
- package/dist/components/ComponentLivePreview.d.ts +5 -0
- package/dist/components/NavLink.d.ts +8 -0
- package/dist/components/PropTable.d.ts +6 -0
- package/dist/components/showcase/AuthShowcase.d.ts +2 -0
- package/dist/components/showcase/ComponentsShowcase.d.ts +2 -0
- package/dist/components/showcase/DashboardShowcase.d.ts +2 -0
- package/dist/components/showcase/ErrorShowcase.d.ts +2 -0
- package/dist/components/showcase/NotificationShowcase.d.ts +2 -0
- package/dist/components/ui/accordion.d.ts +7 -0
- package/dist/components/ui/alert-dialog.d.ts +20 -0
- package/dist/components/ui/alert.d.ts +8 -0
- package/dist/components/ui/aspect-ratio.d.ts +3 -0
- package/dist/components/ui/avatar.d.ts +6 -0
- package/dist/components/ui/badge.d.ts +9 -0
- package/dist/components/ui/breadcrumb.d.ts +19 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/calendar.d.ts +8 -0
- package/dist/components/ui/card.d.ts +8 -0
- package/dist/components/ui/carousel.d.ts +18 -0
- package/dist/components/ui/chart.d.ts +62 -0
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/collapsible.d.ts +5 -0
- package/dist/components/ui/command.d.ts +82 -0
- package/dist/components/ui/context-menu.d.ts +27 -0
- package/dist/components/ui/dialog.d.ts +19 -0
- package/dist/components/ui/drawer.d.ts +22 -0
- package/dist/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/form.d.ts +23 -0
- package/dist/components/ui/hover-card.d.ts +6 -0
- package/dist/components/ui/input-otp.d.ts +34 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/menubar.d.ts +33 -0
- package/dist/components/ui/navigation-menu.d.ts +12 -0
- package/dist/components/ui/pagination.d.ts +28 -0
- package/dist/components/ui/popover.d.ts +6 -0
- package/dist/components/ui/progress.d.ts +4 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/resizable.d.ts +23 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/select.d.ts +13 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/sheet.d.ts +25 -0
- package/dist/components/ui/sidebar.d.ts +66 -0
- package/dist/components/ui/skeleton.d.ts +2 -0
- package/dist/components/ui/slider.d.ts +4 -0
- package/dist/components/ui/sonner.d.ts +4 -0
- package/dist/components/ui/switch.d.ts +4 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/tabs.d.ts +7 -0
- package/dist/components/ui/textarea.d.ts +5 -0
- package/dist/components/ui/toast.d.ts +15 -0
- package/dist/components/ui/toaster.d.ts +1 -0
- package/dist/components/ui/toggle-group.d.ts +12 -0
- package/dist/components/ui/toggle.d.ts +12 -0
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/components/ui/use-toast.d.ts +2 -0
- package/dist/data/componentRegistry.d.ts +20 -0
- package/dist/favicon.ico +0 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-toast.d.ts +44 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +1888 -0
- package/dist/index.mjs.map +1 -0
- package/dist/lib/index.d.ts +52 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/main.d.ts +1 -0
- package/dist/pages/ComponentDetail.d.ts +2 -0
- package/dist/pages/ComponentsList.d.ts +2 -0
- package/dist/pages/Index.d.ts +2 -0
- package/dist/pages/NotFound.d.ts +2 -0
- package/dist/placeholder.svg +1 -0
- package/dist/robots.txt +14 -0
- package/dist/test/example.test.d.ts +1 -0
- package/dist/test/setup.d.ts +1 -0
- package/package.json +119 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,1888 @@
|
|
|
1
|
+
import { clsx as Pe } from "clsx";
|
|
2
|
+
import { twMerge as De } from "tailwind-merge";
|
|
3
|
+
import { jsx as o, jsxs as d } from "react/jsx-runtime";
|
|
4
|
+
import * as s from "react";
|
|
5
|
+
import * as C from "@radix-ui/react-accordion";
|
|
6
|
+
import { ChevronDown as E, ChevronRight as I, MoreHorizontal as oe, ChevronLeft as re, ArrowLeft as Me, ArrowRight as ze, Check as O, X as se, Search as _e, Circle as B, Dot as Ae, GripVertical as Oe, ChevronUp as Le } from "lucide-react";
|
|
7
|
+
import * as b from "@radix-ui/react-alert-dialog";
|
|
8
|
+
import { Slot as ne } from "@radix-ui/react-slot";
|
|
9
|
+
import { cva as T } from "class-variance-authority";
|
|
10
|
+
import * as je from "@radix-ui/react-aspect-ratio";
|
|
11
|
+
import * as P from "@radix-ui/react-avatar";
|
|
12
|
+
import { DayPicker as Ge } from "react-day-picker";
|
|
13
|
+
import Ee from "embla-carousel-react";
|
|
14
|
+
import * as W from "@radix-ui/react-checkbox";
|
|
15
|
+
import * as J from "@radix-ui/react-collapsible";
|
|
16
|
+
import { Command as N } from "cmdk";
|
|
17
|
+
import * as c from "@radix-ui/react-dialog";
|
|
18
|
+
import * as m from "@radix-ui/react-context-menu";
|
|
19
|
+
import { Drawer as h } from "vaul";
|
|
20
|
+
import * as f from "@radix-ui/react-dropdown-menu";
|
|
21
|
+
import * as H from "@radix-ui/react-hover-card";
|
|
22
|
+
import { OTPInput as Be, OTPInputContext as He } from "input-otp";
|
|
23
|
+
import * as ie from "@radix-ui/react-label";
|
|
24
|
+
import * as l from "@radix-ui/react-menubar";
|
|
25
|
+
import * as y from "@radix-ui/react-navigation-menu";
|
|
26
|
+
import * as _ from "@radix-ui/react-popover";
|
|
27
|
+
import * as Q from "@radix-ui/react-progress";
|
|
28
|
+
import * as A from "@radix-ui/react-radio-group";
|
|
29
|
+
import * as Z from "react-resizable-panels";
|
|
30
|
+
import * as R from "@radix-ui/react-scroll-area";
|
|
31
|
+
import * as u from "@radix-ui/react-select";
|
|
32
|
+
import * as de from "@radix-ui/react-separator";
|
|
33
|
+
import * as M from "@radix-ui/react-slider";
|
|
34
|
+
import * as Y from "@radix-ui/react-switch";
|
|
35
|
+
import * as S from "@radix-ui/react-tabs";
|
|
36
|
+
import * as le from "@radix-ui/react-toggle";
|
|
37
|
+
import * as V from "@radix-ui/react-toggle-group";
|
|
38
|
+
import * as L from "@radix-ui/react-tooltip";
|
|
39
|
+
function r(...e) {
|
|
40
|
+
return De(Pe(e));
|
|
41
|
+
}
|
|
42
|
+
const Ho = C.Root, Ve = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(C.Item, { ref: a, className: r("border-b", e), ...t }));
|
|
43
|
+
Ve.displayName = "AccordionItem";
|
|
44
|
+
const Fe = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ o(C.Header, { className: "flex", children: /* @__PURE__ */ d(
|
|
45
|
+
C.Trigger,
|
|
46
|
+
{
|
|
47
|
+
ref: n,
|
|
48
|
+
className: r(
|
|
49
|
+
"flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
|
|
50
|
+
e
|
|
51
|
+
),
|
|
52
|
+
...a,
|
|
53
|
+
children: [
|
|
54
|
+
t,
|
|
55
|
+
/* @__PURE__ */ o(E, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
) }));
|
|
59
|
+
Fe.displayName = C.Trigger.displayName;
|
|
60
|
+
const Ue = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ o(
|
|
61
|
+
C.Content,
|
|
62
|
+
{
|
|
63
|
+
ref: n,
|
|
64
|
+
className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
65
|
+
...a,
|
|
66
|
+
children: /* @__PURE__ */ o("div", { className: r("pb-4 pt-0", e), children: t })
|
|
67
|
+
}
|
|
68
|
+
));
|
|
69
|
+
Ue.displayName = C.Content.displayName;
|
|
70
|
+
const k = T(
|
|
71
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
72
|
+
{
|
|
73
|
+
variants: {
|
|
74
|
+
variant: {
|
|
75
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
76
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
77
|
+
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
78
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
79
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
80
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
81
|
+
},
|
|
82
|
+
size: {
|
|
83
|
+
default: "h-10 px-4 py-2",
|
|
84
|
+
sm: "h-9 rounded-md px-3",
|
|
85
|
+
lg: "h-11 rounded-md px-8",
|
|
86
|
+
icon: "h-10 w-10"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
defaultVariants: {
|
|
90
|
+
variant: "default",
|
|
91
|
+
size: "default"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
), ee = s.forwardRef(
|
|
95
|
+
({ className: e, variant: t, size: a, asChild: n = !1, ...i }, g) => /* @__PURE__ */ o(n ? ne : "button", { className: r(k({ variant: t, size: a, className: e })), ref: g, ...i })
|
|
96
|
+
);
|
|
97
|
+
ee.displayName = "Button";
|
|
98
|
+
const Vo = b.Root, Fo = b.Trigger, $e = b.Portal, ce = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
99
|
+
b.Overlay,
|
|
100
|
+
{
|
|
101
|
+
className: r(
|
|
102
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
103
|
+
e
|
|
104
|
+
),
|
|
105
|
+
...t,
|
|
106
|
+
ref: a
|
|
107
|
+
}
|
|
108
|
+
));
|
|
109
|
+
ce.displayName = b.Overlay.displayName;
|
|
110
|
+
const qe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ d($e, { children: [
|
|
111
|
+
/* @__PURE__ */ o(ce, {}),
|
|
112
|
+
/* @__PURE__ */ o(
|
|
113
|
+
b.Content,
|
|
114
|
+
{
|
|
115
|
+
ref: a,
|
|
116
|
+
className: r(
|
|
117
|
+
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
118
|
+
e
|
|
119
|
+
),
|
|
120
|
+
...t
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
] }));
|
|
124
|
+
qe.displayName = b.Content.displayName;
|
|
125
|
+
const Ke = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
126
|
+
Ke.displayName = "AlertDialogHeader";
|
|
127
|
+
const Xe = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
128
|
+
Xe.displayName = "AlertDialogFooter";
|
|
129
|
+
const We = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(b.Title, { ref: a, className: r("text-lg font-semibold", e), ...t }));
|
|
130
|
+
We.displayName = b.Title.displayName;
|
|
131
|
+
const Qe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(b.Description, { ref: a, className: r("text-sm text-muted-foreground", e), ...t }));
|
|
132
|
+
Qe.displayName = b.Description.displayName;
|
|
133
|
+
const Ye = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(b.Action, { ref: a, className: r(k(), e), ...t }));
|
|
134
|
+
Ye.displayName = b.Action.displayName;
|
|
135
|
+
const Je = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
136
|
+
b.Cancel,
|
|
137
|
+
{
|
|
138
|
+
ref: a,
|
|
139
|
+
className: r(k({ variant: "outline" }), "mt-2 sm:mt-0", e),
|
|
140
|
+
...t
|
|
141
|
+
}
|
|
142
|
+
));
|
|
143
|
+
Je.displayName = b.Cancel.displayName;
|
|
144
|
+
const Ze = T(
|
|
145
|
+
"relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
|
|
146
|
+
{
|
|
147
|
+
variants: {
|
|
148
|
+
variant: {
|
|
149
|
+
default: "bg-background text-foreground",
|
|
150
|
+
destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
defaultVariants: {
|
|
154
|
+
variant: "default"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
), et = s.forwardRef(({ className: e, variant: t, ...a }, n) => /* @__PURE__ */ o("div", { ref: n, role: "alert", className: r(Ze({ variant: t }), e), ...a }));
|
|
158
|
+
et.displayName = "Alert";
|
|
159
|
+
const tt = s.forwardRef(
|
|
160
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("h5", { ref: a, className: r("mb-1 font-medium leading-none tracking-tight", e), ...t })
|
|
161
|
+
);
|
|
162
|
+
tt.displayName = "AlertTitle";
|
|
163
|
+
const at = s.forwardRef(
|
|
164
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: r("text-sm [&_p]:leading-relaxed", e), ...t })
|
|
165
|
+
);
|
|
166
|
+
at.displayName = "AlertDescription";
|
|
167
|
+
const Uo = je.Root, ot = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
168
|
+
P.Root,
|
|
169
|
+
{
|
|
170
|
+
ref: a,
|
|
171
|
+
className: r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
|
|
172
|
+
...t
|
|
173
|
+
}
|
|
174
|
+
));
|
|
175
|
+
ot.displayName = P.Root.displayName;
|
|
176
|
+
const rt = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(P.Image, { ref: a, className: r("aspect-square h-full w-full", e), ...t }));
|
|
177
|
+
rt.displayName = P.Image.displayName;
|
|
178
|
+
const st = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
179
|
+
P.Fallback,
|
|
180
|
+
{
|
|
181
|
+
ref: a,
|
|
182
|
+
className: r("flex h-full w-full items-center justify-center rounded-full bg-muted", e),
|
|
183
|
+
...t
|
|
184
|
+
}
|
|
185
|
+
));
|
|
186
|
+
st.displayName = P.Fallback.displayName;
|
|
187
|
+
const nt = T(
|
|
188
|
+
"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
189
|
+
{
|
|
190
|
+
variants: {
|
|
191
|
+
variant: {
|
|
192
|
+
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
|
193
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
194
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
|
|
195
|
+
outline: "text-foreground"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
defaultVariants: {
|
|
199
|
+
variant: "default"
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
function $o({ className: e, variant: t, ...a }) {
|
|
204
|
+
return /* @__PURE__ */ o("div", { className: r(nt({ variant: t }), e), ...a });
|
|
205
|
+
}
|
|
206
|
+
const it = s.forwardRef(({ ...e }, t) => /* @__PURE__ */ o("nav", { ref: t, "aria-label": "breadcrumb", ...e }));
|
|
207
|
+
it.displayName = "Breadcrumb";
|
|
208
|
+
const dt = s.forwardRef(
|
|
209
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
210
|
+
"ol",
|
|
211
|
+
{
|
|
212
|
+
ref: a,
|
|
213
|
+
className: r(
|
|
214
|
+
"flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
|
|
215
|
+
e
|
|
216
|
+
),
|
|
217
|
+
...t
|
|
218
|
+
}
|
|
219
|
+
)
|
|
220
|
+
);
|
|
221
|
+
dt.displayName = "BreadcrumbList";
|
|
222
|
+
const lt = s.forwardRef(
|
|
223
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("li", { ref: a, className: r("inline-flex items-center gap-1.5", e), ...t })
|
|
224
|
+
);
|
|
225
|
+
lt.displayName = "BreadcrumbItem";
|
|
226
|
+
const ct = s.forwardRef(({ asChild: e, className: t, ...a }, n) => /* @__PURE__ */ o(e ? ne : "a", { ref: n, className: r("transition-colors hover:text-foreground", t), ...a }));
|
|
227
|
+
ct.displayName = "BreadcrumbLink";
|
|
228
|
+
const mt = s.forwardRef(
|
|
229
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
230
|
+
"span",
|
|
231
|
+
{
|
|
232
|
+
ref: a,
|
|
233
|
+
role: "link",
|
|
234
|
+
"aria-disabled": "true",
|
|
235
|
+
"aria-current": "page",
|
|
236
|
+
className: r("font-normal text-foreground", e),
|
|
237
|
+
...t
|
|
238
|
+
}
|
|
239
|
+
)
|
|
240
|
+
);
|
|
241
|
+
mt.displayName = "BreadcrumbPage";
|
|
242
|
+
const ft = ({ children: e, className: t, ...a }) => /* @__PURE__ */ o("li", { role: "presentation", "aria-hidden": "true", className: r("[&>svg]:size-3.5", t), ...a, children: e ?? /* @__PURE__ */ o(I, {}) });
|
|
243
|
+
ft.displayName = "BreadcrumbSeparator";
|
|
244
|
+
const ut = ({ className: e, ...t }) => /* @__PURE__ */ d(
|
|
245
|
+
"span",
|
|
246
|
+
{
|
|
247
|
+
role: "presentation",
|
|
248
|
+
"aria-hidden": "true",
|
|
249
|
+
className: r("flex h-9 w-9 items-center justify-center", e),
|
|
250
|
+
...t,
|
|
251
|
+
children: [
|
|
252
|
+
/* @__PURE__ */ o(oe, { className: "h-4 w-4" }),
|
|
253
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "More" })
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
);
|
|
257
|
+
ut.displayName = "BreadcrumbElipssis";
|
|
258
|
+
function pt({ className: e, classNames: t, showOutsideDays: a = !0, ...n }) {
|
|
259
|
+
return /* @__PURE__ */ o(
|
|
260
|
+
Ge,
|
|
261
|
+
{
|
|
262
|
+
showOutsideDays: a,
|
|
263
|
+
className: r("p-3", e),
|
|
264
|
+
classNames: {
|
|
265
|
+
months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
|
|
266
|
+
month: "space-y-4",
|
|
267
|
+
caption: "flex justify-center pt-1 relative items-center",
|
|
268
|
+
caption_label: "text-sm font-medium",
|
|
269
|
+
nav: "space-x-1 flex items-center",
|
|
270
|
+
nav_button: r(
|
|
271
|
+
k({ variant: "outline" }),
|
|
272
|
+
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
|
|
273
|
+
),
|
|
274
|
+
nav_button_previous: "absolute left-1",
|
|
275
|
+
nav_button_next: "absolute right-1",
|
|
276
|
+
table: "w-full border-collapse space-y-1",
|
|
277
|
+
head_row: "flex",
|
|
278
|
+
head_cell: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
|
|
279
|
+
row: "flex w-full mt-2",
|
|
280
|
+
cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
|
|
281
|
+
day: r(k({ variant: "ghost" }), "h-9 w-9 p-0 font-normal aria-selected:opacity-100"),
|
|
282
|
+
day_range_end: "day-range-end",
|
|
283
|
+
day_selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
|
|
284
|
+
day_today: "bg-accent text-accent-foreground",
|
|
285
|
+
day_outside: "day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",
|
|
286
|
+
day_disabled: "text-muted-foreground opacity-50",
|
|
287
|
+
day_range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground",
|
|
288
|
+
day_hidden: "invisible",
|
|
289
|
+
...t
|
|
290
|
+
},
|
|
291
|
+
components: {
|
|
292
|
+
IconLeft: ({ ...i }) => /* @__PURE__ */ o(re, { className: "h-4 w-4" }),
|
|
293
|
+
IconRight: ({ ...i }) => /* @__PURE__ */ o(I, { className: "h-4 w-4" })
|
|
294
|
+
},
|
|
295
|
+
...n
|
|
296
|
+
}
|
|
297
|
+
);
|
|
298
|
+
}
|
|
299
|
+
pt.displayName = "Calendar";
|
|
300
|
+
const gt = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: r("rounded-lg border bg-card text-card-foreground shadow-sm", e), ...t }));
|
|
301
|
+
gt.displayName = "Card";
|
|
302
|
+
const bt = s.forwardRef(
|
|
303
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: r("flex flex-col space-y-1.5 p-6", e), ...t })
|
|
304
|
+
);
|
|
305
|
+
bt.displayName = "CardHeader";
|
|
306
|
+
const Nt = s.forwardRef(
|
|
307
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("h3", { ref: a, className: r("text-2xl font-semibold leading-none tracking-tight", e), ...t })
|
|
308
|
+
);
|
|
309
|
+
Nt.displayName = "CardTitle";
|
|
310
|
+
const yt = s.forwardRef(
|
|
311
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("p", { ref: a, className: r("text-sm text-muted-foreground", e), ...t })
|
|
312
|
+
);
|
|
313
|
+
yt.displayName = "CardDescription";
|
|
314
|
+
const xt = s.forwardRef(
|
|
315
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: r("p-6 pt-0", e), ...t })
|
|
316
|
+
);
|
|
317
|
+
xt.displayName = "CardContent";
|
|
318
|
+
const ht = s.forwardRef(
|
|
319
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: r("flex items-center p-6 pt-0", e), ...t })
|
|
320
|
+
);
|
|
321
|
+
ht.displayName = "CardFooter";
|
|
322
|
+
const me = s.createContext(null);
|
|
323
|
+
function F() {
|
|
324
|
+
const e = s.useContext(me);
|
|
325
|
+
if (!e)
|
|
326
|
+
throw new Error("useCarousel must be used within a <Carousel />");
|
|
327
|
+
return e;
|
|
328
|
+
}
|
|
329
|
+
const wt = s.forwardRef(
|
|
330
|
+
({ orientation: e = "horizontal", opts: t, setApi: a, plugins: n, className: i, children: g, ...x }, v) => {
|
|
331
|
+
const [Re, p] = Ee(
|
|
332
|
+
{
|
|
333
|
+
...t,
|
|
334
|
+
axis: e === "horizontal" ? "x" : "y"
|
|
335
|
+
},
|
|
336
|
+
n
|
|
337
|
+
), [Ce, Te] = s.useState(!1), [Se, ke] = s.useState(!1), D = s.useCallback((w) => {
|
|
338
|
+
w && (Te(w.canScrollPrev()), ke(w.canScrollNext()));
|
|
339
|
+
}, []), U = s.useCallback(() => {
|
|
340
|
+
p == null || p.scrollPrev();
|
|
341
|
+
}, [p]), $ = s.useCallback(() => {
|
|
342
|
+
p == null || p.scrollNext();
|
|
343
|
+
}, [p]), Ie = s.useCallback(
|
|
344
|
+
(w) => {
|
|
345
|
+
w.key === "ArrowLeft" ? (w.preventDefault(), U()) : w.key === "ArrowRight" && (w.preventDefault(), $());
|
|
346
|
+
},
|
|
347
|
+
[U, $]
|
|
348
|
+
);
|
|
349
|
+
return s.useEffect(() => {
|
|
350
|
+
!p || !a || a(p);
|
|
351
|
+
}, [p, a]), s.useEffect(() => {
|
|
352
|
+
if (p)
|
|
353
|
+
return D(p), p.on("reInit", D), p.on("select", D), () => {
|
|
354
|
+
p == null || p.off("select", D);
|
|
355
|
+
};
|
|
356
|
+
}, [p, D]), /* @__PURE__ */ o(
|
|
357
|
+
me.Provider,
|
|
358
|
+
{
|
|
359
|
+
value: {
|
|
360
|
+
carouselRef: Re,
|
|
361
|
+
api: p,
|
|
362
|
+
opts: t,
|
|
363
|
+
orientation: e || ((t == null ? void 0 : t.axis) === "y" ? "vertical" : "horizontal"),
|
|
364
|
+
scrollPrev: U,
|
|
365
|
+
scrollNext: $,
|
|
366
|
+
canScrollPrev: Ce,
|
|
367
|
+
canScrollNext: Se
|
|
368
|
+
},
|
|
369
|
+
children: /* @__PURE__ */ o(
|
|
370
|
+
"div",
|
|
371
|
+
{
|
|
372
|
+
ref: v,
|
|
373
|
+
onKeyDownCapture: Ie,
|
|
374
|
+
className: r("relative", i),
|
|
375
|
+
role: "region",
|
|
376
|
+
"aria-roledescription": "carousel",
|
|
377
|
+
...x,
|
|
378
|
+
children: g
|
|
379
|
+
}
|
|
380
|
+
)
|
|
381
|
+
}
|
|
382
|
+
);
|
|
383
|
+
}
|
|
384
|
+
);
|
|
385
|
+
wt.displayName = "Carousel";
|
|
386
|
+
const vt = s.forwardRef(
|
|
387
|
+
({ className: e, ...t }, a) => {
|
|
388
|
+
const { carouselRef: n, orientation: i } = F();
|
|
389
|
+
return /* @__PURE__ */ o("div", { ref: n, className: "overflow-hidden", children: /* @__PURE__ */ o(
|
|
390
|
+
"div",
|
|
391
|
+
{
|
|
392
|
+
ref: a,
|
|
393
|
+
className: r("flex", i === "horizontal" ? "-ml-4" : "-mt-4 flex-col", e),
|
|
394
|
+
...t
|
|
395
|
+
}
|
|
396
|
+
) });
|
|
397
|
+
}
|
|
398
|
+
);
|
|
399
|
+
vt.displayName = "CarouselContent";
|
|
400
|
+
const Rt = s.forwardRef(
|
|
401
|
+
({ className: e, ...t }, a) => {
|
|
402
|
+
const { orientation: n } = F();
|
|
403
|
+
return /* @__PURE__ */ o(
|
|
404
|
+
"div",
|
|
405
|
+
{
|
|
406
|
+
ref: a,
|
|
407
|
+
role: "group",
|
|
408
|
+
"aria-roledescription": "slide",
|
|
409
|
+
className: r("min-w-0 shrink-0 grow-0 basis-full", n === "horizontal" ? "pl-4" : "pt-4", e),
|
|
410
|
+
...t
|
|
411
|
+
}
|
|
412
|
+
);
|
|
413
|
+
}
|
|
414
|
+
);
|
|
415
|
+
Rt.displayName = "CarouselItem";
|
|
416
|
+
const Ct = s.forwardRef(
|
|
417
|
+
({ className: e, variant: t = "outline", size: a = "icon", ...n }, i) => {
|
|
418
|
+
const { orientation: g, scrollPrev: x, canScrollPrev: v } = F();
|
|
419
|
+
return /* @__PURE__ */ d(
|
|
420
|
+
ee,
|
|
421
|
+
{
|
|
422
|
+
ref: i,
|
|
423
|
+
variant: t,
|
|
424
|
+
size: a,
|
|
425
|
+
className: r(
|
|
426
|
+
"absolute h-8 w-8 rounded-full",
|
|
427
|
+
g === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
428
|
+
e
|
|
429
|
+
),
|
|
430
|
+
disabled: !v,
|
|
431
|
+
onClick: x,
|
|
432
|
+
...n,
|
|
433
|
+
children: [
|
|
434
|
+
/* @__PURE__ */ o(Me, { className: "h-4 w-4" }),
|
|
435
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "Previous slide" })
|
|
436
|
+
]
|
|
437
|
+
}
|
|
438
|
+
);
|
|
439
|
+
}
|
|
440
|
+
);
|
|
441
|
+
Ct.displayName = "CarouselPrevious";
|
|
442
|
+
const Tt = s.forwardRef(
|
|
443
|
+
({ className: e, variant: t = "outline", size: a = "icon", ...n }, i) => {
|
|
444
|
+
const { orientation: g, scrollNext: x, canScrollNext: v } = F();
|
|
445
|
+
return /* @__PURE__ */ d(
|
|
446
|
+
ee,
|
|
447
|
+
{
|
|
448
|
+
ref: i,
|
|
449
|
+
variant: t,
|
|
450
|
+
size: a,
|
|
451
|
+
className: r(
|
|
452
|
+
"absolute h-8 w-8 rounded-full",
|
|
453
|
+
g === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
454
|
+
e
|
|
455
|
+
),
|
|
456
|
+
disabled: !v,
|
|
457
|
+
onClick: x,
|
|
458
|
+
...n,
|
|
459
|
+
children: [
|
|
460
|
+
/* @__PURE__ */ o(ze, { className: "h-4 w-4" }),
|
|
461
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "Next slide" })
|
|
462
|
+
]
|
|
463
|
+
}
|
|
464
|
+
);
|
|
465
|
+
}
|
|
466
|
+
);
|
|
467
|
+
Tt.displayName = "CarouselNext";
|
|
468
|
+
const St = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
469
|
+
W.Root,
|
|
470
|
+
{
|
|
471
|
+
ref: a,
|
|
472
|
+
className: r(
|
|
473
|
+
"peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
474
|
+
e
|
|
475
|
+
),
|
|
476
|
+
...t,
|
|
477
|
+
children: /* @__PURE__ */ o(W.Indicator, { className: r("flex items-center justify-center text-current"), children: /* @__PURE__ */ o(O, { className: "h-4 w-4" }) })
|
|
478
|
+
}
|
|
479
|
+
));
|
|
480
|
+
St.displayName = W.Root.displayName;
|
|
481
|
+
const qo = J.Root, Ko = J.CollapsibleTrigger, Xo = J.CollapsibleContent, kt = c.Root, Wo = c.Trigger, It = c.Portal, Qo = c.Close, fe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
482
|
+
c.Overlay,
|
|
483
|
+
{
|
|
484
|
+
ref: a,
|
|
485
|
+
className: r(
|
|
486
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
487
|
+
e
|
|
488
|
+
),
|
|
489
|
+
...t
|
|
490
|
+
}
|
|
491
|
+
));
|
|
492
|
+
fe.displayName = c.Overlay.displayName;
|
|
493
|
+
const ue = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ d(It, { children: [
|
|
494
|
+
/* @__PURE__ */ o(fe, {}),
|
|
495
|
+
/* @__PURE__ */ d(
|
|
496
|
+
c.Content,
|
|
497
|
+
{
|
|
498
|
+
ref: n,
|
|
499
|
+
className: r(
|
|
500
|
+
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
501
|
+
e
|
|
502
|
+
),
|
|
503
|
+
...a,
|
|
504
|
+
children: [
|
|
505
|
+
t,
|
|
506
|
+
/* @__PURE__ */ d(c.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
|
|
507
|
+
/* @__PURE__ */ o(se, { className: "h-4 w-4" }),
|
|
508
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
509
|
+
] })
|
|
510
|
+
]
|
|
511
|
+
}
|
|
512
|
+
)
|
|
513
|
+
] }));
|
|
514
|
+
ue.displayName = c.Content.displayName;
|
|
515
|
+
const Pt = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
|
|
516
|
+
Pt.displayName = "DialogHeader";
|
|
517
|
+
const Dt = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
518
|
+
Dt.displayName = "DialogFooter";
|
|
519
|
+
const Mt = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
520
|
+
c.Title,
|
|
521
|
+
{
|
|
522
|
+
ref: a,
|
|
523
|
+
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
524
|
+
...t
|
|
525
|
+
}
|
|
526
|
+
));
|
|
527
|
+
Mt.displayName = c.Title.displayName;
|
|
528
|
+
const zt = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Description, { ref: a, className: r("text-sm text-muted-foreground", e), ...t }));
|
|
529
|
+
zt.displayName = c.Description.displayName;
|
|
530
|
+
const pe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
531
|
+
N,
|
|
532
|
+
{
|
|
533
|
+
ref: a,
|
|
534
|
+
className: r(
|
|
535
|
+
"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
|
536
|
+
e
|
|
537
|
+
),
|
|
538
|
+
...t
|
|
539
|
+
}
|
|
540
|
+
));
|
|
541
|
+
pe.displayName = N.displayName;
|
|
542
|
+
const Yo = ({ children: e, ...t }) => /* @__PURE__ */ o(kt, { ...t, children: /* @__PURE__ */ o(ue, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ o(pe, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), _t = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ d("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
543
|
+
/* @__PURE__ */ o(_e, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
544
|
+
/* @__PURE__ */ o(
|
|
545
|
+
N.Input,
|
|
546
|
+
{
|
|
547
|
+
ref: a,
|
|
548
|
+
className: r(
|
|
549
|
+
"flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
550
|
+
e
|
|
551
|
+
),
|
|
552
|
+
...t
|
|
553
|
+
}
|
|
554
|
+
)
|
|
555
|
+
] }));
|
|
556
|
+
_t.displayName = N.Input.displayName;
|
|
557
|
+
const At = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
558
|
+
N.List,
|
|
559
|
+
{
|
|
560
|
+
ref: a,
|
|
561
|
+
className: r("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
|
|
562
|
+
...t
|
|
563
|
+
}
|
|
564
|
+
));
|
|
565
|
+
At.displayName = N.List.displayName;
|
|
566
|
+
const Ot = s.forwardRef((e, t) => /* @__PURE__ */ o(N.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
|
|
567
|
+
Ot.displayName = N.Empty.displayName;
|
|
568
|
+
const Lt = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
569
|
+
N.Group,
|
|
570
|
+
{
|
|
571
|
+
ref: a,
|
|
572
|
+
className: r(
|
|
573
|
+
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
|
|
574
|
+
e
|
|
575
|
+
),
|
|
576
|
+
...t
|
|
577
|
+
}
|
|
578
|
+
));
|
|
579
|
+
Lt.displayName = N.Group.displayName;
|
|
580
|
+
const jt = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(N.Separator, { ref: a, className: r("-mx-1 h-px bg-border", e), ...t }));
|
|
581
|
+
jt.displayName = N.Separator.displayName;
|
|
582
|
+
const Gt = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
583
|
+
N.Item,
|
|
584
|
+
{
|
|
585
|
+
ref: a,
|
|
586
|
+
className: r(
|
|
587
|
+
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",
|
|
588
|
+
e
|
|
589
|
+
),
|
|
590
|
+
...t
|
|
591
|
+
}
|
|
592
|
+
));
|
|
593
|
+
Gt.displayName = N.Item.displayName;
|
|
594
|
+
const Et = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
595
|
+
Et.displayName = "CommandShortcut";
|
|
596
|
+
const Jo = m.Root, Zo = m.Trigger, er = m.Group, tr = m.Portal, ar = m.Sub, or = m.RadioGroup, Bt = s.forwardRef(({ className: e, inset: t, children: a, ...n }, i) => /* @__PURE__ */ d(
|
|
597
|
+
m.SubTrigger,
|
|
598
|
+
{
|
|
599
|
+
ref: i,
|
|
600
|
+
className: r(
|
|
601
|
+
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent data-[state=open]:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
|
|
602
|
+
t && "pl-8",
|
|
603
|
+
e
|
|
604
|
+
),
|
|
605
|
+
...n,
|
|
606
|
+
children: [
|
|
607
|
+
a,
|
|
608
|
+
/* @__PURE__ */ o(I, { className: "ml-auto h-4 w-4" })
|
|
609
|
+
]
|
|
610
|
+
}
|
|
611
|
+
));
|
|
612
|
+
Bt.displayName = m.SubTrigger.displayName;
|
|
613
|
+
const Ht = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
614
|
+
m.SubContent,
|
|
615
|
+
{
|
|
616
|
+
ref: a,
|
|
617
|
+
className: r(
|
|
618
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
619
|
+
e
|
|
620
|
+
),
|
|
621
|
+
...t
|
|
622
|
+
}
|
|
623
|
+
));
|
|
624
|
+
Ht.displayName = m.SubContent.displayName;
|
|
625
|
+
const Vt = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(m.Portal, { children: /* @__PURE__ */ o(
|
|
626
|
+
m.Content,
|
|
627
|
+
{
|
|
628
|
+
ref: a,
|
|
629
|
+
className: r(
|
|
630
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
631
|
+
e
|
|
632
|
+
),
|
|
633
|
+
...t
|
|
634
|
+
}
|
|
635
|
+
) }));
|
|
636
|
+
Vt.displayName = m.Content.displayName;
|
|
637
|
+
const Ft = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ o(
|
|
638
|
+
m.Item,
|
|
639
|
+
{
|
|
640
|
+
ref: n,
|
|
641
|
+
className: r(
|
|
642
|
+
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",
|
|
643
|
+
t && "pl-8",
|
|
644
|
+
e
|
|
645
|
+
),
|
|
646
|
+
...a
|
|
647
|
+
}
|
|
648
|
+
));
|
|
649
|
+
Ft.displayName = m.Item.displayName;
|
|
650
|
+
const Ut = s.forwardRef(({ className: e, children: t, checked: a, ...n }, i) => /* @__PURE__ */ d(
|
|
651
|
+
m.CheckboxItem,
|
|
652
|
+
{
|
|
653
|
+
ref: i,
|
|
654
|
+
className: r(
|
|
655
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",
|
|
656
|
+
e
|
|
657
|
+
),
|
|
658
|
+
checked: a,
|
|
659
|
+
...n,
|
|
660
|
+
children: [
|
|
661
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(m.ItemIndicator, { children: /* @__PURE__ */ o(O, { className: "h-4 w-4" }) }) }),
|
|
662
|
+
t
|
|
663
|
+
]
|
|
664
|
+
}
|
|
665
|
+
));
|
|
666
|
+
Ut.displayName = m.CheckboxItem.displayName;
|
|
667
|
+
const $t = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ d(
|
|
668
|
+
m.RadioItem,
|
|
669
|
+
{
|
|
670
|
+
ref: n,
|
|
671
|
+
className: r(
|
|
672
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",
|
|
673
|
+
e
|
|
674
|
+
),
|
|
675
|
+
...a,
|
|
676
|
+
children: [
|
|
677
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(m.ItemIndicator, { children: /* @__PURE__ */ o(B, { className: "h-2 w-2 fill-current" }) }) }),
|
|
678
|
+
t
|
|
679
|
+
]
|
|
680
|
+
}
|
|
681
|
+
));
|
|
682
|
+
$t.displayName = m.RadioItem.displayName;
|
|
683
|
+
const qt = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ o(
|
|
684
|
+
m.Label,
|
|
685
|
+
{
|
|
686
|
+
ref: n,
|
|
687
|
+
className: r("px-2 py-1.5 text-sm font-semibold text-foreground", t && "pl-8", e),
|
|
688
|
+
...a
|
|
689
|
+
}
|
|
690
|
+
));
|
|
691
|
+
qt.displayName = m.Label.displayName;
|
|
692
|
+
const Kt = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(m.Separator, { ref: a, className: r("-mx-1 my-1 h-px bg-border", e), ...t }));
|
|
693
|
+
Kt.displayName = m.Separator.displayName;
|
|
694
|
+
const Xt = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
695
|
+
Xt.displayName = "ContextMenuShortcut";
|
|
696
|
+
const Wt = ({ shouldScaleBackground: e = !0, ...t }) => /* @__PURE__ */ o(h.Root, { shouldScaleBackground: e, ...t });
|
|
697
|
+
Wt.displayName = "Drawer";
|
|
698
|
+
const rr = h.Trigger, Qt = h.Portal, sr = h.Close, ge = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(h.Overlay, { ref: a, className: r("fixed inset-0 z-50 bg-black/80", e), ...t }));
|
|
699
|
+
ge.displayName = h.Overlay.displayName;
|
|
700
|
+
const Yt = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ d(Qt, { children: [
|
|
701
|
+
/* @__PURE__ */ o(ge, {}),
|
|
702
|
+
/* @__PURE__ */ d(
|
|
703
|
+
h.Content,
|
|
704
|
+
{
|
|
705
|
+
ref: n,
|
|
706
|
+
className: r(
|
|
707
|
+
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
|
|
708
|
+
e
|
|
709
|
+
),
|
|
710
|
+
...a,
|
|
711
|
+
children: [
|
|
712
|
+
/* @__PURE__ */ o("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
|
|
713
|
+
t
|
|
714
|
+
]
|
|
715
|
+
}
|
|
716
|
+
)
|
|
717
|
+
] }));
|
|
718
|
+
Yt.displayName = "DrawerContent";
|
|
719
|
+
const Jt = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: r("grid gap-1.5 p-4 text-center sm:text-left", e), ...t });
|
|
720
|
+
Jt.displayName = "DrawerHeader";
|
|
721
|
+
const Zt = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: r("mt-auto flex flex-col gap-2 p-4", e), ...t });
|
|
722
|
+
Zt.displayName = "DrawerFooter";
|
|
723
|
+
const ea = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
724
|
+
h.Title,
|
|
725
|
+
{
|
|
726
|
+
ref: a,
|
|
727
|
+
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
728
|
+
...t
|
|
729
|
+
}
|
|
730
|
+
));
|
|
731
|
+
ea.displayName = h.Title.displayName;
|
|
732
|
+
const ta = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(h.Description, { ref: a, className: r("text-sm text-muted-foreground", e), ...t }));
|
|
733
|
+
ta.displayName = h.Description.displayName;
|
|
734
|
+
const nr = f.Root, ir = f.Trigger, dr = f.Group, lr = f.Portal, cr = f.Sub, mr = f.RadioGroup, aa = s.forwardRef(({ className: e, inset: t, children: a, ...n }, i) => /* @__PURE__ */ d(
|
|
735
|
+
f.SubTrigger,
|
|
736
|
+
{
|
|
737
|
+
ref: i,
|
|
738
|
+
className: r(
|
|
739
|
+
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent focus:bg-accent",
|
|
740
|
+
t && "pl-8",
|
|
741
|
+
e
|
|
742
|
+
),
|
|
743
|
+
...n,
|
|
744
|
+
children: [
|
|
745
|
+
a,
|
|
746
|
+
/* @__PURE__ */ o(I, { className: "ml-auto h-4 w-4" })
|
|
747
|
+
]
|
|
748
|
+
}
|
|
749
|
+
));
|
|
750
|
+
aa.displayName = f.SubTrigger.displayName;
|
|
751
|
+
const oa = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
752
|
+
f.SubContent,
|
|
753
|
+
{
|
|
754
|
+
ref: a,
|
|
755
|
+
className: r(
|
|
756
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
757
|
+
e
|
|
758
|
+
),
|
|
759
|
+
...t
|
|
760
|
+
}
|
|
761
|
+
));
|
|
762
|
+
oa.displayName = f.SubContent.displayName;
|
|
763
|
+
const ra = s.forwardRef(({ className: e, sideOffset: t = 4, ...a }, n) => /* @__PURE__ */ o(f.Portal, { children: /* @__PURE__ */ o(
|
|
764
|
+
f.Content,
|
|
765
|
+
{
|
|
766
|
+
ref: n,
|
|
767
|
+
sideOffset: t,
|
|
768
|
+
className: r(
|
|
769
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
770
|
+
e
|
|
771
|
+
),
|
|
772
|
+
...a
|
|
773
|
+
}
|
|
774
|
+
) }));
|
|
775
|
+
ra.displayName = f.Content.displayName;
|
|
776
|
+
const sa = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ o(
|
|
777
|
+
f.Item,
|
|
778
|
+
{
|
|
779
|
+
ref: n,
|
|
780
|
+
className: r(
|
|
781
|
+
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",
|
|
782
|
+
t && "pl-8",
|
|
783
|
+
e
|
|
784
|
+
),
|
|
785
|
+
...a
|
|
786
|
+
}
|
|
787
|
+
));
|
|
788
|
+
sa.displayName = f.Item.displayName;
|
|
789
|
+
const na = s.forwardRef(({ className: e, children: t, checked: a, ...n }, i) => /* @__PURE__ */ d(
|
|
790
|
+
f.CheckboxItem,
|
|
791
|
+
{
|
|
792
|
+
ref: i,
|
|
793
|
+
className: r(
|
|
794
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",
|
|
795
|
+
e
|
|
796
|
+
),
|
|
797
|
+
checked: a,
|
|
798
|
+
...n,
|
|
799
|
+
children: [
|
|
800
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(f.ItemIndicator, { children: /* @__PURE__ */ o(O, { className: "h-4 w-4" }) }) }),
|
|
801
|
+
t
|
|
802
|
+
]
|
|
803
|
+
}
|
|
804
|
+
));
|
|
805
|
+
na.displayName = f.CheckboxItem.displayName;
|
|
806
|
+
const ia = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ d(
|
|
807
|
+
f.RadioItem,
|
|
808
|
+
{
|
|
809
|
+
ref: n,
|
|
810
|
+
className: r(
|
|
811
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",
|
|
812
|
+
e
|
|
813
|
+
),
|
|
814
|
+
...a,
|
|
815
|
+
children: [
|
|
816
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(f.ItemIndicator, { children: /* @__PURE__ */ o(B, { className: "h-2 w-2 fill-current" }) }) }),
|
|
817
|
+
t
|
|
818
|
+
]
|
|
819
|
+
}
|
|
820
|
+
));
|
|
821
|
+
ia.displayName = f.RadioItem.displayName;
|
|
822
|
+
const da = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ o(
|
|
823
|
+
f.Label,
|
|
824
|
+
{
|
|
825
|
+
ref: n,
|
|
826
|
+
className: r("px-2 py-1.5 text-sm font-semibold", t && "pl-8", e),
|
|
827
|
+
...a
|
|
828
|
+
}
|
|
829
|
+
));
|
|
830
|
+
da.displayName = f.Label.displayName;
|
|
831
|
+
const la = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(f.Separator, { ref: a, className: r("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
832
|
+
la.displayName = f.Separator.displayName;
|
|
833
|
+
const ca = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest opacity-60", e), ...t });
|
|
834
|
+
ca.displayName = "DropdownMenuShortcut";
|
|
835
|
+
const fr = H.Root, ur = H.Trigger, ma = s.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...n }, i) => /* @__PURE__ */ o(
|
|
836
|
+
H.Content,
|
|
837
|
+
{
|
|
838
|
+
ref: i,
|
|
839
|
+
align: t,
|
|
840
|
+
sideOffset: a,
|
|
841
|
+
className: r(
|
|
842
|
+
"z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
843
|
+
e
|
|
844
|
+
),
|
|
845
|
+
...n
|
|
846
|
+
}
|
|
847
|
+
));
|
|
848
|
+
ma.displayName = H.Content.displayName;
|
|
849
|
+
const fa = s.forwardRef(
|
|
850
|
+
({ className: e, containerClassName: t, ...a }, n) => /* @__PURE__ */ o(
|
|
851
|
+
Be,
|
|
852
|
+
{
|
|
853
|
+
ref: n,
|
|
854
|
+
containerClassName: r("flex items-center gap-2 has-[:disabled]:opacity-50", t),
|
|
855
|
+
className: r("disabled:cursor-not-allowed", e),
|
|
856
|
+
...a
|
|
857
|
+
}
|
|
858
|
+
)
|
|
859
|
+
);
|
|
860
|
+
fa.displayName = "InputOTP";
|
|
861
|
+
const ua = s.forwardRef(
|
|
862
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: r("flex items-center", e), ...t })
|
|
863
|
+
);
|
|
864
|
+
ua.displayName = "InputOTPGroup";
|
|
865
|
+
const pa = s.forwardRef(({ index: e, className: t, ...a }, n) => {
|
|
866
|
+
const i = s.useContext(He), { char: g, hasFakeCaret: x, isActive: v } = i.slots[e];
|
|
867
|
+
return /* @__PURE__ */ d(
|
|
868
|
+
"div",
|
|
869
|
+
{
|
|
870
|
+
ref: n,
|
|
871
|
+
className: r(
|
|
872
|
+
"relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
|
|
873
|
+
v && "z-10 ring-2 ring-ring ring-offset-background",
|
|
874
|
+
t
|
|
875
|
+
),
|
|
876
|
+
...a,
|
|
877
|
+
children: [
|
|
878
|
+
g,
|
|
879
|
+
x && /* @__PURE__ */ o("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ o("div", { className: "animate-caret-blink h-4 w-px bg-foreground duration-1000" }) })
|
|
880
|
+
]
|
|
881
|
+
}
|
|
882
|
+
);
|
|
883
|
+
});
|
|
884
|
+
pa.displayName = "InputOTPSlot";
|
|
885
|
+
const ga = s.forwardRef(
|
|
886
|
+
({ ...e }, t) => /* @__PURE__ */ o("div", { ref: t, role: "separator", ...e, children: /* @__PURE__ */ o(Ae, {}) })
|
|
887
|
+
);
|
|
888
|
+
ga.displayName = "InputOTPSeparator";
|
|
889
|
+
const ba = s.forwardRef(
|
|
890
|
+
({ className: e, type: t, ...a }, n) => /* @__PURE__ */ o(
|
|
891
|
+
"input",
|
|
892
|
+
{
|
|
893
|
+
type: t,
|
|
894
|
+
className: r(
|
|
895
|
+
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
896
|
+
e
|
|
897
|
+
),
|
|
898
|
+
ref: n,
|
|
899
|
+
...a
|
|
900
|
+
}
|
|
901
|
+
)
|
|
902
|
+
);
|
|
903
|
+
ba.displayName = "Input";
|
|
904
|
+
const Na = T("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), ya = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(ie.Root, { ref: a, className: r(Na(), e), ...t }));
|
|
905
|
+
ya.displayName = ie.Root.displayName;
|
|
906
|
+
const pr = l.Menu, gr = l.Group, br = l.Portal, Nr = l.Sub, yr = l.RadioGroup, xa = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
907
|
+
l.Root,
|
|
908
|
+
{
|
|
909
|
+
ref: a,
|
|
910
|
+
className: r("flex h-10 items-center space-x-1 rounded-md border bg-background p-1", e),
|
|
911
|
+
...t
|
|
912
|
+
}
|
|
913
|
+
));
|
|
914
|
+
xa.displayName = l.Root.displayName;
|
|
915
|
+
const ha = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
916
|
+
l.Trigger,
|
|
917
|
+
{
|
|
918
|
+
ref: a,
|
|
919
|
+
className: r(
|
|
920
|
+
"flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none data-[state=open]:bg-accent data-[state=open]:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
|
|
921
|
+
e
|
|
922
|
+
),
|
|
923
|
+
...t
|
|
924
|
+
}
|
|
925
|
+
));
|
|
926
|
+
ha.displayName = l.Trigger.displayName;
|
|
927
|
+
const wa = s.forwardRef(({ className: e, inset: t, children: a, ...n }, i) => /* @__PURE__ */ d(
|
|
928
|
+
l.SubTrigger,
|
|
929
|
+
{
|
|
930
|
+
ref: i,
|
|
931
|
+
className: r(
|
|
932
|
+
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent data-[state=open]:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
|
|
933
|
+
t && "pl-8",
|
|
934
|
+
e
|
|
935
|
+
),
|
|
936
|
+
...n,
|
|
937
|
+
children: [
|
|
938
|
+
a,
|
|
939
|
+
/* @__PURE__ */ o(I, { className: "ml-auto h-4 w-4" })
|
|
940
|
+
]
|
|
941
|
+
}
|
|
942
|
+
));
|
|
943
|
+
wa.displayName = l.SubTrigger.displayName;
|
|
944
|
+
const va = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
945
|
+
l.SubContent,
|
|
946
|
+
{
|
|
947
|
+
ref: a,
|
|
948
|
+
className: r(
|
|
949
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
950
|
+
e
|
|
951
|
+
),
|
|
952
|
+
...t
|
|
953
|
+
}
|
|
954
|
+
));
|
|
955
|
+
va.displayName = l.SubContent.displayName;
|
|
956
|
+
const Ra = s.forwardRef(({ className: e, align: t = "start", alignOffset: a = -4, sideOffset: n = 8, ...i }, g) => /* @__PURE__ */ o(l.Portal, { children: /* @__PURE__ */ o(
|
|
957
|
+
l.Content,
|
|
958
|
+
{
|
|
959
|
+
ref: g,
|
|
960
|
+
align: t,
|
|
961
|
+
alignOffset: a,
|
|
962
|
+
sideOffset: n,
|
|
963
|
+
className: r(
|
|
964
|
+
"z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
965
|
+
e
|
|
966
|
+
),
|
|
967
|
+
...i
|
|
968
|
+
}
|
|
969
|
+
) }));
|
|
970
|
+
Ra.displayName = l.Content.displayName;
|
|
971
|
+
const Ca = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ o(
|
|
972
|
+
l.Item,
|
|
973
|
+
{
|
|
974
|
+
ref: n,
|
|
975
|
+
className: r(
|
|
976
|
+
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",
|
|
977
|
+
t && "pl-8",
|
|
978
|
+
e
|
|
979
|
+
),
|
|
980
|
+
...a
|
|
981
|
+
}
|
|
982
|
+
));
|
|
983
|
+
Ca.displayName = l.Item.displayName;
|
|
984
|
+
const Ta = s.forwardRef(({ className: e, children: t, checked: a, ...n }, i) => /* @__PURE__ */ d(
|
|
985
|
+
l.CheckboxItem,
|
|
986
|
+
{
|
|
987
|
+
ref: i,
|
|
988
|
+
className: r(
|
|
989
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",
|
|
990
|
+
e
|
|
991
|
+
),
|
|
992
|
+
checked: a,
|
|
993
|
+
...n,
|
|
994
|
+
children: [
|
|
995
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(O, { className: "h-4 w-4" }) }) }),
|
|
996
|
+
t
|
|
997
|
+
]
|
|
998
|
+
}
|
|
999
|
+
));
|
|
1000
|
+
Ta.displayName = l.CheckboxItem.displayName;
|
|
1001
|
+
const Sa = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ d(
|
|
1002
|
+
l.RadioItem,
|
|
1003
|
+
{
|
|
1004
|
+
ref: n,
|
|
1005
|
+
className: r(
|
|
1006
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",
|
|
1007
|
+
e
|
|
1008
|
+
),
|
|
1009
|
+
...a,
|
|
1010
|
+
children: [
|
|
1011
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(B, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1012
|
+
t
|
|
1013
|
+
]
|
|
1014
|
+
}
|
|
1015
|
+
));
|
|
1016
|
+
Sa.displayName = l.RadioItem.displayName;
|
|
1017
|
+
const ka = s.forwardRef(({ className: e, inset: t, ...a }, n) => /* @__PURE__ */ o(
|
|
1018
|
+
l.Label,
|
|
1019
|
+
{
|
|
1020
|
+
ref: n,
|
|
1021
|
+
className: r("px-2 py-1.5 text-sm font-semibold", t && "pl-8", e),
|
|
1022
|
+
...a
|
|
1023
|
+
}
|
|
1024
|
+
));
|
|
1025
|
+
ka.displayName = l.Label.displayName;
|
|
1026
|
+
const Ia = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(l.Separator, { ref: a, className: r("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
1027
|
+
Ia.displayName = l.Separator.displayName;
|
|
1028
|
+
const Pa = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
1029
|
+
Pa.displayname = "MenubarShortcut";
|
|
1030
|
+
const Da = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ d(
|
|
1031
|
+
y.Root,
|
|
1032
|
+
{
|
|
1033
|
+
ref: n,
|
|
1034
|
+
className: r("relative z-10 flex max-w-max flex-1 items-center justify-center", e),
|
|
1035
|
+
...a,
|
|
1036
|
+
children: [
|
|
1037
|
+
t,
|
|
1038
|
+
/* @__PURE__ */ o(be, {})
|
|
1039
|
+
]
|
|
1040
|
+
}
|
|
1041
|
+
));
|
|
1042
|
+
Da.displayName = y.Root.displayName;
|
|
1043
|
+
const Ma = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1044
|
+
y.List,
|
|
1045
|
+
{
|
|
1046
|
+
ref: a,
|
|
1047
|
+
className: r("group flex flex-1 list-none items-center justify-center space-x-1", e),
|
|
1048
|
+
...t
|
|
1049
|
+
}
|
|
1050
|
+
));
|
|
1051
|
+
Ma.displayName = y.List.displayName;
|
|
1052
|
+
const xr = y.Item, za = T(
|
|
1053
|
+
"group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
|
|
1054
|
+
), _a = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ d(
|
|
1055
|
+
y.Trigger,
|
|
1056
|
+
{
|
|
1057
|
+
ref: n,
|
|
1058
|
+
className: r(za(), "group", e),
|
|
1059
|
+
...a,
|
|
1060
|
+
children: [
|
|
1061
|
+
t,
|
|
1062
|
+
" ",
|
|
1063
|
+
/* @__PURE__ */ o(
|
|
1064
|
+
E,
|
|
1065
|
+
{
|
|
1066
|
+
className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
|
|
1067
|
+
"aria-hidden": "true"
|
|
1068
|
+
}
|
|
1069
|
+
)
|
|
1070
|
+
]
|
|
1071
|
+
}
|
|
1072
|
+
));
|
|
1073
|
+
_a.displayName = y.Trigger.displayName;
|
|
1074
|
+
const Aa = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1075
|
+
y.Content,
|
|
1076
|
+
{
|
|
1077
|
+
ref: a,
|
|
1078
|
+
className: r(
|
|
1079
|
+
"left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",
|
|
1080
|
+
e
|
|
1081
|
+
),
|
|
1082
|
+
...t
|
|
1083
|
+
}
|
|
1084
|
+
));
|
|
1085
|
+
Aa.displayName = y.Content.displayName;
|
|
1086
|
+
const hr = y.Link, be = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { className: r("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ o(
|
|
1087
|
+
y.Viewport,
|
|
1088
|
+
{
|
|
1089
|
+
className: r(
|
|
1090
|
+
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
1091
|
+
e
|
|
1092
|
+
),
|
|
1093
|
+
ref: a,
|
|
1094
|
+
...t
|
|
1095
|
+
}
|
|
1096
|
+
) }));
|
|
1097
|
+
be.displayName = y.Viewport.displayName;
|
|
1098
|
+
const Oa = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1099
|
+
y.Indicator,
|
|
1100
|
+
{
|
|
1101
|
+
ref: a,
|
|
1102
|
+
className: r(
|
|
1103
|
+
"top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",
|
|
1104
|
+
e
|
|
1105
|
+
),
|
|
1106
|
+
...t,
|
|
1107
|
+
children: /* @__PURE__ */ o("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
1108
|
+
}
|
|
1109
|
+
));
|
|
1110
|
+
Oa.displayName = y.Indicator.displayName;
|
|
1111
|
+
const La = ({ className: e, ...t }) => /* @__PURE__ */ o(
|
|
1112
|
+
"nav",
|
|
1113
|
+
{
|
|
1114
|
+
role: "navigation",
|
|
1115
|
+
"aria-label": "pagination",
|
|
1116
|
+
className: r("mx-auto flex w-full justify-center", e),
|
|
1117
|
+
...t
|
|
1118
|
+
}
|
|
1119
|
+
);
|
|
1120
|
+
La.displayName = "Pagination";
|
|
1121
|
+
const ja = s.forwardRef(
|
|
1122
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("ul", { ref: a, className: r("flex flex-row items-center gap-1", e), ...t })
|
|
1123
|
+
);
|
|
1124
|
+
ja.displayName = "PaginationContent";
|
|
1125
|
+
const Ga = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("li", { ref: a, className: r("", e), ...t }));
|
|
1126
|
+
Ga.displayName = "PaginationItem";
|
|
1127
|
+
const te = ({ className: e, isActive: t, size: a = "icon", ...n }) => /* @__PURE__ */ o(
|
|
1128
|
+
"a",
|
|
1129
|
+
{
|
|
1130
|
+
"aria-current": t ? "page" : void 0,
|
|
1131
|
+
className: r(
|
|
1132
|
+
k({
|
|
1133
|
+
variant: t ? "outline" : "ghost",
|
|
1134
|
+
size: a
|
|
1135
|
+
}),
|
|
1136
|
+
e
|
|
1137
|
+
),
|
|
1138
|
+
...n
|
|
1139
|
+
}
|
|
1140
|
+
);
|
|
1141
|
+
te.displayName = "PaginationLink";
|
|
1142
|
+
const Ea = ({ className: e, ...t }) => /* @__PURE__ */ d(te, { "aria-label": "Go to previous page", size: "default", className: r("gap-1 pl-2.5", e), ...t, children: [
|
|
1143
|
+
/* @__PURE__ */ o(re, { className: "h-4 w-4" }),
|
|
1144
|
+
/* @__PURE__ */ o("span", { children: "Previous" })
|
|
1145
|
+
] });
|
|
1146
|
+
Ea.displayName = "PaginationPrevious";
|
|
1147
|
+
const Ba = ({ className: e, ...t }) => /* @__PURE__ */ d(te, { "aria-label": "Go to next page", size: "default", className: r("gap-1 pr-2.5", e), ...t, children: [
|
|
1148
|
+
/* @__PURE__ */ o("span", { children: "Next" }),
|
|
1149
|
+
/* @__PURE__ */ o(I, { className: "h-4 w-4" })
|
|
1150
|
+
] });
|
|
1151
|
+
Ba.displayName = "PaginationNext";
|
|
1152
|
+
const Ha = ({ className: e, ...t }) => /* @__PURE__ */ d("span", { "aria-hidden": !0, className: r("flex h-9 w-9 items-center justify-center", e), ...t, children: [
|
|
1153
|
+
/* @__PURE__ */ o(oe, { className: "h-4 w-4" }),
|
|
1154
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "More pages" })
|
|
1155
|
+
] });
|
|
1156
|
+
Ha.displayName = "PaginationEllipsis";
|
|
1157
|
+
const wr = _.Root, vr = _.Trigger, Va = s.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...n }, i) => /* @__PURE__ */ o(_.Portal, { children: /* @__PURE__ */ o(
|
|
1158
|
+
_.Content,
|
|
1159
|
+
{
|
|
1160
|
+
ref: i,
|
|
1161
|
+
align: t,
|
|
1162
|
+
sideOffset: a,
|
|
1163
|
+
className: r(
|
|
1164
|
+
"z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
1165
|
+
e
|
|
1166
|
+
),
|
|
1167
|
+
...n
|
|
1168
|
+
}
|
|
1169
|
+
) }));
|
|
1170
|
+
Va.displayName = _.Content.displayName;
|
|
1171
|
+
const Fa = s.forwardRef(({ className: e, value: t, ...a }, n) => /* @__PURE__ */ o(
|
|
1172
|
+
Q.Root,
|
|
1173
|
+
{
|
|
1174
|
+
ref: n,
|
|
1175
|
+
className: r("relative h-4 w-full overflow-hidden rounded-full bg-secondary", e),
|
|
1176
|
+
...a,
|
|
1177
|
+
children: /* @__PURE__ */ o(
|
|
1178
|
+
Q.Indicator,
|
|
1179
|
+
{
|
|
1180
|
+
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
1181
|
+
style: { transform: `translateX(-${100 - (t || 0)}%)` }
|
|
1182
|
+
}
|
|
1183
|
+
)
|
|
1184
|
+
}
|
|
1185
|
+
));
|
|
1186
|
+
Fa.displayName = Q.Root.displayName;
|
|
1187
|
+
const Ua = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(A.Root, { className: r("grid gap-2", e), ...t, ref: a }));
|
|
1188
|
+
Ua.displayName = A.Root.displayName;
|
|
1189
|
+
const $a = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1190
|
+
A.Item,
|
|
1191
|
+
{
|
|
1192
|
+
ref: a,
|
|
1193
|
+
className: r(
|
|
1194
|
+
"aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
1195
|
+
e
|
|
1196
|
+
),
|
|
1197
|
+
...t,
|
|
1198
|
+
children: /* @__PURE__ */ o(A.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ o(B, { className: "h-2.5 w-2.5 fill-current text-current" }) })
|
|
1199
|
+
}
|
|
1200
|
+
));
|
|
1201
|
+
$a.displayName = A.Item.displayName;
|
|
1202
|
+
const Rr = ({ className: e, ...t }) => /* @__PURE__ */ o(
|
|
1203
|
+
Z.PanelGroup,
|
|
1204
|
+
{
|
|
1205
|
+
className: r("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", e),
|
|
1206
|
+
...t
|
|
1207
|
+
}
|
|
1208
|
+
), Cr = Z.Panel, Tr = ({
|
|
1209
|
+
withHandle: e,
|
|
1210
|
+
className: t,
|
|
1211
|
+
...a
|
|
1212
|
+
}) => /* @__PURE__ */ o(
|
|
1213
|
+
Z.PanelResizeHandle,
|
|
1214
|
+
{
|
|
1215
|
+
className: r(
|
|
1216
|
+
"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
1217
|
+
t
|
|
1218
|
+
),
|
|
1219
|
+
...a,
|
|
1220
|
+
children: e && /* @__PURE__ */ o("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ o(Oe, { className: "h-2.5 w-2.5" }) })
|
|
1221
|
+
}
|
|
1222
|
+
), qa = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ d(R.Root, { ref: n, className: r("relative overflow-hidden", e), ...a, children: [
|
|
1223
|
+
/* @__PURE__ */ o(R.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
|
|
1224
|
+
/* @__PURE__ */ o(Ne, {}),
|
|
1225
|
+
/* @__PURE__ */ o(R.Corner, {})
|
|
1226
|
+
] }));
|
|
1227
|
+
qa.displayName = R.Root.displayName;
|
|
1228
|
+
const Ne = s.forwardRef(({ className: e, orientation: t = "vertical", ...a }, n) => /* @__PURE__ */ o(
|
|
1229
|
+
R.ScrollAreaScrollbar,
|
|
1230
|
+
{
|
|
1231
|
+
ref: n,
|
|
1232
|
+
orientation: t,
|
|
1233
|
+
className: r(
|
|
1234
|
+
"flex touch-none select-none transition-colors",
|
|
1235
|
+
t === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
1236
|
+
t === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
1237
|
+
e
|
|
1238
|
+
),
|
|
1239
|
+
...a,
|
|
1240
|
+
children: /* @__PURE__ */ o(R.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
1241
|
+
}
|
|
1242
|
+
));
|
|
1243
|
+
Ne.displayName = R.ScrollAreaScrollbar.displayName;
|
|
1244
|
+
const Sr = u.Root, kr = u.Group, Ir = u.Value, Ka = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ d(
|
|
1245
|
+
u.Trigger,
|
|
1246
|
+
{
|
|
1247
|
+
ref: n,
|
|
1248
|
+
className: r(
|
|
1249
|
+
"flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
|
|
1250
|
+
e
|
|
1251
|
+
),
|
|
1252
|
+
...a,
|
|
1253
|
+
children: [
|
|
1254
|
+
t,
|
|
1255
|
+
/* @__PURE__ */ o(u.Icon, { asChild: !0, children: /* @__PURE__ */ o(E, { className: "h-4 w-4 opacity-50" }) })
|
|
1256
|
+
]
|
|
1257
|
+
}
|
|
1258
|
+
));
|
|
1259
|
+
Ka.displayName = u.Trigger.displayName;
|
|
1260
|
+
const ye = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1261
|
+
u.ScrollUpButton,
|
|
1262
|
+
{
|
|
1263
|
+
ref: a,
|
|
1264
|
+
className: r("flex cursor-default items-center justify-center py-1", e),
|
|
1265
|
+
...t,
|
|
1266
|
+
children: /* @__PURE__ */ o(Le, { className: "h-4 w-4" })
|
|
1267
|
+
}
|
|
1268
|
+
));
|
|
1269
|
+
ye.displayName = u.ScrollUpButton.displayName;
|
|
1270
|
+
const xe = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1271
|
+
u.ScrollDownButton,
|
|
1272
|
+
{
|
|
1273
|
+
ref: a,
|
|
1274
|
+
className: r("flex cursor-default items-center justify-center py-1", e),
|
|
1275
|
+
...t,
|
|
1276
|
+
children: /* @__PURE__ */ o(E, { className: "h-4 w-4" })
|
|
1277
|
+
}
|
|
1278
|
+
));
|
|
1279
|
+
xe.displayName = u.ScrollDownButton.displayName;
|
|
1280
|
+
const Xa = s.forwardRef(({ className: e, children: t, position: a = "popper", ...n }, i) => /* @__PURE__ */ o(u.Portal, { children: /* @__PURE__ */ d(
|
|
1281
|
+
u.Content,
|
|
1282
|
+
{
|
|
1283
|
+
ref: i,
|
|
1284
|
+
className: r(
|
|
1285
|
+
"relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
1286
|
+
a === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
1287
|
+
e
|
|
1288
|
+
),
|
|
1289
|
+
position: a,
|
|
1290
|
+
...n,
|
|
1291
|
+
children: [
|
|
1292
|
+
/* @__PURE__ */ o(ye, {}),
|
|
1293
|
+
/* @__PURE__ */ o(
|
|
1294
|
+
u.Viewport,
|
|
1295
|
+
{
|
|
1296
|
+
className: r(
|
|
1297
|
+
"p-1",
|
|
1298
|
+
a === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
1299
|
+
),
|
|
1300
|
+
children: t
|
|
1301
|
+
}
|
|
1302
|
+
),
|
|
1303
|
+
/* @__PURE__ */ o(xe, {})
|
|
1304
|
+
]
|
|
1305
|
+
}
|
|
1306
|
+
) }));
|
|
1307
|
+
Xa.displayName = u.Content.displayName;
|
|
1308
|
+
const Wa = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(u.Label, { ref: a, className: r("py-1.5 pl-8 pr-2 text-sm font-semibold", e), ...t }));
|
|
1309
|
+
Wa.displayName = u.Label.displayName;
|
|
1310
|
+
const Qa = s.forwardRef(({ className: e, children: t, ...a }, n) => /* @__PURE__ */ d(
|
|
1311
|
+
u.Item,
|
|
1312
|
+
{
|
|
1313
|
+
ref: n,
|
|
1314
|
+
className: r(
|
|
1315
|
+
"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",
|
|
1316
|
+
e
|
|
1317
|
+
),
|
|
1318
|
+
...a,
|
|
1319
|
+
children: [
|
|
1320
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(u.ItemIndicator, { children: /* @__PURE__ */ o(O, { className: "h-4 w-4" }) }) }),
|
|
1321
|
+
/* @__PURE__ */ o(u.ItemText, { children: t })
|
|
1322
|
+
]
|
|
1323
|
+
}
|
|
1324
|
+
));
|
|
1325
|
+
Qa.displayName = u.Item.displayName;
|
|
1326
|
+
const Ya = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(u.Separator, { ref: a, className: r("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
1327
|
+
Ya.displayName = u.Separator.displayName;
|
|
1328
|
+
const Ja = s.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...n }, i) => /* @__PURE__ */ o(
|
|
1329
|
+
de.Root,
|
|
1330
|
+
{
|
|
1331
|
+
ref: i,
|
|
1332
|
+
decorative: a,
|
|
1333
|
+
orientation: t,
|
|
1334
|
+
className: r("shrink-0 bg-border", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
|
|
1335
|
+
...n
|
|
1336
|
+
}
|
|
1337
|
+
));
|
|
1338
|
+
Ja.displayName = de.Root.displayName;
|
|
1339
|
+
const Pr = c.Root, Dr = c.Trigger, Mr = c.Close, Za = c.Portal, he = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1340
|
+
c.Overlay,
|
|
1341
|
+
{
|
|
1342
|
+
className: r(
|
|
1343
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
1344
|
+
e
|
|
1345
|
+
),
|
|
1346
|
+
...t,
|
|
1347
|
+
ref: a
|
|
1348
|
+
}
|
|
1349
|
+
));
|
|
1350
|
+
he.displayName = c.Overlay.displayName;
|
|
1351
|
+
const eo = T(
|
|
1352
|
+
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
1353
|
+
{
|
|
1354
|
+
variants: {
|
|
1355
|
+
side: {
|
|
1356
|
+
top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
1357
|
+
bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
1358
|
+
left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
1359
|
+
right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
defaultVariants: {
|
|
1363
|
+
side: "right"
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
), to = s.forwardRef(
|
|
1367
|
+
({ side: e = "right", className: t, children: a, ...n }, i) => /* @__PURE__ */ d(Za, { children: [
|
|
1368
|
+
/* @__PURE__ */ o(he, {}),
|
|
1369
|
+
/* @__PURE__ */ d(c.Content, { ref: i, className: r(eo({ side: e }), t), ...n, children: [
|
|
1370
|
+
a,
|
|
1371
|
+
/* @__PURE__ */ d(c.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
|
|
1372
|
+
/* @__PURE__ */ o(se, { className: "h-4 w-4" }),
|
|
1373
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
1374
|
+
] })
|
|
1375
|
+
] })
|
|
1376
|
+
] })
|
|
1377
|
+
);
|
|
1378
|
+
to.displayName = c.Content.displayName;
|
|
1379
|
+
const ao = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
1380
|
+
ao.displayName = "SheetHeader";
|
|
1381
|
+
const oo = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
1382
|
+
oo.displayName = "SheetFooter";
|
|
1383
|
+
const ro = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Title, { ref: a, className: r("text-lg font-semibold text-foreground", e), ...t }));
|
|
1384
|
+
ro.displayName = c.Title.displayName;
|
|
1385
|
+
const so = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Description, { ref: a, className: r("text-sm text-muted-foreground", e), ...t }));
|
|
1386
|
+
so.displayName = c.Description.displayName;
|
|
1387
|
+
function zr({ className: e, ...t }) {
|
|
1388
|
+
return /* @__PURE__ */ o("div", { className: r("animate-pulse rounded-md bg-muted", e), ...t });
|
|
1389
|
+
}
|
|
1390
|
+
const no = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ d(
|
|
1391
|
+
M.Root,
|
|
1392
|
+
{
|
|
1393
|
+
ref: a,
|
|
1394
|
+
className: r("relative flex w-full touch-none select-none items-center", e),
|
|
1395
|
+
...t,
|
|
1396
|
+
children: [
|
|
1397
|
+
/* @__PURE__ */ o(M.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ o(M.Range, { className: "absolute h-full bg-primary" }) }),
|
|
1398
|
+
/* @__PURE__ */ o(M.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
|
|
1399
|
+
]
|
|
1400
|
+
}
|
|
1401
|
+
));
|
|
1402
|
+
no.displayName = M.Root.displayName;
|
|
1403
|
+
const io = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1404
|
+
Y.Root,
|
|
1405
|
+
{
|
|
1406
|
+
className: r(
|
|
1407
|
+
"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
|
|
1408
|
+
e
|
|
1409
|
+
),
|
|
1410
|
+
...t,
|
|
1411
|
+
ref: a,
|
|
1412
|
+
children: /* @__PURE__ */ o(
|
|
1413
|
+
Y.Thumb,
|
|
1414
|
+
{
|
|
1415
|
+
className: r(
|
|
1416
|
+
"pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
1417
|
+
)
|
|
1418
|
+
}
|
|
1419
|
+
)
|
|
1420
|
+
}
|
|
1421
|
+
));
|
|
1422
|
+
io.displayName = Y.Root.displayName;
|
|
1423
|
+
const lo = s.forwardRef(
|
|
1424
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ o("table", { ref: a, className: r("w-full caption-bottom text-sm", e), ...t }) })
|
|
1425
|
+
);
|
|
1426
|
+
lo.displayName = "Table";
|
|
1427
|
+
const co = s.forwardRef(
|
|
1428
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("thead", { ref: a, className: r("[&_tr]:border-b", e), ...t })
|
|
1429
|
+
);
|
|
1430
|
+
co.displayName = "TableHeader";
|
|
1431
|
+
const mo = s.forwardRef(
|
|
1432
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("tbody", { ref: a, className: r("[&_tr:last-child]:border-0", e), ...t })
|
|
1433
|
+
);
|
|
1434
|
+
mo.displayName = "TableBody";
|
|
1435
|
+
const fo = s.forwardRef(
|
|
1436
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("tfoot", { ref: a, className: r("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e), ...t })
|
|
1437
|
+
);
|
|
1438
|
+
fo.displayName = "TableFooter";
|
|
1439
|
+
const uo = s.forwardRef(
|
|
1440
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1441
|
+
"tr",
|
|
1442
|
+
{
|
|
1443
|
+
ref: a,
|
|
1444
|
+
className: r("border-b transition-colors data-[state=selected]:bg-muted hover:bg-muted/50", e),
|
|
1445
|
+
...t
|
|
1446
|
+
}
|
|
1447
|
+
)
|
|
1448
|
+
);
|
|
1449
|
+
uo.displayName = "TableRow";
|
|
1450
|
+
const po = s.forwardRef(
|
|
1451
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1452
|
+
"th",
|
|
1453
|
+
{
|
|
1454
|
+
ref: a,
|
|
1455
|
+
className: r(
|
|
1456
|
+
"h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
|
|
1457
|
+
e
|
|
1458
|
+
),
|
|
1459
|
+
...t
|
|
1460
|
+
}
|
|
1461
|
+
)
|
|
1462
|
+
);
|
|
1463
|
+
po.displayName = "TableHead";
|
|
1464
|
+
const go = s.forwardRef(
|
|
1465
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("td", { ref: a, className: r("p-4 align-middle [&:has([role=checkbox])]:pr-0", e), ...t })
|
|
1466
|
+
);
|
|
1467
|
+
go.displayName = "TableCell";
|
|
1468
|
+
const bo = s.forwardRef(
|
|
1469
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("caption", { ref: a, className: r("mt-4 text-sm text-muted-foreground", e), ...t })
|
|
1470
|
+
);
|
|
1471
|
+
bo.displayName = "TableCaption";
|
|
1472
|
+
const _r = S.Root, No = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1473
|
+
S.List,
|
|
1474
|
+
{
|
|
1475
|
+
ref: a,
|
|
1476
|
+
className: r(
|
|
1477
|
+
"inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",
|
|
1478
|
+
e
|
|
1479
|
+
),
|
|
1480
|
+
...t
|
|
1481
|
+
}
|
|
1482
|
+
));
|
|
1483
|
+
No.displayName = S.List.displayName;
|
|
1484
|
+
const yo = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1485
|
+
S.Trigger,
|
|
1486
|
+
{
|
|
1487
|
+
ref: a,
|
|
1488
|
+
className: r(
|
|
1489
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
1490
|
+
e
|
|
1491
|
+
),
|
|
1492
|
+
...t
|
|
1493
|
+
}
|
|
1494
|
+
));
|
|
1495
|
+
yo.displayName = S.Trigger.displayName;
|
|
1496
|
+
const xo = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1497
|
+
S.Content,
|
|
1498
|
+
{
|
|
1499
|
+
ref: a,
|
|
1500
|
+
className: r(
|
|
1501
|
+
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
1502
|
+
e
|
|
1503
|
+
),
|
|
1504
|
+
...t
|
|
1505
|
+
}
|
|
1506
|
+
));
|
|
1507
|
+
xo.displayName = S.Content.displayName;
|
|
1508
|
+
const ho = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
1509
|
+
"textarea",
|
|
1510
|
+
{
|
|
1511
|
+
className: r(
|
|
1512
|
+
"flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
1513
|
+
e
|
|
1514
|
+
),
|
|
1515
|
+
ref: a,
|
|
1516
|
+
...t
|
|
1517
|
+
}
|
|
1518
|
+
));
|
|
1519
|
+
ho.displayName = "Textarea";
|
|
1520
|
+
const we = T(
|
|
1521
|
+
"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
|
|
1522
|
+
{
|
|
1523
|
+
variants: {
|
|
1524
|
+
variant: {
|
|
1525
|
+
default: "bg-transparent",
|
|
1526
|
+
outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
|
|
1527
|
+
},
|
|
1528
|
+
size: {
|
|
1529
|
+
default: "h-10 px-3",
|
|
1530
|
+
sm: "h-9 px-2.5",
|
|
1531
|
+
lg: "h-11 px-5"
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
defaultVariants: {
|
|
1535
|
+
variant: "default",
|
|
1536
|
+
size: "default"
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
), wo = s.forwardRef(({ className: e, variant: t, size: a, ...n }, i) => /* @__PURE__ */ o(le.Root, { ref: i, className: r(we({ variant: t, size: a, className: e })), ...n }));
|
|
1540
|
+
wo.displayName = le.Root.displayName;
|
|
1541
|
+
const ve = s.createContext({
|
|
1542
|
+
size: "default",
|
|
1543
|
+
variant: "default"
|
|
1544
|
+
}), vo = s.forwardRef(({ className: e, variant: t, size: a, children: n, ...i }, g) => /* @__PURE__ */ o(V.Root, { ref: g, className: r("flex items-center justify-center gap-1", e), ...i, children: /* @__PURE__ */ o(ve.Provider, { value: { variant: t, size: a }, children: n }) }));
|
|
1545
|
+
vo.displayName = V.Root.displayName;
|
|
1546
|
+
const Ro = s.forwardRef(({ className: e, children: t, variant: a, size: n, ...i }, g) => {
|
|
1547
|
+
const x = s.useContext(ve);
|
|
1548
|
+
return /* @__PURE__ */ o(
|
|
1549
|
+
V.Item,
|
|
1550
|
+
{
|
|
1551
|
+
ref: g,
|
|
1552
|
+
className: r(
|
|
1553
|
+
we({
|
|
1554
|
+
variant: x.variant || a,
|
|
1555
|
+
size: x.size || n
|
|
1556
|
+
}),
|
|
1557
|
+
e
|
|
1558
|
+
),
|
|
1559
|
+
...i,
|
|
1560
|
+
children: t
|
|
1561
|
+
}
|
|
1562
|
+
);
|
|
1563
|
+
});
|
|
1564
|
+
Ro.displayName = V.Item.displayName;
|
|
1565
|
+
const Ar = L.Provider, Or = L.Root, Lr = L.Trigger, Co = s.forwardRef(({ className: e, sideOffset: t = 4, ...a }, n) => /* @__PURE__ */ o(
|
|
1566
|
+
L.Content,
|
|
1567
|
+
{
|
|
1568
|
+
ref: n,
|
|
1569
|
+
sideOffset: t,
|
|
1570
|
+
className: r(
|
|
1571
|
+
"z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
1572
|
+
e
|
|
1573
|
+
),
|
|
1574
|
+
...a
|
|
1575
|
+
}
|
|
1576
|
+
));
|
|
1577
|
+
Co.displayName = L.Content.displayName;
|
|
1578
|
+
const q = 768;
|
|
1579
|
+
function jr() {
|
|
1580
|
+
const [e, t] = s.useState(void 0);
|
|
1581
|
+
return s.useEffect(() => {
|
|
1582
|
+
const a = window.matchMedia(`(max-width: ${q - 1}px)`), n = () => {
|
|
1583
|
+
t(window.innerWidth < q);
|
|
1584
|
+
};
|
|
1585
|
+
return a.addEventListener("change", n), t(window.innerWidth < q), () => a.removeEventListener("change", n);
|
|
1586
|
+
}, []), !!e;
|
|
1587
|
+
}
|
|
1588
|
+
const To = 1, So = 1e6;
|
|
1589
|
+
let K = 0;
|
|
1590
|
+
function ko() {
|
|
1591
|
+
return K = (K + 1) % Number.MAX_SAFE_INTEGER, K.toString();
|
|
1592
|
+
}
|
|
1593
|
+
const X = /* @__PURE__ */ new Map(), ae = (e) => {
|
|
1594
|
+
if (X.has(e))
|
|
1595
|
+
return;
|
|
1596
|
+
const t = setTimeout(() => {
|
|
1597
|
+
X.delete(e), z({
|
|
1598
|
+
type: "REMOVE_TOAST",
|
|
1599
|
+
toastId: e
|
|
1600
|
+
});
|
|
1601
|
+
}, So);
|
|
1602
|
+
X.set(e, t);
|
|
1603
|
+
}, Io = (e, t) => {
|
|
1604
|
+
switch (t.type) {
|
|
1605
|
+
case "ADD_TOAST":
|
|
1606
|
+
return {
|
|
1607
|
+
...e,
|
|
1608
|
+
toasts: [t.toast, ...e.toasts].slice(0, To)
|
|
1609
|
+
};
|
|
1610
|
+
case "UPDATE_TOAST":
|
|
1611
|
+
return {
|
|
1612
|
+
...e,
|
|
1613
|
+
toasts: e.toasts.map((a) => a.id === t.toast.id ? { ...a, ...t.toast } : a)
|
|
1614
|
+
};
|
|
1615
|
+
case "DISMISS_TOAST": {
|
|
1616
|
+
const { toastId: a } = t;
|
|
1617
|
+
return a ? ae(a) : e.toasts.forEach((n) => {
|
|
1618
|
+
ae(n.id);
|
|
1619
|
+
}), {
|
|
1620
|
+
...e,
|
|
1621
|
+
toasts: e.toasts.map(
|
|
1622
|
+
(n) => n.id === a || a === void 0 ? {
|
|
1623
|
+
...n,
|
|
1624
|
+
open: !1
|
|
1625
|
+
} : n
|
|
1626
|
+
)
|
|
1627
|
+
};
|
|
1628
|
+
}
|
|
1629
|
+
case "REMOVE_TOAST":
|
|
1630
|
+
return t.toastId === void 0 ? {
|
|
1631
|
+
...e,
|
|
1632
|
+
toasts: []
|
|
1633
|
+
} : {
|
|
1634
|
+
...e,
|
|
1635
|
+
toasts: e.toasts.filter((a) => a.id !== t.toastId)
|
|
1636
|
+
};
|
|
1637
|
+
}
|
|
1638
|
+
}, j = [];
|
|
1639
|
+
let G = { toasts: [] };
|
|
1640
|
+
function z(e) {
|
|
1641
|
+
G = Io(G, e), j.forEach((t) => {
|
|
1642
|
+
t(G);
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
function Po({ ...e }) {
|
|
1646
|
+
const t = ko(), a = (i) => z({
|
|
1647
|
+
type: "UPDATE_TOAST",
|
|
1648
|
+
toast: { ...i, id: t }
|
|
1649
|
+
}), n = () => z({ type: "DISMISS_TOAST", toastId: t });
|
|
1650
|
+
return z({
|
|
1651
|
+
type: "ADD_TOAST",
|
|
1652
|
+
toast: {
|
|
1653
|
+
...e,
|
|
1654
|
+
id: t,
|
|
1655
|
+
open: !0,
|
|
1656
|
+
onOpenChange: (i) => {
|
|
1657
|
+
i || n();
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
}), {
|
|
1661
|
+
id: t,
|
|
1662
|
+
dismiss: n,
|
|
1663
|
+
update: a
|
|
1664
|
+
};
|
|
1665
|
+
}
|
|
1666
|
+
function Gr() {
|
|
1667
|
+
const [e, t] = s.useState(G);
|
|
1668
|
+
return s.useEffect(() => (j.push(t), () => {
|
|
1669
|
+
const a = j.indexOf(t);
|
|
1670
|
+
a > -1 && j.splice(a, 1);
|
|
1671
|
+
}), [e]), {
|
|
1672
|
+
...e,
|
|
1673
|
+
toast: Po,
|
|
1674
|
+
dismiss: (a) => z({ type: "DISMISS_TOAST", toastId: a })
|
|
1675
|
+
};
|
|
1676
|
+
}
|
|
1677
|
+
export {
|
|
1678
|
+
Ho as Accordion,
|
|
1679
|
+
Ue as AccordionContent,
|
|
1680
|
+
Ve as AccordionItem,
|
|
1681
|
+
Fe as AccordionTrigger,
|
|
1682
|
+
et as Alert,
|
|
1683
|
+
at as AlertDescription,
|
|
1684
|
+
Vo as AlertDialog,
|
|
1685
|
+
Ye as AlertDialogAction,
|
|
1686
|
+
Je as AlertDialogCancel,
|
|
1687
|
+
qe as AlertDialogContent,
|
|
1688
|
+
Qe as AlertDialogDescription,
|
|
1689
|
+
Xe as AlertDialogFooter,
|
|
1690
|
+
Ke as AlertDialogHeader,
|
|
1691
|
+
ce as AlertDialogOverlay,
|
|
1692
|
+
$e as AlertDialogPortal,
|
|
1693
|
+
We as AlertDialogTitle,
|
|
1694
|
+
Fo as AlertDialogTrigger,
|
|
1695
|
+
tt as AlertTitle,
|
|
1696
|
+
Uo as AspectRatio,
|
|
1697
|
+
ot as Avatar,
|
|
1698
|
+
st as AvatarFallback,
|
|
1699
|
+
rt as AvatarImage,
|
|
1700
|
+
$o as Badge,
|
|
1701
|
+
it as Breadcrumb,
|
|
1702
|
+
ut as BreadcrumbEllipsis,
|
|
1703
|
+
lt as BreadcrumbItem,
|
|
1704
|
+
ct as BreadcrumbLink,
|
|
1705
|
+
dt as BreadcrumbList,
|
|
1706
|
+
mt as BreadcrumbPage,
|
|
1707
|
+
ft as BreadcrumbSeparator,
|
|
1708
|
+
ee as Button,
|
|
1709
|
+
pt as Calendar,
|
|
1710
|
+
gt as Card,
|
|
1711
|
+
xt as CardContent,
|
|
1712
|
+
yt as CardDescription,
|
|
1713
|
+
ht as CardFooter,
|
|
1714
|
+
bt as CardHeader,
|
|
1715
|
+
Nt as CardTitle,
|
|
1716
|
+
wt as Carousel,
|
|
1717
|
+
vt as CarouselContent,
|
|
1718
|
+
Rt as CarouselItem,
|
|
1719
|
+
Tt as CarouselNext,
|
|
1720
|
+
Ct as CarouselPrevious,
|
|
1721
|
+
St as Checkbox,
|
|
1722
|
+
qo as Collapsible,
|
|
1723
|
+
Xo as CollapsibleContent,
|
|
1724
|
+
Ko as CollapsibleTrigger,
|
|
1725
|
+
pe as Command,
|
|
1726
|
+
Yo as CommandDialog,
|
|
1727
|
+
Ot as CommandEmpty,
|
|
1728
|
+
Lt as CommandGroup,
|
|
1729
|
+
_t as CommandInput,
|
|
1730
|
+
Gt as CommandItem,
|
|
1731
|
+
At as CommandList,
|
|
1732
|
+
jt as CommandSeparator,
|
|
1733
|
+
Et as CommandShortcut,
|
|
1734
|
+
Jo as ContextMenu,
|
|
1735
|
+
Ut as ContextMenuCheckboxItem,
|
|
1736
|
+
Vt as ContextMenuContent,
|
|
1737
|
+
er as ContextMenuGroup,
|
|
1738
|
+
Ft as ContextMenuItem,
|
|
1739
|
+
qt as ContextMenuLabel,
|
|
1740
|
+
tr as ContextMenuPortal,
|
|
1741
|
+
or as ContextMenuRadioGroup,
|
|
1742
|
+
$t as ContextMenuRadioItem,
|
|
1743
|
+
Kt as ContextMenuSeparator,
|
|
1744
|
+
Xt as ContextMenuShortcut,
|
|
1745
|
+
ar as ContextMenuSub,
|
|
1746
|
+
Ht as ContextMenuSubContent,
|
|
1747
|
+
Bt as ContextMenuSubTrigger,
|
|
1748
|
+
Zo as ContextMenuTrigger,
|
|
1749
|
+
kt as Dialog,
|
|
1750
|
+
Qo as DialogClose,
|
|
1751
|
+
ue as DialogContent,
|
|
1752
|
+
zt as DialogDescription,
|
|
1753
|
+
Dt as DialogFooter,
|
|
1754
|
+
Pt as DialogHeader,
|
|
1755
|
+
fe as DialogOverlay,
|
|
1756
|
+
It as DialogPortal,
|
|
1757
|
+
Mt as DialogTitle,
|
|
1758
|
+
Wo as DialogTrigger,
|
|
1759
|
+
Wt as Drawer,
|
|
1760
|
+
sr as DrawerClose,
|
|
1761
|
+
Yt as DrawerContent,
|
|
1762
|
+
ta as DrawerDescription,
|
|
1763
|
+
Zt as DrawerFooter,
|
|
1764
|
+
Jt as DrawerHeader,
|
|
1765
|
+
ge as DrawerOverlay,
|
|
1766
|
+
Qt as DrawerPortal,
|
|
1767
|
+
ea as DrawerTitle,
|
|
1768
|
+
rr as DrawerTrigger,
|
|
1769
|
+
nr as DropdownMenu,
|
|
1770
|
+
na as DropdownMenuCheckboxItem,
|
|
1771
|
+
ra as DropdownMenuContent,
|
|
1772
|
+
dr as DropdownMenuGroup,
|
|
1773
|
+
sa as DropdownMenuItem,
|
|
1774
|
+
da as DropdownMenuLabel,
|
|
1775
|
+
lr as DropdownMenuPortal,
|
|
1776
|
+
mr as DropdownMenuRadioGroup,
|
|
1777
|
+
ia as DropdownMenuRadioItem,
|
|
1778
|
+
la as DropdownMenuSeparator,
|
|
1779
|
+
ca as DropdownMenuShortcut,
|
|
1780
|
+
cr as DropdownMenuSub,
|
|
1781
|
+
oa as DropdownMenuSubContent,
|
|
1782
|
+
aa as DropdownMenuSubTrigger,
|
|
1783
|
+
ir as DropdownMenuTrigger,
|
|
1784
|
+
fr as HoverCard,
|
|
1785
|
+
ma as HoverCardContent,
|
|
1786
|
+
ur as HoverCardTrigger,
|
|
1787
|
+
ba as Input,
|
|
1788
|
+
fa as InputOTP,
|
|
1789
|
+
ua as InputOTPGroup,
|
|
1790
|
+
ga as InputOTPSeparator,
|
|
1791
|
+
pa as InputOTPSlot,
|
|
1792
|
+
ya as Label,
|
|
1793
|
+
xa as Menubar,
|
|
1794
|
+
Ta as MenubarCheckboxItem,
|
|
1795
|
+
Ra as MenubarContent,
|
|
1796
|
+
gr as MenubarGroup,
|
|
1797
|
+
Ca as MenubarItem,
|
|
1798
|
+
ka as MenubarLabel,
|
|
1799
|
+
pr as MenubarMenu,
|
|
1800
|
+
br as MenubarPortal,
|
|
1801
|
+
yr as MenubarRadioGroup,
|
|
1802
|
+
Sa as MenubarRadioItem,
|
|
1803
|
+
Ia as MenubarSeparator,
|
|
1804
|
+
Pa as MenubarShortcut,
|
|
1805
|
+
Nr as MenubarSub,
|
|
1806
|
+
va as MenubarSubContent,
|
|
1807
|
+
wa as MenubarSubTrigger,
|
|
1808
|
+
ha as MenubarTrigger,
|
|
1809
|
+
Da as NavigationMenu,
|
|
1810
|
+
Aa as NavigationMenuContent,
|
|
1811
|
+
Oa as NavigationMenuIndicator,
|
|
1812
|
+
xr as NavigationMenuItem,
|
|
1813
|
+
hr as NavigationMenuLink,
|
|
1814
|
+
Ma as NavigationMenuList,
|
|
1815
|
+
_a as NavigationMenuTrigger,
|
|
1816
|
+
be as NavigationMenuViewport,
|
|
1817
|
+
La as Pagination,
|
|
1818
|
+
ja as PaginationContent,
|
|
1819
|
+
Ha as PaginationEllipsis,
|
|
1820
|
+
Ga as PaginationItem,
|
|
1821
|
+
te as PaginationLink,
|
|
1822
|
+
Ba as PaginationNext,
|
|
1823
|
+
Ea as PaginationPrevious,
|
|
1824
|
+
wr as Popover,
|
|
1825
|
+
Va as PopoverContent,
|
|
1826
|
+
vr as PopoverTrigger,
|
|
1827
|
+
Fa as Progress,
|
|
1828
|
+
Ua as RadioGroup,
|
|
1829
|
+
$a as RadioGroupItem,
|
|
1830
|
+
Tr as ResizableHandle,
|
|
1831
|
+
Cr as ResizablePanel,
|
|
1832
|
+
Rr as ResizablePanelGroup,
|
|
1833
|
+
qa as ScrollArea,
|
|
1834
|
+
Ne as ScrollBar,
|
|
1835
|
+
Sr as Select,
|
|
1836
|
+
Xa as SelectContent,
|
|
1837
|
+
kr as SelectGroup,
|
|
1838
|
+
Qa as SelectItem,
|
|
1839
|
+
Wa as SelectLabel,
|
|
1840
|
+
xe as SelectScrollDownButton,
|
|
1841
|
+
ye as SelectScrollUpButton,
|
|
1842
|
+
Ya as SelectSeparator,
|
|
1843
|
+
Ka as SelectTrigger,
|
|
1844
|
+
Ir as SelectValue,
|
|
1845
|
+
Ja as Separator,
|
|
1846
|
+
Pr as Sheet,
|
|
1847
|
+
Mr as SheetClose,
|
|
1848
|
+
to as SheetContent,
|
|
1849
|
+
so as SheetDescription,
|
|
1850
|
+
oo as SheetFooter,
|
|
1851
|
+
ao as SheetHeader,
|
|
1852
|
+
he as SheetOverlay,
|
|
1853
|
+
Za as SheetPortal,
|
|
1854
|
+
ro as SheetTitle,
|
|
1855
|
+
Dr as SheetTrigger,
|
|
1856
|
+
zr as Skeleton,
|
|
1857
|
+
no as Slider,
|
|
1858
|
+
io as Switch,
|
|
1859
|
+
lo as Table,
|
|
1860
|
+
mo as TableBody,
|
|
1861
|
+
bo as TableCaption,
|
|
1862
|
+
go as TableCell,
|
|
1863
|
+
fo as TableFooter,
|
|
1864
|
+
po as TableHead,
|
|
1865
|
+
co as TableHeader,
|
|
1866
|
+
uo as TableRow,
|
|
1867
|
+
_r as Tabs,
|
|
1868
|
+
xo as TabsContent,
|
|
1869
|
+
No as TabsList,
|
|
1870
|
+
yo as TabsTrigger,
|
|
1871
|
+
ho as Textarea,
|
|
1872
|
+
wo as Toggle,
|
|
1873
|
+
vo as ToggleGroup,
|
|
1874
|
+
Ro as ToggleGroupItem,
|
|
1875
|
+
Or as Tooltip,
|
|
1876
|
+
Co as TooltipContent,
|
|
1877
|
+
Ar as TooltipProvider,
|
|
1878
|
+
Lr as TooltipTrigger,
|
|
1879
|
+
nt as badgeVariants,
|
|
1880
|
+
k as buttonVariants,
|
|
1881
|
+
r as cn,
|
|
1882
|
+
za as navigationMenuTriggerStyle,
|
|
1883
|
+
Po as toast,
|
|
1884
|
+
we as toggleVariants,
|
|
1885
|
+
jr as useIsMobile,
|
|
1886
|
+
Gr as useToast
|
|
1887
|
+
};
|
|
1888
|
+
//# sourceMappingURL=index.mjs.map
|