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