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