@pablo2410/shared-ui 0.12.1 → 0.13.0
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/{HealthFooter-BN5LHTp6.d.ts → HealthFooter-9rZjMmqc.d.ts} +12 -0
- package/dist/{chunk-LTUYIBMA.js → chunk-HR77H6PE.js} +489 -789
- package/dist/chunk-HR77H6PE.js.map +1 -0
- package/dist/{chunk-ETIKYZIX.js → chunk-J7LWAIQK.js} +8 -2
- package/dist/chunk-J7LWAIQK.js.map +1 -0
- package/dist/{chunk-NQZDFCIU.js → chunk-L2N36IW6.js} +57 -45
- package/dist/chunk-L2N36IW6.js.map +1 -0
- package/dist/chunk-R4NOLCSI.js +308 -0
- package/dist/chunk-R4NOLCSI.js.map +1 -0
- package/dist/components/index.d.ts +28 -1
- package/dist/components/index.js +127 -0
- package/dist/components/index.js.map +1 -1
- package/dist/hierarchy/index.js +3 -2
- package/dist/layout/index.d.ts +2 -2
- package/dist/layout/index.js +4 -3
- package/dist/primitives/index.js +20 -18
- package/dist/reporting/index.js +11 -9
- package/dist/reporting/index.js.map +1 -1
- package/dist/shell/index.d.ts +2 -2
- package/dist/shell/index.js +4 -3
- package/dist/shell/index.js.map +1 -1
- package/dist/shell/oplytics-shell.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-ETIKYZIX.js.map +0 -1
- package/dist/chunk-LTUYIBMA.js.map +0 -1
- package/dist/chunk-NQZDFCIU.js.map +0 -1
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Button,
|
|
3
|
+
Dialog,
|
|
4
|
+
DialogContent,
|
|
5
|
+
DialogDescription,
|
|
6
|
+
DialogHeader,
|
|
7
|
+
DialogTitle,
|
|
8
|
+
Label,
|
|
9
|
+
buttonVariants,
|
|
10
|
+
cn,
|
|
11
|
+
useDialogComposition
|
|
12
|
+
} from "./chunk-R4NOLCSI.js";
|
|
13
|
+
|
|
1
14
|
// src/primitives/accordion.tsx
|
|
2
15
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
3
16
|
import { ChevronDownIcon } from "lucide-react";
|
|
4
|
-
|
|
5
|
-
// src/primitives/cn.ts
|
|
6
|
-
import { clsx } from "clsx";
|
|
7
|
-
import { twMerge } from "tailwind-merge";
|
|
8
|
-
function cn(...inputs) {
|
|
9
|
-
return twMerge(clsx(inputs));
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// src/primitives/accordion.tsx
|
|
13
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
18
|
function Accordion({
|
|
15
19
|
...props
|
|
@@ -130,76 +134,27 @@ function AlertDescription({
|
|
|
130
134
|
|
|
131
135
|
// src/primitives/alert-dialog.tsx
|
|
132
136
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
133
|
-
|
|
134
|
-
// src/primitives/button.tsx
|
|
135
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
136
|
-
import { cva as cva2 } from "class-variance-authority";
|
|
137
|
-
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
138
|
-
var buttonVariants = cva2(
|
|
139
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
140
|
-
{
|
|
141
|
-
variants: {
|
|
142
|
-
variant: {
|
|
143
|
-
default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
144
|
-
destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
145
|
-
outline: "border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground",
|
|
146
|
-
secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
|
|
147
|
-
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
148
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
149
|
-
},
|
|
150
|
-
size: {
|
|
151
|
-
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
152
|
-
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
153
|
-
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
154
|
-
icon: "size-9"
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
defaultVariants: {
|
|
158
|
-
variant: "default",
|
|
159
|
-
size: "default"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
);
|
|
163
|
-
function Button({
|
|
164
|
-
className,
|
|
165
|
-
variant,
|
|
166
|
-
size,
|
|
167
|
-
asChild = false,
|
|
168
|
-
...props
|
|
169
|
-
}) {
|
|
170
|
-
const Comp = asChild ? Slot : "button";
|
|
171
|
-
return /* @__PURE__ */ jsx3(
|
|
172
|
-
Comp,
|
|
173
|
-
{
|
|
174
|
-
"data-slot": "button",
|
|
175
|
-
className: cn(buttonVariants({ variant, size, className })),
|
|
176
|
-
...props
|
|
177
|
-
}
|
|
178
|
-
);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
// src/primitives/alert-dialog.tsx
|
|
182
|
-
import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
137
|
+
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
183
138
|
function AlertDialog({
|
|
184
139
|
...props
|
|
185
140
|
}) {
|
|
186
|
-
return /* @__PURE__ */
|
|
141
|
+
return /* @__PURE__ */ jsx3(AlertDialogPrimitive.Root, { "data-slot": "alert-dialog", ...props });
|
|
187
142
|
}
|
|
188
143
|
function AlertDialogTrigger({
|
|
189
144
|
...props
|
|
190
145
|
}) {
|
|
191
|
-
return /* @__PURE__ */
|
|
146
|
+
return /* @__PURE__ */ jsx3(AlertDialogPrimitive.Trigger, { "data-slot": "alert-dialog-trigger", ...props });
|
|
192
147
|
}
|
|
193
148
|
function AlertDialogPortal({
|
|
194
149
|
...props
|
|
195
150
|
}) {
|
|
196
|
-
return /* @__PURE__ */
|
|
151
|
+
return /* @__PURE__ */ jsx3(AlertDialogPrimitive.Portal, { "data-slot": "alert-dialog-portal", ...props });
|
|
197
152
|
}
|
|
198
153
|
function AlertDialogOverlay({
|
|
199
154
|
className,
|
|
200
155
|
...props
|
|
201
156
|
}) {
|
|
202
|
-
return /* @__PURE__ */
|
|
157
|
+
return /* @__PURE__ */ jsx3(
|
|
203
158
|
AlertDialogPrimitive.Overlay,
|
|
204
159
|
{
|
|
205
160
|
"data-slot": "alert-dialog-overlay",
|
|
@@ -216,8 +171,8 @@ function AlertDialogContent({
|
|
|
216
171
|
...props
|
|
217
172
|
}) {
|
|
218
173
|
return /* @__PURE__ */ jsxs2(AlertDialogPortal, { children: [
|
|
219
|
-
/* @__PURE__ */
|
|
220
|
-
/* @__PURE__ */
|
|
174
|
+
/* @__PURE__ */ jsx3(AlertDialogOverlay, {}),
|
|
175
|
+
/* @__PURE__ */ jsx3(
|
|
221
176
|
AlertDialogPrimitive.Content,
|
|
222
177
|
{
|
|
223
178
|
"data-slot": "alert-dialog-content",
|
|
@@ -234,7 +189,7 @@ function AlertDialogHeader({
|
|
|
234
189
|
className,
|
|
235
190
|
...props
|
|
236
191
|
}) {
|
|
237
|
-
return /* @__PURE__ */
|
|
192
|
+
return /* @__PURE__ */ jsx3(
|
|
238
193
|
"div",
|
|
239
194
|
{
|
|
240
195
|
"data-slot": "alert-dialog-header",
|
|
@@ -247,7 +202,7 @@ function AlertDialogFooter({
|
|
|
247
202
|
className,
|
|
248
203
|
...props
|
|
249
204
|
}) {
|
|
250
|
-
return /* @__PURE__ */
|
|
205
|
+
return /* @__PURE__ */ jsx3(
|
|
251
206
|
"div",
|
|
252
207
|
{
|
|
253
208
|
"data-slot": "alert-dialog-footer",
|
|
@@ -263,7 +218,7 @@ function AlertDialogTitle({
|
|
|
263
218
|
className,
|
|
264
219
|
...props
|
|
265
220
|
}) {
|
|
266
|
-
return /* @__PURE__ */
|
|
221
|
+
return /* @__PURE__ */ jsx3(
|
|
267
222
|
AlertDialogPrimitive.Title,
|
|
268
223
|
{
|
|
269
224
|
"data-slot": "alert-dialog-title",
|
|
@@ -276,7 +231,7 @@ function AlertDialogDescription({
|
|
|
276
231
|
className,
|
|
277
232
|
...props
|
|
278
233
|
}) {
|
|
279
|
-
return /* @__PURE__ */
|
|
234
|
+
return /* @__PURE__ */ jsx3(
|
|
280
235
|
AlertDialogPrimitive.Description,
|
|
281
236
|
{
|
|
282
237
|
"data-slot": "alert-dialog-description",
|
|
@@ -289,7 +244,7 @@ function AlertDialogAction({
|
|
|
289
244
|
className,
|
|
290
245
|
...props
|
|
291
246
|
}) {
|
|
292
|
-
return /* @__PURE__ */
|
|
247
|
+
return /* @__PURE__ */ jsx3(
|
|
293
248
|
AlertDialogPrimitive.Action,
|
|
294
249
|
{
|
|
295
250
|
className: cn(buttonVariants(), className),
|
|
@@ -301,7 +256,7 @@ function AlertDialogCancel({
|
|
|
301
256
|
className,
|
|
302
257
|
...props
|
|
303
258
|
}) {
|
|
304
|
-
return /* @__PURE__ */
|
|
259
|
+
return /* @__PURE__ */ jsx3(
|
|
305
260
|
AlertDialogPrimitive.Cancel,
|
|
306
261
|
{
|
|
307
262
|
className: cn(buttonVariants({ variant: "outline" }), className),
|
|
@@ -312,21 +267,21 @@ function AlertDialogCancel({
|
|
|
312
267
|
|
|
313
268
|
// src/primitives/aspect-ratio.tsx
|
|
314
269
|
import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
315
|
-
import { jsx as
|
|
270
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
316
271
|
function AspectRatio({
|
|
317
272
|
...props
|
|
318
273
|
}) {
|
|
319
|
-
return /* @__PURE__ */
|
|
274
|
+
return /* @__PURE__ */ jsx4(AspectRatioPrimitive.Root, { "data-slot": "aspect-ratio", ...props });
|
|
320
275
|
}
|
|
321
276
|
|
|
322
277
|
// src/primitives/avatar.tsx
|
|
323
278
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
324
|
-
import { jsx as
|
|
279
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
325
280
|
function Avatar({
|
|
326
281
|
className,
|
|
327
282
|
...props
|
|
328
283
|
}) {
|
|
329
|
-
return /* @__PURE__ */
|
|
284
|
+
return /* @__PURE__ */ jsx5(
|
|
330
285
|
AvatarPrimitive.Root,
|
|
331
286
|
{
|
|
332
287
|
"data-slot": "avatar",
|
|
@@ -342,7 +297,7 @@ function AvatarImage({
|
|
|
342
297
|
className,
|
|
343
298
|
...props
|
|
344
299
|
}) {
|
|
345
|
-
return /* @__PURE__ */
|
|
300
|
+
return /* @__PURE__ */ jsx5(
|
|
346
301
|
AvatarPrimitive.Image,
|
|
347
302
|
{
|
|
348
303
|
"data-slot": "avatar-image",
|
|
@@ -355,7 +310,7 @@ function AvatarFallback({
|
|
|
355
310
|
className,
|
|
356
311
|
...props
|
|
357
312
|
}) {
|
|
358
|
-
return /* @__PURE__ */
|
|
313
|
+
return /* @__PURE__ */ jsx5(
|
|
359
314
|
AvatarPrimitive.Fallback,
|
|
360
315
|
{
|
|
361
316
|
"data-slot": "avatar-fallback",
|
|
@@ -369,10 +324,10 @@ function AvatarFallback({
|
|
|
369
324
|
}
|
|
370
325
|
|
|
371
326
|
// src/primitives/badge.tsx
|
|
372
|
-
import { Slot
|
|
373
|
-
import { cva as
|
|
374
|
-
import { jsx as
|
|
375
|
-
var badgeVariants =
|
|
327
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
328
|
+
import { cva as cva2 } from "class-variance-authority";
|
|
329
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
330
|
+
var badgeVariants = cva2(
|
|
376
331
|
"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
|
|
377
332
|
{
|
|
378
333
|
variants: {
|
|
@@ -394,8 +349,8 @@ function Badge({
|
|
|
394
349
|
asChild = false,
|
|
395
350
|
...props
|
|
396
351
|
}) {
|
|
397
|
-
const Comp = asChild ?
|
|
398
|
-
return /* @__PURE__ */
|
|
352
|
+
const Comp = asChild ? Slot : "span";
|
|
353
|
+
return /* @__PURE__ */ jsx6(
|
|
399
354
|
Comp,
|
|
400
355
|
{
|
|
401
356
|
"data-slot": "badge",
|
|
@@ -406,14 +361,14 @@ function Badge({
|
|
|
406
361
|
}
|
|
407
362
|
|
|
408
363
|
// src/primitives/breadcrumb.tsx
|
|
409
|
-
import { Slot as
|
|
364
|
+
import { Slot as Slot2 } from "@radix-ui/react-slot";
|
|
410
365
|
import { ChevronRight, MoreHorizontal } from "lucide-react";
|
|
411
|
-
import { jsx as
|
|
366
|
+
import { jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
412
367
|
function Breadcrumb({ ...props }) {
|
|
413
|
-
return /* @__PURE__ */
|
|
368
|
+
return /* @__PURE__ */ jsx7("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
414
369
|
}
|
|
415
370
|
function BreadcrumbList({ className, ...props }) {
|
|
416
|
-
return /* @__PURE__ */
|
|
371
|
+
return /* @__PURE__ */ jsx7(
|
|
417
372
|
"ol",
|
|
418
373
|
{
|
|
419
374
|
"data-slot": "breadcrumb-list",
|
|
@@ -426,7 +381,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
426
381
|
);
|
|
427
382
|
}
|
|
428
383
|
function BreadcrumbItem({ className, ...props }) {
|
|
429
|
-
return /* @__PURE__ */
|
|
384
|
+
return /* @__PURE__ */ jsx7(
|
|
430
385
|
"li",
|
|
431
386
|
{
|
|
432
387
|
"data-slot": "breadcrumb-item",
|
|
@@ -440,8 +395,8 @@ function BreadcrumbLink({
|
|
|
440
395
|
className,
|
|
441
396
|
...props
|
|
442
397
|
}) {
|
|
443
|
-
const Comp = asChild ?
|
|
444
|
-
return /* @__PURE__ */
|
|
398
|
+
const Comp = asChild ? Slot2 : "a";
|
|
399
|
+
return /* @__PURE__ */ jsx7(
|
|
445
400
|
Comp,
|
|
446
401
|
{
|
|
447
402
|
"data-slot": "breadcrumb-link",
|
|
@@ -451,7 +406,7 @@ function BreadcrumbLink({
|
|
|
451
406
|
);
|
|
452
407
|
}
|
|
453
408
|
function BreadcrumbPage({ className, ...props }) {
|
|
454
|
-
return /* @__PURE__ */
|
|
409
|
+
return /* @__PURE__ */ jsx7(
|
|
455
410
|
"span",
|
|
456
411
|
{
|
|
457
412
|
"data-slot": "breadcrumb-page",
|
|
@@ -468,7 +423,7 @@ function BreadcrumbSeparator({
|
|
|
468
423
|
className,
|
|
469
424
|
...props
|
|
470
425
|
}) {
|
|
471
|
-
return /* @__PURE__ */
|
|
426
|
+
return /* @__PURE__ */ jsx7(
|
|
472
427
|
"li",
|
|
473
428
|
{
|
|
474
429
|
"data-slot": "breadcrumb-separator",
|
|
@@ -476,7 +431,7 @@ function BreadcrumbSeparator({
|
|
|
476
431
|
"aria-hidden": "true",
|
|
477
432
|
className: cn("[&>svg]:size-3.5", className),
|
|
478
433
|
...props,
|
|
479
|
-
children: children ?? /* @__PURE__ */
|
|
434
|
+
children: children ?? /* @__PURE__ */ jsx7(ChevronRight, {})
|
|
480
435
|
}
|
|
481
436
|
);
|
|
482
437
|
}
|
|
@@ -493,27 +448,27 @@ function BreadcrumbEllipsis({
|
|
|
493
448
|
className: cn("flex size-9 items-center justify-center", className),
|
|
494
449
|
...props,
|
|
495
450
|
children: [
|
|
496
|
-
/* @__PURE__ */
|
|
497
|
-
/* @__PURE__ */
|
|
451
|
+
/* @__PURE__ */ jsx7(MoreHorizontal, { className: "size-4" }),
|
|
452
|
+
/* @__PURE__ */ jsx7("span", { className: "sr-only", children: "More" })
|
|
498
453
|
]
|
|
499
454
|
}
|
|
500
455
|
);
|
|
501
456
|
}
|
|
502
457
|
|
|
503
458
|
// src/primitives/button-group.tsx
|
|
504
|
-
import { Slot as
|
|
505
|
-
import { cva as
|
|
459
|
+
import { Slot as Slot3 } from "@radix-ui/react-slot";
|
|
460
|
+
import { cva as cva3 } from "class-variance-authority";
|
|
506
461
|
|
|
507
462
|
// src/primitives/separator.tsx
|
|
508
463
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
509
|
-
import { jsx as
|
|
464
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
510
465
|
function Separator({
|
|
511
466
|
className,
|
|
512
467
|
orientation = "horizontal",
|
|
513
468
|
decorative = true,
|
|
514
469
|
...props
|
|
515
470
|
}) {
|
|
516
|
-
return /* @__PURE__ */
|
|
471
|
+
return /* @__PURE__ */ jsx8(
|
|
517
472
|
SeparatorPrimitive.Root,
|
|
518
473
|
{
|
|
519
474
|
"data-slot": "separator",
|
|
@@ -529,8 +484,8 @@ function Separator({
|
|
|
529
484
|
}
|
|
530
485
|
|
|
531
486
|
// src/primitives/button-group.tsx
|
|
532
|
-
import { jsx as
|
|
533
|
-
var buttonGroupVariants =
|
|
487
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
488
|
+
var buttonGroupVariants = cva3(
|
|
534
489
|
"flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md has-[>[data-slot=button-group]]:gap-2",
|
|
535
490
|
{
|
|
536
491
|
variants: {
|
|
@@ -549,7 +504,7 @@ function ButtonGroup({
|
|
|
549
504
|
orientation,
|
|
550
505
|
...props
|
|
551
506
|
}) {
|
|
552
|
-
return /* @__PURE__ */
|
|
507
|
+
return /* @__PURE__ */ jsx9(
|
|
553
508
|
"div",
|
|
554
509
|
{
|
|
555
510
|
role: "group",
|
|
@@ -565,8 +520,8 @@ function ButtonGroupText({
|
|
|
565
520
|
asChild = false,
|
|
566
521
|
...props
|
|
567
522
|
}) {
|
|
568
|
-
const Comp = asChild ?
|
|
569
|
-
return /* @__PURE__ */
|
|
523
|
+
const Comp = asChild ? Slot3 : "div";
|
|
524
|
+
return /* @__PURE__ */ jsx9(
|
|
570
525
|
Comp,
|
|
571
526
|
{
|
|
572
527
|
className: cn(
|
|
@@ -582,7 +537,7 @@ function ButtonGroupSeparator({
|
|
|
582
537
|
orientation = "vertical",
|
|
583
538
|
...props
|
|
584
539
|
}) {
|
|
585
|
-
return /* @__PURE__ */
|
|
540
|
+
return /* @__PURE__ */ jsx9(
|
|
586
541
|
Separator,
|
|
587
542
|
{
|
|
588
543
|
"data-slot": "button-group-separator",
|
|
@@ -604,7 +559,7 @@ import {
|
|
|
604
559
|
ChevronRightIcon
|
|
605
560
|
} from "lucide-react";
|
|
606
561
|
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
607
|
-
import { jsx as
|
|
562
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
608
563
|
function Calendar({
|
|
609
564
|
className,
|
|
610
565
|
classNames,
|
|
@@ -616,7 +571,7 @@ function Calendar({
|
|
|
616
571
|
...props
|
|
617
572
|
}) {
|
|
618
573
|
const defaultClassNames = getDefaultClassNames();
|
|
619
|
-
return /* @__PURE__ */
|
|
574
|
+
return /* @__PURE__ */ jsx10(
|
|
620
575
|
DayPicker,
|
|
621
576
|
{
|
|
622
577
|
showOutsideDays,
|
|
@@ -715,7 +670,7 @@ function Calendar({
|
|
|
715
670
|
},
|
|
716
671
|
components: {
|
|
717
672
|
Root: ({ className: className2, rootRef, ...props2 }) => {
|
|
718
|
-
return /* @__PURE__ */
|
|
673
|
+
return /* @__PURE__ */ jsx10(
|
|
719
674
|
"div",
|
|
720
675
|
{
|
|
721
676
|
"data-slot": "calendar",
|
|
@@ -727,10 +682,10 @@ function Calendar({
|
|
|
727
682
|
},
|
|
728
683
|
Chevron: ({ className: className2, orientation, ...props2 }) => {
|
|
729
684
|
if (orientation === "left") {
|
|
730
|
-
return /* @__PURE__ */
|
|
685
|
+
return /* @__PURE__ */ jsx10(ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
|
|
731
686
|
}
|
|
732
687
|
if (orientation === "right") {
|
|
733
|
-
return /* @__PURE__ */
|
|
688
|
+
return /* @__PURE__ */ jsx10(
|
|
734
689
|
ChevronRightIcon,
|
|
735
690
|
{
|
|
736
691
|
className: cn("size-4", className2),
|
|
@@ -738,11 +693,11 @@ function Calendar({
|
|
|
738
693
|
}
|
|
739
694
|
);
|
|
740
695
|
}
|
|
741
|
-
return /* @__PURE__ */
|
|
696
|
+
return /* @__PURE__ */ jsx10(ChevronDownIcon2, { className: cn("size-4", className2), ...props2 });
|
|
742
697
|
},
|
|
743
698
|
DayButton: CalendarDayButton,
|
|
744
699
|
WeekNumber: ({ children, ...props2 }) => {
|
|
745
|
-
return /* @__PURE__ */
|
|
700
|
+
return /* @__PURE__ */ jsx10("td", { ...props2, children: /* @__PURE__ */ jsx10("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
|
|
746
701
|
},
|
|
747
702
|
...components
|
|
748
703
|
},
|
|
@@ -761,7 +716,7 @@ function CalendarDayButton({
|
|
|
761
716
|
React.useEffect(() => {
|
|
762
717
|
if (modifiers.focused) ref.current?.focus();
|
|
763
718
|
}, [modifiers.focused]);
|
|
764
|
-
return /* @__PURE__ */
|
|
719
|
+
return /* @__PURE__ */ jsx10(
|
|
765
720
|
Button,
|
|
766
721
|
{
|
|
767
722
|
ref,
|
|
@@ -783,9 +738,9 @@ function CalendarDayButton({
|
|
|
783
738
|
}
|
|
784
739
|
|
|
785
740
|
// src/primitives/card.tsx
|
|
786
|
-
import { jsx as
|
|
741
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
787
742
|
function Card({ className, ...props }) {
|
|
788
|
-
return /* @__PURE__ */
|
|
743
|
+
return /* @__PURE__ */ jsx11(
|
|
789
744
|
"div",
|
|
790
745
|
{
|
|
791
746
|
"data-slot": "card",
|
|
@@ -798,7 +753,7 @@ function Card({ className, ...props }) {
|
|
|
798
753
|
);
|
|
799
754
|
}
|
|
800
755
|
function CardHeader({ className, ...props }) {
|
|
801
|
-
return /* @__PURE__ */
|
|
756
|
+
return /* @__PURE__ */ jsx11(
|
|
802
757
|
"div",
|
|
803
758
|
{
|
|
804
759
|
"data-slot": "card-header",
|
|
@@ -811,7 +766,7 @@ function CardHeader({ className, ...props }) {
|
|
|
811
766
|
);
|
|
812
767
|
}
|
|
813
768
|
function CardTitle({ className, ...props }) {
|
|
814
|
-
return /* @__PURE__ */
|
|
769
|
+
return /* @__PURE__ */ jsx11(
|
|
815
770
|
"div",
|
|
816
771
|
{
|
|
817
772
|
"data-slot": "card-title",
|
|
@@ -821,7 +776,7 @@ function CardTitle({ className, ...props }) {
|
|
|
821
776
|
);
|
|
822
777
|
}
|
|
823
778
|
function CardDescription({ className, ...props }) {
|
|
824
|
-
return /* @__PURE__ */
|
|
779
|
+
return /* @__PURE__ */ jsx11(
|
|
825
780
|
"div",
|
|
826
781
|
{
|
|
827
782
|
"data-slot": "card-description",
|
|
@@ -831,7 +786,7 @@ function CardDescription({ className, ...props }) {
|
|
|
831
786
|
);
|
|
832
787
|
}
|
|
833
788
|
function CardAction({ className, ...props }) {
|
|
834
|
-
return /* @__PURE__ */
|
|
789
|
+
return /* @__PURE__ */ jsx11(
|
|
835
790
|
"div",
|
|
836
791
|
{
|
|
837
792
|
"data-slot": "card-action",
|
|
@@ -844,7 +799,7 @@ function CardAction({ className, ...props }) {
|
|
|
844
799
|
);
|
|
845
800
|
}
|
|
846
801
|
function CardContent({ className, ...props }) {
|
|
847
|
-
return /* @__PURE__ */
|
|
802
|
+
return /* @__PURE__ */ jsx11(
|
|
848
803
|
"div",
|
|
849
804
|
{
|
|
850
805
|
"data-slot": "card-content",
|
|
@@ -854,7 +809,7 @@ function CardContent({ className, ...props }) {
|
|
|
854
809
|
);
|
|
855
810
|
}
|
|
856
811
|
function CardFooter({ className, ...props }) {
|
|
857
|
-
return /* @__PURE__ */
|
|
812
|
+
return /* @__PURE__ */ jsx11(
|
|
858
813
|
"div",
|
|
859
814
|
{
|
|
860
815
|
"data-slot": "card-footer",
|
|
@@ -868,7 +823,7 @@ function CardFooter({ className, ...props }) {
|
|
|
868
823
|
import * as React2 from "react";
|
|
869
824
|
import useEmblaCarousel from "embla-carousel-react";
|
|
870
825
|
import { ArrowLeft, ArrowRight } from "lucide-react";
|
|
871
|
-
import { jsx as
|
|
826
|
+
import { jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
872
827
|
var CarouselContext = React2.createContext(null);
|
|
873
828
|
function useCarousel() {
|
|
874
829
|
const context = React2.useContext(CarouselContext);
|
|
@@ -931,7 +886,7 @@ function Carousel({
|
|
|
931
886
|
api?.off("select", onSelect);
|
|
932
887
|
};
|
|
933
888
|
}, [api, onSelect]);
|
|
934
|
-
return /* @__PURE__ */
|
|
889
|
+
return /* @__PURE__ */ jsx12(
|
|
935
890
|
CarouselContext.Provider,
|
|
936
891
|
{
|
|
937
892
|
value: {
|
|
@@ -944,7 +899,7 @@ function Carousel({
|
|
|
944
899
|
canScrollPrev,
|
|
945
900
|
canScrollNext
|
|
946
901
|
},
|
|
947
|
-
children: /* @__PURE__ */
|
|
902
|
+
children: /* @__PURE__ */ jsx12(
|
|
948
903
|
"div",
|
|
949
904
|
{
|
|
950
905
|
onKeyDownCapture: handleKeyDown,
|
|
@@ -961,13 +916,13 @@ function Carousel({
|
|
|
961
916
|
}
|
|
962
917
|
function CarouselContent({ className, ...props }) {
|
|
963
918
|
const { carouselRef, orientation } = useCarousel();
|
|
964
|
-
return /* @__PURE__ */
|
|
919
|
+
return /* @__PURE__ */ jsx12(
|
|
965
920
|
"div",
|
|
966
921
|
{
|
|
967
922
|
ref: carouselRef,
|
|
968
923
|
className: "overflow-hidden",
|
|
969
924
|
"data-slot": "carousel-content",
|
|
970
|
-
children: /* @__PURE__ */
|
|
925
|
+
children: /* @__PURE__ */ jsx12(
|
|
971
926
|
"div",
|
|
972
927
|
{
|
|
973
928
|
className: cn(
|
|
@@ -983,7 +938,7 @@ function CarouselContent({ className, ...props }) {
|
|
|
983
938
|
}
|
|
984
939
|
function CarouselItem({ className, ...props }) {
|
|
985
940
|
const { orientation } = useCarousel();
|
|
986
|
-
return /* @__PURE__ */
|
|
941
|
+
return /* @__PURE__ */ jsx12(
|
|
987
942
|
"div",
|
|
988
943
|
{
|
|
989
944
|
role: "group",
|
|
@@ -1020,8 +975,8 @@ function CarouselPrevious({
|
|
|
1020
975
|
onClick: scrollPrev,
|
|
1021
976
|
...props,
|
|
1022
977
|
children: [
|
|
1023
|
-
/* @__PURE__ */
|
|
1024
|
-
/* @__PURE__ */
|
|
978
|
+
/* @__PURE__ */ jsx12(ArrowLeft, {}),
|
|
979
|
+
/* @__PURE__ */ jsx12("span", { className: "sr-only", children: "Previous slide" })
|
|
1025
980
|
]
|
|
1026
981
|
}
|
|
1027
982
|
);
|
|
@@ -1048,8 +1003,8 @@ function CarouselNext({
|
|
|
1048
1003
|
onClick: scrollNext,
|
|
1049
1004
|
...props,
|
|
1050
1005
|
children: [
|
|
1051
|
-
/* @__PURE__ */
|
|
1052
|
-
/* @__PURE__ */
|
|
1006
|
+
/* @__PURE__ */ jsx12(ArrowRight, {}),
|
|
1007
|
+
/* @__PURE__ */ jsx12("span", { className: "sr-only", children: "Next slide" })
|
|
1053
1008
|
]
|
|
1054
1009
|
}
|
|
1055
1010
|
);
|
|
@@ -1058,7 +1013,7 @@ function CarouselNext({
|
|
|
1058
1013
|
// src/primitives/chart.tsx
|
|
1059
1014
|
import * as React3 from "react";
|
|
1060
1015
|
import * as RechartsPrimitive from "recharts";
|
|
1061
|
-
import { Fragment, jsx as
|
|
1016
|
+
import { Fragment, jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1062
1017
|
var THEMES = { light: "", dark: ".dark" };
|
|
1063
1018
|
var ChartContext = React3.createContext(null);
|
|
1064
1019
|
function useChart() {
|
|
@@ -1077,7 +1032,7 @@ function ChartContainer({
|
|
|
1077
1032
|
}) {
|
|
1078
1033
|
const uniqueId = React3.useId();
|
|
1079
1034
|
const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
|
|
1080
|
-
return /* @__PURE__ */
|
|
1035
|
+
return /* @__PURE__ */ jsx13(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs5(
|
|
1081
1036
|
"div",
|
|
1082
1037
|
{
|
|
1083
1038
|
"data-slot": "chart",
|
|
@@ -1088,8 +1043,8 @@ function ChartContainer({
|
|
|
1088
1043
|
),
|
|
1089
1044
|
...props,
|
|
1090
1045
|
children: [
|
|
1091
|
-
/* @__PURE__ */
|
|
1092
|
-
/* @__PURE__ */
|
|
1046
|
+
/* @__PURE__ */ jsx13(ChartStyle, { id: chartId, config }),
|
|
1047
|
+
/* @__PURE__ */ jsx13(RechartsPrimitive.ResponsiveContainer, { children })
|
|
1093
1048
|
]
|
|
1094
1049
|
}
|
|
1095
1050
|
) });
|
|
@@ -1101,7 +1056,7 @@ var ChartStyle = ({ id, config }) => {
|
|
|
1101
1056
|
if (!colorConfig.length) {
|
|
1102
1057
|
return null;
|
|
1103
1058
|
}
|
|
1104
|
-
return /* @__PURE__ */
|
|
1059
|
+
return /* @__PURE__ */ jsx13(
|
|
1105
1060
|
"style",
|
|
1106
1061
|
{
|
|
1107
1062
|
dangerouslySetInnerHTML: {
|
|
@@ -1145,12 +1100,12 @@ function ChartTooltipContent({
|
|
|
1145
1100
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
1146
1101
|
const value = !labelKey && typeof label === "string" ? config[label]?.label || label : itemConfig?.label;
|
|
1147
1102
|
if (labelFormatter) {
|
|
1148
|
-
return /* @__PURE__ */
|
|
1103
|
+
return /* @__PURE__ */ jsx13("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
|
|
1149
1104
|
}
|
|
1150
1105
|
if (!value) {
|
|
1151
1106
|
return null;
|
|
1152
1107
|
}
|
|
1153
|
-
return /* @__PURE__ */
|
|
1108
|
+
return /* @__PURE__ */ jsx13("div", { className: cn("font-medium", labelClassName), children: value });
|
|
1154
1109
|
}, [
|
|
1155
1110
|
label,
|
|
1156
1111
|
labelFormatter,
|
|
@@ -1173,11 +1128,11 @@ function ChartTooltipContent({
|
|
|
1173
1128
|
),
|
|
1174
1129
|
children: [
|
|
1175
1130
|
!nestLabel ? tooltipLabel : null,
|
|
1176
|
-
/* @__PURE__ */
|
|
1131
|
+
/* @__PURE__ */ jsx13("div", { className: "grid gap-1.5", children: payload.filter((item) => item.type !== "none").map((item, index) => {
|
|
1177
1132
|
const key = `${nameKey || item.name || item.dataKey || "value"}`;
|
|
1178
1133
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
1179
1134
|
const indicatorColor = color || item.payload.fill || item.color;
|
|
1180
|
-
return /* @__PURE__ */
|
|
1135
|
+
return /* @__PURE__ */ jsx13(
|
|
1181
1136
|
"div",
|
|
1182
1137
|
{
|
|
1183
1138
|
className: cn(
|
|
@@ -1185,7 +1140,7 @@ function ChartTooltipContent({
|
|
|
1185
1140
|
indicator === "dot" && "items-center"
|
|
1186
1141
|
),
|
|
1187
1142
|
children: formatter && item?.value !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs5(Fragment, { children: [
|
|
1188
|
-
itemConfig?.icon ? /* @__PURE__ */
|
|
1143
|
+
itemConfig?.icon ? /* @__PURE__ */ jsx13(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx13(
|
|
1189
1144
|
"div",
|
|
1190
1145
|
{
|
|
1191
1146
|
className: cn(
|
|
@@ -1213,9 +1168,9 @@ function ChartTooltipContent({
|
|
|
1213
1168
|
children: [
|
|
1214
1169
|
/* @__PURE__ */ jsxs5("div", { className: "grid gap-1.5", children: [
|
|
1215
1170
|
nestLabel ? tooltipLabel : null,
|
|
1216
|
-
/* @__PURE__ */
|
|
1171
|
+
/* @__PURE__ */ jsx13("span", { className: "text-muted-foreground", children: itemConfig?.label || item.name })
|
|
1217
1172
|
] }),
|
|
1218
|
-
item.value && /* @__PURE__ */
|
|
1173
|
+
item.value && /* @__PURE__ */ jsx13("span", { className: "text-foreground font-mono font-medium tabular-nums", children: item.value.toLocaleString() })
|
|
1219
1174
|
]
|
|
1220
1175
|
}
|
|
1221
1176
|
)
|
|
@@ -1240,7 +1195,7 @@ function ChartLegendContent({
|
|
|
1240
1195
|
if (!payload?.length) {
|
|
1241
1196
|
return null;
|
|
1242
1197
|
}
|
|
1243
|
-
return /* @__PURE__ */
|
|
1198
|
+
return /* @__PURE__ */ jsx13(
|
|
1244
1199
|
"div",
|
|
1245
1200
|
{
|
|
1246
1201
|
className: cn(
|
|
@@ -1258,7 +1213,7 @@ function ChartLegendContent({
|
|
|
1258
1213
|
"[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"
|
|
1259
1214
|
),
|
|
1260
1215
|
children: [
|
|
1261
|
-
itemConfig?.icon && !hideIcon ? /* @__PURE__ */
|
|
1216
|
+
itemConfig?.icon && !hideIcon ? /* @__PURE__ */ jsx13(itemConfig.icon, {}) : /* @__PURE__ */ jsx13(
|
|
1262
1217
|
"div",
|
|
1263
1218
|
{
|
|
1264
1219
|
className: "h-2 w-2 shrink-0 rounded-[2px]",
|
|
@@ -1293,12 +1248,12 @@ function getPayloadConfigFromPayload(config, payload, key) {
|
|
|
1293
1248
|
// src/primitives/checkbox.tsx
|
|
1294
1249
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
1295
1250
|
import { CheckIcon } from "lucide-react";
|
|
1296
|
-
import { jsx as
|
|
1251
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
1297
1252
|
function Checkbox({
|
|
1298
1253
|
className,
|
|
1299
1254
|
...props
|
|
1300
1255
|
}) {
|
|
1301
|
-
return /* @__PURE__ */
|
|
1256
|
+
return /* @__PURE__ */ jsx14(
|
|
1302
1257
|
CheckboxPrimitive.Root,
|
|
1303
1258
|
{
|
|
1304
1259
|
"data-slot": "checkbox",
|
|
@@ -1307,12 +1262,12 @@ function Checkbox({
|
|
|
1307
1262
|
className
|
|
1308
1263
|
),
|
|
1309
1264
|
...props,
|
|
1310
|
-
children: /* @__PURE__ */
|
|
1265
|
+
children: /* @__PURE__ */ jsx14(
|
|
1311
1266
|
CheckboxPrimitive.Indicator,
|
|
1312
1267
|
{
|
|
1313
1268
|
"data-slot": "checkbox-indicator",
|
|
1314
1269
|
className: "flex items-center justify-center text-current transition-none",
|
|
1315
|
-
children: /* @__PURE__ */
|
|
1270
|
+
children: /* @__PURE__ */ jsx14(CheckIcon, { className: "size-3.5" })
|
|
1316
1271
|
}
|
|
1317
1272
|
)
|
|
1318
1273
|
}
|
|
@@ -1321,16 +1276,16 @@ function Checkbox({
|
|
|
1321
1276
|
|
|
1322
1277
|
// src/primitives/collapsible.tsx
|
|
1323
1278
|
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
1324
|
-
import { jsx as
|
|
1279
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
1325
1280
|
function Collapsible({
|
|
1326
1281
|
...props
|
|
1327
1282
|
}) {
|
|
1328
|
-
return /* @__PURE__ */
|
|
1283
|
+
return /* @__PURE__ */ jsx15(CollapsiblePrimitive.Root, { "data-slot": "collapsible", ...props });
|
|
1329
1284
|
}
|
|
1330
1285
|
function CollapsibleTrigger2({
|
|
1331
1286
|
...props
|
|
1332
1287
|
}) {
|
|
1333
|
-
return /* @__PURE__ */
|
|
1288
|
+
return /* @__PURE__ */ jsx15(
|
|
1334
1289
|
CollapsiblePrimitive.CollapsibleTrigger,
|
|
1335
1290
|
{
|
|
1336
1291
|
"data-slot": "collapsible-trigger",
|
|
@@ -1341,7 +1296,7 @@ function CollapsibleTrigger2({
|
|
|
1341
1296
|
function CollapsibleContent2({
|
|
1342
1297
|
...props
|
|
1343
1298
|
}) {
|
|
1344
|
-
return /* @__PURE__ */
|
|
1299
|
+
return /* @__PURE__ */ jsx15(
|
|
1345
1300
|
CollapsiblePrimitive.CollapsibleContent,
|
|
1346
1301
|
{
|
|
1347
1302
|
"data-slot": "collapsible-content",
|
|
@@ -1353,186 +1308,12 @@ function CollapsibleContent2({
|
|
|
1353
1308
|
// src/primitives/command.tsx
|
|
1354
1309
|
import { Command as CommandPrimitive } from "cmdk";
|
|
1355
1310
|
import { SearchIcon } from "lucide-react";
|
|
1356
|
-
|
|
1357
|
-
// src/primitives/dialog.tsx
|
|
1358
|
-
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
1359
|
-
import { XIcon } from "lucide-react";
|
|
1360
|
-
import * as React4 from "react";
|
|
1361
|
-
import { jsx as jsx17, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1362
|
-
var DialogCompositionContext = React4.createContext({
|
|
1363
|
-
isComposing: () => false,
|
|
1364
|
-
setComposing: () => {
|
|
1365
|
-
},
|
|
1366
|
-
justEndedComposing: () => false,
|
|
1367
|
-
markCompositionEnd: () => {
|
|
1368
|
-
}
|
|
1369
|
-
});
|
|
1370
|
-
var useDialogComposition = () => React4.useContext(DialogCompositionContext);
|
|
1371
|
-
function Dialog({
|
|
1372
|
-
...props
|
|
1373
|
-
}) {
|
|
1374
|
-
const composingRef = React4.useRef(false);
|
|
1375
|
-
const justEndedRef = React4.useRef(false);
|
|
1376
|
-
const endTimerRef = React4.useRef(null);
|
|
1377
|
-
const contextValue = React4.useMemo(
|
|
1378
|
-
() => ({
|
|
1379
|
-
isComposing: () => composingRef.current,
|
|
1380
|
-
setComposing: (composing) => {
|
|
1381
|
-
composingRef.current = composing;
|
|
1382
|
-
},
|
|
1383
|
-
justEndedComposing: () => justEndedRef.current,
|
|
1384
|
-
markCompositionEnd: () => {
|
|
1385
|
-
justEndedRef.current = true;
|
|
1386
|
-
if (endTimerRef.current) {
|
|
1387
|
-
clearTimeout(endTimerRef.current);
|
|
1388
|
-
}
|
|
1389
|
-
endTimerRef.current = setTimeout(() => {
|
|
1390
|
-
justEndedRef.current = false;
|
|
1391
|
-
}, 150);
|
|
1392
|
-
}
|
|
1393
|
-
}),
|
|
1394
|
-
[]
|
|
1395
|
-
);
|
|
1396
|
-
return /* @__PURE__ */ jsx17(DialogCompositionContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx17(DialogPrimitive.Root, { "data-slot": "dialog", ...props }) });
|
|
1397
|
-
}
|
|
1398
|
-
function DialogTrigger({
|
|
1399
|
-
...props
|
|
1400
|
-
}) {
|
|
1401
|
-
return /* @__PURE__ */ jsx17(DialogPrimitive.Trigger, { "data-slot": "dialog-trigger", ...props });
|
|
1402
|
-
}
|
|
1403
|
-
function DialogPortal({
|
|
1404
|
-
...props
|
|
1405
|
-
}) {
|
|
1406
|
-
return /* @__PURE__ */ jsx17(DialogPrimitive.Portal, { "data-slot": "dialog-portal", ...props });
|
|
1407
|
-
}
|
|
1408
|
-
function DialogClose({
|
|
1409
|
-
...props
|
|
1410
|
-
}) {
|
|
1411
|
-
return /* @__PURE__ */ jsx17(DialogPrimitive.Close, { "data-slot": "dialog-close", ...props });
|
|
1412
|
-
}
|
|
1413
|
-
function DialogOverlay({
|
|
1414
|
-
className,
|
|
1415
|
-
...props
|
|
1416
|
-
}) {
|
|
1417
|
-
return /* @__PURE__ */ jsx17(
|
|
1418
|
-
DialogPrimitive.Overlay,
|
|
1419
|
-
{
|
|
1420
|
-
"data-slot": "dialog-overlay",
|
|
1421
|
-
className: cn(
|
|
1422
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
1423
|
-
className
|
|
1424
|
-
),
|
|
1425
|
-
...props
|
|
1426
|
-
}
|
|
1427
|
-
);
|
|
1428
|
-
}
|
|
1429
|
-
DialogOverlay.displayName = "DialogOverlay";
|
|
1430
|
-
function DialogContent({
|
|
1431
|
-
className,
|
|
1432
|
-
children,
|
|
1433
|
-
showCloseButton = true,
|
|
1434
|
-
onEscapeKeyDown,
|
|
1435
|
-
...props
|
|
1436
|
-
}) {
|
|
1437
|
-
const { isComposing } = useDialogComposition();
|
|
1438
|
-
const handleEscapeKeyDown = React4.useCallback(
|
|
1439
|
-
(e) => {
|
|
1440
|
-
const isCurrentlyComposing = e.isComposing || isComposing();
|
|
1441
|
-
if (isCurrentlyComposing) {
|
|
1442
|
-
e.preventDefault();
|
|
1443
|
-
return;
|
|
1444
|
-
}
|
|
1445
|
-
onEscapeKeyDown?.(e);
|
|
1446
|
-
},
|
|
1447
|
-
[isComposing, onEscapeKeyDown]
|
|
1448
|
-
);
|
|
1449
|
-
return /* @__PURE__ */ jsxs6(DialogPortal, { "data-slot": "dialog-portal", children: [
|
|
1450
|
-
/* @__PURE__ */ jsx17(DialogOverlay, {}),
|
|
1451
|
-
/* @__PURE__ */ jsxs6(
|
|
1452
|
-
DialogPrimitive.Content,
|
|
1453
|
-
{
|
|
1454
|
-
"data-slot": "dialog-content",
|
|
1455
|
-
className: cn(
|
|
1456
|
-
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
1457
|
-
className
|
|
1458
|
-
),
|
|
1459
|
-
onEscapeKeyDown: handleEscapeKeyDown,
|
|
1460
|
-
...props,
|
|
1461
|
-
children: [
|
|
1462
|
-
children,
|
|
1463
|
-
showCloseButton && /* @__PURE__ */ jsxs6(
|
|
1464
|
-
DialogPrimitive.Close,
|
|
1465
|
-
{
|
|
1466
|
-
"data-slot": "dialog-close",
|
|
1467
|
-
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1468
|
-
children: [
|
|
1469
|
-
/* @__PURE__ */ jsx17(XIcon, {}),
|
|
1470
|
-
/* @__PURE__ */ jsx17("span", { className: "sr-only", children: "Close" })
|
|
1471
|
-
]
|
|
1472
|
-
}
|
|
1473
|
-
)
|
|
1474
|
-
]
|
|
1475
|
-
}
|
|
1476
|
-
)
|
|
1477
|
-
] });
|
|
1478
|
-
}
|
|
1479
|
-
function DialogHeader({ className, ...props }) {
|
|
1480
|
-
return /* @__PURE__ */ jsx17(
|
|
1481
|
-
"div",
|
|
1482
|
-
{
|
|
1483
|
-
"data-slot": "dialog-header",
|
|
1484
|
-
className: cn("flex flex-col gap-2 text-center sm:text-left", className),
|
|
1485
|
-
...props
|
|
1486
|
-
}
|
|
1487
|
-
);
|
|
1488
|
-
}
|
|
1489
|
-
function DialogFooter({ className, ...props }) {
|
|
1490
|
-
return /* @__PURE__ */ jsx17(
|
|
1491
|
-
"div",
|
|
1492
|
-
{
|
|
1493
|
-
"data-slot": "dialog-footer",
|
|
1494
|
-
className: cn(
|
|
1495
|
-
"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
1496
|
-
className
|
|
1497
|
-
),
|
|
1498
|
-
...props
|
|
1499
|
-
}
|
|
1500
|
-
);
|
|
1501
|
-
}
|
|
1502
|
-
function DialogTitle({
|
|
1503
|
-
className,
|
|
1504
|
-
...props
|
|
1505
|
-
}) {
|
|
1506
|
-
return /* @__PURE__ */ jsx17(
|
|
1507
|
-
DialogPrimitive.Title,
|
|
1508
|
-
{
|
|
1509
|
-
"data-slot": "dialog-title",
|
|
1510
|
-
className: cn("text-lg leading-none font-semibold", className),
|
|
1511
|
-
...props
|
|
1512
|
-
}
|
|
1513
|
-
);
|
|
1514
|
-
}
|
|
1515
|
-
function DialogDescription({
|
|
1516
|
-
className,
|
|
1517
|
-
...props
|
|
1518
|
-
}) {
|
|
1519
|
-
return /* @__PURE__ */ jsx17(
|
|
1520
|
-
DialogPrimitive.Description,
|
|
1521
|
-
{
|
|
1522
|
-
"data-slot": "dialog-description",
|
|
1523
|
-
className: cn("text-muted-foreground text-sm", className),
|
|
1524
|
-
...props
|
|
1525
|
-
}
|
|
1526
|
-
);
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
// src/primitives/command.tsx
|
|
1530
|
-
import { jsx as jsx18, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1311
|
+
import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1531
1312
|
function Command({
|
|
1532
1313
|
className,
|
|
1533
1314
|
...props
|
|
1534
1315
|
}) {
|
|
1535
|
-
return /* @__PURE__ */
|
|
1316
|
+
return /* @__PURE__ */ jsx16(
|
|
1536
1317
|
CommandPrimitive,
|
|
1537
1318
|
{
|
|
1538
1319
|
"data-slot": "command",
|
|
@@ -1552,17 +1333,17 @@ function CommandDialog({
|
|
|
1552
1333
|
showCloseButton = true,
|
|
1553
1334
|
...props
|
|
1554
1335
|
}) {
|
|
1555
|
-
return /* @__PURE__ */
|
|
1556
|
-
/* @__PURE__ */
|
|
1557
|
-
/* @__PURE__ */
|
|
1558
|
-
/* @__PURE__ */
|
|
1336
|
+
return /* @__PURE__ */ jsxs6(Dialog, { ...props, children: [
|
|
1337
|
+
/* @__PURE__ */ jsxs6(DialogHeader, { className: "sr-only", children: [
|
|
1338
|
+
/* @__PURE__ */ jsx16(DialogTitle, { children: title }),
|
|
1339
|
+
/* @__PURE__ */ jsx16(DialogDescription, { children: description })
|
|
1559
1340
|
] }),
|
|
1560
|
-
/* @__PURE__ */
|
|
1341
|
+
/* @__PURE__ */ jsx16(
|
|
1561
1342
|
DialogContent,
|
|
1562
1343
|
{
|
|
1563
1344
|
className: cn("overflow-hidden p-0", className),
|
|
1564
1345
|
showCloseButton,
|
|
1565
|
-
children: /* @__PURE__ */
|
|
1346
|
+
children: /* @__PURE__ */ jsx16(Command, { className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
|
|
1566
1347
|
}
|
|
1567
1348
|
)
|
|
1568
1349
|
] });
|
|
@@ -1571,14 +1352,14 @@ function CommandInput({
|
|
|
1571
1352
|
className,
|
|
1572
1353
|
...props
|
|
1573
1354
|
}) {
|
|
1574
|
-
return /* @__PURE__ */
|
|
1355
|
+
return /* @__PURE__ */ jsxs6(
|
|
1575
1356
|
"div",
|
|
1576
1357
|
{
|
|
1577
1358
|
"data-slot": "command-input-wrapper",
|
|
1578
1359
|
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
1579
1360
|
children: [
|
|
1580
|
-
/* @__PURE__ */
|
|
1581
|
-
/* @__PURE__ */
|
|
1361
|
+
/* @__PURE__ */ jsx16(SearchIcon, { className: "size-4 shrink-0 opacity-50" }),
|
|
1362
|
+
/* @__PURE__ */ jsx16(
|
|
1582
1363
|
CommandPrimitive.Input,
|
|
1583
1364
|
{
|
|
1584
1365
|
"data-slot": "command-input",
|
|
@@ -1597,7 +1378,7 @@ function CommandList({
|
|
|
1597
1378
|
className,
|
|
1598
1379
|
...props
|
|
1599
1380
|
}) {
|
|
1600
|
-
return /* @__PURE__ */
|
|
1381
|
+
return /* @__PURE__ */ jsx16(
|
|
1601
1382
|
CommandPrimitive.List,
|
|
1602
1383
|
{
|
|
1603
1384
|
"data-slot": "command-list",
|
|
@@ -1612,7 +1393,7 @@ function CommandList({
|
|
|
1612
1393
|
function CommandEmpty({
|
|
1613
1394
|
...props
|
|
1614
1395
|
}) {
|
|
1615
|
-
return /* @__PURE__ */
|
|
1396
|
+
return /* @__PURE__ */ jsx16(
|
|
1616
1397
|
CommandPrimitive.Empty,
|
|
1617
1398
|
{
|
|
1618
1399
|
"data-slot": "command-empty",
|
|
@@ -1625,7 +1406,7 @@ function CommandGroup({
|
|
|
1625
1406
|
className,
|
|
1626
1407
|
...props
|
|
1627
1408
|
}) {
|
|
1628
|
-
return /* @__PURE__ */
|
|
1409
|
+
return /* @__PURE__ */ jsx16(
|
|
1629
1410
|
CommandPrimitive.Group,
|
|
1630
1411
|
{
|
|
1631
1412
|
"data-slot": "command-group",
|
|
@@ -1641,7 +1422,7 @@ function CommandSeparator({
|
|
|
1641
1422
|
className,
|
|
1642
1423
|
...props
|
|
1643
1424
|
}) {
|
|
1644
|
-
return /* @__PURE__ */
|
|
1425
|
+
return /* @__PURE__ */ jsx16(
|
|
1645
1426
|
CommandPrimitive.Separator,
|
|
1646
1427
|
{
|
|
1647
1428
|
"data-slot": "command-separator",
|
|
@@ -1654,7 +1435,7 @@ function CommandItem({
|
|
|
1654
1435
|
className,
|
|
1655
1436
|
...props
|
|
1656
1437
|
}) {
|
|
1657
|
-
return /* @__PURE__ */
|
|
1438
|
+
return /* @__PURE__ */ jsx16(
|
|
1658
1439
|
CommandPrimitive.Item,
|
|
1659
1440
|
{
|
|
1660
1441
|
"data-slot": "command-item",
|
|
@@ -1670,7 +1451,7 @@ function CommandShortcut({
|
|
|
1670
1451
|
className,
|
|
1671
1452
|
...props
|
|
1672
1453
|
}) {
|
|
1673
|
-
return /* @__PURE__ */
|
|
1454
|
+
return /* @__PURE__ */ jsx16(
|
|
1674
1455
|
"span",
|
|
1675
1456
|
{
|
|
1676
1457
|
"data-slot": "command-shortcut",
|
|
@@ -1686,36 +1467,36 @@ function CommandShortcut({
|
|
|
1686
1467
|
// src/primitives/context-menu.tsx
|
|
1687
1468
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
1688
1469
|
import { CheckIcon as CheckIcon2, ChevronRightIcon as ChevronRightIcon2, CircleIcon } from "lucide-react";
|
|
1689
|
-
import { jsx as
|
|
1470
|
+
import { jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1690
1471
|
function ContextMenu({
|
|
1691
1472
|
...props
|
|
1692
1473
|
}) {
|
|
1693
|
-
return /* @__PURE__ */
|
|
1474
|
+
return /* @__PURE__ */ jsx17(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
|
|
1694
1475
|
}
|
|
1695
1476
|
function ContextMenuTrigger({
|
|
1696
1477
|
...props
|
|
1697
1478
|
}) {
|
|
1698
|
-
return /* @__PURE__ */
|
|
1479
|
+
return /* @__PURE__ */ jsx17(ContextMenuPrimitive.Trigger, { "data-slot": "context-menu-trigger", ...props });
|
|
1699
1480
|
}
|
|
1700
1481
|
function ContextMenuGroup({
|
|
1701
1482
|
...props
|
|
1702
1483
|
}) {
|
|
1703
|
-
return /* @__PURE__ */
|
|
1484
|
+
return /* @__PURE__ */ jsx17(ContextMenuPrimitive.Group, { "data-slot": "context-menu-group", ...props });
|
|
1704
1485
|
}
|
|
1705
1486
|
function ContextMenuPortal({
|
|
1706
1487
|
...props
|
|
1707
1488
|
}) {
|
|
1708
|
-
return /* @__PURE__ */
|
|
1489
|
+
return /* @__PURE__ */ jsx17(ContextMenuPrimitive.Portal, { "data-slot": "context-menu-portal", ...props });
|
|
1709
1490
|
}
|
|
1710
1491
|
function ContextMenuSub({
|
|
1711
1492
|
...props
|
|
1712
1493
|
}) {
|
|
1713
|
-
return /* @__PURE__ */
|
|
1494
|
+
return /* @__PURE__ */ jsx17(ContextMenuPrimitive.Sub, { "data-slot": "context-menu-sub", ...props });
|
|
1714
1495
|
}
|
|
1715
1496
|
function ContextMenuRadioGroup({
|
|
1716
1497
|
...props
|
|
1717
1498
|
}) {
|
|
1718
|
-
return /* @__PURE__ */
|
|
1499
|
+
return /* @__PURE__ */ jsx17(
|
|
1719
1500
|
ContextMenuPrimitive.RadioGroup,
|
|
1720
1501
|
{
|
|
1721
1502
|
"data-slot": "context-menu-radio-group",
|
|
@@ -1729,7 +1510,7 @@ function ContextMenuSubTrigger({
|
|
|
1729
1510
|
children,
|
|
1730
1511
|
...props
|
|
1731
1512
|
}) {
|
|
1732
|
-
return /* @__PURE__ */
|
|
1513
|
+
return /* @__PURE__ */ jsxs7(
|
|
1733
1514
|
ContextMenuPrimitive.SubTrigger,
|
|
1734
1515
|
{
|
|
1735
1516
|
"data-slot": "context-menu-sub-trigger",
|
|
@@ -1741,7 +1522,7 @@ function ContextMenuSubTrigger({
|
|
|
1741
1522
|
...props,
|
|
1742
1523
|
children: [
|
|
1743
1524
|
children,
|
|
1744
|
-
/* @__PURE__ */
|
|
1525
|
+
/* @__PURE__ */ jsx17(ChevronRightIcon2, { className: "ml-auto" })
|
|
1745
1526
|
]
|
|
1746
1527
|
}
|
|
1747
1528
|
);
|
|
@@ -1750,7 +1531,7 @@ function ContextMenuSubContent({
|
|
|
1750
1531
|
className,
|
|
1751
1532
|
...props
|
|
1752
1533
|
}) {
|
|
1753
|
-
return /* @__PURE__ */
|
|
1534
|
+
return /* @__PURE__ */ jsx17(
|
|
1754
1535
|
ContextMenuPrimitive.SubContent,
|
|
1755
1536
|
{
|
|
1756
1537
|
"data-slot": "context-menu-sub-content",
|
|
@@ -1766,7 +1547,7 @@ function ContextMenuContent({
|
|
|
1766
1547
|
className,
|
|
1767
1548
|
...props
|
|
1768
1549
|
}) {
|
|
1769
|
-
return /* @__PURE__ */
|
|
1550
|
+
return /* @__PURE__ */ jsx17(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx17(
|
|
1770
1551
|
ContextMenuPrimitive.Content,
|
|
1771
1552
|
{
|
|
1772
1553
|
"data-slot": "context-menu-content",
|
|
@@ -1784,7 +1565,7 @@ function ContextMenuItem({
|
|
|
1784
1565
|
variant = "default",
|
|
1785
1566
|
...props
|
|
1786
1567
|
}) {
|
|
1787
|
-
return /* @__PURE__ */
|
|
1568
|
+
return /* @__PURE__ */ jsx17(
|
|
1788
1569
|
ContextMenuPrimitive.Item,
|
|
1789
1570
|
{
|
|
1790
1571
|
"data-slot": "context-menu-item",
|
|
@@ -1804,7 +1585,7 @@ function ContextMenuCheckboxItem({
|
|
|
1804
1585
|
checked,
|
|
1805
1586
|
...props
|
|
1806
1587
|
}) {
|
|
1807
|
-
return /* @__PURE__ */
|
|
1588
|
+
return /* @__PURE__ */ jsxs7(
|
|
1808
1589
|
ContextMenuPrimitive.CheckboxItem,
|
|
1809
1590
|
{
|
|
1810
1591
|
"data-slot": "context-menu-checkbox-item",
|
|
@@ -1815,7 +1596,7 @@ function ContextMenuCheckboxItem({
|
|
|
1815
1596
|
checked,
|
|
1816
1597
|
...props,
|
|
1817
1598
|
children: [
|
|
1818
|
-
/* @__PURE__ */
|
|
1599
|
+
/* @__PURE__ */ jsx17("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx17(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx17(CheckIcon2, { className: "size-4" }) }) }),
|
|
1819
1600
|
children
|
|
1820
1601
|
]
|
|
1821
1602
|
}
|
|
@@ -1826,7 +1607,7 @@ function ContextMenuRadioItem({
|
|
|
1826
1607
|
children,
|
|
1827
1608
|
...props
|
|
1828
1609
|
}) {
|
|
1829
|
-
return /* @__PURE__ */
|
|
1610
|
+
return /* @__PURE__ */ jsxs7(
|
|
1830
1611
|
ContextMenuPrimitive.RadioItem,
|
|
1831
1612
|
{
|
|
1832
1613
|
"data-slot": "context-menu-radio-item",
|
|
@@ -1836,7 +1617,7 @@ function ContextMenuRadioItem({
|
|
|
1836
1617
|
),
|
|
1837
1618
|
...props,
|
|
1838
1619
|
children: [
|
|
1839
|
-
/* @__PURE__ */
|
|
1620
|
+
/* @__PURE__ */ jsx17("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx17(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx17(CircleIcon, { className: "size-2 fill-current" }) }) }),
|
|
1840
1621
|
children
|
|
1841
1622
|
]
|
|
1842
1623
|
}
|
|
@@ -1847,7 +1628,7 @@ function ContextMenuLabel({
|
|
|
1847
1628
|
inset,
|
|
1848
1629
|
...props
|
|
1849
1630
|
}) {
|
|
1850
|
-
return /* @__PURE__ */
|
|
1631
|
+
return /* @__PURE__ */ jsx17(
|
|
1851
1632
|
ContextMenuPrimitive.Label,
|
|
1852
1633
|
{
|
|
1853
1634
|
"data-slot": "context-menu-label",
|
|
@@ -1864,7 +1645,7 @@ function ContextMenuSeparator({
|
|
|
1864
1645
|
className,
|
|
1865
1646
|
...props
|
|
1866
1647
|
}) {
|
|
1867
|
-
return /* @__PURE__ */
|
|
1648
|
+
return /* @__PURE__ */ jsx17(
|
|
1868
1649
|
ContextMenuPrimitive.Separator,
|
|
1869
1650
|
{
|
|
1870
1651
|
"data-slot": "context-menu-separator",
|
|
@@ -1877,7 +1658,7 @@ function ContextMenuShortcut({
|
|
|
1877
1658
|
className,
|
|
1878
1659
|
...props
|
|
1879
1660
|
}) {
|
|
1880
|
-
return /* @__PURE__ */
|
|
1661
|
+
return /* @__PURE__ */ jsx17(
|
|
1881
1662
|
"span",
|
|
1882
1663
|
{
|
|
1883
1664
|
"data-slot": "context-menu-shortcut",
|
|
@@ -1892,32 +1673,32 @@ function ContextMenuShortcut({
|
|
|
1892
1673
|
|
|
1893
1674
|
// src/primitives/drawer.tsx
|
|
1894
1675
|
import { Drawer as DrawerPrimitive } from "vaul";
|
|
1895
|
-
import { jsx as
|
|
1676
|
+
import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1896
1677
|
function Drawer({
|
|
1897
1678
|
...props
|
|
1898
1679
|
}) {
|
|
1899
|
-
return /* @__PURE__ */
|
|
1680
|
+
return /* @__PURE__ */ jsx18(DrawerPrimitive.Root, { "data-slot": "drawer", ...props });
|
|
1900
1681
|
}
|
|
1901
1682
|
function DrawerTrigger({
|
|
1902
1683
|
...props
|
|
1903
1684
|
}) {
|
|
1904
|
-
return /* @__PURE__ */
|
|
1685
|
+
return /* @__PURE__ */ jsx18(DrawerPrimitive.Trigger, { "data-slot": "drawer-trigger", ...props });
|
|
1905
1686
|
}
|
|
1906
1687
|
function DrawerPortal({
|
|
1907
1688
|
...props
|
|
1908
1689
|
}) {
|
|
1909
|
-
return /* @__PURE__ */
|
|
1690
|
+
return /* @__PURE__ */ jsx18(DrawerPrimitive.Portal, { "data-slot": "drawer-portal", ...props });
|
|
1910
1691
|
}
|
|
1911
1692
|
function DrawerClose({
|
|
1912
1693
|
...props
|
|
1913
1694
|
}) {
|
|
1914
|
-
return /* @__PURE__ */
|
|
1695
|
+
return /* @__PURE__ */ jsx18(DrawerPrimitive.Close, { "data-slot": "drawer-close", ...props });
|
|
1915
1696
|
}
|
|
1916
1697
|
function DrawerOverlay({
|
|
1917
1698
|
className,
|
|
1918
1699
|
...props
|
|
1919
1700
|
}) {
|
|
1920
|
-
return /* @__PURE__ */
|
|
1701
|
+
return /* @__PURE__ */ jsx18(
|
|
1921
1702
|
DrawerPrimitive.Overlay,
|
|
1922
1703
|
{
|
|
1923
1704
|
"data-slot": "drawer-overlay",
|
|
@@ -1934,9 +1715,9 @@ function DrawerContent({
|
|
|
1934
1715
|
children,
|
|
1935
1716
|
...props
|
|
1936
1717
|
}) {
|
|
1937
|
-
return /* @__PURE__ */
|
|
1938
|
-
/* @__PURE__ */
|
|
1939
|
-
/* @__PURE__ */
|
|
1718
|
+
return /* @__PURE__ */ jsxs8(DrawerPortal, { "data-slot": "drawer-portal", children: [
|
|
1719
|
+
/* @__PURE__ */ jsx18(DrawerOverlay, {}),
|
|
1720
|
+
/* @__PURE__ */ jsxs8(
|
|
1940
1721
|
DrawerPrimitive.Content,
|
|
1941
1722
|
{
|
|
1942
1723
|
"data-slot": "drawer-content",
|
|
@@ -1950,7 +1731,7 @@ function DrawerContent({
|
|
|
1950
1731
|
),
|
|
1951
1732
|
...props,
|
|
1952
1733
|
children: [
|
|
1953
|
-
/* @__PURE__ */
|
|
1734
|
+
/* @__PURE__ */ jsx18("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
|
|
1954
1735
|
children
|
|
1955
1736
|
]
|
|
1956
1737
|
}
|
|
@@ -1958,7 +1739,7 @@ function DrawerContent({
|
|
|
1958
1739
|
] });
|
|
1959
1740
|
}
|
|
1960
1741
|
function DrawerHeader({ className, ...props }) {
|
|
1961
|
-
return /* @__PURE__ */
|
|
1742
|
+
return /* @__PURE__ */ jsx18(
|
|
1962
1743
|
"div",
|
|
1963
1744
|
{
|
|
1964
1745
|
"data-slot": "drawer-header",
|
|
@@ -1971,7 +1752,7 @@ function DrawerHeader({ className, ...props }) {
|
|
|
1971
1752
|
);
|
|
1972
1753
|
}
|
|
1973
1754
|
function DrawerFooter({ className, ...props }) {
|
|
1974
|
-
return /* @__PURE__ */
|
|
1755
|
+
return /* @__PURE__ */ jsx18(
|
|
1975
1756
|
"div",
|
|
1976
1757
|
{
|
|
1977
1758
|
"data-slot": "drawer-footer",
|
|
@@ -1984,7 +1765,7 @@ function DrawerTitle({
|
|
|
1984
1765
|
className,
|
|
1985
1766
|
...props
|
|
1986
1767
|
}) {
|
|
1987
|
-
return /* @__PURE__ */
|
|
1768
|
+
return /* @__PURE__ */ jsx18(
|
|
1988
1769
|
DrawerPrimitive.Title,
|
|
1989
1770
|
{
|
|
1990
1771
|
"data-slot": "drawer-title",
|
|
@@ -1997,7 +1778,7 @@ function DrawerDescription({
|
|
|
1997
1778
|
className,
|
|
1998
1779
|
...props
|
|
1999
1780
|
}) {
|
|
2000
|
-
return /* @__PURE__ */
|
|
1781
|
+
return /* @__PURE__ */ jsx18(
|
|
2001
1782
|
DrawerPrimitive.Description,
|
|
2002
1783
|
{
|
|
2003
1784
|
"data-slot": "drawer-description",
|
|
@@ -2010,21 +1791,21 @@ function DrawerDescription({
|
|
|
2010
1791
|
// src/primitives/dropdown-menu.tsx
|
|
2011
1792
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
2012
1793
|
import { CheckIcon as CheckIcon3, ChevronRightIcon as ChevronRightIcon3, CircleIcon as CircleIcon2 } from "lucide-react";
|
|
2013
|
-
import { jsx as
|
|
1794
|
+
import { jsx as jsx19, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2014
1795
|
function DropdownMenu({
|
|
2015
1796
|
...props
|
|
2016
1797
|
}) {
|
|
2017
|
-
return /* @__PURE__ */
|
|
1798
|
+
return /* @__PURE__ */ jsx19(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
|
|
2018
1799
|
}
|
|
2019
1800
|
function DropdownMenuPortal({
|
|
2020
1801
|
...props
|
|
2021
1802
|
}) {
|
|
2022
|
-
return /* @__PURE__ */
|
|
1803
|
+
return /* @__PURE__ */ jsx19(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
|
|
2023
1804
|
}
|
|
2024
1805
|
function DropdownMenuTrigger({
|
|
2025
1806
|
...props
|
|
2026
1807
|
}) {
|
|
2027
|
-
return /* @__PURE__ */
|
|
1808
|
+
return /* @__PURE__ */ jsx19(
|
|
2028
1809
|
DropdownMenuPrimitive.Trigger,
|
|
2029
1810
|
{
|
|
2030
1811
|
"data-slot": "dropdown-menu-trigger",
|
|
@@ -2037,7 +1818,7 @@ function DropdownMenuContent({
|
|
|
2037
1818
|
sideOffset = 4,
|
|
2038
1819
|
...props
|
|
2039
1820
|
}) {
|
|
2040
|
-
return /* @__PURE__ */
|
|
1821
|
+
return /* @__PURE__ */ jsx19(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx19(
|
|
2041
1822
|
DropdownMenuPrimitive.Content,
|
|
2042
1823
|
{
|
|
2043
1824
|
"data-slot": "dropdown-menu-content",
|
|
@@ -2053,7 +1834,7 @@ function DropdownMenuContent({
|
|
|
2053
1834
|
function DropdownMenuGroup({
|
|
2054
1835
|
...props
|
|
2055
1836
|
}) {
|
|
2056
|
-
return /* @__PURE__ */
|
|
1837
|
+
return /* @__PURE__ */ jsx19(DropdownMenuPrimitive.Group, { "data-slot": "dropdown-menu-group", ...props });
|
|
2057
1838
|
}
|
|
2058
1839
|
function DropdownMenuItem({
|
|
2059
1840
|
className,
|
|
@@ -2061,7 +1842,7 @@ function DropdownMenuItem({
|
|
|
2061
1842
|
variant = "default",
|
|
2062
1843
|
...props
|
|
2063
1844
|
}) {
|
|
2064
|
-
return /* @__PURE__ */
|
|
1845
|
+
return /* @__PURE__ */ jsx19(
|
|
2065
1846
|
DropdownMenuPrimitive.Item,
|
|
2066
1847
|
{
|
|
2067
1848
|
"data-slot": "dropdown-menu-item",
|
|
@@ -2081,7 +1862,7 @@ function DropdownMenuCheckboxItem({
|
|
|
2081
1862
|
checked,
|
|
2082
1863
|
...props
|
|
2083
1864
|
}) {
|
|
2084
|
-
return /* @__PURE__ */
|
|
1865
|
+
return /* @__PURE__ */ jsxs9(
|
|
2085
1866
|
DropdownMenuPrimitive.CheckboxItem,
|
|
2086
1867
|
{
|
|
2087
1868
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
@@ -2092,7 +1873,7 @@ function DropdownMenuCheckboxItem({
|
|
|
2092
1873
|
checked,
|
|
2093
1874
|
...props,
|
|
2094
1875
|
children: [
|
|
2095
|
-
/* @__PURE__ */
|
|
1876
|
+
/* @__PURE__ */ jsx19("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx19(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx19(CheckIcon3, { className: "size-4" }) }) }),
|
|
2096
1877
|
children
|
|
2097
1878
|
]
|
|
2098
1879
|
}
|
|
@@ -2101,7 +1882,7 @@ function DropdownMenuCheckboxItem({
|
|
|
2101
1882
|
function DropdownMenuRadioGroup({
|
|
2102
1883
|
...props
|
|
2103
1884
|
}) {
|
|
2104
|
-
return /* @__PURE__ */
|
|
1885
|
+
return /* @__PURE__ */ jsx19(
|
|
2105
1886
|
DropdownMenuPrimitive.RadioGroup,
|
|
2106
1887
|
{
|
|
2107
1888
|
"data-slot": "dropdown-menu-radio-group",
|
|
@@ -2114,7 +1895,7 @@ function DropdownMenuRadioItem({
|
|
|
2114
1895
|
children,
|
|
2115
1896
|
...props
|
|
2116
1897
|
}) {
|
|
2117
|
-
return /* @__PURE__ */
|
|
1898
|
+
return /* @__PURE__ */ jsxs9(
|
|
2118
1899
|
DropdownMenuPrimitive.RadioItem,
|
|
2119
1900
|
{
|
|
2120
1901
|
"data-slot": "dropdown-menu-radio-item",
|
|
@@ -2124,7 +1905,7 @@ function DropdownMenuRadioItem({
|
|
|
2124
1905
|
),
|
|
2125
1906
|
...props,
|
|
2126
1907
|
children: [
|
|
2127
|
-
/* @__PURE__ */
|
|
1908
|
+
/* @__PURE__ */ jsx19("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx19(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx19(CircleIcon2, { className: "size-2 fill-current" }) }) }),
|
|
2128
1909
|
children
|
|
2129
1910
|
]
|
|
2130
1911
|
}
|
|
@@ -2135,7 +1916,7 @@ function DropdownMenuLabel({
|
|
|
2135
1916
|
inset,
|
|
2136
1917
|
...props
|
|
2137
1918
|
}) {
|
|
2138
|
-
return /* @__PURE__ */
|
|
1919
|
+
return /* @__PURE__ */ jsx19(
|
|
2139
1920
|
DropdownMenuPrimitive.Label,
|
|
2140
1921
|
{
|
|
2141
1922
|
"data-slot": "dropdown-menu-label",
|
|
@@ -2152,7 +1933,7 @@ function DropdownMenuSeparator({
|
|
|
2152
1933
|
className,
|
|
2153
1934
|
...props
|
|
2154
1935
|
}) {
|
|
2155
|
-
return /* @__PURE__ */
|
|
1936
|
+
return /* @__PURE__ */ jsx19(
|
|
2156
1937
|
DropdownMenuPrimitive.Separator,
|
|
2157
1938
|
{
|
|
2158
1939
|
"data-slot": "dropdown-menu-separator",
|
|
@@ -2165,7 +1946,7 @@ function DropdownMenuShortcut({
|
|
|
2165
1946
|
className,
|
|
2166
1947
|
...props
|
|
2167
1948
|
}) {
|
|
2168
|
-
return /* @__PURE__ */
|
|
1949
|
+
return /* @__PURE__ */ jsx19(
|
|
2169
1950
|
"span",
|
|
2170
1951
|
{
|
|
2171
1952
|
"data-slot": "dropdown-menu-shortcut",
|
|
@@ -2180,7 +1961,7 @@ function DropdownMenuShortcut({
|
|
|
2180
1961
|
function DropdownMenuSub({
|
|
2181
1962
|
...props
|
|
2182
1963
|
}) {
|
|
2183
|
-
return /* @__PURE__ */
|
|
1964
|
+
return /* @__PURE__ */ jsx19(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
|
|
2184
1965
|
}
|
|
2185
1966
|
function DropdownMenuSubTrigger({
|
|
2186
1967
|
className,
|
|
@@ -2188,7 +1969,7 @@ function DropdownMenuSubTrigger({
|
|
|
2188
1969
|
children,
|
|
2189
1970
|
...props
|
|
2190
1971
|
}) {
|
|
2191
|
-
return /* @__PURE__ */
|
|
1972
|
+
return /* @__PURE__ */ jsxs9(
|
|
2192
1973
|
DropdownMenuPrimitive.SubTrigger,
|
|
2193
1974
|
{
|
|
2194
1975
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
@@ -2200,7 +1981,7 @@ function DropdownMenuSubTrigger({
|
|
|
2200
1981
|
...props,
|
|
2201
1982
|
children: [
|
|
2202
1983
|
children,
|
|
2203
|
-
/* @__PURE__ */
|
|
1984
|
+
/* @__PURE__ */ jsx19(ChevronRightIcon3, { className: "ml-auto size-4" })
|
|
2204
1985
|
]
|
|
2205
1986
|
}
|
|
2206
1987
|
);
|
|
@@ -2209,7 +1990,7 @@ function DropdownMenuSubContent({
|
|
|
2209
1990
|
className,
|
|
2210
1991
|
...props
|
|
2211
1992
|
}) {
|
|
2212
|
-
return /* @__PURE__ */
|
|
1993
|
+
return /* @__PURE__ */ jsx19(
|
|
2213
1994
|
DropdownMenuPrimitive.SubContent,
|
|
2214
1995
|
{
|
|
2215
1996
|
"data-slot": "dropdown-menu-sub-content",
|
|
@@ -2223,10 +2004,10 @@ function DropdownMenuSubContent({
|
|
|
2223
2004
|
}
|
|
2224
2005
|
|
|
2225
2006
|
// src/primitives/empty.tsx
|
|
2226
|
-
import { cva as
|
|
2227
|
-
import { jsx as
|
|
2007
|
+
import { cva as cva4 } from "class-variance-authority";
|
|
2008
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
2228
2009
|
function Empty({ className, ...props }) {
|
|
2229
|
-
return /* @__PURE__ */
|
|
2010
|
+
return /* @__PURE__ */ jsx20(
|
|
2230
2011
|
"div",
|
|
2231
2012
|
{
|
|
2232
2013
|
"data-slot": "empty",
|
|
@@ -2239,7 +2020,7 @@ function Empty({ className, ...props }) {
|
|
|
2239
2020
|
);
|
|
2240
2021
|
}
|
|
2241
2022
|
function EmptyHeader({ className, ...props }) {
|
|
2242
|
-
return /* @__PURE__ */
|
|
2023
|
+
return /* @__PURE__ */ jsx20(
|
|
2243
2024
|
"div",
|
|
2244
2025
|
{
|
|
2245
2026
|
"data-slot": "empty-header",
|
|
@@ -2251,7 +2032,7 @@ function EmptyHeader({ className, ...props }) {
|
|
|
2251
2032
|
}
|
|
2252
2033
|
);
|
|
2253
2034
|
}
|
|
2254
|
-
var emptyMediaVariants =
|
|
2035
|
+
var emptyMediaVariants = cva4(
|
|
2255
2036
|
"flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
2256
2037
|
{
|
|
2257
2038
|
variants: {
|
|
@@ -2270,7 +2051,7 @@ function EmptyMedia({
|
|
|
2270
2051
|
variant = "default",
|
|
2271
2052
|
...props
|
|
2272
2053
|
}) {
|
|
2273
|
-
return /* @__PURE__ */
|
|
2054
|
+
return /* @__PURE__ */ jsx20(
|
|
2274
2055
|
"div",
|
|
2275
2056
|
{
|
|
2276
2057
|
"data-slot": "empty-icon",
|
|
@@ -2281,7 +2062,7 @@ function EmptyMedia({
|
|
|
2281
2062
|
);
|
|
2282
2063
|
}
|
|
2283
2064
|
function EmptyTitle({ className, ...props }) {
|
|
2284
|
-
return /* @__PURE__ */
|
|
2065
|
+
return /* @__PURE__ */ jsx20(
|
|
2285
2066
|
"div",
|
|
2286
2067
|
{
|
|
2287
2068
|
"data-slot": "empty-title",
|
|
@@ -2291,7 +2072,7 @@ function EmptyTitle({ className, ...props }) {
|
|
|
2291
2072
|
);
|
|
2292
2073
|
}
|
|
2293
2074
|
function EmptyDescription({ className, ...props }) {
|
|
2294
|
-
return /* @__PURE__ */
|
|
2075
|
+
return /* @__PURE__ */ jsx20(
|
|
2295
2076
|
"div",
|
|
2296
2077
|
{
|
|
2297
2078
|
"data-slot": "empty-description",
|
|
@@ -2304,7 +2085,7 @@ function EmptyDescription({ className, ...props }) {
|
|
|
2304
2085
|
);
|
|
2305
2086
|
}
|
|
2306
2087
|
function EmptyContent({ className, ...props }) {
|
|
2307
|
-
return /* @__PURE__ */
|
|
2088
|
+
return /* @__PURE__ */ jsx20(
|
|
2308
2089
|
"div",
|
|
2309
2090
|
{
|
|
2310
2091
|
"data-slot": "empty-content",
|
|
@@ -2318,33 +2099,11 @@ function EmptyContent({ className, ...props }) {
|
|
|
2318
2099
|
}
|
|
2319
2100
|
|
|
2320
2101
|
// src/primitives/field.tsx
|
|
2321
|
-
import { useMemo as
|
|
2322
|
-
import { cva as
|
|
2323
|
-
|
|
2324
|
-
// src/primitives/label.tsx
|
|
2325
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
2326
|
-
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2327
|
-
function Label3({
|
|
2328
|
-
className,
|
|
2329
|
-
...props
|
|
2330
|
-
}) {
|
|
2331
|
-
return /* @__PURE__ */ jsx23(
|
|
2332
|
-
LabelPrimitive.Root,
|
|
2333
|
-
{
|
|
2334
|
-
"data-slot": "label",
|
|
2335
|
-
className: cn(
|
|
2336
|
-
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
2337
|
-
className
|
|
2338
|
-
),
|
|
2339
|
-
...props
|
|
2340
|
-
}
|
|
2341
|
-
);
|
|
2342
|
-
}
|
|
2343
|
-
|
|
2344
|
-
// src/primitives/field.tsx
|
|
2345
|
-
import { jsx as jsx24, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2102
|
+
import { useMemo as useMemo2 } from "react";
|
|
2103
|
+
import { cva as cva5 } from "class-variance-authority";
|
|
2104
|
+
import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2346
2105
|
function FieldSet({ className, ...props }) {
|
|
2347
|
-
return /* @__PURE__ */
|
|
2106
|
+
return /* @__PURE__ */ jsx21(
|
|
2348
2107
|
"fieldset",
|
|
2349
2108
|
{
|
|
2350
2109
|
"data-slot": "field-set",
|
|
@@ -2362,7 +2121,7 @@ function FieldLegend({
|
|
|
2362
2121
|
variant = "legend",
|
|
2363
2122
|
...props
|
|
2364
2123
|
}) {
|
|
2365
|
-
return /* @__PURE__ */
|
|
2124
|
+
return /* @__PURE__ */ jsx21(
|
|
2366
2125
|
"legend",
|
|
2367
2126
|
{
|
|
2368
2127
|
"data-slot": "field-legend",
|
|
@@ -2378,7 +2137,7 @@ function FieldLegend({
|
|
|
2378
2137
|
);
|
|
2379
2138
|
}
|
|
2380
2139
|
function FieldGroup({ className, ...props }) {
|
|
2381
|
-
return /* @__PURE__ */
|
|
2140
|
+
return /* @__PURE__ */ jsx21(
|
|
2382
2141
|
"div",
|
|
2383
2142
|
{
|
|
2384
2143
|
"data-slot": "field-group",
|
|
@@ -2390,7 +2149,7 @@ function FieldGroup({ className, ...props }) {
|
|
|
2390
2149
|
}
|
|
2391
2150
|
);
|
|
2392
2151
|
}
|
|
2393
|
-
var fieldVariants =
|
|
2152
|
+
var fieldVariants = cva5(
|
|
2394
2153
|
"group/field flex w-full gap-3 data-[invalid=true]:text-destructive",
|
|
2395
2154
|
{
|
|
2396
2155
|
variants: {
|
|
@@ -2418,7 +2177,7 @@ function Field({
|
|
|
2418
2177
|
orientation = "vertical",
|
|
2419
2178
|
...props
|
|
2420
2179
|
}) {
|
|
2421
|
-
return /* @__PURE__ */
|
|
2180
|
+
return /* @__PURE__ */ jsx21(
|
|
2422
2181
|
"div",
|
|
2423
2182
|
{
|
|
2424
2183
|
role: "group",
|
|
@@ -2430,7 +2189,7 @@ function Field({
|
|
|
2430
2189
|
);
|
|
2431
2190
|
}
|
|
2432
2191
|
function FieldContent({ className, ...props }) {
|
|
2433
|
-
return /* @__PURE__ */
|
|
2192
|
+
return /* @__PURE__ */ jsx21(
|
|
2434
2193
|
"div",
|
|
2435
2194
|
{
|
|
2436
2195
|
"data-slot": "field-content",
|
|
@@ -2446,8 +2205,8 @@ function FieldLabel({
|
|
|
2446
2205
|
className,
|
|
2447
2206
|
...props
|
|
2448
2207
|
}) {
|
|
2449
|
-
return /* @__PURE__ */
|
|
2450
|
-
|
|
2208
|
+
return /* @__PURE__ */ jsx21(
|
|
2209
|
+
Label,
|
|
2451
2210
|
{
|
|
2452
2211
|
"data-slot": "field-label",
|
|
2453
2212
|
className: cn(
|
|
@@ -2461,7 +2220,7 @@ function FieldLabel({
|
|
|
2461
2220
|
);
|
|
2462
2221
|
}
|
|
2463
2222
|
function FieldTitle({ className, ...props }) {
|
|
2464
|
-
return /* @__PURE__ */
|
|
2223
|
+
return /* @__PURE__ */ jsx21(
|
|
2465
2224
|
"div",
|
|
2466
2225
|
{
|
|
2467
2226
|
"data-slot": "field-label",
|
|
@@ -2474,7 +2233,7 @@ function FieldTitle({ className, ...props }) {
|
|
|
2474
2233
|
);
|
|
2475
2234
|
}
|
|
2476
2235
|
function FieldDescription({ className, ...props }) {
|
|
2477
|
-
return /* @__PURE__ */
|
|
2236
|
+
return /* @__PURE__ */ jsx21(
|
|
2478
2237
|
"p",
|
|
2479
2238
|
{
|
|
2480
2239
|
"data-slot": "field-description",
|
|
@@ -2493,7 +2252,7 @@ function FieldSeparator({
|
|
|
2493
2252
|
className,
|
|
2494
2253
|
...props
|
|
2495
2254
|
}) {
|
|
2496
|
-
return /* @__PURE__ */
|
|
2255
|
+
return /* @__PURE__ */ jsxs10(
|
|
2497
2256
|
"div",
|
|
2498
2257
|
{
|
|
2499
2258
|
"data-slot": "field-separator",
|
|
@@ -2504,8 +2263,8 @@ function FieldSeparator({
|
|
|
2504
2263
|
),
|
|
2505
2264
|
...props,
|
|
2506
2265
|
children: [
|
|
2507
|
-
/* @__PURE__ */
|
|
2508
|
-
children && /* @__PURE__ */
|
|
2266
|
+
/* @__PURE__ */ jsx21(Separator, { className: "absolute inset-0 top-1/2" }),
|
|
2267
|
+
children && /* @__PURE__ */ jsx21(
|
|
2509
2268
|
"span",
|
|
2510
2269
|
{
|
|
2511
2270
|
className: "bg-background text-muted-foreground relative mx-auto block w-fit px-2",
|
|
@@ -2523,7 +2282,7 @@ function FieldError({
|
|
|
2523
2282
|
errors,
|
|
2524
2283
|
...props
|
|
2525
2284
|
}) {
|
|
2526
|
-
const content =
|
|
2285
|
+
const content = useMemo2(() => {
|
|
2527
2286
|
if (children) {
|
|
2528
2287
|
return children;
|
|
2529
2288
|
}
|
|
@@ -2533,14 +2292,14 @@ function FieldError({
|
|
|
2533
2292
|
if (errors?.length === 1 && errors[0]?.message) {
|
|
2534
2293
|
return errors[0].message;
|
|
2535
2294
|
}
|
|
2536
|
-
return /* @__PURE__ */
|
|
2537
|
-
(error, index) => error?.message && /* @__PURE__ */
|
|
2295
|
+
return /* @__PURE__ */ jsx21("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: errors.map(
|
|
2296
|
+
(error, index) => error?.message && /* @__PURE__ */ jsx21("li", { children: error.message }, index)
|
|
2538
2297
|
) });
|
|
2539
2298
|
}, [children, errors]);
|
|
2540
2299
|
if (!content) {
|
|
2541
2300
|
return null;
|
|
2542
2301
|
}
|
|
2543
|
-
return /* @__PURE__ */
|
|
2302
|
+
return /* @__PURE__ */ jsx21(
|
|
2544
2303
|
"div",
|
|
2545
2304
|
{
|
|
2546
2305
|
role: "alert",
|
|
@@ -2553,27 +2312,27 @@ function FieldError({
|
|
|
2553
2312
|
}
|
|
2554
2313
|
|
|
2555
2314
|
// src/primitives/form.tsx
|
|
2556
|
-
import * as
|
|
2557
|
-
import { Slot as
|
|
2315
|
+
import * as React4 from "react";
|
|
2316
|
+
import { Slot as Slot4 } from "@radix-ui/react-slot";
|
|
2558
2317
|
import {
|
|
2559
2318
|
Controller,
|
|
2560
2319
|
FormProvider,
|
|
2561
2320
|
useFormContext,
|
|
2562
2321
|
useFormState
|
|
2563
2322
|
} from "react-hook-form";
|
|
2564
|
-
import { jsx as
|
|
2323
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
2565
2324
|
var Form = FormProvider;
|
|
2566
|
-
var FormFieldContext =
|
|
2325
|
+
var FormFieldContext = React4.createContext(
|
|
2567
2326
|
{}
|
|
2568
2327
|
);
|
|
2569
2328
|
var FormField = ({
|
|
2570
2329
|
...props
|
|
2571
2330
|
}) => {
|
|
2572
|
-
return /* @__PURE__ */
|
|
2331
|
+
return /* @__PURE__ */ jsx22(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx22(Controller, { ...props }) });
|
|
2573
2332
|
};
|
|
2574
2333
|
var useFormField = () => {
|
|
2575
|
-
const fieldContext =
|
|
2576
|
-
const itemContext =
|
|
2334
|
+
const fieldContext = React4.useContext(FormFieldContext);
|
|
2335
|
+
const itemContext = React4.useContext(FormItemContext);
|
|
2577
2336
|
const { getFieldState } = useFormContext();
|
|
2578
2337
|
const formState = useFormState({ name: fieldContext.name });
|
|
2579
2338
|
const fieldState = getFieldState(fieldContext.name, formState);
|
|
@@ -2590,12 +2349,12 @@ var useFormField = () => {
|
|
|
2590
2349
|
...fieldState
|
|
2591
2350
|
};
|
|
2592
2351
|
};
|
|
2593
|
-
var FormItemContext =
|
|
2352
|
+
var FormItemContext = React4.createContext(
|
|
2594
2353
|
{}
|
|
2595
2354
|
);
|
|
2596
2355
|
function FormItem({ className, ...props }) {
|
|
2597
|
-
const id =
|
|
2598
|
-
return /* @__PURE__ */
|
|
2356
|
+
const id = React4.useId();
|
|
2357
|
+
return /* @__PURE__ */ jsx22(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx22(
|
|
2599
2358
|
"div",
|
|
2600
2359
|
{
|
|
2601
2360
|
"data-slot": "form-item",
|
|
@@ -2609,8 +2368,8 @@ function FormLabel({
|
|
|
2609
2368
|
...props
|
|
2610
2369
|
}) {
|
|
2611
2370
|
const { error, formItemId } = useFormField();
|
|
2612
|
-
return /* @__PURE__ */
|
|
2613
|
-
|
|
2371
|
+
return /* @__PURE__ */ jsx22(
|
|
2372
|
+
Label,
|
|
2614
2373
|
{
|
|
2615
2374
|
"data-slot": "form-label",
|
|
2616
2375
|
"data-error": !!error,
|
|
@@ -2622,8 +2381,8 @@ function FormLabel({
|
|
|
2622
2381
|
}
|
|
2623
2382
|
function FormControl({ ...props }) {
|
|
2624
2383
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
2625
|
-
return /* @__PURE__ */
|
|
2626
|
-
|
|
2384
|
+
return /* @__PURE__ */ jsx22(
|
|
2385
|
+
Slot4,
|
|
2627
2386
|
{
|
|
2628
2387
|
"data-slot": "form-control",
|
|
2629
2388
|
id: formItemId,
|
|
@@ -2635,7 +2394,7 @@ function FormControl({ ...props }) {
|
|
|
2635
2394
|
}
|
|
2636
2395
|
function FormDescription({ className, ...props }) {
|
|
2637
2396
|
const { formDescriptionId } = useFormField();
|
|
2638
|
-
return /* @__PURE__ */
|
|
2397
|
+
return /* @__PURE__ */ jsx22(
|
|
2639
2398
|
"p",
|
|
2640
2399
|
{
|
|
2641
2400
|
"data-slot": "form-description",
|
|
@@ -2651,7 +2410,7 @@ function FormMessage({ className, ...props }) {
|
|
|
2651
2410
|
if (!body) {
|
|
2652
2411
|
return null;
|
|
2653
2412
|
}
|
|
2654
|
-
return /* @__PURE__ */
|
|
2413
|
+
return /* @__PURE__ */ jsx22(
|
|
2655
2414
|
"p",
|
|
2656
2415
|
{
|
|
2657
2416
|
"data-slot": "form-message",
|
|
@@ -2665,16 +2424,16 @@ function FormMessage({ className, ...props }) {
|
|
|
2665
2424
|
|
|
2666
2425
|
// src/primitives/hover-card.tsx
|
|
2667
2426
|
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
|
|
2668
|
-
import { jsx as
|
|
2427
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2669
2428
|
function HoverCard({
|
|
2670
2429
|
...props
|
|
2671
2430
|
}) {
|
|
2672
|
-
return /* @__PURE__ */
|
|
2431
|
+
return /* @__PURE__ */ jsx23(HoverCardPrimitive.Root, { "data-slot": "hover-card", ...props });
|
|
2673
2432
|
}
|
|
2674
2433
|
function HoverCardTrigger({
|
|
2675
2434
|
...props
|
|
2676
2435
|
}) {
|
|
2677
|
-
return /* @__PURE__ */
|
|
2436
|
+
return /* @__PURE__ */ jsx23(HoverCardPrimitive.Trigger, { "data-slot": "hover-card-trigger", ...props });
|
|
2678
2437
|
}
|
|
2679
2438
|
function HoverCardContent({
|
|
2680
2439
|
className,
|
|
@@ -2682,7 +2441,7 @@ function HoverCardContent({
|
|
|
2682
2441
|
sideOffset = 4,
|
|
2683
2442
|
...props
|
|
2684
2443
|
}) {
|
|
2685
|
-
return /* @__PURE__ */
|
|
2444
|
+
return /* @__PURE__ */ jsx23(HoverCardPrimitive.Portal, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ jsx23(
|
|
2686
2445
|
HoverCardPrimitive.Content,
|
|
2687
2446
|
{
|
|
2688
2447
|
"data-slot": "hover-card-content",
|
|
@@ -2698,14 +2457,14 @@ function HoverCardContent({
|
|
|
2698
2457
|
}
|
|
2699
2458
|
|
|
2700
2459
|
// src/primitives/useComposition.ts
|
|
2701
|
-
import { useRef as
|
|
2460
|
+
import { useRef as useRef3 } from "react";
|
|
2702
2461
|
|
|
2703
2462
|
// src/primitives/usePersistFn.ts
|
|
2704
|
-
import { useRef as
|
|
2463
|
+
import { useRef as useRef2 } from "react";
|
|
2705
2464
|
function usePersistFn(fn) {
|
|
2706
|
-
const fnRef =
|
|
2465
|
+
const fnRef = useRef2(fn);
|
|
2707
2466
|
fnRef.current = fn;
|
|
2708
|
-
const persistFn =
|
|
2467
|
+
const persistFn = useRef2(null);
|
|
2709
2468
|
if (!persistFn.current) {
|
|
2710
2469
|
persistFn.current = function(...args) {
|
|
2711
2470
|
return fnRef.current.apply(this, args);
|
|
@@ -2721,9 +2480,9 @@ function useComposition(options = {}) {
|
|
|
2721
2480
|
onCompositionStart: originalOnCompositionStart,
|
|
2722
2481
|
onCompositionEnd: originalOnCompositionEnd
|
|
2723
2482
|
} = options;
|
|
2724
|
-
const c =
|
|
2725
|
-
const timer =
|
|
2726
|
-
const timer2 =
|
|
2483
|
+
const c = useRef3(false);
|
|
2484
|
+
const timer = useRef3(null);
|
|
2485
|
+
const timer2 = useRef3(null);
|
|
2727
2486
|
const onCompositionStart = usePersistFn((e) => {
|
|
2728
2487
|
if (timer.current) {
|
|
2729
2488
|
clearTimeout(timer.current);
|
|
@@ -2763,7 +2522,7 @@ function useComposition(options = {}) {
|
|
|
2763
2522
|
}
|
|
2764
2523
|
|
|
2765
2524
|
// src/primitives/input.tsx
|
|
2766
|
-
import { jsx as
|
|
2525
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
2767
2526
|
function Input({
|
|
2768
2527
|
className,
|
|
2769
2528
|
type,
|
|
@@ -2797,7 +2556,7 @@ function Input({
|
|
|
2797
2556
|
onCompositionEnd?.(e);
|
|
2798
2557
|
}
|
|
2799
2558
|
});
|
|
2800
|
-
return /* @__PURE__ */
|
|
2559
|
+
return /* @__PURE__ */ jsx24(
|
|
2801
2560
|
"input",
|
|
2802
2561
|
{
|
|
2803
2562
|
type,
|
|
@@ -2817,10 +2576,10 @@ function Input({
|
|
|
2817
2576
|
}
|
|
2818
2577
|
|
|
2819
2578
|
// src/primitives/input-group.tsx
|
|
2820
|
-
import { cva as
|
|
2579
|
+
import { cva as cva6 } from "class-variance-authority";
|
|
2821
2580
|
|
|
2822
2581
|
// src/primitives/textarea.tsx
|
|
2823
|
-
import { jsx as
|
|
2582
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
2824
2583
|
function Textarea({
|
|
2825
2584
|
className,
|
|
2826
2585
|
onKeyDown,
|
|
@@ -2853,7 +2612,7 @@ function Textarea({
|
|
|
2853
2612
|
onCompositionEnd?.(e);
|
|
2854
2613
|
}
|
|
2855
2614
|
});
|
|
2856
|
-
return /* @__PURE__ */
|
|
2615
|
+
return /* @__PURE__ */ jsx25(
|
|
2857
2616
|
"textarea",
|
|
2858
2617
|
{
|
|
2859
2618
|
"data-slot": "textarea",
|
|
@@ -2870,9 +2629,9 @@ function Textarea({
|
|
|
2870
2629
|
}
|
|
2871
2630
|
|
|
2872
2631
|
// src/primitives/input-group.tsx
|
|
2873
|
-
import { jsx as
|
|
2632
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
2874
2633
|
function InputGroup({ className, ...props }) {
|
|
2875
|
-
return /* @__PURE__ */
|
|
2634
|
+
return /* @__PURE__ */ jsx26(
|
|
2876
2635
|
"div",
|
|
2877
2636
|
{
|
|
2878
2637
|
"data-slot": "input-group",
|
|
@@ -2895,7 +2654,7 @@ function InputGroup({ className, ...props }) {
|
|
|
2895
2654
|
}
|
|
2896
2655
|
);
|
|
2897
2656
|
}
|
|
2898
|
-
var inputGroupAddonVariants =
|
|
2657
|
+
var inputGroupAddonVariants = cva6(
|
|
2899
2658
|
"text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none [&>svg:not([class*='size-'])]:size-4 [&>kbd]:rounded-[calc(var(--radius)-5px)] group-data-[disabled=true]/input-group:opacity-50",
|
|
2900
2659
|
{
|
|
2901
2660
|
variants: {
|
|
@@ -2916,7 +2675,7 @@ function InputGroupAddon({
|
|
|
2916
2675
|
align = "inline-start",
|
|
2917
2676
|
...props
|
|
2918
2677
|
}) {
|
|
2919
|
-
return /* @__PURE__ */
|
|
2678
|
+
return /* @__PURE__ */ jsx26(
|
|
2920
2679
|
"div",
|
|
2921
2680
|
{
|
|
2922
2681
|
role: "group",
|
|
@@ -2933,7 +2692,7 @@ function InputGroupAddon({
|
|
|
2933
2692
|
}
|
|
2934
2693
|
);
|
|
2935
2694
|
}
|
|
2936
|
-
var inputGroupButtonVariants =
|
|
2695
|
+
var inputGroupButtonVariants = cva6(
|
|
2937
2696
|
"text-sm shadow-none flex gap-2 items-center",
|
|
2938
2697
|
{
|
|
2939
2698
|
variants: {
|
|
@@ -2956,7 +2715,7 @@ function InputGroupButton({
|
|
|
2956
2715
|
size = "xs",
|
|
2957
2716
|
...props
|
|
2958
2717
|
}) {
|
|
2959
|
-
return /* @__PURE__ */
|
|
2718
|
+
return /* @__PURE__ */ jsx26(
|
|
2960
2719
|
Button,
|
|
2961
2720
|
{
|
|
2962
2721
|
type,
|
|
@@ -2968,7 +2727,7 @@ function InputGroupButton({
|
|
|
2968
2727
|
);
|
|
2969
2728
|
}
|
|
2970
2729
|
function InputGroupText({ className, ...props }) {
|
|
2971
|
-
return /* @__PURE__ */
|
|
2730
|
+
return /* @__PURE__ */ jsx26(
|
|
2972
2731
|
"span",
|
|
2973
2732
|
{
|
|
2974
2733
|
className: cn(
|
|
@@ -2983,7 +2742,7 @@ function InputGroupInput({
|
|
|
2983
2742
|
className,
|
|
2984
2743
|
...props
|
|
2985
2744
|
}) {
|
|
2986
|
-
return /* @__PURE__ */
|
|
2745
|
+
return /* @__PURE__ */ jsx26(
|
|
2987
2746
|
Input,
|
|
2988
2747
|
{
|
|
2989
2748
|
"data-slot": "input-group-control",
|
|
@@ -2999,7 +2758,7 @@ function InputGroupTextarea({
|
|
|
2999
2758
|
className,
|
|
3000
2759
|
...props
|
|
3001
2760
|
}) {
|
|
3002
|
-
return /* @__PURE__ */
|
|
2761
|
+
return /* @__PURE__ */ jsx26(
|
|
3003
2762
|
Textarea,
|
|
3004
2763
|
{
|
|
3005
2764
|
"data-slot": "input-group-control",
|
|
@@ -3013,16 +2772,16 @@ function InputGroupTextarea({
|
|
|
3013
2772
|
}
|
|
3014
2773
|
|
|
3015
2774
|
// src/primitives/input-otp.tsx
|
|
3016
|
-
import * as
|
|
2775
|
+
import * as React5 from "react";
|
|
3017
2776
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
3018
2777
|
import { MinusIcon } from "lucide-react";
|
|
3019
|
-
import { jsx as
|
|
2778
|
+
import { jsx as jsx27, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
3020
2779
|
function InputOTP({
|
|
3021
2780
|
className,
|
|
3022
2781
|
containerClassName,
|
|
3023
2782
|
...props
|
|
3024
2783
|
}) {
|
|
3025
|
-
return /* @__PURE__ */
|
|
2784
|
+
return /* @__PURE__ */ jsx27(
|
|
3026
2785
|
OTPInput,
|
|
3027
2786
|
{
|
|
3028
2787
|
"data-slot": "input-otp",
|
|
@@ -3036,7 +2795,7 @@ function InputOTP({
|
|
|
3036
2795
|
);
|
|
3037
2796
|
}
|
|
3038
2797
|
function InputOTPGroup({ className, ...props }) {
|
|
3039
|
-
return /* @__PURE__ */
|
|
2798
|
+
return /* @__PURE__ */ jsx27(
|
|
3040
2799
|
"div",
|
|
3041
2800
|
{
|
|
3042
2801
|
"data-slot": "input-otp-group",
|
|
@@ -3050,9 +2809,9 @@ function InputOTPSlot({
|
|
|
3050
2809
|
className,
|
|
3051
2810
|
...props
|
|
3052
2811
|
}) {
|
|
3053
|
-
const inputOTPContext =
|
|
2812
|
+
const inputOTPContext = React5.useContext(OTPInputContext);
|
|
3054
2813
|
const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
|
|
3055
|
-
return /* @__PURE__ */
|
|
2814
|
+
return /* @__PURE__ */ jsxs11(
|
|
3056
2815
|
"div",
|
|
3057
2816
|
{
|
|
3058
2817
|
"data-slot": "input-otp-slot",
|
|
@@ -3064,21 +2823,21 @@ function InputOTPSlot({
|
|
|
3064
2823
|
...props,
|
|
3065
2824
|
children: [
|
|
3066
2825
|
char,
|
|
3067
|
-
hasFakeCaret && /* @__PURE__ */
|
|
2826
|
+
hasFakeCaret && /* @__PURE__ */ jsx27("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx27("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" }) })
|
|
3068
2827
|
]
|
|
3069
2828
|
}
|
|
3070
2829
|
);
|
|
3071
2830
|
}
|
|
3072
2831
|
function InputOTPSeparator({ ...props }) {
|
|
3073
|
-
return /* @__PURE__ */
|
|
2832
|
+
return /* @__PURE__ */ jsx27("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx27(MinusIcon, {}) });
|
|
3074
2833
|
}
|
|
3075
2834
|
|
|
3076
2835
|
// src/primitives/item.tsx
|
|
3077
|
-
import { Slot as
|
|
3078
|
-
import { cva as
|
|
3079
|
-
import { jsx as
|
|
2836
|
+
import { Slot as Slot5 } from "@radix-ui/react-slot";
|
|
2837
|
+
import { cva as cva7 } from "class-variance-authority";
|
|
2838
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
3080
2839
|
function ItemGroup({ className, ...props }) {
|
|
3081
|
-
return /* @__PURE__ */
|
|
2840
|
+
return /* @__PURE__ */ jsx28(
|
|
3082
2841
|
"div",
|
|
3083
2842
|
{
|
|
3084
2843
|
role: "list",
|
|
@@ -3092,7 +2851,7 @@ function ItemSeparator({
|
|
|
3092
2851
|
className,
|
|
3093
2852
|
...props
|
|
3094
2853
|
}) {
|
|
3095
|
-
return /* @__PURE__ */
|
|
2854
|
+
return /* @__PURE__ */ jsx28(
|
|
3096
2855
|
Separator,
|
|
3097
2856
|
{
|
|
3098
2857
|
"data-slot": "item-separator",
|
|
@@ -3102,7 +2861,7 @@ function ItemSeparator({
|
|
|
3102
2861
|
}
|
|
3103
2862
|
);
|
|
3104
2863
|
}
|
|
3105
|
-
var itemVariants =
|
|
2864
|
+
var itemVariants = cva7(
|
|
3106
2865
|
"group/item flex items-center border border-transparent text-sm rounded-md transition-colors [a]:hover:bg-accent/50 [a]:transition-colors duration-100 flex-wrap outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
3107
2866
|
{
|
|
3108
2867
|
variants: {
|
|
@@ -3129,8 +2888,8 @@ function Item4({
|
|
|
3129
2888
|
asChild = false,
|
|
3130
2889
|
...props
|
|
3131
2890
|
}) {
|
|
3132
|
-
const Comp = asChild ?
|
|
3133
|
-
return /* @__PURE__ */
|
|
2891
|
+
const Comp = asChild ? Slot5 : "div";
|
|
2892
|
+
return /* @__PURE__ */ jsx28(
|
|
3134
2893
|
Comp,
|
|
3135
2894
|
{
|
|
3136
2895
|
"data-slot": "item",
|
|
@@ -3141,7 +2900,7 @@ function Item4({
|
|
|
3141
2900
|
}
|
|
3142
2901
|
);
|
|
3143
2902
|
}
|
|
3144
|
-
var itemMediaVariants =
|
|
2903
|
+
var itemMediaVariants = cva7(
|
|
3145
2904
|
"flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none group-has-[[data-slot=item-description]]/item:translate-y-0.5",
|
|
3146
2905
|
{
|
|
3147
2906
|
variants: {
|
|
@@ -3161,7 +2920,7 @@ function ItemMedia({
|
|
|
3161
2920
|
variant = "default",
|
|
3162
2921
|
...props
|
|
3163
2922
|
}) {
|
|
3164
|
-
return /* @__PURE__ */
|
|
2923
|
+
return /* @__PURE__ */ jsx28(
|
|
3165
2924
|
"div",
|
|
3166
2925
|
{
|
|
3167
2926
|
"data-slot": "item-media",
|
|
@@ -3172,7 +2931,7 @@ function ItemMedia({
|
|
|
3172
2931
|
);
|
|
3173
2932
|
}
|
|
3174
2933
|
function ItemContent({ className, ...props }) {
|
|
3175
|
-
return /* @__PURE__ */
|
|
2934
|
+
return /* @__PURE__ */ jsx28(
|
|
3176
2935
|
"div",
|
|
3177
2936
|
{
|
|
3178
2937
|
"data-slot": "item-content",
|
|
@@ -3185,7 +2944,7 @@ function ItemContent({ className, ...props }) {
|
|
|
3185
2944
|
);
|
|
3186
2945
|
}
|
|
3187
2946
|
function ItemTitle({ className, ...props }) {
|
|
3188
|
-
return /* @__PURE__ */
|
|
2947
|
+
return /* @__PURE__ */ jsx28(
|
|
3189
2948
|
"div",
|
|
3190
2949
|
{
|
|
3191
2950
|
"data-slot": "item-title",
|
|
@@ -3198,7 +2957,7 @@ function ItemTitle({ className, ...props }) {
|
|
|
3198
2957
|
);
|
|
3199
2958
|
}
|
|
3200
2959
|
function ItemDescription({ className, ...props }) {
|
|
3201
|
-
return /* @__PURE__ */
|
|
2960
|
+
return /* @__PURE__ */ jsx28(
|
|
3202
2961
|
"p",
|
|
3203
2962
|
{
|
|
3204
2963
|
"data-slot": "item-description",
|
|
@@ -3212,7 +2971,7 @@ function ItemDescription({ className, ...props }) {
|
|
|
3212
2971
|
);
|
|
3213
2972
|
}
|
|
3214
2973
|
function ItemActions({ className, ...props }) {
|
|
3215
|
-
return /* @__PURE__ */
|
|
2974
|
+
return /* @__PURE__ */ jsx28(
|
|
3216
2975
|
"div",
|
|
3217
2976
|
{
|
|
3218
2977
|
"data-slot": "item-actions",
|
|
@@ -3222,7 +2981,7 @@ function ItemActions({ className, ...props }) {
|
|
|
3222
2981
|
);
|
|
3223
2982
|
}
|
|
3224
2983
|
function ItemHeader({ className, ...props }) {
|
|
3225
|
-
return /* @__PURE__ */
|
|
2984
|
+
return /* @__PURE__ */ jsx28(
|
|
3226
2985
|
"div",
|
|
3227
2986
|
{
|
|
3228
2987
|
"data-slot": "item-header",
|
|
@@ -3235,7 +2994,7 @@ function ItemHeader({ className, ...props }) {
|
|
|
3235
2994
|
);
|
|
3236
2995
|
}
|
|
3237
2996
|
function ItemFooter({ className, ...props }) {
|
|
3238
|
-
return /* @__PURE__ */
|
|
2997
|
+
return /* @__PURE__ */ jsx28(
|
|
3239
2998
|
"div",
|
|
3240
2999
|
{
|
|
3241
3000
|
"data-slot": "item-footer",
|
|
@@ -3249,9 +3008,9 @@ function ItemFooter({ className, ...props }) {
|
|
|
3249
3008
|
}
|
|
3250
3009
|
|
|
3251
3010
|
// src/primitives/kbd.tsx
|
|
3252
|
-
import { jsx as
|
|
3011
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
3253
3012
|
function Kbd({ className, ...props }) {
|
|
3254
|
-
return /* @__PURE__ */
|
|
3013
|
+
return /* @__PURE__ */ jsx29(
|
|
3255
3014
|
"kbd",
|
|
3256
3015
|
{
|
|
3257
3016
|
"data-slot": "kbd",
|
|
@@ -3266,7 +3025,7 @@ function Kbd({ className, ...props }) {
|
|
|
3266
3025
|
);
|
|
3267
3026
|
}
|
|
3268
3027
|
function KbdGroup({ className, ...props }) {
|
|
3269
|
-
return /* @__PURE__ */
|
|
3028
|
+
return /* @__PURE__ */ jsx29(
|
|
3270
3029
|
"kbd",
|
|
3271
3030
|
{
|
|
3272
3031
|
"data-slot": "kbd-group",
|
|
@@ -3279,12 +3038,12 @@ function KbdGroup({ className, ...props }) {
|
|
|
3279
3038
|
// src/primitives/menubar.tsx
|
|
3280
3039
|
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
3281
3040
|
import { CheckIcon as CheckIcon4, ChevronRightIcon as ChevronRightIcon4, CircleIcon as CircleIcon3 } from "lucide-react";
|
|
3282
|
-
import { jsx as
|
|
3041
|
+
import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
3283
3042
|
function Menubar({
|
|
3284
3043
|
className,
|
|
3285
3044
|
...props
|
|
3286
3045
|
}) {
|
|
3287
|
-
return /* @__PURE__ */
|
|
3046
|
+
return /* @__PURE__ */ jsx30(
|
|
3288
3047
|
MenubarPrimitive.Root,
|
|
3289
3048
|
{
|
|
3290
3049
|
"data-slot": "menubar",
|
|
@@ -3299,28 +3058,28 @@ function Menubar({
|
|
|
3299
3058
|
function MenubarMenu({
|
|
3300
3059
|
...props
|
|
3301
3060
|
}) {
|
|
3302
|
-
return /* @__PURE__ */
|
|
3061
|
+
return /* @__PURE__ */ jsx30(MenubarPrimitive.Menu, { "data-slot": "menubar-menu", ...props });
|
|
3303
3062
|
}
|
|
3304
3063
|
function MenubarGroup({
|
|
3305
3064
|
...props
|
|
3306
3065
|
}) {
|
|
3307
|
-
return /* @__PURE__ */
|
|
3066
|
+
return /* @__PURE__ */ jsx30(MenubarPrimitive.Group, { "data-slot": "menubar-group", ...props });
|
|
3308
3067
|
}
|
|
3309
3068
|
function MenubarPortal({
|
|
3310
3069
|
...props
|
|
3311
3070
|
}) {
|
|
3312
|
-
return /* @__PURE__ */
|
|
3071
|
+
return /* @__PURE__ */ jsx30(MenubarPrimitive.Portal, { "data-slot": "menubar-portal", ...props });
|
|
3313
3072
|
}
|
|
3314
3073
|
function MenubarRadioGroup({
|
|
3315
3074
|
...props
|
|
3316
3075
|
}) {
|
|
3317
|
-
return /* @__PURE__ */
|
|
3076
|
+
return /* @__PURE__ */ jsx30(MenubarPrimitive.RadioGroup, { "data-slot": "menubar-radio-group", ...props });
|
|
3318
3077
|
}
|
|
3319
3078
|
function MenubarTrigger({
|
|
3320
3079
|
className,
|
|
3321
3080
|
...props
|
|
3322
3081
|
}) {
|
|
3323
|
-
return /* @__PURE__ */
|
|
3082
|
+
return /* @__PURE__ */ jsx30(
|
|
3324
3083
|
MenubarPrimitive.Trigger,
|
|
3325
3084
|
{
|
|
3326
3085
|
"data-slot": "menubar-trigger",
|
|
@@ -3339,7 +3098,7 @@ function MenubarContent({
|
|
|
3339
3098
|
sideOffset = 8,
|
|
3340
3099
|
...props
|
|
3341
3100
|
}) {
|
|
3342
|
-
return /* @__PURE__ */
|
|
3101
|
+
return /* @__PURE__ */ jsx30(MenubarPortal, { children: /* @__PURE__ */ jsx30(
|
|
3343
3102
|
MenubarPrimitive.Content,
|
|
3344
3103
|
{
|
|
3345
3104
|
"data-slot": "menubar-content",
|
|
@@ -3360,7 +3119,7 @@ function MenubarItem({
|
|
|
3360
3119
|
variant = "default",
|
|
3361
3120
|
...props
|
|
3362
3121
|
}) {
|
|
3363
|
-
return /* @__PURE__ */
|
|
3122
|
+
return /* @__PURE__ */ jsx30(
|
|
3364
3123
|
MenubarPrimitive.Item,
|
|
3365
3124
|
{
|
|
3366
3125
|
"data-slot": "menubar-item",
|
|
@@ -3380,7 +3139,7 @@ function MenubarCheckboxItem({
|
|
|
3380
3139
|
checked,
|
|
3381
3140
|
...props
|
|
3382
3141
|
}) {
|
|
3383
|
-
return /* @__PURE__ */
|
|
3142
|
+
return /* @__PURE__ */ jsxs12(
|
|
3384
3143
|
MenubarPrimitive.CheckboxItem,
|
|
3385
3144
|
{
|
|
3386
3145
|
"data-slot": "menubar-checkbox-item",
|
|
@@ -3391,7 +3150,7 @@ function MenubarCheckboxItem({
|
|
|
3391
3150
|
checked,
|
|
3392
3151
|
...props,
|
|
3393
3152
|
children: [
|
|
3394
|
-
/* @__PURE__ */
|
|
3153
|
+
/* @__PURE__ */ jsx30("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx30(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx30(CheckIcon4, { className: "size-4" }) }) }),
|
|
3395
3154
|
children
|
|
3396
3155
|
]
|
|
3397
3156
|
}
|
|
@@ -3402,7 +3161,7 @@ function MenubarRadioItem({
|
|
|
3402
3161
|
children,
|
|
3403
3162
|
...props
|
|
3404
3163
|
}) {
|
|
3405
|
-
return /* @__PURE__ */
|
|
3164
|
+
return /* @__PURE__ */ jsxs12(
|
|
3406
3165
|
MenubarPrimitive.RadioItem,
|
|
3407
3166
|
{
|
|
3408
3167
|
"data-slot": "menubar-radio-item",
|
|
@@ -3412,7 +3171,7 @@ function MenubarRadioItem({
|
|
|
3412
3171
|
),
|
|
3413
3172
|
...props,
|
|
3414
3173
|
children: [
|
|
3415
|
-
/* @__PURE__ */
|
|
3174
|
+
/* @__PURE__ */ jsx30("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx30(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx30(CircleIcon3, { className: "size-2 fill-current" }) }) }),
|
|
3416
3175
|
children
|
|
3417
3176
|
]
|
|
3418
3177
|
}
|
|
@@ -3423,7 +3182,7 @@ function MenubarLabel({
|
|
|
3423
3182
|
inset,
|
|
3424
3183
|
...props
|
|
3425
3184
|
}) {
|
|
3426
|
-
return /* @__PURE__ */
|
|
3185
|
+
return /* @__PURE__ */ jsx30(
|
|
3427
3186
|
MenubarPrimitive.Label,
|
|
3428
3187
|
{
|
|
3429
3188
|
"data-slot": "menubar-label",
|
|
@@ -3440,7 +3199,7 @@ function MenubarSeparator({
|
|
|
3440
3199
|
className,
|
|
3441
3200
|
...props
|
|
3442
3201
|
}) {
|
|
3443
|
-
return /* @__PURE__ */
|
|
3202
|
+
return /* @__PURE__ */ jsx30(
|
|
3444
3203
|
MenubarPrimitive.Separator,
|
|
3445
3204
|
{
|
|
3446
3205
|
"data-slot": "menubar-separator",
|
|
@@ -3453,7 +3212,7 @@ function MenubarShortcut({
|
|
|
3453
3212
|
className,
|
|
3454
3213
|
...props
|
|
3455
3214
|
}) {
|
|
3456
|
-
return /* @__PURE__ */
|
|
3215
|
+
return /* @__PURE__ */ jsx30(
|
|
3457
3216
|
"span",
|
|
3458
3217
|
{
|
|
3459
3218
|
"data-slot": "menubar-shortcut",
|
|
@@ -3468,7 +3227,7 @@ function MenubarShortcut({
|
|
|
3468
3227
|
function MenubarSub({
|
|
3469
3228
|
...props
|
|
3470
3229
|
}) {
|
|
3471
|
-
return /* @__PURE__ */
|
|
3230
|
+
return /* @__PURE__ */ jsx30(MenubarPrimitive.Sub, { "data-slot": "menubar-sub", ...props });
|
|
3472
3231
|
}
|
|
3473
3232
|
function MenubarSubTrigger({
|
|
3474
3233
|
className,
|
|
@@ -3476,7 +3235,7 @@ function MenubarSubTrigger({
|
|
|
3476
3235
|
children,
|
|
3477
3236
|
...props
|
|
3478
3237
|
}) {
|
|
3479
|
-
return /* @__PURE__ */
|
|
3238
|
+
return /* @__PURE__ */ jsxs12(
|
|
3480
3239
|
MenubarPrimitive.SubTrigger,
|
|
3481
3240
|
{
|
|
3482
3241
|
"data-slot": "menubar-sub-trigger",
|
|
@@ -3488,7 +3247,7 @@ function MenubarSubTrigger({
|
|
|
3488
3247
|
...props,
|
|
3489
3248
|
children: [
|
|
3490
3249
|
children,
|
|
3491
|
-
/* @__PURE__ */
|
|
3250
|
+
/* @__PURE__ */ jsx30(ChevronRightIcon4, { className: "ml-auto h-4 w-4" })
|
|
3492
3251
|
]
|
|
3493
3252
|
}
|
|
3494
3253
|
);
|
|
@@ -3497,7 +3256,7 @@ function MenubarSubContent({
|
|
|
3497
3256
|
className,
|
|
3498
3257
|
...props
|
|
3499
3258
|
}) {
|
|
3500
|
-
return /* @__PURE__ */
|
|
3259
|
+
return /* @__PURE__ */ jsx30(
|
|
3501
3260
|
MenubarPrimitive.SubContent,
|
|
3502
3261
|
{
|
|
3503
3262
|
"data-slot": "menubar-sub-content",
|
|
@@ -3512,16 +3271,16 @@ function MenubarSubContent({
|
|
|
3512
3271
|
|
|
3513
3272
|
// src/primitives/navigation-menu.tsx
|
|
3514
3273
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
3515
|
-
import { cva as
|
|
3274
|
+
import { cva as cva8 } from "class-variance-authority";
|
|
3516
3275
|
import { ChevronDownIcon as ChevronDownIcon3 } from "lucide-react";
|
|
3517
|
-
import { jsx as
|
|
3276
|
+
import { jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
3518
3277
|
function NavigationMenu({
|
|
3519
3278
|
className,
|
|
3520
3279
|
children,
|
|
3521
3280
|
viewport = true,
|
|
3522
3281
|
...props
|
|
3523
3282
|
}) {
|
|
3524
|
-
return /* @__PURE__ */
|
|
3283
|
+
return /* @__PURE__ */ jsxs13(
|
|
3525
3284
|
NavigationMenuPrimitive.Root,
|
|
3526
3285
|
{
|
|
3527
3286
|
"data-slot": "navigation-menu",
|
|
@@ -3533,7 +3292,7 @@ function NavigationMenu({
|
|
|
3533
3292
|
...props,
|
|
3534
3293
|
children: [
|
|
3535
3294
|
children,
|
|
3536
|
-
viewport && /* @__PURE__ */
|
|
3295
|
+
viewport && /* @__PURE__ */ jsx31(NavigationMenuViewport, {})
|
|
3537
3296
|
]
|
|
3538
3297
|
}
|
|
3539
3298
|
);
|
|
@@ -3542,7 +3301,7 @@ function NavigationMenuList({
|
|
|
3542
3301
|
className,
|
|
3543
3302
|
...props
|
|
3544
3303
|
}) {
|
|
3545
|
-
return /* @__PURE__ */
|
|
3304
|
+
return /* @__PURE__ */ jsx31(
|
|
3546
3305
|
NavigationMenuPrimitive.List,
|
|
3547
3306
|
{
|
|
3548
3307
|
"data-slot": "navigation-menu-list",
|
|
@@ -3558,7 +3317,7 @@ function NavigationMenuItem({
|
|
|
3558
3317
|
className,
|
|
3559
3318
|
...props
|
|
3560
3319
|
}) {
|
|
3561
|
-
return /* @__PURE__ */
|
|
3320
|
+
return /* @__PURE__ */ jsx31(
|
|
3562
3321
|
NavigationMenuPrimitive.Item,
|
|
3563
3322
|
{
|
|
3564
3323
|
"data-slot": "navigation-menu-item",
|
|
@@ -3567,7 +3326,7 @@ function NavigationMenuItem({
|
|
|
3567
3326
|
}
|
|
3568
3327
|
);
|
|
3569
3328
|
}
|
|
3570
|
-
var navigationMenuTriggerStyle =
|
|
3329
|
+
var navigationMenuTriggerStyle = cva8(
|
|
3571
3330
|
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
|
|
3572
3331
|
);
|
|
3573
3332
|
function NavigationMenuTrigger({
|
|
@@ -3575,7 +3334,7 @@ function NavigationMenuTrigger({
|
|
|
3575
3334
|
children,
|
|
3576
3335
|
...props
|
|
3577
3336
|
}) {
|
|
3578
|
-
return /* @__PURE__ */
|
|
3337
|
+
return /* @__PURE__ */ jsxs13(
|
|
3579
3338
|
NavigationMenuPrimitive.Trigger,
|
|
3580
3339
|
{
|
|
3581
3340
|
"data-slot": "navigation-menu-trigger",
|
|
@@ -3584,7 +3343,7 @@ function NavigationMenuTrigger({
|
|
|
3584
3343
|
children: [
|
|
3585
3344
|
children,
|
|
3586
3345
|
" ",
|
|
3587
|
-
/* @__PURE__ */
|
|
3346
|
+
/* @__PURE__ */ jsx31(
|
|
3588
3347
|
ChevronDownIcon3,
|
|
3589
3348
|
{
|
|
3590
3349
|
className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
|
|
@@ -3599,7 +3358,7 @@ function NavigationMenuContent({
|
|
|
3599
3358
|
className,
|
|
3600
3359
|
...props
|
|
3601
3360
|
}) {
|
|
3602
|
-
return /* @__PURE__ */
|
|
3361
|
+
return /* @__PURE__ */ jsx31(
|
|
3603
3362
|
NavigationMenuPrimitive.Content,
|
|
3604
3363
|
{
|
|
3605
3364
|
"data-slot": "navigation-menu-content",
|
|
@@ -3616,13 +3375,13 @@ function NavigationMenuViewport({
|
|
|
3616
3375
|
className,
|
|
3617
3376
|
...props
|
|
3618
3377
|
}) {
|
|
3619
|
-
return /* @__PURE__ */
|
|
3378
|
+
return /* @__PURE__ */ jsx31(
|
|
3620
3379
|
"div",
|
|
3621
3380
|
{
|
|
3622
3381
|
className: cn(
|
|
3623
3382
|
"absolute top-full left-0 isolate z-50 flex justify-center"
|
|
3624
3383
|
),
|
|
3625
|
-
children: /* @__PURE__ */
|
|
3384
|
+
children: /* @__PURE__ */ jsx31(
|
|
3626
3385
|
NavigationMenuPrimitive.Viewport,
|
|
3627
3386
|
{
|
|
3628
3387
|
"data-slot": "navigation-menu-viewport",
|
|
@@ -3640,7 +3399,7 @@ function NavigationMenuLink({
|
|
|
3640
3399
|
className,
|
|
3641
3400
|
...props
|
|
3642
3401
|
}) {
|
|
3643
|
-
return /* @__PURE__ */
|
|
3402
|
+
return /* @__PURE__ */ jsx31(
|
|
3644
3403
|
NavigationMenuPrimitive.Link,
|
|
3645
3404
|
{
|
|
3646
3405
|
"data-slot": "navigation-menu-link",
|
|
@@ -3656,7 +3415,7 @@ function NavigationMenuIndicator({
|
|
|
3656
3415
|
className,
|
|
3657
3416
|
...props
|
|
3658
3417
|
}) {
|
|
3659
|
-
return /* @__PURE__ */
|
|
3418
|
+
return /* @__PURE__ */ jsx31(
|
|
3660
3419
|
NavigationMenuPrimitive.Indicator,
|
|
3661
3420
|
{
|
|
3662
3421
|
"data-slot": "navigation-menu-indicator",
|
|
@@ -3665,7 +3424,7 @@ function NavigationMenuIndicator({
|
|
|
3665
3424
|
className
|
|
3666
3425
|
),
|
|
3667
3426
|
...props,
|
|
3668
|
-
children: /* @__PURE__ */
|
|
3427
|
+
children: /* @__PURE__ */ jsx31("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
|
|
3669
3428
|
}
|
|
3670
3429
|
);
|
|
3671
3430
|
}
|
|
@@ -3676,9 +3435,9 @@ import {
|
|
|
3676
3435
|
ChevronRightIcon as ChevronRightIcon5,
|
|
3677
3436
|
MoreHorizontalIcon
|
|
3678
3437
|
} from "lucide-react";
|
|
3679
|
-
import { jsx as
|
|
3438
|
+
import { jsx as jsx32, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
3680
3439
|
function Pagination({ className, ...props }) {
|
|
3681
|
-
return /* @__PURE__ */
|
|
3440
|
+
return /* @__PURE__ */ jsx32(
|
|
3682
3441
|
"nav",
|
|
3683
3442
|
{
|
|
3684
3443
|
role: "navigation",
|
|
@@ -3693,7 +3452,7 @@ function PaginationContent({
|
|
|
3693
3452
|
className,
|
|
3694
3453
|
...props
|
|
3695
3454
|
}) {
|
|
3696
|
-
return /* @__PURE__ */
|
|
3455
|
+
return /* @__PURE__ */ jsx32(
|
|
3697
3456
|
"ul",
|
|
3698
3457
|
{
|
|
3699
3458
|
"data-slot": "pagination-content",
|
|
@@ -3703,7 +3462,7 @@ function PaginationContent({
|
|
|
3703
3462
|
);
|
|
3704
3463
|
}
|
|
3705
3464
|
function PaginationItem({ ...props }) {
|
|
3706
|
-
return /* @__PURE__ */
|
|
3465
|
+
return /* @__PURE__ */ jsx32("li", { "data-slot": "pagination-item", ...props });
|
|
3707
3466
|
}
|
|
3708
3467
|
function PaginationLink({
|
|
3709
3468
|
className,
|
|
@@ -3711,7 +3470,7 @@ function PaginationLink({
|
|
|
3711
3470
|
size = "icon",
|
|
3712
3471
|
...props
|
|
3713
3472
|
}) {
|
|
3714
|
-
return /* @__PURE__ */
|
|
3473
|
+
return /* @__PURE__ */ jsx32(
|
|
3715
3474
|
"a",
|
|
3716
3475
|
{
|
|
3717
3476
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -3732,7 +3491,7 @@ function PaginationPrevious({
|
|
|
3732
3491
|
className,
|
|
3733
3492
|
...props
|
|
3734
3493
|
}) {
|
|
3735
|
-
return /* @__PURE__ */
|
|
3494
|
+
return /* @__PURE__ */ jsxs14(
|
|
3736
3495
|
PaginationLink,
|
|
3737
3496
|
{
|
|
3738
3497
|
"aria-label": "Go to previous page",
|
|
@@ -3740,8 +3499,8 @@ function PaginationPrevious({
|
|
|
3740
3499
|
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
3741
3500
|
...props,
|
|
3742
3501
|
children: [
|
|
3743
|
-
/* @__PURE__ */
|
|
3744
|
-
/* @__PURE__ */
|
|
3502
|
+
/* @__PURE__ */ jsx32(ChevronLeftIcon2, {}),
|
|
3503
|
+
/* @__PURE__ */ jsx32("span", { className: "hidden sm:block", children: "Previous" })
|
|
3745
3504
|
]
|
|
3746
3505
|
}
|
|
3747
3506
|
);
|
|
@@ -3750,7 +3509,7 @@ function PaginationNext({
|
|
|
3750
3509
|
className,
|
|
3751
3510
|
...props
|
|
3752
3511
|
}) {
|
|
3753
|
-
return /* @__PURE__ */
|
|
3512
|
+
return /* @__PURE__ */ jsxs14(
|
|
3754
3513
|
PaginationLink,
|
|
3755
3514
|
{
|
|
3756
3515
|
"aria-label": "Go to next page",
|
|
@@ -3758,8 +3517,8 @@ function PaginationNext({
|
|
|
3758
3517
|
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
3759
3518
|
...props,
|
|
3760
3519
|
children: [
|
|
3761
|
-
/* @__PURE__ */
|
|
3762
|
-
/* @__PURE__ */
|
|
3520
|
+
/* @__PURE__ */ jsx32("span", { className: "hidden sm:block", children: "Next" }),
|
|
3521
|
+
/* @__PURE__ */ jsx32(ChevronRightIcon5, {})
|
|
3763
3522
|
]
|
|
3764
3523
|
}
|
|
3765
3524
|
);
|
|
@@ -3768,7 +3527,7 @@ function PaginationEllipsis({
|
|
|
3768
3527
|
className,
|
|
3769
3528
|
...props
|
|
3770
3529
|
}) {
|
|
3771
|
-
return /* @__PURE__ */
|
|
3530
|
+
return /* @__PURE__ */ jsxs14(
|
|
3772
3531
|
"span",
|
|
3773
3532
|
{
|
|
3774
3533
|
"aria-hidden": true,
|
|
@@ -3776,8 +3535,8 @@ function PaginationEllipsis({
|
|
|
3776
3535
|
className: cn("flex size-9 items-center justify-center", className),
|
|
3777
3536
|
...props,
|
|
3778
3537
|
children: [
|
|
3779
|
-
/* @__PURE__ */
|
|
3780
|
-
/* @__PURE__ */
|
|
3538
|
+
/* @__PURE__ */ jsx32(MoreHorizontalIcon, { className: "size-4" }),
|
|
3539
|
+
/* @__PURE__ */ jsx32("span", { className: "sr-only", children: "More pages" })
|
|
3781
3540
|
]
|
|
3782
3541
|
}
|
|
3783
3542
|
);
|
|
@@ -3785,16 +3544,16 @@ function PaginationEllipsis({
|
|
|
3785
3544
|
|
|
3786
3545
|
// src/primitives/popover.tsx
|
|
3787
3546
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3788
|
-
import { jsx as
|
|
3547
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
3789
3548
|
function Popover({
|
|
3790
3549
|
...props
|
|
3791
3550
|
}) {
|
|
3792
|
-
return /* @__PURE__ */
|
|
3551
|
+
return /* @__PURE__ */ jsx33(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
|
|
3793
3552
|
}
|
|
3794
3553
|
function PopoverTrigger({
|
|
3795
3554
|
...props
|
|
3796
3555
|
}) {
|
|
3797
|
-
return /* @__PURE__ */
|
|
3556
|
+
return /* @__PURE__ */ jsx33(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
|
|
3798
3557
|
}
|
|
3799
3558
|
function PopoverContent({
|
|
3800
3559
|
className,
|
|
@@ -3802,7 +3561,7 @@ function PopoverContent({
|
|
|
3802
3561
|
sideOffset = 4,
|
|
3803
3562
|
...props
|
|
3804
3563
|
}) {
|
|
3805
|
-
return /* @__PURE__ */
|
|
3564
|
+
return /* @__PURE__ */ jsx33(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx33(
|
|
3806
3565
|
PopoverPrimitive.Content,
|
|
3807
3566
|
{
|
|
3808
3567
|
"data-slot": "popover-content",
|
|
@@ -3819,18 +3578,18 @@ function PopoverContent({
|
|
|
3819
3578
|
function PopoverAnchor({
|
|
3820
3579
|
...props
|
|
3821
3580
|
}) {
|
|
3822
|
-
return /* @__PURE__ */
|
|
3581
|
+
return /* @__PURE__ */ jsx33(PopoverPrimitive.Anchor, { "data-slot": "popover-anchor", ...props });
|
|
3823
3582
|
}
|
|
3824
3583
|
|
|
3825
3584
|
// src/primitives/progress.tsx
|
|
3826
3585
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
3827
|
-
import { jsx as
|
|
3586
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
3828
3587
|
function Progress({
|
|
3829
3588
|
className,
|
|
3830
3589
|
value,
|
|
3831
3590
|
...props
|
|
3832
3591
|
}) {
|
|
3833
|
-
return /* @__PURE__ */
|
|
3592
|
+
return /* @__PURE__ */ jsx34(
|
|
3834
3593
|
ProgressPrimitive.Root,
|
|
3835
3594
|
{
|
|
3836
3595
|
"data-slot": "progress",
|
|
@@ -3839,7 +3598,7 @@ function Progress({
|
|
|
3839
3598
|
className
|
|
3840
3599
|
),
|
|
3841
3600
|
...props,
|
|
3842
|
-
children: /* @__PURE__ */
|
|
3601
|
+
children: /* @__PURE__ */ jsx34(
|
|
3843
3602
|
ProgressPrimitive.Indicator,
|
|
3844
3603
|
{
|
|
3845
3604
|
"data-slot": "progress-indicator",
|
|
@@ -3851,48 +3610,6 @@ function Progress({
|
|
|
3851
3610
|
);
|
|
3852
3611
|
}
|
|
3853
3612
|
|
|
3854
|
-
// src/primitives/radio-group.tsx
|
|
3855
|
-
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3856
|
-
import { CircleIcon as CircleIcon4 } from "lucide-react";
|
|
3857
|
-
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
3858
|
-
function RadioGroup4({
|
|
3859
|
-
className,
|
|
3860
|
-
...props
|
|
3861
|
-
}) {
|
|
3862
|
-
return /* @__PURE__ */ jsx38(
|
|
3863
|
-
RadioGroupPrimitive.Root,
|
|
3864
|
-
{
|
|
3865
|
-
"data-slot": "radio-group",
|
|
3866
|
-
className: cn("grid gap-3", className),
|
|
3867
|
-
...props
|
|
3868
|
-
}
|
|
3869
|
-
);
|
|
3870
|
-
}
|
|
3871
|
-
function RadioGroupItem({
|
|
3872
|
-
className,
|
|
3873
|
-
...props
|
|
3874
|
-
}) {
|
|
3875
|
-
return /* @__PURE__ */ jsx38(
|
|
3876
|
-
RadioGroupPrimitive.Item,
|
|
3877
|
-
{
|
|
3878
|
-
"data-slot": "radio-group-item",
|
|
3879
|
-
className: cn(
|
|
3880
|
-
"border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
3881
|
-
className
|
|
3882
|
-
),
|
|
3883
|
-
...props,
|
|
3884
|
-
children: /* @__PURE__ */ jsx38(
|
|
3885
|
-
RadioGroupPrimitive.Indicator,
|
|
3886
|
-
{
|
|
3887
|
-
"data-slot": "radio-group-indicator",
|
|
3888
|
-
className: "relative flex items-center justify-center",
|
|
3889
|
-
children: /* @__PURE__ */ jsx38(CircleIcon4, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
|
|
3890
|
-
}
|
|
3891
|
-
)
|
|
3892
|
-
}
|
|
3893
|
-
);
|
|
3894
|
-
}
|
|
3895
|
-
|
|
3896
3613
|
// src/primitives/resizable.tsx
|
|
3897
3614
|
import { GripVerticalIcon } from "lucide-react";
|
|
3898
3615
|
import {
|
|
@@ -3900,12 +3617,12 @@ import {
|
|
|
3900
3617
|
Panel,
|
|
3901
3618
|
PanelResizeHandle
|
|
3902
3619
|
} from "react-resizable-panels";
|
|
3903
|
-
import { jsx as
|
|
3620
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
3904
3621
|
function ResizablePanelGroup({
|
|
3905
3622
|
className,
|
|
3906
3623
|
...props
|
|
3907
3624
|
}) {
|
|
3908
|
-
return /* @__PURE__ */
|
|
3625
|
+
return /* @__PURE__ */ jsx35(
|
|
3909
3626
|
PanelGroup,
|
|
3910
3627
|
{
|
|
3911
3628
|
"data-slot": "resizable-panel-group",
|
|
@@ -3920,14 +3637,14 @@ function ResizablePanelGroup({
|
|
|
3920
3637
|
function ResizablePanel({
|
|
3921
3638
|
...props
|
|
3922
3639
|
}) {
|
|
3923
|
-
return /* @__PURE__ */
|
|
3640
|
+
return /* @__PURE__ */ jsx35(Panel, { "data-slot": "resizable-panel", ...props });
|
|
3924
3641
|
}
|
|
3925
3642
|
function ResizableHandle({
|
|
3926
3643
|
withHandle,
|
|
3927
3644
|
className,
|
|
3928
3645
|
...props
|
|
3929
3646
|
}) {
|
|
3930
|
-
return /* @__PURE__ */
|
|
3647
|
+
return /* @__PURE__ */ jsx35(
|
|
3931
3648
|
PanelResizeHandle,
|
|
3932
3649
|
{
|
|
3933
3650
|
"data-slot": "resizable-handle",
|
|
@@ -3936,27 +3653,27 @@ function ResizableHandle({
|
|
|
3936
3653
|
className
|
|
3937
3654
|
),
|
|
3938
3655
|
...props,
|
|
3939
|
-
children: withHandle && /* @__PURE__ */
|
|
3656
|
+
children: withHandle && /* @__PURE__ */ jsx35("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border", children: /* @__PURE__ */ jsx35(GripVerticalIcon, { className: "size-2.5" }) })
|
|
3940
3657
|
}
|
|
3941
3658
|
);
|
|
3942
3659
|
}
|
|
3943
3660
|
|
|
3944
3661
|
// src/primitives/scroll-area.tsx
|
|
3945
3662
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
3946
|
-
import { jsx as
|
|
3663
|
+
import { jsx as jsx36, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
3947
3664
|
function ScrollArea({
|
|
3948
3665
|
className,
|
|
3949
3666
|
children,
|
|
3950
3667
|
...props
|
|
3951
3668
|
}) {
|
|
3952
|
-
return /* @__PURE__ */
|
|
3669
|
+
return /* @__PURE__ */ jsxs15(
|
|
3953
3670
|
ScrollAreaPrimitive.Root,
|
|
3954
3671
|
{
|
|
3955
3672
|
"data-slot": "scroll-area",
|
|
3956
3673
|
className: cn("relative", className),
|
|
3957
3674
|
...props,
|
|
3958
3675
|
children: [
|
|
3959
|
-
/* @__PURE__ */
|
|
3676
|
+
/* @__PURE__ */ jsx36(
|
|
3960
3677
|
ScrollAreaPrimitive.Viewport,
|
|
3961
3678
|
{
|
|
3962
3679
|
"data-slot": "scroll-area-viewport",
|
|
@@ -3964,8 +3681,8 @@ function ScrollArea({
|
|
|
3964
3681
|
children
|
|
3965
3682
|
}
|
|
3966
3683
|
),
|
|
3967
|
-
/* @__PURE__ */
|
|
3968
|
-
/* @__PURE__ */
|
|
3684
|
+
/* @__PURE__ */ jsx36(ScrollBar, {}),
|
|
3685
|
+
/* @__PURE__ */ jsx36(ScrollAreaPrimitive.Corner, {})
|
|
3969
3686
|
]
|
|
3970
3687
|
}
|
|
3971
3688
|
);
|
|
@@ -3975,7 +3692,7 @@ function ScrollBar({
|
|
|
3975
3692
|
orientation = "vertical",
|
|
3976
3693
|
...props
|
|
3977
3694
|
}) {
|
|
3978
|
-
return /* @__PURE__ */
|
|
3695
|
+
return /* @__PURE__ */ jsx36(
|
|
3979
3696
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
3980
3697
|
{
|
|
3981
3698
|
"data-slot": "scroll-area-scrollbar",
|
|
@@ -3987,7 +3704,7 @@ function ScrollBar({
|
|
|
3987
3704
|
className
|
|
3988
3705
|
),
|
|
3989
3706
|
...props,
|
|
3990
|
-
children: /* @__PURE__ */
|
|
3707
|
+
children: /* @__PURE__ */ jsx36(
|
|
3991
3708
|
ScrollAreaPrimitive.ScrollAreaThumb,
|
|
3992
3709
|
{
|
|
3993
3710
|
"data-slot": "scroll-area-thumb",
|
|
@@ -4001,21 +3718,21 @@ function ScrollBar({
|
|
|
4001
3718
|
// src/primitives/select.tsx
|
|
4002
3719
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4003
3720
|
import { CheckIcon as CheckIcon5, ChevronDownIcon as ChevronDownIcon4, ChevronUpIcon } from "lucide-react";
|
|
4004
|
-
import { jsx as
|
|
3721
|
+
import { jsx as jsx37, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
4005
3722
|
function Select({
|
|
4006
3723
|
...props
|
|
4007
3724
|
}) {
|
|
4008
|
-
return /* @__PURE__ */
|
|
3725
|
+
return /* @__PURE__ */ jsx37(SelectPrimitive.Root, { "data-slot": "select", ...props });
|
|
4009
3726
|
}
|
|
4010
3727
|
function SelectGroup({
|
|
4011
3728
|
...props
|
|
4012
3729
|
}) {
|
|
4013
|
-
return /* @__PURE__ */
|
|
3730
|
+
return /* @__PURE__ */ jsx37(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
|
|
4014
3731
|
}
|
|
4015
3732
|
function SelectValue({
|
|
4016
3733
|
...props
|
|
4017
3734
|
}) {
|
|
4018
|
-
return /* @__PURE__ */
|
|
3735
|
+
return /* @__PURE__ */ jsx37(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
|
|
4019
3736
|
}
|
|
4020
3737
|
function SelectTrigger({
|
|
4021
3738
|
className,
|
|
@@ -4023,7 +3740,7 @@ function SelectTrigger({
|
|
|
4023
3740
|
children,
|
|
4024
3741
|
...props
|
|
4025
3742
|
}) {
|
|
4026
|
-
return /* @__PURE__ */
|
|
3743
|
+
return /* @__PURE__ */ jsxs16(
|
|
4027
3744
|
SelectPrimitive.Trigger,
|
|
4028
3745
|
{
|
|
4029
3746
|
"data-slot": "select-trigger",
|
|
@@ -4035,7 +3752,7 @@ function SelectTrigger({
|
|
|
4035
3752
|
...props,
|
|
4036
3753
|
children: [
|
|
4037
3754
|
children,
|
|
4038
|
-
/* @__PURE__ */
|
|
3755
|
+
/* @__PURE__ */ jsx37(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx37(ChevronDownIcon4, { className: "size-4 opacity-50" }) })
|
|
4039
3756
|
]
|
|
4040
3757
|
}
|
|
4041
3758
|
);
|
|
@@ -4047,7 +3764,7 @@ function SelectContent({
|
|
|
4047
3764
|
align = "center",
|
|
4048
3765
|
...props
|
|
4049
3766
|
}) {
|
|
4050
|
-
return /* @__PURE__ */
|
|
3767
|
+
return /* @__PURE__ */ jsx37(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs16(
|
|
4051
3768
|
SelectPrimitive.Content,
|
|
4052
3769
|
{
|
|
4053
3770
|
"data-slot": "select-content",
|
|
@@ -4060,8 +3777,8 @@ function SelectContent({
|
|
|
4060
3777
|
align,
|
|
4061
3778
|
...props,
|
|
4062
3779
|
children: [
|
|
4063
|
-
/* @__PURE__ */
|
|
4064
|
-
/* @__PURE__ */
|
|
3780
|
+
/* @__PURE__ */ jsx37(SelectScrollUpButton, {}),
|
|
3781
|
+
/* @__PURE__ */ jsx37(
|
|
4065
3782
|
SelectPrimitive.Viewport,
|
|
4066
3783
|
{
|
|
4067
3784
|
className: cn(
|
|
@@ -4071,7 +3788,7 @@ function SelectContent({
|
|
|
4071
3788
|
children
|
|
4072
3789
|
}
|
|
4073
3790
|
),
|
|
4074
|
-
/* @__PURE__ */
|
|
3791
|
+
/* @__PURE__ */ jsx37(SelectScrollDownButton, {})
|
|
4075
3792
|
]
|
|
4076
3793
|
}
|
|
4077
3794
|
) });
|
|
@@ -4080,7 +3797,7 @@ function SelectLabel({
|
|
|
4080
3797
|
className,
|
|
4081
3798
|
...props
|
|
4082
3799
|
}) {
|
|
4083
|
-
return /* @__PURE__ */
|
|
3800
|
+
return /* @__PURE__ */ jsx37(
|
|
4084
3801
|
SelectPrimitive.Label,
|
|
4085
3802
|
{
|
|
4086
3803
|
"data-slot": "select-label",
|
|
@@ -4094,7 +3811,7 @@ function SelectItem({
|
|
|
4094
3811
|
children,
|
|
4095
3812
|
...props
|
|
4096
3813
|
}) {
|
|
4097
|
-
return /* @__PURE__ */
|
|
3814
|
+
return /* @__PURE__ */ jsxs16(
|
|
4098
3815
|
SelectPrimitive.Item,
|
|
4099
3816
|
{
|
|
4100
3817
|
"data-slot": "select-item",
|
|
@@ -4104,8 +3821,8 @@ function SelectItem({
|
|
|
4104
3821
|
),
|
|
4105
3822
|
...props,
|
|
4106
3823
|
children: [
|
|
4107
|
-
/* @__PURE__ */
|
|
4108
|
-
/* @__PURE__ */
|
|
3824
|
+
/* @__PURE__ */ jsx37("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx37(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx37(CheckIcon5, { className: "size-4" }) }) }),
|
|
3825
|
+
/* @__PURE__ */ jsx37(SelectPrimitive.ItemText, { children })
|
|
4109
3826
|
]
|
|
4110
3827
|
}
|
|
4111
3828
|
);
|
|
@@ -4114,7 +3831,7 @@ function SelectSeparator({
|
|
|
4114
3831
|
className,
|
|
4115
3832
|
...props
|
|
4116
3833
|
}) {
|
|
4117
|
-
return /* @__PURE__ */
|
|
3834
|
+
return /* @__PURE__ */ jsx37(
|
|
4118
3835
|
SelectPrimitive.Separator,
|
|
4119
3836
|
{
|
|
4120
3837
|
"data-slot": "select-separator",
|
|
@@ -4127,7 +3844,7 @@ function SelectScrollUpButton({
|
|
|
4127
3844
|
className,
|
|
4128
3845
|
...props
|
|
4129
3846
|
}) {
|
|
4130
|
-
return /* @__PURE__ */
|
|
3847
|
+
return /* @__PURE__ */ jsx37(
|
|
4131
3848
|
SelectPrimitive.ScrollUpButton,
|
|
4132
3849
|
{
|
|
4133
3850
|
"data-slot": "select-scroll-up-button",
|
|
@@ -4136,7 +3853,7 @@ function SelectScrollUpButton({
|
|
|
4136
3853
|
className
|
|
4137
3854
|
),
|
|
4138
3855
|
...props,
|
|
4139
|
-
children: /* @__PURE__ */
|
|
3856
|
+
children: /* @__PURE__ */ jsx37(ChevronUpIcon, { className: "size-4" })
|
|
4140
3857
|
}
|
|
4141
3858
|
);
|
|
4142
3859
|
}
|
|
@@ -4144,7 +3861,7 @@ function SelectScrollDownButton({
|
|
|
4144
3861
|
className,
|
|
4145
3862
|
...props
|
|
4146
3863
|
}) {
|
|
4147
|
-
return /* @__PURE__ */
|
|
3864
|
+
return /* @__PURE__ */ jsx37(
|
|
4148
3865
|
SelectPrimitive.ScrollDownButton,
|
|
4149
3866
|
{
|
|
4150
3867
|
"data-slot": "select-scroll-down-button",
|
|
@@ -4153,38 +3870,38 @@ function SelectScrollDownButton({
|
|
|
4153
3870
|
className
|
|
4154
3871
|
),
|
|
4155
3872
|
...props,
|
|
4156
|
-
children: /* @__PURE__ */
|
|
3873
|
+
children: /* @__PURE__ */ jsx37(ChevronDownIcon4, { className: "size-4" })
|
|
4157
3874
|
}
|
|
4158
3875
|
);
|
|
4159
3876
|
}
|
|
4160
3877
|
|
|
4161
3878
|
// src/primitives/sheet.tsx
|
|
4162
3879
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
4163
|
-
import { XIcon
|
|
4164
|
-
import { jsx as
|
|
3880
|
+
import { XIcon } from "lucide-react";
|
|
3881
|
+
import { jsx as jsx38, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
4165
3882
|
function Sheet({ ...props }) {
|
|
4166
|
-
return /* @__PURE__ */
|
|
3883
|
+
return /* @__PURE__ */ jsx38(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
|
|
4167
3884
|
}
|
|
4168
3885
|
function SheetTrigger({
|
|
4169
3886
|
...props
|
|
4170
3887
|
}) {
|
|
4171
|
-
return /* @__PURE__ */
|
|
3888
|
+
return /* @__PURE__ */ jsx38(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
4172
3889
|
}
|
|
4173
3890
|
function SheetClose({
|
|
4174
3891
|
...props
|
|
4175
3892
|
}) {
|
|
4176
|
-
return /* @__PURE__ */
|
|
3893
|
+
return /* @__PURE__ */ jsx38(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
|
|
4177
3894
|
}
|
|
4178
3895
|
function SheetPortal({
|
|
4179
3896
|
...props
|
|
4180
3897
|
}) {
|
|
4181
|
-
return /* @__PURE__ */
|
|
3898
|
+
return /* @__PURE__ */ jsx38(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
4182
3899
|
}
|
|
4183
3900
|
function SheetOverlay({
|
|
4184
3901
|
className,
|
|
4185
3902
|
...props
|
|
4186
3903
|
}) {
|
|
4187
|
-
return /* @__PURE__ */
|
|
3904
|
+
return /* @__PURE__ */ jsx38(
|
|
4188
3905
|
SheetPrimitive.Overlay,
|
|
4189
3906
|
{
|
|
4190
3907
|
"data-slot": "sheet-overlay",
|
|
@@ -4202,9 +3919,9 @@ function SheetContent({
|
|
|
4202
3919
|
side = "right",
|
|
4203
3920
|
...props
|
|
4204
3921
|
}) {
|
|
4205
|
-
return /* @__PURE__ */
|
|
4206
|
-
/* @__PURE__ */
|
|
4207
|
-
/* @__PURE__ */
|
|
3922
|
+
return /* @__PURE__ */ jsxs17(SheetPortal, { children: [
|
|
3923
|
+
/* @__PURE__ */ jsx38(SheetOverlay, {}),
|
|
3924
|
+
/* @__PURE__ */ jsxs17(
|
|
4208
3925
|
SheetPrimitive.Content,
|
|
4209
3926
|
{
|
|
4210
3927
|
"data-slot": "sheet-content",
|
|
@@ -4219,9 +3936,9 @@ function SheetContent({
|
|
|
4219
3936
|
...props,
|
|
4220
3937
|
children: [
|
|
4221
3938
|
children,
|
|
4222
|
-
/* @__PURE__ */
|
|
4223
|
-
/* @__PURE__ */
|
|
4224
|
-
/* @__PURE__ */
|
|
3939
|
+
/* @__PURE__ */ jsxs17(SheetPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
3940
|
+
/* @__PURE__ */ jsx38(XIcon, { className: "size-4" }),
|
|
3941
|
+
/* @__PURE__ */ jsx38("span", { className: "sr-only", children: "Close" })
|
|
4225
3942
|
] })
|
|
4226
3943
|
]
|
|
4227
3944
|
}
|
|
@@ -4229,7 +3946,7 @@ function SheetContent({
|
|
|
4229
3946
|
] });
|
|
4230
3947
|
}
|
|
4231
3948
|
function SheetHeader({ className, ...props }) {
|
|
4232
|
-
return /* @__PURE__ */
|
|
3949
|
+
return /* @__PURE__ */ jsx38(
|
|
4233
3950
|
"div",
|
|
4234
3951
|
{
|
|
4235
3952
|
"data-slot": "sheet-header",
|
|
@@ -4239,7 +3956,7 @@ function SheetHeader({ className, ...props }) {
|
|
|
4239
3956
|
);
|
|
4240
3957
|
}
|
|
4241
3958
|
function SheetFooter({ className, ...props }) {
|
|
4242
|
-
return /* @__PURE__ */
|
|
3959
|
+
return /* @__PURE__ */ jsx38(
|
|
4243
3960
|
"div",
|
|
4244
3961
|
{
|
|
4245
3962
|
"data-slot": "sheet-footer",
|
|
@@ -4252,7 +3969,7 @@ function SheetTitle({
|
|
|
4252
3969
|
className,
|
|
4253
3970
|
...props
|
|
4254
3971
|
}) {
|
|
4255
|
-
return /* @__PURE__ */
|
|
3972
|
+
return /* @__PURE__ */ jsx38(
|
|
4256
3973
|
SheetPrimitive.Title,
|
|
4257
3974
|
{
|
|
4258
3975
|
"data-slot": "sheet-title",
|
|
@@ -4265,7 +3982,7 @@ function SheetDescription({
|
|
|
4265
3982
|
className,
|
|
4266
3983
|
...props
|
|
4267
3984
|
}) {
|
|
4268
|
-
return /* @__PURE__ */
|
|
3985
|
+
return /* @__PURE__ */ jsx38(
|
|
4269
3986
|
SheetPrimitive.Description,
|
|
4270
3987
|
{
|
|
4271
3988
|
"data-slot": "sheet-description",
|
|
@@ -4276,9 +3993,9 @@ function SheetDescription({
|
|
|
4276
3993
|
}
|
|
4277
3994
|
|
|
4278
3995
|
// src/primitives/skeleton.tsx
|
|
4279
|
-
import { jsx as
|
|
3996
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
4280
3997
|
function Skeleton({ className, ...props }) {
|
|
4281
|
-
return /* @__PURE__ */
|
|
3998
|
+
return /* @__PURE__ */ jsx39(
|
|
4282
3999
|
"div",
|
|
4283
4000
|
{
|
|
4284
4001
|
"data-slot": "skeleton",
|
|
@@ -4290,12 +4007,12 @@ function Skeleton({ className, ...props }) {
|
|
|
4290
4007
|
|
|
4291
4008
|
// src/primitives/tooltip.tsx
|
|
4292
4009
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4293
|
-
import { jsx as
|
|
4010
|
+
import { jsx as jsx40, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
4294
4011
|
function TooltipProvider({
|
|
4295
4012
|
delayDuration = 0,
|
|
4296
4013
|
...props
|
|
4297
4014
|
}) {
|
|
4298
|
-
return /* @__PURE__ */
|
|
4015
|
+
return /* @__PURE__ */ jsx40(
|
|
4299
4016
|
TooltipPrimitive.Provider,
|
|
4300
4017
|
{
|
|
4301
4018
|
"data-slot": "tooltip-provider",
|
|
@@ -4307,12 +4024,12 @@ function TooltipProvider({
|
|
|
4307
4024
|
function Tooltip2({
|
|
4308
4025
|
...props
|
|
4309
4026
|
}) {
|
|
4310
|
-
return /* @__PURE__ */
|
|
4027
|
+
return /* @__PURE__ */ jsx40(TooltipProvider, { children: /* @__PURE__ */ jsx40(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props }) });
|
|
4311
4028
|
}
|
|
4312
4029
|
function TooltipTrigger({
|
|
4313
4030
|
...props
|
|
4314
4031
|
}) {
|
|
4315
|
-
return /* @__PURE__ */
|
|
4032
|
+
return /* @__PURE__ */ jsx40(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
|
|
4316
4033
|
}
|
|
4317
4034
|
function TooltipContent({
|
|
4318
4035
|
className,
|
|
@@ -4320,7 +4037,7 @@ function TooltipContent({
|
|
|
4320
4037
|
children,
|
|
4321
4038
|
...props
|
|
4322
4039
|
}) {
|
|
4323
|
-
return /* @__PURE__ */
|
|
4040
|
+
return /* @__PURE__ */ jsx40(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs18(
|
|
4324
4041
|
TooltipPrimitive.Content,
|
|
4325
4042
|
{
|
|
4326
4043
|
"data-slot": "tooltip-content",
|
|
@@ -4332,20 +4049,20 @@ function TooltipContent({
|
|
|
4332
4049
|
...props,
|
|
4333
4050
|
children: [
|
|
4334
4051
|
children,
|
|
4335
|
-
/* @__PURE__ */
|
|
4052
|
+
/* @__PURE__ */ jsx40(TooltipPrimitive.Arrow, { className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
|
|
4336
4053
|
]
|
|
4337
4054
|
}
|
|
4338
4055
|
) });
|
|
4339
4056
|
}
|
|
4340
4057
|
|
|
4341
4058
|
// src/primitives/useMobile.ts
|
|
4342
|
-
import * as
|
|
4059
|
+
import * as React6 from "react";
|
|
4343
4060
|
var MOBILE_BREAKPOINT = 768;
|
|
4344
4061
|
function useIsMobile() {
|
|
4345
|
-
const [isMobile, setIsMobile] =
|
|
4062
|
+
const [isMobile, setIsMobile] = React6.useState(
|
|
4346
4063
|
void 0
|
|
4347
4064
|
);
|
|
4348
|
-
|
|
4065
|
+
React6.useEffect(() => {
|
|
4349
4066
|
const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
|
|
4350
4067
|
const onChange = () => {
|
|
4351
4068
|
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
@@ -4358,20 +4075,20 @@ function useIsMobile() {
|
|
|
4358
4075
|
}
|
|
4359
4076
|
|
|
4360
4077
|
// src/primitives/sidebar.tsx
|
|
4361
|
-
import { Slot as
|
|
4362
|
-
import { cva as
|
|
4078
|
+
import { Slot as Slot6 } from "@radix-ui/react-slot";
|
|
4079
|
+
import { cva as cva9 } from "class-variance-authority";
|
|
4363
4080
|
import { PanelLeftIcon } from "lucide-react";
|
|
4364
|
-
import * as
|
|
4365
|
-
import { jsx as
|
|
4081
|
+
import * as React7 from "react";
|
|
4082
|
+
import { jsx as jsx41, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
4366
4083
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
4367
4084
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
4368
4085
|
var SIDEBAR_WIDTH = "16rem";
|
|
4369
4086
|
var SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
4370
4087
|
var SIDEBAR_WIDTH_ICON = "3rem";
|
|
4371
4088
|
var SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
4372
|
-
var SidebarContext =
|
|
4089
|
+
var SidebarContext = React7.createContext(null);
|
|
4373
4090
|
function useSidebar() {
|
|
4374
|
-
const context =
|
|
4091
|
+
const context = React7.useContext(SidebarContext);
|
|
4375
4092
|
if (!context) {
|
|
4376
4093
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
4377
4094
|
}
|
|
@@ -4387,10 +4104,10 @@ function SidebarProvider({
|
|
|
4387
4104
|
...props
|
|
4388
4105
|
}) {
|
|
4389
4106
|
const isMobile = useIsMobile();
|
|
4390
|
-
const [openMobile, setOpenMobile] =
|
|
4391
|
-
const [_open, _setOpen] =
|
|
4107
|
+
const [openMobile, setOpenMobile] = React7.useState(false);
|
|
4108
|
+
const [_open, _setOpen] = React7.useState(defaultOpen);
|
|
4392
4109
|
const open = openProp ?? _open;
|
|
4393
|
-
const setOpen =
|
|
4110
|
+
const setOpen = React7.useCallback(
|
|
4394
4111
|
(value) => {
|
|
4395
4112
|
const openState = typeof value === "function" ? value(open) : value;
|
|
4396
4113
|
if (setOpenProp) {
|
|
@@ -4402,10 +4119,10 @@ function SidebarProvider({
|
|
|
4402
4119
|
},
|
|
4403
4120
|
[setOpenProp, open]
|
|
4404
4121
|
);
|
|
4405
|
-
const toggleSidebar =
|
|
4122
|
+
const toggleSidebar = React7.useCallback(() => {
|
|
4406
4123
|
return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
|
|
4407
4124
|
}, [isMobile, setOpen, setOpenMobile]);
|
|
4408
|
-
|
|
4125
|
+
React7.useEffect(() => {
|
|
4409
4126
|
const handleKeyDown = (event) => {
|
|
4410
4127
|
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
4411
4128
|
event.preventDefault();
|
|
@@ -4416,7 +4133,7 @@ function SidebarProvider({
|
|
|
4416
4133
|
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
4417
4134
|
}, [toggleSidebar]);
|
|
4418
4135
|
const state = open ? "expanded" : "collapsed";
|
|
4419
|
-
const contextValue =
|
|
4136
|
+
const contextValue = React7.useMemo(
|
|
4420
4137
|
() => ({
|
|
4421
4138
|
state,
|
|
4422
4139
|
open,
|
|
@@ -4428,7 +4145,7 @@ function SidebarProvider({
|
|
|
4428
4145
|
}),
|
|
4429
4146
|
[state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
|
|
4430
4147
|
);
|
|
4431
|
-
return /* @__PURE__ */
|
|
4148
|
+
return /* @__PURE__ */ jsx41(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx41(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx41(
|
|
4432
4149
|
"div",
|
|
4433
4150
|
{
|
|
4434
4151
|
"data-slot": "sidebar-wrapper",
|
|
@@ -4457,7 +4174,7 @@ function Sidebar({
|
|
|
4457
4174
|
}) {
|
|
4458
4175
|
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
4459
4176
|
if (collapsible === "none") {
|
|
4460
|
-
return /* @__PURE__ */
|
|
4177
|
+
return /* @__PURE__ */ jsx41(
|
|
4461
4178
|
"div",
|
|
4462
4179
|
{
|
|
4463
4180
|
"data-slot": "sidebar",
|
|
@@ -4471,7 +4188,7 @@ function Sidebar({
|
|
|
4471
4188
|
);
|
|
4472
4189
|
}
|
|
4473
4190
|
if (isMobile) {
|
|
4474
|
-
return /* @__PURE__ */
|
|
4191
|
+
return /* @__PURE__ */ jsx41(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs19(
|
|
4475
4192
|
SheetContent,
|
|
4476
4193
|
{
|
|
4477
4194
|
"data-sidebar": "sidebar",
|
|
@@ -4483,16 +4200,16 @@ function Sidebar({
|
|
|
4483
4200
|
},
|
|
4484
4201
|
side,
|
|
4485
4202
|
children: [
|
|
4486
|
-
/* @__PURE__ */
|
|
4487
|
-
/* @__PURE__ */
|
|
4488
|
-
/* @__PURE__ */
|
|
4203
|
+
/* @__PURE__ */ jsxs19(SheetHeader, { className: "sr-only", children: [
|
|
4204
|
+
/* @__PURE__ */ jsx41(SheetTitle, { children: "Sidebar" }),
|
|
4205
|
+
/* @__PURE__ */ jsx41(SheetDescription, { children: "Displays the mobile sidebar." })
|
|
4489
4206
|
] }),
|
|
4490
|
-
/* @__PURE__ */
|
|
4207
|
+
/* @__PURE__ */ jsx41("div", { className: "flex h-full w-full flex-col", children })
|
|
4491
4208
|
]
|
|
4492
4209
|
}
|
|
4493
4210
|
) });
|
|
4494
4211
|
}
|
|
4495
|
-
return /* @__PURE__ */
|
|
4212
|
+
return /* @__PURE__ */ jsxs19(
|
|
4496
4213
|
"div",
|
|
4497
4214
|
{
|
|
4498
4215
|
className: "group peer text-sidebar-foreground hidden md:block",
|
|
@@ -4502,7 +4219,7 @@ function Sidebar({
|
|
|
4502
4219
|
"data-side": side,
|
|
4503
4220
|
"data-slot": "sidebar",
|
|
4504
4221
|
children: [
|
|
4505
|
-
/* @__PURE__ */
|
|
4222
|
+
/* @__PURE__ */ jsx41(
|
|
4506
4223
|
"div",
|
|
4507
4224
|
{
|
|
4508
4225
|
"data-slot": "sidebar-gap",
|
|
@@ -4515,7 +4232,7 @@ function Sidebar({
|
|
|
4515
4232
|
)
|
|
4516
4233
|
}
|
|
4517
4234
|
),
|
|
4518
|
-
/* @__PURE__ */
|
|
4235
|
+
/* @__PURE__ */ jsx41(
|
|
4519
4236
|
"div",
|
|
4520
4237
|
{
|
|
4521
4238
|
"data-slot": "sidebar-container",
|
|
@@ -4528,7 +4245,7 @@ function Sidebar({
|
|
|
4528
4245
|
className
|
|
4529
4246
|
),
|
|
4530
4247
|
...props,
|
|
4531
|
-
children: /* @__PURE__ */
|
|
4248
|
+
children: /* @__PURE__ */ jsx41(
|
|
4532
4249
|
"div",
|
|
4533
4250
|
{
|
|
4534
4251
|
"data-sidebar": "sidebar",
|
|
@@ -4549,7 +4266,7 @@ function SidebarTrigger({
|
|
|
4549
4266
|
...props
|
|
4550
4267
|
}) {
|
|
4551
4268
|
const { toggleSidebar } = useSidebar();
|
|
4552
|
-
return /* @__PURE__ */
|
|
4269
|
+
return /* @__PURE__ */ jsxs19(
|
|
4553
4270
|
Button,
|
|
4554
4271
|
{
|
|
4555
4272
|
"data-sidebar": "trigger",
|
|
@@ -4563,15 +4280,15 @@ function SidebarTrigger({
|
|
|
4563
4280
|
},
|
|
4564
4281
|
...props,
|
|
4565
4282
|
children: [
|
|
4566
|
-
/* @__PURE__ */
|
|
4567
|
-
/* @__PURE__ */
|
|
4283
|
+
/* @__PURE__ */ jsx41(PanelLeftIcon, {}),
|
|
4284
|
+
/* @__PURE__ */ jsx41("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
4568
4285
|
]
|
|
4569
4286
|
}
|
|
4570
4287
|
);
|
|
4571
4288
|
}
|
|
4572
4289
|
function SidebarRail({ className, ...props }) {
|
|
4573
4290
|
const { toggleSidebar } = useSidebar();
|
|
4574
|
-
return /* @__PURE__ */
|
|
4291
|
+
return /* @__PURE__ */ jsx41(
|
|
4575
4292
|
"button",
|
|
4576
4293
|
{
|
|
4577
4294
|
"data-sidebar": "rail",
|
|
@@ -4594,7 +4311,7 @@ function SidebarRail({ className, ...props }) {
|
|
|
4594
4311
|
);
|
|
4595
4312
|
}
|
|
4596
4313
|
function SidebarInset({ className, ...props }) {
|
|
4597
|
-
return /* @__PURE__ */
|
|
4314
|
+
return /* @__PURE__ */ jsx41(
|
|
4598
4315
|
"main",
|
|
4599
4316
|
{
|
|
4600
4317
|
"data-slot": "sidebar-inset",
|
|
@@ -4611,7 +4328,7 @@ function SidebarInput({
|
|
|
4611
4328
|
className,
|
|
4612
4329
|
...props
|
|
4613
4330
|
}) {
|
|
4614
|
-
return /* @__PURE__ */
|
|
4331
|
+
return /* @__PURE__ */ jsx41(
|
|
4615
4332
|
Input,
|
|
4616
4333
|
{
|
|
4617
4334
|
"data-slot": "sidebar-input",
|
|
@@ -4622,7 +4339,7 @@ function SidebarInput({
|
|
|
4622
4339
|
);
|
|
4623
4340
|
}
|
|
4624
4341
|
function SidebarHeader({ className, ...props }) {
|
|
4625
|
-
return /* @__PURE__ */
|
|
4342
|
+
return /* @__PURE__ */ jsx41(
|
|
4626
4343
|
"div",
|
|
4627
4344
|
{
|
|
4628
4345
|
"data-slot": "sidebar-header",
|
|
@@ -4633,7 +4350,7 @@ function SidebarHeader({ className, ...props }) {
|
|
|
4633
4350
|
);
|
|
4634
4351
|
}
|
|
4635
4352
|
function SidebarFooter({ className, ...props }) {
|
|
4636
|
-
return /* @__PURE__ */
|
|
4353
|
+
return /* @__PURE__ */ jsx41(
|
|
4637
4354
|
"div",
|
|
4638
4355
|
{
|
|
4639
4356
|
"data-slot": "sidebar-footer",
|
|
@@ -4647,7 +4364,7 @@ function SidebarSeparator({
|
|
|
4647
4364
|
className,
|
|
4648
4365
|
...props
|
|
4649
4366
|
}) {
|
|
4650
|
-
return /* @__PURE__ */
|
|
4367
|
+
return /* @__PURE__ */ jsx41(
|
|
4651
4368
|
Separator,
|
|
4652
4369
|
{
|
|
4653
4370
|
"data-slot": "sidebar-separator",
|
|
@@ -4658,7 +4375,7 @@ function SidebarSeparator({
|
|
|
4658
4375
|
);
|
|
4659
4376
|
}
|
|
4660
4377
|
function SidebarContent({ className, ...props }) {
|
|
4661
|
-
return /* @__PURE__ */
|
|
4378
|
+
return /* @__PURE__ */ jsx41(
|
|
4662
4379
|
"div",
|
|
4663
4380
|
{
|
|
4664
4381
|
"data-slot": "sidebar-content",
|
|
@@ -4672,7 +4389,7 @@ function SidebarContent({ className, ...props }) {
|
|
|
4672
4389
|
);
|
|
4673
4390
|
}
|
|
4674
4391
|
function SidebarGroup({ className, ...props }) {
|
|
4675
|
-
return /* @__PURE__ */
|
|
4392
|
+
return /* @__PURE__ */ jsx41(
|
|
4676
4393
|
"div",
|
|
4677
4394
|
{
|
|
4678
4395
|
"data-slot": "sidebar-group",
|
|
@@ -4687,8 +4404,8 @@ function SidebarGroupLabel({
|
|
|
4687
4404
|
asChild = false,
|
|
4688
4405
|
...props
|
|
4689
4406
|
}) {
|
|
4690
|
-
const Comp = asChild ?
|
|
4691
|
-
return /* @__PURE__ */
|
|
4407
|
+
const Comp = asChild ? Slot6 : "div";
|
|
4408
|
+
return /* @__PURE__ */ jsx41(
|
|
4692
4409
|
Comp,
|
|
4693
4410
|
{
|
|
4694
4411
|
"data-slot": "sidebar-group-label",
|
|
@@ -4707,8 +4424,8 @@ function SidebarGroupAction({
|
|
|
4707
4424
|
asChild = false,
|
|
4708
4425
|
...props
|
|
4709
4426
|
}) {
|
|
4710
|
-
const Comp = asChild ?
|
|
4711
|
-
return /* @__PURE__ */
|
|
4427
|
+
const Comp = asChild ? Slot6 : "button";
|
|
4428
|
+
return /* @__PURE__ */ jsx41(
|
|
4712
4429
|
Comp,
|
|
4713
4430
|
{
|
|
4714
4431
|
"data-slot": "sidebar-group-action",
|
|
@@ -4728,7 +4445,7 @@ function SidebarGroupContent({
|
|
|
4728
4445
|
className,
|
|
4729
4446
|
...props
|
|
4730
4447
|
}) {
|
|
4731
|
-
return /* @__PURE__ */
|
|
4448
|
+
return /* @__PURE__ */ jsx41(
|
|
4732
4449
|
"div",
|
|
4733
4450
|
{
|
|
4734
4451
|
"data-slot": "sidebar-group-content",
|
|
@@ -4739,7 +4456,7 @@ function SidebarGroupContent({
|
|
|
4739
4456
|
);
|
|
4740
4457
|
}
|
|
4741
4458
|
function SidebarMenu({ className, ...props }) {
|
|
4742
|
-
return /* @__PURE__ */
|
|
4459
|
+
return /* @__PURE__ */ jsx41(
|
|
4743
4460
|
"ul",
|
|
4744
4461
|
{
|
|
4745
4462
|
"data-slot": "sidebar-menu",
|
|
@@ -4750,7 +4467,7 @@ function SidebarMenu({ className, ...props }) {
|
|
|
4750
4467
|
);
|
|
4751
4468
|
}
|
|
4752
4469
|
function SidebarMenuItem({ className, ...props }) {
|
|
4753
|
-
return /* @__PURE__ */
|
|
4470
|
+
return /* @__PURE__ */ jsx41(
|
|
4754
4471
|
"li",
|
|
4755
4472
|
{
|
|
4756
4473
|
"data-slot": "sidebar-menu-item",
|
|
@@ -4760,7 +4477,7 @@ function SidebarMenuItem({ className, ...props }) {
|
|
|
4760
4477
|
}
|
|
4761
4478
|
);
|
|
4762
4479
|
}
|
|
4763
|
-
var sidebarMenuButtonVariants =
|
|
4480
|
+
var sidebarMenuButtonVariants = cva9(
|
|
4764
4481
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
4765
4482
|
{
|
|
4766
4483
|
variants: {
|
|
@@ -4789,9 +4506,9 @@ function SidebarMenuButton({
|
|
|
4789
4506
|
className,
|
|
4790
4507
|
...props
|
|
4791
4508
|
}) {
|
|
4792
|
-
const Comp = asChild ?
|
|
4509
|
+
const Comp = asChild ? Slot6 : "button";
|
|
4793
4510
|
const { isMobile, state } = useSidebar();
|
|
4794
|
-
const button = /* @__PURE__ */
|
|
4511
|
+
const button = /* @__PURE__ */ jsx41(
|
|
4795
4512
|
Comp,
|
|
4796
4513
|
{
|
|
4797
4514
|
"data-slot": "sidebar-menu-button",
|
|
@@ -4810,9 +4527,9 @@ function SidebarMenuButton({
|
|
|
4810
4527
|
children: tooltip
|
|
4811
4528
|
};
|
|
4812
4529
|
}
|
|
4813
|
-
return /* @__PURE__ */
|
|
4814
|
-
/* @__PURE__ */
|
|
4815
|
-
/* @__PURE__ */
|
|
4530
|
+
return /* @__PURE__ */ jsxs19(Tooltip2, { children: [
|
|
4531
|
+
/* @__PURE__ */ jsx41(TooltipTrigger, { asChild: true, children: button }),
|
|
4532
|
+
/* @__PURE__ */ jsx41(
|
|
4816
4533
|
TooltipContent,
|
|
4817
4534
|
{
|
|
4818
4535
|
side: "right",
|
|
@@ -4829,8 +4546,8 @@ function SidebarMenuAction({
|
|
|
4829
4546
|
showOnHover = false,
|
|
4830
4547
|
...props
|
|
4831
4548
|
}) {
|
|
4832
|
-
const Comp = asChild ?
|
|
4833
|
-
return /* @__PURE__ */
|
|
4549
|
+
const Comp = asChild ? Slot6 : "button";
|
|
4550
|
+
return /* @__PURE__ */ jsx41(
|
|
4834
4551
|
Comp,
|
|
4835
4552
|
{
|
|
4836
4553
|
"data-slot": "sidebar-menu-action",
|
|
@@ -4854,7 +4571,7 @@ function SidebarMenuBadge({
|
|
|
4854
4571
|
className,
|
|
4855
4572
|
...props
|
|
4856
4573
|
}) {
|
|
4857
|
-
return /* @__PURE__ */
|
|
4574
|
+
return /* @__PURE__ */ jsx41(
|
|
4858
4575
|
"div",
|
|
4859
4576
|
{
|
|
4860
4577
|
"data-slot": "sidebar-menu-badge",
|
|
@@ -4877,10 +4594,10 @@ function SidebarMenuSkeleton({
|
|
|
4877
4594
|
showIcon = false,
|
|
4878
4595
|
...props
|
|
4879
4596
|
}) {
|
|
4880
|
-
const width =
|
|
4597
|
+
const width = React7.useMemo(() => {
|
|
4881
4598
|
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
4882
4599
|
}, []);
|
|
4883
|
-
return /* @__PURE__ */
|
|
4600
|
+
return /* @__PURE__ */ jsxs19(
|
|
4884
4601
|
"div",
|
|
4885
4602
|
{
|
|
4886
4603
|
"data-slot": "sidebar-menu-skeleton",
|
|
@@ -4888,14 +4605,14 @@ function SidebarMenuSkeleton({
|
|
|
4888
4605
|
className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
|
|
4889
4606
|
...props,
|
|
4890
4607
|
children: [
|
|
4891
|
-
showIcon && /* @__PURE__ */
|
|
4608
|
+
showIcon && /* @__PURE__ */ jsx41(
|
|
4892
4609
|
Skeleton,
|
|
4893
4610
|
{
|
|
4894
4611
|
className: "size-4 rounded-md",
|
|
4895
4612
|
"data-sidebar": "menu-skeleton-icon"
|
|
4896
4613
|
}
|
|
4897
4614
|
),
|
|
4898
|
-
/* @__PURE__ */
|
|
4615
|
+
/* @__PURE__ */ jsx41(
|
|
4899
4616
|
Skeleton,
|
|
4900
4617
|
{
|
|
4901
4618
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
@@ -4910,7 +4627,7 @@ function SidebarMenuSkeleton({
|
|
|
4910
4627
|
);
|
|
4911
4628
|
}
|
|
4912
4629
|
function SidebarMenuSub({ className, ...props }) {
|
|
4913
|
-
return /* @__PURE__ */
|
|
4630
|
+
return /* @__PURE__ */ jsx41(
|
|
4914
4631
|
"ul",
|
|
4915
4632
|
{
|
|
4916
4633
|
"data-slot": "sidebar-menu-sub",
|
|
@@ -4928,7 +4645,7 @@ function SidebarMenuSubItem({
|
|
|
4928
4645
|
className,
|
|
4929
4646
|
...props
|
|
4930
4647
|
}) {
|
|
4931
|
-
return /* @__PURE__ */
|
|
4648
|
+
return /* @__PURE__ */ jsx41(
|
|
4932
4649
|
"li",
|
|
4933
4650
|
{
|
|
4934
4651
|
"data-slot": "sidebar-menu-sub-item",
|
|
@@ -4945,8 +4662,8 @@ function SidebarMenuSubButton({
|
|
|
4945
4662
|
className,
|
|
4946
4663
|
...props
|
|
4947
4664
|
}) {
|
|
4948
|
-
const Comp = asChild ?
|
|
4949
|
-
return /* @__PURE__ */
|
|
4665
|
+
const Comp = asChild ? Slot6 : "a";
|
|
4666
|
+
return /* @__PURE__ */ jsx41(
|
|
4950
4667
|
Comp,
|
|
4951
4668
|
{
|
|
4952
4669
|
"data-slot": "sidebar-menu-sub-button",
|
|
@@ -4967,9 +4684,9 @@ function SidebarMenuSubButton({
|
|
|
4967
4684
|
}
|
|
4968
4685
|
|
|
4969
4686
|
// src/primitives/slider.tsx
|
|
4970
|
-
import * as
|
|
4687
|
+
import * as React8 from "react";
|
|
4971
4688
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
4972
|
-
import { jsx as
|
|
4689
|
+
import { jsx as jsx42, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
4973
4690
|
function Slider({
|
|
4974
4691
|
className,
|
|
4975
4692
|
defaultValue,
|
|
@@ -4978,11 +4695,11 @@ function Slider({
|
|
|
4978
4695
|
max = 100,
|
|
4979
4696
|
...props
|
|
4980
4697
|
}) {
|
|
4981
|
-
const _values =
|
|
4698
|
+
const _values = React8.useMemo(
|
|
4982
4699
|
() => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max],
|
|
4983
4700
|
[value, defaultValue, min, max]
|
|
4984
4701
|
);
|
|
4985
|
-
return /* @__PURE__ */
|
|
4702
|
+
return /* @__PURE__ */ jsxs20(
|
|
4986
4703
|
SliderPrimitive.Root,
|
|
4987
4704
|
{
|
|
4988
4705
|
"data-slot": "slider",
|
|
@@ -4996,14 +4713,14 @@ function Slider({
|
|
|
4996
4713
|
),
|
|
4997
4714
|
...props,
|
|
4998
4715
|
children: [
|
|
4999
|
-
/* @__PURE__ */
|
|
4716
|
+
/* @__PURE__ */ jsx42(
|
|
5000
4717
|
SliderPrimitive.Track,
|
|
5001
4718
|
{
|
|
5002
4719
|
"data-slot": "slider-track",
|
|
5003
4720
|
className: cn(
|
|
5004
4721
|
"bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
|
|
5005
4722
|
),
|
|
5006
|
-
children: /* @__PURE__ */
|
|
4723
|
+
children: /* @__PURE__ */ jsx42(
|
|
5007
4724
|
SliderPrimitive.Range,
|
|
5008
4725
|
{
|
|
5009
4726
|
"data-slot": "slider-range",
|
|
@@ -5014,7 +4731,7 @@ function Slider({
|
|
|
5014
4731
|
)
|
|
5015
4732
|
}
|
|
5016
4733
|
),
|
|
5017
|
-
Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */
|
|
4734
|
+
Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ jsx42(
|
|
5018
4735
|
SliderPrimitive.Thumb,
|
|
5019
4736
|
{
|
|
5020
4737
|
"data-slot": "slider-thumb",
|
|
@@ -5030,10 +4747,10 @@ function Slider({
|
|
|
5030
4747
|
// src/primitives/sonner.tsx
|
|
5031
4748
|
import { useTheme } from "next-themes";
|
|
5032
4749
|
import { Toaster as Sonner } from "sonner";
|
|
5033
|
-
import { jsx as
|
|
4750
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5034
4751
|
var Toaster = ({ ...props }) => {
|
|
5035
4752
|
const { theme = "system" } = useTheme();
|
|
5036
|
-
return /* @__PURE__ */
|
|
4753
|
+
return /* @__PURE__ */ jsx43(
|
|
5037
4754
|
Sonner,
|
|
5038
4755
|
{
|
|
5039
4756
|
theme,
|
|
@@ -5050,9 +4767,9 @@ var Toaster = ({ ...props }) => {
|
|
|
5050
4767
|
|
|
5051
4768
|
// src/primitives/spinner.tsx
|
|
5052
4769
|
import { Loader2Icon } from "lucide-react";
|
|
5053
|
-
import { jsx as
|
|
4770
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5054
4771
|
function Spinner({ className, ...props }) {
|
|
5055
|
-
return /* @__PURE__ */
|
|
4772
|
+
return /* @__PURE__ */ jsx44(
|
|
5056
4773
|
Loader2Icon,
|
|
5057
4774
|
{
|
|
5058
4775
|
role: "status",
|
|
@@ -5065,12 +4782,12 @@ function Spinner({ className, ...props }) {
|
|
|
5065
4782
|
|
|
5066
4783
|
// src/primitives/switch.tsx
|
|
5067
4784
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
5068
|
-
import { jsx as
|
|
4785
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5069
4786
|
function Switch({
|
|
5070
4787
|
className,
|
|
5071
4788
|
...props
|
|
5072
4789
|
}) {
|
|
5073
|
-
return /* @__PURE__ */
|
|
4790
|
+
return /* @__PURE__ */ jsx45(
|
|
5074
4791
|
SwitchPrimitive.Root,
|
|
5075
4792
|
{
|
|
5076
4793
|
"data-slot": "switch",
|
|
@@ -5079,7 +4796,7 @@ function Switch({
|
|
|
5079
4796
|
className
|
|
5080
4797
|
),
|
|
5081
4798
|
...props,
|
|
5082
|
-
children: /* @__PURE__ */
|
|
4799
|
+
children: /* @__PURE__ */ jsx45(
|
|
5083
4800
|
SwitchPrimitive.Thumb,
|
|
5084
4801
|
{
|
|
5085
4802
|
"data-slot": "switch-thumb",
|
|
@@ -5093,14 +4810,14 @@ function Switch({
|
|
|
5093
4810
|
}
|
|
5094
4811
|
|
|
5095
4812
|
// src/primitives/table.tsx
|
|
5096
|
-
import { jsx as
|
|
4813
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5097
4814
|
function Table({ className, ...props }) {
|
|
5098
|
-
return /* @__PURE__ */
|
|
4815
|
+
return /* @__PURE__ */ jsx46(
|
|
5099
4816
|
"div",
|
|
5100
4817
|
{
|
|
5101
4818
|
"data-slot": "table-container",
|
|
5102
4819
|
className: "relative w-full overflow-x-auto",
|
|
5103
|
-
children: /* @__PURE__ */
|
|
4820
|
+
children: /* @__PURE__ */ jsx46(
|
|
5104
4821
|
"table",
|
|
5105
4822
|
{
|
|
5106
4823
|
"data-slot": "table",
|
|
@@ -5112,7 +4829,7 @@ function Table({ className, ...props }) {
|
|
|
5112
4829
|
);
|
|
5113
4830
|
}
|
|
5114
4831
|
function TableHeader({ className, ...props }) {
|
|
5115
|
-
return /* @__PURE__ */
|
|
4832
|
+
return /* @__PURE__ */ jsx46(
|
|
5116
4833
|
"thead",
|
|
5117
4834
|
{
|
|
5118
4835
|
"data-slot": "table-header",
|
|
@@ -5122,7 +4839,7 @@ function TableHeader({ className, ...props }) {
|
|
|
5122
4839
|
);
|
|
5123
4840
|
}
|
|
5124
4841
|
function TableBody({ className, ...props }) {
|
|
5125
|
-
return /* @__PURE__ */
|
|
4842
|
+
return /* @__PURE__ */ jsx46(
|
|
5126
4843
|
"tbody",
|
|
5127
4844
|
{
|
|
5128
4845
|
"data-slot": "table-body",
|
|
@@ -5132,7 +4849,7 @@ function TableBody({ className, ...props }) {
|
|
|
5132
4849
|
);
|
|
5133
4850
|
}
|
|
5134
4851
|
function TableFooter({ className, ...props }) {
|
|
5135
|
-
return /* @__PURE__ */
|
|
4852
|
+
return /* @__PURE__ */ jsx46(
|
|
5136
4853
|
"tfoot",
|
|
5137
4854
|
{
|
|
5138
4855
|
"data-slot": "table-footer",
|
|
@@ -5145,7 +4862,7 @@ function TableFooter({ className, ...props }) {
|
|
|
5145
4862
|
);
|
|
5146
4863
|
}
|
|
5147
4864
|
function TableRow({ className, ...props }) {
|
|
5148
|
-
return /* @__PURE__ */
|
|
4865
|
+
return /* @__PURE__ */ jsx46(
|
|
5149
4866
|
"tr",
|
|
5150
4867
|
{
|
|
5151
4868
|
"data-slot": "table-row",
|
|
@@ -5158,7 +4875,7 @@ function TableRow({ className, ...props }) {
|
|
|
5158
4875
|
);
|
|
5159
4876
|
}
|
|
5160
4877
|
function TableHead({ className, ...props }) {
|
|
5161
|
-
return /* @__PURE__ */
|
|
4878
|
+
return /* @__PURE__ */ jsx46(
|
|
5162
4879
|
"th",
|
|
5163
4880
|
{
|
|
5164
4881
|
"data-slot": "table-head",
|
|
@@ -5171,7 +4888,7 @@ function TableHead({ className, ...props }) {
|
|
|
5171
4888
|
);
|
|
5172
4889
|
}
|
|
5173
4890
|
function TableCell({ className, ...props }) {
|
|
5174
|
-
return /* @__PURE__ */
|
|
4891
|
+
return /* @__PURE__ */ jsx46(
|
|
5175
4892
|
"td",
|
|
5176
4893
|
{
|
|
5177
4894
|
"data-slot": "table-cell",
|
|
@@ -5187,7 +4904,7 @@ function TableCaption({
|
|
|
5187
4904
|
className,
|
|
5188
4905
|
...props
|
|
5189
4906
|
}) {
|
|
5190
|
-
return /* @__PURE__ */
|
|
4907
|
+
return /* @__PURE__ */ jsx46(
|
|
5191
4908
|
"caption",
|
|
5192
4909
|
{
|
|
5193
4910
|
"data-slot": "table-caption",
|
|
@@ -5199,12 +4916,12 @@ function TableCaption({
|
|
|
5199
4916
|
|
|
5200
4917
|
// src/primitives/tabs.tsx
|
|
5201
4918
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
5202
|
-
import { jsx as
|
|
4919
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5203
4920
|
function Tabs({
|
|
5204
4921
|
className,
|
|
5205
4922
|
...props
|
|
5206
4923
|
}) {
|
|
5207
|
-
return /* @__PURE__ */
|
|
4924
|
+
return /* @__PURE__ */ jsx47(
|
|
5208
4925
|
TabsPrimitive.Root,
|
|
5209
4926
|
{
|
|
5210
4927
|
"data-slot": "tabs",
|
|
@@ -5217,7 +4934,7 @@ function TabsList({
|
|
|
5217
4934
|
className,
|
|
5218
4935
|
...props
|
|
5219
4936
|
}) {
|
|
5220
|
-
return /* @__PURE__ */
|
|
4937
|
+
return /* @__PURE__ */ jsx47(
|
|
5221
4938
|
TabsPrimitive.List,
|
|
5222
4939
|
{
|
|
5223
4940
|
"data-slot": "tabs-list",
|
|
@@ -5233,7 +4950,7 @@ function TabsTrigger({
|
|
|
5233
4950
|
className,
|
|
5234
4951
|
...props
|
|
5235
4952
|
}) {
|
|
5236
|
-
return /* @__PURE__ */
|
|
4953
|
+
return /* @__PURE__ */ jsx47(
|
|
5237
4954
|
TabsPrimitive.Trigger,
|
|
5238
4955
|
{
|
|
5239
4956
|
"data-slot": "tabs-trigger",
|
|
@@ -5249,7 +4966,7 @@ function TabsContent({
|
|
|
5249
4966
|
className,
|
|
5250
4967
|
...props
|
|
5251
4968
|
}) {
|
|
5252
|
-
return /* @__PURE__ */
|
|
4969
|
+
return /* @__PURE__ */ jsx47(
|
|
5253
4970
|
TabsPrimitive.Content,
|
|
5254
4971
|
{
|
|
5255
4972
|
"data-slot": "tabs-content",
|
|
@@ -5261,9 +4978,9 @@ function TabsContent({
|
|
|
5261
4978
|
|
|
5262
4979
|
// src/primitives/toggle.tsx
|
|
5263
4980
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
5264
|
-
import { cva as
|
|
5265
|
-
import { jsx as
|
|
5266
|
-
var toggleVariants =
|
|
4981
|
+
import { cva as cva10 } from "class-variance-authority";
|
|
4982
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
4983
|
+
var toggleVariants = cva10(
|
|
5267
4984
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",
|
|
5268
4985
|
{
|
|
5269
4986
|
variants: {
|
|
@@ -5289,7 +5006,7 @@ function Toggle({
|
|
|
5289
5006
|
size,
|
|
5290
5007
|
...props
|
|
5291
5008
|
}) {
|
|
5292
|
-
return /* @__PURE__ */
|
|
5009
|
+
return /* @__PURE__ */ jsx48(
|
|
5293
5010
|
TogglePrimitive.Root,
|
|
5294
5011
|
{
|
|
5295
5012
|
"data-slot": "toggle",
|
|
@@ -5300,10 +5017,10 @@ function Toggle({
|
|
|
5300
5017
|
}
|
|
5301
5018
|
|
|
5302
5019
|
// src/primitives/toggle-group.tsx
|
|
5303
|
-
import * as
|
|
5020
|
+
import * as React9 from "react";
|
|
5304
5021
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
5305
|
-
import { jsx as
|
|
5306
|
-
var ToggleGroupContext =
|
|
5022
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5023
|
+
var ToggleGroupContext = React9.createContext({
|
|
5307
5024
|
size: "default",
|
|
5308
5025
|
variant: "default"
|
|
5309
5026
|
});
|
|
@@ -5314,7 +5031,7 @@ function ToggleGroup({
|
|
|
5314
5031
|
children,
|
|
5315
5032
|
...props
|
|
5316
5033
|
}) {
|
|
5317
|
-
return /* @__PURE__ */
|
|
5034
|
+
return /* @__PURE__ */ jsx49(
|
|
5318
5035
|
ToggleGroupPrimitive.Root,
|
|
5319
5036
|
{
|
|
5320
5037
|
"data-slot": "toggle-group",
|
|
@@ -5325,7 +5042,7 @@ function ToggleGroup({
|
|
|
5325
5042
|
className
|
|
5326
5043
|
),
|
|
5327
5044
|
...props,
|
|
5328
|
-
children: /* @__PURE__ */
|
|
5045
|
+
children: /* @__PURE__ */ jsx49(ToggleGroupContext.Provider, { value: { variant, size }, children })
|
|
5329
5046
|
}
|
|
5330
5047
|
);
|
|
5331
5048
|
}
|
|
@@ -5336,8 +5053,8 @@ function ToggleGroupItem({
|
|
|
5336
5053
|
size,
|
|
5337
5054
|
...props
|
|
5338
5055
|
}) {
|
|
5339
|
-
const context =
|
|
5340
|
-
return /* @__PURE__ */
|
|
5056
|
+
const context = React9.useContext(ToggleGroupContext);
|
|
5057
|
+
return /* @__PURE__ */ jsx49(
|
|
5341
5058
|
ToggleGroupPrimitive.Item,
|
|
5342
5059
|
{
|
|
5343
5060
|
"data-slot": "toggle-group-item",
|
|
@@ -5358,7 +5075,6 @@ function ToggleGroupItem({
|
|
|
5358
5075
|
}
|
|
5359
5076
|
|
|
5360
5077
|
export {
|
|
5361
|
-
cn,
|
|
5362
5078
|
Accordion,
|
|
5363
5079
|
AccordionItem,
|
|
5364
5080
|
AccordionTrigger,
|
|
@@ -5366,8 +5082,6 @@ export {
|
|
|
5366
5082
|
Alert,
|
|
5367
5083
|
AlertTitle,
|
|
5368
5084
|
AlertDescription,
|
|
5369
|
-
buttonVariants,
|
|
5370
|
-
Button,
|
|
5371
5085
|
AlertDialog,
|
|
5372
5086
|
AlertDialogTrigger,
|
|
5373
5087
|
AlertDialogPortal,
|
|
@@ -5421,17 +5135,6 @@ export {
|
|
|
5421
5135
|
Collapsible,
|
|
5422
5136
|
CollapsibleTrigger2 as CollapsibleTrigger,
|
|
5423
5137
|
CollapsibleContent2 as CollapsibleContent,
|
|
5424
|
-
useDialogComposition,
|
|
5425
|
-
Dialog,
|
|
5426
|
-
DialogTrigger,
|
|
5427
|
-
DialogPortal,
|
|
5428
|
-
DialogClose,
|
|
5429
|
-
DialogOverlay,
|
|
5430
|
-
DialogContent,
|
|
5431
|
-
DialogHeader,
|
|
5432
|
-
DialogFooter,
|
|
5433
|
-
DialogTitle,
|
|
5434
|
-
DialogDescription,
|
|
5435
5138
|
Command,
|
|
5436
5139
|
CommandDialog,
|
|
5437
5140
|
CommandInput,
|
|
@@ -5487,7 +5190,6 @@ export {
|
|
|
5487
5190
|
EmptyTitle,
|
|
5488
5191
|
EmptyDescription,
|
|
5489
5192
|
EmptyContent,
|
|
5490
|
-
Label3 as Label,
|
|
5491
5193
|
FieldSet,
|
|
5492
5194
|
FieldLegend,
|
|
5493
5195
|
FieldGroup,
|
|
@@ -5570,8 +5272,6 @@ export {
|
|
|
5570
5272
|
PopoverContent,
|
|
5571
5273
|
PopoverAnchor,
|
|
5572
5274
|
Progress,
|
|
5573
|
-
RadioGroup4 as RadioGroup,
|
|
5574
|
-
RadioGroupItem,
|
|
5575
5275
|
ResizablePanelGroup,
|
|
5576
5276
|
ResizablePanel,
|
|
5577
5277
|
ResizableHandle,
|
|
@@ -5646,4 +5346,4 @@ export {
|
|
|
5646
5346
|
ToggleGroup,
|
|
5647
5347
|
ToggleGroupItem
|
|
5648
5348
|
};
|
|
5649
|
-
//# sourceMappingURL=chunk-
|
|
5349
|
+
//# sourceMappingURL=chunk-HR77H6PE.js.map
|