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