@aotter/mantle-admin-ui 0.1.0-alpha.9 → 0.1.2-alpha.2
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 +65 -3
- package/dist/assets/developer-workspace-97rQcp2Z.js +9 -0
- package/dist/assets/developer-workspace-DLioOiRN.css +1 -0
- package/dist/assets/html-editor-CU3Appqm.js +129 -0
- package/dist/assets/index-B8RINKhG.js +71 -0
- package/dist/assets/index-opuoP5cI.css +2 -0
- package/dist/assets/markdown-editor-HuiPry9W.js +29 -0
- package/dist/assets/with-selector-q9dA_Nh5.js +1 -0
- package/dist/components/auth-card.d.ts +15 -0
- package/dist/components/auth-card.d.ts.map +1 -0
- package/dist/components/one-time-code-input.d.ts +4 -0
- package/dist/components/one-time-code-input.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +19 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/avatar.d.ts +12 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +13 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/calendar.d.ts +11 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +12 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/collapsible.d.ts +6 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +17 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +30 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/input-otp.d.ts +11 -0
- package/dist/components/ui/input-otp.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +4 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/pagination.d.ts +19 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/popover.d.ts +11 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/select.d.ts +16 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/sheet.d.ts +16 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sidebar.d.ts +77 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/sonner.d.ts +4 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/table.d.ts +11 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/tabs.d.ts +12 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/textarea.d.ts +4 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/favicon.svg +18 -2
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/index.html +4 -77
- package/dist/kit.css +3 -0
- package/dist/kit.d.ts +29 -0
- package/dist/kit.d.ts.map +1 -0
- package/dist/kit.js +1577 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/preview.html +18 -0
- package/dist/r/auth-page.json +18 -0
- package/dist/r/registry.json +21 -0
- package/dist/server.js +1 -1
- package/dist/theme.js +64 -0
- package/dist/tokens.css +88 -0
- package/package.json +27 -10
- package/dist/assets/index-BZ7kdRYa.css +0 -2
- package/dist/assets/index-DqiSJNEC.js +0 -54
package/dist/kit.js
ADDED
|
@@ -0,0 +1,1577 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { clsx as t } from "clsx";
|
|
3
|
+
import { twMerge as n } from "tailwind-merge";
|
|
4
|
+
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
import { OTPInput as o, OTPInputContext as s, REGEXP_ONLY_DIGITS as c } from "input-otp";
|
|
6
|
+
import { AlertDialog as l, Avatar as u, Checkbox as d, Collapsible as f, Dialog as p, DropdownMenu as m, Label as h, Popover as g, Select as _, Separator as ee, Slot as v, Tabs as y, Tooltip as b } from "radix-ui";
|
|
7
|
+
import { cva as x } from "class-variance-authority";
|
|
8
|
+
import { CheckIcon as S, ChevronDownIcon as C, ChevronLeftIcon as w, ChevronRightIcon as T, ChevronUpIcon as te, CircleCheckIcon as ne, InfoIcon as re, Loader2Icon as ie, OctagonXIcon as ae, PanelLeftIcon as oe, TriangleAlertIcon as se, XIcon as E } from "lucide-react";
|
|
9
|
+
import { DayPicker as ce, getDefaultClassNames as D } from "react-day-picker";
|
|
10
|
+
import { Toaster as le } from "sonner";
|
|
11
|
+
//#region src/lib/utils.ts
|
|
12
|
+
function O(...e) {
|
|
13
|
+
return n(t(e));
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/components/ui/card.tsx
|
|
17
|
+
function k({ className: e, size: t = "default", ...n }) {
|
|
18
|
+
return /* @__PURE__ */ i("div", {
|
|
19
|
+
"data-slot": "card",
|
|
20
|
+
"data-size": t,
|
|
21
|
+
className: O("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", e),
|
|
22
|
+
...n
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function ue({ className: e, ...t }) {
|
|
26
|
+
return /* @__PURE__ */ i("div", {
|
|
27
|
+
"data-slot": "card-header",
|
|
28
|
+
className: O("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)", e),
|
|
29
|
+
...t
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
function de({ className: e, ...t }) {
|
|
33
|
+
return /* @__PURE__ */ i("div", {
|
|
34
|
+
"data-slot": "card-title",
|
|
35
|
+
className: O("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", e),
|
|
36
|
+
...t
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function fe({ className: e, ...t }) {
|
|
40
|
+
return /* @__PURE__ */ i("div", {
|
|
41
|
+
"data-slot": "card-description",
|
|
42
|
+
className: O("text-sm text-muted-foreground dark:text-foreground", e),
|
|
43
|
+
...t
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function pe({ className: e, ...t }) {
|
|
47
|
+
return /* @__PURE__ */ i("div", {
|
|
48
|
+
"data-slot": "card-action",
|
|
49
|
+
className: O("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
|
|
50
|
+
...t
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function me({ className: e, ...t }) {
|
|
54
|
+
return /* @__PURE__ */ i("div", {
|
|
55
|
+
"data-slot": "card-content",
|
|
56
|
+
className: O("px-(--card-spacing)", e),
|
|
57
|
+
...t
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function he({ className: e, ...t }) {
|
|
61
|
+
return /* @__PURE__ */ i("div", {
|
|
62
|
+
"data-slot": "card-footer",
|
|
63
|
+
className: O("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)", e),
|
|
64
|
+
...t
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/components/auth-card.tsx
|
|
69
|
+
function ge({ action: e, children: t, className: n, wide: r = !1 }) {
|
|
70
|
+
return /* @__PURE__ */ i("main", {
|
|
71
|
+
className: "flex min-h-svh items-center justify-center p-6",
|
|
72
|
+
children: /* @__PURE__ */ a(k, {
|
|
73
|
+
className: O(r ? "w-full max-w-md" : "w-full max-w-sm", "relative", e && "[&>[data-slot=card-header]]:pe-14", n),
|
|
74
|
+
children: [e ? /* @__PURE__ */ i("div", {
|
|
75
|
+
className: "absolute top-2 end-2 z-10",
|
|
76
|
+
children: e
|
|
77
|
+
}) : null, t]
|
|
78
|
+
})
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
function _e({ legal: e }) {
|
|
82
|
+
return !e?.privacy && !e?.terms ? null : /* @__PURE__ */ a("p", {
|
|
83
|
+
className: "text-xs leading-5 text-muted-foreground",
|
|
84
|
+
children: [
|
|
85
|
+
"By continuing, an account may be created. ",
|
|
86
|
+
e.terms ? /* @__PURE__ */ a(r, { children: ["You agree to the ", /* @__PURE__ */ i("a", {
|
|
87
|
+
className: "underline underline-offset-2",
|
|
88
|
+
href: e.terms,
|
|
89
|
+
target: "_blank",
|
|
90
|
+
rel: "noreferrer",
|
|
91
|
+
children: "Terms of Use"
|
|
92
|
+
})] }) : null,
|
|
93
|
+
e.terms && e.privacy ? " and " : null,
|
|
94
|
+
e.privacy ? /* @__PURE__ */ a(r, { children: [
|
|
95
|
+
e.terms ? "you" : "You",
|
|
96
|
+
" acknowledge the ",
|
|
97
|
+
/* @__PURE__ */ i("a", {
|
|
98
|
+
className: "underline underline-offset-2",
|
|
99
|
+
href: e.privacy,
|
|
100
|
+
target: "_blank",
|
|
101
|
+
rel: "noreferrer",
|
|
102
|
+
children: "Privacy Policy"
|
|
103
|
+
})
|
|
104
|
+
] }) : null,
|
|
105
|
+
"."
|
|
106
|
+
]
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
//#endregion
|
|
110
|
+
//#region src/components/ui/input-otp.tsx
|
|
111
|
+
function A({ className: e, containerClassName: t, ...n }) {
|
|
112
|
+
return /* @__PURE__ */ i(o, {
|
|
113
|
+
"data-slot": "input-otp",
|
|
114
|
+
containerClassName: O("flex items-center has-disabled:opacity-50", t),
|
|
115
|
+
spellCheck: !1,
|
|
116
|
+
className: O("disabled:cursor-not-allowed", e),
|
|
117
|
+
...n
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
function ve({ className: e, ...t }) {
|
|
121
|
+
return /* @__PURE__ */ i("div", {
|
|
122
|
+
"data-slot": "input-otp-group",
|
|
123
|
+
className: O("flex items-center rounded-lg has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40", e),
|
|
124
|
+
...t
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
function j({ index: t, className: n, ...r }) {
|
|
128
|
+
let { char: o, hasFakeCaret: c, isActive: l } = e.useContext(s)?.slots[t] ?? {};
|
|
129
|
+
return /* @__PURE__ */ a("div", {
|
|
130
|
+
"data-slot": "input-otp-slot",
|
|
131
|
+
"data-active": l,
|
|
132
|
+
className: O("relative flex size-8 items-center justify-center border-y border-r border-input text-sm transition-all outline-none first:rounded-l-lg first:border-l last:rounded-r-lg aria-invalid:border-destructive data-[active=true]:z-10 data-[active=true]:border-ring data-[active=true]:ring-3 data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20 dark:bg-input/30 dark:data-[active=true]:aria-invalid:ring-destructive/40", n),
|
|
133
|
+
...r,
|
|
134
|
+
children: [o, c ? /* @__PURE__ */ i("div", {
|
|
135
|
+
className: "pointer-events-none absolute inset-0 flex items-center justify-center",
|
|
136
|
+
children: /* @__PURE__ */ i("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" })
|
|
137
|
+
}) : null]
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region src/components/one-time-code-input.tsx
|
|
142
|
+
function ye(e) {
|
|
143
|
+
return /* @__PURE__ */ i(A, {
|
|
144
|
+
"aria-label": "One-time code",
|
|
145
|
+
containerClassName: "justify-center",
|
|
146
|
+
maxLength: 6,
|
|
147
|
+
minLength: 6,
|
|
148
|
+
pattern: c,
|
|
149
|
+
...e,
|
|
150
|
+
children: /* @__PURE__ */ a(ve, { children: [
|
|
151
|
+
/* @__PURE__ */ i(j, { index: 0 }),
|
|
152
|
+
/* @__PURE__ */ i(j, { index: 1 }),
|
|
153
|
+
/* @__PURE__ */ i(j, { index: 2 }),
|
|
154
|
+
/* @__PURE__ */ i(j, { index: 3 }),
|
|
155
|
+
/* @__PURE__ */ i(j, { index: 4 }),
|
|
156
|
+
/* @__PURE__ */ i(j, { index: 5 })
|
|
157
|
+
] })
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
//#endregion
|
|
161
|
+
//#region src/components/ui/button.tsx
|
|
162
|
+
var M = x("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
163
|
+
variants: {
|
|
164
|
+
variant: {
|
|
165
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/80",
|
|
166
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
167
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
168
|
+
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
169
|
+
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
170
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
171
|
+
},
|
|
172
|
+
size: {
|
|
173
|
+
default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2",
|
|
174
|
+
xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
175
|
+
sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3.5",
|
|
176
|
+
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2",
|
|
177
|
+
icon: "size-8",
|
|
178
|
+
"icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
|
|
179
|
+
"icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",
|
|
180
|
+
"icon-lg": "size-9"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
defaultVariants: {
|
|
184
|
+
variant: "default",
|
|
185
|
+
size: "default"
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
function N({ className: e, variant: t = "default", size: n = "default", asChild: r = !1, ...a }) {
|
|
189
|
+
let o = r ? v.Root : "button";
|
|
190
|
+
return /* @__PURE__ */ i(o, {
|
|
191
|
+
"data-slot": "button",
|
|
192
|
+
"data-variant": t,
|
|
193
|
+
"data-size": n,
|
|
194
|
+
className: O(M({
|
|
195
|
+
variant: t,
|
|
196
|
+
size: n,
|
|
197
|
+
className: e
|
|
198
|
+
})),
|
|
199
|
+
...a
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
//#endregion
|
|
203
|
+
//#region src/components/ui/alert-dialog.tsx
|
|
204
|
+
function be({ ...e }) {
|
|
205
|
+
return /* @__PURE__ */ i(l.Root, {
|
|
206
|
+
"data-slot": "alert-dialog",
|
|
207
|
+
...e
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
function xe({ ...e }) {
|
|
211
|
+
return /* @__PURE__ */ i(l.Trigger, {
|
|
212
|
+
"data-slot": "alert-dialog-trigger",
|
|
213
|
+
...e
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
function P({ ...e }) {
|
|
217
|
+
return /* @__PURE__ */ i(l.Portal, {
|
|
218
|
+
"data-slot": "alert-dialog-portal",
|
|
219
|
+
...e
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
function F({ className: e, ...t }) {
|
|
223
|
+
return /* @__PURE__ */ i(l.Overlay, {
|
|
224
|
+
"data-slot": "alert-dialog-overlay",
|
|
225
|
+
className: O("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
|
|
226
|
+
...t
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
function Se({ className: e, size: t = "default", ...n }) {
|
|
230
|
+
return /* @__PURE__ */ a(P, { children: [/* @__PURE__ */ i(F, {}), /* @__PURE__ */ i(l.Content, {
|
|
231
|
+
"data-slot": "alert-dialog-content",
|
|
232
|
+
"data-size": t,
|
|
233
|
+
className: O("group/alert-dialog-content fixed top-1/2 start-1/2 z-50 grid w-full -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
234
|
+
...n
|
|
235
|
+
})] });
|
|
236
|
+
}
|
|
237
|
+
function Ce({ className: e, ...t }) {
|
|
238
|
+
return /* @__PURE__ */ i("div", {
|
|
239
|
+
"data-slot": "alert-dialog-header",
|
|
240
|
+
className: O("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-start sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", e),
|
|
241
|
+
...t
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
function we({ className: e, ...t }) {
|
|
245
|
+
return /* @__PURE__ */ i("div", {
|
|
246
|
+
"data-slot": "alert-dialog-footer",
|
|
247
|
+
className: O("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", e),
|
|
248
|
+
...t
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
function Te({ className: e, ...t }) {
|
|
252
|
+
return /* @__PURE__ */ i("div", {
|
|
253
|
+
"data-slot": "alert-dialog-media",
|
|
254
|
+
className: O("mb-2 inline-flex size-10 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6", e),
|
|
255
|
+
...t
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
function Ee({ className: e, ...t }) {
|
|
259
|
+
return /* @__PURE__ */ i(l.Title, {
|
|
260
|
+
"data-slot": "alert-dialog-title",
|
|
261
|
+
className: O("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", e),
|
|
262
|
+
...t
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
function De({ className: e, ...t }) {
|
|
266
|
+
return /* @__PURE__ */ i(l.Description, {
|
|
267
|
+
"data-slot": "alert-dialog-description",
|
|
268
|
+
className: O("text-sm text-balance text-muted-foreground dark:text-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
|
|
269
|
+
...t
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
function Oe({ className: e, variant: t = "default", size: n = "default", ...r }) {
|
|
273
|
+
return /* @__PURE__ */ i(N, {
|
|
274
|
+
variant: t,
|
|
275
|
+
size: n,
|
|
276
|
+
asChild: !0,
|
|
277
|
+
children: /* @__PURE__ */ i(l.Action, {
|
|
278
|
+
"data-slot": "alert-dialog-action",
|
|
279
|
+
className: O(e),
|
|
280
|
+
...r
|
|
281
|
+
})
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
function ke({ className: e, variant: t = "outline", size: n = "default", ...r }) {
|
|
285
|
+
return /* @__PURE__ */ i(N, {
|
|
286
|
+
variant: t,
|
|
287
|
+
size: n,
|
|
288
|
+
asChild: !0,
|
|
289
|
+
children: /* @__PURE__ */ i(l.Cancel, {
|
|
290
|
+
"data-slot": "alert-dialog-cancel",
|
|
291
|
+
className: O(e),
|
|
292
|
+
...r
|
|
293
|
+
})
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
//#endregion
|
|
297
|
+
//#region src/components/ui/avatar.tsx
|
|
298
|
+
function Ae({ className: e, size: t = "default", ...n }) {
|
|
299
|
+
return /* @__PURE__ */ i(u.Root, {
|
|
300
|
+
"data-slot": "avatar",
|
|
301
|
+
"data-size": t,
|
|
302
|
+
className: O("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten", e),
|
|
303
|
+
...n
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
function je({ className: e, ...t }) {
|
|
307
|
+
return /* @__PURE__ */ i(u.Image, {
|
|
308
|
+
"data-slot": "avatar-image",
|
|
309
|
+
className: O("aspect-square size-full rounded-full object-cover", e),
|
|
310
|
+
...t
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
function Me({ className: e, ...t }) {
|
|
314
|
+
return /* @__PURE__ */ i(u.Fallback, {
|
|
315
|
+
"data-slot": "avatar-fallback",
|
|
316
|
+
className: O("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs", e),
|
|
317
|
+
...t
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
function Ne({ className: e, ...t }) {
|
|
321
|
+
return /* @__PURE__ */ i("span", {
|
|
322
|
+
"data-slot": "avatar-badge",
|
|
323
|
+
className: O("absolute end-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-primary text-primary-foreground bg-blend-color ring-2 ring-background select-none", "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden", "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2", "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2", e),
|
|
324
|
+
...t
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
function Pe({ className: e, ...t }) {
|
|
328
|
+
return /* @__PURE__ */ i("div", {
|
|
329
|
+
"data-slot": "avatar-group",
|
|
330
|
+
className: O("group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-background", e),
|
|
331
|
+
...t
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
function Fe({ className: e, ...t }) {
|
|
335
|
+
return /* @__PURE__ */ i("div", {
|
|
336
|
+
"data-slot": "avatar-group-count",
|
|
337
|
+
className: O("relative flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm text-muted-foreground ring-2 ring-background group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3", e),
|
|
338
|
+
...t
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
//#endregion
|
|
342
|
+
//#region src/components/ui/badge.tsx
|
|
343
|
+
var I = x("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!", {
|
|
344
|
+
variants: { variant: {
|
|
345
|
+
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
346
|
+
secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
|
|
347
|
+
destructive: "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",
|
|
348
|
+
outline: "border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",
|
|
349
|
+
ghost: "hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",
|
|
350
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
351
|
+
} },
|
|
352
|
+
defaultVariants: { variant: "default" }
|
|
353
|
+
});
|
|
354
|
+
function Ie({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
|
|
355
|
+
let a = n ? v.Root : "span";
|
|
356
|
+
return /* @__PURE__ */ i(a, {
|
|
357
|
+
"data-slot": "badge",
|
|
358
|
+
"data-variant": t,
|
|
359
|
+
className: O(I({ variant: t }), e),
|
|
360
|
+
...r
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
//#endregion
|
|
364
|
+
//#region src/components/ui/breadcrumb.tsx
|
|
365
|
+
function Le({ className: e, ...t }) {
|
|
366
|
+
return /* @__PURE__ */ i("nav", {
|
|
367
|
+
"data-slot": "breadcrumb",
|
|
368
|
+
className: O(e),
|
|
369
|
+
...t
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
function Re({ className: e, ...t }) {
|
|
373
|
+
return /* @__PURE__ */ i("ol", {
|
|
374
|
+
"data-slot": "breadcrumb-list",
|
|
375
|
+
className: O("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground", e),
|
|
376
|
+
...t
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
function ze({ className: e, ...t }) {
|
|
380
|
+
return /* @__PURE__ */ i("li", {
|
|
381
|
+
"data-slot": "breadcrumb-item",
|
|
382
|
+
className: O("inline-flex items-center gap-1", e),
|
|
383
|
+
...t
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
function Be({ asChild: e, className: t, ...n }) {
|
|
387
|
+
let r = e ? v.Root : "a";
|
|
388
|
+
return /* @__PURE__ */ i(r, {
|
|
389
|
+
"data-slot": "breadcrumb-link",
|
|
390
|
+
className: O("transition-colors hover:text-foreground", t),
|
|
391
|
+
...n
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
function Ve({ className: e, ...t }) {
|
|
395
|
+
return /* @__PURE__ */ i("span", {
|
|
396
|
+
"data-slot": "breadcrumb-page",
|
|
397
|
+
role: "link",
|
|
398
|
+
"aria-disabled": "true",
|
|
399
|
+
"aria-current": "page",
|
|
400
|
+
className: O("font-normal text-foreground", e),
|
|
401
|
+
...t
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
function He({ children: e, className: t, ...n }) {
|
|
405
|
+
return /* @__PURE__ */ i("li", {
|
|
406
|
+
"data-slot": "breadcrumb-separator",
|
|
407
|
+
role: "presentation",
|
|
408
|
+
"aria-hidden": "true",
|
|
409
|
+
className: O("[&>svg]:size-3.5", t),
|
|
410
|
+
...n,
|
|
411
|
+
children: e ?? /* @__PURE__ */ i(T, { className: "rtl:rotate-180" })
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
//#endregion
|
|
415
|
+
//#region src/components/ui/calendar.tsx
|
|
416
|
+
function Ue({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: a = "ghost", locale: o, formatters: s, components: c, ...l }) {
|
|
417
|
+
let u = D();
|
|
418
|
+
return /* @__PURE__ */ i(ce, {
|
|
419
|
+
showOutsideDays: n,
|
|
420
|
+
className: O("group/calendar bg-background p-2 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(7)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, e),
|
|
421
|
+
captionLayout: r,
|
|
422
|
+
locale: o,
|
|
423
|
+
formatters: {
|
|
424
|
+
formatMonthDropdown: (e) => e.toLocaleString(o?.code, { month: "short" }),
|
|
425
|
+
...s
|
|
426
|
+
},
|
|
427
|
+
classNames: {
|
|
428
|
+
root: O("w-fit", u.root),
|
|
429
|
+
months: O("relative flex flex-col gap-4 md:flex-row", u.months),
|
|
430
|
+
month: O("flex w-full flex-col gap-4", u.month),
|
|
431
|
+
nav: O("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1", u.nav),
|
|
432
|
+
button_previous: O(M({ variant: a }), "size-(--cell-size) p-0 select-none aria-disabled:opacity-50", u.button_previous),
|
|
433
|
+
button_next: O(M({ variant: a }), "size-(--cell-size) p-0 select-none aria-disabled:opacity-50", u.button_next),
|
|
434
|
+
month_caption: O("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)", u.month_caption),
|
|
435
|
+
dropdowns: O("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium", u.dropdowns),
|
|
436
|
+
dropdown_root: O("relative rounded-(--cell-radius)", u.dropdown_root),
|
|
437
|
+
dropdown: O("absolute inset-0 bg-popover opacity-0", u.dropdown),
|
|
438
|
+
caption_label: O("font-medium select-none", r === "label" ? "text-sm" : "flex items-center gap-1 rounded-(--cell-radius) text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground", u.caption_label),
|
|
439
|
+
month_grid: O("w-full border-collapse", u.month_grid),
|
|
440
|
+
weekdays: O("flex", u.weekdays),
|
|
441
|
+
weekday: O("flex-1 rounded-(--cell-radius) text-[0.8rem] font-normal text-muted-foreground select-none", u.weekday),
|
|
442
|
+
week: O("mt-2 flex w-full", u.week),
|
|
443
|
+
week_number_header: O("w-(--cell-size) select-none", u.week_number_header),
|
|
444
|
+
week_number: O("text-[0.8rem] text-muted-foreground select-none", u.week_number),
|
|
445
|
+
day: O("group/day relative aspect-square h-full w-full rounded-(--cell-radius) p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-e-(--cell-radius)", l.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-s-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-s-(--cell-radius)", u.day),
|
|
446
|
+
range_start: O("relative isolate z-0 rounded-s-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:end-0 after:w-4 after:bg-muted", u.range_start),
|
|
447
|
+
range_middle: O("rounded-none", u.range_middle),
|
|
448
|
+
range_end: O("relative isolate z-0 rounded-e-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:start-0 after:w-4 after:bg-muted", u.range_end),
|
|
449
|
+
today: O("rounded-(--cell-radius) bg-muted text-foreground data-[selected=true]:rounded-none", u.today),
|
|
450
|
+
outside: O("text-muted-foreground aria-selected:text-muted-foreground", u.outside),
|
|
451
|
+
disabled: O("text-muted-foreground opacity-50", u.disabled),
|
|
452
|
+
hidden: O("invisible", u.hidden),
|
|
453
|
+
...t
|
|
454
|
+
},
|
|
455
|
+
components: {
|
|
456
|
+
Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ i("div", {
|
|
457
|
+
"data-slot": "calendar",
|
|
458
|
+
ref: t,
|
|
459
|
+
className: O(e),
|
|
460
|
+
...n
|
|
461
|
+
}),
|
|
462
|
+
Chevron: ({ className: e, orientation: t, ...n }) => t === "left" ? /* @__PURE__ */ i(w, {
|
|
463
|
+
className: O("rtl:rotate-180 size-4", e),
|
|
464
|
+
...n
|
|
465
|
+
}) : t === "right" ? /* @__PURE__ */ i(T, {
|
|
466
|
+
className: O("rtl:rotate-180 size-4", e),
|
|
467
|
+
...n
|
|
468
|
+
}) : /* @__PURE__ */ i(C, {
|
|
469
|
+
className: O("size-4", e),
|
|
470
|
+
...n
|
|
471
|
+
}),
|
|
472
|
+
DayButton: ({ ...e }) => /* @__PURE__ */ i(L, {
|
|
473
|
+
locale: o,
|
|
474
|
+
...e
|
|
475
|
+
}),
|
|
476
|
+
WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ i("td", {
|
|
477
|
+
...t,
|
|
478
|
+
children: /* @__PURE__ */ i("div", {
|
|
479
|
+
className: "flex size-(--cell-size) items-center justify-center text-center",
|
|
480
|
+
children: e
|
|
481
|
+
})
|
|
482
|
+
}),
|
|
483
|
+
...c
|
|
484
|
+
},
|
|
485
|
+
...l
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
function L({ className: t, day: n, modifiers: r, locale: a, ...o }) {
|
|
489
|
+
let s = D(), c = e.useRef(null);
|
|
490
|
+
return e.useEffect(() => {
|
|
491
|
+
r.focused && c.current?.focus();
|
|
492
|
+
}, [r.focused]), /* @__PURE__ */ i(N, {
|
|
493
|
+
ref: c,
|
|
494
|
+
variant: "ghost",
|
|
495
|
+
size: "icon",
|
|
496
|
+
"data-day": n.date.toLocaleDateString(a?.code),
|
|
497
|
+
"data-selected-single": r.selected && !r.range_start && !r.range_end && !r.range_middle,
|
|
498
|
+
"data-range-start": r.range_start,
|
|
499
|
+
"data-range-end": r.range_end,
|
|
500
|
+
"data-range-middle": r.range_middle,
|
|
501
|
+
className: O("relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-e-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-s-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-foreground [&>span]:text-xs [&>span]:opacity-70", s.day, t),
|
|
502
|
+
...o
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
//#endregion
|
|
506
|
+
//#region src/components/ui/checkbox.tsx
|
|
507
|
+
function We({ className: e, ...t }) {
|
|
508
|
+
return /* @__PURE__ */ i(d.Root, {
|
|
509
|
+
"data-slot": "checkbox",
|
|
510
|
+
className: O("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary", e),
|
|
511
|
+
...t,
|
|
512
|
+
children: /* @__PURE__ */ i(d.Indicator, {
|
|
513
|
+
"data-slot": "checkbox-indicator",
|
|
514
|
+
className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
|
|
515
|
+
children: /* @__PURE__ */ i(S, {})
|
|
516
|
+
})
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
//#endregion
|
|
520
|
+
//#region src/components/ui/collapsible.tsx
|
|
521
|
+
function Ge({ ...e }) {
|
|
522
|
+
return /* @__PURE__ */ i(f.Root, {
|
|
523
|
+
"data-slot": "collapsible",
|
|
524
|
+
...e
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
function Ke({ ...e }) {
|
|
528
|
+
return /* @__PURE__ */ i(f.CollapsibleTrigger, {
|
|
529
|
+
"data-slot": "collapsible-trigger",
|
|
530
|
+
...e
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
function qe({ ...e }) {
|
|
534
|
+
return /* @__PURE__ */ i(f.CollapsibleContent, {
|
|
535
|
+
"data-slot": "collapsible-content",
|
|
536
|
+
...e
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
//#endregion
|
|
540
|
+
//#region src/components/ui/dialog.tsx
|
|
541
|
+
function Je({ ...e }) {
|
|
542
|
+
return /* @__PURE__ */ i(p.Root, {
|
|
543
|
+
"data-slot": "dialog",
|
|
544
|
+
...e
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
function Ye({ ...e }) {
|
|
548
|
+
return /* @__PURE__ */ i(p.Trigger, {
|
|
549
|
+
"data-slot": "dialog-trigger",
|
|
550
|
+
...e
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
function R({ ...e }) {
|
|
554
|
+
return /* @__PURE__ */ i(p.Portal, {
|
|
555
|
+
"data-slot": "dialog-portal",
|
|
556
|
+
...e
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
function Xe({ ...e }) {
|
|
560
|
+
return /* @__PURE__ */ i(p.Close, {
|
|
561
|
+
"data-slot": "dialog-close",
|
|
562
|
+
...e
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
function z({ className: e, ...t }) {
|
|
566
|
+
return /* @__PURE__ */ i(p.Overlay, {
|
|
567
|
+
"data-slot": "dialog-overlay",
|
|
568
|
+
className: O("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
|
|
569
|
+
...t
|
|
570
|
+
});
|
|
571
|
+
}
|
|
572
|
+
function Ze({ className: e, children: t, showCloseButton: n = !0, closeLabel: r, ...o }) {
|
|
573
|
+
return /* @__PURE__ */ a(R, { children: [/* @__PURE__ */ i(z, {}), /* @__PURE__ */ a(p.Content, {
|
|
574
|
+
"data-slot": "dialog-content",
|
|
575
|
+
className: O("fixed top-1/2 start-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
576
|
+
...o,
|
|
577
|
+
children: [t, n && /* @__PURE__ */ i(p.Close, {
|
|
578
|
+
"data-slot": "dialog-close",
|
|
579
|
+
asChild: !0,
|
|
580
|
+
children: /* @__PURE__ */ a(N, {
|
|
581
|
+
variant: "ghost",
|
|
582
|
+
className: "absolute top-2 end-2",
|
|
583
|
+
size: "icon-sm",
|
|
584
|
+
children: [/* @__PURE__ */ i(E, {}), /* @__PURE__ */ i("span", {
|
|
585
|
+
className: "sr-only",
|
|
586
|
+
children: r
|
|
587
|
+
})]
|
|
588
|
+
})
|
|
589
|
+
})]
|
|
590
|
+
})] });
|
|
591
|
+
}
|
|
592
|
+
function Qe({ className: e, ...t }) {
|
|
593
|
+
return /* @__PURE__ */ i("div", {
|
|
594
|
+
"data-slot": "dialog-header",
|
|
595
|
+
className: O("flex flex-col gap-2", e),
|
|
596
|
+
...t
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
function $e({ className: e, children: t, ...n }) {
|
|
600
|
+
return /* @__PURE__ */ i("div", {
|
|
601
|
+
"data-slot": "dialog-footer",
|
|
602
|
+
className: O("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end", e),
|
|
603
|
+
...n,
|
|
604
|
+
children: t
|
|
605
|
+
});
|
|
606
|
+
}
|
|
607
|
+
function et({ className: e, ...t }) {
|
|
608
|
+
return /* @__PURE__ */ i(p.Title, {
|
|
609
|
+
"data-slot": "dialog-title",
|
|
610
|
+
className: O("font-heading text-base leading-none font-medium", e),
|
|
611
|
+
...t
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
function tt({ className: e, ...t }) {
|
|
615
|
+
return /* @__PURE__ */ i(p.Description, {
|
|
616
|
+
"data-slot": "dialog-description",
|
|
617
|
+
className: O("text-sm text-muted-foreground dark:text-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
|
|
618
|
+
...t
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
//#endregion
|
|
622
|
+
//#region src/components/ui/dropdown-menu.tsx
|
|
623
|
+
function nt({ ...e }) {
|
|
624
|
+
return /* @__PURE__ */ i(m.Root, {
|
|
625
|
+
"data-slot": "dropdown-menu",
|
|
626
|
+
...e
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
function rt({ ...e }) {
|
|
630
|
+
return /* @__PURE__ */ i(m.Portal, {
|
|
631
|
+
"data-slot": "dropdown-menu-portal",
|
|
632
|
+
...e
|
|
633
|
+
});
|
|
634
|
+
}
|
|
635
|
+
function it({ ...e }) {
|
|
636
|
+
return /* @__PURE__ */ i(m.Trigger, {
|
|
637
|
+
"data-slot": "dropdown-menu-trigger",
|
|
638
|
+
...e
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
function at({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
|
|
642
|
+
return /* @__PURE__ */ i(m.Portal, { children: /* @__PURE__ */ i(m.Content, {
|
|
643
|
+
"data-slot": "dropdown-menu-content",
|
|
644
|
+
sideOffset: n,
|
|
645
|
+
align: t,
|
|
646
|
+
className: O("z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 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 data-[state=closed]:overflow-hidden data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
647
|
+
...r
|
|
648
|
+
}) });
|
|
649
|
+
}
|
|
650
|
+
function ot({ ...e }) {
|
|
651
|
+
return /* @__PURE__ */ i(m.Group, {
|
|
652
|
+
"data-slot": "dropdown-menu-group",
|
|
653
|
+
...e
|
|
654
|
+
});
|
|
655
|
+
}
|
|
656
|
+
function st({ className: e, inset: t, variant: n = "default", ...r }) {
|
|
657
|
+
return /* @__PURE__ */ i(m.Item, {
|
|
658
|
+
"data-slot": "dropdown-menu-item",
|
|
659
|
+
"data-inset": t,
|
|
660
|
+
"data-variant": n,
|
|
661
|
+
className: O("group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:ps-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive", e),
|
|
662
|
+
...r
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
function ct({ className: e, children: t, checked: n, inset: r, ...o }) {
|
|
666
|
+
return /* @__PURE__ */ a(m.CheckboxItem, {
|
|
667
|
+
"data-slot": "dropdown-menu-checkbox-item",
|
|
668
|
+
"data-inset": r,
|
|
669
|
+
className: O("relative flex cursor-default items-center gap-1.5 rounded-md py-1 pe-8 ps-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
670
|
+
checked: n,
|
|
671
|
+
...o,
|
|
672
|
+
children: [/* @__PURE__ */ i("span", {
|
|
673
|
+
className: "pointer-events-none absolute end-2 flex items-center justify-center",
|
|
674
|
+
"data-slot": "dropdown-menu-checkbox-item-indicator",
|
|
675
|
+
children: /* @__PURE__ */ i(m.ItemIndicator, { children: /* @__PURE__ */ i(S, {}) })
|
|
676
|
+
}), t]
|
|
677
|
+
});
|
|
678
|
+
}
|
|
679
|
+
function lt({ ...e }) {
|
|
680
|
+
return /* @__PURE__ */ i(m.RadioGroup, {
|
|
681
|
+
"data-slot": "dropdown-menu-radio-group",
|
|
682
|
+
...e
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
function ut({ className: e, children: t, inset: n, ...r }) {
|
|
686
|
+
return /* @__PURE__ */ a(m.RadioItem, {
|
|
687
|
+
"data-slot": "dropdown-menu-radio-item",
|
|
688
|
+
"data-inset": n,
|
|
689
|
+
className: O("relative flex cursor-default items-center gap-1.5 rounded-md py-1 pe-8 ps-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
690
|
+
...r,
|
|
691
|
+
children: [/* @__PURE__ */ i("span", {
|
|
692
|
+
className: "pointer-events-none absolute end-2 flex items-center justify-center",
|
|
693
|
+
"data-slot": "dropdown-menu-radio-item-indicator",
|
|
694
|
+
children: /* @__PURE__ */ i(m.ItemIndicator, { children: /* @__PURE__ */ i(S, {}) })
|
|
695
|
+
}), t]
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
function dt({ className: e, inset: t, ...n }) {
|
|
699
|
+
return /* @__PURE__ */ i(m.Label, {
|
|
700
|
+
"data-slot": "dropdown-menu-label",
|
|
701
|
+
"data-inset": t,
|
|
702
|
+
className: O("px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:ps-7", e),
|
|
703
|
+
...n
|
|
704
|
+
});
|
|
705
|
+
}
|
|
706
|
+
function ft({ className: e, ...t }) {
|
|
707
|
+
return /* @__PURE__ */ i(m.Separator, {
|
|
708
|
+
"data-slot": "dropdown-menu-separator",
|
|
709
|
+
className: O("-mx-1 my-1 h-px bg-border", e),
|
|
710
|
+
...t
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
function pt({ className: e, ...t }) {
|
|
714
|
+
return /* @__PURE__ */ i("span", {
|
|
715
|
+
"data-slot": "dropdown-menu-shortcut",
|
|
716
|
+
className: O("ms-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground", e),
|
|
717
|
+
...t
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
function mt({ ...e }) {
|
|
721
|
+
return /* @__PURE__ */ i(m.Sub, {
|
|
722
|
+
"data-slot": "dropdown-menu-sub",
|
|
723
|
+
...e
|
|
724
|
+
});
|
|
725
|
+
}
|
|
726
|
+
function ht({ className: e, inset: t, children: n, ...r }) {
|
|
727
|
+
return /* @__PURE__ */ a(m.SubTrigger, {
|
|
728
|
+
"data-slot": "dropdown-menu-sub-trigger",
|
|
729
|
+
"data-inset": t,
|
|
730
|
+
className: O("flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:ps-7 data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
731
|
+
...r,
|
|
732
|
+
children: [n, /* @__PURE__ */ i(T, { className: "rtl:rotate-180 ms-auto" })]
|
|
733
|
+
});
|
|
734
|
+
}
|
|
735
|
+
function gt({ className: e, ...t }) {
|
|
736
|
+
return /* @__PURE__ */ i(m.SubContent, {
|
|
737
|
+
"data-slot": "dropdown-menu-sub-content",
|
|
738
|
+
className: O("z-50 min-w-[96px] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
739
|
+
...t
|
|
740
|
+
});
|
|
741
|
+
}
|
|
742
|
+
//#endregion
|
|
743
|
+
//#region src/components/ui/input.tsx
|
|
744
|
+
function B({ className: e, type: t, ...n }) {
|
|
745
|
+
return /* @__PURE__ */ i("input", {
|
|
746
|
+
type: t,
|
|
747
|
+
"data-slot": "input",
|
|
748
|
+
className: O("h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground/70 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
|
|
749
|
+
...n
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
//#endregion
|
|
753
|
+
//#region src/components/ui/label.tsx
|
|
754
|
+
function _t({ className: e, ...t }) {
|
|
755
|
+
return /* @__PURE__ */ i(h.Root, {
|
|
756
|
+
"data-slot": "label",
|
|
757
|
+
className: O("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
|
|
758
|
+
...t
|
|
759
|
+
});
|
|
760
|
+
}
|
|
761
|
+
//#endregion
|
|
762
|
+
//#region src/components/ui/pagination.tsx
|
|
763
|
+
function vt({ className: e, ...t }) {
|
|
764
|
+
return /* @__PURE__ */ i("nav", {
|
|
765
|
+
role: "navigation",
|
|
766
|
+
"data-slot": "pagination",
|
|
767
|
+
className: O("mx-auto flex w-full justify-center", e),
|
|
768
|
+
...t
|
|
769
|
+
});
|
|
770
|
+
}
|
|
771
|
+
function yt({ className: e, ...t }) {
|
|
772
|
+
return /* @__PURE__ */ i("ul", {
|
|
773
|
+
"data-slot": "pagination-content",
|
|
774
|
+
className: O("flex items-center gap-0.5", e),
|
|
775
|
+
...t
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
function bt({ ...e }) {
|
|
779
|
+
return /* @__PURE__ */ i("li", {
|
|
780
|
+
"data-slot": "pagination-item",
|
|
781
|
+
...e
|
|
782
|
+
});
|
|
783
|
+
}
|
|
784
|
+
function V({ className: e, isActive: t, size: n = "icon", ...r }) {
|
|
785
|
+
return /* @__PURE__ */ i(N, {
|
|
786
|
+
asChild: !0,
|
|
787
|
+
variant: t ? "outline" : "ghost",
|
|
788
|
+
size: n,
|
|
789
|
+
className: O(e),
|
|
790
|
+
children: /* @__PURE__ */ i("a", {
|
|
791
|
+
"aria-current": t ? "page" : void 0,
|
|
792
|
+
"data-slot": "pagination-link",
|
|
793
|
+
"data-active": t,
|
|
794
|
+
...r
|
|
795
|
+
})
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
function xt({ className: e, text: t, ...n }) {
|
|
799
|
+
return /* @__PURE__ */ a(V, {
|
|
800
|
+
size: "default",
|
|
801
|
+
className: O("ps-1.5!", e),
|
|
802
|
+
...n,
|
|
803
|
+
children: [/* @__PURE__ */ i(w, {
|
|
804
|
+
"data-icon": "inline-start",
|
|
805
|
+
className: "rtl:rotate-180"
|
|
806
|
+
}), /* @__PURE__ */ i("span", {
|
|
807
|
+
className: "hidden sm:block",
|
|
808
|
+
children: t
|
|
809
|
+
})]
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
function St({ className: e, text: t, ...n }) {
|
|
813
|
+
return /* @__PURE__ */ a(V, {
|
|
814
|
+
size: "default",
|
|
815
|
+
className: O("pe-1.5!", e),
|
|
816
|
+
...n,
|
|
817
|
+
children: [/* @__PURE__ */ i("span", {
|
|
818
|
+
className: "hidden sm:block",
|
|
819
|
+
children: t
|
|
820
|
+
}), /* @__PURE__ */ i(T, {
|
|
821
|
+
"data-icon": "inline-end",
|
|
822
|
+
className: "rtl:rotate-180"
|
|
823
|
+
})]
|
|
824
|
+
});
|
|
825
|
+
}
|
|
826
|
+
//#endregion
|
|
827
|
+
//#region src/components/ui/popover.tsx
|
|
828
|
+
function Ct({ ...e }) {
|
|
829
|
+
return /* @__PURE__ */ i(g.Root, {
|
|
830
|
+
"data-slot": "popover",
|
|
831
|
+
...e
|
|
832
|
+
});
|
|
833
|
+
}
|
|
834
|
+
function wt({ ...e }) {
|
|
835
|
+
return /* @__PURE__ */ i(g.Trigger, {
|
|
836
|
+
"data-slot": "popover-trigger",
|
|
837
|
+
...e
|
|
838
|
+
});
|
|
839
|
+
}
|
|
840
|
+
function Tt({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
|
|
841
|
+
return /* @__PURE__ */ i(g.Portal, { children: /* @__PURE__ */ i(g.Content, {
|
|
842
|
+
"data-slot": "popover-content",
|
|
843
|
+
align: t,
|
|
844
|
+
sideOffset: n,
|
|
845
|
+
className: O("z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
846
|
+
...r
|
|
847
|
+
}) });
|
|
848
|
+
}
|
|
849
|
+
function Et({ ...e }) {
|
|
850
|
+
return /* @__PURE__ */ i(g.Anchor, {
|
|
851
|
+
"data-slot": "popover-anchor",
|
|
852
|
+
...e
|
|
853
|
+
});
|
|
854
|
+
}
|
|
855
|
+
function Dt({ className: e, ...t }) {
|
|
856
|
+
return /* @__PURE__ */ i("div", {
|
|
857
|
+
"data-slot": "popover-header",
|
|
858
|
+
className: O("flex flex-col gap-0.5 text-sm", e),
|
|
859
|
+
...t
|
|
860
|
+
});
|
|
861
|
+
}
|
|
862
|
+
function Ot({ className: e, ...t }) {
|
|
863
|
+
return /* @__PURE__ */ i("div", {
|
|
864
|
+
"data-slot": "popover-title",
|
|
865
|
+
className: O("font-medium", e),
|
|
866
|
+
...t
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
function kt({ className: e, ...t }) {
|
|
870
|
+
return /* @__PURE__ */ i("p", {
|
|
871
|
+
"data-slot": "popover-description",
|
|
872
|
+
className: O("text-muted-foreground", e),
|
|
873
|
+
...t
|
|
874
|
+
});
|
|
875
|
+
}
|
|
876
|
+
//#endregion
|
|
877
|
+
//#region src/components/ui/select.tsx
|
|
878
|
+
function At({ ...e }) {
|
|
879
|
+
return /* @__PURE__ */ i(_.Root, {
|
|
880
|
+
"data-slot": "select",
|
|
881
|
+
...e
|
|
882
|
+
});
|
|
883
|
+
}
|
|
884
|
+
function jt({ className: e, ...t }) {
|
|
885
|
+
return /* @__PURE__ */ i(_.Group, {
|
|
886
|
+
"data-slot": "select-group",
|
|
887
|
+
className: O("scroll-my-1 p-1", e),
|
|
888
|
+
...t
|
|
889
|
+
});
|
|
890
|
+
}
|
|
891
|
+
function Mt({ ...e }) {
|
|
892
|
+
return /* @__PURE__ */ i(_.Value, {
|
|
893
|
+
"data-slot": "select-value",
|
|
894
|
+
...e
|
|
895
|
+
});
|
|
896
|
+
}
|
|
897
|
+
function Nt({ className: e, size: t = "default", children: n, ...r }) {
|
|
898
|
+
return /* @__PURE__ */ a(_.Trigger, {
|
|
899
|
+
"data-slot": "select-trigger",
|
|
900
|
+
"data-size": t,
|
|
901
|
+
className: O("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pe-2 ps-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground/70 data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
902
|
+
...r,
|
|
903
|
+
children: [n, /* @__PURE__ */ i(_.Icon, {
|
|
904
|
+
asChild: !0,
|
|
905
|
+
children: /* @__PURE__ */ i(C, { className: "pointer-events-none size-4 text-muted-foreground" })
|
|
906
|
+
})]
|
|
907
|
+
});
|
|
908
|
+
}
|
|
909
|
+
function Pt({ className: e, children: t, position: n = "item-aligned", align: r = "center", ...o }) {
|
|
910
|
+
return /* @__PURE__ */ i(_.Portal, { children: /* @__PURE__ */ a(_.Content, {
|
|
911
|
+
"data-slot": "select-content",
|
|
912
|
+
"data-align-trigger": n === "item-aligned",
|
|
913
|
+
className: O("relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 rtl:data-[side=left]:translate-x-1 data-[side=right]:translate-x-1 rtl:data-[side=right]:-translate-x-1 data-[side=top]:-translate-y-1", e),
|
|
914
|
+
position: n,
|
|
915
|
+
align: r,
|
|
916
|
+
...o,
|
|
917
|
+
children: [
|
|
918
|
+
/* @__PURE__ */ i(H, {}),
|
|
919
|
+
/* @__PURE__ */ i(_.Viewport, {
|
|
920
|
+
"data-position": n,
|
|
921
|
+
className: O("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)", n === "popper" && ""),
|
|
922
|
+
children: t
|
|
923
|
+
}),
|
|
924
|
+
/* @__PURE__ */ i(U, {})
|
|
925
|
+
]
|
|
926
|
+
}) });
|
|
927
|
+
}
|
|
928
|
+
function Ft({ className: e, ...t }) {
|
|
929
|
+
return /* @__PURE__ */ i(_.Label, {
|
|
930
|
+
"data-slot": "select-label",
|
|
931
|
+
className: O("px-1.5 py-1 text-xs text-muted-foreground", e),
|
|
932
|
+
...t
|
|
933
|
+
});
|
|
934
|
+
}
|
|
935
|
+
function It({ className: e, children: t, ...n }) {
|
|
936
|
+
return /* @__PURE__ */ a(_.Item, {
|
|
937
|
+
"data-slot": "select-item",
|
|
938
|
+
className: O("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pe-8 ps-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", e),
|
|
939
|
+
...n,
|
|
940
|
+
children: [/* @__PURE__ */ i("span", {
|
|
941
|
+
className: "pointer-events-none absolute end-2 flex size-4 items-center justify-center",
|
|
942
|
+
children: /* @__PURE__ */ i(_.ItemIndicator, { children: /* @__PURE__ */ i(S, { className: "pointer-events-none" }) })
|
|
943
|
+
}), /* @__PURE__ */ i(_.ItemText, { children: t })]
|
|
944
|
+
});
|
|
945
|
+
}
|
|
946
|
+
function Lt({ className: e, ...t }) {
|
|
947
|
+
return /* @__PURE__ */ i(_.Separator, {
|
|
948
|
+
"data-slot": "select-separator",
|
|
949
|
+
className: O("pointer-events-none -mx-1 my-1 h-px bg-border", e),
|
|
950
|
+
...t
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
function H({ className: e, ...t }) {
|
|
954
|
+
return /* @__PURE__ */ i(_.ScrollUpButton, {
|
|
955
|
+
"data-slot": "select-scroll-up-button",
|
|
956
|
+
className: O("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
|
|
957
|
+
...t,
|
|
958
|
+
children: /* @__PURE__ */ i(te, {})
|
|
959
|
+
});
|
|
960
|
+
}
|
|
961
|
+
function U({ className: e, ...t }) {
|
|
962
|
+
return /* @__PURE__ */ i(_.ScrollDownButton, {
|
|
963
|
+
"data-slot": "select-scroll-down-button",
|
|
964
|
+
className: O("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
|
|
965
|
+
...t,
|
|
966
|
+
children: /* @__PURE__ */ i(C, {})
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
//#endregion
|
|
970
|
+
//#region src/components/ui/separator.tsx
|
|
971
|
+
function W({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
|
|
972
|
+
return /* @__PURE__ */ i(ee.Root, {
|
|
973
|
+
"data-slot": "separator",
|
|
974
|
+
decorative: n,
|
|
975
|
+
orientation: t,
|
|
976
|
+
className: O("shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch", e),
|
|
977
|
+
...r
|
|
978
|
+
});
|
|
979
|
+
}
|
|
980
|
+
//#endregion
|
|
981
|
+
//#region src/components/ui/sheet.tsx
|
|
982
|
+
function G({ ...e }) {
|
|
983
|
+
return /* @__PURE__ */ i(p.Root, {
|
|
984
|
+
"data-slot": "sheet",
|
|
985
|
+
...e
|
|
986
|
+
});
|
|
987
|
+
}
|
|
988
|
+
function Rt({ ...e }) {
|
|
989
|
+
return /* @__PURE__ */ i(p.Trigger, {
|
|
990
|
+
"data-slot": "sheet-trigger",
|
|
991
|
+
...e
|
|
992
|
+
});
|
|
993
|
+
}
|
|
994
|
+
function zt({ ...e }) {
|
|
995
|
+
return /* @__PURE__ */ i(p.Close, {
|
|
996
|
+
"data-slot": "sheet-close",
|
|
997
|
+
...e
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
function Bt({ ...e }) {
|
|
1001
|
+
return /* @__PURE__ */ i(p.Portal, {
|
|
1002
|
+
"data-slot": "sheet-portal",
|
|
1003
|
+
...e
|
|
1004
|
+
});
|
|
1005
|
+
}
|
|
1006
|
+
function Vt({ className: e, ...t }) {
|
|
1007
|
+
return /* @__PURE__ */ i(p.Overlay, {
|
|
1008
|
+
"data-slot": "sheet-overlay",
|
|
1009
|
+
className: O("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
|
|
1010
|
+
...t
|
|
1011
|
+
});
|
|
1012
|
+
}
|
|
1013
|
+
function K({ className: e, children: t, side: n = "right", showCloseButton: r = !0, closeLabel: o, ...s }) {
|
|
1014
|
+
return /* @__PURE__ */ a(Bt, { children: [/* @__PURE__ */ i(Vt, {}), /* @__PURE__ */ a(p.Content, {
|
|
1015
|
+
"data-slot": "sheet-content",
|
|
1016
|
+
"data-side": n,
|
|
1017
|
+
className: O("fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-e data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-s data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-[side=bottom]:data-open:slide-in-from-bottom-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:animate-out data-closed:fade-out-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=right]:data-closed:slide-out-to-right-10 data-[side=top]:data-closed:slide-out-to-top-10", e),
|
|
1018
|
+
...s,
|
|
1019
|
+
children: [t, r && /* @__PURE__ */ i(p.Close, {
|
|
1020
|
+
"data-slot": "sheet-close",
|
|
1021
|
+
asChild: !0,
|
|
1022
|
+
children: /* @__PURE__ */ a(N, {
|
|
1023
|
+
variant: "ghost",
|
|
1024
|
+
className: "absolute top-3 end-3",
|
|
1025
|
+
size: "icon-sm",
|
|
1026
|
+
children: [/* @__PURE__ */ i(E, {}), /* @__PURE__ */ i("span", {
|
|
1027
|
+
className: "sr-only",
|
|
1028
|
+
children: o
|
|
1029
|
+
})]
|
|
1030
|
+
})
|
|
1031
|
+
})]
|
|
1032
|
+
})] });
|
|
1033
|
+
}
|
|
1034
|
+
function q({ className: e, ...t }) {
|
|
1035
|
+
return /* @__PURE__ */ i("div", {
|
|
1036
|
+
"data-slot": "sheet-header",
|
|
1037
|
+
className: O("flex flex-col gap-0.5 p-4", e),
|
|
1038
|
+
...t
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
function Ht({ className: e, ...t }) {
|
|
1042
|
+
return /* @__PURE__ */ i("div", {
|
|
1043
|
+
"data-slot": "sheet-footer",
|
|
1044
|
+
className: O("mt-auto flex flex-col gap-2 p-4", e),
|
|
1045
|
+
...t
|
|
1046
|
+
});
|
|
1047
|
+
}
|
|
1048
|
+
function J({ className: e, ...t }) {
|
|
1049
|
+
return /* @__PURE__ */ i(p.Title, {
|
|
1050
|
+
"data-slot": "sheet-title",
|
|
1051
|
+
className: O("font-heading text-base font-medium text-foreground", e),
|
|
1052
|
+
...t
|
|
1053
|
+
});
|
|
1054
|
+
}
|
|
1055
|
+
function Y({ className: e, ...t }) {
|
|
1056
|
+
return /* @__PURE__ */ i(p.Description, {
|
|
1057
|
+
"data-slot": "sheet-description",
|
|
1058
|
+
className: O("text-sm text-muted-foreground", e),
|
|
1059
|
+
...t
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
//#endregion
|
|
1063
|
+
//#region src/hooks/use-mobile.ts
|
|
1064
|
+
var X = 768;
|
|
1065
|
+
function Ut() {
|
|
1066
|
+
let [t, n] = e.useState(void 0);
|
|
1067
|
+
return e.useEffect(() => {
|
|
1068
|
+
let e = window.matchMedia("(max-width: 767px)"), t = () => {
|
|
1069
|
+
n(window.innerWidth < X);
|
|
1070
|
+
};
|
|
1071
|
+
return e.addEventListener("change", t), n(window.innerWidth < X), () => e.removeEventListener("change", t);
|
|
1072
|
+
}, []), !!t;
|
|
1073
|
+
}
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region src/components/ui/skeleton.tsx
|
|
1076
|
+
function Z({ className: e, ...t }) {
|
|
1077
|
+
return /* @__PURE__ */ i("div", {
|
|
1078
|
+
"data-slot": "skeleton",
|
|
1079
|
+
className: O("animate-pulse rounded-md bg-muted", e),
|
|
1080
|
+
...t
|
|
1081
|
+
});
|
|
1082
|
+
}
|
|
1083
|
+
//#endregion
|
|
1084
|
+
//#region src/components/ui/tooltip.tsx
|
|
1085
|
+
function Wt({ delayDuration: e = 0, ...t }) {
|
|
1086
|
+
return /* @__PURE__ */ i(b.Provider, {
|
|
1087
|
+
"data-slot": "tooltip-provider",
|
|
1088
|
+
delayDuration: e,
|
|
1089
|
+
...t
|
|
1090
|
+
});
|
|
1091
|
+
}
|
|
1092
|
+
function Q({ ...e }) {
|
|
1093
|
+
return /* @__PURE__ */ i(b.Root, {
|
|
1094
|
+
"data-slot": "tooltip",
|
|
1095
|
+
...e
|
|
1096
|
+
});
|
|
1097
|
+
}
|
|
1098
|
+
function Gt({ ...e }) {
|
|
1099
|
+
return /* @__PURE__ */ i(b.Trigger, {
|
|
1100
|
+
"data-slot": "tooltip-trigger",
|
|
1101
|
+
...e
|
|
1102
|
+
});
|
|
1103
|
+
}
|
|
1104
|
+
function Kt({ className: e, sideOffset: t = 0, children: n, ...r }) {
|
|
1105
|
+
return /* @__PURE__ */ i(b.Portal, { children: /* @__PURE__ */ a(b.Content, {
|
|
1106
|
+
"data-slot": "tooltip-content",
|
|
1107
|
+
sideOffset: t,
|
|
1108
|
+
className: O("z-50 inline-flex w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pe-1.5 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 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
1109
|
+
...r,
|
|
1110
|
+
children: [n, /* @__PURE__ */ i(b.Arrow, { className: "z-50 fill-foreground" })]
|
|
1111
|
+
}) });
|
|
1112
|
+
}
|
|
1113
|
+
//#endregion
|
|
1114
|
+
//#region src/components/ui/sidebar.tsx
|
|
1115
|
+
var qt = "sidebar_state", Jt = 604800, Yt = "16rem", Xt = "18rem", Zt = "3rem", Qt = "b", $t = e.createContext(null);
|
|
1116
|
+
function $() {
|
|
1117
|
+
let t = e.useContext($t);
|
|
1118
|
+
if (!t) throw Error("useSidebar must be used within a SidebarProvider.");
|
|
1119
|
+
return t;
|
|
1120
|
+
}
|
|
1121
|
+
function en({ defaultOpen: t = !0, open: n, onOpenChange: r, className: a, style: o, children: s, ...c }) {
|
|
1122
|
+
let l = Ut(), [u, d] = e.useState(!1), [f, p] = e.useState(t), m = n ?? f, h = e.useCallback((e) => {
|
|
1123
|
+
let t = typeof e == "function" ? e(m) : e;
|
|
1124
|
+
r ? r(t) : p(t), document.cookie = `${qt}=${t}; path=/; max-age=${Jt}`;
|
|
1125
|
+
}, [r, m]), g = e.useCallback(() => l ? d((e) => !e) : h((e) => !e), [
|
|
1126
|
+
l,
|
|
1127
|
+
h,
|
|
1128
|
+
d
|
|
1129
|
+
]);
|
|
1130
|
+
e.useEffect(() => {
|
|
1131
|
+
let e = (e) => {
|
|
1132
|
+
e.key === Qt && (e.metaKey || e.ctrlKey) && (e.preventDefault(), g());
|
|
1133
|
+
};
|
|
1134
|
+
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
1135
|
+
}, [g]);
|
|
1136
|
+
let _ = m ? "expanded" : "collapsed", ee = e.useMemo(() => ({
|
|
1137
|
+
state: _,
|
|
1138
|
+
open: m,
|
|
1139
|
+
setOpen: h,
|
|
1140
|
+
isMobile: l,
|
|
1141
|
+
openMobile: u,
|
|
1142
|
+
setOpenMobile: d,
|
|
1143
|
+
toggleSidebar: g
|
|
1144
|
+
}), [
|
|
1145
|
+
_,
|
|
1146
|
+
m,
|
|
1147
|
+
h,
|
|
1148
|
+
l,
|
|
1149
|
+
u,
|
|
1150
|
+
d,
|
|
1151
|
+
g
|
|
1152
|
+
]);
|
|
1153
|
+
return /* @__PURE__ */ i($t.Provider, {
|
|
1154
|
+
value: ee,
|
|
1155
|
+
children: /* @__PURE__ */ i("div", {
|
|
1156
|
+
"data-slot": "sidebar-wrapper",
|
|
1157
|
+
style: {
|
|
1158
|
+
"--sidebar-width": Yt,
|
|
1159
|
+
"--sidebar-width-icon": Zt,
|
|
1160
|
+
...o
|
|
1161
|
+
},
|
|
1162
|
+
className: O("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar", a),
|
|
1163
|
+
...c,
|
|
1164
|
+
children: s
|
|
1165
|
+
})
|
|
1166
|
+
});
|
|
1167
|
+
}
|
|
1168
|
+
function tn({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: o, dir: s, mobileTitle: c, mobileDescription: l, closeLabel: u, ...d }) {
|
|
1169
|
+
let { isMobile: f, state: p, openMobile: m, setOpenMobile: h } = $();
|
|
1170
|
+
return n === "none" ? /* @__PURE__ */ i("div", {
|
|
1171
|
+
"data-slot": "sidebar",
|
|
1172
|
+
className: O("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground", r),
|
|
1173
|
+
...d,
|
|
1174
|
+
children: o
|
|
1175
|
+
}) : f ? /* @__PURE__ */ i(G, {
|
|
1176
|
+
open: m,
|
|
1177
|
+
onOpenChange: h,
|
|
1178
|
+
...d,
|
|
1179
|
+
children: /* @__PURE__ */ a(K, {
|
|
1180
|
+
dir: s,
|
|
1181
|
+
"data-sidebar": "sidebar",
|
|
1182
|
+
"data-slot": "sidebar",
|
|
1183
|
+
"data-mobile": "true",
|
|
1184
|
+
className: "w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
|
|
1185
|
+
style: { "--sidebar-width": Xt },
|
|
1186
|
+
side: e,
|
|
1187
|
+
closeLabel: u,
|
|
1188
|
+
children: [/* @__PURE__ */ a(q, {
|
|
1189
|
+
className: "sr-only",
|
|
1190
|
+
children: [/* @__PURE__ */ i(J, { children: c }), /* @__PURE__ */ i(Y, { children: l })]
|
|
1191
|
+
}), /* @__PURE__ */ i("div", {
|
|
1192
|
+
className: "flex h-full w-full flex-col",
|
|
1193
|
+
children: o
|
|
1194
|
+
})]
|
|
1195
|
+
})
|
|
1196
|
+
}) : /* @__PURE__ */ a("div", {
|
|
1197
|
+
className: "group peer hidden text-sidebar-foreground md:block",
|
|
1198
|
+
"data-state": p,
|
|
1199
|
+
"data-collapsible": p === "collapsed" ? n : "",
|
|
1200
|
+
"data-variant": t,
|
|
1201
|
+
"data-side": e,
|
|
1202
|
+
"data-slot": "sidebar",
|
|
1203
|
+
children: [/* @__PURE__ */ i("div", {
|
|
1204
|
+
"data-slot": "sidebar-gap",
|
|
1205
|
+
className: O("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", t === "floating" || t === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)")
|
|
1206
|
+
}), /* @__PURE__ */ i("div", {
|
|
1207
|
+
"data-slot": "sidebar-container",
|
|
1208
|
+
"data-side": e,
|
|
1209
|
+
className: O("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex", t === "floating" || t === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-e group-data-[side=right]:border-s", r),
|
|
1210
|
+
...d,
|
|
1211
|
+
children: /* @__PURE__ */ i("div", {
|
|
1212
|
+
"data-sidebar": "sidebar",
|
|
1213
|
+
"data-slot": "sidebar-inner",
|
|
1214
|
+
className: "flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border",
|
|
1215
|
+
children: o
|
|
1216
|
+
})
|
|
1217
|
+
})]
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1220
|
+
function nn({ className: e, onClick: t, "aria-label": n, ...r }) {
|
|
1221
|
+
let { toggleSidebar: a } = $();
|
|
1222
|
+
return /* @__PURE__ */ i(N, {
|
|
1223
|
+
"data-sidebar": "trigger",
|
|
1224
|
+
"data-slot": "sidebar-trigger",
|
|
1225
|
+
variant: "ghost",
|
|
1226
|
+
size: "icon-sm",
|
|
1227
|
+
"aria-label": n,
|
|
1228
|
+
className: O(e),
|
|
1229
|
+
onClick: (e) => {
|
|
1230
|
+
t?.(e), a();
|
|
1231
|
+
},
|
|
1232
|
+
...r,
|
|
1233
|
+
children: /* @__PURE__ */ i(oe, { className: "rtl:rotate-180" })
|
|
1234
|
+
});
|
|
1235
|
+
}
|
|
1236
|
+
function rn({ className: e, "aria-label": t, ...n }) {
|
|
1237
|
+
let { toggleSidebar: r } = $();
|
|
1238
|
+
return /* @__PURE__ */ i("button", {
|
|
1239
|
+
"data-sidebar": "rail",
|
|
1240
|
+
"data-slot": "sidebar-rail",
|
|
1241
|
+
"aria-label": t,
|
|
1242
|
+
tabIndex: -1,
|
|
1243
|
+
onClick: r,
|
|
1244
|
+
title: t,
|
|
1245
|
+
className: O("absolute inset-y-0 z-20 hidden w-4 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex ltr:-translate-x-1/2 rtl:-translate-x-1/2", "in-data-[side=left]:cursor-w-resize rtl:in-data-[side=left]:cursor-e-resize in-data-[side=right]:cursor-e-resize rtl:in-data-[side=right]:cursor-w-resize", "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize rtl:[[data-side=left][data-state=collapsed]_&]:cursor-w-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize rtl:[[data-side=right][data-state=collapsed]_&]:cursor-e-resize", "group-data-[collapsible=offcanvas]:translate-x-0 rtl:group-data-[collapsible=offcanvas]:-translate-x-0 group-data-[collapsible=offcanvas]:after:start-full hover:group-data-[collapsible=offcanvas]:bg-sidebar", "[[data-side=left][data-collapsible=offcanvas]_&]:-end-2", "[[data-side=right][data-collapsible=offcanvas]_&]:-start-2", e),
|
|
1246
|
+
...n
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
function an({ className: e, ...t }) {
|
|
1250
|
+
return /* @__PURE__ */ i("main", {
|
|
1251
|
+
"data-slot": "sidebar-inset",
|
|
1252
|
+
className: O("relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2", e),
|
|
1253
|
+
...t
|
|
1254
|
+
});
|
|
1255
|
+
}
|
|
1256
|
+
function on({ className: e, ...t }) {
|
|
1257
|
+
return /* @__PURE__ */ i(B, {
|
|
1258
|
+
"data-slot": "sidebar-input",
|
|
1259
|
+
"data-sidebar": "input",
|
|
1260
|
+
className: O("h-8 w-full bg-background shadow-none", e),
|
|
1261
|
+
...t
|
|
1262
|
+
});
|
|
1263
|
+
}
|
|
1264
|
+
function sn({ className: e, ...t }) {
|
|
1265
|
+
return /* @__PURE__ */ i("div", {
|
|
1266
|
+
"data-slot": "sidebar-header",
|
|
1267
|
+
"data-sidebar": "header",
|
|
1268
|
+
className: O("flex flex-col gap-2 p-2", e),
|
|
1269
|
+
...t
|
|
1270
|
+
});
|
|
1271
|
+
}
|
|
1272
|
+
function cn({ className: e, ...t }) {
|
|
1273
|
+
return /* @__PURE__ */ i("div", {
|
|
1274
|
+
"data-slot": "sidebar-footer",
|
|
1275
|
+
"data-sidebar": "footer",
|
|
1276
|
+
className: O("flex flex-col gap-2 p-2", e),
|
|
1277
|
+
...t
|
|
1278
|
+
});
|
|
1279
|
+
}
|
|
1280
|
+
function ln({ className: e, ...t }) {
|
|
1281
|
+
return /* @__PURE__ */ i(W, {
|
|
1282
|
+
"data-slot": "sidebar-separator",
|
|
1283
|
+
"data-sidebar": "separator",
|
|
1284
|
+
className: O("mx-2 w-auto bg-sidebar-border", e),
|
|
1285
|
+
...t
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1288
|
+
function un({ className: e, ...t }) {
|
|
1289
|
+
return /* @__PURE__ */ i("div", {
|
|
1290
|
+
"data-slot": "sidebar-content",
|
|
1291
|
+
"data-sidebar": "content",
|
|
1292
|
+
className: O("no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden", e),
|
|
1293
|
+
...t
|
|
1294
|
+
});
|
|
1295
|
+
}
|
|
1296
|
+
function dn({ className: e, ...t }) {
|
|
1297
|
+
return /* @__PURE__ */ i("div", {
|
|
1298
|
+
"data-slot": "sidebar-group",
|
|
1299
|
+
"data-sidebar": "group",
|
|
1300
|
+
className: O("relative flex w-full min-w-0 flex-col p-2", e),
|
|
1301
|
+
...t
|
|
1302
|
+
});
|
|
1303
|
+
}
|
|
1304
|
+
function fn({ className: e, asChild: t = !1, ...n }) {
|
|
1305
|
+
let r = t ? v.Root : "div";
|
|
1306
|
+
return /* @__PURE__ */ i(r, {
|
|
1307
|
+
"data-slot": "sidebar-group-label",
|
|
1308
|
+
"data-sidebar": "group-label",
|
|
1309
|
+
className: O("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", e),
|
|
1310
|
+
...n
|
|
1311
|
+
});
|
|
1312
|
+
}
|
|
1313
|
+
function pn({ className: e, asChild: t = !1, ...n }) {
|
|
1314
|
+
let r = t ? v.Root : "button";
|
|
1315
|
+
return /* @__PURE__ */ i(r, {
|
|
1316
|
+
"data-slot": "sidebar-group-action",
|
|
1317
|
+
"data-sidebar": "group-action",
|
|
1318
|
+
className: O("absolute top-3.5 end-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0", e),
|
|
1319
|
+
...n
|
|
1320
|
+
});
|
|
1321
|
+
}
|
|
1322
|
+
function mn({ className: e, ...t }) {
|
|
1323
|
+
return /* @__PURE__ */ i("div", {
|
|
1324
|
+
"data-slot": "sidebar-group-content",
|
|
1325
|
+
"data-sidebar": "group-content",
|
|
1326
|
+
className: O("w-full text-sm", e),
|
|
1327
|
+
...t
|
|
1328
|
+
});
|
|
1329
|
+
}
|
|
1330
|
+
function hn({ className: e, ...t }) {
|
|
1331
|
+
return /* @__PURE__ */ i("ul", {
|
|
1332
|
+
"data-slot": "sidebar-menu",
|
|
1333
|
+
"data-sidebar": "menu",
|
|
1334
|
+
className: O("flex w-full min-w-0 flex-col gap-0", e),
|
|
1335
|
+
...t
|
|
1336
|
+
});
|
|
1337
|
+
}
|
|
1338
|
+
function gn({ className: e, ...t }) {
|
|
1339
|
+
return /* @__PURE__ */ i("li", {
|
|
1340
|
+
"data-slot": "sidebar-menu-item",
|
|
1341
|
+
"data-sidebar": "menu-item",
|
|
1342
|
+
className: O("group/menu-item relative", e),
|
|
1343
|
+
...t
|
|
1344
|
+
});
|
|
1345
|
+
}
|
|
1346
|
+
var _n = x("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-start text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate", {
|
|
1347
|
+
variants: {
|
|
1348
|
+
variant: {
|
|
1349
|
+
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
|
1350
|
+
outline: "bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]"
|
|
1351
|
+
},
|
|
1352
|
+
size: {
|
|
1353
|
+
default: "h-8 text-sm",
|
|
1354
|
+
sm: "h-7 text-xs",
|
|
1355
|
+
lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
defaultVariants: {
|
|
1359
|
+
variant: "default",
|
|
1360
|
+
size: "default"
|
|
1361
|
+
}
|
|
1362
|
+
});
|
|
1363
|
+
function vn({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: o, className: s, ...c }) {
|
|
1364
|
+
let l = e ? v.Root : "button", { isMobile: u, state: d } = $(), f = /* @__PURE__ */ i(l, {
|
|
1365
|
+
"data-slot": "sidebar-menu-button",
|
|
1366
|
+
"data-sidebar": "menu-button",
|
|
1367
|
+
"data-size": r,
|
|
1368
|
+
"data-active": t,
|
|
1369
|
+
className: O(_n({
|
|
1370
|
+
variant: n,
|
|
1371
|
+
size: r
|
|
1372
|
+
}), s),
|
|
1373
|
+
...c
|
|
1374
|
+
});
|
|
1375
|
+
return o ? (typeof o == "string" && (o = { children: o }), /* @__PURE__ */ a(Q, { children: [/* @__PURE__ */ i(Gt, {
|
|
1376
|
+
asChild: !0,
|
|
1377
|
+
children: f
|
|
1378
|
+
}), /* @__PURE__ */ i(Kt, {
|
|
1379
|
+
side: "right",
|
|
1380
|
+
align: "center",
|
|
1381
|
+
hidden: d !== "collapsed" || u,
|
|
1382
|
+
...o
|
|
1383
|
+
})] })) : f;
|
|
1384
|
+
}
|
|
1385
|
+
function yn({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
|
|
1386
|
+
let a = t ? v.Root : "button";
|
|
1387
|
+
return /* @__PURE__ */ i(a, {
|
|
1388
|
+
"data-slot": "sidebar-menu-action",
|
|
1389
|
+
"data-sidebar": "menu-action",
|
|
1390
|
+
className: O("absolute top-1.5 end-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0", n && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground aria-expanded:opacity-100 md:opacity-0", e),
|
|
1391
|
+
...r
|
|
1392
|
+
});
|
|
1393
|
+
}
|
|
1394
|
+
function bn({ className: e, ...t }) {
|
|
1395
|
+
return /* @__PURE__ */ i("div", {
|
|
1396
|
+
"data-slot": "sidebar-menu-badge",
|
|
1397
|
+
"data-sidebar": "menu-badge",
|
|
1398
|
+
className: O("pointer-events-none absolute end-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground", e),
|
|
1399
|
+
...t
|
|
1400
|
+
});
|
|
1401
|
+
}
|
|
1402
|
+
function xn({ className: t, showIcon: n = !1, ...r }) {
|
|
1403
|
+
let [o] = e.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
|
|
1404
|
+
return /* @__PURE__ */ a("div", {
|
|
1405
|
+
"data-slot": "sidebar-menu-skeleton",
|
|
1406
|
+
"data-sidebar": "menu-skeleton",
|
|
1407
|
+
className: O("flex h-8 items-center gap-2 rounded-md px-2", t),
|
|
1408
|
+
...r,
|
|
1409
|
+
children: [n && /* @__PURE__ */ i(Z, {
|
|
1410
|
+
className: "size-4 rounded-md",
|
|
1411
|
+
"data-sidebar": "menu-skeleton-icon"
|
|
1412
|
+
}), /* @__PURE__ */ i(Z, {
|
|
1413
|
+
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
1414
|
+
"data-sidebar": "menu-skeleton-text",
|
|
1415
|
+
style: { "--skeleton-width": o }
|
|
1416
|
+
})]
|
|
1417
|
+
});
|
|
1418
|
+
}
|
|
1419
|
+
function Sn({ className: e, ...t }) {
|
|
1420
|
+
return /* @__PURE__ */ i("ul", {
|
|
1421
|
+
"data-slot": "sidebar-menu-sub",
|
|
1422
|
+
"data-sidebar": "menu-sub",
|
|
1423
|
+
className: O("mx-3.5 flex min-w-0 translate-x-px rtl:-translate-x-px flex-col gap-1 border-s border-sidebar-border px-2.5 py-0.5 group-data-[collapsible=icon]:hidden", e),
|
|
1424
|
+
...t
|
|
1425
|
+
});
|
|
1426
|
+
}
|
|
1427
|
+
function Cn({ className: e, ...t }) {
|
|
1428
|
+
return /* @__PURE__ */ i("li", {
|
|
1429
|
+
"data-slot": "sidebar-menu-sub-item",
|
|
1430
|
+
"data-sidebar": "menu-sub-item",
|
|
1431
|
+
className: O("group/menu-sub-item relative", e),
|
|
1432
|
+
...t
|
|
1433
|
+
});
|
|
1434
|
+
}
|
|
1435
|
+
function wn({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...a }) {
|
|
1436
|
+
let o = e ? v.Root : "a";
|
|
1437
|
+
return /* @__PURE__ */ i(o, {
|
|
1438
|
+
"data-slot": "sidebar-menu-sub-button",
|
|
1439
|
+
"data-sidebar": "menu-sub-button",
|
|
1440
|
+
"data-size": t,
|
|
1441
|
+
"data-active": n,
|
|
1442
|
+
className: O("flex h-7 min-w-0 -translate-x-px rtl:translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden group-data-[collapsible=icon]:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-sm data-[size=sm]:text-xs data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground", r),
|
|
1443
|
+
...a
|
|
1444
|
+
});
|
|
1445
|
+
}
|
|
1446
|
+
//#endregion
|
|
1447
|
+
//#region src/components/ui/sonner.tsx
|
|
1448
|
+
var Tn = ({ ...e }) => /* @__PURE__ */ i(le, {
|
|
1449
|
+
className: "toaster group",
|
|
1450
|
+
icons: {
|
|
1451
|
+
success: /* @__PURE__ */ i(ne, { className: "size-4" }),
|
|
1452
|
+
info: /* @__PURE__ */ i(re, { className: "size-4" }),
|
|
1453
|
+
warning: /* @__PURE__ */ i(se, { className: "size-4" }),
|
|
1454
|
+
error: /* @__PURE__ */ i(ae, { className: "size-4" }),
|
|
1455
|
+
loading: /* @__PURE__ */ i(ie, { className: "size-4 animate-spin" })
|
|
1456
|
+
},
|
|
1457
|
+
style: {
|
|
1458
|
+
"--normal-bg": "var(--popover)",
|
|
1459
|
+
"--normal-text": "var(--popover-foreground)",
|
|
1460
|
+
"--normal-border": "var(--border)",
|
|
1461
|
+
"--border-radius": "var(--radius)"
|
|
1462
|
+
},
|
|
1463
|
+
toastOptions: { classNames: { toast: "cn-toast" } },
|
|
1464
|
+
...e
|
|
1465
|
+
});
|
|
1466
|
+
//#endregion
|
|
1467
|
+
//#region src/components/ui/table.tsx
|
|
1468
|
+
function En({ className: e, ...t }) {
|
|
1469
|
+
return /* @__PURE__ */ i("div", {
|
|
1470
|
+
"data-slot": "table-container",
|
|
1471
|
+
className: "relative w-full overflow-x-auto",
|
|
1472
|
+
children: /* @__PURE__ */ i("table", {
|
|
1473
|
+
"data-slot": "table",
|
|
1474
|
+
className: O("w-full caption-bottom text-sm", e),
|
|
1475
|
+
...t
|
|
1476
|
+
})
|
|
1477
|
+
});
|
|
1478
|
+
}
|
|
1479
|
+
function Dn({ className: e, ...t }) {
|
|
1480
|
+
return /* @__PURE__ */ i("thead", {
|
|
1481
|
+
"data-slot": "table-header",
|
|
1482
|
+
className: O("[&_tr]:border-b", e),
|
|
1483
|
+
...t
|
|
1484
|
+
});
|
|
1485
|
+
}
|
|
1486
|
+
function On({ className: e, ...t }) {
|
|
1487
|
+
return /* @__PURE__ */ i("tbody", {
|
|
1488
|
+
"data-slot": "table-body",
|
|
1489
|
+
className: O("[&_tr:last-child]:border-0", e),
|
|
1490
|
+
...t
|
|
1491
|
+
});
|
|
1492
|
+
}
|
|
1493
|
+
function kn({ className: e, ...t }) {
|
|
1494
|
+
return /* @__PURE__ */ i("tfoot", {
|
|
1495
|
+
"data-slot": "table-footer",
|
|
1496
|
+
className: O("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
|
|
1497
|
+
...t
|
|
1498
|
+
});
|
|
1499
|
+
}
|
|
1500
|
+
function An({ className: e, ...t }) {
|
|
1501
|
+
return /* @__PURE__ */ i("tr", {
|
|
1502
|
+
"data-slot": "table-row",
|
|
1503
|
+
className: O("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted", e),
|
|
1504
|
+
...t
|
|
1505
|
+
});
|
|
1506
|
+
}
|
|
1507
|
+
function jn({ className: e, ...t }) {
|
|
1508
|
+
return /* @__PURE__ */ i("th", {
|
|
1509
|
+
"data-slot": "table-head",
|
|
1510
|
+
className: O("h-10 px-2 text-start align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pe-0", e),
|
|
1511
|
+
...t
|
|
1512
|
+
});
|
|
1513
|
+
}
|
|
1514
|
+
function Mn({ className: e, ...t }) {
|
|
1515
|
+
return /* @__PURE__ */ i("td", {
|
|
1516
|
+
"data-slot": "table-cell",
|
|
1517
|
+
className: O("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pe-0", e),
|
|
1518
|
+
...t
|
|
1519
|
+
});
|
|
1520
|
+
}
|
|
1521
|
+
function Nn({ className: e, ...t }) {
|
|
1522
|
+
return /* @__PURE__ */ i("caption", {
|
|
1523
|
+
"data-slot": "table-caption",
|
|
1524
|
+
className: O("mt-4 text-sm text-muted-foreground", e),
|
|
1525
|
+
...t
|
|
1526
|
+
});
|
|
1527
|
+
}
|
|
1528
|
+
//#endregion
|
|
1529
|
+
//#region src/components/ui/tabs.tsx
|
|
1530
|
+
function Pn({ className: e, orientation: t = "horizontal", ...n }) {
|
|
1531
|
+
return /* @__PURE__ */ i(y.Root, {
|
|
1532
|
+
"data-slot": "tabs",
|
|
1533
|
+
"data-orientation": t,
|
|
1534
|
+
className: O("group/tabs flex gap-2 data-horizontal:flex-col", e),
|
|
1535
|
+
...n
|
|
1536
|
+
});
|
|
1537
|
+
}
|
|
1538
|
+
var Fn = x("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none", {
|
|
1539
|
+
variants: { variant: {
|
|
1540
|
+
default: "bg-muted",
|
|
1541
|
+
line: "gap-1 bg-transparent"
|
|
1542
|
+
} },
|
|
1543
|
+
defaultVariants: { variant: "default" }
|
|
1544
|
+
});
|
|
1545
|
+
function In({ className: e, variant: t = "default", ...n }) {
|
|
1546
|
+
return /* @__PURE__ */ i(y.List, {
|
|
1547
|
+
"data-slot": "tabs-list",
|
|
1548
|
+
"data-variant": t,
|
|
1549
|
+
className: O(Fn({ variant: t }), e),
|
|
1550
|
+
...n
|
|
1551
|
+
});
|
|
1552
|
+
}
|
|
1553
|
+
function Ln({ className: e, ...t }) {
|
|
1554
|
+
return /* @__PURE__ */ i(y.Trigger, {
|
|
1555
|
+
"data-slot": "tabs-trigger",
|
|
1556
|
+
className: O("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium text-foreground/60 transition-all hover:text-foreground focus-visible:border-ring focus-visible:outline-1 focus-visible:outline-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 data-active:bg-background data-active:text-foreground group-data-[variant=line]/tabs-list:data-active:bg-transparent group-data-[variant=line]/tabs-list:data-active:shadow-none after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
1557
|
+
...t
|
|
1558
|
+
});
|
|
1559
|
+
}
|
|
1560
|
+
function Rn({ className: e, ...t }) {
|
|
1561
|
+
return /* @__PURE__ */ i(y.Content, {
|
|
1562
|
+
"data-slot": "tabs-content",
|
|
1563
|
+
className: O("flex-1 text-sm outline-none", e),
|
|
1564
|
+
...t
|
|
1565
|
+
});
|
|
1566
|
+
}
|
|
1567
|
+
//#endregion
|
|
1568
|
+
//#region src/components/ui/textarea.tsx
|
|
1569
|
+
function zn({ className: e, ...t }) {
|
|
1570
|
+
return /* @__PURE__ */ i("textarea", {
|
|
1571
|
+
"data-slot": "textarea",
|
|
1572
|
+
className: O("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground/70 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
|
|
1573
|
+
...t
|
|
1574
|
+
});
|
|
1575
|
+
}
|
|
1576
|
+
//#endregion
|
|
1577
|
+
export { be as AlertDialog, Oe as AlertDialogAction, ke as AlertDialogCancel, Se as AlertDialogContent, De as AlertDialogDescription, we as AlertDialogFooter, Ce as AlertDialogHeader, Te as AlertDialogMedia, F as AlertDialogOverlay, P as AlertDialogPortal, Ee as AlertDialogTitle, xe as AlertDialogTrigger, ge as AuthCard, _e as AuthLegalNotice, Ae as Avatar, Ne as AvatarBadge, Me as AvatarFallback, Pe as AvatarGroup, Fe as AvatarGroupCount, je as AvatarImage, Ie as Badge, Le as Breadcrumb, ze as BreadcrumbItem, Be as BreadcrumbLink, Re as BreadcrumbList, Ve as BreadcrumbPage, He as BreadcrumbSeparator, N as Button, Ue as Calendar, L as CalendarDayButton, k as Card, pe as CardAction, me as CardContent, fe as CardDescription, he as CardFooter, ue as CardHeader, de as CardTitle, We as Checkbox, Ge as Collapsible, qe as CollapsibleContent, Ke as CollapsibleTrigger, Je as Dialog, Xe as DialogClose, Ze as DialogContent, tt as DialogDescription, $e as DialogFooter, Qe as DialogHeader, z as DialogOverlay, R as DialogPortal, et as DialogTitle, Ye as DialogTrigger, nt as DropdownMenu, ct as DropdownMenuCheckboxItem, at as DropdownMenuContent, ot as DropdownMenuGroup, st as DropdownMenuItem, dt as DropdownMenuLabel, rt as DropdownMenuPortal, lt as DropdownMenuRadioGroup, ut as DropdownMenuRadioItem, ft as DropdownMenuSeparator, pt as DropdownMenuShortcut, mt as DropdownMenuSub, gt as DropdownMenuSubContent, ht as DropdownMenuSubTrigger, it as DropdownMenuTrigger, B as Input, A as InputOTP, ve as InputOTPGroup, j as InputOTPSlot, _t as Label, ye as OneTimeCodeInput, vt as Pagination, yt as PaginationContent, bt as PaginationItem, V as PaginationLink, St as PaginationNext, xt as PaginationPrevious, Ct as Popover, Et as PopoverAnchor, Tt as PopoverContent, kt as PopoverDescription, Dt as PopoverHeader, Ot as PopoverTitle, wt as PopoverTrigger, At as Select, Pt as SelectContent, jt as SelectGroup, It as SelectItem, Ft as SelectLabel, U as SelectScrollDownButton, H as SelectScrollUpButton, Lt as SelectSeparator, Nt as SelectTrigger, Mt as SelectValue, W as Separator, G as Sheet, zt as SheetClose, K as SheetContent, Y as SheetDescription, Ht as SheetFooter, q as SheetHeader, J as SheetTitle, Rt as SheetTrigger, tn as Sidebar, un as SidebarContent, cn as SidebarFooter, dn as SidebarGroup, pn as SidebarGroupAction, mn as SidebarGroupContent, fn as SidebarGroupLabel, sn as SidebarHeader, on as SidebarInput, an as SidebarInset, hn as SidebarMenu, yn as SidebarMenuAction, bn as SidebarMenuBadge, vn as SidebarMenuButton, gn as SidebarMenuItem, xn as SidebarMenuSkeleton, Sn as SidebarMenuSub, wn as SidebarMenuSubButton, Cn as SidebarMenuSubItem, en as SidebarProvider, rn as SidebarRail, ln as SidebarSeparator, nn as SidebarTrigger, Z as Skeleton, En as Table, On as TableBody, Nn as TableCaption, Mn as TableCell, kn as TableFooter, jn as TableHead, Dn as TableHeader, An as TableRow, Pn as Tabs, Rn as TabsContent, In as TabsList, Ln as TabsTrigger, zn as Textarea, Tn as Toaster, Q as Tooltip, Kt as TooltipContent, Wt as TooltipProvider, Gt as TooltipTrigger, I as badgeVariants, M as buttonVariants, $ as useSidebar };
|