@gv-tech/ui-native 2.23.2 → 2.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__contracts.d.ts +2 -0
- package/dist/__contracts.d.ts.map +1 -0
- package/dist/accordion.d.ts +4 -4
- package/dist/accordion.d.ts.map +1 -1
- package/dist/alert-dialog.d.ts +6 -6
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/avatar.d.ts +3 -3
- package/dist/avatar.d.ts.map +1 -1
- package/dist/button.d.ts +2 -2
- package/dist/button.d.ts.map +1 -1
- package/dist/dialog.d.ts +4 -4
- package/dist/dialog.d.ts.map +1 -1
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.d.ts.map +1 -1
- package/dist/form.d.ts +3 -1
- package/dist/form.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sheet.d.ts +4 -4
- package/dist/sheet.d.ts.map +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/ui-native.cjs +2 -2
- package/dist/{ui-native.mjs → ui-native.esm.js} +887 -880
- package/package.json +4 -4
- package/src/__contracts.ts +880 -0
- package/src/accordion.tsx +10 -10
- package/src/alert-dialog.tsx +12 -12
- package/src/alert.tsx +3 -3
- package/src/avatar.tsx +6 -6
- package/src/button.tsx +5 -1
- package/src/card.tsx +6 -6
- package/src/carousel.tsx +2 -2
- package/src/checkbox.tsx +1 -1
- package/src/context-menu.tsx +9 -9
- package/src/dialog.tsx +4 -4
- package/src/drawer.tsx +12 -12
- package/src/dropdown-menu.tsx +11 -11
- package/src/form.tsx +6 -6
- package/src/hover-card.tsx +1 -1
- package/src/index.ts +2 -1
- package/src/input.tsx +1 -1
- package/src/label.tsx +1 -1
- package/src/menubar.tsx +17 -17
- package/src/navigation-menu.tsx +8 -8
- package/src/popover.tsx +4 -4
- package/src/progress.tsx +1 -1
- package/src/radio-group.tsx +2 -2
- package/src/search.tsx +1 -1
- package/src/select.tsx +7 -7
- package/src/separator.tsx +1 -1
- package/src/sheet.tsx +4 -4
- package/src/switch.tsx +1 -1
- package/src/table.tsx +8 -8
- package/src/tabs.tsx +4 -4
- package/src/text.tsx +1 -1
- package/src/textarea.tsx +1 -1
- package/src/toast.tsx +5 -5
- package/src/toggle-group.tsx +2 -2
- package/src/toggle.tsx +1 -1
- package/src/tooltip.tsx +2 -2
|
@@ -4,40 +4,40 @@ import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
|
4
4
|
import { clsx as v } from "clsx";
|
|
5
5
|
import { twMerge as y } from "tailwind-merge";
|
|
6
6
|
import * as b from "@rn-primitives/accordion";
|
|
7
|
-
import { ArrowLeft as x, ArrowRight as S, ArrowUp as ee, Check as C, ChevronDown as w, ChevronLeft as te, ChevronRight as T, ChevronUp as ne, Circle as
|
|
8
|
-
import
|
|
9
|
-
import { cva as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import { Slot as
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import { FormProvider as je, useFormContext as Me } from "react-hook-form";
|
|
7
|
+
import { ArrowLeft as x, ArrowRight as S, ArrowUp as ee, Check as C, ChevronDown as w, ChevronLeft as te, ChevronRight as T, ChevronUp as ne, Circle as E, Coffee as re, ExternalLink as ie, Moon as ae, MoreHorizontal as oe, Search as se, Sun as ce, SunMoon as le, X as ue } from "lucide-react-native";
|
|
8
|
+
import D, { Extrapolation as de, FadeIn as O, FadeInUp as fe, FadeOut as k, FadeOutDown as pe, Layout as me, SlideInDown as he, SlideInRight as ge, SlideOutDown as _e, SlideOutRight as ve, interpolate as ye, useAnimatedStyle as be, useDerivedValue as xe, useSharedValue as Se, withRepeat as Ce, withSequence as we, withTiming as A } from "react-native-reanimated";
|
|
9
|
+
import { cva as j } from "class-variance-authority";
|
|
10
|
+
import * as M from "@rn-primitives/alert-dialog";
|
|
11
|
+
import * as Te from "@rn-primitives/aspect-ratio";
|
|
12
|
+
import * as N from "@rn-primitives/avatar";
|
|
13
|
+
import * as Ee from "@rn-primitives/slot";
|
|
14
|
+
import { Slot as De } from "@rn-primitives/slot";
|
|
15
|
+
import * as Oe from "@rn-primitives/checkbox";
|
|
16
|
+
import * as ke from "@rn-primitives/collapsible";
|
|
17
|
+
import * as P from "@rn-primitives/context-menu";
|
|
18
|
+
import * as F from "@rn-primitives/dialog";
|
|
19
|
+
import * as I from "@rn-primitives/dropdown-menu";
|
|
20
|
+
import { Controller as Ae, FormProvider as je, useFormContext as Me } from "react-hook-form";
|
|
21
21
|
import * as Ne from "@rn-primitives/label";
|
|
22
|
-
import * as
|
|
23
|
-
import * as
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
22
|
+
import * as L from "@rn-primitives/hover-card";
|
|
23
|
+
import * as R from "@rn-primitives/menubar";
|
|
24
|
+
import * as z from "@rn-primitives/navigation-menu";
|
|
25
|
+
import * as B from "@rn-primitives/radio-group";
|
|
26
|
+
import * as V from "@rn-primitives/select";
|
|
27
27
|
import * as Pe from "@rn-primitives/separator";
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
28
|
+
import * as H from "@rn-primitives/slider";
|
|
29
|
+
import * as U from "@rn-primitives/toast";
|
|
30
30
|
import * as Fe from "@rn-primitives/switch";
|
|
31
|
-
import * as
|
|
31
|
+
import * as W from "@rn-primitives/tabs";
|
|
32
32
|
import { toggleVariants as Ie } from "@gv-tech/ui-core";
|
|
33
33
|
import * as Le from "@rn-primitives/toggle";
|
|
34
|
-
import * as
|
|
35
|
-
import * as
|
|
34
|
+
import * as G from "@rn-primitives/toggle-group";
|
|
35
|
+
import * as K from "@rn-primitives/tooltip";
|
|
36
36
|
import { useColorScheme as Re } from "nativewind";
|
|
37
37
|
import { theme as ze } from "@gv-tech/design-tokens";
|
|
38
38
|
import { cssInterop as Be } from "react-native-css-interop";
|
|
39
39
|
//#region src/lib/render-native.tsx
|
|
40
|
-
function
|
|
40
|
+
function q(t, n = d, r = {}) {
|
|
41
41
|
return e.Children.map(t, (e) => typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ g(n, {
|
|
42
42
|
...r,
|
|
43
43
|
children: e
|
|
@@ -45,7 +45,7 @@ function K(t, n = d, r = {}) {
|
|
|
45
45
|
}
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/lib/utils.ts
|
|
48
|
-
function
|
|
48
|
+
function J(...e) {
|
|
49
49
|
return y(v(e));
|
|
50
50
|
}
|
|
51
51
|
function Ve(e) {
|
|
@@ -55,34 +55,34 @@ function Ve(e) {
|
|
|
55
55
|
//#region src/accordion.tsx
|
|
56
56
|
var He = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(b.Root, {
|
|
57
57
|
ref: n,
|
|
58
|
-
className:
|
|
58
|
+
className: J("web:gap-0", e),
|
|
59
59
|
...t
|
|
60
60
|
}));
|
|
61
61
|
He.displayName = b.Root?.displayName || "Accordion";
|
|
62
62
|
var Ue = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(b.Item, {
|
|
63
63
|
ref: n,
|
|
64
|
-
className:
|
|
64
|
+
className: J("border-border overflow-hidden border-b", e),
|
|
65
65
|
...t
|
|
66
66
|
}));
|
|
67
67
|
Ue.displayName = b.Item?.displayName || "AccordionItem";
|
|
68
68
|
var We = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(b.Header, {
|
|
69
69
|
ref: n,
|
|
70
|
-
className:
|
|
70
|
+
className: J("flex flex-row", e),
|
|
71
71
|
...t
|
|
72
72
|
}));
|
|
73
73
|
We.displayName = b.Header?.displayName || "AccordionHeader";
|
|
74
74
|
var Ge = e.forwardRef(({ className: e, children: t, ...n }, r) => {
|
|
75
|
-
let { isExpanded: i } = b.useItemContext(), a =
|
|
75
|
+
let { isExpanded: i } = b.useItemContext(), a = xe(() => i ? A(1, { duration: 250 }) : A(0, { duration: 200 })), o = be(() => ({
|
|
76
76
|
transform: [{ rotate: `${a.value * 180}deg` }],
|
|
77
|
-
opacity:
|
|
77
|
+
opacity: ye(a.value, [0, 1], [1, .8], de.CLAMP)
|
|
78
78
|
}));
|
|
79
79
|
return /* @__PURE__ */ g(b.Header, {
|
|
80
80
|
className: "flex",
|
|
81
81
|
children: /* @__PURE__ */ _(b.Trigger, {
|
|
82
82
|
ref: r,
|
|
83
|
-
className:
|
|
83
|
+
className: J("flex flex-row items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
|
|
84
84
|
...n,
|
|
85
|
-
children: [/* @__PURE__ */ g(h, { children: t }), /* @__PURE__ */ g(
|
|
85
|
+
children: [/* @__PURE__ */ g(h, { children: t }), /* @__PURE__ */ g(D.View, {
|
|
86
86
|
style: o,
|
|
87
87
|
children: /* @__PURE__ */ g(w, { className: "text-muted-foreground h-4 w-4 shrink-0 transition-transform duration-200" })
|
|
88
88
|
})]
|
|
@@ -92,17 +92,17 @@ var Ge = e.forwardRef(({ className: e, children: t, ...n }, r) => {
|
|
|
92
92
|
Ge.displayName = b.Trigger?.displayName || "AccordionTrigger";
|
|
93
93
|
var Ke = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(b.Content, {
|
|
94
94
|
ref: r,
|
|
95
|
-
className:
|
|
95
|
+
className: J("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all", e),
|
|
96
96
|
...n,
|
|
97
97
|
children: /* @__PURE__ */ g(m, {
|
|
98
|
-
className:
|
|
98
|
+
className: J("pt-0 pb-4", e),
|
|
99
99
|
children: t
|
|
100
100
|
})
|
|
101
101
|
}));
|
|
102
102
|
Ke.displayName = b.Content?.displayName || "AccordionContent";
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region src/alert.tsx
|
|
105
|
-
var qe =
|
|
105
|
+
var qe = j("relative w-full rounded-lg border p-4", {
|
|
106
106
|
variants: { variant: {
|
|
107
107
|
default: "bg-background border-border",
|
|
108
108
|
destructive: "border-destructive/50 bg-destructive/10",
|
|
@@ -112,26 +112,26 @@ var qe = A("relative w-full rounded-lg border p-4", {
|
|
|
112
112
|
defaultVariants: { variant: "default" }
|
|
113
113
|
}), Je = e.forwardRef(({ className: e, variant: t, children: n, ...r }, i) => /* @__PURE__ */ g(m, {
|
|
114
114
|
ref: i,
|
|
115
|
-
className:
|
|
115
|
+
className: J(qe({ variant: t }), e),
|
|
116
116
|
...r,
|
|
117
|
-
children:
|
|
117
|
+
children: q(n)
|
|
118
118
|
}));
|
|
119
119
|
Je.displayName = "Alert";
|
|
120
120
|
var Ye = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(d, {
|
|
121
121
|
ref: n,
|
|
122
|
-
className:
|
|
122
|
+
className: J("text-foreground mb-1 leading-none font-medium tracking-tight", e),
|
|
123
123
|
...t
|
|
124
124
|
}));
|
|
125
125
|
Ye.displayName = "AlertTitle";
|
|
126
126
|
var Xe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(d, {
|
|
127
127
|
ref: n,
|
|
128
|
-
className:
|
|
128
|
+
className: J("text-muted-foreground text-sm leading-relaxed", e),
|
|
129
129
|
...t
|
|
130
130
|
}));
|
|
131
131
|
Xe.displayName = "AlertDescription";
|
|
132
132
|
//#endregion
|
|
133
133
|
//#region src/button.tsx
|
|
134
|
-
var
|
|
134
|
+
var Ze = j("flex-row items-center justify-center gap-2 rounded-md transition-colors active:opacity-80", {
|
|
135
135
|
variants: {
|
|
136
136
|
variant: {
|
|
137
137
|
default: "bg-primary shadow-sm",
|
|
@@ -143,16 +143,20 @@ var J = A("flex-row items-center justify-center gap-2 rounded-md transition-colo
|
|
|
143
143
|
},
|
|
144
144
|
size: {
|
|
145
145
|
default: "h-10 px-4 py-2",
|
|
146
|
+
xs: "h-7 px-2",
|
|
146
147
|
sm: "h-9 px-3",
|
|
147
148
|
lg: "h-12 px-8",
|
|
148
|
-
icon: "h-10 w-10"
|
|
149
|
+
icon: "h-10 w-10",
|
|
150
|
+
"icon-xs": "h-7 w-7",
|
|
151
|
+
"icon-sm": "h-9 w-9",
|
|
152
|
+
"icon-lg": "h-12 w-12"
|
|
149
153
|
}
|
|
150
154
|
},
|
|
151
155
|
defaultVariants: {
|
|
152
156
|
variant: "default",
|
|
153
157
|
size: "default"
|
|
154
158
|
}
|
|
155
|
-
}),
|
|
159
|
+
}), Qe = j("text-sm font-medium", {
|
|
156
160
|
variants: { variant: {
|
|
157
161
|
default: "text-primary-foreground",
|
|
158
162
|
destructive: "text-destructive-foreground",
|
|
@@ -166,111 +170,111 @@ var J = A("flex-row items-center justify-center gap-2 rounded-md transition-colo
|
|
|
166
170
|
ref: s,
|
|
167
171
|
onPress: r,
|
|
168
172
|
disabled: a,
|
|
169
|
-
className:
|
|
173
|
+
className: J(Ze({
|
|
170
174
|
variant: t,
|
|
171
175
|
size: n,
|
|
172
176
|
className: e
|
|
173
177
|
}), a && "opacity-50"),
|
|
174
178
|
...o,
|
|
175
|
-
children:
|
|
179
|
+
children: q(i, d, { className: J(Qe({ variant: t })) })
|
|
176
180
|
}));
|
|
177
181
|
Y.displayName = "Button";
|
|
178
182
|
//#endregion
|
|
179
183
|
//#region src/alert-dialog.tsx
|
|
180
|
-
var
|
|
184
|
+
var $e = M.Root, et = M.Trigger, tt = M.Portal, nt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(M.Overlay, {
|
|
181
185
|
style: u.absoluteFill,
|
|
182
186
|
asChild: !0,
|
|
183
187
|
ref: n,
|
|
184
188
|
...t,
|
|
185
|
-
children: /* @__PURE__ */ g(
|
|
186
|
-
entering:
|
|
187
|
-
exiting:
|
|
188
|
-
className:
|
|
189
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
190
|
+
entering: O.duration(150),
|
|
191
|
+
exiting: k.duration(150),
|
|
192
|
+
className: J("z-50 flex items-center justify-center bg-black/80 p-2", e)
|
|
189
193
|
})
|
|
190
194
|
}));
|
|
191
|
-
|
|
192
|
-
var
|
|
195
|
+
nt.displayName = M.Overlay?.displayName || "AlertDialogOverlay";
|
|
196
|
+
var rt = e.forwardRef(({ className: e, portalHost: t, overlayClassName: n, overlayStyle: r, ...i }, a) => /* @__PURE__ */ _(tt, {
|
|
193
197
|
hostName: t,
|
|
194
|
-
children: [/* @__PURE__ */ g(
|
|
198
|
+
children: [/* @__PURE__ */ g(nt, {
|
|
195
199
|
className: n,
|
|
196
200
|
style: r
|
|
197
|
-
}), /* @__PURE__ */ g(
|
|
201
|
+
}), /* @__PURE__ */ g(M.Content, {
|
|
198
202
|
ref: a,
|
|
199
203
|
asChild: !0,
|
|
200
204
|
...i,
|
|
201
|
-
children: /* @__PURE__ */ g(
|
|
202
|
-
entering:
|
|
203
|
-
exiting:
|
|
204
|
-
className:
|
|
205
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
206
|
+
entering: O.duration(150),
|
|
207
|
+
exiting: k.duration(150),
|
|
208
|
+
className: J("border-border bg-background z-50 w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e)
|
|
205
209
|
})
|
|
206
210
|
})]
|
|
207
211
|
}));
|
|
208
|
-
|
|
209
|
-
var
|
|
210
|
-
className:
|
|
212
|
+
rt.displayName = M.Content?.displayName || "AlertDialogContent";
|
|
213
|
+
var it = ({ className: e, ...t }) => /* @__PURE__ */ g(m, {
|
|
214
|
+
className: J("flex flex-col gap-2 text-center sm:text-left", e),
|
|
211
215
|
...t
|
|
212
216
|
});
|
|
213
|
-
|
|
214
|
-
var
|
|
215
|
-
className:
|
|
217
|
+
it.displayName = "AlertDialogHeader";
|
|
218
|
+
var at = ({ className: e, ...t }) => /* @__PURE__ */ g(m, {
|
|
219
|
+
className: J("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
|
|
216
220
|
...t
|
|
217
221
|
});
|
|
218
|
-
|
|
219
|
-
var
|
|
222
|
+
at.displayName = "AlertDialogFooter";
|
|
223
|
+
var ot = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(M.Title, {
|
|
220
224
|
ref: n,
|
|
221
|
-
className:
|
|
225
|
+
className: J("native:text-xl text-foreground text-lg font-semibold", e),
|
|
222
226
|
...t
|
|
223
227
|
}));
|
|
224
|
-
|
|
225
|
-
var
|
|
228
|
+
ot.displayName = M.Title?.displayName || "AlertDialogTitle";
|
|
229
|
+
var st = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(M.Description, {
|
|
226
230
|
ref: n,
|
|
227
|
-
className:
|
|
231
|
+
className: J("native:text-base text-muted-foreground text-sm", e),
|
|
228
232
|
...t
|
|
229
233
|
}));
|
|
230
|
-
|
|
231
|
-
var
|
|
234
|
+
st.displayName = M.Description?.displayName || "AlertDialogDescription";
|
|
235
|
+
var ct = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(M.Action, {
|
|
232
236
|
ref: n,
|
|
233
|
-
className:
|
|
237
|
+
className: J(Ze(), e),
|
|
234
238
|
...t
|
|
235
239
|
}));
|
|
236
|
-
|
|
237
|
-
var
|
|
240
|
+
ct.displayName = M.Action?.displayName || "AlertDialogAction";
|
|
241
|
+
var lt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(M.Cancel, {
|
|
238
242
|
ref: n,
|
|
239
|
-
className:
|
|
243
|
+
className: J(Ze({ variant: "outline" }), "mt-2 sm:mt-0", e),
|
|
240
244
|
...t
|
|
241
245
|
}));
|
|
242
|
-
|
|
246
|
+
lt.displayName = M.Cancel?.displayName || "AlertDialogCancel";
|
|
243
247
|
//#endregion
|
|
244
248
|
//#region src/aspect-ratio.tsx
|
|
245
|
-
var
|
|
249
|
+
var ut = ({ children: e, className: t, ratio: n = 1 }) => /* @__PURE__ */ g(Te.Root, {
|
|
246
250
|
ratio: n,
|
|
247
|
-
className:
|
|
251
|
+
className: J("w-full", t),
|
|
248
252
|
children: e
|
|
249
253
|
});
|
|
250
|
-
|
|
254
|
+
ut.displayName = "AspectRatio";
|
|
251
255
|
//#endregion
|
|
252
256
|
//#region src/avatar.tsx
|
|
253
|
-
var
|
|
257
|
+
var dt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(N.Root, {
|
|
254
258
|
ref: n,
|
|
255
|
-
className:
|
|
259
|
+
className: J("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
|
|
256
260
|
...t
|
|
257
261
|
}));
|
|
258
|
-
|
|
259
|
-
var
|
|
262
|
+
dt.displayName = N.Root?.displayName || "Avatar";
|
|
263
|
+
var ft = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(N.Image, {
|
|
260
264
|
ref: n,
|
|
261
|
-
className:
|
|
265
|
+
className: J("aspect-square h-full w-full", e),
|
|
262
266
|
...t
|
|
263
267
|
}));
|
|
264
|
-
|
|
265
|
-
var
|
|
268
|
+
ft.displayName = N.Image?.displayName || "AvatarImage";
|
|
269
|
+
var pt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(N.Fallback, {
|
|
266
270
|
ref: n,
|
|
267
|
-
className:
|
|
271
|
+
className: J("bg-muted flex h-full w-full items-center justify-center rounded-full", e),
|
|
268
272
|
...t
|
|
269
273
|
}));
|
|
270
|
-
|
|
274
|
+
pt.displayName = N.Fallback?.displayName || "AvatarFallback";
|
|
271
275
|
//#endregion
|
|
272
276
|
//#region src/badge.tsx
|
|
273
|
-
var
|
|
277
|
+
var mt = j("flex-row items-center rounded-md border px-2 py-0.5", {
|
|
274
278
|
variants: { variant: {
|
|
275
279
|
default: "border-transparent bg-primary",
|
|
276
280
|
secondary: "border-transparent bg-secondary",
|
|
@@ -278,7 +282,7 @@ var pt = A("flex-row items-center rounded-md border px-2 py-0.5", {
|
|
|
278
282
|
outline: "border-border bg-transparent"
|
|
279
283
|
} },
|
|
280
284
|
defaultVariants: { variant: "default" }
|
|
281
|
-
}),
|
|
285
|
+
}), ht = j("text-xs font-semibold", {
|
|
282
286
|
variants: { variant: {
|
|
283
287
|
default: "text-primary-foreground",
|
|
284
288
|
secondary: "text-secondary-foreground",
|
|
@@ -287,16 +291,16 @@ var pt = A("flex-row items-center rounded-md border px-2 py-0.5", {
|
|
|
287
291
|
} },
|
|
288
292
|
defaultVariants: { variant: "default" }
|
|
289
293
|
});
|
|
290
|
-
function
|
|
294
|
+
function gt({ className: e, textClassName: t, variant: n, children: r, ...i }) {
|
|
291
295
|
return /* @__PURE__ */ g(m, {
|
|
292
|
-
className:
|
|
296
|
+
className: J(mt({ variant: n }), e),
|
|
293
297
|
...i,
|
|
294
|
-
children:
|
|
298
|
+
children: q(r, d, { className: J(ht({ variant: n }), t) })
|
|
295
299
|
});
|
|
296
300
|
}
|
|
297
301
|
//#endregion
|
|
298
302
|
//#region src/text.tsx
|
|
299
|
-
var
|
|
303
|
+
var _t = e.createContext(void 0), vt = j("text-foreground", {
|
|
300
304
|
variants: { variant: {
|
|
301
305
|
h1: "text-4xl font-extrabold tracking-tight",
|
|
302
306
|
h2: "text-3xl font-semibold tracking-tight",
|
|
@@ -311,7 +315,7 @@ var gt = e.createContext(void 0), _t = A("text-foreground", {
|
|
|
311
315
|
defaultVariants: { variant: "body" }
|
|
312
316
|
}), X = e.forwardRef(({ className: e, variant: t = "body", children: n, ...r }, i) => /* @__PURE__ */ g(d, {
|
|
313
317
|
ref: i,
|
|
314
|
-
className:
|
|
318
|
+
className: J(vt({
|
|
315
319
|
variant: t,
|
|
316
320
|
className: e
|
|
317
321
|
})),
|
|
@@ -321,116 +325,116 @@ var gt = e.createContext(void 0), _t = A("text-foreground", {
|
|
|
321
325
|
X.displayName = "Text";
|
|
322
326
|
//#endregion
|
|
323
327
|
//#region src/breadcrumb.tsx
|
|
324
|
-
var
|
|
328
|
+
var yt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(m, {
|
|
325
329
|
ref: r,
|
|
326
330
|
"aria-label": "breadcrumb",
|
|
327
|
-
className:
|
|
331
|
+
className: J("flex flex-row", e),
|
|
328
332
|
...n,
|
|
329
333
|
children: t
|
|
330
334
|
}));
|
|
331
|
-
|
|
332
|
-
var
|
|
335
|
+
yt.displayName = "Breadcrumb";
|
|
336
|
+
var bt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(m, {
|
|
333
337
|
ref: r,
|
|
334
|
-
className:
|
|
338
|
+
className: J("text-muted-foreground flex flex-row flex-wrap items-center gap-1.5 break-words sm:gap-2.5", e),
|
|
335
339
|
...n,
|
|
336
340
|
children: t
|
|
337
341
|
}));
|
|
338
|
-
|
|
339
|
-
var
|
|
342
|
+
bt.displayName = "BreadcrumbList";
|
|
343
|
+
var xt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(m, {
|
|
340
344
|
ref: r,
|
|
341
|
-
className:
|
|
345
|
+
className: J("flex flex-row items-center gap-1.5", e),
|
|
342
346
|
...n,
|
|
343
347
|
children: t
|
|
344
348
|
}));
|
|
345
|
-
|
|
346
|
-
var
|
|
349
|
+
xt.displayName = "BreadcrumbItem";
|
|
350
|
+
var St = e.forwardRef(({ asChild: e, className: t, children: n, onPress: r, ...i }, a) => /* @__PURE__ */ g(e ? De : c, {
|
|
347
351
|
ref: a,
|
|
348
352
|
onPress: r,
|
|
349
|
-
className:
|
|
353
|
+
className: J("hover:text-foreground active:text-foreground flex flex-row items-center transition-colors", t),
|
|
350
354
|
...i,
|
|
351
|
-
children:
|
|
355
|
+
children: q(n, X, { className: "text-muted-foreground hover:text-foreground text-sm font-medium" })
|
|
352
356
|
}));
|
|
353
|
-
|
|
354
|
-
var
|
|
357
|
+
St.displayName = "BreadcrumbLink";
|
|
358
|
+
var Ct = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(m, {
|
|
355
359
|
ref: r,
|
|
356
360
|
role: "link",
|
|
357
361
|
"aria-disabled": !0,
|
|
358
362
|
"aria-current": "page",
|
|
359
|
-
className:
|
|
363
|
+
className: J("flex flex-row items-center", e),
|
|
360
364
|
...n,
|
|
361
|
-
children:
|
|
365
|
+
children: q(t, X, { className: "text-foreground text-sm font-normal" })
|
|
362
366
|
}));
|
|
363
|
-
|
|
364
|
-
var
|
|
367
|
+
Ct.displayName = "BreadcrumbPage";
|
|
368
|
+
var wt = ({ children: e, className: t, ...n }) => /* @__PURE__ */ g(m, {
|
|
365
369
|
role: "presentation",
|
|
366
370
|
"aria-hidden": !0,
|
|
367
|
-
className:
|
|
371
|
+
className: J("flex flex-row items-center justify-center", t),
|
|
368
372
|
...n,
|
|
369
373
|
children: e ?? /* @__PURE__ */ g(T, {
|
|
370
374
|
size: 14,
|
|
371
375
|
className: "text-muted-foreground"
|
|
372
376
|
})
|
|
373
377
|
});
|
|
374
|
-
|
|
375
|
-
var
|
|
378
|
+
wt.displayName = "BreadcrumbSeparator";
|
|
379
|
+
var Tt = ({ className: e, children: t, ...n }) => /* @__PURE__ */ g(m, {
|
|
376
380
|
role: "presentation",
|
|
377
381
|
"aria-hidden": !0,
|
|
378
|
-
className:
|
|
382
|
+
className: J("flex h-9 w-9 flex-row items-center justify-center", e),
|
|
379
383
|
...n,
|
|
380
|
-
children: t ?? /* @__PURE__ */ g(
|
|
384
|
+
children: t ?? /* @__PURE__ */ g(oe, {
|
|
381
385
|
size: 14,
|
|
382
386
|
className: "text-muted-foreground"
|
|
383
387
|
})
|
|
384
388
|
});
|
|
385
|
-
|
|
389
|
+
Tt.displayName = "BreadcrumbEllipsis";
|
|
386
390
|
//#endregion
|
|
387
391
|
//#region src/calendar.tsx
|
|
388
|
-
var
|
|
392
|
+
var Et = ({ className: e }) => /* @__PURE__ */ g(m, { className: e }), Dt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(m, {
|
|
389
393
|
ref: n,
|
|
390
|
-
className:
|
|
394
|
+
className: J("border-border bg-card rounded-xl border shadow-sm", e),
|
|
391
395
|
...t
|
|
392
396
|
}));
|
|
393
|
-
|
|
394
|
-
var
|
|
397
|
+
Dt.displayName = "Card";
|
|
398
|
+
var Ot = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(m, {
|
|
395
399
|
ref: n,
|
|
396
|
-
className:
|
|
400
|
+
className: J("flex flex-col space-y-1.5 p-6", e),
|
|
397
401
|
...t
|
|
398
402
|
}));
|
|
399
|
-
|
|
400
|
-
var
|
|
403
|
+
Ot.displayName = "CardHeader";
|
|
404
|
+
var kt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(d, {
|
|
401
405
|
ref: n,
|
|
402
|
-
className:
|
|
406
|
+
className: J("text-card-foreground text-lg leading-none font-semibold tracking-tight", e),
|
|
403
407
|
...t
|
|
404
408
|
}));
|
|
405
|
-
|
|
406
|
-
var
|
|
409
|
+
kt.displayName = "CardTitle";
|
|
410
|
+
var At = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(d, {
|
|
407
411
|
ref: n,
|
|
408
|
-
className:
|
|
412
|
+
className: J("text-muted-foreground text-sm", e),
|
|
409
413
|
...t
|
|
410
414
|
}));
|
|
411
|
-
|
|
412
|
-
var
|
|
415
|
+
At.displayName = "CardDescription";
|
|
416
|
+
var jt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(m, {
|
|
413
417
|
ref: n,
|
|
414
|
-
className:
|
|
418
|
+
className: J("p-6 pt-0", e),
|
|
415
419
|
...t,
|
|
416
|
-
children:
|
|
420
|
+
children: q(t.children, d, { className: "text-sm text-card-foreground" })
|
|
417
421
|
}));
|
|
418
|
-
|
|
419
|
-
var
|
|
422
|
+
jt.displayName = "CardContent";
|
|
423
|
+
var Mt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(m, {
|
|
420
424
|
ref: n,
|
|
421
|
-
className:
|
|
425
|
+
className: J("flex flex-row items-center p-6 pt-0", e),
|
|
422
426
|
...t
|
|
423
427
|
}));
|
|
424
|
-
|
|
428
|
+
Mt.displayName = "CardFooter";
|
|
425
429
|
//#endregion
|
|
426
430
|
//#region src/carousel.tsx
|
|
427
|
-
var
|
|
428
|
-
function
|
|
429
|
-
let t = e.useContext(
|
|
431
|
+
var Nt = e.createContext(null);
|
|
432
|
+
function Pt() {
|
|
433
|
+
let t = e.useContext(Nt);
|
|
430
434
|
if (!t) throw Error("useCarousel must be used within a <Carousel />");
|
|
431
435
|
return t;
|
|
432
436
|
}
|
|
433
|
-
var
|
|
437
|
+
var Ft = e.forwardRef(({ children: t, className: n, opts: r, orientation: a = "horizontal", setApi: o, plugins: s, ...c }, l) => {
|
|
434
438
|
let u = e.useRef(null), [d, f] = e.useState(!0), [p, h] = e.useState(!1), [_, v] = e.useState(i.get("window").width), [y, b] = e.useState(0), x = e.useCallback(() => {
|
|
435
439
|
u.current?.scrollTo({
|
|
436
440
|
x: (y + 1) * _,
|
|
@@ -457,7 +461,7 @@ var Nt = e.forwardRef(({ children: t, className: n, opts: r, orientation: a = "h
|
|
|
457
461
|
S,
|
|
458
462
|
d,
|
|
459
463
|
p
|
|
460
|
-
]), /* @__PURE__ */ g(
|
|
464
|
+
]), /* @__PURE__ */ g(Nt.Provider, {
|
|
461
465
|
value: {
|
|
462
466
|
orientation: a,
|
|
463
467
|
scrollRef: u,
|
|
@@ -470,15 +474,15 @@ var Nt = e.forwardRef(({ children: t, className: n, opts: r, orientation: a = "h
|
|
|
470
474
|
},
|
|
471
475
|
children: /* @__PURE__ */ g(m, {
|
|
472
476
|
ref: l,
|
|
473
|
-
className:
|
|
477
|
+
className: J("relative", n),
|
|
474
478
|
...c,
|
|
475
479
|
children: t
|
|
476
480
|
})
|
|
477
481
|
});
|
|
478
482
|
});
|
|
479
|
-
|
|
480
|
-
var
|
|
481
|
-
let { scrollRef: a, orientation: o } =
|
|
483
|
+
Ft.displayName = "Carousel";
|
|
484
|
+
var It = e.forwardRef(({ children: e, className: t, ...n }, r) => {
|
|
485
|
+
let { scrollRef: a, orientation: o } = Pt();
|
|
482
486
|
return /* @__PURE__ */ g(m, {
|
|
483
487
|
className: "overflow-hidden",
|
|
484
488
|
children: /* @__PURE__ */ g(l, {
|
|
@@ -489,33 +493,33 @@ var Pt = e.forwardRef(({ children: e, className: t, ...n }, r) => {
|
|
|
489
493
|
pagingEnabled: !0,
|
|
490
494
|
snapToInterval: o === "horizontal" ? i.get("window").width : void 0,
|
|
491
495
|
decelerationRate: "fast",
|
|
492
|
-
className:
|
|
496
|
+
className: J("flex", o === "horizontal" ? "flex-row" : "flex-col", t),
|
|
493
497
|
...n,
|
|
494
498
|
children: e
|
|
495
499
|
})
|
|
496
500
|
});
|
|
497
501
|
});
|
|
498
|
-
|
|
499
|
-
var
|
|
500
|
-
let { orientation: i, setItemWidth: a } =
|
|
502
|
+
It.displayName = "CarouselContent";
|
|
503
|
+
var Lt = e.forwardRef(({ children: e, className: t, ...n }, r) => {
|
|
504
|
+
let { orientation: i, setItemWidth: a } = Pt();
|
|
501
505
|
return /* @__PURE__ */ g(m, {
|
|
502
506
|
ref: r,
|
|
503
507
|
onLayout: (e) => {
|
|
504
508
|
i === "horizontal" && a(e.nativeEvent.layout.width);
|
|
505
509
|
},
|
|
506
|
-
className:
|
|
510
|
+
className: J("min-w-0 shrink-0 grow-0 basis-full", t),
|
|
507
511
|
...n,
|
|
508
512
|
children: e
|
|
509
513
|
});
|
|
510
514
|
});
|
|
511
|
-
|
|
512
|
-
var
|
|
513
|
-
let { orientation: a, scrollPrev: o, canScrollPrev: s } =
|
|
515
|
+
Lt.displayName = "CarouselItem";
|
|
516
|
+
var Rt = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon", ...r }, i) => {
|
|
517
|
+
let { orientation: a, scrollPrev: o, canScrollPrev: s } = Pt();
|
|
514
518
|
return /* @__PURE__ */ g(Y, {
|
|
515
519
|
ref: i,
|
|
516
520
|
variant: t,
|
|
517
521
|
size: n,
|
|
518
|
-
className:
|
|
522
|
+
className: J("absolute h-8 w-8 rounded-full", a === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", e),
|
|
519
523
|
disabled: !s,
|
|
520
524
|
onPress: o,
|
|
521
525
|
...r,
|
|
@@ -525,14 +529,14 @@ var It = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon",
|
|
|
525
529
|
})
|
|
526
530
|
});
|
|
527
531
|
});
|
|
528
|
-
|
|
529
|
-
var
|
|
530
|
-
let { orientation: a, scrollNext: o, canScrollNext: s } =
|
|
532
|
+
Rt.displayName = "CarouselPrevious";
|
|
533
|
+
var zt = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon", ...r }, i) => {
|
|
534
|
+
let { orientation: a, scrollNext: o, canScrollNext: s } = Pt();
|
|
531
535
|
return /* @__PURE__ */ g(Y, {
|
|
532
536
|
ref: i,
|
|
533
537
|
variant: t,
|
|
534
538
|
size: n,
|
|
535
|
-
className:
|
|
539
|
+
className: J("absolute h-8 w-8 rounded-full", a === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", e),
|
|
536
540
|
disabled: !s,
|
|
537
541
|
onPress: o,
|
|
538
542
|
...r,
|
|
@@ -542,18 +546,18 @@ var Lt = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon",
|
|
|
542
546
|
})
|
|
543
547
|
});
|
|
544
548
|
});
|
|
545
|
-
|
|
549
|
+
zt.displayName = "CarouselNext";
|
|
546
550
|
//#endregion
|
|
547
551
|
//#region src/chart.tsx
|
|
548
|
-
var
|
|
552
|
+
var Bt = ({ children: e, className: t }) => /* @__PURE__ */ g(m, {
|
|
549
553
|
className: t,
|
|
550
554
|
children: e
|
|
551
|
-
}),
|
|
555
|
+
}), Vt = ({ className: e }) => /* @__PURE__ */ g(m, { className: e }), Ht = ({ className: e }) => /* @__PURE__ */ g(m, { className: e }), Ut = ({ children: e }) => /* @__PURE__ */ g(h, { children: e }), Wt = ({ children: e }) => /* @__PURE__ */ g(h, { children: e }), Gt = () => null, Kt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(Oe.Root, {
|
|
552
556
|
ref: n,
|
|
553
|
-
className:
|
|
557
|
+
className: J("web:peer native:h-[20] native:w-[20] native:rounded border-primary web:ring-offset-background web:focus-visible:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 h-4 w-4 shrink-0 rounded-sm border disabled:cursor-not-allowed disabled:opacity-50", t.checked && "bg-primary", e),
|
|
554
558
|
...t,
|
|
555
|
-
children: /* @__PURE__ */ g(
|
|
556
|
-
className:
|
|
559
|
+
children: /* @__PURE__ */ g(Oe.Indicator, {
|
|
560
|
+
className: J("h-full w-full items-center justify-center"),
|
|
557
561
|
children: /* @__PURE__ */ g(C, {
|
|
558
562
|
size: 12,
|
|
559
563
|
strokeWidth: s.OS === "web" ? 2.5 : 3.5,
|
|
@@ -561,360 +565,360 @@ var Rt = ({ children: e, className: t }) => /* @__PURE__ */ g(m, {
|
|
|
561
565
|
})
|
|
562
566
|
})
|
|
563
567
|
}));
|
|
564
|
-
|
|
568
|
+
Kt.displayName = Oe.Root?.displayName || "Checkbox";
|
|
565
569
|
//#endregion
|
|
566
570
|
//#region src/collapsible.tsx
|
|
567
|
-
var
|
|
571
|
+
var qt = ke.Root, Jt = ke.Trigger, Yt = ke.Content, Xt = ({ children: e, className: t }) => /* @__PURE__ */ g(m, {
|
|
568
572
|
className: t,
|
|
569
|
-
children:
|
|
570
|
-
}),
|
|
573
|
+
children: q(e)
|
|
574
|
+
}), Zt = ({ children: e }) => /* @__PURE__ */ g(h, { children: e }), Qt = ({ className: e }) => /* @__PURE__ */ g(m, { className: e }), $t = ({ children: e, className: t }) => /* @__PURE__ */ g(m, {
|
|
571
575
|
className: t,
|
|
572
|
-
children:
|
|
573
|
-
}),
|
|
576
|
+
children: q(e)
|
|
577
|
+
}), en = ({ children: e, className: t }) => /* @__PURE__ */ g(m, {
|
|
574
578
|
className: t,
|
|
575
|
-
children:
|
|
576
|
-
}),
|
|
579
|
+
children: q(e)
|
|
580
|
+
}), tn = ({ children: e, className: t }) => /* @__PURE__ */ g(m, {
|
|
577
581
|
className: t,
|
|
578
|
-
children:
|
|
579
|
-
}),
|
|
582
|
+
children: q(e)
|
|
583
|
+
}), nn = ({ children: e, className: t }) => /* @__PURE__ */ g(m, {
|
|
580
584
|
className: t,
|
|
581
|
-
children:
|
|
582
|
-
}),
|
|
585
|
+
children: q(e)
|
|
586
|
+
}), rn = ({ className: e }) => /* @__PURE__ */ g(m, { className: e }), an = ({ children: e, className: t }) => /* @__PURE__ */ g(m, {
|
|
583
587
|
className: t,
|
|
584
|
-
children:
|
|
585
|
-
}),
|
|
588
|
+
children: q(e)
|
|
589
|
+
}), on = P.Root, sn = P.Trigger, cn = P.Portal, ln = P.Group, un = P.RadioGroup, dn = P.Sub, fn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(P.Overlay, {
|
|
586
590
|
style: s.OS === "web" ? void 0 : u.absoluteFill,
|
|
587
591
|
ref: n,
|
|
588
592
|
...t,
|
|
589
|
-
children: /* @__PURE__ */ g(
|
|
590
|
-
entering:
|
|
591
|
-
exiting:
|
|
592
|
-
className:
|
|
593
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
594
|
+
entering: O.duration(100),
|
|
595
|
+
exiting: k.duration(100),
|
|
596
|
+
className: J("absolute inset-0 z-50 bg-black/30", e)
|
|
593
597
|
})
|
|
594
598
|
}));
|
|
595
|
-
|
|
596
|
-
var
|
|
599
|
+
fn.displayName = "ContextMenuOverlay";
|
|
600
|
+
var pn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ _(cn, { children: [/* @__PURE__ */ g(fn, {}), /* @__PURE__ */ g(P.Content, {
|
|
597
601
|
ref: r,
|
|
598
|
-
className:
|
|
602
|
+
className: J("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
599
603
|
...n,
|
|
600
604
|
children: t
|
|
601
605
|
})] }));
|
|
602
|
-
|
|
603
|
-
var
|
|
606
|
+
pn.displayName = "ContextMenuContent";
|
|
607
|
+
var mn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(P.Item, {
|
|
604
608
|
ref: i,
|
|
605
|
-
className:
|
|
609
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
|
|
606
610
|
...r,
|
|
607
|
-
children:
|
|
611
|
+
children: q(t, X)
|
|
608
612
|
}));
|
|
609
|
-
|
|
610
|
-
var
|
|
613
|
+
mn.displayName = "ContextMenuItem";
|
|
614
|
+
var hn = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ _(P.CheckboxItem, {
|
|
611
615
|
ref: a,
|
|
612
616
|
checked: !!n,
|
|
613
617
|
onCheckedChange: r || (() => {}),
|
|
614
|
-
className:
|
|
618
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
|
|
615
619
|
...i,
|
|
616
620
|
children: [/* @__PURE__ */ g(m, {
|
|
617
621
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
618
|
-
children: /* @__PURE__ */ g(
|
|
622
|
+
children: /* @__PURE__ */ g(P.ItemIndicator, { children: /* @__PURE__ */ g(C, {
|
|
619
623
|
size: 14,
|
|
620
624
|
className: "text-foreground"
|
|
621
625
|
}) })
|
|
622
|
-
}),
|
|
626
|
+
}), q(t, X)]
|
|
623
627
|
}));
|
|
624
|
-
|
|
625
|
-
var
|
|
628
|
+
hn.displayName = "ContextMenuCheckboxItem";
|
|
629
|
+
var gn = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ _(P.RadioItem, {
|
|
626
630
|
ref: i,
|
|
627
631
|
value: n,
|
|
628
|
-
className:
|
|
632
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
|
|
629
633
|
...r,
|
|
630
634
|
children: [/* @__PURE__ */ g(m, {
|
|
631
635
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
632
|
-
children: /* @__PURE__ */ g(
|
|
636
|
+
children: /* @__PURE__ */ g(P.ItemIndicator, { children: /* @__PURE__ */ g(E, {
|
|
633
637
|
size: 8,
|
|
634
638
|
className: "text-foreground fill-current"
|
|
635
639
|
}) })
|
|
636
|
-
}),
|
|
640
|
+
}), q(t, X)]
|
|
637
641
|
}));
|
|
638
|
-
|
|
639
|
-
var
|
|
642
|
+
gn.displayName = "ContextMenuRadioItem";
|
|
643
|
+
var _n = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(P.Label, {
|
|
640
644
|
ref: i,
|
|
641
|
-
className:
|
|
645
|
+
className: J("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
|
|
642
646
|
...r,
|
|
643
|
-
children:
|
|
647
|
+
children: q(t, X)
|
|
644
648
|
}));
|
|
645
|
-
|
|
646
|
-
var
|
|
649
|
+
_n.displayName = "ContextMenuLabel";
|
|
650
|
+
var vn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(P.Separator, {
|
|
647
651
|
ref: n,
|
|
648
|
-
className:
|
|
652
|
+
className: J("bg-border -mx-1 my-1 h-px", e),
|
|
649
653
|
...t
|
|
650
654
|
}));
|
|
651
|
-
|
|
652
|
-
var
|
|
653
|
-
className:
|
|
655
|
+
vn.displayName = "ContextMenuSeparator";
|
|
656
|
+
var yn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ g(X, {
|
|
657
|
+
className: J("text-muted-foreground ml-auto text-xs tracking-widest", e),
|
|
654
658
|
...n,
|
|
655
659
|
children: t
|
|
656
660
|
});
|
|
657
|
-
|
|
658
|
-
var
|
|
661
|
+
yn.displayName = "ContextMenuShortcut";
|
|
662
|
+
var bn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ _(P.SubTrigger, {
|
|
659
663
|
ref: i,
|
|
660
|
-
className:
|
|
664
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
|
|
661
665
|
...r,
|
|
662
666
|
children: [/* @__PURE__ */ g(m, {
|
|
663
667
|
className: "flex flex-row items-center gap-1.5",
|
|
664
|
-
children:
|
|
668
|
+
children: q(t, X)
|
|
665
669
|
}), /* @__PURE__ */ g(T, {
|
|
666
670
|
size: 14,
|
|
667
671
|
className: "text-foreground ml-auto"
|
|
668
672
|
})]
|
|
669
673
|
}));
|
|
670
|
-
|
|
671
|
-
var
|
|
674
|
+
bn.displayName = "ContextMenuSubTrigger";
|
|
675
|
+
var xn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(P.SubContent, {
|
|
672
676
|
ref: r,
|
|
673
|
-
className:
|
|
677
|
+
className: J("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
674
678
|
...n,
|
|
675
679
|
children: t
|
|
676
680
|
}));
|
|
677
|
-
|
|
681
|
+
xn.displayName = "ContextMenuSubContent";
|
|
678
682
|
//#endregion
|
|
679
683
|
//#region src/dialog.tsx
|
|
680
|
-
var
|
|
684
|
+
var Sn = F.Root, Cn = F.Trigger, wn = F.Portal, Tn = F.Close, En = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(F.Overlay, {
|
|
681
685
|
style: u.absoluteFill,
|
|
682
686
|
asChild: !0,
|
|
683
687
|
ref: n,
|
|
684
688
|
...t,
|
|
685
|
-
children: /* @__PURE__ */ g(
|
|
686
|
-
entering:
|
|
687
|
-
exiting:
|
|
688
|
-
className:
|
|
689
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
690
|
+
entering: O.duration(150),
|
|
691
|
+
exiting: k.duration(150),
|
|
692
|
+
className: J("z-50 flex items-center justify-center bg-black/80 p-2", e)
|
|
689
693
|
})
|
|
690
694
|
}));
|
|
691
|
-
|
|
692
|
-
var
|
|
695
|
+
En.displayName = F.Overlay?.displayName || "DialogOverlay";
|
|
696
|
+
var Dn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassName: r, overlayStyle: i, ...a }, o) => /* @__PURE__ */ _(wn, {
|
|
693
697
|
hostName: n,
|
|
694
|
-
children: [/* @__PURE__ */ g(
|
|
698
|
+
children: [/* @__PURE__ */ g(En, {
|
|
695
699
|
className: r,
|
|
696
700
|
style: i
|
|
697
|
-
}), /* @__PURE__ */ g(
|
|
701
|
+
}), /* @__PURE__ */ g(F.Content, {
|
|
698
702
|
ref: o,
|
|
699
703
|
asChild: !0,
|
|
700
704
|
...a,
|
|
701
|
-
children: /* @__PURE__ */ _(
|
|
702
|
-
entering:
|
|
703
|
-
exiting:
|
|
704
|
-
className:
|
|
705
|
-
children: [t, /* @__PURE__ */ _(
|
|
705
|
+
children: /* @__PURE__ */ _(D.View, {
|
|
706
|
+
entering: O.duration(150),
|
|
707
|
+
exiting: k.duration(150),
|
|
708
|
+
className: J("border-border bg-background z-50 w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e),
|
|
709
|
+
children: [t, /* @__PURE__ */ _(F.Close, {
|
|
706
710
|
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none",
|
|
707
|
-
children: [/* @__PURE__ */ g(
|
|
711
|
+
children: [/* @__PURE__ */ g(ue, {
|
|
708
712
|
size: 18,
|
|
709
713
|
className: "text-muted-foreground"
|
|
710
714
|
}), /* @__PURE__ */ g(m, {
|
|
711
715
|
className: "sr-only",
|
|
712
|
-
children: /* @__PURE__ */ g(
|
|
716
|
+
children: /* @__PURE__ */ g(F.Title, { children: "Close" })
|
|
713
717
|
})]
|
|
714
718
|
})]
|
|
715
719
|
})
|
|
716
720
|
})]
|
|
717
721
|
}));
|
|
718
|
-
|
|
719
|
-
var
|
|
720
|
-
className:
|
|
722
|
+
Dn.displayName = F.Content?.displayName || "DialogContent";
|
|
723
|
+
var On = ({ className: e, ...t }) => /* @__PURE__ */ g(m, {
|
|
724
|
+
className: J("flex flex-col gap-1.5 text-center sm:text-left", e),
|
|
721
725
|
...t
|
|
722
726
|
});
|
|
723
|
-
|
|
724
|
-
var
|
|
725
|
-
className:
|
|
727
|
+
On.displayName = "DialogHeader";
|
|
728
|
+
var kn = ({ className: e, ...t }) => /* @__PURE__ */ g(m, {
|
|
729
|
+
className: J("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
|
|
726
730
|
...t
|
|
727
731
|
});
|
|
728
|
-
|
|
729
|
-
var
|
|
732
|
+
kn.displayName = "DialogFooter";
|
|
733
|
+
var An = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(F.Title, {
|
|
730
734
|
ref: n,
|
|
731
|
-
className:
|
|
735
|
+
className: J("native:text-xl text-foreground text-lg leading-none font-semibold tracking-tight", e),
|
|
732
736
|
...t
|
|
733
737
|
}));
|
|
734
|
-
|
|
735
|
-
var
|
|
738
|
+
An.displayName = F.Title?.displayName || "DialogTitle";
|
|
739
|
+
var jn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(F.Description, {
|
|
736
740
|
ref: n,
|
|
737
|
-
className:
|
|
741
|
+
className: J("native:text-base text-muted-foreground text-sm", e),
|
|
738
742
|
...t
|
|
739
743
|
}));
|
|
740
|
-
|
|
744
|
+
jn.displayName = F.Description?.displayName || "DialogDescription";
|
|
741
745
|
//#endregion
|
|
742
746
|
//#region src/drawer.tsx
|
|
743
|
-
var
|
|
744
|
-
|
|
745
|
-
var
|
|
747
|
+
var Mn = ({ children: e }) => /* @__PURE__ */ g(F.Root, { children: e });
|
|
748
|
+
Mn.displayName = "Drawer";
|
|
749
|
+
var Nn = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ g(F.Trigger, {
|
|
746
750
|
ref: r,
|
|
747
751
|
className: t,
|
|
748
752
|
...n,
|
|
749
|
-
children:
|
|
753
|
+
children: q(e)
|
|
750
754
|
}));
|
|
751
|
-
|
|
752
|
-
var
|
|
755
|
+
Nn.displayName = "DrawerTrigger";
|
|
756
|
+
var Pn = F.Portal, Fn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(F.Overlay, {
|
|
753
757
|
style: u.absoluteFill,
|
|
754
758
|
asChild: !0,
|
|
755
759
|
ref: n,
|
|
756
760
|
...t,
|
|
757
|
-
children: /* @__PURE__ */ g(
|
|
758
|
-
entering:
|
|
759
|
-
exiting:
|
|
760
|
-
className:
|
|
761
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
762
|
+
entering: O.duration(150),
|
|
763
|
+
exiting: k.duration(150),
|
|
764
|
+
className: J("z-50 bg-black/80", e)
|
|
761
765
|
})
|
|
762
766
|
}));
|
|
763
|
-
|
|
764
|
-
var
|
|
767
|
+
Fn.displayName = "DrawerOverlay";
|
|
768
|
+
var In = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassName: r, overlayStyle: i, ...a }, o) => /* @__PURE__ */ _(Pn, {
|
|
765
769
|
hostName: n,
|
|
766
|
-
children: [/* @__PURE__ */ g(
|
|
770
|
+
children: [/* @__PURE__ */ g(Fn, {
|
|
767
771
|
className: r,
|
|
768
772
|
style: i
|
|
769
|
-
}), /* @__PURE__ */ g(
|
|
773
|
+
}), /* @__PURE__ */ g(F.Content, {
|
|
770
774
|
ref: o,
|
|
771
775
|
asChild: !0,
|
|
772
776
|
...a,
|
|
773
|
-
children: /* @__PURE__ */ _(
|
|
774
|
-
entering:
|
|
775
|
-
exiting:
|
|
776
|
-
className:
|
|
777
|
+
children: /* @__PURE__ */ _(D.View, {
|
|
778
|
+
entering: he.duration(200),
|
|
779
|
+
exiting: _e.duration(200),
|
|
780
|
+
className: J("border-border bg-background fixed inset-x-0 bottom-0 z-50 flex h-auto flex-col rounded-t-xl border p-6 pb-10 shadow-lg", e),
|
|
777
781
|
children: [/* @__PURE__ */ g(m, { className: "bg-muted mx-auto mb-4 h-1.5 w-12 rounded-full" }), t]
|
|
778
782
|
})
|
|
779
783
|
})]
|
|
780
784
|
}));
|
|
781
|
-
|
|
782
|
-
var
|
|
783
|
-
className:
|
|
785
|
+
In.displayName = "DrawerContent";
|
|
786
|
+
var Ln = ({ className: e, children: t, ...n }) => /* @__PURE__ */ g(m, {
|
|
787
|
+
className: J("flex flex-col gap-1.5 text-center sm:text-left", e),
|
|
784
788
|
...n,
|
|
785
|
-
children:
|
|
789
|
+
children: q(t)
|
|
786
790
|
});
|
|
787
|
-
|
|
788
|
-
var
|
|
789
|
-
className:
|
|
791
|
+
Ln.displayName = "DrawerHeader";
|
|
792
|
+
var Rn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ g(m, {
|
|
793
|
+
className: J("mt-auto flex flex-col gap-2", e),
|
|
790
794
|
...n,
|
|
791
|
-
children:
|
|
795
|
+
children: q(t)
|
|
792
796
|
});
|
|
793
|
-
|
|
794
|
-
var
|
|
797
|
+
Rn.displayName = "DrawerFooter";
|
|
798
|
+
var zn = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ g(F.Close, {
|
|
795
799
|
ref: r,
|
|
796
800
|
className: t,
|
|
797
801
|
...n,
|
|
798
|
-
children:
|
|
802
|
+
children: q(e)
|
|
799
803
|
}));
|
|
800
|
-
|
|
801
|
-
var
|
|
804
|
+
zn.displayName = "DrawerClose";
|
|
805
|
+
var Bn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(F.Title, {
|
|
802
806
|
ref: r,
|
|
803
|
-
className:
|
|
807
|
+
className: J("text-foreground text-lg leading-none font-semibold tracking-tight", e),
|
|
804
808
|
...n,
|
|
805
|
-
children:
|
|
809
|
+
children: q(t)
|
|
806
810
|
}));
|
|
807
|
-
|
|
808
|
-
var
|
|
811
|
+
Bn.displayName = "DrawerTitle";
|
|
812
|
+
var Vn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(F.Description, {
|
|
809
813
|
ref: r,
|
|
810
|
-
className:
|
|
814
|
+
className: J("text-muted-foreground text-sm", e),
|
|
811
815
|
...n,
|
|
812
|
-
children:
|
|
816
|
+
children: q(t)
|
|
813
817
|
}));
|
|
814
|
-
|
|
818
|
+
Vn.displayName = "DrawerDescription";
|
|
815
819
|
//#endregion
|
|
816
820
|
//#region src/dropdown-menu.tsx
|
|
817
|
-
var
|
|
821
|
+
var Hn = I.Root, Un = I.Trigger, Wn = I.Portal, Gn = I.Group, Kn = I.RadioGroup, qn = I.Sub, Jn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(I.Overlay, {
|
|
818
822
|
style: s.OS === "web" ? void 0 : u.absoluteFill,
|
|
819
823
|
ref: n,
|
|
820
824
|
...t,
|
|
821
|
-
children: /* @__PURE__ */ g(
|
|
822
|
-
entering:
|
|
823
|
-
exiting:
|
|
824
|
-
className:
|
|
825
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
826
|
+
entering: O.duration(100),
|
|
827
|
+
exiting: k.duration(100),
|
|
828
|
+
className: J("absolute inset-0 z-50 bg-black/30", e)
|
|
825
829
|
})
|
|
826
830
|
}));
|
|
827
|
-
|
|
828
|
-
var
|
|
831
|
+
Jn.displayName = "DropdownMenuOverlay";
|
|
832
|
+
var Yn = e.forwardRef(({ className: e, children: t, side: n, ...r }, i) => {
|
|
829
833
|
let a = n === "left" || n === "right" ? "bottom" : n;
|
|
830
|
-
return /* @__PURE__ */ _(
|
|
834
|
+
return /* @__PURE__ */ _(Wn, { children: [/* @__PURE__ */ g(Jn, {}), /* @__PURE__ */ g(I.Content, {
|
|
831
835
|
ref: i,
|
|
832
836
|
side: a,
|
|
833
|
-
className:
|
|
837
|
+
className: J("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
834
838
|
...r,
|
|
835
839
|
children: t
|
|
836
840
|
})] });
|
|
837
841
|
});
|
|
838
|
-
|
|
839
|
-
var
|
|
842
|
+
Yn.displayName = "DropdownMenuContent";
|
|
843
|
+
var Z = e.forwardRef(({ className: e, children: t, inset: n, onSelect: r, ...i }, a) => /* @__PURE__ */ g(I.Item, {
|
|
840
844
|
ref: a,
|
|
841
845
|
onPress: () => r?.(new Event("select")),
|
|
842
|
-
className:
|
|
846
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
|
|
843
847
|
...i,
|
|
844
|
-
children:
|
|
848
|
+
children: q(t, X)
|
|
845
849
|
}));
|
|
846
|
-
|
|
847
|
-
var
|
|
850
|
+
Z.displayName = "DropdownMenuItem";
|
|
851
|
+
var Xn = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ _(I.CheckboxItem, {
|
|
848
852
|
ref: a,
|
|
849
853
|
checked: !!n,
|
|
850
854
|
onCheckedChange: r || (() => {}),
|
|
851
|
-
className:
|
|
855
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
|
|
852
856
|
...i,
|
|
853
857
|
children: [/* @__PURE__ */ g(m, {
|
|
854
858
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
855
|
-
children: /* @__PURE__ */ g(
|
|
859
|
+
children: /* @__PURE__ */ g(I.ItemIndicator, { children: /* @__PURE__ */ g(C, {
|
|
856
860
|
size: 14,
|
|
857
861
|
className: "text-foreground"
|
|
858
862
|
}) })
|
|
859
|
-
}),
|
|
863
|
+
}), q(t, X)]
|
|
860
864
|
}));
|
|
861
|
-
|
|
862
|
-
var
|
|
865
|
+
Xn.displayName = "DropdownMenuCheckboxItem";
|
|
866
|
+
var Zn = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ _(I.RadioItem, {
|
|
863
867
|
ref: i,
|
|
864
868
|
value: n,
|
|
865
|
-
className:
|
|
869
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
|
|
866
870
|
...r,
|
|
867
871
|
children: [/* @__PURE__ */ g(m, {
|
|
868
872
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
869
|
-
children: /* @__PURE__ */ g(
|
|
873
|
+
children: /* @__PURE__ */ g(I.ItemIndicator, { children: /* @__PURE__ */ g(E, {
|
|
870
874
|
size: 8,
|
|
871
875
|
className: "text-foreground fill-current"
|
|
872
876
|
}) })
|
|
873
|
-
}),
|
|
877
|
+
}), q(t, X)]
|
|
874
878
|
}));
|
|
875
|
-
|
|
876
|
-
var
|
|
879
|
+
Zn.displayName = "DropdownMenuRadioItem";
|
|
880
|
+
var Qn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(I.Label, {
|
|
877
881
|
ref: i,
|
|
878
|
-
className:
|
|
882
|
+
className: J("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
|
|
879
883
|
...r,
|
|
880
|
-
children:
|
|
884
|
+
children: q(t, X)
|
|
881
885
|
}));
|
|
882
|
-
|
|
883
|
-
var
|
|
886
|
+
Qn.displayName = "DropdownMenuLabel";
|
|
887
|
+
var $n = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(I.Separator, {
|
|
884
888
|
ref: n,
|
|
885
|
-
className:
|
|
889
|
+
className: J("bg-border -mx-1 my-1 h-px", e),
|
|
886
890
|
...t
|
|
887
891
|
}));
|
|
888
|
-
|
|
889
|
-
var
|
|
890
|
-
className:
|
|
892
|
+
$n.displayName = "DropdownMenuSeparator";
|
|
893
|
+
var er = ({ className: e, children: t, ...n }) => /* @__PURE__ */ g(X, {
|
|
894
|
+
className: J("text-muted-foreground ml-auto text-xs tracking-widest", e),
|
|
891
895
|
...n,
|
|
892
896
|
children: t
|
|
893
897
|
});
|
|
894
|
-
|
|
895
|
-
var
|
|
898
|
+
er.displayName = "DropdownMenuShortcut";
|
|
899
|
+
var tr = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ _(I.SubTrigger, {
|
|
896
900
|
ref: i,
|
|
897
|
-
className:
|
|
901
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
|
|
898
902
|
...r,
|
|
899
903
|
children: [/* @__PURE__ */ g(m, {
|
|
900
904
|
className: "flex flex-row items-center gap-1.5",
|
|
901
|
-
children:
|
|
905
|
+
children: q(t, X)
|
|
902
906
|
}), /* @__PURE__ */ g(T, {
|
|
903
907
|
size: 14,
|
|
904
908
|
className: "text-foreground ml-auto"
|
|
905
909
|
})]
|
|
906
910
|
}));
|
|
907
|
-
|
|
908
|
-
var
|
|
911
|
+
tr.displayName = "DropdownMenuSubTrigger";
|
|
912
|
+
var nr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(I.SubContent, {
|
|
909
913
|
ref: r,
|
|
910
|
-
className:
|
|
914
|
+
className: J("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
911
915
|
...n,
|
|
912
916
|
children: t
|
|
913
917
|
}));
|
|
914
|
-
|
|
918
|
+
nr.displayName = "DropdownMenuSubContent";
|
|
915
919
|
//#endregion
|
|
916
920
|
//#region src/label.tsx
|
|
917
|
-
var
|
|
921
|
+
var rr = e.forwardRef(({ className: e, onPress: t, onLongPress: n, onPressIn: r, onPressOut: i, ...a }, o) => /* @__PURE__ */ g(Ne.Root, {
|
|
918
922
|
className: "web:cursor-default",
|
|
919
923
|
onPress: t,
|
|
920
924
|
onLongPress: n,
|
|
@@ -922,15 +926,18 @@ var tr = e.forwardRef(({ className: e, onPress: t, onLongPress: n, onPressIn: r,
|
|
|
922
926
|
onPressOut: i,
|
|
923
927
|
children: /* @__PURE__ */ g(Ne.Text, {
|
|
924
928
|
ref: o,
|
|
925
|
-
className:
|
|
929
|
+
className: J("text-foreground native:text-base web:peer-disabled:cursor-not-allowed web:peer-disabled:opacity-70 text-sm leading-none font-medium", e),
|
|
926
930
|
...a
|
|
927
931
|
})
|
|
928
932
|
}));
|
|
929
|
-
|
|
933
|
+
rr.displayName = Ne.Root?.displayName || "Label";
|
|
930
934
|
//#endregion
|
|
931
935
|
//#region src/form.tsx
|
|
932
|
-
var
|
|
933
|
-
|
|
936
|
+
var ir = je, ar = e.createContext(null), or = ({ ...e }) => /* @__PURE__ */ g(ar.Provider, {
|
|
937
|
+
value: { name: e.name },
|
|
938
|
+
children: /* @__PURE__ */ g(Ae, { ...e })
|
|
939
|
+
}), Q = () => {
|
|
940
|
+
let t = e.useContext(ar), n = e.useContext(sr), { getFieldState: r, formState: i } = Me();
|
|
934
941
|
if (!t) throw Error("useFormField should be used within <FormField>");
|
|
935
942
|
if (!n) throw Error("useFormField should be used within <FormItem>");
|
|
936
943
|
let a = r(t.name, i), { id: o } = n;
|
|
@@ -942,31 +949,31 @@ var nr = je, rr = e.createContext(null), ir = () => {
|
|
|
942
949
|
formMessageId: `${o}-form-item-message`,
|
|
943
950
|
...a
|
|
944
951
|
};
|
|
945
|
-
},
|
|
952
|
+
}, sr = e.createContext(null), cr = e.forwardRef(({ className: t, ...n }, r) => {
|
|
946
953
|
let i = e.useId();
|
|
947
|
-
return /* @__PURE__ */ g(
|
|
954
|
+
return /* @__PURE__ */ g(sr.Provider, {
|
|
948
955
|
value: { id: i },
|
|
949
956
|
children: /* @__PURE__ */ g(m, {
|
|
950
957
|
ref: r,
|
|
951
|
-
className:
|
|
958
|
+
className: J("space-y-2", t),
|
|
952
959
|
...n
|
|
953
960
|
})
|
|
954
961
|
});
|
|
955
962
|
});
|
|
956
|
-
|
|
957
|
-
var
|
|
958
|
-
let { error: r, formItemId: i } =
|
|
959
|
-
return /* @__PURE__ */ g(
|
|
963
|
+
cr.displayName = "FormItem";
|
|
964
|
+
var lr = e.forwardRef(({ className: e, ...t }, n) => {
|
|
965
|
+
let { error: r, formItemId: i } = Q();
|
|
966
|
+
return /* @__PURE__ */ g(rr, {
|
|
960
967
|
ref: n,
|
|
961
|
-
className:
|
|
968
|
+
className: J(r && "text-destructive", e),
|
|
962
969
|
nativeID: i,
|
|
963
970
|
...t
|
|
964
971
|
});
|
|
965
972
|
});
|
|
966
|
-
|
|
967
|
-
var
|
|
968
|
-
let { error: n, formItemId: r, formDescriptionId: i, formMessageId: a } =
|
|
969
|
-
return /* @__PURE__ */ g(
|
|
973
|
+
lr.displayName = "FormLabel";
|
|
974
|
+
var ur = e.forwardRef(({ ...e }, t) => {
|
|
975
|
+
let { error: n, formItemId: r, formDescriptionId: i, formMessageId: a } = Q();
|
|
976
|
+
return /* @__PURE__ */ g(Ee.Slot, {
|
|
970
977
|
ref: t,
|
|
971
978
|
nativeID: r,
|
|
972
979
|
"aria-describedby": n ? `${i} ${a}` : `${i}`,
|
|
@@ -974,264 +981,264 @@ var cr = e.forwardRef(({ ...e }, t) => {
|
|
|
974
981
|
...e
|
|
975
982
|
});
|
|
976
983
|
});
|
|
977
|
-
|
|
978
|
-
var
|
|
979
|
-
let { formDescriptionId: r } =
|
|
984
|
+
ur.displayName = "FormControl";
|
|
985
|
+
var dr = e.forwardRef(({ className: e, ...t }, n) => {
|
|
986
|
+
let { formDescriptionId: r } = Q();
|
|
980
987
|
return /* @__PURE__ */ g(d, {
|
|
981
988
|
ref: n,
|
|
982
989
|
nativeID: r,
|
|
983
|
-
className:
|
|
990
|
+
className: J("text-muted-foreground text-[13px]", e),
|
|
984
991
|
...t
|
|
985
992
|
});
|
|
986
993
|
});
|
|
987
|
-
|
|
988
|
-
var
|
|
989
|
-
let { error: i, formMessageId: a } =
|
|
994
|
+
dr.displayName = "FormDescription";
|
|
995
|
+
var fr = e.forwardRef(({ className: e, children: t, ...n }, r) => {
|
|
996
|
+
let { error: i, formMessageId: a } = Q(), o = i ? String(i?.message ?? "") : t;
|
|
990
997
|
return o ? /* @__PURE__ */ g(d, {
|
|
991
998
|
ref: r,
|
|
992
999
|
nativeID: a,
|
|
993
|
-
className:
|
|
1000
|
+
className: J("text-destructive text-[13px] font-medium", e),
|
|
994
1001
|
...n,
|
|
995
1002
|
children: o
|
|
996
1003
|
}) : null;
|
|
997
1004
|
});
|
|
998
|
-
|
|
1005
|
+
fr.displayName = "FormMessage";
|
|
999
1006
|
//#endregion
|
|
1000
1007
|
//#region src/hover-card.tsx
|
|
1001
|
-
var
|
|
1008
|
+
var pr = L.Root, mr = L.Trigger, hr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(L.Portal, { children: /* @__PURE__ */ g(L.Content, {
|
|
1002
1009
|
ref: r,
|
|
1003
|
-
className:
|
|
1010
|
+
className: J("bg-popover text-popover-foreground border-border z-50 w-64 rounded-md border p-4 shadow-md", e),
|
|
1004
1011
|
...n,
|
|
1005
1012
|
children: t
|
|
1006
1013
|
}) }));
|
|
1007
|
-
|
|
1014
|
+
hr.displayName = L.Content?.displayName || "HoverCardContent";
|
|
1008
1015
|
//#endregion
|
|
1009
1016
|
//#region src/input.tsx
|
|
1010
|
-
var
|
|
1017
|
+
var gr = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ g(f, {
|
|
1011
1018
|
ref: r,
|
|
1012
|
-
className:
|
|
1013
|
-
placeholderClassName:
|
|
1019
|
+
className: J("border-input text-foreground placeholder:text-muted-foreground focus:border-ring flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50", e),
|
|
1020
|
+
placeholderClassName: J("text-muted-foreground", t),
|
|
1014
1021
|
...n
|
|
1015
1022
|
}));
|
|
1016
|
-
|
|
1023
|
+
gr.displayName = "Input";
|
|
1017
1024
|
//#endregion
|
|
1018
1025
|
//#region src/menubar.tsx
|
|
1019
|
-
var
|
|
1026
|
+
var _r = e.forwardRef(({ className: t, children: n, value: r, onValueChange: i, ...a }, o) => {
|
|
1020
1027
|
let [s, c] = e.useState(r || ""), l = r === void 0 ? s : r;
|
|
1021
|
-
return /* @__PURE__ */ g(
|
|
1028
|
+
return /* @__PURE__ */ g(R.Root, {
|
|
1022
1029
|
ref: o,
|
|
1023
1030
|
value: l,
|
|
1024
1031
|
onValueChange: (e) => {
|
|
1025
1032
|
c(e), i?.(e || "");
|
|
1026
1033
|
},
|
|
1027
|
-
className:
|
|
1034
|
+
className: J("bg-background border-border flex flex-row items-center space-x-1 rounded-md border p-1 shadow-sm", t),
|
|
1028
1035
|
...a,
|
|
1029
1036
|
children: n
|
|
1030
1037
|
});
|
|
1031
1038
|
});
|
|
1032
|
-
|
|
1033
|
-
var
|
|
1039
|
+
_r.displayName = "Menubar";
|
|
1040
|
+
var vr = R.Menu, yr = R.Portal, br = R.Group, xr = R.RadioGroup, Sr = R.Sub, Cr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(R.Overlay, {
|
|
1034
1041
|
style: s.OS === "web" ? void 0 : u.absoluteFill,
|
|
1035
1042
|
ref: n,
|
|
1036
1043
|
...t,
|
|
1037
|
-
children: /* @__PURE__ */ g(
|
|
1038
|
-
entering:
|
|
1039
|
-
exiting:
|
|
1040
|
-
className:
|
|
1044
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
1045
|
+
entering: O.duration(100),
|
|
1046
|
+
exiting: k.duration(100),
|
|
1047
|
+
className: J("absolute inset-0 z-50 bg-black/30", e)
|
|
1041
1048
|
})
|
|
1042
1049
|
}));
|
|
1043
|
-
|
|
1044
|
-
var
|
|
1050
|
+
Cr.displayName = "MenubarOverlay";
|
|
1051
|
+
var wr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(R.Trigger, {
|
|
1045
1052
|
ref: r,
|
|
1046
|
-
className:
|
|
1053
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none", e),
|
|
1047
1054
|
...n,
|
|
1048
|
-
children:
|
|
1055
|
+
children: q(t, X)
|
|
1049
1056
|
}));
|
|
1050
|
-
|
|
1051
|
-
var
|
|
1057
|
+
wr.displayName = "MenubarTrigger";
|
|
1058
|
+
var Tr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ _(yr, { children: [/* @__PURE__ */ g(Cr, {}), /* @__PURE__ */ g(R.Content, {
|
|
1052
1059
|
ref: r,
|
|
1053
|
-
className:
|
|
1060
|
+
className: J("bg-popover border-border z-50 min-w-[12rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
1054
1061
|
...n,
|
|
1055
1062
|
children: t
|
|
1056
1063
|
})] }));
|
|
1057
|
-
|
|
1058
|
-
var
|
|
1064
|
+
Tr.displayName = "MenubarContent";
|
|
1065
|
+
var Er = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(R.Item, {
|
|
1059
1066
|
ref: i,
|
|
1060
|
-
className:
|
|
1067
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
|
|
1061
1068
|
...r,
|
|
1062
|
-
children:
|
|
1069
|
+
children: q(t, X)
|
|
1063
1070
|
}));
|
|
1064
|
-
|
|
1065
|
-
var
|
|
1071
|
+
Er.displayName = "MenubarItem";
|
|
1072
|
+
var Dr = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ _(R.CheckboxItem, {
|
|
1066
1073
|
ref: a,
|
|
1067
1074
|
checked: !!n,
|
|
1068
1075
|
onCheckedChange: r || (() => {}),
|
|
1069
|
-
className:
|
|
1076
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
|
|
1070
1077
|
...i,
|
|
1071
1078
|
children: [/* @__PURE__ */ g(m, {
|
|
1072
1079
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
1073
|
-
children: /* @__PURE__ */ g(
|
|
1080
|
+
children: /* @__PURE__ */ g(R.ItemIndicator, { children: /* @__PURE__ */ g(C, {
|
|
1074
1081
|
size: 14,
|
|
1075
1082
|
className: "text-foreground"
|
|
1076
1083
|
}) })
|
|
1077
|
-
}),
|
|
1084
|
+
}), q(t, X)]
|
|
1078
1085
|
}));
|
|
1079
|
-
|
|
1080
|
-
var
|
|
1086
|
+
Dr.displayName = "MenubarCheckboxItem";
|
|
1087
|
+
var Or = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ _(R.RadioItem, {
|
|
1081
1088
|
ref: i,
|
|
1082
1089
|
value: n,
|
|
1083
|
-
className:
|
|
1090
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
|
|
1084
1091
|
...r,
|
|
1085
1092
|
children: [/* @__PURE__ */ g(m, {
|
|
1086
1093
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
1087
|
-
children: /* @__PURE__ */ g(
|
|
1094
|
+
children: /* @__PURE__ */ g(R.ItemIndicator, { children: /* @__PURE__ */ g(E, {
|
|
1088
1095
|
size: 8,
|
|
1089
1096
|
className: "text-foreground fill-current"
|
|
1090
1097
|
}) })
|
|
1091
|
-
}),
|
|
1098
|
+
}), q(t, X)]
|
|
1092
1099
|
}));
|
|
1093
|
-
|
|
1094
|
-
var
|
|
1100
|
+
Or.displayName = "MenubarRadioItem";
|
|
1101
|
+
var kr = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(R.Label, {
|
|
1095
1102
|
ref: i,
|
|
1096
|
-
className:
|
|
1103
|
+
className: J("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
|
|
1097
1104
|
...r,
|
|
1098
|
-
children:
|
|
1105
|
+
children: q(t, X)
|
|
1099
1106
|
}));
|
|
1100
|
-
|
|
1101
|
-
var
|
|
1107
|
+
kr.displayName = "MenubarLabel";
|
|
1108
|
+
var Ar = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(R.Separator, {
|
|
1102
1109
|
ref: n,
|
|
1103
|
-
className:
|
|
1110
|
+
className: J("bg-border -mx-1 my-1 h-px", e),
|
|
1104
1111
|
...t
|
|
1105
1112
|
}));
|
|
1106
|
-
|
|
1107
|
-
var
|
|
1108
|
-
className:
|
|
1113
|
+
Ar.displayName = "MenubarSeparator";
|
|
1114
|
+
var jr = ({ className: e, children: t, ...n }) => /* @__PURE__ */ g(X, {
|
|
1115
|
+
className: J("text-muted-foreground ml-auto text-xs tracking-widest", e),
|
|
1109
1116
|
...n,
|
|
1110
1117
|
children: t
|
|
1111
1118
|
});
|
|
1112
|
-
|
|
1113
|
-
var
|
|
1119
|
+
jr.displayName = "MenubarShortcut";
|
|
1120
|
+
var Mr = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ _(R.SubTrigger, {
|
|
1114
1121
|
ref: i,
|
|
1115
|
-
className:
|
|
1122
|
+
className: J("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
|
|
1116
1123
|
...r,
|
|
1117
1124
|
children: [/* @__PURE__ */ g(m, {
|
|
1118
1125
|
className: "flex flex-row items-center gap-1.5",
|
|
1119
|
-
children:
|
|
1126
|
+
children: q(t, X)
|
|
1120
1127
|
}), /* @__PURE__ */ g(T, {
|
|
1121
1128
|
size: 14,
|
|
1122
1129
|
className: "text-foreground ml-auto"
|
|
1123
1130
|
})]
|
|
1124
1131
|
}));
|
|
1125
|
-
|
|
1126
|
-
var
|
|
1132
|
+
Mr.displayName = "MenubarSubTrigger";
|
|
1133
|
+
var Nr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(R.SubContent, {
|
|
1127
1134
|
ref: r,
|
|
1128
|
-
className:
|
|
1135
|
+
className: J("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
1129
1136
|
...n,
|
|
1130
1137
|
children: t
|
|
1131
1138
|
}));
|
|
1132
|
-
|
|
1139
|
+
Nr.displayName = "MenubarSubContent";
|
|
1133
1140
|
//#endregion
|
|
1134
1141
|
//#region src/navigation-menu.tsx
|
|
1135
|
-
var
|
|
1142
|
+
var Pr = e.forwardRef(({ className: e, children: t, value: n, onValueChange: r, dir: i, orientation: a, delayDuration: o, skipDelayDuration: s, ...c }, l) => /* @__PURE__ */ g(z.Root, {
|
|
1136
1143
|
ref: l,
|
|
1137
1144
|
value: n,
|
|
1138
1145
|
onValueChange: r ? (e) => r(e || "") : () => {},
|
|
1139
1146
|
delayDuration: o,
|
|
1140
1147
|
skipDelayDuration: s,
|
|
1141
|
-
className:
|
|
1148
|
+
className: J("relative z-10 flex flex-row items-center justify-center", e),
|
|
1142
1149
|
...c,
|
|
1143
1150
|
children: t
|
|
1144
1151
|
}));
|
|
1145
|
-
|
|
1146
|
-
var
|
|
1152
|
+
Pr.displayName = "NavigationMenu";
|
|
1153
|
+
var Fr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(z.List, {
|
|
1147
1154
|
ref: r,
|
|
1148
|
-
className:
|
|
1155
|
+
className: J("group flex flex-1 list-none flex-row items-center justify-center gap-1", e),
|
|
1149
1156
|
...n,
|
|
1150
1157
|
children: t
|
|
1151
1158
|
}));
|
|
1152
|
-
|
|
1153
|
-
var
|
|
1159
|
+
Fr.displayName = "NavigationMenuList";
|
|
1160
|
+
var Ir = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ g(z.Item, {
|
|
1154
1161
|
ref: i,
|
|
1155
1162
|
value: n || "",
|
|
1156
|
-
className:
|
|
1163
|
+
className: J("relative", e),
|
|
1157
1164
|
...r,
|
|
1158
1165
|
children: t
|
|
1159
1166
|
}));
|
|
1160
|
-
|
|
1161
|
-
var
|
|
1167
|
+
Ir.displayName = "NavigationMenuItem";
|
|
1168
|
+
var Lr = e.forwardRef(({ className: e, children: t, disabled: n, ...r }, i) => /* @__PURE__ */ _(z.Trigger, {
|
|
1162
1169
|
ref: i,
|
|
1163
1170
|
disabled: n,
|
|
1164
|
-
className:
|
|
1171
|
+
className: J("group bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center justify-center gap-1 rounded-md px-4 py-2 text-sm font-medium transition-colors disabled:opacity-50", e),
|
|
1165
1172
|
...r,
|
|
1166
1173
|
children: [/* @__PURE__ */ g(h, { children: t }), /* @__PURE__ */ g(w, {
|
|
1167
1174
|
size: 12,
|
|
1168
1175
|
className: "text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180"
|
|
1169
1176
|
})]
|
|
1170
1177
|
}));
|
|
1171
|
-
|
|
1172
|
-
var
|
|
1178
|
+
Lr.displayName = "NavigationMenuTrigger";
|
|
1179
|
+
var Rr = e.forwardRef(({ className: e, children: t, forceMount: n, ...r }, i) => /* @__PURE__ */ g(z.Portal, { children: /* @__PURE__ */ g(z.Content, {
|
|
1173
1180
|
ref: i,
|
|
1174
1181
|
...r,
|
|
1175
|
-
children: /* @__PURE__ */ g(
|
|
1176
|
-
entering:
|
|
1177
|
-
exiting:
|
|
1178
|
-
className:
|
|
1182
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
1183
|
+
entering: O.duration(150),
|
|
1184
|
+
exiting: k.duration(150),
|
|
1185
|
+
className: J("bg-popover border-border z-50 overflow-hidden rounded-md border p-4 shadow-md", e),
|
|
1179
1186
|
children: t
|
|
1180
1187
|
})
|
|
1181
1188
|
}) }));
|
|
1182
|
-
|
|
1183
|
-
var
|
|
1189
|
+
Rr.displayName = "NavigationMenuContent";
|
|
1190
|
+
var zr = e.forwardRef(({ className: e, children: t, active: n, onSelect: r, onPress: i, href: a, ...o }, s) => /* @__PURE__ */ g(z.Link, {
|
|
1184
1191
|
ref: s,
|
|
1185
1192
|
active: n,
|
|
1186
1193
|
onPress: (e) => {
|
|
1187
1194
|
i && i(), r && r(e);
|
|
1188
1195
|
},
|
|
1189
|
-
className:
|
|
1196
|
+
className: J("hover:bg-accent hover:text-accent-foreground active:bg-accent active:text-accent-foreground rounded-md px-3 py-2 text-sm font-medium transition-colors", n && "bg-accent text-accent-foreground", e),
|
|
1190
1197
|
...o,
|
|
1191
1198
|
children: t
|
|
1192
1199
|
}));
|
|
1193
|
-
|
|
1194
|
-
var
|
|
1200
|
+
zr.displayName = "NavigationMenuLink";
|
|
1201
|
+
var Br = e.forwardRef(({ className: e, forceMount: t, ...n }, r) => /* @__PURE__ */ g(m, {
|
|
1195
1202
|
className: "absolute top-full left-0 flex justify-center",
|
|
1196
|
-
children: /* @__PURE__ */ g(
|
|
1203
|
+
children: /* @__PURE__ */ g(z.Viewport, {
|
|
1197
1204
|
ref: r,
|
|
1198
|
-
className:
|
|
1205
|
+
className: J("origin-top-center bg-popover text-popover-foreground border-border relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow-lg md:w-[var(--radix-navigation-menu-viewport-width)]", e),
|
|
1199
1206
|
...n
|
|
1200
1207
|
})
|
|
1201
1208
|
}));
|
|
1202
|
-
|
|
1203
|
-
var
|
|
1209
|
+
Br.displayName = "NavigationMenuViewport";
|
|
1210
|
+
var Vr = e.forwardRef(({ className: e, forceMount: t, ...n }, r) => /* @__PURE__ */ g(z.Indicator, {
|
|
1204
1211
|
ref: r,
|
|
1205
|
-
className:
|
|
1212
|
+
className: J("z-10 flex h-1.5 items-end justify-center overflow-hidden transition-all duration-200", e),
|
|
1206
1213
|
...n,
|
|
1207
1214
|
children: /* @__PURE__ */ g(m, { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
|
|
1208
1215
|
}));
|
|
1209
|
-
|
|
1216
|
+
Vr.displayName = "NavigationMenuIndicator";
|
|
1210
1217
|
//#endregion
|
|
1211
1218
|
//#region src/pagination.tsx
|
|
1212
|
-
var
|
|
1219
|
+
var Hr = ({ className: e, children: t, ...n }) => /* @__PURE__ */ g(m, {
|
|
1213
1220
|
role: "navigation",
|
|
1214
1221
|
"aria-label": "pagination",
|
|
1215
|
-
className:
|
|
1222
|
+
className: J("mx-auto flex w-full flex-row justify-center", e),
|
|
1216
1223
|
...n,
|
|
1217
1224
|
children: t
|
|
1218
1225
|
});
|
|
1219
|
-
|
|
1220
|
-
var
|
|
1226
|
+
Hr.displayName = "Pagination";
|
|
1227
|
+
var Ur = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(m, {
|
|
1221
1228
|
ref: r,
|
|
1222
|
-
className:
|
|
1229
|
+
className: J("flex flex-row items-center gap-1", e),
|
|
1223
1230
|
...n,
|
|
1224
1231
|
children: t
|
|
1225
1232
|
}));
|
|
1226
|
-
|
|
1227
|
-
var
|
|
1233
|
+
Ur.displayName = "PaginationContent";
|
|
1234
|
+
var Wr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(m, {
|
|
1228
1235
|
ref: r,
|
|
1229
|
-
className:
|
|
1236
|
+
className: J("", e),
|
|
1230
1237
|
...n,
|
|
1231
1238
|
children: t
|
|
1232
1239
|
}));
|
|
1233
|
-
|
|
1234
|
-
var
|
|
1240
|
+
Wr.displayName = "PaginationItem";
|
|
1241
|
+
var Gr = ({ className: e, isActive: t, size: n = "icon", children: r, onPress: i, ...a }) => /* @__PURE__ */ g(Y, {
|
|
1235
1242
|
variant: t ? "outline" : "ghost",
|
|
1236
1243
|
size: n,
|
|
1237
1244
|
onPress: i,
|
|
@@ -1239,11 +1246,11 @@ var Ur = ({ className: e, isActive: t, size: n = "icon", children: r, onPress: i
|
|
|
1239
1246
|
...a,
|
|
1240
1247
|
children: r
|
|
1241
1248
|
});
|
|
1242
|
-
|
|
1243
|
-
var
|
|
1249
|
+
Gr.displayName = "PaginationLink";
|
|
1250
|
+
var Kr = ({ className: e, children: t, onPress: n, ...r }) => /* @__PURE__ */ _(Gr, {
|
|
1244
1251
|
"aria-label": "Go to previous page",
|
|
1245
1252
|
size: "default",
|
|
1246
|
-
className:
|
|
1253
|
+
className: J("flex flex-row items-center gap-1 pl-2.5", e),
|
|
1247
1254
|
onPress: n,
|
|
1248
1255
|
...r,
|
|
1249
1256
|
children: [/* @__PURE__ */ g(te, {
|
|
@@ -1254,11 +1261,11 @@ var Wr = ({ className: e, children: t, onPress: n, ...r }) => /* @__PURE__ */ _(
|
|
|
1254
1261
|
children: "Previous"
|
|
1255
1262
|
})]
|
|
1256
1263
|
});
|
|
1257
|
-
|
|
1258
|
-
var
|
|
1264
|
+
Kr.displayName = "PaginationPrevious";
|
|
1265
|
+
var qr = ({ className: e, children: t, onPress: n, ...r }) => /* @__PURE__ */ _(Gr, {
|
|
1259
1266
|
"aria-label": "Go to next page",
|
|
1260
1267
|
size: "default",
|
|
1261
|
-
className:
|
|
1268
|
+
className: J("flex flex-row items-center gap-1 pr-2.5", e),
|
|
1262
1269
|
onPress: n,
|
|
1263
1270
|
...r,
|
|
1264
1271
|
children: [/* @__PURE__ */ g(X, {
|
|
@@ -1269,25 +1276,25 @@ var Gr = ({ className: e, children: t, onPress: n, ...r }) => /* @__PURE__ */ _(
|
|
|
1269
1276
|
className: "text-foreground"
|
|
1270
1277
|
})]
|
|
1271
1278
|
});
|
|
1272
|
-
|
|
1273
|
-
var
|
|
1279
|
+
qr.displayName = "PaginationNext";
|
|
1280
|
+
var Jr = ({ className: e, ...t }) => /* @__PURE__ */ g(m, {
|
|
1274
1281
|
"aria-hidden": !0,
|
|
1275
|
-
className:
|
|
1282
|
+
className: J("flex h-9 w-9 flex-row items-center justify-center", e),
|
|
1276
1283
|
...t,
|
|
1277
|
-
children: /* @__PURE__ */ g(
|
|
1284
|
+
children: /* @__PURE__ */ g(oe, {
|
|
1278
1285
|
size: 16,
|
|
1279
1286
|
className: "text-foreground"
|
|
1280
1287
|
})
|
|
1281
1288
|
});
|
|
1282
|
-
|
|
1289
|
+
Jr.displayName = "PaginationEllipsis";
|
|
1283
1290
|
//#endregion
|
|
1284
1291
|
//#region src/popover.tsx
|
|
1285
|
-
var
|
|
1292
|
+
var Yr = e.createContext({
|
|
1286
1293
|
open: !1,
|
|
1287
1294
|
setOpen: () => {}
|
|
1288
|
-
}),
|
|
1295
|
+
}), Xr = e.forwardRef(({ children: t, open: n, onOpenChange: r, ...i }, a) => {
|
|
1289
1296
|
let [o, s] = e.useState(!1), c = n !== void 0, l = c ? n : o, u = c ? r || (() => {}) : s;
|
|
1290
|
-
return /* @__PURE__ */ g(
|
|
1297
|
+
return /* @__PURE__ */ g(Yr.Provider, {
|
|
1291
1298
|
value: {
|
|
1292
1299
|
open: l,
|
|
1293
1300
|
setOpen: u
|
|
@@ -1299,9 +1306,9 @@ var qr = e.createContext({
|
|
|
1299
1306
|
})
|
|
1300
1307
|
});
|
|
1301
1308
|
});
|
|
1302
|
-
|
|
1303
|
-
var
|
|
1304
|
-
let { setOpen: i } = e.useContext(
|
|
1309
|
+
Xr.displayName = "Popover";
|
|
1310
|
+
var Zr = e.forwardRef(({ children: t, ...n }, r) => {
|
|
1311
|
+
let { setOpen: i } = e.useContext(Yr);
|
|
1305
1312
|
return /* @__PURE__ */ g(c, {
|
|
1306
1313
|
ref: r,
|
|
1307
1314
|
onPress: () => i(!0),
|
|
@@ -1309,14 +1316,14 @@ var Yr = e.forwardRef(({ children: t, ...n }, r) => {
|
|
|
1309
1316
|
children: t
|
|
1310
1317
|
});
|
|
1311
1318
|
});
|
|
1312
|
-
|
|
1313
|
-
var
|
|
1319
|
+
Zr.displayName = "PopoverTrigger";
|
|
1320
|
+
var Qr = e.forwardRef(({ ...e }, t) => /* @__PURE__ */ g(m, {
|
|
1314
1321
|
ref: t,
|
|
1315
1322
|
...e
|
|
1316
1323
|
}));
|
|
1317
|
-
|
|
1318
|
-
var
|
|
1319
|
-
let { open: a, setOpen: s } = e.useContext(
|
|
1324
|
+
Qr.displayName = "PopoverAnchor";
|
|
1325
|
+
var $r = e.forwardRef(({ className: t, children: n, ...r }, i) => {
|
|
1326
|
+
let { open: a, setOpen: s } = e.useContext(Yr);
|
|
1320
1327
|
return /* @__PURE__ */ g(o, {
|
|
1321
1328
|
visible: a,
|
|
1322
1329
|
transparent: !0,
|
|
@@ -1331,7 +1338,7 @@ var Zr = e.forwardRef(({ className: t, children: n, ...r }, i) => {
|
|
|
1331
1338
|
onPress: () => {},
|
|
1332
1339
|
children: /* @__PURE__ */ g(m, {
|
|
1333
1340
|
ref: i,
|
|
1334
|
-
className:
|
|
1341
|
+
className: J("bg-popover border-border mx-4 w-full max-w-sm rounded-md border p-4 shadow-lg", t),
|
|
1335
1342
|
...r,
|
|
1336
1343
|
children: n
|
|
1337
1344
|
})
|
|
@@ -1340,12 +1347,12 @@ var Zr = e.forwardRef(({ className: t, children: n, ...r }, i) => {
|
|
|
1340
1347
|
})
|
|
1341
1348
|
});
|
|
1342
1349
|
});
|
|
1343
|
-
|
|
1350
|
+
$r.displayName = "PopoverContent";
|
|
1344
1351
|
//#endregion
|
|
1345
1352
|
//#region src/progress.tsx
|
|
1346
|
-
var
|
|
1353
|
+
var ei = e.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ g(m, {
|
|
1347
1354
|
ref: r,
|
|
1348
|
-
className:
|
|
1355
|
+
className: J("bg-muted relative h-2 w-full overflow-hidden rounded-full", e),
|
|
1349
1356
|
accessibilityRole: "progressbar",
|
|
1350
1357
|
role: "progressbar",
|
|
1351
1358
|
...n,
|
|
@@ -1354,49 +1361,49 @@ var Qr = e.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ g
|
|
|
1354
1361
|
style: { width: `${t || 0}%` }
|
|
1355
1362
|
})
|
|
1356
1363
|
}));
|
|
1357
|
-
|
|
1364
|
+
ei.displayName = "Progress";
|
|
1358
1365
|
//#endregion
|
|
1359
1366
|
//#region src/radio-group.tsx
|
|
1360
|
-
var
|
|
1361
|
-
className:
|
|
1367
|
+
var ti = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(B.Root, {
|
|
1368
|
+
className: J("web:grid gap-2", e),
|
|
1362
1369
|
...t,
|
|
1363
1370
|
ref: n
|
|
1364
1371
|
}));
|
|
1365
|
-
|
|
1366
|
-
var
|
|
1372
|
+
ti.displayName = B.Root?.displayName || "RadioGroup";
|
|
1373
|
+
var ni = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(B.Item, {
|
|
1367
1374
|
ref: n,
|
|
1368
|
-
className:
|
|
1375
|
+
className: J("native:h-5 native:w-5 border-primary text-primary web:ring-offset-background web:focus:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 aspect-square h-4 w-4 rounded-full border", t.disabled && "web:cursor-not-allowed opacity-50", e),
|
|
1369
1376
|
...t,
|
|
1370
|
-
children: /* @__PURE__ */ g(
|
|
1377
|
+
children: /* @__PURE__ */ g(B.Indicator, {
|
|
1371
1378
|
className: "flex items-center justify-center",
|
|
1372
|
-
children: /* @__PURE__ */ g(
|
|
1379
|
+
children: /* @__PURE__ */ g(E, { className: "h-2.5 w-2.5 fill-current text-current" })
|
|
1373
1380
|
})
|
|
1374
1381
|
}));
|
|
1375
|
-
|
|
1382
|
+
ni.displayName = B.Item?.displayName || "RadioGroupItem";
|
|
1376
1383
|
//#endregion
|
|
1377
1384
|
//#region src/resizable.tsx
|
|
1378
|
-
var
|
|
1385
|
+
var ri = ({ children: e, className: t }) => /* @__PURE__ */ g(m, {
|
|
1379
1386
|
className: t,
|
|
1380
1387
|
children: e
|
|
1381
|
-
}),
|
|
1388
|
+
}), ii = ({ children: e, className: t }) => /* @__PURE__ */ g(m, {
|
|
1382
1389
|
className: t,
|
|
1383
1390
|
children: e
|
|
1384
|
-
}),
|
|
1391
|
+
}), ai = ({ className: e }) => /* @__PURE__ */ g(m, { className: e }), oi = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ g(l, {
|
|
1385
1392
|
ref: r,
|
|
1386
|
-
className:
|
|
1393
|
+
className: J("flex-1", t),
|
|
1387
1394
|
showsVerticalScrollIndicator: !0,
|
|
1388
1395
|
showsHorizontalScrollIndicator: !0,
|
|
1389
1396
|
...n,
|
|
1390
1397
|
children: /* @__PURE__ */ g(m, { children: e })
|
|
1391
1398
|
}));
|
|
1392
|
-
|
|
1393
|
-
var
|
|
1394
|
-
|
|
1399
|
+
oi.displayName = "ScrollArea";
|
|
1400
|
+
var si = () => null;
|
|
1401
|
+
si.displayName = "ScrollBar";
|
|
1395
1402
|
//#endregion
|
|
1396
1403
|
//#region src/search.tsx
|
|
1397
|
-
function
|
|
1404
|
+
function ci({ children: t, open: n, onOpenChange: r }) {
|
|
1398
1405
|
let [i, a] = e.useState(!1), o = n !== void 0;
|
|
1399
|
-
return /* @__PURE__ */ g(
|
|
1406
|
+
return /* @__PURE__ */ g(Sn, {
|
|
1400
1407
|
open: o ? n : i,
|
|
1401
1408
|
onOpenChange: e.useCallback((e) => {
|
|
1402
1409
|
o ? r?.(e) : a(e);
|
|
@@ -1404,24 +1411,24 @@ function oi({ children: t, open: n, onOpenChange: r }) {
|
|
|
1404
1411
|
children: t
|
|
1405
1412
|
});
|
|
1406
1413
|
}
|
|
1407
|
-
var
|
|
1414
|
+
var li = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", responsive: r = !1, ...i }, a) => {
|
|
1408
1415
|
let o = t || (n === "compact" ? "Search..." : "Search docs...");
|
|
1409
1416
|
return /* @__PURE__ */ _(Y, {
|
|
1410
1417
|
variant: "outline",
|
|
1411
|
-
className:
|
|
1418
|
+
className: J("relative h-12 flex-row justify-start pl-3 text-sm transition-all sm:h-9", n === "default" ? "w-full pr-12" : J("w-12 px-0 sm:w-9 sm:justify-center", r && "md:w-48 md:justify-start md:px-3 md:pr-12"), e),
|
|
1412
1419
|
ref: a,
|
|
1413
1420
|
...i,
|
|
1414
1421
|
children: [/* @__PURE__ */ _(m, {
|
|
1415
1422
|
className: "flex-row items-center gap-2",
|
|
1416
|
-
children: [/* @__PURE__ */ g(
|
|
1423
|
+
children: [/* @__PURE__ */ g(se, {
|
|
1417
1424
|
className: "text-muted-foreground shrink-0",
|
|
1418
1425
|
size: 18
|
|
1419
1426
|
}), /* @__PURE__ */ g(d, {
|
|
1420
|
-
className:
|
|
1427
|
+
className: J("text-muted-foreground truncate", n === "compact" && (r ? "hidden md:flex" : "hidden")),
|
|
1421
1428
|
children: o
|
|
1422
1429
|
})]
|
|
1423
1430
|
}), /* @__PURE__ */ g(m, {
|
|
1424
|
-
className:
|
|
1431
|
+
className: J("bg-muted absolute top-2 right-2 hidden h-6 flex-row items-center gap-1 rounded border px-1.5 opacity-100", n === "default" && s.OS !== "android" && s.OS !== "ios" && "sm:flex", n === "compact" && r && s.OS !== "android" && s.OS !== "ios" && "md:flex"),
|
|
1425
1432
|
children: /* @__PURE__ */ g(d, {
|
|
1426
1433
|
className: "text-muted-foreground font-mono text-[10px] font-medium",
|
|
1427
1434
|
children: "⌘K"
|
|
@@ -1429,12 +1436,12 @@ var si = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", r
|
|
|
1429
1436
|
})]
|
|
1430
1437
|
});
|
|
1431
1438
|
});
|
|
1432
|
-
|
|
1439
|
+
li.displayName = "SearchTrigger";
|
|
1433
1440
|
//#endregion
|
|
1434
1441
|
//#region src/select.tsx
|
|
1435
|
-
var
|
|
1442
|
+
var ui = V.Root, di = V.Group, fi = V.Value, pi = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ _(V.Trigger, {
|
|
1436
1443
|
ref: r,
|
|
1437
|
-
className:
|
|
1444
|
+
className: J("native:h-12 border-input bg-background text-muted-foreground web:ring-offset-background web:focus:outline-none web:focus:ring-2 web:focus:ring-ring web:focus:ring-offset-2 flex h-10 flex-row items-center justify-between rounded-md border px-3 py-2 text-sm [&>span]:line-clamp-1", n.disabled && "web:cursor-not-allowed opacity-50", e),
|
|
1438
1445
|
...n,
|
|
1439
1446
|
children: [/* @__PURE__ */ g(h, { children: t }), /* @__PURE__ */ g(w, {
|
|
1440
1447
|
size: 16,
|
|
@@ -1442,91 +1449,91 @@ var ci = B.Root, li = B.Group, ui = B.Value, di = e.forwardRef(({ className: e,
|
|
|
1442
1449
|
className: "text-foreground opacity-50"
|
|
1443
1450
|
})]
|
|
1444
1451
|
}));
|
|
1445
|
-
|
|
1446
|
-
var
|
|
1452
|
+
pi.displayName = V.Trigger?.displayName || "SelectTrigger";
|
|
1453
|
+
var mi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(V.ScrollUpButton, {
|
|
1447
1454
|
ref: n,
|
|
1448
|
-
className:
|
|
1455
|
+
className: J("flex cursor-default items-center justify-center py-1", e),
|
|
1449
1456
|
...t,
|
|
1450
1457
|
children: /* @__PURE__ */ g(ne, {
|
|
1451
1458
|
size: 14,
|
|
1452
1459
|
className: "text-foreground"
|
|
1453
1460
|
})
|
|
1454
1461
|
}));
|
|
1455
|
-
|
|
1456
|
-
var
|
|
1462
|
+
mi.displayName = V.ScrollUpButton?.displayName || "SelectScrollUpButton";
|
|
1463
|
+
var hi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(V.ScrollDownButton, {
|
|
1457
1464
|
ref: n,
|
|
1458
|
-
className:
|
|
1465
|
+
className: J("flex cursor-default items-center justify-center py-1", e),
|
|
1459
1466
|
...t,
|
|
1460
1467
|
children: /* @__PURE__ */ g(w, {
|
|
1461
1468
|
size: 14,
|
|
1462
1469
|
className: "text-foreground"
|
|
1463
1470
|
})
|
|
1464
1471
|
}));
|
|
1465
|
-
|
|
1466
|
-
var
|
|
1467
|
-
let { open: l } =
|
|
1468
|
-
return /* @__PURE__ */ _(
|
|
1472
|
+
hi.displayName = V.ScrollDownButton?.displayName || "SelectScrollDownButton";
|
|
1473
|
+
var gi = e.forwardRef(({ className: e, children: t, position: n = "popper", portalHost: r, overlayClassName: i, overlayStyle: a, ...o }, c) => {
|
|
1474
|
+
let { open: l } = V.useRootContext();
|
|
1475
|
+
return /* @__PURE__ */ _(V.Portal, {
|
|
1469
1476
|
hostName: r,
|
|
1470
|
-
children: [/* @__PURE__ */ g(
|
|
1477
|
+
children: [/* @__PURE__ */ g(V.Overlay, {
|
|
1471
1478
|
style: s.OS === "web" ? void 0 : u.absoluteFill,
|
|
1472
1479
|
asChild: !0,
|
|
1473
|
-
children: /* @__PURE__ */ g(
|
|
1480
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
1474
1481
|
className: i,
|
|
1475
1482
|
style: a
|
|
1476
1483
|
})
|
|
1477
|
-
}), /* @__PURE__ */ _(
|
|
1484
|
+
}), /* @__PURE__ */ _(V.Content, {
|
|
1478
1485
|
ref: c,
|
|
1479
|
-
className:
|
|
1486
|
+
className: J("border-border bg-popover 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 relative z-50 max-h-96 min-w-[8rem] rounded-md border shadow-md", n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", l ? "web:zoom-in-95 web:animate-in web:fade-in-0" : "web:zoom-out-95 web:animate-out web:fade-out-0", e),
|
|
1480
1487
|
position: n,
|
|
1481
1488
|
...o,
|
|
1482
1489
|
children: [
|
|
1483
|
-
/* @__PURE__ */ g(
|
|
1484
|
-
/* @__PURE__ */ g(
|
|
1485
|
-
className:
|
|
1490
|
+
/* @__PURE__ */ g(mi, {}),
|
|
1491
|
+
/* @__PURE__ */ g(V.Viewport, {
|
|
1492
|
+
className: J("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
|
|
1486
1493
|
children: t
|
|
1487
1494
|
}),
|
|
1488
|
-
/* @__PURE__ */ g(
|
|
1495
|
+
/* @__PURE__ */ g(hi, {})
|
|
1489
1496
|
]
|
|
1490
1497
|
})]
|
|
1491
1498
|
});
|
|
1492
1499
|
});
|
|
1493
|
-
|
|
1494
|
-
var
|
|
1500
|
+
gi.displayName = V.Content?.displayName || "SelectContent";
|
|
1501
|
+
var _i = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(V.Label, {
|
|
1495
1502
|
ref: n,
|
|
1496
|
-
className:
|
|
1503
|
+
className: J("text-popover-foreground py-1.5 pr-2 pl-8 text-sm font-semibold", e),
|
|
1497
1504
|
...t
|
|
1498
1505
|
}));
|
|
1499
|
-
|
|
1500
|
-
var
|
|
1506
|
+
_i.displayName = V.Label?.displayName || "SelectLabel";
|
|
1507
|
+
var vi = e.forwardRef(({ className: e, children: t, label: n, ...r }, i) => {
|
|
1501
1508
|
let a = n || (typeof t == "string" ? t : "");
|
|
1502
|
-
return /* @__PURE__ */ _(
|
|
1509
|
+
return /* @__PURE__ */ _(V.Item, {
|
|
1503
1510
|
ref: i,
|
|
1504
1511
|
label: a,
|
|
1505
|
-
className:
|
|
1512
|
+
className: J("web:hover:bg-accent/50 web:focus:bg-accent web:focus:text-accent-foreground web:hover:text-accent-foreground relative flex w-full cursor-default flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:opacity-50", r.disabled && "web:pointer-events-none", e),
|
|
1506
1513
|
...r,
|
|
1507
1514
|
children: [/* @__PURE__ */ g(m, {
|
|
1508
1515
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
1509
|
-
children: /* @__PURE__ */ g(
|
|
1516
|
+
children: /* @__PURE__ */ g(V.ItemIndicator, { children: /* @__PURE__ */ g(C, {
|
|
1510
1517
|
size: 14,
|
|
1511
1518
|
strokeWidth: 3,
|
|
1512
1519
|
className: "text-popover-foreground"
|
|
1513
1520
|
}) })
|
|
1514
|
-
}), /* @__PURE__ */ g(
|
|
1521
|
+
}), /* @__PURE__ */ g(V.ItemText, {
|
|
1515
1522
|
className: "text-popover-foreground native:text-base text-sm",
|
|
1516
1523
|
children: t
|
|
1517
1524
|
})]
|
|
1518
1525
|
});
|
|
1519
1526
|
});
|
|
1520
|
-
|
|
1521
|
-
var
|
|
1527
|
+
vi.displayName = V.Item?.displayName || "SelectItem";
|
|
1528
|
+
var yi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(V.Separator, {
|
|
1522
1529
|
ref: n,
|
|
1523
|
-
className:
|
|
1530
|
+
className: J("bg-muted -mx-1 my-1 h-px", e),
|
|
1524
1531
|
...t
|
|
1525
1532
|
}));
|
|
1526
|
-
|
|
1533
|
+
yi.displayName = V.Separator?.displayName || "SelectSeparator";
|
|
1527
1534
|
//#endregion
|
|
1528
1535
|
//#region src/scroll-to-top.tsx
|
|
1529
|
-
var
|
|
1536
|
+
var bi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a, label: o = "Scroll to top", className: c, scrollRef: l, animationDuration: u = 300, ...d }, f) => {
|
|
1530
1537
|
let [p, h] = e.useState(!1), [_, v] = e.useState(!1), y = e.useRef(new r.Value(0)).current, b = e.useRef(new r.Value(20)).current, x = () => {
|
|
1531
1538
|
r.parallel([r.timing(y, {
|
|
1532
1539
|
toValue: 1,
|
|
@@ -1590,7 +1597,7 @@ var vi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
|
|
|
1590
1597
|
children: /* @__PURE__ */ g(Y, {
|
|
1591
1598
|
variant: "outline",
|
|
1592
1599
|
size: "icon",
|
|
1593
|
-
className:
|
|
1600
|
+
className: J("bg-background/80 h-12 w-12 rounded-full border-2 shadow-lg", c),
|
|
1594
1601
|
onPress: w,
|
|
1595
1602
|
"aria-label": o,
|
|
1596
1603
|
...d,
|
|
@@ -1602,17 +1609,17 @@ var vi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
|
|
|
1602
1609
|
})
|
|
1603
1610
|
});
|
|
1604
1611
|
});
|
|
1605
|
-
|
|
1612
|
+
bi.displayName = "ScrollToTop";
|
|
1606
1613
|
//#endregion
|
|
1607
1614
|
//#region src/support-fab.tsx
|
|
1608
|
-
var
|
|
1615
|
+
var xi = (e) => {
|
|
1609
1616
|
let t = e.trim();
|
|
1610
1617
|
return t.endsWith("/") ? t.slice(0, -1) : t;
|
|
1611
|
-
},
|
|
1612
|
-
function
|
|
1618
|
+
}, Si = (e) => e.trim().replace(/^@+/, ""), Ci = (e, t) => `${xi(e)}/${encodeURIComponent(Si(t))}`;
|
|
1619
|
+
function wi({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, title: r = "Buy me a coffee", description: i = "Support the project directly from this panel.", open: o, defaultOpen: s = !1, onOpenChange: c, positionClassName: l, buttonClassName: u, panelClassName: d, className: f, ...p }) {
|
|
1613
1620
|
let v = o !== void 0, [y, b] = e.useState(s), x = v ? o : y, S = e.useCallback((e) => {
|
|
1614
1621
|
v || b(e), c?.(e);
|
|
1615
|
-
}, [v, c]), ee = e.useMemo(() =>
|
|
1622
|
+
}, [v, c]), ee = e.useMemo(() => Ci(t, n), [n, t]), C = e.useCallback(async () => {
|
|
1616
1623
|
try {
|
|
1617
1624
|
await a.openURL(ee);
|
|
1618
1625
|
} catch (e) {
|
|
@@ -1630,21 +1637,21 @@ function Si({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, titl
|
|
|
1630
1637
|
children: /* @__PURE__ */ g(Y, {
|
|
1631
1638
|
variant: "outline",
|
|
1632
1639
|
size: "icon",
|
|
1633
|
-
className:
|
|
1640
|
+
className: J("h-14 w-14 rounded-full border border-black/15 bg-[#ffdd00] shadow-lg", u, f),
|
|
1634
1641
|
onPress: () => S(!0),
|
|
1635
1642
|
"aria-label": "Support this project",
|
|
1636
1643
|
...p,
|
|
1637
|
-
children: /* @__PURE__ */ g(
|
|
1644
|
+
children: /* @__PURE__ */ g(re, {
|
|
1638
1645
|
size: 24,
|
|
1639
1646
|
className: "text-black"
|
|
1640
1647
|
})
|
|
1641
1648
|
})
|
|
1642
|
-
}), /* @__PURE__ */ g(
|
|
1649
|
+
}), /* @__PURE__ */ g(Sn, {
|
|
1643
1650
|
open: x,
|
|
1644
1651
|
onOpenChange: S,
|
|
1645
|
-
children: /* @__PURE__ */ _(
|
|
1646
|
-
className:
|
|
1647
|
-
children: [/* @__PURE__ */ _(
|
|
1652
|
+
children: /* @__PURE__ */ _(Dn, {
|
|
1653
|
+
className: J("max-w-sm", d),
|
|
1654
|
+
children: [/* @__PURE__ */ _(On, { children: [/* @__PURE__ */ g(An, { children: r }), /* @__PURE__ */ g(jn, { children: i })] }), /* @__PURE__ */ _(m, {
|
|
1648
1655
|
className: "flex flex-col gap-4",
|
|
1649
1656
|
children: [/* @__PURE__ */ g(m, {
|
|
1650
1657
|
className: "overflow-hidden rounded-md border",
|
|
@@ -1672,7 +1679,7 @@ function Si({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, titl
|
|
|
1672
1679
|
children: [/* @__PURE__ */ g(X, {
|
|
1673
1680
|
className: "text-xs",
|
|
1674
1681
|
children: "Open Buy Me a Coffee"
|
|
1675
|
-
}), /* @__PURE__ */ g(
|
|
1682
|
+
}), /* @__PURE__ */ g(ie, {
|
|
1676
1683
|
size: 12,
|
|
1677
1684
|
className: "text-muted-foreground"
|
|
1678
1685
|
})]
|
|
@@ -1684,44 +1691,44 @@ function Si({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, titl
|
|
|
1684
1691
|
}
|
|
1685
1692
|
//#endregion
|
|
1686
1693
|
//#region src/separator.tsx
|
|
1687
|
-
var
|
|
1694
|
+
var Ti = e.forwardRef(({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }, i) => /* @__PURE__ */ g(Pe.Root, {
|
|
1688
1695
|
ref: i,
|
|
1689
1696
|
decorative: n,
|
|
1690
1697
|
orientation: t,
|
|
1691
|
-
className:
|
|
1698
|
+
className: J("bg-border shrink-0", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
|
|
1692
1699
|
...r
|
|
1693
1700
|
}));
|
|
1694
|
-
|
|
1701
|
+
Ti.displayName = Pe.Root?.displayName || "Separator";
|
|
1695
1702
|
//#endregion
|
|
1696
1703
|
//#region src/sheet.tsx
|
|
1697
|
-
var
|
|
1704
|
+
var Ei = F.Root, Di = F.Trigger, Oi = F.Close, ki = F.Portal, Ai = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(F.Overlay, {
|
|
1698
1705
|
style: s.OS === "web" ? void 0 : u.absoluteFill,
|
|
1699
1706
|
asChild: !0,
|
|
1700
1707
|
ref: n,
|
|
1701
1708
|
...t,
|
|
1702
|
-
children: /* @__PURE__ */ g(
|
|
1703
|
-
entering:
|
|
1704
|
-
exiting:
|
|
1705
|
-
className:
|
|
1709
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
1710
|
+
entering: O.duration(150),
|
|
1711
|
+
exiting: k.duration(150),
|
|
1712
|
+
className: J("web:cursor-default absolute inset-0 z-50 bg-black/80", e)
|
|
1706
1713
|
})
|
|
1707
1714
|
}));
|
|
1708
|
-
|
|
1709
|
-
var
|
|
1710
|
-
let c = s.OS === "web", l = c ? void 0 :
|
|
1711
|
-
return /* @__PURE__ */ _(
|
|
1715
|
+
Ai.displayName = F.Overlay?.displayName || "SheetOverlay";
|
|
1716
|
+
var ji = e.forwardRef(({ className: e, children: t, side: n = "right", overlayClassName: r, overlayStyle: i, ...a }, o) => {
|
|
1717
|
+
let c = s.OS === "web", l = c ? void 0 : ge, u = c ? void 0 : ve;
|
|
1718
|
+
return /* @__PURE__ */ _(ki, { children: [/* @__PURE__ */ g(Ai, {
|
|
1712
1719
|
className: r,
|
|
1713
1720
|
style: i
|
|
1714
|
-
}), /* @__PURE__ */ g(
|
|
1721
|
+
}), /* @__PURE__ */ g(F.Content, {
|
|
1715
1722
|
ref: o,
|
|
1716
1723
|
asChild: !0,
|
|
1717
1724
|
...a,
|
|
1718
|
-
children: /* @__PURE__ */ _(
|
|
1725
|
+
children: /* @__PURE__ */ _(D.View, {
|
|
1719
1726
|
entering: l,
|
|
1720
1727
|
exiting: u,
|
|
1721
|
-
className:
|
|
1722
|
-
children: [t, /* @__PURE__ */ _(
|
|
1723
|
-
className:
|
|
1724
|
-
children: [/* @__PURE__ */ g(
|
|
1728
|
+
className: J("bg-background web:cursor-default web:duration-200 web:ease-in-out absolute z-50 h-full w-3/4 gap-4 p-6 shadow-lg", n === "right" && "border-border data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right top-0 right-0 border-l", n === "left" && "border-border data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left top-0 left-0 border-r", n === "top" && "border-border data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top top-0 w-full border-b", n === "bottom" && "border-border data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom bottom-0 w-full border-t", e),
|
|
1729
|
+
children: [t, /* @__PURE__ */ _(F.Close, {
|
|
1730
|
+
className: J("ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none", "web:absolute web:right-4 web:top-4"),
|
|
1731
|
+
children: [/* @__PURE__ */ g(ue, {
|
|
1725
1732
|
size: 24,
|
|
1726
1733
|
className: "text-muted-foreground"
|
|
1727
1734
|
}), /* @__PURE__ */ g(X, {
|
|
@@ -1732,48 +1739,48 @@ var ki = e.forwardRef(({ className: e, children: t, side: n = "right", overlayCl
|
|
|
1732
1739
|
})
|
|
1733
1740
|
})] });
|
|
1734
1741
|
});
|
|
1735
|
-
|
|
1736
|
-
var
|
|
1737
|
-
className:
|
|
1742
|
+
ji.displayName = F.Content?.displayName || "SheetContent";
|
|
1743
|
+
var Mi = ({ className: e, ...t }) => /* @__PURE__ */ g(m, {
|
|
1744
|
+
className: J("flex flex-col space-y-2 text-center sm:text-left", e),
|
|
1738
1745
|
...t
|
|
1739
1746
|
});
|
|
1740
|
-
|
|
1741
|
-
var
|
|
1742
|
-
className:
|
|
1747
|
+
Mi.displayName = "SheetHeader";
|
|
1748
|
+
var Ni = ({ className: e, ...t }) => /* @__PURE__ */ g(m, {
|
|
1749
|
+
className: J("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
|
|
1743
1750
|
...t
|
|
1744
1751
|
});
|
|
1745
|
-
|
|
1746
|
-
var
|
|
1752
|
+
Ni.displayName = "SheetFooter";
|
|
1753
|
+
var Pi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(F.Title, {
|
|
1747
1754
|
ref: n,
|
|
1748
|
-
className:
|
|
1755
|
+
className: J("text-foreground text-lg font-semibold", e),
|
|
1749
1756
|
...t
|
|
1750
1757
|
}));
|
|
1751
|
-
|
|
1752
|
-
var
|
|
1758
|
+
Pi.displayName = F.Title?.displayName || "SheetTitle";
|
|
1759
|
+
var Fi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(F.Description, {
|
|
1753
1760
|
ref: n,
|
|
1754
|
-
className:
|
|
1761
|
+
className: J("text-muted-foreground text-sm", e),
|
|
1755
1762
|
...t
|
|
1756
1763
|
}));
|
|
1757
|
-
|
|
1764
|
+
Fi.displayName = F.Description?.displayName || "SheetDescription";
|
|
1758
1765
|
//#endregion
|
|
1759
1766
|
//#region src/skeleton.tsx
|
|
1760
|
-
function
|
|
1761
|
-
let r =
|
|
1767
|
+
function Ii({ className: t, ...n }) {
|
|
1768
|
+
let r = Se(.5);
|
|
1762
1769
|
e.useEffect(() => {
|
|
1763
|
-
r.value = we(
|
|
1770
|
+
r.value = Ce(we(A(.2, { duration: 500 }), A(.5, { duration: 500 })), -1, !0);
|
|
1764
1771
|
}, []);
|
|
1765
|
-
let i =
|
|
1766
|
-
return /* @__PURE__ */ g(
|
|
1767
|
-
className:
|
|
1772
|
+
let i = be(() => ({ opacity: r.value }));
|
|
1773
|
+
return /* @__PURE__ */ g(D.View, {
|
|
1774
|
+
className: J("bg-muted rounded-md", t),
|
|
1768
1775
|
style: i,
|
|
1769
1776
|
...n
|
|
1770
1777
|
});
|
|
1771
1778
|
}
|
|
1772
1779
|
//#endregion
|
|
1773
1780
|
//#region src/slider.tsx
|
|
1774
|
-
var
|
|
1781
|
+
var Li = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i = 0, max: a = 100, step: o = 1, disabled: s = !1, ...c }) => {
|
|
1775
1782
|
let l = t === void 0 ? i : t[0];
|
|
1776
|
-
return /* @__PURE__ */ _(
|
|
1783
|
+
return /* @__PURE__ */ _(H.Root, {
|
|
1777
1784
|
value: l,
|
|
1778
1785
|
onValueChange: (e) => {
|
|
1779
1786
|
n && n(Array.isArray(e) ? e : [e]);
|
|
@@ -1782,169 +1789,169 @@ var Fi = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i =
|
|
|
1782
1789
|
max: a,
|
|
1783
1790
|
step: o,
|
|
1784
1791
|
disabled: s,
|
|
1785
|
-
className:
|
|
1792
|
+
className: J("relative flex w-full touch-none items-center select-none", s && "opacity-50", e),
|
|
1786
1793
|
...c,
|
|
1787
|
-
children: [/* @__PURE__ */ g(
|
|
1794
|
+
children: [/* @__PURE__ */ g(H.Track, {
|
|
1788
1795
|
className: "bg-secondary relative h-2 w-full grow rounded-full",
|
|
1789
|
-
children: /* @__PURE__ */ g(
|
|
1790
|
-
}), /* @__PURE__ */ g(
|
|
1796
|
+
children: /* @__PURE__ */ g(H.Range, { className: "bg-primary absolute h-full rounded-full" })
|
|
1797
|
+
}), /* @__PURE__ */ g(H.Thumb, { className: "border-primary bg-background focus-visible:ring-ring block h-5 w-5 rounded-full border-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none" })]
|
|
1791
1798
|
});
|
|
1792
1799
|
};
|
|
1793
|
-
|
|
1800
|
+
Li.displayName = "Slider";
|
|
1794
1801
|
//#endregion
|
|
1795
1802
|
//#region src/toast.tsx
|
|
1796
|
-
var
|
|
1803
|
+
var Ri = ({ children: e }) => /* @__PURE__ */ g(h, { children: e }), zi = () => null, Bi = e.forwardRef(({ className: e, variant: t = "default", ...n }, r) => /* @__PURE__ */ g(U.Root, {
|
|
1797
1804
|
ref: r,
|
|
1798
|
-
className:
|
|
1805
|
+
className: J("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg", t === "default" ? "border-border bg-background" : "border-destructive bg-destructive", e),
|
|
1799
1806
|
...n,
|
|
1800
|
-
children: /* @__PURE__ */ g(
|
|
1801
|
-
entering:
|
|
1802
|
-
exiting:
|
|
1803
|
-
layout:
|
|
1807
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
1808
|
+
entering: fe,
|
|
1809
|
+
exiting: pe,
|
|
1810
|
+
layout: me,
|
|
1804
1811
|
className: "w-full flex-row items-center",
|
|
1805
1812
|
children: n.children
|
|
1806
1813
|
})
|
|
1807
1814
|
}));
|
|
1808
|
-
|
|
1809
|
-
var
|
|
1815
|
+
Bi.displayName = U.Root?.displayName || "Toast";
|
|
1816
|
+
var Vi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(U.Title, {
|
|
1810
1817
|
ref: n,
|
|
1811
|
-
className:
|
|
1818
|
+
className: J("text-foreground text-sm font-semibold", e),
|
|
1812
1819
|
...t
|
|
1813
1820
|
}));
|
|
1814
|
-
|
|
1815
|
-
var
|
|
1821
|
+
Vi.displayName = U.Title?.displayName || "ToastTitle";
|
|
1822
|
+
var Hi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(U.Description, {
|
|
1816
1823
|
ref: n,
|
|
1817
|
-
className:
|
|
1824
|
+
className: J("text-muted-foreground text-sm opacity-90", e),
|
|
1818
1825
|
...t
|
|
1819
1826
|
}));
|
|
1820
|
-
|
|
1821
|
-
var
|
|
1827
|
+
Hi.displayName = U.Description?.displayName || "ToastDescription";
|
|
1828
|
+
var Ui = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(U.Close, {
|
|
1822
1829
|
ref: n,
|
|
1823
|
-
className:
|
|
1830
|
+
className: J("text-foreground/50 hover:text-foreground absolute top-1 right-1 rounded-md p-1 opacity-0 transition-opacity group-hover:opacity-100 focus:opacity-100 focus:ring-1 focus:outline-none", e),
|
|
1824
1831
|
...t,
|
|
1825
|
-
children: /* @__PURE__ */ g(
|
|
1832
|
+
children: /* @__PURE__ */ g(ue, {
|
|
1826
1833
|
size: 16,
|
|
1827
1834
|
className: "text-muted-foreground"
|
|
1828
1835
|
})
|
|
1829
1836
|
}));
|
|
1830
|
-
|
|
1831
|
-
var
|
|
1837
|
+
Ui.displayName = U.Close?.displayName || "ToastClose";
|
|
1838
|
+
var Wi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(U.Action, {
|
|
1832
1839
|
ref: n,
|
|
1833
|
-
className:
|
|
1840
|
+
className: J("hover:bg-secondary focus:ring-ring inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:ring-1 focus:outline-none disabled:pointer-events-none disabled:opacity-50", e),
|
|
1834
1841
|
...t
|
|
1835
1842
|
}));
|
|
1836
|
-
|
|
1843
|
+
Wi.displayName = U.Action?.displayName || "ToastAction";
|
|
1837
1844
|
//#endregion
|
|
1838
1845
|
//#region src/sonner.tsx
|
|
1839
|
-
var
|
|
1840
|
-
className:
|
|
1846
|
+
var Gi = () => /* @__PURE__ */ g(Ri, { children: /* @__PURE__ */ g(zi, {}) }), Ki = e.forwardRef(({ className: e, checked: t, onCheckedChange: n, ...r }, i) => /* @__PURE__ */ g(Fe.Root, {
|
|
1847
|
+
className: J("peer focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input inline-flex h-6 w-11 shrink-0 cursor-pointer flex-row items-center rounded-full border-2 border-transparent transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50", e),
|
|
1841
1848
|
...r,
|
|
1842
1849
|
checked: t ?? !1,
|
|
1843
1850
|
onCheckedChange: n || (() => {}),
|
|
1844
1851
|
ref: i,
|
|
1845
|
-
children: /* @__PURE__ */ g(Fe.Thumb, { className:
|
|
1852
|
+
children: /* @__PURE__ */ g(Fe.Thumb, { className: J("bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") })
|
|
1846
1853
|
}));
|
|
1847
|
-
|
|
1854
|
+
Ki.displayName = Fe.Root?.displayName || "Switch";
|
|
1848
1855
|
//#endregion
|
|
1849
1856
|
//#region src/table.tsx
|
|
1850
|
-
var
|
|
1857
|
+
var qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(m, {
|
|
1851
1858
|
ref: n,
|
|
1852
|
-
className:
|
|
1859
|
+
className: J("w-full caption-bottom text-sm", e),
|
|
1853
1860
|
...t
|
|
1854
1861
|
}));
|
|
1855
|
-
|
|
1856
|
-
var
|
|
1862
|
+
qi.displayName = "Table";
|
|
1863
|
+
var Ji = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(m, {
|
|
1857
1864
|
ref: n,
|
|
1858
|
-
className:
|
|
1865
|
+
className: J("border-border border-b", e),
|
|
1859
1866
|
...t
|
|
1860
1867
|
}));
|
|
1861
|
-
|
|
1862
|
-
var
|
|
1868
|
+
Ji.displayName = "TableHeader";
|
|
1869
|
+
var Yi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(m, {
|
|
1863
1870
|
ref: n,
|
|
1864
|
-
className:
|
|
1871
|
+
className: J("flex-1", e),
|
|
1865
1872
|
...t
|
|
1866
1873
|
}));
|
|
1867
|
-
|
|
1868
|
-
var
|
|
1874
|
+
Yi.displayName = "TableBody";
|
|
1875
|
+
var Xi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(m, {
|
|
1869
1876
|
ref: n,
|
|
1870
|
-
className:
|
|
1877
|
+
className: J("bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
|
|
1871
1878
|
...t
|
|
1872
1879
|
}));
|
|
1873
|
-
|
|
1874
|
-
var
|
|
1880
|
+
Xi.displayName = "TableFooter";
|
|
1881
|
+
var Zi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(m, {
|
|
1875
1882
|
ref: n,
|
|
1876
|
-
className:
|
|
1883
|
+
className: J("border-border hover:bg-muted/50 data-[state=selected]:bg-muted flex-row border-b transition-colors", e),
|
|
1877
1884
|
...t
|
|
1878
1885
|
}));
|
|
1879
|
-
|
|
1880
|
-
var
|
|
1886
|
+
Zi.displayName = "TableRow";
|
|
1887
|
+
var Qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(X, {
|
|
1881
1888
|
ref: n,
|
|
1882
|
-
className:
|
|
1889
|
+
className: J("text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0", e),
|
|
1883
1890
|
...t
|
|
1884
1891
|
}));
|
|
1885
|
-
|
|
1886
|
-
var
|
|
1892
|
+
Qi.displayName = "TableHead";
|
|
1893
|
+
var $i = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(X, {
|
|
1887
1894
|
ref: n,
|
|
1888
|
-
className:
|
|
1895
|
+
className: J("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
|
|
1889
1896
|
...t
|
|
1890
1897
|
}));
|
|
1891
|
-
|
|
1892
|
-
var
|
|
1898
|
+
$i.displayName = "TableCell";
|
|
1899
|
+
var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(X, {
|
|
1893
1900
|
ref: n,
|
|
1894
|
-
className:
|
|
1901
|
+
className: J("text-muted-foreground mt-4 text-sm", e),
|
|
1895
1902
|
...t
|
|
1896
1903
|
}));
|
|
1897
|
-
|
|
1904
|
+
ea.displayName = "TableCaption";
|
|
1898
1905
|
//#endregion
|
|
1899
1906
|
//#region src/tabs.tsx
|
|
1900
|
-
var
|
|
1907
|
+
var ta = e.forwardRef((e, t) => /* @__PURE__ */ g(W.Root, {
|
|
1901
1908
|
ref: t,
|
|
1902
1909
|
...e
|
|
1903
1910
|
}));
|
|
1904
|
-
|
|
1905
|
-
var
|
|
1911
|
+
ta.displayName = "Tabs";
|
|
1912
|
+
var na = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(W.List, {
|
|
1906
1913
|
ref: n,
|
|
1907
|
-
className:
|
|
1914
|
+
className: J("bg-muted text-muted-foreground inline-flex h-10 flex-row items-center justify-center rounded-md p-1", e),
|
|
1908
1915
|
...t
|
|
1909
1916
|
}));
|
|
1910
|
-
|
|
1911
|
-
var
|
|
1912
|
-
let { value: r } =
|
|
1913
|
-
return /* @__PURE__ */ g(
|
|
1914
|
-
value:
|
|
1915
|
-
children: /* @__PURE__ */ g(
|
|
1917
|
+
na.displayName = W.List?.displayName || "TabsList";
|
|
1918
|
+
var ra = e.forwardRef(({ className: e, ...t }, n) => {
|
|
1919
|
+
let { value: r } = W.useRootContext();
|
|
1920
|
+
return /* @__PURE__ */ g(_t.Provider, {
|
|
1921
|
+
value: J("text-sm native:text-base font-medium text-muted-foreground web:transition-all", r === t.value && "text-foreground"),
|
|
1922
|
+
children: /* @__PURE__ */ g(W.Trigger, {
|
|
1916
1923
|
ref: n,
|
|
1917
|
-
className:
|
|
1924
|
+
className: J("ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50", t.disabled && "opacity-50", r === t.value && "bg-background shadow-foreground/10 shadow-sm", e),
|
|
1918
1925
|
...t
|
|
1919
1926
|
})
|
|
1920
1927
|
});
|
|
1921
1928
|
});
|
|
1922
|
-
|
|
1923
|
-
var
|
|
1929
|
+
ra.displayName = W.Trigger?.displayName || "TabsTrigger";
|
|
1930
|
+
var ia = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g(W.Content, {
|
|
1924
1931
|
ref: n,
|
|
1925
|
-
className:
|
|
1932
|
+
className: J("ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none", e),
|
|
1926
1933
|
...t
|
|
1927
1934
|
}));
|
|
1928
|
-
|
|
1935
|
+
ia.displayName = W.Content?.displayName || "TabsContent";
|
|
1929
1936
|
//#endregion
|
|
1930
1937
|
//#region src/textarea.tsx
|
|
1931
|
-
var
|
|
1938
|
+
var aa = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ g(f, {
|
|
1932
1939
|
ref: r,
|
|
1933
1940
|
multiline: !0,
|
|
1934
1941
|
numberOfLines: n.numberOfLines || 3,
|
|
1935
|
-
className:
|
|
1936
|
-
placeholderClassName:
|
|
1942
|
+
className: J("border-input bg-background text-foreground placeholder:text-muted-foreground focus:border-ring flex min-h-[80px] w-full rounded-md border px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50", e),
|
|
1943
|
+
placeholderClassName: J("text-muted-foreground", t),
|
|
1937
1944
|
textAlignVertical: "top",
|
|
1938
1945
|
...n
|
|
1939
1946
|
}));
|
|
1940
|
-
|
|
1947
|
+
aa.displayName = "Textarea";
|
|
1941
1948
|
//#endregion
|
|
1942
1949
|
//#region src/toggle.tsx
|
|
1943
|
-
var
|
|
1944
|
-
value:
|
|
1950
|
+
var oa = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ g(_t.Provider, {
|
|
1951
|
+
value: J("text-sm native:text-base text-foreground font-medium", r.pressed && "text-accent-foreground", e),
|
|
1945
1952
|
children: /* @__PURE__ */ g(Le.Root, {
|
|
1946
1953
|
ref: i,
|
|
1947
|
-
className:
|
|
1954
|
+
className: J(Ie({
|
|
1948
1955
|
variant: t,
|
|
1949
1956
|
size: n,
|
|
1950
1957
|
className: e
|
|
@@ -1954,20 +1961,20 @@ var ia = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__
|
|
|
1954
1961
|
onPressedChange: r.onPressedChange || (() => {})
|
|
1955
1962
|
})
|
|
1956
1963
|
}));
|
|
1957
|
-
|
|
1964
|
+
oa.displayName = Le.Root?.displayName || "Toggle";
|
|
1958
1965
|
//#endregion
|
|
1959
1966
|
//#region src/toggle-group.tsx
|
|
1960
|
-
var
|
|
1967
|
+
var sa = e.createContext({
|
|
1961
1968
|
size: "default",
|
|
1962
1969
|
variant: "default"
|
|
1963
|
-
}),
|
|
1970
|
+
}), ca = e.forwardRef(({ className: e, variant: t, size: n, children: r, type: i, value: a, onValueChange: o, ...s }, c) => /* @__PURE__ */ g(G.Root, {
|
|
1964
1971
|
ref: c,
|
|
1965
1972
|
type: i,
|
|
1966
1973
|
value: a,
|
|
1967
1974
|
onValueChange: o,
|
|
1968
|
-
className:
|
|
1975
|
+
className: J("flex flex-row items-center justify-center gap-1", e),
|
|
1969
1976
|
...s,
|
|
1970
|
-
children: /* @__PURE__ */ g(
|
|
1977
|
+
children: /* @__PURE__ */ g(sa.Provider, {
|
|
1971
1978
|
value: {
|
|
1972
1979
|
variant: t,
|
|
1973
1980
|
size: n
|
|
@@ -1975,15 +1982,15 @@ var aa = e.createContext({
|
|
|
1975
1982
|
children: r
|
|
1976
1983
|
})
|
|
1977
1984
|
}));
|
|
1978
|
-
|
|
1979
|
-
var
|
|
1980
|
-
let c = e.useContext(
|
|
1981
|
-
return /* @__PURE__ */ g(
|
|
1982
|
-
value:
|
|
1983
|
-
children: /* @__PURE__ */ g(
|
|
1985
|
+
ca.displayName = G.Root?.displayName || "ToggleGroup";
|
|
1986
|
+
var la = e.forwardRef(({ className: t, children: n, variant: r, size: i, value: a, ...o }, s) => {
|
|
1987
|
+
let c = e.useContext(sa);
|
|
1988
|
+
return /* @__PURE__ */ g(_t.Provider, {
|
|
1989
|
+
value: J("text-sm native:text-base text-foreground font-medium", o.disabled && "web:cursor-not-allowed opacity-50", a === "" && "text-accent-foreground", t),
|
|
1990
|
+
children: /* @__PURE__ */ g(G.Item, {
|
|
1984
1991
|
ref: s,
|
|
1985
1992
|
value: a,
|
|
1986
|
-
className:
|
|
1993
|
+
className: J(Ie({
|
|
1987
1994
|
variant: c.variant || r,
|
|
1988
1995
|
size: c.size || i
|
|
1989
1996
|
}), t),
|
|
@@ -1992,17 +1999,17 @@ var sa = e.forwardRef(({ className: t, children: n, variant: r, size: i, value:
|
|
|
1992
1999
|
})
|
|
1993
2000
|
});
|
|
1994
2001
|
});
|
|
1995
|
-
|
|
2002
|
+
la.displayName = G.Item?.displayName || "ToggleGroupItem";
|
|
1996
2003
|
//#endregion
|
|
1997
2004
|
//#region src/tooltip.tsx
|
|
1998
|
-
var
|
|
2005
|
+
var ua = K.Root, da = K.Trigger, fa = e.forwardRef(({ className: e, portalHost: t, ...n }, r) => /* @__PURE__ */ g(K.Portal, {
|
|
1999
2006
|
hostName: t,
|
|
2000
|
-
children: /* @__PURE__ */ g(
|
|
2007
|
+
children: /* @__PURE__ */ g(K.Overlay, {
|
|
2001
2008
|
style: s.OS === "web" ? void 0 : u.absoluteFill,
|
|
2002
|
-
children: /* @__PURE__ */ g(
|
|
2003
|
-
entering:
|
|
2004
|
-
exiting:
|
|
2005
|
-
className:
|
|
2009
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
2010
|
+
entering: O,
|
|
2011
|
+
exiting: k,
|
|
2012
|
+
className: J("border-border bg-popover web:animate-in web:fade-in-0 web:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded-md border px-3 py-1.5 shadow-md", e),
|
|
2006
2013
|
children: /* @__PURE__ */ g(X, {
|
|
2007
2014
|
className: "text-popover-foreground native:text-base text-sm",
|
|
2008
2015
|
children: n.children
|
|
@@ -2010,42 +2017,42 @@ var ca = G.Root, la = G.Trigger, ua = e.forwardRef(({ className: e, portalHost:
|
|
|
2010
2017
|
})
|
|
2011
2018
|
})
|
|
2012
2019
|
}));
|
|
2013
|
-
|
|
2014
|
-
var
|
|
2020
|
+
fa.displayName = K.Content?.displayName || "TooltipContent";
|
|
2021
|
+
var pa = ({ children: e }) => /* @__PURE__ */ g(h, { children: e }), ma = 5, ha = 1e6, ga = {
|
|
2015
2022
|
ADD_TOAST: "ADD_TOAST",
|
|
2016
2023
|
UPDATE_TOAST: "UPDATE_TOAST",
|
|
2017
2024
|
DISMISS_TOAST: "DISMISS_TOAST",
|
|
2018
2025
|
REMOVE_TOAST: "REMOVE_TOAST"
|
|
2019
|
-
},
|
|
2020
|
-
function
|
|
2021
|
-
return
|
|
2026
|
+
}, _a = 0;
|
|
2027
|
+
function va() {
|
|
2028
|
+
return _a = (_a + 1) % (2 ** 53 - 1), _a.toString();
|
|
2022
2029
|
}
|
|
2023
|
-
var
|
|
2024
|
-
if (
|
|
2030
|
+
var ya = /* @__PURE__ */ new Map(), ba = (e) => {
|
|
2031
|
+
if (ya.has(e)) return;
|
|
2025
2032
|
let t = setTimeout(() => {
|
|
2026
|
-
|
|
2033
|
+
ya.delete(e), $({
|
|
2027
2034
|
type: "REMOVE_TOAST",
|
|
2028
2035
|
toastId: e
|
|
2029
2036
|
});
|
|
2030
|
-
},
|
|
2031
|
-
|
|
2032
|
-
},
|
|
2037
|
+
}, ha);
|
|
2038
|
+
ya.set(e, t);
|
|
2039
|
+
}, xa = (e, t) => {
|
|
2033
2040
|
switch (t.type) {
|
|
2034
|
-
case
|
|
2041
|
+
case ga.ADD_TOAST: return {
|
|
2035
2042
|
...e,
|
|
2036
|
-
toasts: [t.toast, ...e.toasts].slice(0,
|
|
2043
|
+
toasts: [t.toast, ...e.toasts].slice(0, ma)
|
|
2037
2044
|
};
|
|
2038
|
-
case
|
|
2045
|
+
case ga.UPDATE_TOAST: return {
|
|
2039
2046
|
...e,
|
|
2040
2047
|
toasts: e.toasts.map((e) => e.id === t.toast.id ? {
|
|
2041
2048
|
...e,
|
|
2042
2049
|
...t.toast
|
|
2043
2050
|
} : e)
|
|
2044
2051
|
};
|
|
2045
|
-
case
|
|
2052
|
+
case ga.DISMISS_TOAST: {
|
|
2046
2053
|
let { toastId: n } = t;
|
|
2047
|
-
return n ?
|
|
2048
|
-
|
|
2054
|
+
return n ? ba(n) : e.toasts.forEach((e) => {
|
|
2055
|
+
ba(e.id);
|
|
2049
2056
|
}), {
|
|
2050
2057
|
...e,
|
|
2051
2058
|
toasts: e.toasts.map((e) => e.id === n || n === void 0 ? {
|
|
@@ -2054,7 +2061,7 @@ var _a = /* @__PURE__ */ new Map(), va = (e) => {
|
|
|
2054
2061
|
} : e)
|
|
2055
2062
|
};
|
|
2056
2063
|
}
|
|
2057
|
-
case
|
|
2064
|
+
case ga.REMOVE_TOAST: return t.toastId === void 0 ? {
|
|
2058
2065
|
...e,
|
|
2059
2066
|
toasts: []
|
|
2060
2067
|
} : {
|
|
@@ -2062,14 +2069,14 @@ var _a = /* @__PURE__ */ new Map(), va = (e) => {
|
|
|
2062
2069
|
toasts: e.toasts.filter((e) => e.id !== t.toastId)
|
|
2063
2070
|
};
|
|
2064
2071
|
}
|
|
2065
|
-
},
|
|
2072
|
+
}, Sa = [], Ca = { toasts: [] };
|
|
2066
2073
|
function $(e) {
|
|
2067
|
-
|
|
2068
|
-
e(
|
|
2074
|
+
Ca = xa(Ca, e), Sa.forEach((e) => {
|
|
2075
|
+
e(Ca);
|
|
2069
2076
|
});
|
|
2070
2077
|
}
|
|
2071
|
-
function
|
|
2072
|
-
let t =
|
|
2078
|
+
function wa({ ...e }) {
|
|
2079
|
+
let t = va(), n = (e) => $({
|
|
2073
2080
|
type: "UPDATE_TOAST",
|
|
2074
2081
|
toast: {
|
|
2075
2082
|
...e,
|
|
@@ -2095,14 +2102,14 @@ function Sa({ ...e }) {
|
|
|
2095
2102
|
update: n
|
|
2096
2103
|
};
|
|
2097
2104
|
}
|
|
2098
|
-
function
|
|
2099
|
-
let [t, n] = e.useState(
|
|
2100
|
-
return e.useEffect(() => (
|
|
2101
|
-
let e =
|
|
2102
|
-
e > -1 &&
|
|
2105
|
+
function Ta() {
|
|
2106
|
+
let [t, n] = e.useState(Ca);
|
|
2107
|
+
return e.useEffect(() => (Sa.push(n), () => {
|
|
2108
|
+
let e = Sa.indexOf(n);
|
|
2109
|
+
e > -1 && Sa.splice(e, 1);
|
|
2103
2110
|
}), []), {
|
|
2104
2111
|
...t,
|
|
2105
|
-
toast:
|
|
2112
|
+
toast: wa,
|
|
2106
2113
|
dismiss: (e) => $({
|
|
2107
2114
|
type: "DISMISS_TOAST",
|
|
2108
2115
|
toastId: e
|
|
@@ -2111,16 +2118,16 @@ function Ca() {
|
|
|
2111
2118
|
}
|
|
2112
2119
|
//#endregion
|
|
2113
2120
|
//#region src/theme-provider.tsx
|
|
2114
|
-
function
|
|
2121
|
+
function Ea({ children: e, className: t }) {
|
|
2115
2122
|
let { colorScheme: n } = Re();
|
|
2116
2123
|
return /* @__PURE__ */ g(m, {
|
|
2117
|
-
className:
|
|
2124
|
+
className: J("flex-1", n === "dark" ? "dark" : "", t),
|
|
2118
2125
|
children: e
|
|
2119
2126
|
});
|
|
2120
2127
|
}
|
|
2121
2128
|
//#endregion
|
|
2122
2129
|
//#region src/hooks/use-theme.ts
|
|
2123
|
-
function
|
|
2130
|
+
function Da() {
|
|
2124
2131
|
let { colorScheme: e, setColorScheme: t } = Re(), n = e;
|
|
2125
2132
|
return {
|
|
2126
2133
|
theme: e,
|
|
@@ -2131,7 +2138,7 @@ function Ta() {
|
|
|
2131
2138
|
}
|
|
2132
2139
|
//#endregion
|
|
2133
2140
|
//#region src/lib/iconWithClassName.ts
|
|
2134
|
-
function
|
|
2141
|
+
function Oa(e) {
|
|
2135
2142
|
Be(e, { className: {
|
|
2136
2143
|
target: "style",
|
|
2137
2144
|
nativeStyleToProp: {
|
|
@@ -2140,55 +2147,55 @@ function Ea(e) {
|
|
|
2140
2147
|
}
|
|
2141
2148
|
} });
|
|
2142
2149
|
}
|
|
2143
|
-
|
|
2144
|
-
function
|
|
2145
|
-
let { theme: i, setTheme: a, resolvedTheme: o } =
|
|
2150
|
+
Oa(ce), Oa(ae), Oa(le);
|
|
2151
|
+
function ka({ variant: e = "binary", onThemeChange: t, customTheme: n, className: r }) {
|
|
2152
|
+
let { theme: i, setTheme: a, resolvedTheme: o } = Da(), s = n ?? i, c = (n || o) === "dark", l = s === "system", u = (e) => {
|
|
2146
2153
|
t ? t(e) : a(e);
|
|
2147
2154
|
}, d = () => /* @__PURE__ */ _(m, {
|
|
2148
2155
|
className: "flex items-center justify-center",
|
|
2149
2156
|
children: [
|
|
2150
|
-
/* @__PURE__ */ g(
|
|
2157
|
+
/* @__PURE__ */ g(ce, {
|
|
2151
2158
|
size: 18,
|
|
2152
|
-
className:
|
|
2159
|
+
className: J("text-foreground transition-all", !l && !c ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 -rotate-90 opacity-0")
|
|
2153
2160
|
}),
|
|
2154
|
-
/* @__PURE__ */ g(
|
|
2161
|
+
/* @__PURE__ */ g(ae, {
|
|
2155
2162
|
size: 18,
|
|
2156
|
-
className:
|
|
2163
|
+
className: J("text-foreground transition-all", !l && c ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 rotate-90 opacity-0")
|
|
2157
2164
|
}),
|
|
2158
|
-
/* @__PURE__ */ g(
|
|
2165
|
+
/* @__PURE__ */ g(le, {
|
|
2159
2166
|
size: 18,
|
|
2160
|
-
className:
|
|
2167
|
+
className: J("text-foreground transition-all", l ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 rotate-90 opacity-0")
|
|
2161
2168
|
})
|
|
2162
2169
|
]
|
|
2163
2170
|
});
|
|
2164
|
-
return e === "ternary" ? /* @__PURE__ */ _(
|
|
2171
|
+
return e === "ternary" ? /* @__PURE__ */ _(Hn, { children: [/* @__PURE__ */ g(Un, {
|
|
2165
2172
|
asChild: !0,
|
|
2166
2173
|
children: /* @__PURE__ */ g(Y, {
|
|
2167
2174
|
variant: "ghost",
|
|
2168
2175
|
size: "icon",
|
|
2169
|
-
className:
|
|
2176
|
+
className: J("relative h-9 w-9", r),
|
|
2170
2177
|
children: /* @__PURE__ */ g(d, {})
|
|
2171
2178
|
})
|
|
2172
|
-
}), /* @__PURE__ */ _(
|
|
2179
|
+
}), /* @__PURE__ */ _(Yn, {
|
|
2173
2180
|
align: "end",
|
|
2174
2181
|
children: [
|
|
2175
|
-
/* @__PURE__ */ _(
|
|
2182
|
+
/* @__PURE__ */ _(Z, {
|
|
2176
2183
|
onSelect: () => u("light"),
|
|
2177
|
-
children: [/* @__PURE__ */ g(
|
|
2184
|
+
children: [/* @__PURE__ */ g(ce, {
|
|
2178
2185
|
size: 14,
|
|
2179
2186
|
className: "text-foreground mr-2"
|
|
2180
2187
|
}), /* @__PURE__ */ g(X, { children: "Light" })]
|
|
2181
2188
|
}),
|
|
2182
|
-
/* @__PURE__ */ _(
|
|
2189
|
+
/* @__PURE__ */ _(Z, {
|
|
2183
2190
|
onSelect: () => u("dark"),
|
|
2184
|
-
children: [/* @__PURE__ */ g(
|
|
2191
|
+
children: [/* @__PURE__ */ g(ae, {
|
|
2185
2192
|
size: 14,
|
|
2186
2193
|
className: "text-foreground mr-2"
|
|
2187
2194
|
}), /* @__PURE__ */ g(X, { children: "Dark" })]
|
|
2188
2195
|
}),
|
|
2189
|
-
/* @__PURE__ */ _(
|
|
2196
|
+
/* @__PURE__ */ _(Z, {
|
|
2190
2197
|
onSelect: () => u("system"),
|
|
2191
|
-
children: [/* @__PURE__ */ g(
|
|
2198
|
+
children: [/* @__PURE__ */ g(le, {
|
|
2192
2199
|
size: 14,
|
|
2193
2200
|
className: "text-foreground mr-2"
|
|
2194
2201
|
}), /* @__PURE__ */ g(X, { children: "System" })]
|
|
@@ -2197,37 +2204,37 @@ function Da({ variant: e = "binary", onThemeChange: t, customTheme: n, className
|
|
|
2197
2204
|
})] }) : /* @__PURE__ */ g(Y, {
|
|
2198
2205
|
variant: "ghost",
|
|
2199
2206
|
size: "icon",
|
|
2200
|
-
className:
|
|
2207
|
+
className: J("relative h-9 w-9", r),
|
|
2201
2208
|
onPress: () => u(s === "dark" ? "light" : "dark"),
|
|
2202
2209
|
children: /* @__PURE__ */ g(d, {})
|
|
2203
2210
|
});
|
|
2204
2211
|
}
|
|
2205
2212
|
//#endregion
|
|
2206
2213
|
//#region src/toaster.tsx
|
|
2207
|
-
var
|
|
2208
|
-
let { toasts: e } =
|
|
2209
|
-
return /* @__PURE__ */ g(
|
|
2214
|
+
var Aa = () => {
|
|
2215
|
+
let { toasts: e } = Ta();
|
|
2216
|
+
return /* @__PURE__ */ g(Ri, { children: /* @__PURE__ */ g(m, {
|
|
2210
2217
|
className: "pointer-events-none absolute right-6 bottom-6 left-6 z-50 flex flex-col gap-2",
|
|
2211
|
-
children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ _(
|
|
2218
|
+
children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ _(Bi, {
|
|
2212
2219
|
...i,
|
|
2213
2220
|
className: "pointer-events-auto",
|
|
2214
2221
|
children: [
|
|
2215
2222
|
/* @__PURE__ */ _(m, {
|
|
2216
2223
|
className: "flex flex-1 flex-col gap-1",
|
|
2217
|
-
children: [t && /* @__PURE__ */ g(
|
|
2224
|
+
children: [t && /* @__PURE__ */ g(Vi, { children: t }), n && /* @__PURE__ */ g(Hi, { children: n })]
|
|
2218
2225
|
}),
|
|
2219
2226
|
r,
|
|
2220
|
-
/* @__PURE__ */ g(
|
|
2227
|
+
/* @__PURE__ */ g(Ui, {})
|
|
2221
2228
|
]
|
|
2222
2229
|
}, e))
|
|
2223
2230
|
}) });
|
|
2224
|
-
},
|
|
2225
|
-
function
|
|
2226
|
-
let t = e.useContext(
|
|
2231
|
+
}, ja = e.createContext(void 0);
|
|
2232
|
+
function Ma() {
|
|
2233
|
+
let t = e.useContext(ja);
|
|
2227
2234
|
if (!t) throw Error("useTOC must be used within a TableOfContents provider");
|
|
2228
2235
|
return t;
|
|
2229
2236
|
}
|
|
2230
|
-
function
|
|
2237
|
+
function Na({ children: t, activeId: n }) {
|
|
2231
2238
|
let [r, i] = e.useState([]), [a, o] = e.useState(null), s = e.useRef(null), c = e.useMemo(() => {
|
|
2232
2239
|
let e = n || a;
|
|
2233
2240
|
return r.find((t) => t.id === e)?.text || null;
|
|
@@ -2284,7 +2291,7 @@ function ja({ children: t, activeId: n }) {
|
|
|
2284
2291
|
d,
|
|
2285
2292
|
f
|
|
2286
2293
|
]);
|
|
2287
|
-
return /* @__PURE__ */ g(
|
|
2294
|
+
return /* @__PURE__ */ g(ja.Provider, {
|
|
2288
2295
|
value: p,
|
|
2289
2296
|
children: /* @__PURE__ */ g(m, {
|
|
2290
2297
|
className: "flex-1",
|
|
@@ -2292,8 +2299,8 @@ function ja({ children: t, activeId: n }) {
|
|
|
2292
2299
|
})
|
|
2293
2300
|
});
|
|
2294
2301
|
}
|
|
2295
|
-
function
|
|
2296
|
-
let { registerHeading: a, unregisterHeading: o } =
|
|
2302
|
+
function Pa({ children: t, level: n = 2, id: r, className: i }) {
|
|
2303
|
+
let { registerHeading: a, unregisterHeading: o } = Ma(), s = r || Ve(t), c = e.useCallback((e) => {
|
|
2297
2304
|
let { y: r } = e.nativeEvent.layout;
|
|
2298
2305
|
a(s, t, n, r);
|
|
2299
2306
|
}, [
|
|
@@ -2311,12 +2318,12 @@ function Ma({ children: t, level: n = 2, id: r, className: i }) {
|
|
|
2311
2318
|
})
|
|
2312
2319
|
});
|
|
2313
2320
|
}
|
|
2314
|
-
function
|
|
2315
|
-
let { headings: t, activeId: n, scrollToHeading: r } =
|
|
2321
|
+
function Fa({ className: e }) {
|
|
2322
|
+
let { headings: t, activeId: n, scrollToHeading: r } = Ma();
|
|
2316
2323
|
if (t.length === 0) return null;
|
|
2317
2324
|
let i = Math.min(...t.map((e) => e.level));
|
|
2318
2325
|
return /* @__PURE__ */ _(m, {
|
|
2319
|
-
className:
|
|
2326
|
+
className: J("space-y-2 p-4", e),
|
|
2320
2327
|
children: [/* @__PURE__ */ g(X, {
|
|
2321
2328
|
variant: "overline",
|
|
2322
2329
|
className: "mb-2 font-bold",
|
|
@@ -2328,19 +2335,19 @@ function Na({ className: e }) {
|
|
|
2328
2335
|
style: { paddingLeft: (e.level - i) * 16 },
|
|
2329
2336
|
className: "py-1",
|
|
2330
2337
|
children: /* @__PURE__ */ g(d, {
|
|
2331
|
-
className:
|
|
2338
|
+
className: J("text-sm", t ? "text-primary font-bold" : "text-muted-foreground"),
|
|
2332
2339
|
children: e.text
|
|
2333
2340
|
})
|
|
2334
2341
|
}, e.id);
|
|
2335
2342
|
})]
|
|
2336
2343
|
});
|
|
2337
2344
|
}
|
|
2338
|
-
function
|
|
2339
|
-
let { scrollViewRef: n, onScroll: r } =
|
|
2345
|
+
function Ia({ children: e, className: t }) {
|
|
2346
|
+
let { scrollViewRef: n, onScroll: r } = Ma();
|
|
2340
2347
|
return /* @__PURE__ */ g(l, {
|
|
2341
2348
|
ref: n,
|
|
2342
2349
|
onScroll: r,
|
|
2343
|
-
className:
|
|
2350
|
+
className: J("flex-1", t),
|
|
2344
2351
|
...s.OS !== "web" && {
|
|
2345
2352
|
scrollEventThrottle: 16,
|
|
2346
2353
|
contentContainerStyle: { padding: 16 }
|
|
@@ -2348,77 +2355,77 @@ function Pa({ children: e, className: t }) {
|
|
|
2348
2355
|
children: e
|
|
2349
2356
|
});
|
|
2350
2357
|
}
|
|
2351
|
-
|
|
2358
|
+
Na.List = Fa, Na.Content = Ia, Na.Heading = Pa;
|
|
2352
2359
|
//#endregion
|
|
2353
2360
|
//#region src/button-group.tsx
|
|
2354
|
-
function
|
|
2361
|
+
function La({ className: e, orientation: t, ...n }) {
|
|
2355
2362
|
return /* @__PURE__ */ g(m, {
|
|
2356
|
-
className:
|
|
2363
|
+
className: J("flex flex-row", e),
|
|
2357
2364
|
...n
|
|
2358
2365
|
});
|
|
2359
2366
|
}
|
|
2360
|
-
function
|
|
2367
|
+
function Ra({ className: e, asChild: t, ...n }) {
|
|
2361
2368
|
return /* @__PURE__ */ g(d, {
|
|
2362
|
-
className:
|
|
2369
|
+
className: J("text-sm font-medium", e),
|
|
2363
2370
|
...n
|
|
2364
2371
|
});
|
|
2365
2372
|
}
|
|
2366
|
-
function
|
|
2373
|
+
function za({ className: e, orientation: t, ...n }) {
|
|
2367
2374
|
return /* @__PURE__ */ g(m, {
|
|
2368
|
-
className:
|
|
2375
|
+
className: J("bg-border h-full w-px", e),
|
|
2369
2376
|
...n
|
|
2370
2377
|
});
|
|
2371
2378
|
}
|
|
2372
|
-
var
|
|
2379
|
+
var Ba = () => "";
|
|
2373
2380
|
//#endregion
|
|
2374
2381
|
//#region src/direction.tsx
|
|
2375
|
-
function
|
|
2382
|
+
function Va({ children: e }) {
|
|
2376
2383
|
return /* @__PURE__ */ g(h, { children: e });
|
|
2377
2384
|
}
|
|
2378
|
-
function
|
|
2385
|
+
function Ha() {
|
|
2379
2386
|
return "ltr";
|
|
2380
2387
|
}
|
|
2381
2388
|
//#endregion
|
|
2382
2389
|
//#region src/empty.tsx
|
|
2383
|
-
function
|
|
2390
|
+
function Ua({ className: e, ...t }) {
|
|
2384
2391
|
return /* @__PURE__ */ g(m, {
|
|
2385
|
-
className:
|
|
2392
|
+
className: J("border-border flex w-full items-center justify-center rounded-xl border-2 border-dashed p-6", e),
|
|
2386
2393
|
...t
|
|
2387
2394
|
});
|
|
2388
2395
|
}
|
|
2389
|
-
function
|
|
2396
|
+
function Wa({ className: e, ...t }) {
|
|
2390
2397
|
return /* @__PURE__ */ g(m, {
|
|
2391
|
-
className:
|
|
2398
|
+
className: J("flex flex-col items-center gap-2", e),
|
|
2392
2399
|
...t
|
|
2393
2400
|
});
|
|
2394
2401
|
}
|
|
2395
|
-
function
|
|
2402
|
+
function Ga({ className: e, variant: t, ...n }) {
|
|
2396
2403
|
return /* @__PURE__ */ g(m, {
|
|
2397
|
-
className:
|
|
2404
|
+
className: J("flex items-center justify-center", e),
|
|
2398
2405
|
...n
|
|
2399
2406
|
});
|
|
2400
2407
|
}
|
|
2401
|
-
function
|
|
2408
|
+
function Ka({ className: e, ...t }) {
|
|
2402
2409
|
return /* @__PURE__ */ g(d, {
|
|
2403
|
-
className:
|
|
2410
|
+
className: J("text-foreground text-lg font-semibold", e),
|
|
2404
2411
|
...t
|
|
2405
2412
|
});
|
|
2406
2413
|
}
|
|
2407
|
-
function
|
|
2414
|
+
function qa({ className: e, ...t }) {
|
|
2408
2415
|
return /* @__PURE__ */ g(d, {
|
|
2409
|
-
className:
|
|
2416
|
+
className: J("text-muted-foreground text-center text-sm", e),
|
|
2410
2417
|
...t
|
|
2411
2418
|
});
|
|
2412
2419
|
}
|
|
2413
|
-
function
|
|
2420
|
+
function Ja({ className: e, ...t }) {
|
|
2414
2421
|
return /* @__PURE__ */ g(m, {
|
|
2415
|
-
className:
|
|
2422
|
+
className: J("mt-4 flex flex-col items-center gap-2", e),
|
|
2416
2423
|
...t
|
|
2417
2424
|
});
|
|
2418
2425
|
}
|
|
2419
2426
|
//#endregion
|
|
2420
2427
|
//#region src/spinner.tsx
|
|
2421
|
-
function
|
|
2428
|
+
function Ya({ className: e, ...t }) {
|
|
2422
2429
|
return /* @__PURE__ */ g(n, {
|
|
2423
2430
|
size: "small",
|
|
2424
2431
|
...t
|
|
@@ -2426,53 +2433,53 @@ function qa({ className: e, ...t }) {
|
|
|
2426
2433
|
}
|
|
2427
2434
|
//#endregion
|
|
2428
2435
|
//#region src/field.tsx
|
|
2429
|
-
function
|
|
2436
|
+
function Xa({ className: e, orientation: t, ...n }) {
|
|
2430
2437
|
return /* @__PURE__ */ g(m, {
|
|
2431
|
-
className:
|
|
2438
|
+
className: J("flex flex-col gap-2", e),
|
|
2432
2439
|
...n
|
|
2433
2440
|
});
|
|
2434
2441
|
}
|
|
2435
|
-
function
|
|
2442
|
+
function Za({ className: e, ...t }) {
|
|
2436
2443
|
return /* @__PURE__ */ g(m, {
|
|
2437
|
-
className:
|
|
2444
|
+
className: J("flex flex-col", e),
|
|
2438
2445
|
...t
|
|
2439
2446
|
});
|
|
2440
2447
|
}
|
|
2441
|
-
function
|
|
2448
|
+
function Qa({ className: e, ...t }) {
|
|
2442
2449
|
return /* @__PURE__ */ g(d, {
|
|
2443
|
-
className:
|
|
2450
|
+
className: J("text-muted-foreground text-sm", e),
|
|
2444
2451
|
...t
|
|
2445
2452
|
});
|
|
2446
2453
|
}
|
|
2447
|
-
function
|
|
2454
|
+
function $a({ className: e, errors: t, children: n, ...r }) {
|
|
2448
2455
|
let i = n || t && t[0]?.message;
|
|
2449
2456
|
return i ? /* @__PURE__ */ g(d, {
|
|
2450
|
-
className:
|
|
2457
|
+
className: J("text-destructive text-sm", e),
|
|
2451
2458
|
...r,
|
|
2452
2459
|
children: i
|
|
2453
2460
|
}) : null;
|
|
2454
2461
|
}
|
|
2455
|
-
function
|
|
2462
|
+
function eo({ className: e, ...t }) {
|
|
2456
2463
|
return /* @__PURE__ */ g(m, {
|
|
2457
|
-
className:
|
|
2464
|
+
className: J("flex flex-col gap-4", e),
|
|
2458
2465
|
...t
|
|
2459
2466
|
});
|
|
2460
2467
|
}
|
|
2461
|
-
function
|
|
2468
|
+
function to({ className: e, ...t }) {
|
|
2462
2469
|
return /* @__PURE__ */ g(d, {
|
|
2463
|
-
className:
|
|
2470
|
+
className: J("text-sm font-medium", e),
|
|
2464
2471
|
...t
|
|
2465
2472
|
});
|
|
2466
2473
|
}
|
|
2467
|
-
function
|
|
2474
|
+
function no({ className: e, variant: t, ...n }) {
|
|
2468
2475
|
return /* @__PURE__ */ g(d, {
|
|
2469
|
-
className:
|
|
2476
|
+
className: J("font-medium", t === "label" ? "text-sm" : "text-base", e),
|
|
2470
2477
|
...n
|
|
2471
2478
|
});
|
|
2472
2479
|
}
|
|
2473
|
-
function
|
|
2480
|
+
function ro({ className: e, children: t, ...n }) {
|
|
2474
2481
|
return /* @__PURE__ */ g(m, {
|
|
2475
|
-
className:
|
|
2482
|
+
className: J("bg-border my-2 h-px", e),
|
|
2476
2483
|
...n,
|
|
2477
2484
|
children: t ? /* @__PURE__ */ g(d, {
|
|
2478
2485
|
className: "bg-background absolute px-2 text-xs",
|
|
@@ -2480,33 +2487,33 @@ function to({ className: e, children: t, ...n }) {
|
|
|
2480
2487
|
}) : null
|
|
2481
2488
|
});
|
|
2482
2489
|
}
|
|
2483
|
-
function
|
|
2490
|
+
function io({ className: e, ...t }) {
|
|
2484
2491
|
return /* @__PURE__ */ g(m, {
|
|
2485
|
-
className:
|
|
2492
|
+
className: J("flex flex-col gap-4", e),
|
|
2486
2493
|
...t
|
|
2487
2494
|
});
|
|
2488
2495
|
}
|
|
2489
|
-
function
|
|
2496
|
+
function ao({ className: e, ...t }) {
|
|
2490
2497
|
return /* @__PURE__ */ g(d, {
|
|
2491
|
-
className:
|
|
2498
|
+
className: J("text-sm font-medium", e),
|
|
2492
2499
|
...t
|
|
2493
2500
|
});
|
|
2494
2501
|
}
|
|
2495
2502
|
//#endregion
|
|
2496
2503
|
//#region src/input-group.tsx
|
|
2497
|
-
function
|
|
2504
|
+
function oo({ className: e, ...t }) {
|
|
2498
2505
|
return /* @__PURE__ */ g(m, {
|
|
2499
|
-
className:
|
|
2506
|
+
className: J("border-input flex flex-row items-center rounded-md border", e),
|
|
2500
2507
|
...t
|
|
2501
2508
|
});
|
|
2502
2509
|
}
|
|
2503
|
-
function
|
|
2510
|
+
function so({ className: e, align: t, ...n }) {
|
|
2504
2511
|
return /* @__PURE__ */ g(m, {
|
|
2505
|
-
className:
|
|
2512
|
+
className: J("p-2", e),
|
|
2506
2513
|
...n
|
|
2507
2514
|
});
|
|
2508
2515
|
}
|
|
2509
|
-
function
|
|
2516
|
+
function co({ className: e, type: t, variant: n, size: r, ...i }) {
|
|
2510
2517
|
return /* @__PURE__ */ g(Y, {
|
|
2511
2518
|
variant: n,
|
|
2512
2519
|
size: r,
|
|
@@ -2514,30 +2521,30 @@ function oo({ className: e, type: t, variant: n, size: r, ...i }) {
|
|
|
2514
2521
|
...i
|
|
2515
2522
|
});
|
|
2516
2523
|
}
|
|
2517
|
-
function
|
|
2524
|
+
function lo({ className: e, ...t }) {
|
|
2518
2525
|
return /* @__PURE__ */ g(d, {
|
|
2519
|
-
className:
|
|
2526
|
+
className: J("text-muted-foreground text-sm", e),
|
|
2520
2527
|
...t
|
|
2521
2528
|
});
|
|
2522
2529
|
}
|
|
2523
|
-
function
|
|
2530
|
+
function uo({ className: e, ...t }) {
|
|
2524
2531
|
return /* @__PURE__ */ g(f, {
|
|
2525
|
-
className:
|
|
2532
|
+
className: J("text-foreground flex-1 px-3 py-2", e),
|
|
2526
2533
|
...t
|
|
2527
2534
|
});
|
|
2528
2535
|
}
|
|
2529
|
-
function
|
|
2536
|
+
function fo({ className: e, ...t }) {
|
|
2530
2537
|
return /* @__PURE__ */ g(f, {
|
|
2531
2538
|
multiline: !0,
|
|
2532
|
-
className:
|
|
2539
|
+
className: J("text-foreground flex-1 px-3 py-2", e),
|
|
2533
2540
|
...t
|
|
2534
2541
|
});
|
|
2535
2542
|
}
|
|
2536
2543
|
//#endregion
|
|
2537
2544
|
//#region src/native-select.tsx
|
|
2538
|
-
function
|
|
2545
|
+
function po({ className: e, size: t, ...n }) {
|
|
2539
2546
|
return /* @__PURE__ */ g(m, {
|
|
2540
|
-
className:
|
|
2547
|
+
className: J("border-input rounded-md border p-2", e),
|
|
2541
2548
|
...n,
|
|
2542
2549
|
children: /* @__PURE__ */ g(d, {
|
|
2543
2550
|
className: "text-muted-foreground",
|
|
@@ -2545,13 +2552,13 @@ function uo({ className: e, size: t, ...n }) {
|
|
|
2545
2552
|
})
|
|
2546
2553
|
});
|
|
2547
2554
|
}
|
|
2548
|
-
function
|
|
2555
|
+
function mo({ className: e, ...t }) {
|
|
2549
2556
|
return /* @__PURE__ */ g(m, {
|
|
2550
2557
|
className: e,
|
|
2551
2558
|
...t
|
|
2552
2559
|
});
|
|
2553
2560
|
}
|
|
2554
|
-
function
|
|
2561
|
+
function ho({ className: e, ...t }) {
|
|
2555
2562
|
return /* @__PURE__ */ g(m, {
|
|
2556
2563
|
className: e,
|
|
2557
2564
|
...t
|
|
@@ -2559,85 +2566,85 @@ function po({ className: e, ...t }) {
|
|
|
2559
2566
|
}
|
|
2560
2567
|
//#endregion
|
|
2561
2568
|
//#region src/kbd.tsx
|
|
2562
|
-
function
|
|
2569
|
+
function go({ className: e, ...t }) {
|
|
2563
2570
|
return /* @__PURE__ */ g(d, {
|
|
2564
|
-
className:
|
|
2571
|
+
className: J("bg-muted text-muted-foreground rounded-sm px-1 font-mono text-xs", e),
|
|
2565
2572
|
...t
|
|
2566
2573
|
});
|
|
2567
2574
|
}
|
|
2568
|
-
function
|
|
2575
|
+
function _o({ className: e, ...t }) {
|
|
2569
2576
|
return /* @__PURE__ */ g(m, {
|
|
2570
|
-
className:
|
|
2577
|
+
className: J("flex flex-row items-center gap-1", e),
|
|
2571
2578
|
...t
|
|
2572
2579
|
});
|
|
2573
2580
|
}
|
|
2574
2581
|
//#endregion
|
|
2575
2582
|
//#region src/item.tsx
|
|
2576
|
-
function
|
|
2583
|
+
function vo({ className: e, variant: t, size: n, ...r }) {
|
|
2577
2584
|
return /* @__PURE__ */ g(m, {
|
|
2578
|
-
className:
|
|
2585
|
+
className: J("flex flex-row flex-wrap items-center gap-2 rounded-lg border p-3", e),
|
|
2579
2586
|
...r
|
|
2580
2587
|
});
|
|
2581
2588
|
}
|
|
2582
|
-
function
|
|
2589
|
+
function yo({ className: e, ...t }) {
|
|
2583
2590
|
return /* @__PURE__ */ g(m, {
|
|
2584
|
-
className:
|
|
2591
|
+
className: J("flex flex-row items-center gap-2", e),
|
|
2585
2592
|
...t
|
|
2586
2593
|
});
|
|
2587
2594
|
}
|
|
2588
|
-
function
|
|
2595
|
+
function bo({ className: e, ...t }) {
|
|
2589
2596
|
return /* @__PURE__ */ g(m, {
|
|
2590
|
-
className:
|
|
2597
|
+
className: J("flex flex-1 flex-col gap-1", e),
|
|
2591
2598
|
...t
|
|
2592
2599
|
});
|
|
2593
2600
|
}
|
|
2594
|
-
function
|
|
2601
|
+
function xo({ className: e, ...t }) {
|
|
2595
2602
|
return /* @__PURE__ */ g(d, {
|
|
2596
|
-
className:
|
|
2603
|
+
className: J("text-muted-foreground text-sm", e),
|
|
2597
2604
|
...t
|
|
2598
2605
|
});
|
|
2599
2606
|
}
|
|
2600
|
-
function
|
|
2607
|
+
function So({ className: e, ...t }) {
|
|
2601
2608
|
return /* @__PURE__ */ g(m, {
|
|
2602
|
-
className:
|
|
2609
|
+
className: J("flex w-full flex-row items-center justify-between gap-2", e),
|
|
2603
2610
|
...t
|
|
2604
2611
|
});
|
|
2605
2612
|
}
|
|
2606
|
-
function
|
|
2613
|
+
function Co({ className: e, ...t }) {
|
|
2607
2614
|
return /* @__PURE__ */ g(m, {
|
|
2608
|
-
className:
|
|
2615
|
+
className: J("flex flex-col gap-4", e),
|
|
2609
2616
|
...t
|
|
2610
2617
|
});
|
|
2611
2618
|
}
|
|
2612
|
-
function
|
|
2619
|
+
function wo({ className: e, ...t }) {
|
|
2613
2620
|
return /* @__PURE__ */ g(m, {
|
|
2614
|
-
className:
|
|
2621
|
+
className: J("flex w-full flex-row items-center justify-between gap-2", e),
|
|
2615
2622
|
...t
|
|
2616
2623
|
});
|
|
2617
2624
|
}
|
|
2618
|
-
function
|
|
2625
|
+
function To({ className: e, variant: t, ...n }) {
|
|
2619
2626
|
return /* @__PURE__ */ g(m, {
|
|
2620
|
-
className:
|
|
2627
|
+
className: J("flex shrink-0 items-center justify-center gap-2", e),
|
|
2621
2628
|
...n
|
|
2622
2629
|
});
|
|
2623
2630
|
}
|
|
2624
|
-
function
|
|
2631
|
+
function Eo({ className: e, orientation: t, ...n }) {
|
|
2625
2632
|
return /* @__PURE__ */ g(m, {
|
|
2626
|
-
className:
|
|
2633
|
+
className: J("bg-border my-2 h-px w-full", e),
|
|
2627
2634
|
...n
|
|
2628
2635
|
});
|
|
2629
2636
|
}
|
|
2630
|
-
function
|
|
2637
|
+
function Do({ className: e, ...t }) {
|
|
2631
2638
|
return /* @__PURE__ */ g(d, {
|
|
2632
|
-
className:
|
|
2639
|
+
className: J("text-sm font-medium", e),
|
|
2633
2640
|
...t
|
|
2634
2641
|
});
|
|
2635
2642
|
}
|
|
2636
2643
|
//#endregion
|
|
2637
2644
|
//#region src/combobox.tsx
|
|
2638
|
-
function
|
|
2645
|
+
function Oo({ className: e, ...t }) {
|
|
2639
2646
|
return /* @__PURE__ */ g(m, {
|
|
2640
|
-
className:
|
|
2647
|
+
className: J("border-destructive/50 rounded-md border border-dashed p-4", e),
|
|
2641
2648
|
...t,
|
|
2642
2649
|
children: /* @__PURE__ */ g(d, {
|
|
2643
2650
|
className: "text-destructive font-mono text-xs",
|
|
@@ -2645,104 +2652,104 @@ function Eo({ className: e, ...t }) {
|
|
|
2645
2652
|
})
|
|
2646
2653
|
});
|
|
2647
2654
|
}
|
|
2648
|
-
function
|
|
2655
|
+
function ko({ className: e, ...t }) {
|
|
2649
2656
|
return /* @__PURE__ */ g(m, {
|
|
2650
2657
|
className: e,
|
|
2651
2658
|
...t
|
|
2652
2659
|
});
|
|
2653
2660
|
}
|
|
2654
|
-
function
|
|
2661
|
+
function Ao({ className: e, ...t }) {
|
|
2655
2662
|
return /* @__PURE__ */ g(m, {
|
|
2656
2663
|
className: e,
|
|
2657
2664
|
...t
|
|
2658
2665
|
});
|
|
2659
2666
|
}
|
|
2660
|
-
function
|
|
2667
|
+
function jo({ className: e, ...t }) {
|
|
2661
2668
|
return /* @__PURE__ */ g(m, {
|
|
2662
2669
|
className: e,
|
|
2663
2670
|
...t
|
|
2664
2671
|
});
|
|
2665
2672
|
}
|
|
2666
|
-
function
|
|
2673
|
+
function Mo({ className: e, showClear: t, showTrigger: n, ...r }) {
|
|
2667
2674
|
return /* @__PURE__ */ g(m, {
|
|
2668
2675
|
className: e,
|
|
2669
2676
|
...r
|
|
2670
2677
|
});
|
|
2671
2678
|
}
|
|
2672
|
-
function
|
|
2679
|
+
function No({ className: e, side: t, sideOffset: n, align: r, alignOffset: i, anchor: a, ...o }) {
|
|
2673
2680
|
return /* @__PURE__ */ g(m, {
|
|
2674
2681
|
className: e,
|
|
2675
2682
|
...o
|
|
2676
2683
|
});
|
|
2677
2684
|
}
|
|
2678
|
-
function
|
|
2685
|
+
function Po({ className: e, ...t }) {
|
|
2679
2686
|
return /* @__PURE__ */ g(m, {
|
|
2680
2687
|
className: e,
|
|
2681
2688
|
...t
|
|
2682
2689
|
});
|
|
2683
2690
|
}
|
|
2684
|
-
function
|
|
2691
|
+
function Fo({ className: e, ...t }) {
|
|
2685
2692
|
return /* @__PURE__ */ g(m, {
|
|
2686
2693
|
className: e,
|
|
2687
2694
|
...t
|
|
2688
2695
|
});
|
|
2689
2696
|
}
|
|
2690
|
-
function
|
|
2697
|
+
function Io({ className: e, ...t }) {
|
|
2691
2698
|
return /* @__PURE__ */ g(m, {
|
|
2692
2699
|
className: e,
|
|
2693
2700
|
...t
|
|
2694
2701
|
});
|
|
2695
2702
|
}
|
|
2696
|
-
function
|
|
2703
|
+
function Lo({ className: e, ...t }) {
|
|
2697
2704
|
return /* @__PURE__ */ g(m, {
|
|
2698
2705
|
className: e,
|
|
2699
2706
|
...t
|
|
2700
2707
|
});
|
|
2701
2708
|
}
|
|
2702
|
-
function
|
|
2709
|
+
function Ro({ className: e, ...t }) {
|
|
2703
2710
|
return /* @__PURE__ */ g(m, {
|
|
2704
2711
|
className: e,
|
|
2705
2712
|
...t
|
|
2706
2713
|
});
|
|
2707
2714
|
}
|
|
2708
|
-
function
|
|
2715
|
+
function zo({ className: e, ...t }) {
|
|
2709
2716
|
return /* @__PURE__ */ g(m, {
|
|
2710
2717
|
className: e,
|
|
2711
2718
|
...t
|
|
2712
2719
|
});
|
|
2713
2720
|
}
|
|
2714
|
-
function
|
|
2721
|
+
function Bo({ className: e, ...t }) {
|
|
2715
2722
|
return /* @__PURE__ */ g(m, {
|
|
2716
2723
|
className: e,
|
|
2717
2724
|
...t
|
|
2718
2725
|
});
|
|
2719
2726
|
}
|
|
2720
|
-
function
|
|
2727
|
+
function Vo({ className: e, ...t }) {
|
|
2721
2728
|
return /* @__PURE__ */ g(m, {
|
|
2722
2729
|
className: e,
|
|
2723
2730
|
...t
|
|
2724
2731
|
});
|
|
2725
2732
|
}
|
|
2726
|
-
function
|
|
2733
|
+
function Ho({ className: e, showRemove: t, ...n }) {
|
|
2727
2734
|
return /* @__PURE__ */ g(m, {
|
|
2728
2735
|
className: e,
|
|
2729
2736
|
...n
|
|
2730
2737
|
});
|
|
2731
2738
|
}
|
|
2732
|
-
function
|
|
2739
|
+
function Uo({ className: e, ...t }) {
|
|
2733
2740
|
return /* @__PURE__ */ g(m, {
|
|
2734
2741
|
className: e,
|
|
2735
2742
|
...t
|
|
2736
2743
|
});
|
|
2737
2744
|
}
|
|
2738
|
-
function
|
|
2745
|
+
function Wo() {
|
|
2739
2746
|
return e.useRef(null);
|
|
2740
2747
|
}
|
|
2741
2748
|
//#endregion
|
|
2742
2749
|
//#region src/input-otp.tsx
|
|
2743
|
-
function
|
|
2750
|
+
function Go({ className: e, containerClassName: t, ...n }) {
|
|
2744
2751
|
return /* @__PURE__ */ g(m, {
|
|
2745
|
-
className:
|
|
2752
|
+
className: J("border-destructive/50 rounded-md border border-dashed p-4", t, e),
|
|
2746
2753
|
...n,
|
|
2747
2754
|
children: /* @__PURE__ */ g(d, {
|
|
2748
2755
|
className: "text-destructive font-mono text-xs",
|
|
@@ -2750,19 +2757,19 @@ function Uo({ className: e, containerClassName: t, ...n }) {
|
|
|
2750
2757
|
})
|
|
2751
2758
|
});
|
|
2752
2759
|
}
|
|
2753
|
-
function
|
|
2760
|
+
function Ko({ className: e, ...t }) {
|
|
2754
2761
|
return /* @__PURE__ */ g(m, {
|
|
2755
2762
|
className: e,
|
|
2756
2763
|
...t
|
|
2757
2764
|
});
|
|
2758
2765
|
}
|
|
2759
|
-
function
|
|
2766
|
+
function qo({ className: e, index: t, ...n }) {
|
|
2760
2767
|
return /* @__PURE__ */ g(m, {
|
|
2761
2768
|
className: e,
|
|
2762
2769
|
...n
|
|
2763
2770
|
});
|
|
2764
2771
|
}
|
|
2765
|
-
function
|
|
2772
|
+
function Jo({ className: e, ...t }) {
|
|
2766
2773
|
return /* @__PURE__ */ g(m, {
|
|
2767
2774
|
className: e,
|
|
2768
2775
|
...t
|
|
@@ -2770,15 +2777,15 @@ function Ko({ className: e, ...t }) {
|
|
|
2770
2777
|
}
|
|
2771
2778
|
//#endregion
|
|
2772
2779
|
//#region src/sidebar.tsx
|
|
2773
|
-
function
|
|
2780
|
+
function Yo({ className: e, defaultOpen: t, open: n, onOpenChange: r, ...i }) {
|
|
2774
2781
|
return /* @__PURE__ */ g(m, {
|
|
2775
2782
|
className: e,
|
|
2776
2783
|
...i
|
|
2777
2784
|
});
|
|
2778
2785
|
}
|
|
2779
|
-
function
|
|
2786
|
+
function Xo({ className: e, side: t, variant: n, collapsible: r, ...i }) {
|
|
2780
2787
|
return /* @__PURE__ */ g(m, {
|
|
2781
|
-
className:
|
|
2788
|
+
className: J("border-destructive/50 rounded-md border border-dashed p-4", e),
|
|
2782
2789
|
...i,
|
|
2783
2790
|
children: /* @__PURE__ */ g(d, {
|
|
2784
2791
|
className: "text-destructive font-mono text-xs",
|
|
@@ -2786,133 +2793,133 @@ function Jo({ className: e, side: t, variant: n, collapsible: r, ...i }) {
|
|
|
2786
2793
|
})
|
|
2787
2794
|
});
|
|
2788
2795
|
}
|
|
2789
|
-
function
|
|
2796
|
+
function Zo({ className: e, ...t }) {
|
|
2790
2797
|
return /* @__PURE__ */ g(c, {
|
|
2791
2798
|
className: e,
|
|
2792
2799
|
...t
|
|
2793
2800
|
});
|
|
2794
2801
|
}
|
|
2795
|
-
function
|
|
2802
|
+
function Qo({ className: e, ...t }) {
|
|
2796
2803
|
return /* @__PURE__ */ g(m, {
|
|
2797
2804
|
className: e,
|
|
2798
2805
|
...t
|
|
2799
2806
|
});
|
|
2800
2807
|
}
|
|
2801
|
-
function
|
|
2808
|
+
function $o({ className: e, ...t }) {
|
|
2802
2809
|
return /* @__PURE__ */ g(m, {
|
|
2803
2810
|
className: e,
|
|
2804
2811
|
...t
|
|
2805
2812
|
});
|
|
2806
2813
|
}
|
|
2807
|
-
function
|
|
2814
|
+
function es({ className: e, ...t }) {
|
|
2808
2815
|
return /* @__PURE__ */ g(m, {
|
|
2809
2816
|
className: e,
|
|
2810
2817
|
...t
|
|
2811
2818
|
});
|
|
2812
2819
|
}
|
|
2813
|
-
function
|
|
2820
|
+
function ts({ className: e, ...t }) {
|
|
2814
2821
|
return /* @__PURE__ */ g(m, {
|
|
2815
2822
|
className: e,
|
|
2816
2823
|
...t
|
|
2817
2824
|
});
|
|
2818
2825
|
}
|
|
2819
|
-
function
|
|
2826
|
+
function ns({ className: e, ...t }) {
|
|
2820
2827
|
return /* @__PURE__ */ g(m, {
|
|
2821
2828
|
className: e,
|
|
2822
2829
|
...t
|
|
2823
2830
|
});
|
|
2824
2831
|
}
|
|
2825
|
-
function
|
|
2832
|
+
function rs({ className: e, ...t }) {
|
|
2826
2833
|
return /* @__PURE__ */ g(m, {
|
|
2827
2834
|
className: e,
|
|
2828
2835
|
...t
|
|
2829
2836
|
});
|
|
2830
2837
|
}
|
|
2831
|
-
function
|
|
2838
|
+
function is({ className: e, ...t }) {
|
|
2832
2839
|
return /* @__PURE__ */ g(m, {
|
|
2833
2840
|
className: e,
|
|
2834
2841
|
...t
|
|
2835
2842
|
});
|
|
2836
2843
|
}
|
|
2837
|
-
function
|
|
2844
|
+
function as({ className: e, ...t }) {
|
|
2838
2845
|
return /* @__PURE__ */ g(m, {
|
|
2839
2846
|
className: e,
|
|
2840
2847
|
...t
|
|
2841
2848
|
});
|
|
2842
2849
|
}
|
|
2843
|
-
function
|
|
2850
|
+
function os({ className: e, asChild: t, ...n }) {
|
|
2844
2851
|
return /* @__PURE__ */ g(m, {
|
|
2845
2852
|
className: e,
|
|
2846
2853
|
...n
|
|
2847
2854
|
});
|
|
2848
2855
|
}
|
|
2849
|
-
function
|
|
2856
|
+
function ss({ className: e, asChild: t, ...n }) {
|
|
2850
2857
|
return /* @__PURE__ */ g(c, {
|
|
2851
2858
|
className: e,
|
|
2852
2859
|
...n
|
|
2853
2860
|
});
|
|
2854
2861
|
}
|
|
2855
|
-
function
|
|
2862
|
+
function cs({ className: e, ...t }) {
|
|
2856
2863
|
return /* @__PURE__ */ g(m, {
|
|
2857
2864
|
className: e,
|
|
2858
2865
|
...t
|
|
2859
2866
|
});
|
|
2860
2867
|
}
|
|
2861
|
-
function
|
|
2868
|
+
function ls({ className: e, ...t }) {
|
|
2862
2869
|
return /* @__PURE__ */ g(m, {
|
|
2863
2870
|
className: e,
|
|
2864
2871
|
...t
|
|
2865
2872
|
});
|
|
2866
2873
|
}
|
|
2867
|
-
function
|
|
2874
|
+
function us({ className: e, ...t }) {
|
|
2868
2875
|
return /* @__PURE__ */ g(m, {
|
|
2869
2876
|
className: e,
|
|
2870
2877
|
...t
|
|
2871
2878
|
});
|
|
2872
2879
|
}
|
|
2873
|
-
function
|
|
2880
|
+
function ds({ className: e, asChild: t, isActive: n, variant: r, size: i, tooltip: a, ...o }) {
|
|
2874
2881
|
return /* @__PURE__ */ g(c, {
|
|
2875
2882
|
className: e,
|
|
2876
2883
|
...o
|
|
2877
2884
|
});
|
|
2878
2885
|
}
|
|
2879
|
-
function
|
|
2886
|
+
function fs({ className: e, asChild: t, showOnHover: n, ...r }) {
|
|
2880
2887
|
return /* @__PURE__ */ g(c, {
|
|
2881
2888
|
className: e,
|
|
2882
2889
|
...r
|
|
2883
2890
|
});
|
|
2884
2891
|
}
|
|
2885
|
-
function
|
|
2892
|
+
function ps({ className: e, ...t }) {
|
|
2886
2893
|
return /* @__PURE__ */ g(m, {
|
|
2887
2894
|
className: e,
|
|
2888
2895
|
...t
|
|
2889
2896
|
});
|
|
2890
2897
|
}
|
|
2891
|
-
function
|
|
2898
|
+
function ms({ className: e, showIcon: t, ...n }) {
|
|
2892
2899
|
return /* @__PURE__ */ g(m, {
|
|
2893
2900
|
className: e,
|
|
2894
2901
|
...n
|
|
2895
2902
|
});
|
|
2896
2903
|
}
|
|
2897
|
-
function
|
|
2904
|
+
function hs({ className: e, ...t }) {
|
|
2898
2905
|
return /* @__PURE__ */ g(m, {
|
|
2899
2906
|
className: e,
|
|
2900
2907
|
...t
|
|
2901
2908
|
});
|
|
2902
2909
|
}
|
|
2903
|
-
function
|
|
2910
|
+
function gs({ className: e, ...t }) {
|
|
2904
2911
|
return /* @__PURE__ */ g(m, {
|
|
2905
2912
|
className: e,
|
|
2906
2913
|
...t
|
|
2907
2914
|
});
|
|
2908
2915
|
}
|
|
2909
|
-
function
|
|
2916
|
+
function _s({ className: e, asChild: t, size: n, isActive: r, ...i }) {
|
|
2910
2917
|
return /* @__PURE__ */ g(c, {
|
|
2911
2918
|
className: e,
|
|
2912
2919
|
...i
|
|
2913
2920
|
});
|
|
2914
2921
|
}
|
|
2915
|
-
function
|
|
2922
|
+
function vs() {
|
|
2916
2923
|
return {
|
|
2917
2924
|
state: "expanded",
|
|
2918
2925
|
open: !0,
|
|
@@ -2924,4 +2931,4 @@ function gs() {
|
|
|
2924
2931
|
};
|
|
2925
2932
|
}
|
|
2926
2933
|
//#endregion
|
|
2927
|
-
export { He as Accordion, Ke as AccordionContent, Ue as AccordionItem, Ge as AccordionTrigger, Je as Alert, Xe as AlertDescription,
|
|
2934
|
+
export { He as Accordion, Ke as AccordionContent, Ue as AccordionItem, Ge as AccordionTrigger, Je as Alert, Xe as AlertDescription, $e as AlertDialog, ct as AlertDialogAction, lt as AlertDialogCancel, rt as AlertDialogContent, st as AlertDialogDescription, at as AlertDialogFooter, it as AlertDialogHeader, nt as AlertDialogOverlay, tt as AlertDialogPortal, ot as AlertDialogTitle, et as AlertDialogTrigger, Ye as AlertTitle, ut as AspectRatio, dt as Avatar, pt as AvatarFallback, ft as AvatarImage, gt as Badge, yt as Breadcrumb, Tt as BreadcrumbEllipsis, xt as BreadcrumbItem, St as BreadcrumbLink, bt as BreadcrumbList, Ct as BreadcrumbPage, wt as BreadcrumbSeparator, Y as Button, La as ButtonGroup, za as ButtonGroupSeparator, Ra as ButtonGroupText, Et as Calendar, Dt as Card, jt as CardContent, At as CardDescription, Mt as CardFooter, Ot as CardHeader, kt as CardTitle, Ft as Carousel, It as CarouselContent, Lt as CarouselItem, zt as CarouselNext, Rt as CarouselPrevious, Bt as ChartContainer, Wt as ChartLegend, Ht as ChartLegendContent, Gt as ChartStyle, Ut as ChartTooltip, Vt as ChartTooltipContent, Kt as Checkbox, qt as Collapsible, Yt as CollapsibleContent, Jt as CollapsibleTrigger, Oo as Combobox, Ho as ComboboxChip, Vo as ComboboxChips, Uo as ComboboxChipsInput, jo as ComboboxClear, Ro as ComboboxCollection, No as ComboboxContent, zo as ComboboxEmpty, Io as ComboboxGroup, Mo as ComboboxInput, Fo as ComboboxItem, Lo as ComboboxLabel, Po as ComboboxList, Bo as ComboboxSeparator, Ao as ComboboxTrigger, ko as ComboboxValue, Xt as Command, Zt as CommandDialog, en as CommandEmpty, tn as CommandGroup, Qt as CommandInput, nn as CommandItem, $t as CommandList, rn as CommandSeparator, an as CommandShortcut, on as ContextMenu, hn as ContextMenuCheckboxItem, pn as ContextMenuContent, ln as ContextMenuGroup, mn as ContextMenuItem, _n as ContextMenuLabel, cn as ContextMenuPortal, un as ContextMenuRadioGroup, gn as ContextMenuRadioItem, vn as ContextMenuSeparator, yn as ContextMenuShortcut, dn as ContextMenuSub, xn as ContextMenuSubContent, bn as ContextMenuSubTrigger, sn as ContextMenuTrigger, Sn as Dialog, Tn as DialogClose, Dn as DialogContent, jn as DialogDescription, kn as DialogFooter, On as DialogHeader, An as DialogTitle, Cn as DialogTrigger, Va as DirectionProvider, Mn as Drawer, zn as DrawerClose, In as DrawerContent, Vn as DrawerDescription, Rn as DrawerFooter, Ln as DrawerHeader, Fn as DrawerOverlay, Pn as DrawerPortal, Bn as DrawerTitle, Nn as DrawerTrigger, Hn as DropdownMenu, Xn as DropdownMenuCheckboxItem, Yn as DropdownMenuContent, Gn as DropdownMenuGroup, Z as DropdownMenuItem, Qn as DropdownMenuLabel, Wn as DropdownMenuPortal, Kn as DropdownMenuRadioGroup, Zn as DropdownMenuRadioItem, $n as DropdownMenuSeparator, er as DropdownMenuShortcut, qn as DropdownMenuSub, nr as DropdownMenuSubContent, tr as DropdownMenuSubTrigger, Un as DropdownMenuTrigger, Ua as Empty, Ja as EmptyContent, qa as EmptyDescription, Wa as EmptyHeader, Ga as EmptyMedia, Ka as EmptyTitle, Xa as Field, Za as FieldContent, Qa as FieldDescription, $a as FieldError, eo as FieldGroup, to as FieldLabel, no as FieldLegend, ro as FieldSeparator, io as FieldSet, ao as FieldTitle, ir as Form, ur as FormControl, dr as FormDescription, or as FormField, cr as FormItem, lr as FormLabel, fr as FormMessage, pr as HoverCard, hr as HoverCardContent, mr as HoverCardTrigger, gr as Input, oo as InputGroup, so as InputGroupAddon, co as InputGroupButton, uo as InputGroupInput, lo as InputGroupText, fo as InputGroupTextarea, Go as InputOTP, Ko as InputOTPGroup, Jo as InputOTPSeparator, qo as InputOTPSlot, vo as Item, yo as ItemActions, bo as ItemContent, xo as ItemDescription, So as ItemFooter, Co as ItemGroup, wo as ItemHeader, To as ItemMedia, Eo as ItemSeparator, Do as ItemTitle, go as Kbd, _o as KbdGroup, rr as Label, _r as Menubar, Dr as MenubarCheckboxItem, Tr as MenubarContent, br as MenubarGroup, Er as MenubarItem, kr as MenubarLabel, vr as MenubarMenu, yr as MenubarPortal, xr as MenubarRadioGroup, Or as MenubarRadioItem, Ar as MenubarSeparator, jr as MenubarShortcut, Sr as MenubarSub, Nr as MenubarSubContent, Mr as MenubarSubTrigger, wr as MenubarTrigger, po as NativeSelect, ho as NativeSelectOptGroup, mo as NativeSelectOption, Pr as NavigationMenu, Rr as NavigationMenuContent, Vr as NavigationMenuIndicator, Ir as NavigationMenuItem, zr as NavigationMenuLink, Fr as NavigationMenuList, Lr as NavigationMenuTrigger, Br as NavigationMenuViewport, Hr as Pagination, Ur as PaginationContent, Jr as PaginationEllipsis, Wr as PaginationItem, Gr as PaginationLink, qr as PaginationNext, Kr as PaginationPrevious, Xr as Popover, Qr as PopoverAnchor, $r as PopoverContent, Zr as PopoverTrigger, ei as Progress, ti as RadioGroup, ni as RadioGroupItem, ai as ResizableHandle, ii as ResizablePanel, ri as ResizablePanelGroup, oi as ScrollArea, bi as ScrollToTop, ci as Search, ui as Select, gi as SelectContent, di as SelectGroup, vi as SelectItem, _i as SelectLabel, hi as SelectScrollDownButton, mi as SelectScrollUpButton, yi as SelectSeparator, pi as SelectTrigger, fi as SelectValue, Ti as Separator, Ei as Sheet, Oi as SheetClose, ji as SheetContent, Fi as SheetDescription, Ni as SheetFooter, Mi as SheetHeader, Ai as SheetOverlay, ki as SheetPortal, Pi as SheetTitle, Di as SheetTrigger, Xo as Sidebar, is as SidebarContent, ns as SidebarFooter, as as SidebarGroup, ss as SidebarGroupAction, cs as SidebarGroupContent, os as SidebarGroupLabel, ts as SidebarHeader, es as SidebarInput, $o as SidebarInset, ls as SidebarMenu, fs as SidebarMenuAction, ps as SidebarMenuBadge, ds as SidebarMenuButton, us as SidebarMenuItem, ms as SidebarMenuSkeleton, hs as SidebarMenuSub, _s as SidebarMenuSubButton, gs as SidebarMenuSubItem, Yo as SidebarProvider, Qo as SidebarRail, rs as SidebarSeparator, Zo as SidebarTrigger, Ii as Skeleton, Li as Slider, Gi as Sonner, Ya as Spinner, wi as SupportFab, Ki as Switch, qi as Table, Yi as TableBody, ea as TableCaption, $i as TableCell, Xi as TableFooter, Qi as TableHead, Ji as TableHeader, Na as TableOfContents, Ia as TableOfContentsContent, Pa as TableOfContentsHeading, Fa as TableOfContentsList, Zi as TableRow, ta as Tabs, ia as TabsContent, na as TabsList, ra as TabsTrigger, X as Text, aa as Textarea, Ea as ThemeProvider, ka as ThemeToggle, Bi as Toast, Aa as Toaster, oa as Toggle, ca as ToggleGroup, la as ToggleGroupItem, ua as Tooltip, fa as TooltipContent, pa as TooltipProvider, da as TooltipTrigger, mt as badgeVariants, Ba as buttonGroupVariants, Ze as buttonVariants, J as cn, vt as textVariants, wa as toast, Ie as toggleVariants, Wo as useComboboxAnchor, Ha as useDirection, Q as useFormField, vs as useSidebar, Da as useTheme, Ta as useToast, q as wrapTextChildren };
|