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