@gv-tech/ui-native 2.22.0 → 2.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/carousel.d.ts +17 -5
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.test.d.ts +2 -0
- package/dist/carousel.test.d.ts.map +1 -0
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/form.d.ts +30 -1
- package/dist/form.d.ts.map +1 -1
- package/dist/form.test.d.ts +2 -0
- package/dist/form.test.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts +49 -0
- package/dist/hooks/use-theme.d.ts.map +1 -0
- package/dist/hooks/use-theme.test.d.ts +2 -0
- package/dist/hooks/use-theme.test.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/search.d.ts +9 -2
- package/dist/search.d.ts.map +1 -1
- package/dist/sonner.d.ts.map +1 -1
- package/dist/theme-toggle.d.ts.map +1 -1
- package/dist/ui-native.cjs +2 -2
- package/dist/ui-native.mjs +1129 -895
- package/package.json +10 -5
- package/src/carousel.tsx +191 -14
- package/src/dropdown-menu.tsx +2 -1
- package/src/form.tsx +166 -4
- package/src/hooks/use-theme.ts +18 -0
- package/src/index.ts +1 -0
- package/src/scroll-area.tsx +4 -2
- package/src/search.tsx +74 -12
- package/src/sonner.tsx +7 -3
- package/src/theme-toggle.tsx +10 -9
package/dist/ui-native.mjs
CHANGED
|
@@ -1,104 +1,107 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { AccessibilityInfo as t, Animated as n,
|
|
3
|
-
import { Fragment as
|
|
4
|
-
import { clsx as
|
|
5
|
-
import { twMerge as
|
|
6
|
-
import * as
|
|
7
|
-
import { ArrowUp as
|
|
8
|
-
import
|
|
9
|
-
import { cva as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import
|
|
21
|
-
import * as
|
|
22
|
-
import * as I from "@rn-primitives/
|
|
23
|
-
import * as L from "@rn-primitives/
|
|
24
|
-
import * as R from "@rn-primitives/
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
27
|
-
import * as
|
|
28
|
-
import * as
|
|
29
|
-
import
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
32
|
-
import
|
|
33
|
-
import * as
|
|
34
|
-
import
|
|
2
|
+
import { AccessibilityInfo as t, Animated as n, Dimensions as r, Linking as i, Modal as a, Platform as o, Pressable as s, ScrollView as c, StyleSheet as l, Text as u, TextInput as d, TouchableOpacity as f, View as p } from "react-native";
|
|
3
|
+
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
4
|
+
import { clsx as _ } from "clsx";
|
|
5
|
+
import { twMerge as v } from "tailwind-merge";
|
|
6
|
+
import * as y from "@rn-primitives/accordion";
|
|
7
|
+
import { ArrowLeft as b, ArrowRight as x, ArrowUp as S, Check as C, ChevronDown as w, ChevronLeft as ee, ChevronRight as T, ChevronUp as te, Circle as E, Coffee as ne, ExternalLink as re, Moon as ie, MoreHorizontal as ae, Search as oe, Sun as se, SunMoon as ce, X as le } from "lucide-react-native";
|
|
8
|
+
import D, { Extrapolation as ue, FadeIn as O, FadeInUp as de, FadeOut as k, FadeOutDown as fe, Layout as pe, SlideInDown as me, SlideInRight as he, SlideOutDown as ge, SlideOutRight as _e, interpolate as ve, useAnimatedStyle as ye, useDerivedValue as be, useSharedValue as xe, withRepeat as Se, withSequence as Ce, withTiming as we } from "react-native-reanimated";
|
|
9
|
+
import { cva as A } from "class-variance-authority";
|
|
10
|
+
import * as j from "@rn-primitives/alert-dialog";
|
|
11
|
+
import * as Te from "@rn-primitives/aspect-ratio";
|
|
12
|
+
import * as M 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 N from "@rn-primitives/context-menu";
|
|
18
|
+
import * as P from "@rn-primitives/dialog";
|
|
19
|
+
import * as F from "@rn-primitives/dropdown-menu";
|
|
20
|
+
import { FormProvider as Ae, useFormContext as je } from "react-hook-form";
|
|
21
|
+
import * as Me from "@rn-primitives/label";
|
|
22
|
+
import * as I from "@rn-primitives/hover-card";
|
|
23
|
+
import * as L from "@rn-primitives/menubar";
|
|
24
|
+
import * as R from "@rn-primitives/navigation-menu";
|
|
25
|
+
import * as z from "@rn-primitives/radio-group";
|
|
26
|
+
import * as B from "@rn-primitives/select";
|
|
27
|
+
import * as Ne from "@rn-primitives/separator";
|
|
28
|
+
import * as V from "@rn-primitives/slider";
|
|
29
|
+
import * as H from "@rn-primitives/toast";
|
|
30
|
+
import * as Pe from "@rn-primitives/switch";
|
|
31
|
+
import * as U from "@rn-primitives/tabs";
|
|
32
|
+
import { toggleVariants as Fe } from "@gv-tech/ui-core";
|
|
33
|
+
import * as Ie from "@rn-primitives/toggle";
|
|
34
|
+
import * as W from "@rn-primitives/toggle-group";
|
|
35
|
+
import * as G from "@rn-primitives/tooltip";
|
|
36
|
+
import { useColorScheme as Le } from "nativewind";
|
|
37
|
+
import { theme as Re } from "@gv-tech/design-tokens";
|
|
35
38
|
//#region src/lib/render-native.tsx
|
|
36
|
-
function
|
|
37
|
-
return e.Children.map(t, (e) => typeof e == "string" || typeof e == "number" ? /* @__PURE__ */
|
|
39
|
+
function K(t, n = u, r = {}) {
|
|
40
|
+
return e.Children.map(t, (e) => typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ h(n, {
|
|
38
41
|
...r,
|
|
39
42
|
children: e
|
|
40
43
|
}) : e);
|
|
41
44
|
}
|
|
42
45
|
//#endregion
|
|
43
46
|
//#region src/lib/utils.ts
|
|
44
|
-
function
|
|
45
|
-
return _(
|
|
47
|
+
function q(...e) {
|
|
48
|
+
return v(_(e));
|
|
46
49
|
}
|
|
47
|
-
function
|
|
50
|
+
function ze(e) {
|
|
48
51
|
return e.toString().toLowerCase().trim().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-");
|
|
49
52
|
}
|
|
50
53
|
//#endregion
|
|
51
54
|
//#region src/accordion.tsx
|
|
52
|
-
var
|
|
55
|
+
var Be = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(y.Root, {
|
|
53
56
|
ref: n,
|
|
54
|
-
className:
|
|
57
|
+
className: q("web:gap-0", e),
|
|
55
58
|
...t
|
|
56
59
|
}));
|
|
57
|
-
|
|
58
|
-
var
|
|
60
|
+
Be.displayName = y.Root?.displayName || "Accordion";
|
|
61
|
+
var Ve = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(y.Item, {
|
|
59
62
|
ref: n,
|
|
60
|
-
className:
|
|
63
|
+
className: q("border-border overflow-hidden border-b", e),
|
|
61
64
|
...t
|
|
62
65
|
}));
|
|
63
|
-
|
|
64
|
-
var
|
|
66
|
+
Ve.displayName = y.Item?.displayName || "AccordionItem";
|
|
67
|
+
var He = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(y.Header, {
|
|
65
68
|
ref: n,
|
|
66
|
-
className:
|
|
69
|
+
className: q("flex flex-row", e),
|
|
67
70
|
...t
|
|
68
71
|
}));
|
|
69
|
-
|
|
70
|
-
var
|
|
71
|
-
let { isExpanded: i } =
|
|
72
|
+
He.displayName = y.Header?.displayName || "AccordionHeader";
|
|
73
|
+
var Ue = e.forwardRef(({ className: e, children: t, ...n }, r) => {
|
|
74
|
+
let { isExpanded: i } = y.useItemContext(), a = be(() => i ? we(1, { duration: 250 }) : we(0, { duration: 200 })), o = ye(() => ({
|
|
72
75
|
transform: [{ rotate: `${a.value * 180}deg` }],
|
|
73
|
-
opacity:
|
|
76
|
+
opacity: ve(a.value, [0, 1], [1, .8], ue.CLAMP)
|
|
74
77
|
}));
|
|
75
|
-
return /* @__PURE__ */
|
|
78
|
+
return /* @__PURE__ */ h(y.Header, {
|
|
76
79
|
className: "flex",
|
|
77
|
-
children: /* @__PURE__ */
|
|
80
|
+
children: /* @__PURE__ */ g(y.Trigger, {
|
|
78
81
|
ref: r,
|
|
79
|
-
className:
|
|
82
|
+
className: q("flex flex-row items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
|
|
80
83
|
...n,
|
|
81
|
-
children: [/* @__PURE__ */ m
|
|
84
|
+
children: [/* @__PURE__ */ h(m, { children: t }), /* @__PURE__ */ h(D.View, {
|
|
82
85
|
style: o,
|
|
83
|
-
children: /* @__PURE__ */
|
|
86
|
+
children: /* @__PURE__ */ h(w, { className: "text-muted-foreground h-4 w-4 shrink-0 transition-transform duration-200" })
|
|
84
87
|
})]
|
|
85
88
|
})
|
|
86
89
|
});
|
|
87
90
|
});
|
|
88
|
-
|
|
89
|
-
var
|
|
91
|
+
Ue.displayName = y.Trigger?.displayName || "AccordionTrigger";
|
|
92
|
+
var We = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(y.Content, {
|
|
90
93
|
ref: r,
|
|
91
|
-
className:
|
|
94
|
+
className: q("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all", e),
|
|
92
95
|
...n,
|
|
93
|
-
children: /* @__PURE__ */
|
|
94
|
-
className:
|
|
96
|
+
children: /* @__PURE__ */ h(p, {
|
|
97
|
+
className: q("pt-0 pb-4", e),
|
|
95
98
|
children: t
|
|
96
99
|
})
|
|
97
100
|
}));
|
|
98
|
-
|
|
101
|
+
We.displayName = y.Content?.displayName || "AccordionContent";
|
|
99
102
|
//#endregion
|
|
100
103
|
//#region src/alert.tsx
|
|
101
|
-
var
|
|
104
|
+
var Ge = A("relative w-full rounded-lg border p-4", {
|
|
102
105
|
variants: { variant: {
|
|
103
106
|
default: "bg-background border-border",
|
|
104
107
|
destructive: "border-destructive/50 bg-destructive/10",
|
|
@@ -106,28 +109,28 @@ var ze = O("relative w-full rounded-lg border p-4", {
|
|
|
106
109
|
info: "border-blue-500/50 bg-blue-500/10"
|
|
107
110
|
} },
|
|
108
111
|
defaultVariants: { variant: "default" }
|
|
109
|
-
}),
|
|
112
|
+
}), Ke = e.forwardRef(({ className: e, variant: t, children: n, ...r }, i) => /* @__PURE__ */ h(p, {
|
|
110
113
|
ref: i,
|
|
111
|
-
className:
|
|
114
|
+
className: q(Ge({ variant: t }), e),
|
|
112
115
|
...r,
|
|
113
|
-
children:
|
|
116
|
+
children: K(n)
|
|
114
117
|
}));
|
|
115
|
-
|
|
116
|
-
var
|
|
118
|
+
Ke.displayName = "Alert";
|
|
119
|
+
var qe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(u, {
|
|
117
120
|
ref: n,
|
|
118
|
-
className:
|
|
121
|
+
className: q("text-foreground mb-1 leading-none font-medium tracking-tight", e),
|
|
119
122
|
...t
|
|
120
123
|
}));
|
|
121
|
-
|
|
122
|
-
var
|
|
124
|
+
qe.displayName = "AlertTitle";
|
|
125
|
+
var Je = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(u, {
|
|
123
126
|
ref: n,
|
|
124
|
-
className:
|
|
127
|
+
className: q("text-muted-foreground text-sm leading-relaxed", e),
|
|
125
128
|
...t
|
|
126
129
|
}));
|
|
127
|
-
|
|
130
|
+
Je.displayName = "AlertDescription";
|
|
128
131
|
//#endregion
|
|
129
132
|
//#region src/button.tsx
|
|
130
|
-
var
|
|
133
|
+
var J = A("flex-row items-center justify-center gap-2 rounded-md transition-colors active:opacity-80", {
|
|
131
134
|
variants: {
|
|
132
135
|
variant: {
|
|
133
136
|
default: "bg-primary shadow-sm",
|
|
@@ -148,7 +151,7 @@ var K = O("flex-row items-center justify-center gap-2 rounded-md transition-colo
|
|
|
148
151
|
variant: "default",
|
|
149
152
|
size: "default"
|
|
150
153
|
}
|
|
151
|
-
}),
|
|
154
|
+
}), Ye = A("text-sm font-medium", {
|
|
152
155
|
variants: { variant: {
|
|
153
156
|
default: "text-primary-foreground",
|
|
154
157
|
destructive: "text-destructive-foreground",
|
|
@@ -158,115 +161,115 @@ var K = O("flex-row items-center justify-center gap-2 rounded-md transition-colo
|
|
|
158
161
|
link: "text-primary underline"
|
|
159
162
|
} },
|
|
160
163
|
defaultVariants: { variant: "default" }
|
|
161
|
-
}),
|
|
164
|
+
}), Y = e.forwardRef(({ className: e, variant: t, size: n, onPress: r, children: i, disabled: a, ...o }, c) => /* @__PURE__ */ h(s, {
|
|
162
165
|
ref: c,
|
|
163
166
|
onPress: r,
|
|
164
167
|
disabled: a,
|
|
165
|
-
className:
|
|
168
|
+
className: q(J({
|
|
166
169
|
variant: t,
|
|
167
170
|
size: n,
|
|
168
171
|
className: e
|
|
169
172
|
}), a && "opacity-50"),
|
|
170
|
-
...
|
|
171
|
-
children:
|
|
173
|
+
...o,
|
|
174
|
+
children: K(i, u, { className: q(Ye({ variant: t })) })
|
|
172
175
|
}));
|
|
173
|
-
|
|
176
|
+
Y.displayName = "Button";
|
|
174
177
|
//#endregion
|
|
175
178
|
//#region src/alert-dialog.tsx
|
|
176
|
-
var
|
|
177
|
-
style:
|
|
179
|
+
var Xe = j.Root, Ze = j.Trigger, Qe = j.Portal, $e = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(j.Overlay, {
|
|
180
|
+
style: l.absoluteFill,
|
|
178
181
|
asChild: !0,
|
|
179
182
|
ref: n,
|
|
180
183
|
...t,
|
|
181
|
-
children: /* @__PURE__ */
|
|
182
|
-
entering:
|
|
183
|
-
exiting:
|
|
184
|
-
className:
|
|
184
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
185
|
+
entering: O.duration(150),
|
|
186
|
+
exiting: k.duration(150),
|
|
187
|
+
className: q("z-50 flex items-center justify-center bg-black/80 p-2", e)
|
|
185
188
|
})
|
|
186
189
|
}));
|
|
187
|
-
|
|
188
|
-
var
|
|
190
|
+
$e.displayName = j.Overlay?.displayName || "AlertDialogOverlay";
|
|
191
|
+
var et = e.forwardRef(({ className: e, portalHost: t, overlayClassName: n, overlayStyle: r, ...i }, a) => /* @__PURE__ */ g(Qe, {
|
|
189
192
|
hostName: t,
|
|
190
|
-
children: [/* @__PURE__ */
|
|
193
|
+
children: [/* @__PURE__ */ h($e, {
|
|
191
194
|
className: n,
|
|
192
195
|
style: r
|
|
193
|
-
}), /* @__PURE__ */
|
|
196
|
+
}), /* @__PURE__ */ h(j.Content, {
|
|
194
197
|
ref: a,
|
|
195
198
|
asChild: !0,
|
|
196
199
|
...i,
|
|
197
|
-
children: /* @__PURE__ */
|
|
198
|
-
entering:
|
|
199
|
-
exiting:
|
|
200
|
-
className:
|
|
200
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
201
|
+
entering: O.duration(150),
|
|
202
|
+
exiting: k.duration(150),
|
|
203
|
+
className: q("border-border bg-background z-50 w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e)
|
|
201
204
|
})
|
|
202
205
|
})]
|
|
203
206
|
}));
|
|
204
|
-
|
|
205
|
-
var
|
|
206
|
-
className:
|
|
207
|
+
et.displayName = j.Content?.displayName || "AlertDialogContent";
|
|
208
|
+
var tt = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
|
|
209
|
+
className: q("flex flex-col gap-2 text-center sm:text-left", e),
|
|
207
210
|
...t
|
|
208
211
|
});
|
|
209
|
-
|
|
210
|
-
var
|
|
211
|
-
className:
|
|
212
|
+
tt.displayName = "AlertDialogHeader";
|
|
213
|
+
var nt = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
|
|
214
|
+
className: q("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
|
|
212
215
|
...t
|
|
213
216
|
});
|
|
214
|
-
|
|
215
|
-
var
|
|
217
|
+
nt.displayName = "AlertDialogFooter";
|
|
218
|
+
var rt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(j.Title, {
|
|
216
219
|
ref: n,
|
|
217
|
-
className:
|
|
220
|
+
className: q("native:text-xl text-foreground text-lg font-semibold", e),
|
|
218
221
|
...t
|
|
219
222
|
}));
|
|
220
|
-
|
|
221
|
-
var
|
|
223
|
+
rt.displayName = j.Title?.displayName || "AlertDialogTitle";
|
|
224
|
+
var it = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(j.Description, {
|
|
222
225
|
ref: n,
|
|
223
|
-
className:
|
|
226
|
+
className: q("native:text-base text-muted-foreground text-sm", e),
|
|
224
227
|
...t
|
|
225
228
|
}));
|
|
226
|
-
|
|
227
|
-
var
|
|
229
|
+
it.displayName = j.Description?.displayName || "AlertDialogDescription";
|
|
230
|
+
var at = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(j.Action, {
|
|
228
231
|
ref: n,
|
|
229
|
-
className:
|
|
232
|
+
className: q(J(), e),
|
|
230
233
|
...t
|
|
231
234
|
}));
|
|
232
|
-
|
|
233
|
-
var
|
|
235
|
+
at.displayName = j.Action?.displayName || "AlertDialogAction";
|
|
236
|
+
var ot = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(j.Cancel, {
|
|
234
237
|
ref: n,
|
|
235
|
-
className:
|
|
238
|
+
className: q(J({ variant: "outline" }), "mt-2 sm:mt-0", e),
|
|
236
239
|
...t
|
|
237
240
|
}));
|
|
238
|
-
|
|
241
|
+
ot.displayName = j.Cancel?.displayName || "AlertDialogCancel";
|
|
239
242
|
//#endregion
|
|
240
243
|
//#region src/aspect-ratio.tsx
|
|
241
|
-
var
|
|
244
|
+
var st = ({ children: e, className: t, ratio: n = 1 }) => /* @__PURE__ */ h(Te.Root, {
|
|
242
245
|
ratio: n,
|
|
243
|
-
className:
|
|
246
|
+
className: q("w-full", t),
|
|
244
247
|
children: e
|
|
245
248
|
});
|
|
246
|
-
|
|
249
|
+
st.displayName = "AspectRatio";
|
|
247
250
|
//#endregion
|
|
248
251
|
//#region src/avatar.tsx
|
|
249
|
-
var
|
|
252
|
+
var ct = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(M.Root, {
|
|
250
253
|
ref: n,
|
|
251
|
-
className:
|
|
254
|
+
className: q("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
|
|
252
255
|
...t
|
|
253
256
|
}));
|
|
254
|
-
|
|
255
|
-
var
|
|
257
|
+
ct.displayName = M.Root?.displayName || "Avatar";
|
|
258
|
+
var lt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(M.Image, {
|
|
256
259
|
ref: n,
|
|
257
|
-
className:
|
|
260
|
+
className: q("aspect-square h-full w-full", e),
|
|
258
261
|
...t
|
|
259
262
|
}));
|
|
260
|
-
|
|
261
|
-
var
|
|
263
|
+
lt.displayName = M.Image?.displayName || "AvatarImage";
|
|
264
|
+
var ut = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(M.Fallback, {
|
|
262
265
|
ref: n,
|
|
263
|
-
className:
|
|
266
|
+
className: q("bg-muted flex h-full w-full items-center justify-center rounded-full", e),
|
|
264
267
|
...t
|
|
265
268
|
}));
|
|
266
|
-
|
|
269
|
+
ut.displayName = M.Fallback?.displayName || "AvatarFallback";
|
|
267
270
|
//#endregion
|
|
268
271
|
//#region src/badge.tsx
|
|
269
|
-
var
|
|
272
|
+
var dt = A("flex-row items-center rounded-md border px-2 py-0.5", {
|
|
270
273
|
variants: { variant: {
|
|
271
274
|
default: "border-transparent bg-primary",
|
|
272
275
|
secondary: "border-transparent bg-secondary",
|
|
@@ -274,7 +277,7 @@ var at = O("flex-row items-center rounded-md border px-2 py-0.5", {
|
|
|
274
277
|
outline: "border-border bg-transparent"
|
|
275
278
|
} },
|
|
276
279
|
defaultVariants: { variant: "default" }
|
|
277
|
-
}),
|
|
280
|
+
}), ft = A("text-xs font-semibold", {
|
|
278
281
|
variants: { variant: {
|
|
279
282
|
default: "text-primary-foreground",
|
|
280
283
|
secondary: "text-secondary-foreground",
|
|
@@ -283,16 +286,16 @@ var at = O("flex-row items-center rounded-md border px-2 py-0.5", {
|
|
|
283
286
|
} },
|
|
284
287
|
defaultVariants: { variant: "default" }
|
|
285
288
|
});
|
|
286
|
-
function
|
|
287
|
-
return /* @__PURE__ */
|
|
288
|
-
className:
|
|
289
|
+
function pt({ className: e, textClassName: t, variant: n, children: r, ...i }) {
|
|
290
|
+
return /* @__PURE__ */ h(p, {
|
|
291
|
+
className: q(dt({ variant: n }), e),
|
|
289
292
|
...i,
|
|
290
|
-
children:
|
|
293
|
+
children: K(r, u, { className: q(ft({ variant: n }), t) })
|
|
291
294
|
});
|
|
292
295
|
}
|
|
293
296
|
//#endregion
|
|
294
297
|
//#region src/text.tsx
|
|
295
|
-
var
|
|
298
|
+
var mt = e.createContext(void 0), ht = A("text-foreground", {
|
|
296
299
|
variants: { variant: {
|
|
297
300
|
h1: "text-4xl font-extrabold tracking-tight",
|
|
298
301
|
h2: "text-3xl font-semibold tracking-tight",
|
|
@@ -305,747 +308,929 @@ var ct = e.createContext(void 0), lt = O("text-foreground", {
|
|
|
305
308
|
overline: "text-xs font-semibold uppercase tracking-widest text-muted-foreground"
|
|
306
309
|
} },
|
|
307
310
|
defaultVariants: { variant: "body" }
|
|
308
|
-
}),
|
|
311
|
+
}), X = e.forwardRef(({ className: e, variant: t = "body", children: n, ...r }, i) => /* @__PURE__ */ h(u, {
|
|
309
312
|
ref: i,
|
|
310
|
-
className:
|
|
313
|
+
className: q(ht({
|
|
311
314
|
variant: t,
|
|
312
315
|
className: e
|
|
313
316
|
})),
|
|
314
317
|
...r,
|
|
315
318
|
children: n
|
|
316
319
|
}));
|
|
317
|
-
|
|
320
|
+
X.displayName = "Text";
|
|
318
321
|
//#endregion
|
|
319
322
|
//#region src/breadcrumb.tsx
|
|
320
|
-
var
|
|
323
|
+
var gt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
|
|
321
324
|
ref: r,
|
|
322
325
|
"aria-label": "breadcrumb",
|
|
323
|
-
className:
|
|
326
|
+
className: q("flex flex-row", e),
|
|
324
327
|
...n,
|
|
325
328
|
children: t
|
|
326
329
|
}));
|
|
327
|
-
|
|
328
|
-
var
|
|
330
|
+
gt.displayName = "Breadcrumb";
|
|
331
|
+
var _t = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
|
|
329
332
|
ref: r,
|
|
330
|
-
className:
|
|
333
|
+
className: q("text-muted-foreground flex flex-row flex-wrap items-center gap-1.5 break-words sm:gap-2.5", e),
|
|
331
334
|
...n,
|
|
332
335
|
children: t
|
|
333
336
|
}));
|
|
334
|
-
|
|
335
|
-
var
|
|
337
|
+
_t.displayName = "BreadcrumbList";
|
|
338
|
+
var vt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
|
|
336
339
|
ref: r,
|
|
337
|
-
className:
|
|
340
|
+
className: q("flex flex-row items-center gap-1.5", e),
|
|
338
341
|
...n,
|
|
339
342
|
children: t
|
|
340
343
|
}));
|
|
341
|
-
|
|
342
|
-
var
|
|
344
|
+
vt.displayName = "BreadcrumbItem";
|
|
345
|
+
var yt = e.forwardRef(({ asChild: e, className: t, children: n, onPress: r, ...i }, a) => /* @__PURE__ */ h(e ? De : s, {
|
|
343
346
|
ref: a,
|
|
344
347
|
onPress: r,
|
|
345
|
-
className:
|
|
348
|
+
className: q("hover:text-foreground active:text-foreground flex flex-row items-center transition-colors", t),
|
|
346
349
|
...i,
|
|
347
|
-
children:
|
|
350
|
+
children: K(n, X, { className: "text-muted-foreground hover:text-foreground text-sm font-medium" })
|
|
348
351
|
}));
|
|
349
|
-
|
|
350
|
-
var
|
|
352
|
+
yt.displayName = "BreadcrumbLink";
|
|
353
|
+
var bt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
|
|
351
354
|
ref: r,
|
|
352
355
|
role: "link",
|
|
353
356
|
"aria-disabled": !0,
|
|
354
357
|
"aria-current": "page",
|
|
355
|
-
className:
|
|
358
|
+
className: q("flex flex-row items-center", e),
|
|
356
359
|
...n,
|
|
357
|
-
children:
|
|
360
|
+
children: K(t, X, { className: "text-foreground text-sm font-normal" })
|
|
358
361
|
}));
|
|
359
|
-
|
|
360
|
-
var
|
|
362
|
+
bt.displayName = "BreadcrumbPage";
|
|
363
|
+
var xt = ({ children: e, className: t, ...n }) => /* @__PURE__ */ h(p, {
|
|
361
364
|
role: "presentation",
|
|
362
365
|
"aria-hidden": !0,
|
|
363
|
-
className:
|
|
366
|
+
className: q("flex flex-row items-center justify-center", t),
|
|
364
367
|
...n,
|
|
365
|
-
children: e ?? /* @__PURE__ */
|
|
368
|
+
children: e ?? /* @__PURE__ */ h(T, {
|
|
366
369
|
size: 14,
|
|
367
370
|
className: "text-muted-foreground"
|
|
368
371
|
})
|
|
369
372
|
});
|
|
370
|
-
|
|
371
|
-
var
|
|
373
|
+
xt.displayName = "BreadcrumbSeparator";
|
|
374
|
+
var St = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(p, {
|
|
372
375
|
role: "presentation",
|
|
373
376
|
"aria-hidden": !0,
|
|
374
|
-
className:
|
|
377
|
+
className: q("flex h-9 w-9 flex-row items-center justify-center", e),
|
|
375
378
|
...n,
|
|
376
|
-
children: t ?? /* @__PURE__ */
|
|
379
|
+
children: t ?? /* @__PURE__ */ h(ae, {
|
|
377
380
|
size: 14,
|
|
378
381
|
className: "text-muted-foreground"
|
|
379
382
|
})
|
|
380
383
|
});
|
|
381
|
-
|
|
384
|
+
St.displayName = "BreadcrumbEllipsis";
|
|
382
385
|
//#endregion
|
|
383
386
|
//#region src/calendar.tsx
|
|
384
|
-
var
|
|
387
|
+
var Ct = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), wt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
|
|
385
388
|
ref: n,
|
|
386
|
-
className:
|
|
389
|
+
className: q("border-border bg-card rounded-xl border shadow-sm", e),
|
|
387
390
|
...t
|
|
388
391
|
}));
|
|
389
|
-
|
|
390
|
-
var
|
|
392
|
+
wt.displayName = "Card";
|
|
393
|
+
var Tt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
|
|
391
394
|
ref: n,
|
|
392
|
-
className:
|
|
395
|
+
className: q("flex flex-col space-y-1.5 p-6", e),
|
|
393
396
|
...t
|
|
394
397
|
}));
|
|
395
|
-
|
|
396
|
-
var
|
|
398
|
+
Tt.displayName = "CardHeader";
|
|
399
|
+
var Et = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(u, {
|
|
397
400
|
ref: n,
|
|
398
|
-
className:
|
|
401
|
+
className: q("text-card-foreground text-lg leading-none font-semibold tracking-tight", e),
|
|
399
402
|
...t
|
|
400
403
|
}));
|
|
401
|
-
|
|
402
|
-
var
|
|
404
|
+
Et.displayName = "CardTitle";
|
|
405
|
+
var Dt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(u, {
|
|
403
406
|
ref: n,
|
|
404
|
-
className:
|
|
407
|
+
className: q("text-muted-foreground text-sm", e),
|
|
405
408
|
...t
|
|
406
409
|
}));
|
|
407
|
-
|
|
408
|
-
var
|
|
410
|
+
Dt.displayName = "CardDescription";
|
|
411
|
+
var Ot = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
|
|
409
412
|
ref: n,
|
|
410
|
-
className:
|
|
413
|
+
className: q("p-6 pt-0", e),
|
|
411
414
|
...t,
|
|
412
|
-
children:
|
|
415
|
+
children: K(t.children, u, { className: "text-sm text-card-foreground" })
|
|
413
416
|
}));
|
|
414
|
-
|
|
415
|
-
var
|
|
417
|
+
Ot.displayName = "CardContent";
|
|
418
|
+
var kt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
|
|
416
419
|
ref: n,
|
|
417
|
-
className:
|
|
420
|
+
className: q("flex flex-row items-center p-6 pt-0", e),
|
|
418
421
|
...t
|
|
419
422
|
}));
|
|
420
|
-
|
|
423
|
+
kt.displayName = "CardFooter";
|
|
421
424
|
//#endregion
|
|
422
425
|
//#region src/carousel.tsx
|
|
423
|
-
var
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
426
|
+
var At = e.createContext(null);
|
|
427
|
+
function Z() {
|
|
428
|
+
let t = e.useContext(At);
|
|
429
|
+
if (!t) throw Error("useCarousel must be used within a <Carousel />");
|
|
430
|
+
return t;
|
|
431
|
+
}
|
|
432
|
+
var jt = e.forwardRef(({ children: t, className: n, opts: i, orientation: a = "horizontal", setApi: o, plugins: s, ...c }, l) => {
|
|
433
|
+
let u = e.useRef(null), [d, f] = e.useState(!0), [m, g] = e.useState(!1), [_, v] = e.useState(r.get("window").width), [y, b] = e.useState(0), x = e.useCallback(() => {
|
|
434
|
+
u.current?.scrollTo({
|
|
435
|
+
x: (y + 1) * _,
|
|
436
|
+
animated: !0
|
|
437
|
+
});
|
|
438
|
+
}, [y, _]), S = e.useCallback(() => {
|
|
439
|
+
u.current?.scrollTo({
|
|
440
|
+
x: Math.max(0, y - 1) * _,
|
|
441
|
+
animated: !0
|
|
442
|
+
});
|
|
443
|
+
}, [y, _]);
|
|
444
|
+
return e.useEffect(() => {
|
|
445
|
+
o && o({
|
|
446
|
+
scrollNext: x,
|
|
447
|
+
scrollPrev: S,
|
|
448
|
+
canScrollNext: () => d,
|
|
449
|
+
canScrollPrev: () => m,
|
|
450
|
+
on: () => {},
|
|
451
|
+
off: () => {}
|
|
452
|
+
});
|
|
453
|
+
}, [
|
|
454
|
+
o,
|
|
455
|
+
x,
|
|
456
|
+
S,
|
|
457
|
+
d,
|
|
458
|
+
m
|
|
459
|
+
]), /* @__PURE__ */ h(At.Provider, {
|
|
460
|
+
value: {
|
|
461
|
+
orientation: a,
|
|
462
|
+
scrollRef: u,
|
|
463
|
+
scrollNext: x,
|
|
464
|
+
scrollPrev: S,
|
|
465
|
+
canScrollNext: d,
|
|
466
|
+
canScrollPrev: m,
|
|
467
|
+
itemWidth: _,
|
|
468
|
+
setItemWidth: v
|
|
469
|
+
},
|
|
470
|
+
children: /* @__PURE__ */ h(p, {
|
|
471
|
+
ref: l,
|
|
472
|
+
className: q("relative", n),
|
|
473
|
+
...c,
|
|
474
|
+
children: t
|
|
475
|
+
})
|
|
476
|
+
});
|
|
477
|
+
});
|
|
478
|
+
jt.displayName = "Carousel";
|
|
479
|
+
var Mt = e.forwardRef(({ children: e, className: t, ...n }, i) => {
|
|
480
|
+
let { scrollRef: a, orientation: o } = Z();
|
|
481
|
+
return /* @__PURE__ */ h(p, {
|
|
482
|
+
className: "overflow-hidden",
|
|
483
|
+
children: /* @__PURE__ */ h(c, {
|
|
484
|
+
ref: a,
|
|
485
|
+
horizontal: o === "horizontal",
|
|
486
|
+
showsHorizontalScrollIndicator: !1,
|
|
487
|
+
showsVerticalScrollIndicator: !1,
|
|
488
|
+
pagingEnabled: !0,
|
|
489
|
+
snapToInterval: o === "horizontal" ? r.get("window").width : void 0,
|
|
490
|
+
decelerationRate: "fast",
|
|
491
|
+
className: q("flex", o === "horizontal" ? "flex-row" : "flex-col", t),
|
|
492
|
+
...n,
|
|
493
|
+
children: e
|
|
494
|
+
})
|
|
495
|
+
});
|
|
496
|
+
});
|
|
497
|
+
Mt.displayName = "CarouselContent";
|
|
498
|
+
var Nt = e.forwardRef(({ children: e, className: t, ...n }, r) => {
|
|
499
|
+
let { orientation: i, setItemWidth: a } = Z();
|
|
500
|
+
return /* @__PURE__ */ h(p, {
|
|
501
|
+
ref: r,
|
|
502
|
+
onLayout: (e) => {
|
|
503
|
+
i === "horizontal" && a(e.nativeEvent.layout.width);
|
|
504
|
+
},
|
|
505
|
+
className: q("min-w-0 shrink-0 grow-0 basis-full", t),
|
|
506
|
+
...n,
|
|
507
|
+
children: e
|
|
508
|
+
});
|
|
509
|
+
});
|
|
510
|
+
Nt.displayName = "CarouselItem";
|
|
511
|
+
var Pt = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon", ...r }, i) => {
|
|
512
|
+
let { orientation: a, scrollPrev: o, canScrollPrev: s } = Z();
|
|
513
|
+
return /* @__PURE__ */ h(Y, {
|
|
514
|
+
ref: i,
|
|
515
|
+
variant: t,
|
|
516
|
+
size: n,
|
|
517
|
+
className: q("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),
|
|
518
|
+
disabled: !s,
|
|
519
|
+
onPress: o,
|
|
520
|
+
...r,
|
|
521
|
+
children: /* @__PURE__ */ h(b, {
|
|
522
|
+
className: "text-foreground h-4 w-4",
|
|
523
|
+
size: 16
|
|
524
|
+
})
|
|
525
|
+
});
|
|
526
|
+
});
|
|
527
|
+
Pt.displayName = "CarouselPrevious";
|
|
528
|
+
var Ft = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon", ...r }, i) => {
|
|
529
|
+
let { orientation: a, scrollNext: o, canScrollNext: s } = Z();
|
|
530
|
+
return /* @__PURE__ */ h(Y, {
|
|
531
|
+
ref: i,
|
|
532
|
+
variant: t,
|
|
533
|
+
size: n,
|
|
534
|
+
className: q("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),
|
|
535
|
+
disabled: !s,
|
|
536
|
+
onPress: o,
|
|
537
|
+
...r,
|
|
538
|
+
children: /* @__PURE__ */ h(x, {
|
|
539
|
+
className: "text-foreground h-4 w-4",
|
|
540
|
+
size: 16
|
|
541
|
+
})
|
|
542
|
+
});
|
|
543
|
+
});
|
|
544
|
+
Ft.displayName = "CarouselNext";
|
|
545
|
+
//#endregion
|
|
546
|
+
//#region src/chart.tsx
|
|
547
|
+
var It = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
|
|
433
548
|
className: t,
|
|
434
549
|
children: e
|
|
435
|
-
}),
|
|
550
|
+
}), Lt = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), Rt = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), zt = ({ children: e }) => /* @__PURE__ */ h(m, { children: e }), Bt = ({ children: e }) => /* @__PURE__ */ h(m, { children: e }), Vt = () => null, Ht = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(Oe.Root, {
|
|
436
551
|
ref: n,
|
|
437
|
-
className:
|
|
552
|
+
className: q("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),
|
|
438
553
|
...t,
|
|
439
|
-
children: /* @__PURE__ */
|
|
440
|
-
className:
|
|
441
|
-
children: /* @__PURE__ */
|
|
554
|
+
children: /* @__PURE__ */ h(Oe.Indicator, {
|
|
555
|
+
className: q("h-full w-full items-center justify-center"),
|
|
556
|
+
children: /* @__PURE__ */ h(C, {
|
|
442
557
|
size: 12,
|
|
443
|
-
strokeWidth:
|
|
558
|
+
strokeWidth: o.OS === "web" ? 2.5 : 3.5,
|
|
444
559
|
className: "text-primary-foreground"
|
|
445
560
|
})
|
|
446
561
|
})
|
|
447
562
|
}));
|
|
448
|
-
|
|
563
|
+
Ht.displayName = Oe.Root?.displayName || "Checkbox";
|
|
449
564
|
//#endregion
|
|
450
565
|
//#region src/collapsible.tsx
|
|
451
|
-
var
|
|
566
|
+
var Ut = ke.Root, Wt = ke.Trigger, Gt = ke.Content, Kt = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
|
|
452
567
|
className: t,
|
|
453
|
-
children:
|
|
454
|
-
}),
|
|
568
|
+
children: K(e)
|
|
569
|
+
}), qt = ({ children: e }) => /* @__PURE__ */ h(m, { children: e }), Jt = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), Yt = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
|
|
455
570
|
className: t,
|
|
456
|
-
children:
|
|
457
|
-
}),
|
|
571
|
+
children: K(e)
|
|
572
|
+
}), Xt = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
|
|
458
573
|
className: t,
|
|
459
|
-
children:
|
|
460
|
-
}),
|
|
574
|
+
children: K(e)
|
|
575
|
+
}), Zt = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
|
|
461
576
|
className: t,
|
|
462
|
-
children:
|
|
463
|
-
}),
|
|
577
|
+
children: K(e)
|
|
578
|
+
}), Qt = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
|
|
464
579
|
className: t,
|
|
465
|
-
children:
|
|
466
|
-
}),
|
|
580
|
+
children: K(e)
|
|
581
|
+
}), $t = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), en = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
|
|
467
582
|
className: t,
|
|
468
|
-
children:
|
|
469
|
-
}),
|
|
470
|
-
style:
|
|
583
|
+
children: K(e)
|
|
584
|
+
}), tn = N.Root, nn = N.Trigger, rn = N.Portal, an = N.Group, on = N.RadioGroup, sn = N.Sub, cn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(N.Overlay, {
|
|
585
|
+
style: o.OS === "web" ? void 0 : l.absoluteFill,
|
|
471
586
|
ref: n,
|
|
472
587
|
...t,
|
|
473
|
-
children: /* @__PURE__ */
|
|
474
|
-
entering:
|
|
475
|
-
exiting:
|
|
476
|
-
className:
|
|
588
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
589
|
+
entering: O.duration(100),
|
|
590
|
+
exiting: k.duration(100),
|
|
591
|
+
className: q("absolute inset-0 z-50 bg-black/30", e)
|
|
477
592
|
})
|
|
478
593
|
}));
|
|
479
|
-
|
|
480
|
-
var
|
|
594
|
+
cn.displayName = "ContextMenuOverlay";
|
|
595
|
+
var ln = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(rn, { children: [/* @__PURE__ */ h(cn, {}), /* @__PURE__ */ h(N.Content, {
|
|
481
596
|
ref: r,
|
|
482
|
-
className:
|
|
597
|
+
className: q("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
483
598
|
...n,
|
|
484
599
|
children: t
|
|
485
600
|
})] }));
|
|
486
|
-
|
|
487
|
-
var
|
|
601
|
+
ln.displayName = "ContextMenuContent";
|
|
602
|
+
var un = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(N.Item, {
|
|
488
603
|
ref: i,
|
|
489
|
-
className:
|
|
604
|
+
className: q("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),
|
|
490
605
|
...r,
|
|
491
|
-
children:
|
|
606
|
+
children: K(t, X)
|
|
492
607
|
}));
|
|
493
|
-
|
|
494
|
-
var
|
|
608
|
+
un.displayName = "ContextMenuItem";
|
|
609
|
+
var dn = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ g(N.CheckboxItem, {
|
|
495
610
|
ref: a,
|
|
496
611
|
checked: !!n,
|
|
497
612
|
onCheckedChange: r || (() => {}),
|
|
498
|
-
className:
|
|
613
|
+
className: q("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),
|
|
499
614
|
...i,
|
|
500
|
-
children: [/* @__PURE__ */
|
|
615
|
+
children: [/* @__PURE__ */ h(p, {
|
|
501
616
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
502
|
-
children: /* @__PURE__ */
|
|
617
|
+
children: /* @__PURE__ */ h(N.ItemIndicator, { children: /* @__PURE__ */ h(C, {
|
|
503
618
|
size: 14,
|
|
504
619
|
className: "text-foreground"
|
|
505
620
|
}) })
|
|
506
|
-
}),
|
|
621
|
+
}), K(t, X)]
|
|
507
622
|
}));
|
|
508
|
-
|
|
509
|
-
var
|
|
623
|
+
dn.displayName = "ContextMenuCheckboxItem";
|
|
624
|
+
var fn = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ g(N.RadioItem, {
|
|
510
625
|
ref: i,
|
|
511
626
|
value: n,
|
|
512
|
-
className:
|
|
627
|
+
className: q("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),
|
|
513
628
|
...r,
|
|
514
|
-
children: [/* @__PURE__ */
|
|
629
|
+
children: [/* @__PURE__ */ h(p, {
|
|
515
630
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
516
|
-
children: /* @__PURE__ */
|
|
631
|
+
children: /* @__PURE__ */ h(N.ItemIndicator, { children: /* @__PURE__ */ h(E, {
|
|
517
632
|
size: 8,
|
|
518
633
|
className: "text-foreground fill-current"
|
|
519
634
|
}) })
|
|
520
|
-
}),
|
|
635
|
+
}), K(t, X)]
|
|
521
636
|
}));
|
|
522
|
-
|
|
523
|
-
var
|
|
637
|
+
fn.displayName = "ContextMenuRadioItem";
|
|
638
|
+
var pn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(N.Label, {
|
|
524
639
|
ref: i,
|
|
525
|
-
className:
|
|
640
|
+
className: q("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
|
|
526
641
|
...r,
|
|
527
|
-
children:
|
|
642
|
+
children: K(t, X)
|
|
528
643
|
}));
|
|
529
|
-
|
|
530
|
-
var
|
|
644
|
+
pn.displayName = "ContextMenuLabel";
|
|
645
|
+
var mn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(N.Separator, {
|
|
531
646
|
ref: n,
|
|
532
|
-
className:
|
|
647
|
+
className: q("bg-border -mx-1 my-1 h-px", e),
|
|
533
648
|
...t
|
|
534
649
|
}));
|
|
535
|
-
|
|
536
|
-
var
|
|
537
|
-
className:
|
|
650
|
+
mn.displayName = "ContextMenuSeparator";
|
|
651
|
+
var hn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(X, {
|
|
652
|
+
className: q("text-muted-foreground ml-auto text-xs tracking-widest", e),
|
|
538
653
|
...n,
|
|
539
654
|
children: t
|
|
540
655
|
});
|
|
541
|
-
|
|
542
|
-
var
|
|
656
|
+
hn.displayName = "ContextMenuShortcut";
|
|
657
|
+
var gn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(N.SubTrigger, {
|
|
543
658
|
ref: i,
|
|
544
|
-
className:
|
|
659
|
+
className: q("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),
|
|
545
660
|
...r,
|
|
546
|
-
children: [/* @__PURE__ */
|
|
661
|
+
children: [/* @__PURE__ */ h(p, {
|
|
547
662
|
className: "flex flex-row items-center gap-1.5",
|
|
548
|
-
children:
|
|
549
|
-
}), /* @__PURE__ */
|
|
663
|
+
children: K(t, X)
|
|
664
|
+
}), /* @__PURE__ */ h(T, {
|
|
550
665
|
size: 14,
|
|
551
666
|
className: "text-foreground ml-auto"
|
|
552
667
|
})]
|
|
553
668
|
}));
|
|
554
|
-
|
|
555
|
-
var
|
|
669
|
+
gn.displayName = "ContextMenuSubTrigger";
|
|
670
|
+
var _n = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(N.SubContent, {
|
|
556
671
|
ref: r,
|
|
557
|
-
className:
|
|
672
|
+
className: q("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
558
673
|
...n,
|
|
559
674
|
children: t
|
|
560
675
|
}));
|
|
561
|
-
|
|
676
|
+
_n.displayName = "ContextMenuSubContent";
|
|
562
677
|
//#endregion
|
|
563
678
|
//#region src/dialog.tsx
|
|
564
|
-
var
|
|
565
|
-
style:
|
|
679
|
+
var vn = P.Root, yn = P.Trigger, bn = P.Portal, xn = P.Close, Sn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Overlay, {
|
|
680
|
+
style: l.absoluteFill,
|
|
566
681
|
asChild: !0,
|
|
567
682
|
ref: n,
|
|
568
683
|
...t,
|
|
569
|
-
children: /* @__PURE__ */
|
|
570
|
-
entering:
|
|
571
|
-
exiting:
|
|
572
|
-
className:
|
|
684
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
685
|
+
entering: O.duration(150),
|
|
686
|
+
exiting: k.duration(150),
|
|
687
|
+
className: q("z-50 flex items-center justify-center bg-black/80 p-2", e)
|
|
573
688
|
})
|
|
574
689
|
}));
|
|
575
|
-
|
|
576
|
-
var
|
|
690
|
+
Sn.displayName = P.Overlay?.displayName || "DialogOverlay";
|
|
691
|
+
var Cn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassName: r, overlayStyle: i, ...a }, o) => /* @__PURE__ */ g(bn, {
|
|
577
692
|
hostName: n,
|
|
578
|
-
children: [/* @__PURE__ */
|
|
693
|
+
children: [/* @__PURE__ */ h(Sn, {
|
|
579
694
|
className: r,
|
|
580
695
|
style: i
|
|
581
|
-
}), /* @__PURE__ */
|
|
696
|
+
}), /* @__PURE__ */ h(P.Content, {
|
|
582
697
|
ref: o,
|
|
583
698
|
asChild: !0,
|
|
584
699
|
...a,
|
|
585
|
-
children: /* @__PURE__ */
|
|
586
|
-
entering:
|
|
587
|
-
exiting:
|
|
588
|
-
className:
|
|
589
|
-
children: [t, /* @__PURE__ */
|
|
700
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
701
|
+
entering: O.duration(150),
|
|
702
|
+
exiting: k.duration(150),
|
|
703
|
+
className: q("border-border bg-background z-50 w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e),
|
|
704
|
+
children: [t, /* @__PURE__ */ g(P.Close, {
|
|
590
705
|
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",
|
|
591
|
-
children: [/* @__PURE__ */
|
|
706
|
+
children: [/* @__PURE__ */ h(le, {
|
|
592
707
|
size: 18,
|
|
593
708
|
className: "text-muted-foreground"
|
|
594
|
-
}), /* @__PURE__ */
|
|
709
|
+
}), /* @__PURE__ */ h(p, {
|
|
595
710
|
className: "sr-only",
|
|
596
|
-
children: /* @__PURE__ */
|
|
711
|
+
children: /* @__PURE__ */ h(P.Title, { children: "Close" })
|
|
597
712
|
})]
|
|
598
713
|
})]
|
|
599
714
|
})
|
|
600
715
|
})]
|
|
601
716
|
}));
|
|
602
|
-
|
|
603
|
-
var
|
|
604
|
-
className:
|
|
717
|
+
Cn.displayName = P.Content?.displayName || "DialogContent";
|
|
718
|
+
var wn = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
|
|
719
|
+
className: q("flex flex-col gap-1.5 text-center sm:text-left", e),
|
|
605
720
|
...t
|
|
606
721
|
});
|
|
607
|
-
|
|
608
|
-
var
|
|
609
|
-
className:
|
|
722
|
+
wn.displayName = "DialogHeader";
|
|
723
|
+
var Tn = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
|
|
724
|
+
className: q("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
|
|
610
725
|
...t
|
|
611
726
|
});
|
|
612
|
-
|
|
613
|
-
var
|
|
727
|
+
Tn.displayName = "DialogFooter";
|
|
728
|
+
var En = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Title, {
|
|
614
729
|
ref: n,
|
|
615
|
-
className:
|
|
730
|
+
className: q("native:text-xl text-foreground text-lg leading-none font-semibold tracking-tight", e),
|
|
616
731
|
...t
|
|
617
732
|
}));
|
|
618
|
-
|
|
619
|
-
var
|
|
733
|
+
En.displayName = P.Title?.displayName || "DialogTitle";
|
|
734
|
+
var Dn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Description, {
|
|
620
735
|
ref: n,
|
|
621
|
-
className:
|
|
736
|
+
className: q("native:text-base text-muted-foreground text-sm", e),
|
|
622
737
|
...t
|
|
623
738
|
}));
|
|
624
|
-
|
|
739
|
+
Dn.displayName = P.Description?.displayName || "DialogDescription";
|
|
625
740
|
//#endregion
|
|
626
741
|
//#region src/drawer.tsx
|
|
627
|
-
var
|
|
628
|
-
|
|
629
|
-
var
|
|
742
|
+
var On = ({ children: e }) => /* @__PURE__ */ h(P.Root, { children: e });
|
|
743
|
+
On.displayName = "Drawer";
|
|
744
|
+
var kn = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ h(P.Trigger, {
|
|
630
745
|
ref: r,
|
|
631
746
|
className: t,
|
|
632
747
|
...n,
|
|
633
|
-
children:
|
|
748
|
+
children: K(e)
|
|
634
749
|
}));
|
|
635
|
-
|
|
636
|
-
var
|
|
637
|
-
style:
|
|
750
|
+
kn.displayName = "DrawerTrigger";
|
|
751
|
+
var An = P.Portal, jn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Overlay, {
|
|
752
|
+
style: l.absoluteFill,
|
|
638
753
|
asChild: !0,
|
|
639
754
|
ref: n,
|
|
640
755
|
...t,
|
|
641
|
-
children: /* @__PURE__ */
|
|
642
|
-
entering:
|
|
643
|
-
exiting:
|
|
644
|
-
className:
|
|
756
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
757
|
+
entering: O.duration(150),
|
|
758
|
+
exiting: k.duration(150),
|
|
759
|
+
className: q("z-50 bg-black/80", e)
|
|
645
760
|
})
|
|
646
761
|
}));
|
|
647
|
-
|
|
648
|
-
var
|
|
762
|
+
jn.displayName = "DrawerOverlay";
|
|
763
|
+
var Mn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassName: r, overlayStyle: i, ...a }, o) => /* @__PURE__ */ g(An, {
|
|
649
764
|
hostName: n,
|
|
650
|
-
children: [/* @__PURE__ */
|
|
765
|
+
children: [/* @__PURE__ */ h(jn, {
|
|
651
766
|
className: r,
|
|
652
767
|
style: i
|
|
653
|
-
}), /* @__PURE__ */
|
|
768
|
+
}), /* @__PURE__ */ h(P.Content, {
|
|
654
769
|
ref: o,
|
|
655
770
|
asChild: !0,
|
|
656
771
|
...a,
|
|
657
|
-
children: /* @__PURE__ */
|
|
658
|
-
entering:
|
|
659
|
-
exiting:
|
|
660
|
-
className:
|
|
661
|
-
children: [/* @__PURE__ */
|
|
772
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
773
|
+
entering: me.duration(200),
|
|
774
|
+
exiting: ge.duration(200),
|
|
775
|
+
className: q("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),
|
|
776
|
+
children: [/* @__PURE__ */ h(p, { className: "bg-muted mx-auto mb-4 h-1.5 w-12 rounded-full" }), t]
|
|
662
777
|
})
|
|
663
778
|
})]
|
|
664
779
|
}));
|
|
665
|
-
|
|
666
|
-
var
|
|
667
|
-
className:
|
|
780
|
+
Mn.displayName = "DrawerContent";
|
|
781
|
+
var Nn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(p, {
|
|
782
|
+
className: q("flex flex-col gap-1.5 text-center sm:text-left", e),
|
|
668
783
|
...n,
|
|
669
|
-
children:
|
|
784
|
+
children: K(t)
|
|
670
785
|
});
|
|
671
|
-
|
|
672
|
-
var
|
|
673
|
-
className:
|
|
786
|
+
Nn.displayName = "DrawerHeader";
|
|
787
|
+
var Pn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(p, {
|
|
788
|
+
className: q("mt-auto flex flex-col gap-2", e),
|
|
674
789
|
...n,
|
|
675
|
-
children:
|
|
790
|
+
children: K(t)
|
|
676
791
|
});
|
|
677
|
-
|
|
678
|
-
var
|
|
792
|
+
Pn.displayName = "DrawerFooter";
|
|
793
|
+
var Fn = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ h(P.Close, {
|
|
679
794
|
ref: r,
|
|
680
795
|
className: t,
|
|
681
796
|
...n,
|
|
682
|
-
children:
|
|
797
|
+
children: K(e)
|
|
683
798
|
}));
|
|
684
|
-
|
|
685
|
-
var
|
|
799
|
+
Fn.displayName = "DrawerClose";
|
|
800
|
+
var In = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(P.Title, {
|
|
686
801
|
ref: r,
|
|
687
|
-
className:
|
|
802
|
+
className: q("text-foreground text-lg leading-none font-semibold tracking-tight", e),
|
|
688
803
|
...n,
|
|
689
|
-
children:
|
|
804
|
+
children: K(t)
|
|
690
805
|
}));
|
|
691
|
-
|
|
692
|
-
var
|
|
806
|
+
In.displayName = "DrawerTitle";
|
|
807
|
+
var Ln = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(P.Description, {
|
|
693
808
|
ref: r,
|
|
694
|
-
className:
|
|
809
|
+
className: q("text-muted-foreground text-sm", e),
|
|
695
810
|
...n,
|
|
696
|
-
children:
|
|
811
|
+
children: K(t)
|
|
697
812
|
}));
|
|
698
|
-
|
|
813
|
+
Ln.displayName = "DrawerDescription";
|
|
699
814
|
//#endregion
|
|
700
815
|
//#region src/dropdown-menu.tsx
|
|
701
|
-
var
|
|
702
|
-
style:
|
|
816
|
+
var Rn = F.Root, zn = F.Trigger, Bn = F.Portal, Vn = F.Group, Hn = F.RadioGroup, Un = F.Sub, Wn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(F.Overlay, {
|
|
817
|
+
style: o.OS === "web" ? void 0 : l.absoluteFill,
|
|
703
818
|
ref: n,
|
|
704
819
|
...t,
|
|
705
|
-
children: /* @__PURE__ */
|
|
706
|
-
entering:
|
|
707
|
-
exiting:
|
|
708
|
-
className:
|
|
820
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
821
|
+
entering: O.duration(100),
|
|
822
|
+
exiting: k.duration(100),
|
|
823
|
+
className: q("absolute inset-0 z-50 bg-black/30", e)
|
|
709
824
|
})
|
|
710
825
|
}));
|
|
711
|
-
|
|
712
|
-
var
|
|
826
|
+
Wn.displayName = "DropdownMenuOverlay";
|
|
827
|
+
var Gn = e.forwardRef(({ className: e, children: t, side: n, ...r }, i) => {
|
|
713
828
|
let a = n === "left" || n === "right" ? "bottom" : n;
|
|
714
|
-
return /* @__PURE__ */
|
|
829
|
+
return /* @__PURE__ */ g(Bn, { children: [/* @__PURE__ */ h(Wn, {}), /* @__PURE__ */ h(F.Content, {
|
|
715
830
|
ref: i,
|
|
716
831
|
side: a,
|
|
717
|
-
className:
|
|
832
|
+
className: q("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
718
833
|
...r,
|
|
719
834
|
children: t
|
|
720
835
|
})] });
|
|
721
836
|
});
|
|
722
|
-
|
|
723
|
-
var
|
|
724
|
-
ref:
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
837
|
+
Gn.displayName = "DropdownMenuContent";
|
|
838
|
+
var Q = e.forwardRef(({ className: e, children: t, inset: n, onSelect: r, ...i }, a) => /* @__PURE__ */ h(F.Item, {
|
|
839
|
+
ref: a,
|
|
840
|
+
onPress: () => r?.(new Event("select")),
|
|
841
|
+
className: q("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),
|
|
842
|
+
...i,
|
|
843
|
+
children: K(t, X)
|
|
728
844
|
}));
|
|
729
|
-
|
|
730
|
-
var
|
|
845
|
+
Q.displayName = "DropdownMenuItem";
|
|
846
|
+
var Kn = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ g(F.CheckboxItem, {
|
|
731
847
|
ref: a,
|
|
732
848
|
checked: !!n,
|
|
733
849
|
onCheckedChange: r || (() => {}),
|
|
734
|
-
className:
|
|
850
|
+
className: q("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),
|
|
735
851
|
...i,
|
|
736
|
-
children: [/* @__PURE__ */
|
|
852
|
+
children: [/* @__PURE__ */ h(p, {
|
|
737
853
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
738
|
-
children: /* @__PURE__ */
|
|
854
|
+
children: /* @__PURE__ */ h(F.ItemIndicator, { children: /* @__PURE__ */ h(C, {
|
|
739
855
|
size: 14,
|
|
740
856
|
className: "text-foreground"
|
|
741
857
|
}) })
|
|
742
|
-
}),
|
|
858
|
+
}), K(t, X)]
|
|
743
859
|
}));
|
|
744
|
-
|
|
745
|
-
var
|
|
860
|
+
Kn.displayName = "DropdownMenuCheckboxItem";
|
|
861
|
+
var qn = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ g(F.RadioItem, {
|
|
746
862
|
ref: i,
|
|
747
863
|
value: n,
|
|
748
|
-
className:
|
|
864
|
+
className: q("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),
|
|
749
865
|
...r,
|
|
750
|
-
children: [/* @__PURE__ */
|
|
866
|
+
children: [/* @__PURE__ */ h(p, {
|
|
751
867
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
752
|
-
children: /* @__PURE__ */
|
|
868
|
+
children: /* @__PURE__ */ h(F.ItemIndicator, { children: /* @__PURE__ */ h(E, {
|
|
753
869
|
size: 8,
|
|
754
870
|
className: "text-foreground fill-current"
|
|
755
871
|
}) })
|
|
756
|
-
}),
|
|
872
|
+
}), K(t, X)]
|
|
757
873
|
}));
|
|
758
|
-
|
|
759
|
-
var
|
|
874
|
+
qn.displayName = "DropdownMenuRadioItem";
|
|
875
|
+
var Jn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(F.Label, {
|
|
760
876
|
ref: i,
|
|
761
|
-
className:
|
|
877
|
+
className: q("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
|
|
762
878
|
...r,
|
|
763
|
-
children:
|
|
879
|
+
children: K(t, X)
|
|
764
880
|
}));
|
|
765
|
-
|
|
766
|
-
var
|
|
881
|
+
Jn.displayName = "DropdownMenuLabel";
|
|
882
|
+
var Yn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(F.Separator, {
|
|
767
883
|
ref: n,
|
|
768
|
-
className:
|
|
884
|
+
className: q("bg-border -mx-1 my-1 h-px", e),
|
|
769
885
|
...t
|
|
770
886
|
}));
|
|
771
|
-
|
|
772
|
-
var
|
|
773
|
-
className:
|
|
887
|
+
Yn.displayName = "DropdownMenuSeparator";
|
|
888
|
+
var Xn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(X, {
|
|
889
|
+
className: q("text-muted-foreground ml-auto text-xs tracking-widest", e),
|
|
774
890
|
...n,
|
|
775
891
|
children: t
|
|
776
892
|
});
|
|
777
|
-
|
|
778
|
-
var
|
|
893
|
+
Xn.displayName = "DropdownMenuShortcut";
|
|
894
|
+
var Zn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(F.SubTrigger, {
|
|
779
895
|
ref: i,
|
|
780
|
-
className:
|
|
896
|
+
className: q("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),
|
|
781
897
|
...r,
|
|
782
|
-
children: [/* @__PURE__ */
|
|
898
|
+
children: [/* @__PURE__ */ h(p, {
|
|
783
899
|
className: "flex flex-row items-center gap-1.5",
|
|
784
|
-
children:
|
|
785
|
-
}), /* @__PURE__ */
|
|
900
|
+
children: K(t, X)
|
|
901
|
+
}), /* @__PURE__ */ h(T, {
|
|
786
902
|
size: 14,
|
|
787
903
|
className: "text-foreground ml-auto"
|
|
788
904
|
})]
|
|
789
905
|
}));
|
|
790
|
-
|
|
791
|
-
var
|
|
906
|
+
Zn.displayName = "DropdownMenuSubTrigger";
|
|
907
|
+
var Qn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(F.SubContent, {
|
|
792
908
|
ref: r,
|
|
793
|
-
className:
|
|
909
|
+
className: q("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
794
910
|
...n,
|
|
795
911
|
children: t
|
|
796
912
|
}));
|
|
797
|
-
|
|
798
|
-
//#endregion
|
|
799
|
-
//#region src/form.tsx
|
|
800
|
-
var Kn = () => /* @__PURE__ */ m(f, { children: /* @__PURE__ */ m(l, { children: "form is not yet implemented for React Native" }) }), qn = P.Root, Jn = P.Trigger, Yn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(P.Portal, { children: /* @__PURE__ */ m(P.Content, {
|
|
801
|
-
ref: r,
|
|
802
|
-
className: G("bg-popover text-popover-foreground border-border z-50 w-64 rounded-md border p-4 shadow-md", e),
|
|
803
|
-
...n,
|
|
804
|
-
children: t
|
|
805
|
-
}) }));
|
|
806
|
-
Yn.displayName = P.Content?.displayName || "HoverCardContent";
|
|
807
|
-
//#endregion
|
|
808
|
-
//#region src/input.tsx
|
|
809
|
-
var Xn = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ m(u, {
|
|
810
|
-
ref: r,
|
|
811
|
-
className: G("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),
|
|
812
|
-
placeholderClassName: G("text-muted-foreground", t),
|
|
813
|
-
...n
|
|
814
|
-
}));
|
|
815
|
-
Xn.displayName = "Input";
|
|
913
|
+
Qn.displayName = "DropdownMenuSubContent";
|
|
816
914
|
//#endregion
|
|
817
915
|
//#region src/label.tsx
|
|
818
|
-
var
|
|
916
|
+
var $n = e.forwardRef(({ className: e, onPress: t, onLongPress: n, onPressIn: r, onPressOut: i, ...a }, o) => /* @__PURE__ */ h(Me.Root, {
|
|
819
917
|
className: "web:cursor-default",
|
|
820
918
|
onPress: t,
|
|
821
919
|
onLongPress: n,
|
|
822
920
|
onPressIn: r,
|
|
823
921
|
onPressOut: i,
|
|
824
|
-
children: /* @__PURE__ */
|
|
922
|
+
children: /* @__PURE__ */ h(Me.Text, {
|
|
825
923
|
ref: o,
|
|
826
|
-
className:
|
|
924
|
+
className: q("text-foreground native:text-base web:peer-disabled:cursor-not-allowed web:peer-disabled:opacity-70 text-sm leading-none font-medium", e),
|
|
827
925
|
...a
|
|
828
926
|
})
|
|
829
927
|
}));
|
|
830
|
-
|
|
928
|
+
$n.displayName = Me.Root?.displayName || "Label";
|
|
929
|
+
//#endregion
|
|
930
|
+
//#region src/form.tsx
|
|
931
|
+
var er = Ae, tr = e.createContext(null), nr = () => {
|
|
932
|
+
let t = e.useContext(tr), n = e.useContext(rr), { getFieldState: r, formState: i } = je();
|
|
933
|
+
if (!t) throw Error("useFormField should be used within <FormField>");
|
|
934
|
+
if (!n) throw Error("useFormField should be used within <FormItem>");
|
|
935
|
+
let a = r(t.name, i), { id: o } = n;
|
|
936
|
+
return {
|
|
937
|
+
id: o,
|
|
938
|
+
name: t.name,
|
|
939
|
+
formItemId: `${o}-form-item`,
|
|
940
|
+
formDescriptionId: `${o}-form-item-description`,
|
|
941
|
+
formMessageId: `${o}-form-item-message`,
|
|
942
|
+
...a
|
|
943
|
+
};
|
|
944
|
+
}, rr = e.createContext(null), ir = e.forwardRef(({ className: t, ...n }, r) => {
|
|
945
|
+
let i = e.useId();
|
|
946
|
+
return /* @__PURE__ */ h(rr.Provider, {
|
|
947
|
+
value: { id: i },
|
|
948
|
+
children: /* @__PURE__ */ h(p, {
|
|
949
|
+
ref: r,
|
|
950
|
+
className: q("space-y-2", t),
|
|
951
|
+
...n
|
|
952
|
+
})
|
|
953
|
+
});
|
|
954
|
+
});
|
|
955
|
+
ir.displayName = "FormItem";
|
|
956
|
+
var ar = e.forwardRef(({ className: e, ...t }, n) => {
|
|
957
|
+
let { error: r, formItemId: i } = nr();
|
|
958
|
+
return /* @__PURE__ */ h($n, {
|
|
959
|
+
ref: n,
|
|
960
|
+
className: q(r && "text-destructive", e),
|
|
961
|
+
nativeID: i,
|
|
962
|
+
...t
|
|
963
|
+
});
|
|
964
|
+
});
|
|
965
|
+
ar.displayName = "FormLabel";
|
|
966
|
+
var or = e.forwardRef(({ ...e }, t) => {
|
|
967
|
+
let { error: n, formItemId: r, formDescriptionId: i, formMessageId: a } = nr();
|
|
968
|
+
return /* @__PURE__ */ h(Ee.Slot, {
|
|
969
|
+
ref: t,
|
|
970
|
+
nativeID: r,
|
|
971
|
+
"aria-describedby": n ? `${i} ${a}` : `${i}`,
|
|
972
|
+
"aria-invalid": !!n,
|
|
973
|
+
...e
|
|
974
|
+
});
|
|
975
|
+
});
|
|
976
|
+
or.displayName = "FormControl";
|
|
977
|
+
var sr = e.forwardRef(({ className: e, ...t }, n) => {
|
|
978
|
+
let { formDescriptionId: r } = nr();
|
|
979
|
+
return /* @__PURE__ */ h(u, {
|
|
980
|
+
ref: n,
|
|
981
|
+
nativeID: r,
|
|
982
|
+
className: q("text-muted-foreground text-[13px]", e),
|
|
983
|
+
...t
|
|
984
|
+
});
|
|
985
|
+
});
|
|
986
|
+
sr.displayName = "FormDescription";
|
|
987
|
+
var cr = e.forwardRef(({ className: e, children: t, ...n }, r) => {
|
|
988
|
+
let { error: i, formMessageId: a } = nr(), o = i ? String(i?.message ?? "") : t;
|
|
989
|
+
return o ? /* @__PURE__ */ h(u, {
|
|
990
|
+
ref: r,
|
|
991
|
+
nativeID: a,
|
|
992
|
+
className: q("text-destructive text-[13px] font-medium", e),
|
|
993
|
+
...n,
|
|
994
|
+
children: o
|
|
995
|
+
}) : null;
|
|
996
|
+
});
|
|
997
|
+
cr.displayName = "FormMessage";
|
|
998
|
+
//#endregion
|
|
999
|
+
//#region src/hover-card.tsx
|
|
1000
|
+
var lr = I.Root, ur = I.Trigger, dr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(I.Portal, { children: /* @__PURE__ */ h(I.Content, {
|
|
1001
|
+
ref: r,
|
|
1002
|
+
className: q("bg-popover text-popover-foreground border-border z-50 w-64 rounded-md border p-4 shadow-md", e),
|
|
1003
|
+
...n,
|
|
1004
|
+
children: t
|
|
1005
|
+
}) }));
|
|
1006
|
+
dr.displayName = I.Content?.displayName || "HoverCardContent";
|
|
1007
|
+
//#endregion
|
|
1008
|
+
//#region src/input.tsx
|
|
1009
|
+
var fr = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ h(d, {
|
|
1010
|
+
ref: r,
|
|
1011
|
+
className: q("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),
|
|
1012
|
+
placeholderClassName: q("text-muted-foreground", t),
|
|
1013
|
+
...n
|
|
1014
|
+
}));
|
|
1015
|
+
fr.displayName = "Input";
|
|
831
1016
|
//#endregion
|
|
832
1017
|
//#region src/menubar.tsx
|
|
833
|
-
var
|
|
1018
|
+
var pr = e.forwardRef(({ className: t, children: n, value: r, onValueChange: i, ...a }, o) => {
|
|
834
1019
|
let [s, c] = e.useState(r || ""), l = r === void 0 ? s : r;
|
|
835
|
-
return /* @__PURE__ */
|
|
1020
|
+
return /* @__PURE__ */ h(L.Root, {
|
|
836
1021
|
ref: o,
|
|
837
1022
|
value: l,
|
|
838
1023
|
onValueChange: (e) => {
|
|
839
1024
|
c(e), i?.(e || "");
|
|
840
1025
|
},
|
|
841
|
-
className:
|
|
1026
|
+
className: q("bg-background border-border flex flex-row items-center space-x-1 rounded-md border p-1 shadow-sm", t),
|
|
842
1027
|
...a,
|
|
843
1028
|
children: n
|
|
844
1029
|
});
|
|
845
1030
|
});
|
|
846
|
-
|
|
847
|
-
var
|
|
848
|
-
style:
|
|
1031
|
+
pr.displayName = "Menubar";
|
|
1032
|
+
var mr = L.Menu, hr = L.Portal, gr = L.Group, _r = L.RadioGroup, vr = L.Sub, yr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(L.Overlay, {
|
|
1033
|
+
style: o.OS === "web" ? void 0 : l.absoluteFill,
|
|
849
1034
|
ref: n,
|
|
850
1035
|
...t,
|
|
851
|
-
children: /* @__PURE__ */
|
|
852
|
-
entering:
|
|
853
|
-
exiting:
|
|
854
|
-
className:
|
|
1036
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
1037
|
+
entering: O.duration(100),
|
|
1038
|
+
exiting: k.duration(100),
|
|
1039
|
+
className: q("absolute inset-0 z-50 bg-black/30", e)
|
|
855
1040
|
})
|
|
856
1041
|
}));
|
|
857
|
-
|
|
858
|
-
var
|
|
1042
|
+
yr.displayName = "MenubarOverlay";
|
|
1043
|
+
var br = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(L.Trigger, {
|
|
859
1044
|
ref: r,
|
|
860
|
-
className:
|
|
1045
|
+
className: q("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),
|
|
861
1046
|
...n,
|
|
862
|
-
children:
|
|
1047
|
+
children: K(t, X)
|
|
863
1048
|
}));
|
|
864
|
-
|
|
865
|
-
var
|
|
1049
|
+
br.displayName = "MenubarTrigger";
|
|
1050
|
+
var xr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(hr, { children: [/* @__PURE__ */ h(yr, {}), /* @__PURE__ */ h(L.Content, {
|
|
866
1051
|
ref: r,
|
|
867
|
-
className:
|
|
1052
|
+
className: q("bg-popover border-border z-50 min-w-[12rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
868
1053
|
...n,
|
|
869
1054
|
children: t
|
|
870
1055
|
})] }));
|
|
871
|
-
|
|
872
|
-
var
|
|
1056
|
+
xr.displayName = "MenubarContent";
|
|
1057
|
+
var Sr = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(L.Item, {
|
|
873
1058
|
ref: i,
|
|
874
|
-
className:
|
|
1059
|
+
className: q("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),
|
|
875
1060
|
...r,
|
|
876
|
-
children:
|
|
1061
|
+
children: K(t, X)
|
|
877
1062
|
}));
|
|
878
|
-
|
|
879
|
-
var
|
|
1063
|
+
Sr.displayName = "MenubarItem";
|
|
1064
|
+
var Cr = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ g(L.CheckboxItem, {
|
|
880
1065
|
ref: a,
|
|
881
1066
|
checked: !!n,
|
|
882
1067
|
onCheckedChange: r || (() => {}),
|
|
883
|
-
className:
|
|
1068
|
+
className: q("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),
|
|
884
1069
|
...i,
|
|
885
|
-
children: [/* @__PURE__ */
|
|
1070
|
+
children: [/* @__PURE__ */ h(p, {
|
|
886
1071
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
887
|
-
children: /* @__PURE__ */
|
|
1072
|
+
children: /* @__PURE__ */ h(L.ItemIndicator, { children: /* @__PURE__ */ h(C, {
|
|
888
1073
|
size: 14,
|
|
889
1074
|
className: "text-foreground"
|
|
890
1075
|
}) })
|
|
891
|
-
}),
|
|
1076
|
+
}), K(t, X)]
|
|
892
1077
|
}));
|
|
893
|
-
|
|
894
|
-
var
|
|
1078
|
+
Cr.displayName = "MenubarCheckboxItem";
|
|
1079
|
+
var wr = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ g(L.RadioItem, {
|
|
895
1080
|
ref: i,
|
|
896
1081
|
value: n,
|
|
897
|
-
className:
|
|
1082
|
+
className: q("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),
|
|
898
1083
|
...r,
|
|
899
|
-
children: [/* @__PURE__ */
|
|
1084
|
+
children: [/* @__PURE__ */ h(p, {
|
|
900
1085
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
901
|
-
children: /* @__PURE__ */
|
|
1086
|
+
children: /* @__PURE__ */ h(L.ItemIndicator, { children: /* @__PURE__ */ h(E, {
|
|
902
1087
|
size: 8,
|
|
903
1088
|
className: "text-foreground fill-current"
|
|
904
1089
|
}) })
|
|
905
|
-
}),
|
|
1090
|
+
}), K(t, X)]
|
|
906
1091
|
}));
|
|
907
|
-
|
|
908
|
-
var
|
|
1092
|
+
wr.displayName = "MenubarRadioItem";
|
|
1093
|
+
var Tr = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(L.Label, {
|
|
909
1094
|
ref: i,
|
|
910
|
-
className:
|
|
1095
|
+
className: q("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
|
|
911
1096
|
...r,
|
|
912
|
-
children:
|
|
1097
|
+
children: K(t, X)
|
|
913
1098
|
}));
|
|
914
|
-
|
|
915
|
-
var
|
|
1099
|
+
Tr.displayName = "MenubarLabel";
|
|
1100
|
+
var Er = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(L.Separator, {
|
|
916
1101
|
ref: n,
|
|
917
|
-
className:
|
|
1102
|
+
className: q("bg-border -mx-1 my-1 h-px", e),
|
|
918
1103
|
...t
|
|
919
1104
|
}));
|
|
920
|
-
|
|
921
|
-
var
|
|
922
|
-
className:
|
|
1105
|
+
Er.displayName = "MenubarSeparator";
|
|
1106
|
+
var Dr = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(X, {
|
|
1107
|
+
className: q("text-muted-foreground ml-auto text-xs tracking-widest", e),
|
|
923
1108
|
...n,
|
|
924
1109
|
children: t
|
|
925
1110
|
});
|
|
926
|
-
|
|
927
|
-
var
|
|
1111
|
+
Dr.displayName = "MenubarShortcut";
|
|
1112
|
+
var Or = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(L.SubTrigger, {
|
|
928
1113
|
ref: i,
|
|
929
|
-
className:
|
|
1114
|
+
className: q("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),
|
|
930
1115
|
...r,
|
|
931
|
-
children: [/* @__PURE__ */
|
|
1116
|
+
children: [/* @__PURE__ */ h(p, {
|
|
932
1117
|
className: "flex flex-row items-center gap-1.5",
|
|
933
|
-
children:
|
|
934
|
-
}), /* @__PURE__ */
|
|
1118
|
+
children: K(t, X)
|
|
1119
|
+
}), /* @__PURE__ */ h(T, {
|
|
935
1120
|
size: 14,
|
|
936
1121
|
className: "text-foreground ml-auto"
|
|
937
1122
|
})]
|
|
938
1123
|
}));
|
|
939
|
-
|
|
940
|
-
var
|
|
1124
|
+
Or.displayName = "MenubarSubTrigger";
|
|
1125
|
+
var kr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(L.SubContent, {
|
|
941
1126
|
ref: r,
|
|
942
|
-
className:
|
|
1127
|
+
className: q("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
|
|
943
1128
|
...n,
|
|
944
1129
|
children: t
|
|
945
1130
|
}));
|
|
946
|
-
|
|
1131
|
+
kr.displayName = "MenubarSubContent";
|
|
947
1132
|
//#endregion
|
|
948
1133
|
//#region src/navigation-menu.tsx
|
|
949
|
-
var
|
|
1134
|
+
var Ar = e.forwardRef(({ className: e, children: t, value: n, onValueChange: r, dir: i, orientation: a, delayDuration: o, skipDelayDuration: s, ...c }, l) => /* @__PURE__ */ h(R.Root, {
|
|
950
1135
|
ref: l,
|
|
951
1136
|
value: n,
|
|
952
1137
|
onValueChange: r ? (e) => r(e || "") : () => {},
|
|
953
1138
|
delayDuration: o,
|
|
954
1139
|
skipDelayDuration: s,
|
|
955
|
-
className:
|
|
1140
|
+
className: q("relative z-10 flex flex-row items-center justify-center", e),
|
|
956
1141
|
...c,
|
|
957
1142
|
children: t
|
|
958
1143
|
}));
|
|
959
|
-
|
|
960
|
-
var
|
|
1144
|
+
Ar.displayName = "NavigationMenu";
|
|
1145
|
+
var jr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(R.List, {
|
|
961
1146
|
ref: r,
|
|
962
|
-
className:
|
|
1147
|
+
className: q("group flex flex-1 list-none flex-row items-center justify-center gap-1", e),
|
|
963
1148
|
...n,
|
|
964
1149
|
children: t
|
|
965
1150
|
}));
|
|
966
|
-
|
|
967
|
-
var
|
|
1151
|
+
jr.displayName = "NavigationMenuList";
|
|
1152
|
+
var Mr = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ h(R.Item, {
|
|
968
1153
|
ref: i,
|
|
969
1154
|
value: n || "",
|
|
970
|
-
className:
|
|
1155
|
+
className: q("relative", e),
|
|
971
1156
|
...r,
|
|
972
1157
|
children: t
|
|
973
1158
|
}));
|
|
974
|
-
|
|
975
|
-
var
|
|
1159
|
+
Mr.displayName = "NavigationMenuItem";
|
|
1160
|
+
var Nr = e.forwardRef(({ className: e, children: t, disabled: n, ...r }, i) => /* @__PURE__ */ g(R.Trigger, {
|
|
976
1161
|
ref: i,
|
|
977
1162
|
disabled: n,
|
|
978
|
-
className:
|
|
1163
|
+
className: q("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),
|
|
979
1164
|
...r,
|
|
980
|
-
children: [/* @__PURE__ */ m
|
|
1165
|
+
children: [/* @__PURE__ */ h(m, { children: t }), /* @__PURE__ */ h(w, {
|
|
981
1166
|
size: 12,
|
|
982
1167
|
className: "text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180"
|
|
983
1168
|
})]
|
|
984
1169
|
}));
|
|
985
|
-
|
|
986
|
-
var
|
|
1170
|
+
Nr.displayName = "NavigationMenuTrigger";
|
|
1171
|
+
var Pr = e.forwardRef(({ className: e, children: t, forceMount: n, ...r }, i) => /* @__PURE__ */ h(R.Portal, { children: /* @__PURE__ */ h(R.Content, {
|
|
987
1172
|
ref: i,
|
|
988
1173
|
...r,
|
|
989
|
-
children: /* @__PURE__ */
|
|
990
|
-
entering:
|
|
991
|
-
exiting:
|
|
992
|
-
className:
|
|
1174
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
1175
|
+
entering: O.duration(150),
|
|
1176
|
+
exiting: k.duration(150),
|
|
1177
|
+
className: q("bg-popover border-border z-50 overflow-hidden rounded-md border p-4 shadow-md", e),
|
|
993
1178
|
children: t
|
|
994
1179
|
})
|
|
995
1180
|
}) }));
|
|
996
|
-
|
|
997
|
-
var
|
|
1181
|
+
Pr.displayName = "NavigationMenuContent";
|
|
1182
|
+
var Fr = e.forwardRef(({ className: e, children: t, active: n, onSelect: r, onPress: i, href: a, ...o }, s) => /* @__PURE__ */ h(R.Link, {
|
|
998
1183
|
ref: s,
|
|
999
1184
|
active: n,
|
|
1000
1185
|
onPress: (e) => {
|
|
1001
1186
|
i && i(), r && r(e);
|
|
1002
1187
|
},
|
|
1003
|
-
className:
|
|
1188
|
+
className: q("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),
|
|
1004
1189
|
...o,
|
|
1005
1190
|
children: t
|
|
1006
1191
|
}));
|
|
1007
|
-
|
|
1008
|
-
var
|
|
1192
|
+
Fr.displayName = "NavigationMenuLink";
|
|
1193
|
+
var Ir = e.forwardRef(({ className: e, forceMount: t, ...n }, r) => /* @__PURE__ */ h(p, {
|
|
1009
1194
|
className: "absolute top-full left-0 flex justify-center",
|
|
1010
|
-
children: /* @__PURE__ */
|
|
1195
|
+
children: /* @__PURE__ */ h(R.Viewport, {
|
|
1011
1196
|
ref: r,
|
|
1012
|
-
className:
|
|
1197
|
+
className: q("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),
|
|
1013
1198
|
...n
|
|
1014
1199
|
})
|
|
1015
1200
|
}));
|
|
1016
|
-
|
|
1017
|
-
var
|
|
1201
|
+
Ir.displayName = "NavigationMenuViewport";
|
|
1202
|
+
var Lr = e.forwardRef(({ className: e, forceMount: t, ...n }, r) => /* @__PURE__ */ h(R.Indicator, {
|
|
1018
1203
|
ref: r,
|
|
1019
|
-
className:
|
|
1204
|
+
className: q("z-10 flex h-1.5 items-end justify-center overflow-hidden transition-all duration-200", e),
|
|
1020
1205
|
...n,
|
|
1021
|
-
children: /* @__PURE__ */
|
|
1206
|
+
children: /* @__PURE__ */ h(p, { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
|
|
1022
1207
|
}));
|
|
1023
|
-
|
|
1208
|
+
Lr.displayName = "NavigationMenuIndicator";
|
|
1024
1209
|
//#endregion
|
|
1025
1210
|
//#region src/pagination.tsx
|
|
1026
|
-
var
|
|
1211
|
+
var Rr = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(p, {
|
|
1027
1212
|
role: "navigation",
|
|
1028
1213
|
"aria-label": "pagination",
|
|
1029
|
-
className:
|
|
1214
|
+
className: q("mx-auto flex w-full flex-row justify-center", e),
|
|
1030
1215
|
...n,
|
|
1031
1216
|
children: t
|
|
1032
1217
|
});
|
|
1033
|
-
|
|
1034
|
-
var
|
|
1218
|
+
Rr.displayName = "Pagination";
|
|
1219
|
+
var zr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
|
|
1035
1220
|
ref: r,
|
|
1036
|
-
className:
|
|
1221
|
+
className: q("flex flex-row items-center gap-1", e),
|
|
1037
1222
|
...n,
|
|
1038
1223
|
children: t
|
|
1039
1224
|
}));
|
|
1040
|
-
|
|
1041
|
-
var
|
|
1225
|
+
zr.displayName = "PaginationContent";
|
|
1226
|
+
var Br = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
|
|
1042
1227
|
ref: r,
|
|
1043
|
-
className:
|
|
1228
|
+
className: q("", e),
|
|
1044
1229
|
...n,
|
|
1045
1230
|
children: t
|
|
1046
1231
|
}));
|
|
1047
|
-
|
|
1048
|
-
var
|
|
1232
|
+
Br.displayName = "PaginationItem";
|
|
1233
|
+
var Vr = ({ className: e, isActive: t, size: n = "icon", children: r, onPress: i, ...a }) => /* @__PURE__ */ h(Y, {
|
|
1049
1234
|
variant: t ? "outline" : "ghost",
|
|
1050
1235
|
size: n,
|
|
1051
1236
|
onPress: i,
|
|
@@ -1053,99 +1238,99 @@ var X = ({ className: e, isActive: t, size: n = "icon", children: r, onPress: i,
|
|
|
1053
1238
|
...a,
|
|
1054
1239
|
children: r
|
|
1055
1240
|
});
|
|
1056
|
-
|
|
1057
|
-
var
|
|
1241
|
+
Vr.displayName = "PaginationLink";
|
|
1242
|
+
var Hr = ({ className: e, children: t, onPress: n, ...r }) => /* @__PURE__ */ g(Vr, {
|
|
1058
1243
|
"aria-label": "Go to previous page",
|
|
1059
1244
|
size: "default",
|
|
1060
|
-
className:
|
|
1245
|
+
className: q("flex flex-row items-center gap-1 pl-2.5", e),
|
|
1061
1246
|
onPress: n,
|
|
1062
1247
|
...r,
|
|
1063
|
-
children: [/* @__PURE__ */
|
|
1248
|
+
children: [/* @__PURE__ */ h(ee, {
|
|
1064
1249
|
size: 16,
|
|
1065
1250
|
className: "text-foreground"
|
|
1066
|
-
}), /* @__PURE__ */
|
|
1251
|
+
}), /* @__PURE__ */ h(X, {
|
|
1067
1252
|
className: "text-sm font-medium",
|
|
1068
1253
|
children: "Previous"
|
|
1069
1254
|
})]
|
|
1070
1255
|
});
|
|
1071
|
-
|
|
1072
|
-
var
|
|
1256
|
+
Hr.displayName = "PaginationPrevious";
|
|
1257
|
+
var Ur = ({ className: e, children: t, onPress: n, ...r }) => /* @__PURE__ */ g(Vr, {
|
|
1073
1258
|
"aria-label": "Go to next page",
|
|
1074
1259
|
size: "default",
|
|
1075
|
-
className:
|
|
1260
|
+
className: q("flex flex-row items-center gap-1 pr-2.5", e),
|
|
1076
1261
|
onPress: n,
|
|
1077
1262
|
...r,
|
|
1078
|
-
children: [/* @__PURE__ */
|
|
1263
|
+
children: [/* @__PURE__ */ h(X, {
|
|
1079
1264
|
className: "text-sm font-medium",
|
|
1080
1265
|
children: "Next"
|
|
1081
|
-
}), /* @__PURE__ */
|
|
1266
|
+
}), /* @__PURE__ */ h(T, {
|
|
1082
1267
|
size: 16,
|
|
1083
1268
|
className: "text-foreground"
|
|
1084
1269
|
})]
|
|
1085
1270
|
});
|
|
1086
|
-
|
|
1087
|
-
var
|
|
1271
|
+
Ur.displayName = "PaginationNext";
|
|
1272
|
+
var Wr = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
|
|
1088
1273
|
"aria-hidden": !0,
|
|
1089
|
-
className:
|
|
1274
|
+
className: q("flex h-9 w-9 flex-row items-center justify-center", e),
|
|
1090
1275
|
...t,
|
|
1091
|
-
children: /* @__PURE__ */
|
|
1276
|
+
children: /* @__PURE__ */ h(ae, {
|
|
1092
1277
|
size: 16,
|
|
1093
1278
|
className: "text-foreground"
|
|
1094
1279
|
})
|
|
1095
1280
|
});
|
|
1096
|
-
|
|
1281
|
+
Wr.displayName = "PaginationEllipsis";
|
|
1097
1282
|
//#endregion
|
|
1098
1283
|
//#region src/popover.tsx
|
|
1099
|
-
var
|
|
1284
|
+
var Gr = e.createContext({
|
|
1100
1285
|
open: !1,
|
|
1101
1286
|
setOpen: () => {}
|
|
1102
|
-
}),
|
|
1287
|
+
}), Kr = e.forwardRef(({ children: t, open: n, onOpenChange: r, ...i }, a) => {
|
|
1103
1288
|
let [o, s] = e.useState(!1), c = n !== void 0, l = c ? n : o, u = c ? r || (() => {}) : s;
|
|
1104
|
-
return /* @__PURE__ */
|
|
1289
|
+
return /* @__PURE__ */ h(Gr.Provider, {
|
|
1105
1290
|
value: {
|
|
1106
1291
|
open: l,
|
|
1107
1292
|
setOpen: u
|
|
1108
1293
|
},
|
|
1109
|
-
children: /* @__PURE__ */
|
|
1294
|
+
children: /* @__PURE__ */ h(p, {
|
|
1110
1295
|
ref: a,
|
|
1111
1296
|
...i,
|
|
1112
1297
|
children: t
|
|
1113
1298
|
})
|
|
1114
1299
|
});
|
|
1115
1300
|
});
|
|
1116
|
-
|
|
1117
|
-
var
|
|
1118
|
-
let { setOpen: i } = e.useContext(
|
|
1119
|
-
return /* @__PURE__ */
|
|
1301
|
+
Kr.displayName = "Popover";
|
|
1302
|
+
var qr = e.forwardRef(({ children: t, ...n }, r) => {
|
|
1303
|
+
let { setOpen: i } = e.useContext(Gr);
|
|
1304
|
+
return /* @__PURE__ */ h(s, {
|
|
1120
1305
|
ref: r,
|
|
1121
1306
|
onPress: () => i(!0),
|
|
1122
1307
|
...n,
|
|
1123
1308
|
children: t
|
|
1124
1309
|
});
|
|
1125
1310
|
});
|
|
1126
|
-
|
|
1127
|
-
var
|
|
1311
|
+
qr.displayName = "PopoverTrigger";
|
|
1312
|
+
var Jr = e.forwardRef(({ ...e }, t) => /* @__PURE__ */ h(p, {
|
|
1128
1313
|
ref: t,
|
|
1129
1314
|
...e
|
|
1130
1315
|
}));
|
|
1131
|
-
|
|
1132
|
-
var
|
|
1133
|
-
let { open:
|
|
1134
|
-
return /* @__PURE__ */
|
|
1135
|
-
visible:
|
|
1316
|
+
Jr.displayName = "PopoverAnchor";
|
|
1317
|
+
var Yr = e.forwardRef(({ className: t, children: n, ...r }, i) => {
|
|
1318
|
+
let { open: o, setOpen: c } = e.useContext(Gr);
|
|
1319
|
+
return /* @__PURE__ */ h(a, {
|
|
1320
|
+
visible: o,
|
|
1136
1321
|
transparent: !0,
|
|
1137
1322
|
animationType: "fade",
|
|
1138
1323
|
onRequestClose: () => c(!1),
|
|
1139
|
-
children: /* @__PURE__ */
|
|
1324
|
+
children: /* @__PURE__ */ h(s, {
|
|
1140
1325
|
className: "flex-1",
|
|
1141
1326
|
onPress: () => c(!1),
|
|
1142
|
-
children: /* @__PURE__ */
|
|
1327
|
+
children: /* @__PURE__ */ h(p, {
|
|
1143
1328
|
className: "flex-1 items-center justify-center bg-black/50",
|
|
1144
|
-
children: /* @__PURE__ */
|
|
1329
|
+
children: /* @__PURE__ */ h(s, {
|
|
1145
1330
|
onPress: () => {},
|
|
1146
|
-
children: /* @__PURE__ */
|
|
1147
|
-
ref:
|
|
1148
|
-
className:
|
|
1331
|
+
children: /* @__PURE__ */ h(p, {
|
|
1332
|
+
ref: i,
|
|
1333
|
+
className: q("bg-popover border-border mx-4 w-full max-w-sm rounded-md border p-4 shadow-lg", t),
|
|
1149
1334
|
...r,
|
|
1150
1335
|
children: n
|
|
1151
1336
|
})
|
|
@@ -1154,156 +1339,194 @@ var Nr = e.forwardRef(({ className: t, children: n, ...r }, a) => {
|
|
|
1154
1339
|
})
|
|
1155
1340
|
});
|
|
1156
1341
|
});
|
|
1157
|
-
|
|
1342
|
+
Yr.displayName = "PopoverContent";
|
|
1158
1343
|
//#endregion
|
|
1159
1344
|
//#region src/progress.tsx
|
|
1160
|
-
var
|
|
1345
|
+
var Xr = e.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ h(p, {
|
|
1161
1346
|
ref: r,
|
|
1162
|
-
className:
|
|
1347
|
+
className: q("bg-muted relative h-2 w-full overflow-hidden rounded-full", e),
|
|
1163
1348
|
accessibilityRole: "progressbar",
|
|
1164
1349
|
role: "progressbar",
|
|
1165
1350
|
...n,
|
|
1166
|
-
children: /* @__PURE__ */
|
|
1351
|
+
children: /* @__PURE__ */ h(p, {
|
|
1167
1352
|
className: "bg-primary h-full rounded-full",
|
|
1168
1353
|
style: { width: `${t || 0}%` }
|
|
1169
1354
|
})
|
|
1170
1355
|
}));
|
|
1171
|
-
|
|
1356
|
+
Xr.displayName = "Progress";
|
|
1172
1357
|
//#endregion
|
|
1173
1358
|
//#region src/radio-group.tsx
|
|
1174
|
-
var
|
|
1175
|
-
className:
|
|
1359
|
+
var Zr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(z.Root, {
|
|
1360
|
+
className: q("web:grid gap-2", e),
|
|
1176
1361
|
...t,
|
|
1177
1362
|
ref: n
|
|
1178
1363
|
}));
|
|
1179
|
-
|
|
1180
|
-
var
|
|
1364
|
+
Zr.displayName = z.Root?.displayName || "RadioGroup";
|
|
1365
|
+
var Qr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(z.Item, {
|
|
1181
1366
|
ref: n,
|
|
1182
|
-
className:
|
|
1367
|
+
className: q("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),
|
|
1183
1368
|
...t,
|
|
1184
|
-
children: /* @__PURE__ */
|
|
1369
|
+
children: /* @__PURE__ */ h(z.Indicator, {
|
|
1185
1370
|
className: "flex items-center justify-center",
|
|
1186
|
-
children: /* @__PURE__ */
|
|
1371
|
+
children: /* @__PURE__ */ h(E, { className: "h-2.5 w-2.5 fill-current text-current" })
|
|
1187
1372
|
})
|
|
1188
1373
|
}));
|
|
1189
|
-
|
|
1374
|
+
Qr.displayName = z.Item?.displayName || "RadioGroupItem";
|
|
1190
1375
|
//#endregion
|
|
1191
1376
|
//#region src/resizable.tsx
|
|
1192
|
-
var
|
|
1377
|
+
var $r = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
|
|
1193
1378
|
className: t,
|
|
1194
1379
|
children: e
|
|
1195
|
-
}),
|
|
1380
|
+
}), ei = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
|
|
1196
1381
|
className: t,
|
|
1197
1382
|
children: e
|
|
1198
|
-
}),
|
|
1383
|
+
}), ti = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), ni = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ h(c, {
|
|
1199
1384
|
ref: r,
|
|
1200
|
-
className:
|
|
1201
|
-
showsVerticalScrollIndicator: !
|
|
1202
|
-
showsHorizontalScrollIndicator: !
|
|
1385
|
+
className: q("flex-1", t),
|
|
1386
|
+
showsVerticalScrollIndicator: !0,
|
|
1387
|
+
showsHorizontalScrollIndicator: !0,
|
|
1203
1388
|
...n,
|
|
1204
|
-
children: /* @__PURE__ */
|
|
1389
|
+
children: /* @__PURE__ */ h(p, { children: e })
|
|
1205
1390
|
}));
|
|
1206
|
-
|
|
1207
|
-
var
|
|
1208
|
-
|
|
1391
|
+
ni.displayName = "ScrollArea";
|
|
1392
|
+
var ri = () => null;
|
|
1393
|
+
ri.displayName = "ScrollBar";
|
|
1209
1394
|
//#endregion
|
|
1210
1395
|
//#region src/search.tsx
|
|
1211
|
-
|
|
1396
|
+
function ii({ children: t, open: n, onOpenChange: r }) {
|
|
1397
|
+
let [i, a] = e.useState(!1), o = n !== void 0;
|
|
1398
|
+
return /* @__PURE__ */ h(vn, {
|
|
1399
|
+
open: o ? n : i,
|
|
1400
|
+
onOpenChange: e.useCallback((e) => {
|
|
1401
|
+
o ? r?.(e) : a(e);
|
|
1402
|
+
}, [o, r]),
|
|
1403
|
+
children: t
|
|
1404
|
+
});
|
|
1405
|
+
}
|
|
1406
|
+
var ai = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", responsive: r = !1, ...i }, a) => {
|
|
1407
|
+
let s = t || (n === "compact" ? "Search..." : "Search docs...");
|
|
1408
|
+
return /* @__PURE__ */ g(Y, {
|
|
1409
|
+
variant: "outline",
|
|
1410
|
+
className: q("relative h-12 flex-row justify-start pl-3 text-sm transition-all sm:h-9", n === "default" ? "w-full pr-12" : q("w-12 px-0 sm:w-9 sm:justify-center", r && "md:w-48 md:justify-start md:px-3 md:pr-12"), e),
|
|
1411
|
+
ref: a,
|
|
1412
|
+
...i,
|
|
1413
|
+
children: [/* @__PURE__ */ g(p, {
|
|
1414
|
+
className: "flex-row items-center gap-2",
|
|
1415
|
+
children: [/* @__PURE__ */ h(oe, {
|
|
1416
|
+
className: "text-muted-foreground shrink-0",
|
|
1417
|
+
size: 18
|
|
1418
|
+
}), /* @__PURE__ */ h(u, {
|
|
1419
|
+
className: q("text-muted-foreground truncate", n === "compact" && (r ? "hidden md:flex" : "hidden")),
|
|
1420
|
+
children: s
|
|
1421
|
+
})]
|
|
1422
|
+
}), /* @__PURE__ */ h(p, {
|
|
1423
|
+
className: q("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" && o.OS !== "android" && o.OS !== "ios" && "sm:flex", n === "compact" && r && o.OS !== "android" && o.OS !== "ios" && "md:flex"),
|
|
1424
|
+
children: /* @__PURE__ */ h(u, {
|
|
1425
|
+
className: "text-muted-foreground font-mono text-[10px] font-medium",
|
|
1426
|
+
children: "⌘K"
|
|
1427
|
+
})
|
|
1428
|
+
})]
|
|
1429
|
+
});
|
|
1430
|
+
});
|
|
1431
|
+
ai.displayName = "SearchTrigger";
|
|
1432
|
+
//#endregion
|
|
1433
|
+
//#region src/select.tsx
|
|
1434
|
+
var oi = B.Root, si = B.Group, ci = B.Value, li = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(B.Trigger, {
|
|
1212
1435
|
ref: r,
|
|
1213
|
-
className:
|
|
1436
|
+
className: q("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),
|
|
1214
1437
|
...n,
|
|
1215
|
-
children: [/* @__PURE__ */ m
|
|
1438
|
+
children: [/* @__PURE__ */ h(m, { children: t }), /* @__PURE__ */ h(w, {
|
|
1216
1439
|
size: 16,
|
|
1217
1440
|
"aria-hidden": !0,
|
|
1218
1441
|
className: "text-foreground opacity-50"
|
|
1219
1442
|
})]
|
|
1220
1443
|
}));
|
|
1221
|
-
|
|
1222
|
-
var
|
|
1444
|
+
li.displayName = B.Trigger?.displayName || "SelectTrigger";
|
|
1445
|
+
var ui = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(B.ScrollUpButton, {
|
|
1223
1446
|
ref: n,
|
|
1224
|
-
className:
|
|
1447
|
+
className: q("flex cursor-default items-center justify-center py-1", e),
|
|
1225
1448
|
...t,
|
|
1226
|
-
children: /* @__PURE__ */
|
|
1449
|
+
children: /* @__PURE__ */ h(te, {
|
|
1227
1450
|
size: 14,
|
|
1228
1451
|
className: "text-foreground"
|
|
1229
1452
|
})
|
|
1230
1453
|
}));
|
|
1231
|
-
|
|
1232
|
-
var
|
|
1454
|
+
ui.displayName = B.ScrollUpButton?.displayName || "SelectScrollUpButton";
|
|
1455
|
+
var di = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(B.ScrollDownButton, {
|
|
1233
1456
|
ref: n,
|
|
1234
|
-
className:
|
|
1457
|
+
className: q("flex cursor-default items-center justify-center py-1", e),
|
|
1235
1458
|
...t,
|
|
1236
|
-
children: /* @__PURE__ */
|
|
1459
|
+
children: /* @__PURE__ */ h(w, {
|
|
1237
1460
|
size: 14,
|
|
1238
1461
|
className: "text-foreground"
|
|
1239
1462
|
})
|
|
1240
1463
|
}));
|
|
1241
|
-
|
|
1242
|
-
var
|
|
1243
|
-
let { open: u } =
|
|
1244
|
-
return /* @__PURE__ */
|
|
1464
|
+
di.displayName = B.ScrollDownButton?.displayName || "SelectScrollDownButton";
|
|
1465
|
+
var fi = e.forwardRef(({ className: e, children: t, position: n = "popper", portalHost: r, overlayClassName: i, overlayStyle: a, ...s }, c) => {
|
|
1466
|
+
let { open: u } = B.useRootContext();
|
|
1467
|
+
return /* @__PURE__ */ g(B.Portal, {
|
|
1245
1468
|
hostName: r,
|
|
1246
|
-
children: [/* @__PURE__ */
|
|
1247
|
-
style:
|
|
1469
|
+
children: [/* @__PURE__ */ h(B.Overlay, {
|
|
1470
|
+
style: o.OS === "web" ? void 0 : l.absoluteFill,
|
|
1248
1471
|
asChild: !0,
|
|
1249
|
-
children: /* @__PURE__ */
|
|
1472
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
1250
1473
|
className: i,
|
|
1251
|
-
style:
|
|
1474
|
+
style: a
|
|
1252
1475
|
})
|
|
1253
|
-
}), /* @__PURE__ */
|
|
1254
|
-
ref:
|
|
1255
|
-
className:
|
|
1476
|
+
}), /* @__PURE__ */ g(B.Content, {
|
|
1477
|
+
ref: c,
|
|
1478
|
+
className: q("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", u ? "web:zoom-in-95 web:animate-in web:fade-in-0" : "web:zoom-out-95 web:animate-out web:fade-out-0", e),
|
|
1256
1479
|
position: n,
|
|
1257
1480
|
...s,
|
|
1258
1481
|
children: [
|
|
1259
|
-
/* @__PURE__ */
|
|
1260
|
-
/* @__PURE__ */
|
|
1261
|
-
className:
|
|
1482
|
+
/* @__PURE__ */ h(ui, {}),
|
|
1483
|
+
/* @__PURE__ */ h(B.Viewport, {
|
|
1484
|
+
className: q("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
|
|
1262
1485
|
children: t
|
|
1263
1486
|
}),
|
|
1264
|
-
/* @__PURE__ */
|
|
1487
|
+
/* @__PURE__ */ h(di, {})
|
|
1265
1488
|
]
|
|
1266
1489
|
})]
|
|
1267
1490
|
});
|
|
1268
1491
|
});
|
|
1269
|
-
|
|
1270
|
-
var
|
|
1492
|
+
fi.displayName = B.Content?.displayName || "SelectContent";
|
|
1493
|
+
var pi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(B.Label, {
|
|
1271
1494
|
ref: n,
|
|
1272
|
-
className:
|
|
1495
|
+
className: q("text-popover-foreground py-1.5 pr-2 pl-8 text-sm font-semibold", e),
|
|
1273
1496
|
...t
|
|
1274
1497
|
}));
|
|
1275
|
-
|
|
1276
|
-
var
|
|
1498
|
+
pi.displayName = B.Label?.displayName || "SelectLabel";
|
|
1499
|
+
var mi = e.forwardRef(({ className: e, children: t, label: n, ...r }, i) => {
|
|
1277
1500
|
let a = n || (typeof t == "string" ? t : "");
|
|
1278
|
-
return /* @__PURE__ */
|
|
1501
|
+
return /* @__PURE__ */ g(B.Item, {
|
|
1279
1502
|
ref: i,
|
|
1280
1503
|
label: a,
|
|
1281
|
-
className:
|
|
1504
|
+
className: q("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),
|
|
1282
1505
|
...r,
|
|
1283
|
-
children: [/* @__PURE__ */
|
|
1506
|
+
children: [/* @__PURE__ */ h(p, {
|
|
1284
1507
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
1285
|
-
children: /* @__PURE__ */
|
|
1508
|
+
children: /* @__PURE__ */ h(B.ItemIndicator, { children: /* @__PURE__ */ h(C, {
|
|
1286
1509
|
size: 14,
|
|
1287
1510
|
strokeWidth: 3,
|
|
1288
1511
|
className: "text-popover-foreground"
|
|
1289
1512
|
}) })
|
|
1290
|
-
}), /* @__PURE__ */
|
|
1513
|
+
}), /* @__PURE__ */ h(B.ItemText, {
|
|
1291
1514
|
className: "text-popover-foreground native:text-base text-sm",
|
|
1292
1515
|
children: t
|
|
1293
1516
|
})]
|
|
1294
1517
|
});
|
|
1295
1518
|
});
|
|
1296
|
-
|
|
1297
|
-
var
|
|
1519
|
+
mi.displayName = B.Item?.displayName || "SelectItem";
|
|
1520
|
+
var hi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(B.Separator, {
|
|
1298
1521
|
ref: n,
|
|
1299
|
-
className:
|
|
1522
|
+
className: q("bg-muted -mx-1 my-1 h-px", e),
|
|
1300
1523
|
...t
|
|
1301
1524
|
}));
|
|
1302
|
-
|
|
1525
|
+
hi.displayName = B.Separator?.displayName || "SelectSeparator";
|
|
1303
1526
|
//#endregion
|
|
1304
1527
|
//#region src/scroll-to-top.tsx
|
|
1305
|
-
var
|
|
1306
|
-
let [
|
|
1528
|
+
var gi = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: a, label: s = "Scroll to top", className: c, scrollRef: l, animationDuration: u = 300, ...d }, f) => {
|
|
1529
|
+
let [m, g] = e.useState(!1), [_, v] = e.useState(!1), y = e.useRef(new n.Value(0)).current, b = e.useRef(new n.Value(20)).current, x = () => {
|
|
1307
1530
|
n.parallel([n.timing(y, {
|
|
1308
1531
|
toValue: 1,
|
|
1309
1532
|
duration: u,
|
|
@@ -1313,7 +1536,7 @@ var $r = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: o,
|
|
|
1313
1536
|
duration: u,
|
|
1314
1537
|
useNativeDriver: !0
|
|
1315
1538
|
})]).start();
|
|
1316
|
-
},
|
|
1539
|
+
}, C = () => {
|
|
1317
1540
|
n.parallel([n.timing(y, {
|
|
1318
1541
|
toValue: 0,
|
|
1319
1542
|
duration: u,
|
|
@@ -1325,32 +1548,32 @@ var $r = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: o,
|
|
|
1325
1548
|
})]).start(() => {
|
|
1326
1549
|
_ || g(!1);
|
|
1327
1550
|
});
|
|
1328
|
-
},
|
|
1551
|
+
}, w = (e) => {
|
|
1329
1552
|
let t = e.nativeEvent.contentOffset.y;
|
|
1330
1553
|
if (_) {
|
|
1331
1554
|
t <= r && (g(!1), v(!1));
|
|
1332
1555
|
return;
|
|
1333
1556
|
}
|
|
1334
|
-
t > r && !
|
|
1335
|
-
},
|
|
1336
|
-
v(!0),
|
|
1557
|
+
t > r && !m ? (g(!0), x()) : t <= r && m && C();
|
|
1558
|
+
}, ee = () => {
|
|
1559
|
+
v(!0), C(), setTimeout(() => {
|
|
1337
1560
|
if (l?.current) {
|
|
1338
1561
|
let e = l.current;
|
|
1339
1562
|
"scrollToOffset" in e && typeof e.scrollToOffset == "function" ? e.scrollToOffset({
|
|
1340
1563
|
offset: 0,
|
|
1341
|
-
animated:
|
|
1564
|
+
animated: a !== "auto"
|
|
1342
1565
|
}) : "scrollTo" in e && typeof e.scrollTo == "function" && e.scrollTo({
|
|
1343
1566
|
y: 0,
|
|
1344
|
-
animated:
|
|
1567
|
+
animated: a !== "auto"
|
|
1345
1568
|
});
|
|
1346
1569
|
}
|
|
1347
|
-
(
|
|
1570
|
+
(o.OS === "ios" || o.OS === "android") && t.announceForAccessibility("Scrolled to top");
|
|
1348
1571
|
}, i);
|
|
1349
1572
|
};
|
|
1350
|
-
return e.useImperativeHandle(
|
|
1351
|
-
handleScroll:
|
|
1352
|
-
scrollToTop:
|
|
1353
|
-
})), !
|
|
1573
|
+
return e.useImperativeHandle(f, () => ({
|
|
1574
|
+
handleScroll: w,
|
|
1575
|
+
scrollToTop: ee
|
|
1576
|
+
})), !m && !_ ? null : /* @__PURE__ */ h(p, {
|
|
1354
1577
|
pointerEvents: "box-none",
|
|
1355
1578
|
style: {
|
|
1356
1579
|
position: "absolute",
|
|
@@ -1358,19 +1581,19 @@ var $r = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: o,
|
|
|
1358
1581
|
right: 24,
|
|
1359
1582
|
zIndex: 50
|
|
1360
1583
|
},
|
|
1361
|
-
children: /* @__PURE__ */
|
|
1584
|
+
children: /* @__PURE__ */ h(n.View, {
|
|
1362
1585
|
style: {
|
|
1363
1586
|
opacity: y,
|
|
1364
1587
|
transform: [{ translateY: b }]
|
|
1365
1588
|
},
|
|
1366
|
-
children: /* @__PURE__ */
|
|
1589
|
+
children: /* @__PURE__ */ h(Y, {
|
|
1367
1590
|
variant: "outline",
|
|
1368
1591
|
size: "icon",
|
|
1369
|
-
className:
|
|
1370
|
-
onPress:
|
|
1592
|
+
className: q("bg-background/80 h-12 w-12 rounded-full border-2 shadow-lg", c),
|
|
1593
|
+
onPress: ee,
|
|
1371
1594
|
"aria-label": s,
|
|
1372
1595
|
...d,
|
|
1373
|
-
children: /* @__PURE__ */
|
|
1596
|
+
children: /* @__PURE__ */ h(S, {
|
|
1374
1597
|
size: 24,
|
|
1375
1598
|
className: "text-foreground"
|
|
1376
1599
|
})
|
|
@@ -1378,24 +1601,24 @@ var $r = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: o,
|
|
|
1378
1601
|
})
|
|
1379
1602
|
});
|
|
1380
1603
|
});
|
|
1381
|
-
|
|
1604
|
+
gi.displayName = "ScrollToTop";
|
|
1382
1605
|
//#endregion
|
|
1383
1606
|
//#region src/support-fab.tsx
|
|
1384
|
-
var
|
|
1607
|
+
var _i = (e) => {
|
|
1385
1608
|
let t = e.trim();
|
|
1386
1609
|
return t.endsWith("/") ? t.slice(0, -1) : t;
|
|
1387
|
-
},
|
|
1388
|
-
function
|
|
1389
|
-
let v = o !== void 0, [
|
|
1390
|
-
v ||
|
|
1391
|
-
}, [v, c]),
|
|
1610
|
+
}, vi = (e) => e.trim().replace(/^@+/, ""), yi = (e, t) => `${_i(e)}/${encodeURIComponent(vi(t))}`;
|
|
1611
|
+
function bi({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, title: r = "Buy me a coffee", description: a = "Support the project directly from this panel.", open: o, defaultOpen: s = !1, onOpenChange: c, positionClassName: l, buttonClassName: u, panelClassName: d, className: f, ..._ }) {
|
|
1612
|
+
let v = o !== void 0, [y, b] = e.useState(s), x = v ? o : y, S = e.useCallback((e) => {
|
|
1613
|
+
v || b(e), c?.(e);
|
|
1614
|
+
}, [v, c]), C = e.useMemo(() => yi(t, n), [n, t]), w = e.useCallback(async () => {
|
|
1392
1615
|
try {
|
|
1393
|
-
await
|
|
1616
|
+
await i.openURL(C);
|
|
1394
1617
|
} catch (e) {
|
|
1395
1618
|
console.warn("Failed to open external link:", e);
|
|
1396
1619
|
}
|
|
1397
|
-
}, [
|
|
1398
|
-
return /* @__PURE__ */
|
|
1620
|
+
}, [C]);
|
|
1621
|
+
return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(p, {
|
|
1399
1622
|
style: {
|
|
1400
1623
|
position: "absolute",
|
|
1401
1624
|
bottom: 24,
|
|
@@ -1403,30 +1626,30 @@ function ri({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, titl
|
|
|
1403
1626
|
zIndex: 50
|
|
1404
1627
|
},
|
|
1405
1628
|
className: l,
|
|
1406
|
-
children: /* @__PURE__ */
|
|
1629
|
+
children: /* @__PURE__ */ h(Y, {
|
|
1407
1630
|
variant: "outline",
|
|
1408
1631
|
size: "icon",
|
|
1409
|
-
className:
|
|
1410
|
-
onPress: () =>
|
|
1632
|
+
className: q("h-14 w-14 rounded-full border border-black/15 bg-[#ffdd00] shadow-lg", u, f),
|
|
1633
|
+
onPress: () => S(!0),
|
|
1411
1634
|
"aria-label": "Support this project",
|
|
1412
1635
|
..._,
|
|
1413
|
-
children: /* @__PURE__ */
|
|
1636
|
+
children: /* @__PURE__ */ h(ne, {
|
|
1414
1637
|
size: 24,
|
|
1415
1638
|
className: "text-black"
|
|
1416
1639
|
})
|
|
1417
1640
|
})
|
|
1418
|
-
}), /* @__PURE__ */
|
|
1419
|
-
open:
|
|
1420
|
-
onOpenChange:
|
|
1421
|
-
children: /* @__PURE__ */
|
|
1422
|
-
className:
|
|
1423
|
-
children: [/* @__PURE__ */
|
|
1641
|
+
}), /* @__PURE__ */ h(vn, {
|
|
1642
|
+
open: x,
|
|
1643
|
+
onOpenChange: S,
|
|
1644
|
+
children: /* @__PURE__ */ g(Cn, {
|
|
1645
|
+
className: q("max-w-sm", d),
|
|
1646
|
+
children: [/* @__PURE__ */ g(wn, { children: [/* @__PURE__ */ h(En, { children: r }), /* @__PURE__ */ h(Dn, { children: a })] }), /* @__PURE__ */ g(p, {
|
|
1424
1647
|
className: "flex flex-col gap-4",
|
|
1425
|
-
children: [/* @__PURE__ */
|
|
1648
|
+
children: [/* @__PURE__ */ h(p, {
|
|
1426
1649
|
className: "overflow-hidden rounded-md border",
|
|
1427
|
-
children: /* @__PURE__ */
|
|
1650
|
+
children: /* @__PURE__ */ h(p, {
|
|
1428
1651
|
className: "bg-muted flex h-48 items-center justify-center",
|
|
1429
|
-
children: /* @__PURE__ */
|
|
1652
|
+
children: /* @__PURE__ */ g(X, {
|
|
1430
1653
|
className: "text-muted-foreground text-center text-sm",
|
|
1431
1654
|
children: [
|
|
1432
1655
|
"Embedded support form would appear here on web.",
|
|
@@ -1435,20 +1658,20 @@ function ri({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, titl
|
|
|
1435
1658
|
]
|
|
1436
1659
|
})
|
|
1437
1660
|
})
|
|
1438
|
-
}), /* @__PURE__ */
|
|
1661
|
+
}), /* @__PURE__ */ g(p, {
|
|
1439
1662
|
className: "text-muted-foreground flex items-center justify-between gap-2 text-xs",
|
|
1440
|
-
children: [/* @__PURE__ */
|
|
1663
|
+
children: [/* @__PURE__ */ h(X, {
|
|
1441
1664
|
className: "text-muted-foreground flex-1 text-xs",
|
|
1442
1665
|
children: "If the embedded checkout is unavailable, open the support page directly."
|
|
1443
|
-
}), /* @__PURE__ */
|
|
1666
|
+
}), /* @__PURE__ */ g(Y, {
|
|
1444
1667
|
variant: "outline",
|
|
1445
1668
|
size: "sm",
|
|
1446
|
-
onPress:
|
|
1669
|
+
onPress: w,
|
|
1447
1670
|
className: "flex flex-row items-center gap-1",
|
|
1448
|
-
children: [/* @__PURE__ */
|
|
1671
|
+
children: [/* @__PURE__ */ h(X, {
|
|
1449
1672
|
className: "text-xs",
|
|
1450
1673
|
children: "Open Buy Me a Coffee"
|
|
1451
|
-
}), /* @__PURE__ */
|
|
1674
|
+
}), /* @__PURE__ */ h(re, {
|
|
1452
1675
|
size: 12,
|
|
1453
1676
|
className: "text-muted-foreground"
|
|
1454
1677
|
})]
|
|
@@ -1460,47 +1683,47 @@ function ri({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, titl
|
|
|
1460
1683
|
}
|
|
1461
1684
|
//#endregion
|
|
1462
1685
|
//#region src/separator.tsx
|
|
1463
|
-
var
|
|
1686
|
+
var xi = e.forwardRef(({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }, i) => /* @__PURE__ */ h(Ne.Root, {
|
|
1464
1687
|
ref: i,
|
|
1465
1688
|
decorative: n,
|
|
1466
1689
|
orientation: t,
|
|
1467
|
-
className:
|
|
1690
|
+
className: q("bg-border shrink-0", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
|
|
1468
1691
|
...r
|
|
1469
1692
|
}));
|
|
1470
|
-
|
|
1693
|
+
xi.displayName = Ne.Root?.displayName || "Separator";
|
|
1471
1694
|
//#endregion
|
|
1472
1695
|
//#region src/sheet.tsx
|
|
1473
|
-
var
|
|
1474
|
-
style:
|
|
1696
|
+
var Si = P.Root, Ci = P.Trigger, wi = P.Close, Ti = P.Portal, Ei = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Overlay, {
|
|
1697
|
+
style: o.OS === "web" ? void 0 : l.absoluteFill,
|
|
1475
1698
|
asChild: !0,
|
|
1476
1699
|
ref: n,
|
|
1477
1700
|
...t,
|
|
1478
|
-
children: /* @__PURE__ */
|
|
1479
|
-
entering:
|
|
1480
|
-
exiting:
|
|
1481
|
-
className:
|
|
1701
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
1702
|
+
entering: O.duration(150),
|
|
1703
|
+
exiting: k.duration(150),
|
|
1704
|
+
className: q("web:cursor-default absolute inset-0 z-50 bg-black/80", e)
|
|
1482
1705
|
})
|
|
1483
1706
|
}));
|
|
1484
|
-
|
|
1485
|
-
var
|
|
1486
|
-
let c =
|
|
1487
|
-
return /* @__PURE__ */
|
|
1707
|
+
Ei.displayName = P.Overlay?.displayName || "SheetOverlay";
|
|
1708
|
+
var Di = e.forwardRef(({ className: e, children: t, side: n = "right", overlayClassName: r, overlayStyle: i, ...a }, s) => {
|
|
1709
|
+
let c = o.OS === "web", l = c ? void 0 : he, u = c ? void 0 : _e;
|
|
1710
|
+
return /* @__PURE__ */ g(Ti, { children: [/* @__PURE__ */ h(Ei, {
|
|
1488
1711
|
className: r,
|
|
1489
1712
|
style: i
|
|
1490
|
-
}), /* @__PURE__ */
|
|
1713
|
+
}), /* @__PURE__ */ h(P.Content, {
|
|
1491
1714
|
ref: s,
|
|
1492
1715
|
asChild: !0,
|
|
1493
|
-
...
|
|
1494
|
-
children: /* @__PURE__ */
|
|
1716
|
+
...a,
|
|
1717
|
+
children: /* @__PURE__ */ g(D.View, {
|
|
1495
1718
|
entering: l,
|
|
1496
1719
|
exiting: u,
|
|
1497
|
-
className:
|
|
1498
|
-
children: [t, /* @__PURE__ */
|
|
1499
|
-
className:
|
|
1500
|
-
children: [/* @__PURE__ */
|
|
1720
|
+
className: q("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),
|
|
1721
|
+
children: [t, /* @__PURE__ */ g(P.Close, {
|
|
1722
|
+
className: q("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"),
|
|
1723
|
+
children: [/* @__PURE__ */ h(le, {
|
|
1501
1724
|
size: 24,
|
|
1502
1725
|
className: "text-muted-foreground"
|
|
1503
|
-
}), /* @__PURE__ */
|
|
1726
|
+
}), /* @__PURE__ */ h(X, {
|
|
1504
1727
|
className: "sr-only",
|
|
1505
1728
|
children: "Close"
|
|
1506
1729
|
})]
|
|
@@ -1508,48 +1731,48 @@ var ui = e.forwardRef(({ className: e, children: t, side: n = "right", overlayCl
|
|
|
1508
1731
|
})
|
|
1509
1732
|
})] });
|
|
1510
1733
|
});
|
|
1511
|
-
|
|
1512
|
-
var
|
|
1513
|
-
className:
|
|
1734
|
+
Di.displayName = P.Content?.displayName || "SheetContent";
|
|
1735
|
+
var Oi = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
|
|
1736
|
+
className: q("flex flex-col space-y-2 text-center sm:text-left", e),
|
|
1514
1737
|
...t
|
|
1515
1738
|
});
|
|
1516
|
-
|
|
1517
|
-
var
|
|
1518
|
-
className:
|
|
1739
|
+
Oi.displayName = "SheetHeader";
|
|
1740
|
+
var ki = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
|
|
1741
|
+
className: q("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
|
|
1519
1742
|
...t
|
|
1520
1743
|
});
|
|
1521
|
-
|
|
1522
|
-
var
|
|
1744
|
+
ki.displayName = "SheetFooter";
|
|
1745
|
+
var Ai = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Title, {
|
|
1523
1746
|
ref: n,
|
|
1524
|
-
className:
|
|
1747
|
+
className: q("text-foreground text-lg font-semibold", e),
|
|
1525
1748
|
...t
|
|
1526
1749
|
}));
|
|
1527
|
-
|
|
1528
|
-
var
|
|
1750
|
+
Ai.displayName = P.Title?.displayName || "SheetTitle";
|
|
1751
|
+
var ji = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Description, {
|
|
1529
1752
|
ref: n,
|
|
1530
|
-
className:
|
|
1753
|
+
className: q("text-muted-foreground text-sm", e),
|
|
1531
1754
|
...t
|
|
1532
1755
|
}));
|
|
1533
|
-
|
|
1756
|
+
ji.displayName = P.Description?.displayName || "SheetDescription";
|
|
1534
1757
|
//#endregion
|
|
1535
1758
|
//#region src/skeleton.tsx
|
|
1536
|
-
function
|
|
1537
|
-
let r =
|
|
1759
|
+
function Mi({ className: t, ...n }) {
|
|
1760
|
+
let r = xe(.5);
|
|
1538
1761
|
e.useEffect(() => {
|
|
1539
|
-
r.value =
|
|
1762
|
+
r.value = Se(Ce(we(.2, { duration: 500 }), we(.5, { duration: 500 })), -1, !0);
|
|
1540
1763
|
}, []);
|
|
1541
|
-
let i =
|
|
1542
|
-
return /* @__PURE__ */
|
|
1543
|
-
className:
|
|
1764
|
+
let i = ye(() => ({ opacity: r.value }));
|
|
1765
|
+
return /* @__PURE__ */ h(D.View, {
|
|
1766
|
+
className: q("bg-muted rounded-md", t),
|
|
1544
1767
|
style: i,
|
|
1545
1768
|
...n
|
|
1546
1769
|
});
|
|
1547
1770
|
}
|
|
1548
1771
|
//#endregion
|
|
1549
1772
|
//#region src/slider.tsx
|
|
1550
|
-
var
|
|
1773
|
+
var Ni = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i = 0, max: a = 100, step: o = 1, disabled: s = !1, ...c }) => {
|
|
1551
1774
|
let l = t === void 0 ? i : t[0];
|
|
1552
|
-
return /* @__PURE__ */
|
|
1775
|
+
return /* @__PURE__ */ g(V.Root, {
|
|
1553
1776
|
value: l,
|
|
1554
1777
|
onValueChange: (e) => {
|
|
1555
1778
|
n && n(Array.isArray(e) ? e : [e]);
|
|
@@ -1558,126 +1781,169 @@ var gi = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i =
|
|
|
1558
1781
|
max: a,
|
|
1559
1782
|
step: o,
|
|
1560
1783
|
disabled: s,
|
|
1561
|
-
className:
|
|
1784
|
+
className: q("relative flex w-full touch-none items-center select-none", s && "opacity-50", e),
|
|
1562
1785
|
...c,
|
|
1563
|
-
children: [/* @__PURE__ */
|
|
1786
|
+
children: [/* @__PURE__ */ h(V.Track, {
|
|
1564
1787
|
className: "bg-secondary relative h-2 w-full grow rounded-full",
|
|
1565
|
-
children: /* @__PURE__ */
|
|
1566
|
-
}), /* @__PURE__ */
|
|
1788
|
+
children: /* @__PURE__ */ h(V.Range, { className: "bg-primary absolute h-full rounded-full" })
|
|
1789
|
+
}), /* @__PURE__ */ h(V.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" })]
|
|
1567
1790
|
});
|
|
1568
1791
|
};
|
|
1569
|
-
|
|
1792
|
+
Ni.displayName = "Slider";
|
|
1793
|
+
//#endregion
|
|
1794
|
+
//#region src/toast.tsx
|
|
1795
|
+
var Pi = ({ children: e }) => /* @__PURE__ */ h(m, { children: e }), Fi = () => null, Ii = e.forwardRef(({ className: e, variant: t = "default", ...n }, r) => /* @__PURE__ */ h(H.Root, {
|
|
1796
|
+
ref: r,
|
|
1797
|
+
className: q("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),
|
|
1798
|
+
...n,
|
|
1799
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
1800
|
+
entering: de,
|
|
1801
|
+
exiting: fe,
|
|
1802
|
+
layout: pe,
|
|
1803
|
+
className: "w-full flex-row items-center",
|
|
1804
|
+
children: n.children
|
|
1805
|
+
})
|
|
1806
|
+
}));
|
|
1807
|
+
Ii.displayName = H.Root?.displayName || "Toast";
|
|
1808
|
+
var Li = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(H.Title, {
|
|
1809
|
+
ref: n,
|
|
1810
|
+
className: q("text-foreground text-sm font-semibold", e),
|
|
1811
|
+
...t
|
|
1812
|
+
}));
|
|
1813
|
+
Li.displayName = H.Title?.displayName || "ToastTitle";
|
|
1814
|
+
var Ri = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(H.Description, {
|
|
1815
|
+
ref: n,
|
|
1816
|
+
className: q("text-muted-foreground text-sm opacity-90", e),
|
|
1817
|
+
...t
|
|
1818
|
+
}));
|
|
1819
|
+
Ri.displayName = H.Description?.displayName || "ToastDescription";
|
|
1820
|
+
var zi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(H.Close, {
|
|
1821
|
+
ref: n,
|
|
1822
|
+
className: q("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),
|
|
1823
|
+
...t,
|
|
1824
|
+
children: /* @__PURE__ */ h(le, {
|
|
1825
|
+
size: 16,
|
|
1826
|
+
className: "text-muted-foreground"
|
|
1827
|
+
})
|
|
1828
|
+
}));
|
|
1829
|
+
zi.displayName = H.Close?.displayName || "ToastClose";
|
|
1830
|
+
var Bi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(H.Action, {
|
|
1831
|
+
ref: n,
|
|
1832
|
+
className: q("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),
|
|
1833
|
+
...t
|
|
1834
|
+
}));
|
|
1835
|
+
Bi.displayName = H.Action?.displayName || "ToastAction";
|
|
1570
1836
|
//#endregion
|
|
1571
1837
|
//#region src/sonner.tsx
|
|
1572
|
-
var
|
|
1573
|
-
className:
|
|
1838
|
+
var Vi = () => /* @__PURE__ */ h(Pi, { children: /* @__PURE__ */ h(Fi, {}) }), Hi = e.forwardRef(({ className: e, checked: t, onCheckedChange: n, ...r }, i) => /* @__PURE__ */ h(Pe.Root, {
|
|
1839
|
+
className: q("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),
|
|
1574
1840
|
...r,
|
|
1575
1841
|
checked: t ?? !1,
|
|
1576
1842
|
onCheckedChange: n || (() => {}),
|
|
1577
1843
|
ref: i,
|
|
1578
|
-
children: /* @__PURE__ */
|
|
1844
|
+
children: /* @__PURE__ */ h(Pe.Thumb, { className: q("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") })
|
|
1579
1845
|
}));
|
|
1580
|
-
|
|
1846
|
+
Hi.displayName = Pe.Root?.displayName || "Switch";
|
|
1581
1847
|
//#endregion
|
|
1582
1848
|
//#region src/table.tsx
|
|
1583
|
-
var
|
|
1849
|
+
var Ui = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
|
|
1584
1850
|
ref: n,
|
|
1585
|
-
className:
|
|
1851
|
+
className: q("w-full caption-bottom text-sm", e),
|
|
1586
1852
|
...t
|
|
1587
1853
|
}));
|
|
1588
|
-
|
|
1589
|
-
var
|
|
1854
|
+
Ui.displayName = "Table";
|
|
1855
|
+
var Wi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
|
|
1590
1856
|
ref: n,
|
|
1591
|
-
className:
|
|
1857
|
+
className: q("border-border border-b", e),
|
|
1592
1858
|
...t
|
|
1593
1859
|
}));
|
|
1594
|
-
|
|
1595
|
-
var
|
|
1860
|
+
Wi.displayName = "TableHeader";
|
|
1861
|
+
var Gi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
|
|
1596
1862
|
ref: n,
|
|
1597
|
-
className:
|
|
1863
|
+
className: q("flex-1", e),
|
|
1598
1864
|
...t
|
|
1599
1865
|
}));
|
|
1600
|
-
|
|
1601
|
-
var
|
|
1866
|
+
Gi.displayName = "TableBody";
|
|
1867
|
+
var Ki = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
|
|
1602
1868
|
ref: n,
|
|
1603
|
-
className:
|
|
1869
|
+
className: q("bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
|
|
1604
1870
|
...t
|
|
1605
1871
|
}));
|
|
1606
|
-
|
|
1607
|
-
var
|
|
1872
|
+
Ki.displayName = "TableFooter";
|
|
1873
|
+
var qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
|
|
1608
1874
|
ref: n,
|
|
1609
|
-
className:
|
|
1875
|
+
className: q("border-border hover:bg-muted/50 data-[state=selected]:bg-muted flex-row border-b transition-colors", e),
|
|
1610
1876
|
...t
|
|
1611
1877
|
}));
|
|
1612
|
-
|
|
1613
|
-
var
|
|
1878
|
+
qi.displayName = "TableRow";
|
|
1879
|
+
var Ji = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(X, {
|
|
1614
1880
|
ref: n,
|
|
1615
|
-
className:
|
|
1881
|
+
className: q("text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0", e),
|
|
1616
1882
|
...t
|
|
1617
1883
|
}));
|
|
1618
|
-
|
|
1619
|
-
var
|
|
1884
|
+
Ji.displayName = "TableHead";
|
|
1885
|
+
var Yi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(X, {
|
|
1620
1886
|
ref: n,
|
|
1621
|
-
className:
|
|
1887
|
+
className: q("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
|
|
1622
1888
|
...t
|
|
1623
1889
|
}));
|
|
1624
|
-
|
|
1625
|
-
var
|
|
1890
|
+
Yi.displayName = "TableCell";
|
|
1891
|
+
var Xi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(X, {
|
|
1626
1892
|
ref: n,
|
|
1627
|
-
className:
|
|
1893
|
+
className: q("text-muted-foreground mt-4 text-sm", e),
|
|
1628
1894
|
...t
|
|
1629
1895
|
}));
|
|
1630
|
-
|
|
1896
|
+
Xi.displayName = "TableCaption";
|
|
1631
1897
|
//#endregion
|
|
1632
1898
|
//#region src/tabs.tsx
|
|
1633
|
-
var
|
|
1899
|
+
var Zi = e.forwardRef((e, t) => /* @__PURE__ */ h(U.Root, {
|
|
1634
1900
|
ref: t,
|
|
1635
1901
|
...e
|
|
1636
1902
|
}));
|
|
1637
|
-
|
|
1638
|
-
var
|
|
1903
|
+
Zi.displayName = "Tabs";
|
|
1904
|
+
var Qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(U.List, {
|
|
1639
1905
|
ref: n,
|
|
1640
|
-
className:
|
|
1906
|
+
className: q("bg-muted text-muted-foreground inline-flex h-10 flex-row items-center justify-center rounded-md p-1", e),
|
|
1641
1907
|
...t
|
|
1642
1908
|
}));
|
|
1643
|
-
|
|
1644
|
-
var
|
|
1645
|
-
let { value: r } =
|
|
1646
|
-
return /* @__PURE__ */
|
|
1647
|
-
value:
|
|
1648
|
-
children: /* @__PURE__ */
|
|
1909
|
+
Qi.displayName = U.List?.displayName || "TabsList";
|
|
1910
|
+
var $i = e.forwardRef(({ className: e, ...t }, n) => {
|
|
1911
|
+
let { value: r } = U.useRootContext();
|
|
1912
|
+
return /* @__PURE__ */ h(mt.Provider, {
|
|
1913
|
+
value: q("text-sm native:text-base font-medium text-muted-foreground web:transition-all", r === t.value && "text-foreground"),
|
|
1914
|
+
children: /* @__PURE__ */ h(U.Trigger, {
|
|
1649
1915
|
ref: n,
|
|
1650
|
-
className:
|
|
1916
|
+
className: q("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),
|
|
1651
1917
|
...t
|
|
1652
1918
|
})
|
|
1653
1919
|
});
|
|
1654
1920
|
});
|
|
1655
|
-
|
|
1656
|
-
var
|
|
1921
|
+
$i.displayName = U.Trigger?.displayName || "TabsTrigger";
|
|
1922
|
+
var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(U.Content, {
|
|
1657
1923
|
ref: n,
|
|
1658
|
-
className:
|
|
1924
|
+
className: q("ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none", e),
|
|
1659
1925
|
...t
|
|
1660
1926
|
}));
|
|
1661
|
-
|
|
1927
|
+
ea.displayName = U.Content?.displayName || "TabsContent";
|
|
1662
1928
|
//#endregion
|
|
1663
1929
|
//#region src/textarea.tsx
|
|
1664
|
-
var
|
|
1930
|
+
var ta = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ h(d, {
|
|
1665
1931
|
ref: r,
|
|
1666
1932
|
multiline: !0,
|
|
1667
1933
|
numberOfLines: n.numberOfLines || 3,
|
|
1668
|
-
className:
|
|
1669
|
-
placeholderClassName:
|
|
1934
|
+
className: q("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),
|
|
1935
|
+
placeholderClassName: q("text-muted-foreground", t),
|
|
1670
1936
|
textAlignVertical: "top",
|
|
1671
1937
|
...n
|
|
1672
1938
|
}));
|
|
1673
|
-
|
|
1939
|
+
ta.displayName = "Textarea";
|
|
1674
1940
|
//#endregion
|
|
1675
1941
|
//#region src/toggle.tsx
|
|
1676
|
-
var
|
|
1677
|
-
value:
|
|
1678
|
-
children: /* @__PURE__ */
|
|
1942
|
+
var na = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ h(mt.Provider, {
|
|
1943
|
+
value: q("text-sm native:text-base text-foreground font-medium", r.pressed && "text-accent-foreground", e),
|
|
1944
|
+
children: /* @__PURE__ */ h(Ie.Root, {
|
|
1679
1945
|
ref: i,
|
|
1680
|
-
className:
|
|
1946
|
+
className: q(Fe({
|
|
1681
1947
|
variant: t,
|
|
1682
1948
|
size: n,
|
|
1683
1949
|
className: e
|
|
@@ -1687,20 +1953,20 @@ var Mi = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__
|
|
|
1687
1953
|
onPressedChange: r.onPressedChange || (() => {})
|
|
1688
1954
|
})
|
|
1689
1955
|
}));
|
|
1690
|
-
|
|
1956
|
+
na.displayName = Ie.Root?.displayName || "Toggle";
|
|
1691
1957
|
//#endregion
|
|
1692
1958
|
//#region src/toggle-group.tsx
|
|
1693
|
-
var
|
|
1959
|
+
var ra = e.createContext({
|
|
1694
1960
|
size: "default",
|
|
1695
1961
|
variant: "default"
|
|
1696
|
-
}),
|
|
1962
|
+
}), ia = e.forwardRef(({ className: e, variant: t, size: n, children: r, type: i, value: a, onValueChange: o, ...s }, c) => /* @__PURE__ */ h(W.Root, {
|
|
1697
1963
|
ref: c,
|
|
1698
1964
|
type: i,
|
|
1699
1965
|
value: a,
|
|
1700
1966
|
onValueChange: o,
|
|
1701
|
-
className:
|
|
1967
|
+
className: q("flex flex-row items-center justify-center gap-1", e),
|
|
1702
1968
|
...s,
|
|
1703
|
-
children: /* @__PURE__ */
|
|
1969
|
+
children: /* @__PURE__ */ h(ra.Provider, {
|
|
1704
1970
|
value: {
|
|
1705
1971
|
variant: t,
|
|
1706
1972
|
size: n
|
|
@@ -1708,15 +1974,15 @@ var Ni = e.createContext({
|
|
|
1708
1974
|
children: r
|
|
1709
1975
|
})
|
|
1710
1976
|
}));
|
|
1711
|
-
|
|
1712
|
-
var
|
|
1713
|
-
let c = e.useContext(
|
|
1714
|
-
return /* @__PURE__ */
|
|
1715
|
-
value:
|
|
1716
|
-
children: /* @__PURE__ */
|
|
1977
|
+
ia.displayName = W.Root?.displayName || "ToggleGroup";
|
|
1978
|
+
var aa = e.forwardRef(({ className: t, children: n, variant: r, size: i, value: a, ...o }, s) => {
|
|
1979
|
+
let c = e.useContext(ra);
|
|
1980
|
+
return /* @__PURE__ */ h(mt.Provider, {
|
|
1981
|
+
value: q("text-sm native:text-base text-foreground font-medium", o.disabled && "web:cursor-not-allowed opacity-50", a === "" && "text-accent-foreground", t),
|
|
1982
|
+
children: /* @__PURE__ */ h(W.Item, {
|
|
1717
1983
|
ref: s,
|
|
1718
1984
|
value: a,
|
|
1719
|
-
className:
|
|
1985
|
+
className: q(Fe({
|
|
1720
1986
|
variant: c.variant || r,
|
|
1721
1987
|
size: c.size || i
|
|
1722
1988
|
}), t),
|
|
@@ -1725,60 +1991,60 @@ var Fi = e.forwardRef(({ className: t, children: n, variant: r, size: i, value:
|
|
|
1725
1991
|
})
|
|
1726
1992
|
});
|
|
1727
1993
|
});
|
|
1728
|
-
|
|
1994
|
+
aa.displayName = W.Item?.displayName || "ToggleGroupItem";
|
|
1729
1995
|
//#endregion
|
|
1730
1996
|
//#region src/tooltip.tsx
|
|
1731
|
-
var
|
|
1997
|
+
var oa = G.Root, sa = G.Trigger, ca = e.forwardRef(({ className: e, portalHost: t, ...n }, r) => /* @__PURE__ */ h(G.Portal, {
|
|
1732
1998
|
hostName: t,
|
|
1733
|
-
children: /* @__PURE__ */
|
|
1734
|
-
style:
|
|
1735
|
-
children: /* @__PURE__ */
|
|
1736
|
-
entering:
|
|
1737
|
-
exiting:
|
|
1738
|
-
className:
|
|
1739
|
-
children: /* @__PURE__ */
|
|
1999
|
+
children: /* @__PURE__ */ h(G.Overlay, {
|
|
2000
|
+
style: o.OS === "web" ? void 0 : l.absoluteFill,
|
|
2001
|
+
children: /* @__PURE__ */ h(D.View, {
|
|
2002
|
+
entering: O,
|
|
2003
|
+
exiting: k,
|
|
2004
|
+
className: q("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),
|
|
2005
|
+
children: /* @__PURE__ */ h(X, {
|
|
1740
2006
|
className: "text-popover-foreground native:text-base text-sm",
|
|
1741
2007
|
children: n.children
|
|
1742
2008
|
})
|
|
1743
2009
|
})
|
|
1744
2010
|
})
|
|
1745
2011
|
}));
|
|
1746
|
-
|
|
1747
|
-
var
|
|
2012
|
+
ca.displayName = G.Content?.displayName || "TooltipContent";
|
|
2013
|
+
var la = ({ children: e }) => /* @__PURE__ */ h(m, { children: e }), ua = 5, da = 1e6, fa = {
|
|
1748
2014
|
ADD_TOAST: "ADD_TOAST",
|
|
1749
2015
|
UPDATE_TOAST: "UPDATE_TOAST",
|
|
1750
2016
|
DISMISS_TOAST: "DISMISS_TOAST",
|
|
1751
2017
|
REMOVE_TOAST: "REMOVE_TOAST"
|
|
1752
|
-
},
|
|
1753
|
-
function
|
|
1754
|
-
return
|
|
2018
|
+
}, pa = 0;
|
|
2019
|
+
function ma() {
|
|
2020
|
+
return pa = (pa + 1) % (2 ** 53 - 1), pa.toString();
|
|
1755
2021
|
}
|
|
1756
|
-
var
|
|
1757
|
-
if (
|
|
2022
|
+
var ha = /* @__PURE__ */ new Map(), ga = (e) => {
|
|
2023
|
+
if (ha.has(e)) return;
|
|
1758
2024
|
let t = setTimeout(() => {
|
|
1759
|
-
|
|
2025
|
+
ha.delete(e), $({
|
|
1760
2026
|
type: "REMOVE_TOAST",
|
|
1761
2027
|
toastId: e
|
|
1762
2028
|
});
|
|
1763
|
-
},
|
|
1764
|
-
|
|
1765
|
-
},
|
|
2029
|
+
}, da);
|
|
2030
|
+
ha.set(e, t);
|
|
2031
|
+
}, _a = (e, t) => {
|
|
1766
2032
|
switch (t.type) {
|
|
1767
|
-
case
|
|
2033
|
+
case fa.ADD_TOAST: return {
|
|
1768
2034
|
...e,
|
|
1769
|
-
toasts: [t.toast, ...e.toasts].slice(0,
|
|
2035
|
+
toasts: [t.toast, ...e.toasts].slice(0, ua)
|
|
1770
2036
|
};
|
|
1771
|
-
case
|
|
2037
|
+
case fa.UPDATE_TOAST: return {
|
|
1772
2038
|
...e,
|
|
1773
2039
|
toasts: e.toasts.map((e) => e.id === t.toast.id ? {
|
|
1774
2040
|
...e,
|
|
1775
2041
|
...t.toast
|
|
1776
2042
|
} : e)
|
|
1777
2043
|
};
|
|
1778
|
-
case
|
|
2044
|
+
case fa.DISMISS_TOAST: {
|
|
1779
2045
|
let { toastId: n } = t;
|
|
1780
|
-
return n ?
|
|
1781
|
-
|
|
2046
|
+
return n ? ga(n) : e.toasts.forEach((e) => {
|
|
2047
|
+
ga(e.id);
|
|
1782
2048
|
}), {
|
|
1783
2049
|
...e,
|
|
1784
2050
|
toasts: e.toasts.map((e) => e.id === n || n === void 0 ? {
|
|
@@ -1787,7 +2053,7 @@ var Wi = /* @__PURE__ */ new Map(), Gi = (e) => {
|
|
|
1787
2053
|
} : e)
|
|
1788
2054
|
};
|
|
1789
2055
|
}
|
|
1790
|
-
case
|
|
2056
|
+
case fa.REMOVE_TOAST: return t.toastId === void 0 ? {
|
|
1791
2057
|
...e,
|
|
1792
2058
|
toasts: []
|
|
1793
2059
|
} : {
|
|
@@ -1795,14 +2061,14 @@ var Wi = /* @__PURE__ */ new Map(), Gi = (e) => {
|
|
|
1795
2061
|
toasts: e.toasts.filter((e) => e.id !== t.toastId)
|
|
1796
2062
|
};
|
|
1797
2063
|
}
|
|
1798
|
-
},
|
|
2064
|
+
}, va = [], ya = { toasts: [] };
|
|
1799
2065
|
function $(e) {
|
|
1800
|
-
|
|
1801
|
-
e(
|
|
2066
|
+
ya = _a(ya, e), va.forEach((e) => {
|
|
2067
|
+
e(ya);
|
|
1802
2068
|
});
|
|
1803
2069
|
}
|
|
1804
|
-
function
|
|
1805
|
-
let t =
|
|
2070
|
+
function ba({ ...e }) {
|
|
2071
|
+
let t = ma(), n = (e) => $({
|
|
1806
2072
|
type: "UPDATE_TOAST",
|
|
1807
2073
|
toast: {
|
|
1808
2074
|
...e,
|
|
@@ -1828,14 +2094,14 @@ function Ji({ ...e }) {
|
|
|
1828
2094
|
update: n
|
|
1829
2095
|
};
|
|
1830
2096
|
}
|
|
1831
|
-
function
|
|
1832
|
-
let [t, n] = e.useState(
|
|
1833
|
-
return e.useEffect(() => (
|
|
1834
|
-
let e =
|
|
1835
|
-
e > -1 &&
|
|
2097
|
+
function xa() {
|
|
2098
|
+
let [t, n] = e.useState(ya);
|
|
2099
|
+
return e.useEffect(() => (va.push(n), () => {
|
|
2100
|
+
let e = va.indexOf(n);
|
|
2101
|
+
e > -1 && va.splice(e, 1);
|
|
1836
2102
|
}), []), {
|
|
1837
2103
|
...t,
|
|
1838
|
-
toast:
|
|
2104
|
+
toast: ba,
|
|
1839
2105
|
dismiss: (e) => $({
|
|
1840
2106
|
type: "DISMISS_TOAST",
|
|
1841
2107
|
toastId: e
|
|
@@ -1843,146 +2109,114 @@ function Yi() {
|
|
|
1843
2109
|
};
|
|
1844
2110
|
}
|
|
1845
2111
|
//#endregion
|
|
1846
|
-
//#region src/toast.tsx
|
|
1847
|
-
var Xi = ({ children: e }) => /* @__PURE__ */ m(p, { children: e }), Zi = e.forwardRef(({ className: e, variant: t = "default", ...n }, r) => /* @__PURE__ */ m(U.Root, {
|
|
1848
|
-
ref: r,
|
|
1849
|
-
className: G("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),
|
|
1850
|
-
...n,
|
|
1851
|
-
children: /* @__PURE__ */ m(w.View, {
|
|
1852
|
-
entering: ue,
|
|
1853
|
-
exiting: de,
|
|
1854
|
-
layout: fe,
|
|
1855
|
-
className: "w-full flex-row items-center",
|
|
1856
|
-
children: n.children
|
|
1857
|
-
})
|
|
1858
|
-
}));
|
|
1859
|
-
Zi.displayName = U.Root?.displayName || "Toast";
|
|
1860
|
-
var Qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(U.Title, {
|
|
1861
|
-
ref: n,
|
|
1862
|
-
className: G("text-foreground text-sm font-semibold", e),
|
|
1863
|
-
...t
|
|
1864
|
-
}));
|
|
1865
|
-
Qi.displayName = U.Title?.displayName || "ToastTitle";
|
|
1866
|
-
var $i = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(U.Description, {
|
|
1867
|
-
ref: n,
|
|
1868
|
-
className: G("text-muted-foreground text-sm opacity-90", e),
|
|
1869
|
-
...t
|
|
1870
|
-
}));
|
|
1871
|
-
$i.displayName = U.Description?.displayName || "ToastDescription";
|
|
1872
|
-
var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(U.Close, {
|
|
1873
|
-
ref: n,
|
|
1874
|
-
className: G("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),
|
|
1875
|
-
...t,
|
|
1876
|
-
children: /* @__PURE__ */ m(ce, {
|
|
1877
|
-
size: 16,
|
|
1878
|
-
className: "text-muted-foreground"
|
|
1879
|
-
})
|
|
1880
|
-
}));
|
|
1881
|
-
ea.displayName = U.Close?.displayName || "ToastClose";
|
|
1882
|
-
var ta = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(U.Action, {
|
|
1883
|
-
ref: n,
|
|
1884
|
-
className: G("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),
|
|
1885
|
-
...t
|
|
1886
|
-
}));
|
|
1887
|
-
ta.displayName = U.Action?.displayName || "ToastAction";
|
|
1888
|
-
//#endregion
|
|
1889
2112
|
//#region src/theme-provider.tsx
|
|
1890
|
-
function
|
|
1891
|
-
let { colorScheme: n } =
|
|
1892
|
-
return /* @__PURE__ */
|
|
1893
|
-
className:
|
|
2113
|
+
function Sa({ children: e, className: t }) {
|
|
2114
|
+
let { colorScheme: n } = Le();
|
|
2115
|
+
return /* @__PURE__ */ h(p, {
|
|
2116
|
+
className: q("flex-1", n === "dark" ? "dark" : "", t),
|
|
1894
2117
|
children: e
|
|
1895
2118
|
});
|
|
1896
2119
|
}
|
|
1897
2120
|
//#endregion
|
|
2121
|
+
//#region src/hooks/use-theme.ts
|
|
2122
|
+
function Ca() {
|
|
2123
|
+
let { colorScheme: e, setColorScheme: t } = Le(), n = e;
|
|
2124
|
+
return {
|
|
2125
|
+
theme: e,
|
|
2126
|
+
setTheme: t,
|
|
2127
|
+
resolvedTheme: n,
|
|
2128
|
+
tokens: n === "dark" ? Re.dark : Re.light
|
|
2129
|
+
};
|
|
2130
|
+
}
|
|
2131
|
+
//#endregion
|
|
1898
2132
|
//#region src/theme-toggle.tsx
|
|
1899
|
-
function
|
|
1900
|
-
let {
|
|
2133
|
+
function wa({ variant: e = "binary", onThemeChange: t, customTheme: n, className: r }) {
|
|
2134
|
+
let { theme: i, setTheme: a, resolvedTheme: o } = Ca(), s = n ?? i, c = (n || o) === "dark", l = s === "system", u = (e) => {
|
|
1901
2135
|
t ? t(e) : a(e);
|
|
1902
|
-
},
|
|
2136
|
+
}, d = () => /* @__PURE__ */ g(p, {
|
|
1903
2137
|
className: "flex items-center justify-center",
|
|
1904
2138
|
children: [
|
|
1905
|
-
/* @__PURE__ */
|
|
2139
|
+
/* @__PURE__ */ h(se, {
|
|
1906
2140
|
size: 18,
|
|
1907
|
-
className:
|
|
2141
|
+
className: q("text-foreground transition-all", !l && !c ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 -rotate-90 opacity-0")
|
|
1908
2142
|
}),
|
|
1909
|
-
/* @__PURE__ */
|
|
2143
|
+
/* @__PURE__ */ h(ie, {
|
|
1910
2144
|
size: 18,
|
|
1911
|
-
className:
|
|
2145
|
+
className: q("text-foreground transition-all", !l && c ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 rotate-90 opacity-0")
|
|
1912
2146
|
}),
|
|
1913
|
-
/* @__PURE__ */
|
|
2147
|
+
/* @__PURE__ */ h(ce, {
|
|
1914
2148
|
size: 18,
|
|
1915
|
-
className:
|
|
2149
|
+
className: q("text-foreground transition-all", l ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 rotate-90 opacity-0")
|
|
1916
2150
|
})
|
|
1917
2151
|
]
|
|
1918
2152
|
});
|
|
1919
|
-
return e === "ternary" ? /* @__PURE__ */
|
|
2153
|
+
return e === "ternary" ? /* @__PURE__ */ g(Rn, { children: [/* @__PURE__ */ h(zn, {
|
|
1920
2154
|
asChild: !0,
|
|
1921
|
-
children: /* @__PURE__ */
|
|
2155
|
+
children: /* @__PURE__ */ h(Y, {
|
|
1922
2156
|
variant: "ghost",
|
|
1923
2157
|
size: "icon",
|
|
1924
|
-
className:
|
|
1925
|
-
children: /* @__PURE__ */
|
|
2158
|
+
className: q("relative h-9 w-9", r),
|
|
2159
|
+
children: /* @__PURE__ */ h(d, {})
|
|
1926
2160
|
})
|
|
1927
|
-
}), /* @__PURE__ */
|
|
2161
|
+
}), /* @__PURE__ */ g(Gn, {
|
|
1928
2162
|
align: "end",
|
|
1929
2163
|
children: [
|
|
1930
|
-
/* @__PURE__ */
|
|
1931
|
-
|
|
1932
|
-
children: [/* @__PURE__ */
|
|
2164
|
+
/* @__PURE__ */ g(Q, {
|
|
2165
|
+
onSelect: () => u("light"),
|
|
2166
|
+
children: [/* @__PURE__ */ h(se, {
|
|
1933
2167
|
size: 14,
|
|
1934
2168
|
className: "text-foreground mr-2"
|
|
1935
|
-
}), /* @__PURE__ */
|
|
2169
|
+
}), /* @__PURE__ */ h(X, { children: "Light" })]
|
|
1936
2170
|
}),
|
|
1937
|
-
/* @__PURE__ */
|
|
1938
|
-
|
|
1939
|
-
children: [/* @__PURE__ */
|
|
2171
|
+
/* @__PURE__ */ g(Q, {
|
|
2172
|
+
onSelect: () => u("dark"),
|
|
2173
|
+
children: [/* @__PURE__ */ h(ie, {
|
|
1940
2174
|
size: 14,
|
|
1941
2175
|
className: "text-foreground mr-2"
|
|
1942
|
-
}), /* @__PURE__ */
|
|
2176
|
+
}), /* @__PURE__ */ h(X, { children: "Dark" })]
|
|
1943
2177
|
}),
|
|
1944
|
-
/* @__PURE__ */
|
|
1945
|
-
|
|
1946
|
-
children: [/* @__PURE__ */
|
|
2178
|
+
/* @__PURE__ */ g(Q, {
|
|
2179
|
+
onSelect: () => u("system"),
|
|
2180
|
+
children: [/* @__PURE__ */ h(ce, {
|
|
1947
2181
|
size: 14,
|
|
1948
2182
|
className: "text-foreground mr-2"
|
|
1949
|
-
}), /* @__PURE__ */
|
|
2183
|
+
}), /* @__PURE__ */ h(X, { children: "System" })]
|
|
1950
2184
|
})
|
|
1951
2185
|
]
|
|
1952
|
-
})] }) : /* @__PURE__ */
|
|
2186
|
+
})] }) : /* @__PURE__ */ h(Y, {
|
|
1953
2187
|
variant: "ghost",
|
|
1954
2188
|
size: "icon",
|
|
1955
|
-
className:
|
|
1956
|
-
onPress: () =>
|
|
1957
|
-
children: /* @__PURE__ */
|
|
2189
|
+
className: q("relative h-9 w-9", r),
|
|
2190
|
+
onPress: () => u(s === "dark" ? "light" : "dark"),
|
|
2191
|
+
children: /* @__PURE__ */ h(d, {})
|
|
1958
2192
|
});
|
|
1959
2193
|
}
|
|
1960
2194
|
//#endregion
|
|
1961
2195
|
//#region src/toaster.tsx
|
|
1962
|
-
var
|
|
1963
|
-
let { toasts: e } =
|
|
1964
|
-
return /* @__PURE__ */
|
|
2196
|
+
var Ta = () => {
|
|
2197
|
+
let { toasts: e } = xa();
|
|
2198
|
+
return /* @__PURE__ */ h(Pi, { children: /* @__PURE__ */ h(p, {
|
|
1965
2199
|
className: "pointer-events-none absolute right-6 bottom-6 left-6 z-50 flex flex-col gap-2",
|
|
1966
|
-
children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */
|
|
2200
|
+
children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ g(Ii, {
|
|
1967
2201
|
...i,
|
|
1968
2202
|
className: "pointer-events-auto",
|
|
1969
2203
|
children: [
|
|
1970
|
-
/* @__PURE__ */
|
|
2204
|
+
/* @__PURE__ */ g(p, {
|
|
1971
2205
|
className: "flex flex-1 flex-col gap-1",
|
|
1972
|
-
children: [t && /* @__PURE__ */
|
|
2206
|
+
children: [t && /* @__PURE__ */ h(Li, { children: t }), n && /* @__PURE__ */ h(Ri, { children: n })]
|
|
1973
2207
|
}),
|
|
1974
2208
|
r,
|
|
1975
|
-
/* @__PURE__ */
|
|
2209
|
+
/* @__PURE__ */ h(zi, {})
|
|
1976
2210
|
]
|
|
1977
2211
|
}, e))
|
|
1978
2212
|
}) });
|
|
1979
|
-
},
|
|
1980
|
-
function
|
|
1981
|
-
let t = e.useContext(
|
|
2213
|
+
}, Ea = e.createContext(void 0);
|
|
2214
|
+
function Da() {
|
|
2215
|
+
let t = e.useContext(Ea);
|
|
1982
2216
|
if (!t) throw Error("useTOC must be used within a TableOfContents provider");
|
|
1983
2217
|
return t;
|
|
1984
2218
|
}
|
|
1985
|
-
function
|
|
2219
|
+
function Oa({ children: t, activeId: n }) {
|
|
1986
2220
|
let [r, i] = e.useState([]), [a, o] = e.useState(null), s = e.useRef(null), c = e.useMemo(() => {
|
|
1987
2221
|
let e = n || a;
|
|
1988
2222
|
return r.find((t) => t.id === e)?.text || null;
|
|
@@ -2013,21 +2247,21 @@ function sa({ children: t, activeId: n }) {
|
|
|
2013
2247
|
y: t.pageY - 20,
|
|
2014
2248
|
animated: !0
|
|
2015
2249
|
});
|
|
2016
|
-
}, [r]),
|
|
2250
|
+
}, [r]), f = e.useCallback((e) => {
|
|
2017
2251
|
let t = e.nativeEvent.contentOffset.y, n = null;
|
|
2018
2252
|
for (let e = r.length - 1; e >= 0; e--) if (t >= r[e].pageY - 100) {
|
|
2019
2253
|
n = r[e].id;
|
|
2020
2254
|
break;
|
|
2021
2255
|
}
|
|
2022
2256
|
n !== a && o(n);
|
|
2023
|
-
}, [r, a]),
|
|
2257
|
+
}, [r, a]), m = e.useMemo(() => ({
|
|
2024
2258
|
headings: r,
|
|
2025
2259
|
activeId: n || a,
|
|
2026
2260
|
activeHeadingText: c,
|
|
2027
2261
|
registerHeading: l,
|
|
2028
2262
|
unregisterHeading: u,
|
|
2029
2263
|
scrollToHeading: d,
|
|
2030
|
-
onScroll:
|
|
2264
|
+
onScroll: f,
|
|
2031
2265
|
scrollViewRef: s
|
|
2032
2266
|
}), [
|
|
2033
2267
|
r,
|
|
@@ -2037,18 +2271,18 @@ function sa({ children: t, activeId: n }) {
|
|
|
2037
2271
|
l,
|
|
2038
2272
|
u,
|
|
2039
2273
|
d,
|
|
2040
|
-
|
|
2274
|
+
f
|
|
2041
2275
|
]);
|
|
2042
|
-
return /* @__PURE__ */
|
|
2043
|
-
value:
|
|
2044
|
-
children: /* @__PURE__ */
|
|
2276
|
+
return /* @__PURE__ */ h(Ea.Provider, {
|
|
2277
|
+
value: m,
|
|
2278
|
+
children: /* @__PURE__ */ h(p, {
|
|
2045
2279
|
className: "flex-1",
|
|
2046
2280
|
children: t
|
|
2047
2281
|
})
|
|
2048
2282
|
});
|
|
2049
2283
|
}
|
|
2050
|
-
function
|
|
2051
|
-
let { registerHeading: a, unregisterHeading: o } =
|
|
2284
|
+
function ka({ children: t, level: n = 2, id: r, className: i }) {
|
|
2285
|
+
let { registerHeading: a, unregisterHeading: o } = Da(), s = r || ze(t), c = e.useCallback((e) => {
|
|
2052
2286
|
let { y: r } = e.nativeEvent.layout;
|
|
2053
2287
|
a(s, t, n, r);
|
|
2054
2288
|
}, [
|
|
@@ -2057,52 +2291,52 @@ function ca({ children: t, level: n = 2, id: r, className: i }) {
|
|
|
2057
2291
|
n,
|
|
2058
2292
|
a
|
|
2059
2293
|
]);
|
|
2060
|
-
return e.useEffect(() => () => o(s), [s, o]), /* @__PURE__ */
|
|
2294
|
+
return e.useEffect(() => () => o(s), [s, o]), /* @__PURE__ */ h(p, {
|
|
2061
2295
|
onLayout: c,
|
|
2062
|
-
children: /* @__PURE__ */
|
|
2296
|
+
children: /* @__PURE__ */ h(X, {
|
|
2063
2297
|
variant: n === 1 ? "h1" : n === 2 ? "h2" : n === 3 ? "h3" : "h4",
|
|
2064
2298
|
className: i,
|
|
2065
2299
|
children: t
|
|
2066
2300
|
})
|
|
2067
2301
|
});
|
|
2068
2302
|
}
|
|
2069
|
-
function
|
|
2070
|
-
let { headings: t, activeId: n, scrollToHeading: r } =
|
|
2303
|
+
function Aa({ className: e }) {
|
|
2304
|
+
let { headings: t, activeId: n, scrollToHeading: r } = Da();
|
|
2071
2305
|
if (t.length === 0) return null;
|
|
2072
2306
|
let i = Math.min(...t.map((e) => e.level));
|
|
2073
|
-
return /* @__PURE__ */
|
|
2074
|
-
className:
|
|
2075
|
-
children: [/* @__PURE__ */
|
|
2307
|
+
return /* @__PURE__ */ g(p, {
|
|
2308
|
+
className: q("space-y-2 p-4", e),
|
|
2309
|
+
children: [/* @__PURE__ */ h(X, {
|
|
2076
2310
|
variant: "overline",
|
|
2077
2311
|
className: "mb-2 font-bold",
|
|
2078
2312
|
children: "On this page"
|
|
2079
2313
|
}), t.map((e) => {
|
|
2080
2314
|
let t = n === e.id;
|
|
2081
|
-
return /* @__PURE__ */
|
|
2315
|
+
return /* @__PURE__ */ h(f, {
|
|
2082
2316
|
onPress: () => r(e.id),
|
|
2083
2317
|
style: { paddingLeft: (e.level - i) * 16 },
|
|
2084
2318
|
className: "py-1",
|
|
2085
|
-
children: /* @__PURE__ */
|
|
2086
|
-
className:
|
|
2319
|
+
children: /* @__PURE__ */ h(u, {
|
|
2320
|
+
className: q("text-sm", t ? "text-primary font-bold" : "text-muted-foreground"),
|
|
2087
2321
|
children: e.text
|
|
2088
2322
|
})
|
|
2089
2323
|
}, e.id);
|
|
2090
2324
|
})]
|
|
2091
2325
|
});
|
|
2092
2326
|
}
|
|
2093
|
-
function
|
|
2094
|
-
let { scrollViewRef: n, onScroll: r } =
|
|
2095
|
-
return /* @__PURE__ */
|
|
2327
|
+
function ja({ children: e, className: t }) {
|
|
2328
|
+
let { scrollViewRef: n, onScroll: r } = Da();
|
|
2329
|
+
return /* @__PURE__ */ h(c, {
|
|
2096
2330
|
ref: n,
|
|
2097
2331
|
onScroll: r,
|
|
2098
|
-
className:
|
|
2099
|
-
...
|
|
2332
|
+
className: q("flex-1", t),
|
|
2333
|
+
...o.OS !== "web" && {
|
|
2100
2334
|
scrollEventThrottle: 16,
|
|
2101
2335
|
contentContainerStyle: { padding: 16 }
|
|
2102
2336
|
},
|
|
2103
2337
|
children: e
|
|
2104
2338
|
});
|
|
2105
2339
|
}
|
|
2106
|
-
|
|
2340
|
+
Oa.List = Aa, Oa.Content = ja, Oa.Heading = ka;
|
|
2107
2341
|
//#endregion
|
|
2108
|
-
export {
|
|
2342
|
+
export { Be as Accordion, We as AccordionContent, Ve as AccordionItem, Ue as AccordionTrigger, Ke as Alert, Je as AlertDescription, Xe as AlertDialog, at as AlertDialogAction, ot as AlertDialogCancel, et as AlertDialogContent, it as AlertDialogDescription, nt as AlertDialogFooter, tt as AlertDialogHeader, $e as AlertDialogOverlay, Qe as AlertDialogPortal, rt as AlertDialogTitle, Ze as AlertDialogTrigger, qe as AlertTitle, st as AspectRatio, ct as Avatar, ut as AvatarFallback, lt as AvatarImage, pt as Badge, gt as Breadcrumb, St as BreadcrumbEllipsis, vt as BreadcrumbItem, yt as BreadcrumbLink, _t as BreadcrumbList, bt as BreadcrumbPage, xt as BreadcrumbSeparator, Y as Button, Ct as Calendar, wt as Card, Ot as CardContent, Dt as CardDescription, kt as CardFooter, Tt as CardHeader, Et as CardTitle, jt as Carousel, Mt as CarouselContent, Nt as CarouselItem, Ft as CarouselNext, Pt as CarouselPrevious, It as ChartContainer, Bt as ChartLegend, Rt as ChartLegendContent, Vt as ChartStyle, zt as ChartTooltip, Lt as ChartTooltipContent, Ht as Checkbox, Ut as Collapsible, Gt as CollapsibleContent, Wt as CollapsibleTrigger, Kt as Command, qt as CommandDialog, Xt as CommandEmpty, Zt as CommandGroup, Jt as CommandInput, Qt as CommandItem, Yt as CommandList, $t as CommandSeparator, en as CommandShortcut, tn as ContextMenu, dn as ContextMenuCheckboxItem, ln as ContextMenuContent, an as ContextMenuGroup, un as ContextMenuItem, pn as ContextMenuLabel, rn as ContextMenuPortal, on as ContextMenuRadioGroup, fn as ContextMenuRadioItem, mn as ContextMenuSeparator, hn as ContextMenuShortcut, sn as ContextMenuSub, _n as ContextMenuSubContent, gn as ContextMenuSubTrigger, nn as ContextMenuTrigger, vn as Dialog, xn as DialogClose, Cn as DialogContent, Dn as DialogDescription, Tn as DialogFooter, wn as DialogHeader, En as DialogTitle, yn as DialogTrigger, On as Drawer, Fn as DrawerClose, Mn as DrawerContent, Ln as DrawerDescription, Pn as DrawerFooter, Nn as DrawerHeader, jn as DrawerOverlay, An as DrawerPortal, In as DrawerTitle, kn as DrawerTrigger, Rn as DropdownMenu, Kn as DropdownMenuCheckboxItem, Gn as DropdownMenuContent, Vn as DropdownMenuGroup, Q as DropdownMenuItem, Jn as DropdownMenuLabel, Bn as DropdownMenuPortal, Hn as DropdownMenuRadioGroup, qn as DropdownMenuRadioItem, Yn as DropdownMenuSeparator, Xn as DropdownMenuShortcut, Un as DropdownMenuSub, Qn as DropdownMenuSubContent, Zn as DropdownMenuSubTrigger, zn as DropdownMenuTrigger, er as Form, lr as HoverCard, dr as HoverCardContent, ur as HoverCardTrigger, fr as Input, $n as Label, pr as Menubar, Cr as MenubarCheckboxItem, xr as MenubarContent, gr as MenubarGroup, Sr as MenubarItem, Tr as MenubarLabel, mr as MenubarMenu, hr as MenubarPortal, _r as MenubarRadioGroup, wr as MenubarRadioItem, Er as MenubarSeparator, Dr as MenubarShortcut, vr as MenubarSub, kr as MenubarSubContent, Or as MenubarSubTrigger, br as MenubarTrigger, Ar as NavigationMenu, Pr as NavigationMenuContent, Lr as NavigationMenuIndicator, Mr as NavigationMenuItem, Fr as NavigationMenuLink, jr as NavigationMenuList, Nr as NavigationMenuTrigger, Ir as NavigationMenuViewport, Rr as Pagination, zr as PaginationContent, Wr as PaginationEllipsis, Br as PaginationItem, Vr as PaginationLink, Ur as PaginationNext, Hr as PaginationPrevious, Kr as Popover, Jr as PopoverAnchor, Yr as PopoverContent, qr as PopoverTrigger, Xr as Progress, Zr as RadioGroup, Qr as RadioGroupItem, ti as ResizableHandle, ei as ResizablePanel, $r as ResizablePanelGroup, ni as ScrollArea, gi as ScrollToTop, ii as Search, oi as Select, fi as SelectContent, si as SelectGroup, mi as SelectItem, pi as SelectLabel, di as SelectScrollDownButton, ui as SelectScrollUpButton, hi as SelectSeparator, li as SelectTrigger, ci as SelectValue, xi as Separator, Si as Sheet, wi as SheetClose, Di as SheetContent, ji as SheetDescription, ki as SheetFooter, Oi as SheetHeader, Ei as SheetOverlay, Ti as SheetPortal, Ai as SheetTitle, Ci as SheetTrigger, Mi as Skeleton, Ni as Slider, Vi as Sonner, bi as SupportFab, Hi as Switch, Ui as Table, Gi as TableBody, Xi as TableCaption, Yi as TableCell, Ki as TableFooter, Ji as TableHead, Wi as TableHeader, Oa as TableOfContents, ja as TableOfContentsContent, ka as TableOfContentsHeading, Aa as TableOfContentsList, qi as TableRow, Zi as Tabs, ea as TabsContent, Qi as TabsList, $i as TabsTrigger, X as Text, ta as Textarea, Sa as ThemeProvider, wa as ThemeToggle, Ii as Toast, Ta as Toaster, na as Toggle, ia as ToggleGroup, aa as ToggleGroupItem, oa as Tooltip, ca as TooltipContent, la as TooltipProvider, sa as TooltipTrigger, dt as badgeVariants, J as buttonVariants, q as cn, ht as textVariants, ba as toast, Fe as toggleVariants, Ca as useTheme, xa as useToast, K as wrapTextChildren };
|