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