@seliseblocks/genesis-os 4.2.5 → 4.2.7
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/{all-D22OCWSN.cjs → all-2UHIE3HU.cjs} +41 -41
- package/dist/all-2UHIE3HU.cjs.map +1 -0
- package/dist/{all-TUOS2F7K.js → all-OJ5YSNAN.js} +41 -41
- package/dist/all-OJ5YSNAN.js.map +1 -0
- package/dist/{blocks-app-layout.provider-C831nKua.d.cts → blocks-app-layout.provider-CIxfHM6W.d.cts} +1 -1
- package/dist/{blocks-app-layout.provider-CDK1FNn8.d.ts → blocks-app-layout.provider-CaAVR6ae.d.ts} +1 -1
- package/dist/{chunk-7EFD3LDX.js → chunk-25L7I5C7.js} +5 -4
- package/dist/chunk-25L7I5C7.js.map +1 -0
- package/dist/chunk-3MLPBMH2.js +10 -0
- package/dist/chunk-3MLPBMH2.js.map +1 -0
- package/dist/{chunk-PRSVTYXS.js → chunk-5D4AQMX5.js} +12 -10
- package/dist/chunk-5D4AQMX5.js.map +1 -0
- package/dist/{chunk-FJ4KYZYG.cjs → chunk-6TMMJJRJ.cjs} +19 -18
- package/dist/chunk-6TMMJJRJ.cjs.map +1 -0
- package/dist/{chunk-MWEREW2W.js → chunk-BRHE44FE.js} +3 -8
- package/dist/chunk-BRHE44FE.js.map +1 -0
- package/dist/{chunk-SDWR3F3Y.cjs → chunk-F2LXD7RI.cjs} +2 -8
- package/dist/chunk-F2LXD7RI.cjs.map +1 -0
- package/dist/{chunk-6UG66Z5P.cjs → chunk-FG2BVNOH.cjs} +3 -3
- package/dist/{chunk-6UG66Z5P.cjs.map → chunk-FG2BVNOH.cjs.map} +1 -1
- package/dist/{chunk-HF24SZFI.cjs → chunk-FKFBYT22.cjs} +66 -68
- package/dist/chunk-FKFBYT22.cjs.map +1 -0
- package/dist/{chunk-5CSA5Y7I.js → chunk-HQNDGZ3F.js} +3 -3
- package/dist/{chunk-5CSA5Y7I.js.map → chunk-HQNDGZ3F.js.map} +1 -1
- package/dist/{chunk-QYN3AEU5.cjs → chunk-HS6F65WY.cjs} +12 -11
- package/dist/chunk-HS6F65WY.cjs.map +1 -0
- package/dist/{chunk-WPTHBDJO.js → chunk-IICIA5RV.js} +4 -3
- package/dist/chunk-IICIA5RV.js.map +1 -0
- package/dist/{chunk-T2NGZE5W.cjs → chunk-J7P4N4JM.cjs} +405 -403
- package/dist/chunk-J7P4N4JM.cjs.map +1 -0
- package/dist/{chunk-UHMCEC7M.cjs → chunk-JQ4U53QV.cjs} +41 -41
- package/dist/{chunk-UHMCEC7M.cjs.map → chunk-JQ4U53QV.cjs.map} +1 -1
- package/dist/chunk-JUVLHPQI.js +32 -0
- package/dist/chunk-JUVLHPQI.js.map +1 -0
- package/dist/{chunk-RZ3F7SL3.js → chunk-LONMDMML.js} +4 -3
- package/dist/chunk-LONMDMML.js.map +1 -0
- package/dist/{chunk-M4AKVWL4.js → chunk-TE3SKUL4.js} +3 -3
- package/dist/{chunk-M4AKVWL4.js.map → chunk-TE3SKUL4.js.map} +1 -1
- package/dist/{chunk-U3WXD3OX.cjs → chunk-UVMFL4UV.cjs} +22 -21
- package/dist/chunk-UVMFL4UV.cjs.map +1 -0
- package/dist/{chunk-Z6N3Y5AQ.cjs → chunk-VTOD5ZQU.cjs} +4 -4
- package/dist/{chunk-Z6N3Y5AQ.cjs.map → chunk-VTOD5ZQU.cjs.map} +1 -1
- package/dist/{chunk-GWZQFBJ5.js → chunk-WBSWAHS6.js} +54 -53
- package/dist/chunk-WBSWAHS6.js.map +1 -0
- package/dist/{chunk-575VJQ2U.js → chunk-WIY77276.js} +5 -5
- package/dist/chunk-WIY77276.js.map +1 -0
- package/dist/{chunk-WSUY6GPC.js → chunk-WL6LTNZN.js} +40 -40
- package/dist/{chunk-WSUY6GPC.js.map → chunk-WL6LTNZN.js.map} +1 -1
- package/dist/chunk-X4YCRWXO.cjs +36 -0
- package/dist/chunk-X4YCRWXO.cjs.map +1 -0
- package/dist/chunk-YAF2X7W5.cjs +12 -0
- package/dist/chunk-YAF2X7W5.cjs.map +1 -0
- package/dist/{chunk-ROV7S3SC.cjs → chunk-ZVGCCTNK.cjs} +12 -12
- package/dist/chunk-ZVGCCTNK.cjs.map +1 -0
- package/dist/components/index.cjs +395 -393
- package/dist/components/index.d.cts +4 -4
- package/dist/components/index.d.ts +4 -4
- package/dist/components/index.js +49 -47
- package/dist/guards/index.cjs +12 -10
- package/dist/guards/index.js +6 -4
- package/dist/hooks/index.cjs +56 -54
- package/dist/hooks/index.d.cts +4 -4
- package/dist/hooks/index.d.ts +4 -4
- package/dist/hooks/index.js +6 -4
- package/dist/index.cjs +561 -559
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +49 -47
- package/dist/javadoc-OGFNQ57B.cjs +14 -0
- package/dist/{javadoc-ZLZVKQJ6.cjs.map → javadoc-OGFNQ57B.cjs.map} +1 -1
- package/dist/{javadoc-KISXL6ZJ.js → javadoc-QPVMWNCP.js} +4 -4
- package/dist/{javadoc-KISXL6ZJ.js.map → javadoc-QPVMWNCP.js.map} +1 -1
- package/dist/layouts/index.cjs +56 -54
- package/dist/layouts/index.js +49 -47
- package/dist/lib/index.cjs +29 -27
- package/dist/lib/index.d.cts +17 -50
- package/dist/lib/index.d.ts +17 -50
- package/dist/lib/index.js +4 -2
- package/dist/observability/index.cjs +149 -0
- package/dist/observability/index.cjs.map +1 -0
- package/dist/observability/index.d.cts +83 -0
- package/dist/observability/index.d.ts +83 -0
- package/dist/observability/index.js +140 -0
- package/dist/observability/index.js.map +1 -0
- package/dist/pages/index.cjs +54 -52
- package/dist/pages/index.js +49 -47
- package/dist/providers/index.cjs +8 -7
- package/dist/providers/index.d.cts +2 -2
- package/dist/providers/index.d.ts +2 -2
- package/dist/providers/index.js +3 -2
- package/dist/{runtime-env-BdtgvU0N.d.cts → runtime-env-BDeaC4ay.d.cts} +1 -1
- package/dist/{runtime-env-ByALSfkR.d.ts → runtime-env-S2YD-RGu.d.ts} +1 -1
- package/dist/{runtime.types-DfALkK5X.d.cts → runtime.types-CVQo3owj.d.cts} +1 -1
- package/dist/{runtime.types-DfALkK5X.d.ts → runtime.types-CVQo3owj.d.ts} +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types-CxmwyESB.d.cts +73 -0
- package/dist/types-R-boAdbM.d.ts +73 -0
- package/dist/{use-keyboard-shortcut-BJCssC78.d.cts → use-keyboard-shortcut-C491xr01.d.cts} +1 -1
- package/dist/{use-keyboard-shortcut-BJCssC78.d.ts → use-keyboard-shortcut-C491xr01.d.ts} +1 -1
- package/dist/utils/index.cjs +73 -71
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +5 -3
- package/package.json +8 -1
- package/dist/all-D22OCWSN.cjs.map +0 -1
- package/dist/all-TUOS2F7K.js.map +0 -1
- package/dist/chunk-575VJQ2U.js.map +0 -1
- package/dist/chunk-7EFD3LDX.js.map +0 -1
- package/dist/chunk-FJ4KYZYG.cjs.map +0 -1
- package/dist/chunk-GWZQFBJ5.js.map +0 -1
- package/dist/chunk-HF24SZFI.cjs.map +0 -1
- package/dist/chunk-MWEREW2W.js.map +0 -1
- package/dist/chunk-PRSVTYXS.js.map +0 -1
- package/dist/chunk-QYN3AEU5.cjs.map +0 -1
- package/dist/chunk-ROV7S3SC.cjs.map +0 -1
- package/dist/chunk-RZ3F7SL3.js.map +0 -1
- package/dist/chunk-SDWR3F3Y.cjs.map +0 -1
- package/dist/chunk-T2NGZE5W.cjs.map +0 -1
- package/dist/chunk-U3WXD3OX.cjs.map +0 -1
- package/dist/chunk-WPTHBDJO.js.map +0 -1
- package/dist/javadoc-ZLZVKQJ6.cjs +0 -14
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkXJ6DPUCV_cjs = require('./chunk-XJ6DPUCV.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
4
|
+
var chunk6TMMJJRJ_cjs = require('./chunk-6TMMJJRJ.cjs');
|
|
5
|
+
var chunkVTOD5ZQU_cjs = require('./chunk-VTOD5ZQU.cjs');
|
|
6
|
+
var chunkZVGCCTNK_cjs = require('./chunk-ZVGCCTNK.cjs');
|
|
7
7
|
var chunkQ7Y32IBM_cjs = require('./chunk-Q7Y32IBM.cjs');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
8
|
+
var chunkHS6F65WY_cjs = require('./chunk-HS6F65WY.cjs');
|
|
9
|
+
var chunkUVMFL4UV_cjs = require('./chunk-UVMFL4UV.cjs');
|
|
10
|
+
var chunkFKFBYT22_cjs = require('./chunk-FKFBYT22.cjs');
|
|
11
|
+
var chunkX4YCRWXO_cjs = require('./chunk-X4YCRWXO.cjs');
|
|
12
|
+
var chunkYAF2X7W5_cjs = require('./chunk-YAF2X7W5.cjs');
|
|
13
|
+
var chunkF2LXD7RI_cjs = require('./chunk-F2LXD7RI.cjs');
|
|
12
14
|
var chunk3VNGGYRG_cjs = require('./chunk-3VNGGYRG.cjs');
|
|
13
15
|
var chunkVAKGHXK6_cjs = require('./chunk-VAKGHXK6.cjs');
|
|
14
16
|
var chunkQJOVCH5A_cjs = require('./chunk-QJOVCH5A.cjs');
|
|
@@ -303,7 +305,7 @@ var TabsList = React8__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
303
305
|
TabsPrimitive__namespace.List,
|
|
304
306
|
{
|
|
305
307
|
ref,
|
|
306
|
-
className:
|
|
308
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
307
309
|
"inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",
|
|
308
310
|
className
|
|
309
311
|
),
|
|
@@ -315,7 +317,7 @@ var TabsTrigger = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
315
317
|
TabsPrimitive__namespace.Trigger,
|
|
316
318
|
{
|
|
317
319
|
ref,
|
|
318
|
-
className:
|
|
320
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
319
321
|
"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",
|
|
320
322
|
className
|
|
321
323
|
),
|
|
@@ -331,7 +333,7 @@ var TabsContent = React8__namespace.forwardRef(({ className, children, ...props
|
|
|
331
333
|
TabsPrimitive__namespace.Content,
|
|
332
334
|
{
|
|
333
335
|
ref,
|
|
334
|
-
className:
|
|
336
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
335
337
|
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
336
338
|
className
|
|
337
339
|
),
|
|
@@ -382,7 +384,7 @@ var Button = React8__namespace.forwardRef(
|
|
|
382
384
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
383
385
|
Comp,
|
|
384
386
|
{
|
|
385
|
-
className:
|
|
387
|
+
className: chunkYAF2X7W5_cjs.cn(buttonVariants({ variant, size, className })),
|
|
386
388
|
ref,
|
|
387
389
|
...props
|
|
388
390
|
}
|
|
@@ -396,7 +398,7 @@ var Input = React8__namespace.forwardRef(
|
|
|
396
398
|
"input",
|
|
397
399
|
{
|
|
398
400
|
type,
|
|
399
|
-
className:
|
|
401
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
400
402
|
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
401
403
|
className
|
|
402
404
|
),
|
|
@@ -414,7 +416,7 @@ var Separator = React8__namespace.forwardRef(
|
|
|
414
416
|
ref,
|
|
415
417
|
decorative,
|
|
416
418
|
orientation,
|
|
417
|
-
className:
|
|
419
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
418
420
|
"shrink-0 bg-border",
|
|
419
421
|
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
420
422
|
className
|
|
@@ -431,7 +433,7 @@ var SheetPortal = SheetPrimitive__namespace.Portal;
|
|
|
431
433
|
var SheetOverlay = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
432
434
|
SheetPrimitive__namespace.Overlay,
|
|
433
435
|
{
|
|
434
|
-
className:
|
|
436
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
435
437
|
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
436
438
|
className
|
|
437
439
|
),
|
|
@@ -462,7 +464,7 @@ var SheetContent = React8__namespace.forwardRef(({ side = "right", className, hi
|
|
|
462
464
|
SheetPrimitive__namespace.Content,
|
|
463
465
|
{
|
|
464
466
|
ref,
|
|
465
|
-
className:
|
|
467
|
+
className: chunkYAF2X7W5_cjs.cn(sheetVariants({ side }), className),
|
|
466
468
|
...props,
|
|
467
469
|
children: [
|
|
468
470
|
children,
|
|
@@ -481,7 +483,7 @@ var SheetHeader = ({
|
|
|
481
483
|
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
482
484
|
"div",
|
|
483
485
|
{
|
|
484
|
-
className:
|
|
486
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
485
487
|
"flex flex-col space-y-2 text-center sm:text-left",
|
|
486
488
|
className
|
|
487
489
|
),
|
|
@@ -495,7 +497,7 @@ var SheetFooter = ({
|
|
|
495
497
|
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
496
498
|
"div",
|
|
497
499
|
{
|
|
498
|
-
className:
|
|
500
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
499
501
|
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
500
502
|
className
|
|
501
503
|
),
|
|
@@ -507,7 +509,7 @@ var SheetTitle = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
507
509
|
SheetPrimitive__namespace.Title,
|
|
508
510
|
{
|
|
509
511
|
ref,
|
|
510
|
-
className:
|
|
512
|
+
className: chunkYAF2X7W5_cjs.cn("text-lg font-semibold text-foreground", className),
|
|
511
513
|
...props
|
|
512
514
|
}
|
|
513
515
|
));
|
|
@@ -516,7 +518,7 @@ var SheetDescription = React8__namespace.forwardRef(({ className, ...props }, re
|
|
|
516
518
|
SheetPrimitive__namespace.Description,
|
|
517
519
|
{
|
|
518
520
|
ref,
|
|
519
|
-
className:
|
|
521
|
+
className: chunkYAF2X7W5_cjs.cn("text-sm text-muted-foreground", className),
|
|
520
522
|
...props
|
|
521
523
|
}
|
|
522
524
|
));
|
|
@@ -528,7 +530,7 @@ function Skeleton({
|
|
|
528
530
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
529
531
|
"div",
|
|
530
532
|
{
|
|
531
|
-
className:
|
|
533
|
+
className: chunkYAF2X7W5_cjs.cn("animate-pulse rounded-md bg-muted", className),
|
|
532
534
|
...props
|
|
533
535
|
}
|
|
534
536
|
);
|
|
@@ -541,7 +543,7 @@ var TooltipContent = React8__namespace.forwardRef(({ className, sideOffset = 4,
|
|
|
541
543
|
{
|
|
542
544
|
ref,
|
|
543
545
|
sideOffset,
|
|
544
|
-
className:
|
|
546
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
545
547
|
"z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",
|
|
546
548
|
className
|
|
547
549
|
),
|
|
@@ -633,7 +635,7 @@ var SidebarProvider = React8__namespace.forwardRef(
|
|
|
633
635
|
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
634
636
|
...style
|
|
635
637
|
},
|
|
636
|
-
className:
|
|
638
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
637
639
|
"group/sidebar-wrapper has-[[data-variant=inset]]:bg-sidebar flex min-h-svh w-full",
|
|
638
640
|
// NOTE: Tailwind v3 arbitrary-variant syntax `has-[[data-variant=inset]]` is required
|
|
639
641
|
// here. The v4 shorthand `has-data-[variant=inset]` was introduced in commit 25cdbfc
|
|
@@ -664,7 +666,7 @@ var Sidebar = React8__namespace.forwardRef(
|
|
|
664
666
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
665
667
|
"div",
|
|
666
668
|
{
|
|
667
|
-
className:
|
|
669
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
668
670
|
"bg-sidebar text-sidebar-foreground flex h-full w-[--sidebar-width] flex-col",
|
|
669
671
|
className
|
|
670
672
|
),
|
|
@@ -708,7 +710,7 @@ var Sidebar = React8__namespace.forwardRef(
|
|
|
708
710
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
709
711
|
"div",
|
|
710
712
|
{
|
|
711
|
-
className:
|
|
713
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
712
714
|
"relative w-[--sidebar-width] bg-transparent transition-[width] duration-200 ease-linear",
|
|
713
715
|
"group-data-[collapsible=offcanvas]:w-0",
|
|
714
716
|
"group-data-[side=right]:rotate-180",
|
|
@@ -725,7 +727,7 @@ var Sidebar = React8__namespace.forwardRef(
|
|
|
725
727
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
726
728
|
"div",
|
|
727
729
|
{
|
|
728
|
-
className:
|
|
730
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
729
731
|
"fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
730
732
|
side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
731
733
|
// Adjust the padding for floating and inset variants.
|
|
@@ -763,7 +765,7 @@ var SidebarTrigger = React8__namespace.forwardRef(({ className, onClick, ...prop
|
|
|
763
765
|
"data-sidebar": "trigger",
|
|
764
766
|
variant: "ghost",
|
|
765
767
|
size: "icon",
|
|
766
|
-
className:
|
|
768
|
+
className: chunkYAF2X7W5_cjs.cn("h-7 w-7", className),
|
|
767
769
|
onClick: (event) => {
|
|
768
770
|
onClick?.(event);
|
|
769
771
|
toggleSidebar();
|
|
@@ -788,7 +790,7 @@ var SidebarRail = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
788
790
|
tabIndex: -1,
|
|
789
791
|
onClick: toggleSidebar,
|
|
790
792
|
title: "Toggle Sidebar",
|
|
791
|
-
className:
|
|
793
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
792
794
|
"hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-0.5 group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex",
|
|
793
795
|
"in-data-[side=left]:cursor-w-resize",
|
|
794
796
|
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
@@ -807,7 +809,7 @@ var SidebarInset = React8__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
807
809
|
"main",
|
|
808
810
|
{
|
|
809
811
|
ref,
|
|
810
|
-
className:
|
|
812
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
811
813
|
"bg-background relative flex w-full flex-1 flex-col",
|
|
812
814
|
"md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",
|
|
813
815
|
className
|
|
@@ -823,7 +825,7 @@ var SidebarInput = React8__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
823
825
|
{
|
|
824
826
|
ref,
|
|
825
827
|
"data-sidebar": "input",
|
|
826
|
-
className:
|
|
828
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
827
829
|
"bg-background focus-visible:ring-sidebar-ring h-8 w-full shadow-none focus-visible:ring-2",
|
|
828
830
|
className
|
|
829
831
|
),
|
|
@@ -838,7 +840,7 @@ var SidebarHeader = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
838
840
|
{
|
|
839
841
|
ref,
|
|
840
842
|
"data-sidebar": "header",
|
|
841
|
-
className:
|
|
843
|
+
className: chunkYAF2X7W5_cjs.cn("flex flex-col gap-2 p-2", className),
|
|
842
844
|
...props
|
|
843
845
|
}
|
|
844
846
|
);
|
|
@@ -850,7 +852,7 @@ var SidebarFooter = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
850
852
|
{
|
|
851
853
|
ref,
|
|
852
854
|
"data-sidebar": "footer",
|
|
853
|
-
className:
|
|
855
|
+
className: chunkYAF2X7W5_cjs.cn("flex flex-col gap-2 p-2", className),
|
|
854
856
|
...props
|
|
855
857
|
}
|
|
856
858
|
);
|
|
@@ -862,7 +864,7 @@ var SidebarSeparator = React8__namespace.forwardRef(({ className, ...props }, re
|
|
|
862
864
|
{
|
|
863
865
|
ref,
|
|
864
866
|
"data-sidebar": "separator",
|
|
865
|
-
className:
|
|
867
|
+
className: chunkYAF2X7W5_cjs.cn("bg-sidebar-border mx-2 w-auto", className),
|
|
866
868
|
...props
|
|
867
869
|
}
|
|
868
870
|
);
|
|
@@ -874,7 +876,7 @@ var SidebarContent = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
874
876
|
{
|
|
875
877
|
ref,
|
|
876
878
|
"data-sidebar": "content",
|
|
877
|
-
className:
|
|
879
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
878
880
|
"flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
|
879
881
|
className
|
|
880
882
|
),
|
|
@@ -889,7 +891,7 @@ var SidebarGroup = React8__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
889
891
|
{
|
|
890
892
|
ref,
|
|
891
893
|
"data-sidebar": "group",
|
|
892
|
-
className:
|
|
894
|
+
className: chunkYAF2X7W5_cjs.cn("relative flex w-full min-w-0 flex-col p-2", className),
|
|
893
895
|
...props
|
|
894
896
|
}
|
|
895
897
|
);
|
|
@@ -902,7 +904,7 @@ var SidebarGroupLabel = React8__namespace.forwardRef(({ className, asChild = fal
|
|
|
902
904
|
{
|
|
903
905
|
ref,
|
|
904
906
|
"data-sidebar": "group-label",
|
|
905
|
-
className:
|
|
907
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
906
908
|
"text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-none transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
907
909
|
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
908
910
|
className
|
|
@@ -919,7 +921,7 @@ var SidebarGroupAction = React8__namespace.forwardRef(({ className, asChild = fa
|
|
|
919
921
|
{
|
|
920
922
|
ref,
|
|
921
923
|
"data-sidebar": "group-action",
|
|
922
|
-
className:
|
|
924
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
923
925
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-none transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
924
926
|
// Increases the hit area of the button on mobile.
|
|
925
927
|
"after:absolute after:-inset-2 after:md:hidden",
|
|
@@ -936,7 +938,7 @@ var SidebarGroupContent = React8__namespace.forwardRef(({ className, ...props },
|
|
|
936
938
|
{
|
|
937
939
|
ref,
|
|
938
940
|
"data-sidebar": "group-content",
|
|
939
|
-
className:
|
|
941
|
+
className: chunkYAF2X7W5_cjs.cn("w-full text-sm", className),
|
|
940
942
|
...props
|
|
941
943
|
}
|
|
942
944
|
));
|
|
@@ -946,7 +948,7 @@ var SidebarMenu = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
946
948
|
{
|
|
947
949
|
ref,
|
|
948
950
|
"data-sidebar": "menu",
|
|
949
|
-
className:
|
|
951
|
+
className: chunkYAF2X7W5_cjs.cn("flex w-full min-w-0 flex-col gap-1", className),
|
|
950
952
|
...props
|
|
951
953
|
}
|
|
952
954
|
));
|
|
@@ -956,7 +958,7 @@ var SidebarMenuItem = React8__namespace.forwardRef(({ className, ...props }, ref
|
|
|
956
958
|
{
|
|
957
959
|
ref,
|
|
958
960
|
"data-sidebar": "menu-item",
|
|
959
|
-
className:
|
|
961
|
+
className: chunkYAF2X7W5_cjs.cn("group/menu-item relative", className),
|
|
960
962
|
...props
|
|
961
963
|
}
|
|
962
964
|
));
|
|
@@ -1000,7 +1002,7 @@ var SidebarMenuButton = React8__namespace.forwardRef(
|
|
|
1000
1002
|
"data-sidebar": "menu-button",
|
|
1001
1003
|
"data-size": size,
|
|
1002
1004
|
"data-active": isActive,
|
|
1003
|
-
className:
|
|
1005
|
+
className: chunkYAF2X7W5_cjs.cn(sidebarMenuButtonVariants({ variant, size }), className),
|
|
1004
1006
|
...props
|
|
1005
1007
|
}
|
|
1006
1008
|
);
|
|
@@ -1034,7 +1036,7 @@ var SidebarMenuAction = React8__namespace.forwardRef(({ className, asChild = fal
|
|
|
1034
1036
|
{
|
|
1035
1037
|
ref,
|
|
1036
1038
|
"data-sidebar": "menu-action",
|
|
1037
|
-
className:
|
|
1039
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1038
1040
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-none transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
1039
1041
|
// Increases the hit area of the button on mobile.
|
|
1040
1042
|
"after:absolute after:-inset-2 after:md:hidden",
|
|
@@ -1055,7 +1057,7 @@ var SidebarMenuBadge = React8__namespace.forwardRef(({ className, ...props }, re
|
|
|
1055
1057
|
{
|
|
1056
1058
|
ref,
|
|
1057
1059
|
"data-sidebar": "menu-badge",
|
|
1058
|
-
className:
|
|
1060
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1059
1061
|
"text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums",
|
|
1060
1062
|
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
|
|
1061
1063
|
"peer-data-[size=sm]/menu-button:top-1",
|
|
@@ -1077,7 +1079,7 @@ var SidebarMenuSkeleton = React8__namespace.forwardRef(({ className, showIcon =
|
|
|
1077
1079
|
{
|
|
1078
1080
|
ref,
|
|
1079
1081
|
"data-sidebar": "menu-skeleton",
|
|
1080
|
-
className:
|
|
1082
|
+
className: chunkYAF2X7W5_cjs.cn("flex h-8 items-center gap-2 rounded-md px-2", className),
|
|
1081
1083
|
...props,
|
|
1082
1084
|
children: [
|
|
1083
1085
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1107,7 +1109,7 @@ var SidebarMenuSub = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
1107
1109
|
{
|
|
1108
1110
|
ref,
|
|
1109
1111
|
"data-sidebar": "menu-sub",
|
|
1110
|
-
className:
|
|
1112
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1111
1113
|
"border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
|
|
1112
1114
|
"group-data-[collapsible=icon]:hidden",
|
|
1113
1115
|
className
|
|
@@ -1127,7 +1129,7 @@ var SidebarMenuSubButton = React8__namespace.forwardRef(({ asChild = false, size
|
|
|
1127
1129
|
"data-sidebar": "menu-sub-button",
|
|
1128
1130
|
"data-size": size,
|
|
1129
1131
|
"data-active": isActive,
|
|
1130
|
-
className:
|
|
1132
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1131
1133
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
1132
1134
|
"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
|
|
1133
1135
|
size === "sm" && "text-xs",
|
|
@@ -1141,7 +1143,7 @@ var SidebarMenuSubButton = React8__namespace.forwardRef(({ asChild = false, size
|
|
|
1141
1143
|
});
|
|
1142
1144
|
SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
|
|
1143
1145
|
function useRightSidePanel() {
|
|
1144
|
-
return React8.useContext(
|
|
1146
|
+
return React8.useContext(chunkZVGCCTNK_cjs.RightSidePanelContext) ?? chunkZVGCCTNK_cjs.defaultRightSidePanelContextValue;
|
|
1145
1147
|
}
|
|
1146
1148
|
function RenderConditionally({
|
|
1147
1149
|
condition,
|
|
@@ -1171,7 +1173,7 @@ function RightSidePanelResizer({
|
|
|
1171
1173
|
"aria-orientation": "vertical",
|
|
1172
1174
|
"aria-label": "Resize panel",
|
|
1173
1175
|
onPointerDown: onHandlePointerDown,
|
|
1174
|
-
className:
|
|
1176
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1175
1177
|
"pointer-events-auto",
|
|
1176
1178
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
1177
1179
|
"flex h-12 w-3 cursor-ew-resize touch-none items-center justify-center",
|
|
@@ -1291,7 +1293,7 @@ function DesktopPanel({
|
|
|
1291
1293
|
"data-state": open ? "open" : "closed",
|
|
1292
1294
|
"aria-label": ariaLabel ?? "Side panel",
|
|
1293
1295
|
"aria-hidden": !open,
|
|
1294
|
-
className:
|
|
1296
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1295
1297
|
"bg-background fixed bottom-0 right-0 z-50 flex flex-col border-l shadow-lg",
|
|
1296
1298
|
"transition-transform duration-300 ease-in-out",
|
|
1297
1299
|
"data-[state=closed]:translate-x-full data-[state=open]:translate-x-0",
|
|
@@ -1336,7 +1338,7 @@ function MobilePanel({
|
|
|
1336
1338
|
"data-slot": "right-side-panel",
|
|
1337
1339
|
"data-state": open ? "open" : "closed",
|
|
1338
1340
|
"aria-label": ariaLabel ?? "Side panel",
|
|
1339
|
-
className:
|
|
1341
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1340
1342
|
"bg-background fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto max-h-[90vh] flex-col rounded-t-[10px] border",
|
|
1341
1343
|
className
|
|
1342
1344
|
),
|
|
@@ -1370,7 +1372,7 @@ var RightSidePanelHeader = React8__namespace.forwardRef(({ className, ...props }
|
|
|
1370
1372
|
{
|
|
1371
1373
|
ref,
|
|
1372
1374
|
"data-slot": "right-side-panel-header",
|
|
1373
|
-
className:
|
|
1375
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1374
1376
|
"flex shrink-0 items-start justify-between gap-3 border-b p-4",
|
|
1375
1377
|
className
|
|
1376
1378
|
),
|
|
@@ -1383,7 +1385,7 @@ var RightSidePanelTitle = React8__namespace.forwardRef(({ className, ...props },
|
|
|
1383
1385
|
{
|
|
1384
1386
|
ref,
|
|
1385
1387
|
"data-slot": "right-side-panel-title",
|
|
1386
|
-
className:
|
|
1388
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1387
1389
|
"text-base font-semibold leading-none tracking-tight",
|
|
1388
1390
|
className
|
|
1389
1391
|
),
|
|
@@ -1396,7 +1398,7 @@ var RightSidePanelDescription = React8__namespace.forwardRef(({ className, ...pr
|
|
|
1396
1398
|
{
|
|
1397
1399
|
ref,
|
|
1398
1400
|
"data-slot": "right-side-panel-description",
|
|
1399
|
-
className:
|
|
1401
|
+
className: chunkYAF2X7W5_cjs.cn("text-muted-foreground text-sm", className),
|
|
1400
1402
|
...props
|
|
1401
1403
|
}
|
|
1402
1404
|
));
|
|
@@ -1410,7 +1412,7 @@ var RightSidePanelClose = React8__namespace.forwardRef(({ className, ...props },
|
|
|
1410
1412
|
ref,
|
|
1411
1413
|
"data-slot": "right-side-panel-close",
|
|
1412
1414
|
"aria-label": "Close panel",
|
|
1413
|
-
className:
|
|
1415
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1414
1416
|
"ring-offset-background focus:ring-ring rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2",
|
|
1415
1417
|
className
|
|
1416
1418
|
),
|
|
@@ -1432,7 +1434,7 @@ var RightSidePanelBody = React8__namespace.forwardRef(({ className, ...props },
|
|
|
1432
1434
|
{
|
|
1433
1435
|
ref,
|
|
1434
1436
|
"data-slot": "right-side-panel-body",
|
|
1435
|
-
className:
|
|
1437
|
+
className: chunkYAF2X7W5_cjs.cn("min-h-0 flex-1 overflow-y-auto p-4", className),
|
|
1436
1438
|
...props
|
|
1437
1439
|
}
|
|
1438
1440
|
));
|
|
@@ -1442,7 +1444,7 @@ var RightSidePanelFooter = React8__namespace.forwardRef(({ className, ...props }
|
|
|
1442
1444
|
{
|
|
1443
1445
|
ref,
|
|
1444
1446
|
"data-slot": "right-side-panel-footer",
|
|
1445
|
-
className:
|
|
1447
|
+
className: chunkYAF2X7W5_cjs.cn("shrink-0 border-t p-4", className),
|
|
1446
1448
|
...props
|
|
1447
1449
|
}
|
|
1448
1450
|
));
|
|
@@ -1466,7 +1468,7 @@ function RightSidePanelProvider({
|
|
|
1466
1468
|
onOpenChange,
|
|
1467
1469
|
syncHash = true,
|
|
1468
1470
|
hashKey = DEFAULT_HASH_KEY,
|
|
1469
|
-
shortcut = "mod
|
|
1471
|
+
shortcut = "mod+.",
|
|
1470
1472
|
width = DEFAULT_SIZING_VALUES.width,
|
|
1471
1473
|
minWidth = DEFAULT_SIZING_VALUES.minWidth,
|
|
1472
1474
|
maxWidth = DEFAULT_SIZING_VALUES.maxWidth,
|
|
@@ -1523,7 +1525,7 @@ function RightSidePanelProvider({
|
|
|
1523
1525
|
const close = React8__namespace.useCallback(() => {
|
|
1524
1526
|
setOpen(false);
|
|
1525
1527
|
}, [setOpen]);
|
|
1526
|
-
|
|
1528
|
+
chunk6TMMJJRJ_cjs.useKeyboardShortcut(shortcut, toggle);
|
|
1527
1529
|
React8__namespace.useEffect(() => {
|
|
1528
1530
|
if (!syncHash || isControlled || typeof window === "undefined") return;
|
|
1529
1531
|
const handleHashChange = () => {
|
|
@@ -1579,13 +1581,13 @@ function RightSidePanelProvider({
|
|
|
1579
1581
|
resolvedTopOffset
|
|
1580
1582
|
]
|
|
1581
1583
|
);
|
|
1582
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1584
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkZVGCCTNK_cjs.RightSidePanelContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1583
1585
|
"div",
|
|
1584
1586
|
{
|
|
1585
1587
|
"data-slot": "right-side-panel-provider",
|
|
1586
1588
|
"data-state": open ? "open" : "closed",
|
|
1587
1589
|
"data-panel-id": resolvedPanelId,
|
|
1588
|
-
className:
|
|
1590
|
+
className: chunkYAF2X7W5_cjs.cn("relative w-full", className),
|
|
1589
1591
|
style: {
|
|
1590
1592
|
"--right-side-panel-width": open ? resizable ? liveWidth : sizing.width : "0px",
|
|
1591
1593
|
"--right-side-panel-min-width": sizing.minWidth,
|
|
@@ -1635,7 +1637,7 @@ var RightSidePanelTrigger = React8__namespace.forwardRef(
|
|
|
1635
1637
|
"aria-expanded": open,
|
|
1636
1638
|
"aria-controls": panelId,
|
|
1637
1639
|
onClick: handleClick,
|
|
1638
|
-
className:
|
|
1640
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1639
1641
|
isFloating && positionClasses[position],
|
|
1640
1642
|
!isFloating && "data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
1641
1643
|
className
|
|
@@ -1668,7 +1670,7 @@ var DrawerOverlay = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
1668
1670
|
vaul.Drawer.Overlay,
|
|
1669
1671
|
{
|
|
1670
1672
|
ref,
|
|
1671
|
-
className:
|
|
1673
|
+
className: chunkYAF2X7W5_cjs.cn("fixed inset-0 z-50 bg-black/80", className),
|
|
1672
1674
|
...props
|
|
1673
1675
|
}
|
|
1674
1676
|
));
|
|
@@ -1679,7 +1681,7 @@ var DrawerContent = React8__namespace.forwardRef(({ className, children, ...prop
|
|
|
1679
1681
|
vaul.Drawer.Content,
|
|
1680
1682
|
{
|
|
1681
1683
|
ref,
|
|
1682
|
-
className:
|
|
1684
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1683
1685
|
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
|
|
1684
1686
|
className
|
|
1685
1687
|
),
|
|
@@ -1698,7 +1700,7 @@ var DrawerHeader = ({
|
|
|
1698
1700
|
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1699
1701
|
"div",
|
|
1700
1702
|
{
|
|
1701
|
-
className:
|
|
1703
|
+
className: chunkYAF2X7W5_cjs.cn("grid gap-1.5 p-4 text-center sm:text-left", className),
|
|
1702
1704
|
...props
|
|
1703
1705
|
}
|
|
1704
1706
|
);
|
|
@@ -1709,7 +1711,7 @@ var DrawerFooter = ({
|
|
|
1709
1711
|
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1710
1712
|
"div",
|
|
1711
1713
|
{
|
|
1712
|
-
className:
|
|
1714
|
+
className: chunkYAF2X7W5_cjs.cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
1713
1715
|
...props
|
|
1714
1716
|
}
|
|
1715
1717
|
);
|
|
@@ -1718,7 +1720,7 @@ var DrawerTitle = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
1718
1720
|
vaul.Drawer.Title,
|
|
1719
1721
|
{
|
|
1720
1722
|
ref,
|
|
1721
|
-
className:
|
|
1723
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1722
1724
|
"text-lg font-semibold leading-none tracking-tight",
|
|
1723
1725
|
className
|
|
1724
1726
|
),
|
|
@@ -1730,7 +1732,7 @@ var DrawerDescription = React8__namespace.forwardRef(({ className, ...props }, r
|
|
|
1730
1732
|
vaul.Drawer.Description,
|
|
1731
1733
|
{
|
|
1732
1734
|
ref,
|
|
1733
|
-
className:
|
|
1735
|
+
className: chunkYAF2X7W5_cjs.cn("text-sm text-muted-foreground", className),
|
|
1734
1736
|
...props
|
|
1735
1737
|
}
|
|
1736
1738
|
));
|
|
@@ -1740,7 +1742,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
|
1740
1742
|
{
|
|
1741
1743
|
role: "navigation",
|
|
1742
1744
|
"aria-label": "pagination",
|
|
1743
|
-
className:
|
|
1745
|
+
className: chunkYAF2X7W5_cjs.cn("mx-auto flex w-full justify-center", className),
|
|
1744
1746
|
...props
|
|
1745
1747
|
}
|
|
1746
1748
|
);
|
|
@@ -1749,12 +1751,12 @@ var PaginationContent = React8__namespace.forwardRef(({ className, ...props }, r
|
|
|
1749
1751
|
"ul",
|
|
1750
1752
|
{
|
|
1751
1753
|
ref,
|
|
1752
|
-
className:
|
|
1754
|
+
className: chunkYAF2X7W5_cjs.cn("flex flex-row items-center gap-1", className),
|
|
1753
1755
|
...props
|
|
1754
1756
|
}
|
|
1755
1757
|
));
|
|
1756
1758
|
PaginationContent.displayName = "PaginationContent";
|
|
1757
|
-
var PaginationItem = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("li", { ref, className:
|
|
1759
|
+
var PaginationItem = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("li", { ref, className: chunkYAF2X7W5_cjs.cn("", className), ...props }));
|
|
1758
1760
|
PaginationItem.displayName = "PaginationItem";
|
|
1759
1761
|
var PaginationLink = ({
|
|
1760
1762
|
className,
|
|
@@ -1765,7 +1767,7 @@ var PaginationLink = ({
|
|
|
1765
1767
|
"a",
|
|
1766
1768
|
{
|
|
1767
1769
|
"aria-current": isActive ? "page" : void 0,
|
|
1768
|
-
className:
|
|
1770
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1769
1771
|
buttonVariants({
|
|
1770
1772
|
variant: isActive ? "outline" : "ghost",
|
|
1771
1773
|
size
|
|
@@ -1785,7 +1787,7 @@ var PaginationPrevious = ({
|
|
|
1785
1787
|
{
|
|
1786
1788
|
"aria-label": "Go to previous page",
|
|
1787
1789
|
size: "default",
|
|
1788
|
-
className:
|
|
1790
|
+
className: chunkYAF2X7W5_cjs.cn("gap-1 pl-2.5", className),
|
|
1789
1791
|
...props,
|
|
1790
1792
|
children: [
|
|
1791
1793
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -1804,7 +1806,7 @@ var PaginationNext = ({
|
|
|
1804
1806
|
{
|
|
1805
1807
|
"aria-label": "Go to next page",
|
|
1806
1808
|
size: "default",
|
|
1807
|
-
className:
|
|
1809
|
+
className: chunkYAF2X7W5_cjs.cn("gap-1 pr-2.5", className),
|
|
1808
1810
|
...props,
|
|
1809
1811
|
children: [
|
|
1810
1812
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Next" }),
|
|
@@ -1822,7 +1824,7 @@ var PaginationEllipsis = ({
|
|
|
1822
1824
|
"span",
|
|
1823
1825
|
{
|
|
1824
1826
|
"aria-hidden": true,
|
|
1825
|
-
className:
|
|
1827
|
+
className: chunkYAF2X7W5_cjs.cn("flex h-9 w-9 items-center justify-center", className),
|
|
1826
1828
|
...props,
|
|
1827
1829
|
children: [
|
|
1828
1830
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "h-4 w-4" }),
|
|
@@ -1839,7 +1841,7 @@ var Label = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
1839
1841
|
LabelPrimitive__namespace.Root,
|
|
1840
1842
|
{
|
|
1841
1843
|
ref,
|
|
1842
|
-
className:
|
|
1844
|
+
className: chunkYAF2X7W5_cjs.cn(labelVariants(), className),
|
|
1843
1845
|
...props
|
|
1844
1846
|
}
|
|
1845
1847
|
));
|
|
@@ -1882,7 +1884,7 @@ var FormField = ({
|
|
|
1882
1884
|
var FormItem = React8__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
1883
1885
|
const id = React8__namespace.useId();
|
|
1884
1886
|
const itemContextValue = React8__namespace.useMemo(() => ({ id }), [id]);
|
|
1885
|
-
return /* @__PURE__ */ jsxRuntime.jsx(FormItemContext.Provider, { value: itemContextValue, children: /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className:
|
|
1887
|
+
return /* @__PURE__ */ jsxRuntime.jsx(FormItemContext.Provider, { value: itemContextValue, children: /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: chunkYAF2X7W5_cjs.cn("space-y-2", className), ...props }) });
|
|
1886
1888
|
});
|
|
1887
1889
|
FormItem.displayName = "FormItem";
|
|
1888
1890
|
var FormLabel = React8__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
@@ -1891,7 +1893,7 @@ var FormLabel = React8__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
|
1891
1893
|
Label,
|
|
1892
1894
|
{
|
|
1893
1895
|
ref,
|
|
1894
|
-
className:
|
|
1896
|
+
className: chunkYAF2X7W5_cjs.cn(error && "text-destructive", className),
|
|
1895
1897
|
htmlFor: formItemId,
|
|
1896
1898
|
...props
|
|
1897
1899
|
}
|
|
@@ -1919,7 +1921,7 @@ var FormDescription = React8__namespace.forwardRef(({ className, ...props }, ref
|
|
|
1919
1921
|
{
|
|
1920
1922
|
ref,
|
|
1921
1923
|
id: formDescriptionId,
|
|
1922
|
-
className:
|
|
1924
|
+
className: chunkYAF2X7W5_cjs.cn("text-sm text-muted-foreground", className),
|
|
1923
1925
|
...props
|
|
1924
1926
|
}
|
|
1925
1927
|
);
|
|
@@ -1936,7 +1938,7 @@ var FormMessage = React8__namespace.forwardRef(({ className, children, ...props
|
|
|
1936
1938
|
{
|
|
1937
1939
|
ref,
|
|
1938
1940
|
id: formMessageId,
|
|
1939
|
-
className:
|
|
1941
|
+
className: chunkYAF2X7W5_cjs.cn("text-sm font-medium text-destructive", className),
|
|
1940
1942
|
...props,
|
|
1941
1943
|
children: body
|
|
1942
1944
|
}
|
|
@@ -1947,16 +1949,16 @@ var InputOTP = React8__namespace.forwardRef(({ className, containerClassName, ..
|
|
|
1947
1949
|
inputOtp.OTPInput,
|
|
1948
1950
|
{
|
|
1949
1951
|
ref,
|
|
1950
|
-
containerClassName:
|
|
1952
|
+
containerClassName: chunkYAF2X7W5_cjs.cn(
|
|
1951
1953
|
"flex items-center gap-2 has-[:disabled]:opacity-50",
|
|
1952
1954
|
containerClassName
|
|
1953
1955
|
),
|
|
1954
|
-
className:
|
|
1956
|
+
className: chunkYAF2X7W5_cjs.cn("disabled:cursor-not-allowed", className),
|
|
1955
1957
|
...props
|
|
1956
1958
|
}
|
|
1957
1959
|
));
|
|
1958
1960
|
InputOTP.displayName = "InputOTP";
|
|
1959
|
-
var InputOTPGroup = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className:
|
|
1961
|
+
var InputOTPGroup = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: chunkYAF2X7W5_cjs.cn("flex items-center", className), ...props }));
|
|
1960
1962
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
1961
1963
|
var InputOTPSlot = React8__namespace.forwardRef(({ index, className, ...props }, ref) => {
|
|
1962
1964
|
const inputOTPContext = React8__namespace.useContext(inputOtp.OTPInputContext);
|
|
@@ -1968,7 +1970,7 @@ var InputOTPSlot = React8__namespace.forwardRef(({ index, className, ...props },
|
|
|
1968
1970
|
"div",
|
|
1969
1971
|
{
|
|
1970
1972
|
ref,
|
|
1971
|
-
className:
|
|
1973
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
1972
1974
|
"relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
|
|
1973
1975
|
isActive && "z-10 ring-2 ring-ring ring-offset-background",
|
|
1974
1976
|
className
|
|
@@ -1996,14 +1998,14 @@ function Calendar({
|
|
|
1996
1998
|
reactDayPicker.DayPicker,
|
|
1997
1999
|
{
|
|
1998
2000
|
showOutsideDays,
|
|
1999
|
-
className:
|
|
2001
|
+
className: chunkYAF2X7W5_cjs.cn("p-3", className),
|
|
2000
2002
|
classNames: {
|
|
2001
2003
|
months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
|
|
2002
2004
|
month: "space-y-4",
|
|
2003
2005
|
caption: "flex justify-center pt-1 relative items-center",
|
|
2004
2006
|
caption_label: "text-sm font-medium",
|
|
2005
2007
|
nav: "space-x-1 flex items-center",
|
|
2006
|
-
nav_button:
|
|
2008
|
+
nav_button: chunkYAF2X7W5_cjs.cn(
|
|
2007
2009
|
buttonVariants({ variant: "outline" }),
|
|
2008
2010
|
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
|
|
2009
2011
|
),
|
|
@@ -2014,7 +2016,7 @@ function Calendar({
|
|
|
2014
2016
|
head_cell: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
|
|
2015
2017
|
row: "flex w-full mt-2",
|
|
2016
2018
|
cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
|
|
2017
|
-
day:
|
|
2019
|
+
day: chunkYAF2X7W5_cjs.cn(
|
|
2018
2020
|
buttonVariants({ variant: "ghost" }),
|
|
2019
2021
|
"h-9 w-9 p-0 font-normal aria-selected:opacity-100"
|
|
2020
2022
|
),
|
|
@@ -2040,7 +2042,7 @@ var Card = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
2040
2042
|
"div",
|
|
2041
2043
|
{
|
|
2042
2044
|
ref,
|
|
2043
|
-
className:
|
|
2045
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2044
2046
|
"rounded-lg border bg-card text-card-foreground shadow-sm",
|
|
2045
2047
|
className
|
|
2046
2048
|
),
|
|
@@ -2052,7 +2054,7 @@ var CardHeader = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
2052
2054
|
"div",
|
|
2053
2055
|
{
|
|
2054
2056
|
ref,
|
|
2055
|
-
className:
|
|
2057
|
+
className: chunkYAF2X7W5_cjs.cn("flex flex-col space-y-1.5 p-6", className),
|
|
2056
2058
|
...props
|
|
2057
2059
|
}
|
|
2058
2060
|
));
|
|
@@ -2061,7 +2063,7 @@ var CardTitle = React8__namespace.forwardRef(({ className, ...props }, ref) => /
|
|
|
2061
2063
|
"div",
|
|
2062
2064
|
{
|
|
2063
2065
|
ref,
|
|
2064
|
-
className:
|
|
2066
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2065
2067
|
"text-2xl font-semibold leading-none tracking-tight",
|
|
2066
2068
|
className
|
|
2067
2069
|
),
|
|
@@ -2073,18 +2075,18 @@ var CardDescription = React8__namespace.forwardRef(({ className, ...props }, ref
|
|
|
2073
2075
|
"div",
|
|
2074
2076
|
{
|
|
2075
2077
|
ref,
|
|
2076
|
-
className:
|
|
2078
|
+
className: chunkYAF2X7W5_cjs.cn("text-sm text-muted-foreground", className),
|
|
2077
2079
|
...props
|
|
2078
2080
|
}
|
|
2079
2081
|
));
|
|
2080
2082
|
CardDescription.displayName = "CardDescription";
|
|
2081
|
-
var CardContent = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className:
|
|
2083
|
+
var CardContent = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: chunkYAF2X7W5_cjs.cn("p-6 pt-0", className), ...props }));
|
|
2082
2084
|
CardContent.displayName = "CardContent";
|
|
2083
2085
|
var CardFooter = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2084
2086
|
"div",
|
|
2085
2087
|
{
|
|
2086
2088
|
ref,
|
|
2087
|
-
className:
|
|
2089
|
+
className: chunkYAF2X7W5_cjs.cn("flex items-center p-6 pt-0", className),
|
|
2088
2090
|
...props
|
|
2089
2091
|
}
|
|
2090
2092
|
));
|
|
@@ -2097,7 +2099,7 @@ var PopoverContent = React8__namespace.forwardRef(({ className, align = "center"
|
|
|
2097
2099
|
ref,
|
|
2098
2100
|
align,
|
|
2099
2101
|
sideOffset,
|
|
2100
|
-
className:
|
|
2102
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2101
2103
|
"z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",
|
|
2102
2104
|
className
|
|
2103
2105
|
),
|
|
@@ -2136,7 +2138,7 @@ var DateRangePicker = React8__namespace.forwardRef(
|
|
|
2136
2138
|
ref,
|
|
2137
2139
|
variant: "outline",
|
|
2138
2140
|
size: "sm",
|
|
2139
|
-
className:
|
|
2141
|
+
className: chunkYAF2X7W5_cjs.cn("h-8 gap-2 rounded-full font-normal", className),
|
|
2140
2142
|
children: [
|
|
2141
2143
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "h-4 w-4" }),
|
|
2142
2144
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: formatted ?? label })
|
|
@@ -2195,7 +2197,7 @@ var NavigationMenu = React8__namespace.forwardRef(({ className, children, ...pro
|
|
|
2195
2197
|
NavigationMenuPrimitive__namespace.Root,
|
|
2196
2198
|
{
|
|
2197
2199
|
ref,
|
|
2198
|
-
className:
|
|
2200
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2199
2201
|
"relative z-10 flex max-w-max flex-1 items-center justify-center",
|
|
2200
2202
|
className
|
|
2201
2203
|
),
|
|
@@ -2211,7 +2213,7 @@ var NavigationMenuList = React8__namespace.forwardRef(({ className, ...props },
|
|
|
2211
2213
|
NavigationMenuPrimitive__namespace.List,
|
|
2212
2214
|
{
|
|
2213
2215
|
ref,
|
|
2214
|
-
className:
|
|
2216
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2215
2217
|
"group flex flex-1 list-none items-center justify-center space-x-1",
|
|
2216
2218
|
className
|
|
2217
2219
|
),
|
|
@@ -2225,7 +2227,7 @@ var NavigationMenuTrigger = React8__namespace.forwardRef(({ className, children,
|
|
|
2225
2227
|
NavigationMenuPrimitive__namespace.Trigger,
|
|
2226
2228
|
{
|
|
2227
2229
|
ref,
|
|
2228
|
-
className:
|
|
2230
|
+
className: chunkYAF2X7W5_cjs.cn(navigationMenuTriggerStyle(), "group", className),
|
|
2229
2231
|
...props,
|
|
2230
2232
|
children: [
|
|
2231
2233
|
children,
|
|
@@ -2246,7 +2248,7 @@ var NavigationMenuContent = React8__namespace.forwardRef(({ className, ...props
|
|
|
2246
2248
|
NavigationMenuPrimitive__namespace.Content,
|
|
2247
2249
|
{
|
|
2248
2250
|
ref,
|
|
2249
|
-
className:
|
|
2251
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2250
2252
|
"left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
|
|
2251
2253
|
className
|
|
2252
2254
|
),
|
|
@@ -2255,10 +2257,10 @@ var NavigationMenuContent = React8__namespace.forwardRef(({ className, ...props
|
|
|
2255
2257
|
));
|
|
2256
2258
|
NavigationMenuContent.displayName = NavigationMenuPrimitive__namespace.Content.displayName;
|
|
2257
2259
|
var NavigationMenuLink = NavigationMenuPrimitive__namespace.Link;
|
|
2258
|
-
var NavigationMenuViewport = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2260
|
+
var NavigationMenuViewport = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYAF2X7W5_cjs.cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2259
2261
|
NavigationMenuPrimitive__namespace.Viewport,
|
|
2260
2262
|
{
|
|
2261
|
-
className:
|
|
2263
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2262
2264
|
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
2263
2265
|
className
|
|
2264
2266
|
),
|
|
@@ -2271,7 +2273,7 @@ var NavigationMenuIndicator = React8__namespace.forwardRef(({ className, ...prop
|
|
|
2271
2273
|
NavigationMenuPrimitive__namespace.Indicator,
|
|
2272
2274
|
{
|
|
2273
2275
|
ref,
|
|
2274
|
-
className:
|
|
2276
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2275
2277
|
"top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",
|
|
2276
2278
|
className
|
|
2277
2279
|
),
|
|
@@ -2388,8 +2390,8 @@ var WizardStepIndicator = ({
|
|
|
2388
2390
|
color: indicatorColor,
|
|
2389
2391
|
backgroundColor: isCompleted ? "hsl(var(--foreground))" : "transparent"
|
|
2390
2392
|
},
|
|
2391
|
-
transition:
|
|
2392
|
-
className:
|
|
2393
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
2394
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2393
2395
|
"flex size-8 items-center justify-center rounded-full border text-lg font-bold",
|
|
2394
2396
|
className
|
|
2395
2397
|
),
|
|
@@ -2399,7 +2401,7 @@ var WizardStepIndicator = ({
|
|
|
2399
2401
|
initial: { scale: 0, opacity: 0 },
|
|
2400
2402
|
animate: { scale: 1, opacity: 1 },
|
|
2401
2403
|
exit: { scale: 0, opacity: 0 },
|
|
2402
|
-
transition:
|
|
2404
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
2403
2405
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "size-[18px]", "aria-hidden": true })
|
|
2404
2406
|
},
|
|
2405
2407
|
"check"
|
|
@@ -2409,7 +2411,7 @@ var WizardStepIndicator = ({
|
|
|
2409
2411
|
initial: { scale: 0.8, opacity: 0 },
|
|
2410
2412
|
animate: { scale: 1, opacity: 1 },
|
|
2411
2413
|
exit: { scale: 0.8, opacity: 0 },
|
|
2412
|
-
transition:
|
|
2414
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
2413
2415
|
children: stepNumber
|
|
2414
2416
|
},
|
|
2415
2417
|
"number"
|
|
@@ -2420,21 +2422,21 @@ var WizardStepIndicator = ({
|
|
|
2420
2422
|
var WizardVerticalTrackBar = () => {
|
|
2421
2423
|
const { currentStep, totalSteps, goToStep, completedSteps, getSteps } = useWizardStepper();
|
|
2422
2424
|
const steps = getSteps();
|
|
2423
|
-
return /* @__PURE__ */ jsxRuntime.jsx(framerMotion.motion.div, { layout: true, transition:
|
|
2425
|
+
return /* @__PURE__ */ jsxRuntime.jsx(framerMotion.motion.div, { layout: true, transition: chunkFKFBYT22_cjs.fadeTransition, children: steps.map((step, index) => {
|
|
2424
2426
|
const stepNumber = index + 1;
|
|
2425
2427
|
const isCompleted = completedSteps.includes(stepNumber);
|
|
2426
2428
|
const isCurrent = currentStep === stepNumber;
|
|
2427
2429
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2428
2430
|
"div",
|
|
2429
2431
|
{
|
|
2430
|
-
className:
|
|
2432
|
+
className: chunkYAF2X7W5_cjs.cn("relative flex flex-col [&:not(:last-child)]:flex-1"),
|
|
2431
2433
|
children: [
|
|
2432
2434
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2433
2435
|
framerMotion.motion.div,
|
|
2434
2436
|
{
|
|
2435
2437
|
layout: true,
|
|
2436
2438
|
className: "flex items-center gap-2",
|
|
2437
|
-
transition:
|
|
2439
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
2438
2440
|
children: [
|
|
2439
2441
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2440
2442
|
Button,
|
|
@@ -2461,7 +2463,7 @@ var WizardVerticalTrackBar = () => {
|
|
|
2461
2463
|
animate: {
|
|
2462
2464
|
color: isCurrent || isCompleted ? "hsl(var(--foreground))" : "hsl(var(--muted-foreground))"
|
|
2463
2465
|
},
|
|
2464
|
-
transition:
|
|
2466
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
2465
2467
|
className: "ml-4 text-base font-medium",
|
|
2466
2468
|
children: step.title
|
|
2467
2469
|
}
|
|
@@ -2478,7 +2480,7 @@ var WizardVerticalTrackBar = () => {
|
|
|
2478
2480
|
scaleY: isCompleted ? 1 : 0.35,
|
|
2479
2481
|
backgroundColor: isCompleted ? "hsl(var(--foreground))" : "hsl(var(--border))"
|
|
2480
2482
|
},
|
|
2481
|
-
transition:
|
|
2483
|
+
transition: chunkFKFBYT22_cjs.fadeTransition
|
|
2482
2484
|
}
|
|
2483
2485
|
) : null
|
|
2484
2486
|
]
|
|
@@ -2495,7 +2497,7 @@ var WizardHorizontalTrackBar = () => {
|
|
|
2495
2497
|
{
|
|
2496
2498
|
layout: true,
|
|
2497
2499
|
className: "flex w-full flex-row flex-wrap justify-between",
|
|
2498
|
-
transition:
|
|
2500
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
2499
2501
|
children: steps.map((step, index) => {
|
|
2500
2502
|
const stepNumber = index + 1;
|
|
2501
2503
|
const isCompleted = completedSteps.includes(stepNumber);
|
|
@@ -2503,7 +2505,7 @@ var WizardHorizontalTrackBar = () => {
|
|
|
2503
2505
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2504
2506
|
"div",
|
|
2505
2507
|
{
|
|
2506
|
-
className:
|
|
2508
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2507
2509
|
"relative flex items-center after:h-0.5 after:flex-1 after:border-t after:content-['']",
|
|
2508
2510
|
"[&:not(:last-child)]:flex-1 [&:not(:last-child)]:after:me-[35px] [&:not(:last-child)]:after:ms-[35px]",
|
|
2509
2511
|
isCompleted ? "after:border-foreground" : "after:border-border"
|
|
@@ -2534,7 +2536,7 @@ var WizardHorizontalTrackBar = () => {
|
|
|
2534
2536
|
animate: {
|
|
2535
2537
|
color: isCurrent || isCompleted ? "hsl(var(--foreground))" : "hsl(var(--muted-foreground))"
|
|
2536
2538
|
},
|
|
2537
|
-
transition:
|
|
2539
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
2538
2540
|
className: "hidden md:block",
|
|
2539
2541
|
children: step.title
|
|
2540
2542
|
}
|
|
@@ -2555,11 +2557,11 @@ var WizardStepViewport = ({
|
|
|
2555
2557
|
return /* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { mode: "wait", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2556
2558
|
framerMotion.motion.div,
|
|
2557
2559
|
{
|
|
2558
|
-
variants:
|
|
2560
|
+
variants: chunkFKFBYT22_cjs.fadeInUp,
|
|
2559
2561
|
initial: "initial",
|
|
2560
2562
|
animate: "animate",
|
|
2561
2563
|
exit: "exit",
|
|
2562
|
-
transition:
|
|
2564
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
2563
2565
|
className,
|
|
2564
2566
|
children
|
|
2565
2567
|
},
|
|
@@ -2595,7 +2597,7 @@ var Menubar = React8__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2595
2597
|
MenubarPrimitive__namespace.Root,
|
|
2596
2598
|
{
|
|
2597
2599
|
ref,
|
|
2598
|
-
className:
|
|
2600
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2599
2601
|
"flex h-10 items-center space-x-1 rounded-md border bg-background p-1",
|
|
2600
2602
|
className
|
|
2601
2603
|
),
|
|
@@ -2607,7 +2609,7 @@ var MenubarTrigger = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
2607
2609
|
MenubarPrimitive__namespace.Trigger,
|
|
2608
2610
|
{
|
|
2609
2611
|
ref,
|
|
2610
|
-
className:
|
|
2612
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2611
2613
|
"flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
2612
2614
|
className
|
|
2613
2615
|
),
|
|
@@ -2620,7 +2622,7 @@ var MenubarSubTrigger = React8__namespace.forwardRef(({ className, inset, childr
|
|
|
2620
2622
|
MenubarPrimitive__namespace.SubTrigger,
|
|
2621
2623
|
{
|
|
2622
2624
|
ref,
|
|
2623
|
-
className:
|
|
2625
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2624
2626
|
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
2625
2627
|
inset && "pl-8",
|
|
2626
2628
|
className
|
|
@@ -2638,7 +2640,7 @@ var MenubarSubContent = React8__namespace.forwardRef(({ className, ...props }, r
|
|
|
2638
2640
|
MenubarPrimitive__namespace.SubContent,
|
|
2639
2641
|
{
|
|
2640
2642
|
ref,
|
|
2641
|
-
className:
|
|
2643
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2642
2644
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]",
|
|
2643
2645
|
className
|
|
2644
2646
|
),
|
|
@@ -2654,7 +2656,7 @@ var MenubarContent = React8__namespace.forwardRef(
|
|
|
2654
2656
|
align,
|
|
2655
2657
|
alignOffset,
|
|
2656
2658
|
sideOffset,
|
|
2657
|
-
className:
|
|
2659
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2658
2660
|
"z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]",
|
|
2659
2661
|
className
|
|
2660
2662
|
),
|
|
@@ -2667,7 +2669,7 @@ var MenubarItem = React8__namespace.forwardRef(({ className, inset, ...props },
|
|
|
2667
2669
|
MenubarPrimitive__namespace.Item,
|
|
2668
2670
|
{
|
|
2669
2671
|
ref,
|
|
2670
|
-
className:
|
|
2672
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2671
2673
|
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
2672
2674
|
inset && "pl-8",
|
|
2673
2675
|
className
|
|
@@ -2681,7 +2683,7 @@ var MenubarCheckboxItem = React8__namespace.forwardRef(({ className, children, c
|
|
|
2681
2683
|
MenubarPrimitive__namespace.CheckboxItem,
|
|
2682
2684
|
{
|
|
2683
2685
|
ref,
|
|
2684
|
-
className:
|
|
2686
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2685
2687
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
2686
2688
|
className
|
|
2687
2689
|
),
|
|
@@ -2700,7 +2702,7 @@ var MenubarRadioItem = React8__namespace.forwardRef(({ className, children, ...p
|
|
|
2700
2702
|
MenubarPrimitive__namespace.RadioItem,
|
|
2701
2703
|
{
|
|
2702
2704
|
ref,
|
|
2703
|
-
className:
|
|
2705
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2704
2706
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
2705
2707
|
className
|
|
2706
2708
|
),
|
|
@@ -2717,7 +2719,7 @@ var MenubarLabel = React8__namespace.forwardRef(({ className, inset, ...props },
|
|
|
2717
2719
|
MenubarPrimitive__namespace.Label,
|
|
2718
2720
|
{
|
|
2719
2721
|
ref,
|
|
2720
|
-
className:
|
|
2722
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2721
2723
|
"px-2 py-1.5 text-sm font-semibold",
|
|
2722
2724
|
inset && "pl-8",
|
|
2723
2725
|
className
|
|
@@ -2730,7 +2732,7 @@ var MenubarSeparator = React8__namespace.forwardRef(({ className, ...props }, re
|
|
|
2730
2732
|
MenubarPrimitive__namespace.Separator,
|
|
2731
2733
|
{
|
|
2732
2734
|
ref,
|
|
2733
|
-
className:
|
|
2735
|
+
className: chunkYAF2X7W5_cjs.cn("-mx-1 my-1 h-px bg-muted", className),
|
|
2734
2736
|
...props
|
|
2735
2737
|
}
|
|
2736
2738
|
));
|
|
@@ -2742,7 +2744,7 @@ var MenubarShortcut = ({
|
|
|
2742
2744
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2743
2745
|
"span",
|
|
2744
2746
|
{
|
|
2745
|
-
className:
|
|
2747
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2746
2748
|
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
2747
2749
|
className
|
|
2748
2750
|
),
|
|
@@ -2755,7 +2757,7 @@ var Progress = React8__namespace.forwardRef(({ className, value, ...props }, ref
|
|
|
2755
2757
|
ProgressPrimitive__namespace.Root,
|
|
2756
2758
|
{
|
|
2757
2759
|
ref,
|
|
2758
|
-
className:
|
|
2760
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2759
2761
|
"relative h-4 w-full overflow-hidden rounded-full bg-secondary",
|
|
2760
2762
|
className
|
|
2761
2763
|
),
|
|
@@ -2813,7 +2815,7 @@ var contentTransition = {
|
|
|
2813
2815
|
var AlertDialogOverlay = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(AlertDialogPrimitive__namespace.Overlay, { ref, forceMount: true, asChild: true, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2814
2816
|
framerMotion.motion.div,
|
|
2815
2817
|
{
|
|
2816
|
-
className:
|
|
2818
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2817
2819
|
"fixed inset-0 z-50 bg-black/60 backdrop-blur-sm",
|
|
2818
2820
|
className
|
|
2819
2821
|
),
|
|
@@ -2831,7 +2833,7 @@ var AlertDialogContent = React8__namespace.forwardRef(({ className, children, ..
|
|
|
2831
2833
|
/* @__PURE__ */ jsxRuntime.jsx(AlertDialogPrimitive__namespace.Content, { ref, forceMount: true, asChild: true, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2832
2834
|
framerMotion.motion.div,
|
|
2833
2835
|
{
|
|
2834
|
-
className:
|
|
2836
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2835
2837
|
"fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg sm:rounded-lg",
|
|
2836
2838
|
className
|
|
2837
2839
|
),
|
|
@@ -2851,7 +2853,7 @@ var AlertDialogHeader = ({
|
|
|
2851
2853
|
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2852
2854
|
"div",
|
|
2853
2855
|
{
|
|
2854
|
-
className:
|
|
2856
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2855
2857
|
"flex flex-col space-y-2 text-center sm:text-left",
|
|
2856
2858
|
className
|
|
2857
2859
|
),
|
|
@@ -2865,7 +2867,7 @@ var AlertDialogFooter = ({
|
|
|
2865
2867
|
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2866
2868
|
"div",
|
|
2867
2869
|
{
|
|
2868
|
-
className:
|
|
2870
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2869
2871
|
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
2870
2872
|
className
|
|
2871
2873
|
),
|
|
@@ -2877,7 +2879,7 @@ var AlertDialogTitle = React8__namespace.forwardRef(({ className, ...props }, re
|
|
|
2877
2879
|
AlertDialogPrimitive__namespace.Title,
|
|
2878
2880
|
{
|
|
2879
2881
|
ref,
|
|
2880
|
-
className:
|
|
2882
|
+
className: chunkYAF2X7W5_cjs.cn("text-lg font-semibold", className),
|
|
2881
2883
|
...props
|
|
2882
2884
|
}
|
|
2883
2885
|
));
|
|
@@ -2886,7 +2888,7 @@ var AlertDialogDescription = React8__namespace.forwardRef(({ className, ...props
|
|
|
2886
2888
|
AlertDialogPrimitive__namespace.Description,
|
|
2887
2889
|
{
|
|
2888
2890
|
ref,
|
|
2889
|
-
className:
|
|
2891
|
+
className: chunkYAF2X7W5_cjs.cn("text-sm text-muted-foreground", className),
|
|
2890
2892
|
...props
|
|
2891
2893
|
}
|
|
2892
2894
|
));
|
|
@@ -2895,7 +2897,7 @@ var AlertDialogAction = React8__namespace.forwardRef(({ className, ...props }, r
|
|
|
2895
2897
|
AlertDialogPrimitive__namespace.Action,
|
|
2896
2898
|
{
|
|
2897
2899
|
ref,
|
|
2898
|
-
className:
|
|
2900
|
+
className: chunkYAF2X7W5_cjs.cn(buttonVariants(), className),
|
|
2899
2901
|
...props
|
|
2900
2902
|
}
|
|
2901
2903
|
));
|
|
@@ -2904,7 +2906,7 @@ var AlertDialogCancel = React8__namespace.forwardRef(({ className, ...props }, r
|
|
|
2904
2906
|
AlertDialogPrimitive__namespace.Cancel,
|
|
2905
2907
|
{
|
|
2906
2908
|
ref,
|
|
2907
|
-
className:
|
|
2909
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2908
2910
|
buttonVariants({ variant: "outline" }),
|
|
2909
2911
|
"mt-2 sm:mt-0",
|
|
2910
2912
|
className
|
|
@@ -2932,7 +2934,7 @@ var Alert = React8__namespace.forwardRef(({ className, variant, ...props }, ref)
|
|
|
2932
2934
|
{
|
|
2933
2935
|
ref,
|
|
2934
2936
|
role: "alert",
|
|
2935
|
-
className:
|
|
2937
|
+
className: chunkYAF2X7W5_cjs.cn(alertVariants({ variant }), className),
|
|
2936
2938
|
...props
|
|
2937
2939
|
}
|
|
2938
2940
|
));
|
|
@@ -2941,7 +2943,7 @@ var AlertTitle = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
2941
2943
|
"h5",
|
|
2942
2944
|
{
|
|
2943
2945
|
ref,
|
|
2944
|
-
className:
|
|
2946
|
+
className: chunkYAF2X7W5_cjs.cn("mb-1 font-medium leading-none tracking-tight", className),
|
|
2945
2947
|
...props
|
|
2946
2948
|
}
|
|
2947
2949
|
));
|
|
@@ -2950,7 +2952,7 @@ var AlertDescription = React8__namespace.forwardRef(({ className, ...props }, re
|
|
|
2950
2952
|
"div",
|
|
2951
2953
|
{
|
|
2952
2954
|
ref,
|
|
2953
|
-
className:
|
|
2955
|
+
className: chunkYAF2X7W5_cjs.cn("text-sm [&_p]:leading-relaxed", className),
|
|
2954
2956
|
...props
|
|
2955
2957
|
}
|
|
2956
2958
|
));
|
|
@@ -2960,7 +2962,7 @@ var AccordionItem = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
2960
2962
|
AccordionPrimitive__namespace.Item,
|
|
2961
2963
|
{
|
|
2962
2964
|
ref,
|
|
2963
|
-
className:
|
|
2965
|
+
className: chunkYAF2X7W5_cjs.cn("border-b", className),
|
|
2964
2966
|
...props
|
|
2965
2967
|
}
|
|
2966
2968
|
));
|
|
@@ -2970,7 +2972,7 @@ var AccordionTrigger = React8__namespace.forwardRef(({ className, children, ...p
|
|
|
2970
2972
|
AccordionPrimitive__namespace.Trigger,
|
|
2971
2973
|
{
|
|
2972
2974
|
ref,
|
|
2973
|
-
className:
|
|
2975
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
2974
2976
|
"flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
|
|
2975
2977
|
className
|
|
2976
2978
|
),
|
|
@@ -3025,7 +3027,7 @@ var AccordionContent = React8__namespace.forwardRef(({ className, children, ...p
|
|
|
3025
3027
|
opacity: { duration: 0.18, ease: [0.4, 0, 0.2, 1] }
|
|
3026
3028
|
},
|
|
3027
3029
|
style: { overflow: "hidden" },
|
|
3028
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3030
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYAF2X7W5_cjs.cn("pb-4 pt-0", className), children })
|
|
3029
3031
|
}
|
|
3030
3032
|
)
|
|
3031
3033
|
}
|
|
@@ -3050,7 +3052,7 @@ var ChartContainer = React8__namespace.forwardRef(({ id, className, children, co
|
|
|
3050
3052
|
{
|
|
3051
3053
|
"data-chart": chartId,
|
|
3052
3054
|
ref,
|
|
3053
|
-
className:
|
|
3055
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3054
3056
|
"flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",
|
|
3055
3057
|
className
|
|
3056
3058
|
),
|
|
@@ -3115,12 +3117,12 @@ var ChartTooltipContent = React8__namespace.forwardRef(
|
|
|
3115
3117
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
3116
3118
|
const value = !labelKey && typeof label === "string" ? config[label]?.label || label : itemConfig?.label;
|
|
3117
3119
|
if (labelFormatter) {
|
|
3118
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3120
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYAF2X7W5_cjs.cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
|
|
3119
3121
|
}
|
|
3120
3122
|
if (!value) {
|
|
3121
3123
|
return null;
|
|
3122
3124
|
}
|
|
3123
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3125
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYAF2X7W5_cjs.cn("font-medium", labelClassName), children: value });
|
|
3124
3126
|
}, [
|
|
3125
3127
|
label,
|
|
3126
3128
|
labelFormatter,
|
|
@@ -3138,7 +3140,7 @@ var ChartTooltipContent = React8__namespace.forwardRef(
|
|
|
3138
3140
|
"div",
|
|
3139
3141
|
{
|
|
3140
3142
|
ref,
|
|
3141
|
-
className:
|
|
3143
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3142
3144
|
"grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",
|
|
3143
3145
|
className
|
|
3144
3146
|
),
|
|
@@ -3151,7 +3153,7 @@ var ChartTooltipContent = React8__namespace.forwardRef(
|
|
|
3151
3153
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3152
3154
|
"div",
|
|
3153
3155
|
{
|
|
3154
|
-
className:
|
|
3156
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3155
3157
|
"flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
|
|
3156
3158
|
indicator === "dot" && "items-center"
|
|
3157
3159
|
),
|
|
@@ -3159,7 +3161,7 @@ var ChartTooltipContent = React8__namespace.forwardRef(
|
|
|
3159
3161
|
itemConfig?.icon ? /* @__PURE__ */ jsxRuntime.jsx(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3160
3162
|
"div",
|
|
3161
3163
|
{
|
|
3162
|
-
className:
|
|
3164
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3163
3165
|
"shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",
|
|
3164
3166
|
{
|
|
3165
3167
|
"h-2.5 w-2.5": indicator === "dot",
|
|
@@ -3177,7 +3179,7 @@ var ChartTooltipContent = React8__namespace.forwardRef(
|
|
|
3177
3179
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3178
3180
|
"div",
|
|
3179
3181
|
{
|
|
3180
|
-
className:
|
|
3182
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3181
3183
|
"flex flex-1 justify-between leading-none",
|
|
3182
3184
|
nestLabel ? "items-end" : "items-center"
|
|
3183
3185
|
),
|
|
@@ -3212,7 +3214,7 @@ var ChartLegendContent = React8__namespace.forwardRef(
|
|
|
3212
3214
|
"div",
|
|
3213
3215
|
{
|
|
3214
3216
|
ref,
|
|
3215
|
-
className:
|
|
3217
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3216
3218
|
"flex items-center justify-center gap-4",
|
|
3217
3219
|
verticalAlign === "top" ? "pb-3" : "pt-3",
|
|
3218
3220
|
className
|
|
@@ -3223,7 +3225,7 @@ var ChartLegendContent = React8__namespace.forwardRef(
|
|
|
3223
3225
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3224
3226
|
"div",
|
|
3225
3227
|
{
|
|
3226
|
-
className:
|
|
3228
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3227
3229
|
"flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"
|
|
3228
3230
|
),
|
|
3229
3231
|
children: [
|
|
@@ -3268,7 +3270,7 @@ var HoverCardContent = React8__namespace.forwardRef(({ className, align = "cente
|
|
|
3268
3270
|
ref,
|
|
3269
3271
|
align,
|
|
3270
3272
|
sideOffset,
|
|
3271
|
-
className:
|
|
3273
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3272
3274
|
"z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]",
|
|
3273
3275
|
className
|
|
3274
3276
|
),
|
|
@@ -3293,7 +3295,7 @@ var badgeVariants = classVarianceAuthority.cva(
|
|
|
3293
3295
|
}
|
|
3294
3296
|
);
|
|
3295
3297
|
function Badge({ className, variant, ...props }) {
|
|
3296
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3298
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYAF2X7W5_cjs.cn(badgeVariants({ variant }), className), ...props });
|
|
3297
3299
|
}
|
|
3298
3300
|
var Dialog = SheetPrimitive__namespace.Root;
|
|
3299
3301
|
var DialogTrigger = SheetPrimitive__namespace.Trigger;
|
|
@@ -3303,7 +3305,7 @@ var DialogOverlay = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
3303
3305
|
SheetPrimitive__namespace.Overlay,
|
|
3304
3306
|
{
|
|
3305
3307
|
ref,
|
|
3306
|
-
className:
|
|
3308
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3307
3309
|
"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/80",
|
|
3308
3310
|
className
|
|
3309
3311
|
),
|
|
@@ -3317,7 +3319,7 @@ var DialogContent = React8__namespace.forwardRef(({ className, children, hideClo
|
|
|
3317
3319
|
SheetPrimitive__namespace.Content,
|
|
3318
3320
|
{
|
|
3319
3321
|
ref,
|
|
3320
|
-
className:
|
|
3322
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3321
3323
|
"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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",
|
|
3322
3324
|
className
|
|
3323
3325
|
),
|
|
@@ -3339,7 +3341,7 @@ var DialogHeader = ({
|
|
|
3339
3341
|
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3340
3342
|
"div",
|
|
3341
3343
|
{
|
|
3342
|
-
className:
|
|
3344
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3343
3345
|
"flex flex-col space-y-1.5 text-center sm:text-left",
|
|
3344
3346
|
className
|
|
3345
3347
|
),
|
|
@@ -3353,7 +3355,7 @@ var DialogFooter = ({
|
|
|
3353
3355
|
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3354
3356
|
"div",
|
|
3355
3357
|
{
|
|
3356
|
-
className:
|
|
3358
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3357
3359
|
"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sm:gap-4",
|
|
3358
3360
|
className
|
|
3359
3361
|
),
|
|
@@ -3365,7 +3367,7 @@ var DialogTitle = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
3365
3367
|
SheetPrimitive__namespace.Title,
|
|
3366
3368
|
{
|
|
3367
3369
|
ref,
|
|
3368
|
-
className:
|
|
3370
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3369
3371
|
"text-lg font-semibold leading-none tracking-tight",
|
|
3370
3372
|
className
|
|
3371
3373
|
),
|
|
@@ -3377,7 +3379,7 @@ var DialogDescription = React8__namespace.forwardRef(({ className, ...props }, r
|
|
|
3377
3379
|
SheetPrimitive__namespace.Description,
|
|
3378
3380
|
{
|
|
3379
3381
|
ref,
|
|
3380
|
-
className:
|
|
3382
|
+
className: chunkYAF2X7W5_cjs.cn("text-medium-emphasis text-sm", className),
|
|
3381
3383
|
...props
|
|
3382
3384
|
}
|
|
3383
3385
|
));
|
|
@@ -3386,7 +3388,7 @@ var Command = React8__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3386
3388
|
cmdk.Command,
|
|
3387
3389
|
{
|
|
3388
3390
|
ref,
|
|
3389
|
-
className:
|
|
3391
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3390
3392
|
"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
|
3391
3393
|
className
|
|
3392
3394
|
),
|
|
@@ -3402,7 +3404,7 @@ var CommandDialog = ({
|
|
|
3402
3404
|
return /* @__PURE__ */ jsxRuntime.jsx(Dialog, { ...props, children: /* @__PURE__ */ jsxRuntime.jsx(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3403
3405
|
Command,
|
|
3404
3406
|
{
|
|
3405
|
-
className:
|
|
3407
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3406
3408
|
"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[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",
|
|
3407
3409
|
commandProps?.className
|
|
3408
3410
|
),
|
|
@@ -3417,7 +3419,7 @@ var CommandInput = React8__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
3417
3419
|
cmdk.Command.Input,
|
|
3418
3420
|
{
|
|
3419
3421
|
ref,
|
|
3420
|
-
className:
|
|
3422
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3421
3423
|
"flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
3422
3424
|
className
|
|
3423
3425
|
),
|
|
@@ -3430,7 +3432,7 @@ var CommandList = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
3430
3432
|
cmdk.Command.List,
|
|
3431
3433
|
{
|
|
3432
3434
|
ref,
|
|
3433
|
-
className:
|
|
3435
|
+
className: chunkYAF2X7W5_cjs.cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className),
|
|
3434
3436
|
...props
|
|
3435
3437
|
}
|
|
3436
3438
|
));
|
|
@@ -3448,7 +3450,7 @@ var CommandGroup = React8__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
3448
3450
|
cmdk.Command.Group,
|
|
3449
3451
|
{
|
|
3450
3452
|
ref,
|
|
3451
|
-
className:
|
|
3453
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3452
3454
|
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
|
|
3453
3455
|
className
|
|
3454
3456
|
),
|
|
@@ -3460,7 +3462,7 @@ var CommandSeparator = React8__namespace.forwardRef(({ className, ...props }, re
|
|
|
3460
3462
|
cmdk.Command.Separator,
|
|
3461
3463
|
{
|
|
3462
3464
|
ref,
|
|
3463
|
-
className:
|
|
3465
|
+
className: chunkYAF2X7W5_cjs.cn("-mx-1 h-px bg-border", className),
|
|
3464
3466
|
...props
|
|
3465
3467
|
}
|
|
3466
3468
|
));
|
|
@@ -3469,7 +3471,7 @@ var CommandItem = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
3469
3471
|
cmdk.Command.Item,
|
|
3470
3472
|
{
|
|
3471
3473
|
ref,
|
|
3472
|
-
className:
|
|
3474
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3473
3475
|
"relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
3474
3476
|
className
|
|
3475
3477
|
),
|
|
@@ -3484,7 +3486,7 @@ var CommandShortcut = ({
|
|
|
3484
3486
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3485
3487
|
"span",
|
|
3486
3488
|
{
|
|
3487
|
-
className:
|
|
3489
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3488
3490
|
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
3489
3491
|
className
|
|
3490
3492
|
),
|
|
@@ -3499,7 +3501,7 @@ function MultiSelect({
|
|
|
3499
3501
|
onChange,
|
|
3500
3502
|
value: selectedValues
|
|
3501
3503
|
}) {
|
|
3502
|
-
const [buttonRef, popoverWidth] =
|
|
3504
|
+
const [buttonRef, popoverWidth] = chunk6TMMJJRJ_cjs.usePopoverWidth();
|
|
3503
3505
|
const onSelectHandler = (value) => {
|
|
3504
3506
|
const nextValues = selectedValues.includes(value) ? selectedValues.filter((item) => item !== value) : [...selectedValues, value];
|
|
3505
3507
|
onChange(nextValues);
|
|
@@ -3573,11 +3575,11 @@ function MultiSelect({
|
|
|
3573
3575
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3574
3576
|
"div",
|
|
3575
3577
|
{
|
|
3576
|
-
className:
|
|
3578
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3577
3579
|
"border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
|
|
3578
3580
|
isSelected ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
|
|
3579
3581
|
),
|
|
3580
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactIcons.CheckIcon, { className:
|
|
3582
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactIcons.CheckIcon, { className: chunkYAF2X7W5_cjs.cn("h-4 w-4") })
|
|
3581
3583
|
}
|
|
3582
3584
|
),
|
|
3583
3585
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: option.label })
|
|
@@ -3607,7 +3609,7 @@ var Checkbox = React8__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3607
3609
|
CheckboxPrimitive__namespace.Root,
|
|
3608
3610
|
{
|
|
3609
3611
|
ref,
|
|
3610
|
-
className:
|
|
3612
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3611
3613
|
"grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
|
|
3612
3614
|
className
|
|
3613
3615
|
),
|
|
@@ -3615,7 +3617,7 @@ var Checkbox = React8__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3615
3617
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3616
3618
|
CheckboxPrimitive__namespace.Indicator,
|
|
3617
3619
|
{
|
|
3618
|
-
className:
|
|
3620
|
+
className: chunkYAF2X7W5_cjs.cn("grid place-content-center text-current"),
|
|
3619
3621
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-4 w-4" })
|
|
3620
3622
|
}
|
|
3621
3623
|
)
|
|
@@ -3632,7 +3634,7 @@ var DropdownMenuSubTrigger = React8__namespace.forwardRef(({ className, inset, c
|
|
|
3632
3634
|
DropdownMenuPrimitive__namespace.SubTrigger,
|
|
3633
3635
|
{
|
|
3634
3636
|
ref,
|
|
3635
|
-
className:
|
|
3637
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3636
3638
|
"flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
3637
3639
|
inset && "pl-8",
|
|
3638
3640
|
className
|
|
@@ -3649,7 +3651,7 @@ var DropdownMenuSubContent = React8__namespace.forwardRef(({ className, ...props
|
|
|
3649
3651
|
DropdownMenuPrimitive__namespace.SubContent,
|
|
3650
3652
|
{
|
|
3651
3653
|
ref,
|
|
3652
|
-
className:
|
|
3654
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3653
3655
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
|
|
3654
3656
|
className
|
|
3655
3657
|
),
|
|
@@ -3662,7 +3664,7 @@ var DropdownMenuContent = React8__namespace.forwardRef(({ className, sideOffset
|
|
|
3662
3664
|
{
|
|
3663
3665
|
ref,
|
|
3664
3666
|
sideOffset,
|
|
3665
|
-
className:
|
|
3667
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3666
3668
|
"z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
|
|
3667
3669
|
className
|
|
3668
3670
|
),
|
|
@@ -3674,7 +3676,7 @@ var DropdownMenuItem = React8__namespace.forwardRef(({ className, inset, ...prop
|
|
|
3674
3676
|
DropdownMenuPrimitive__namespace.Item,
|
|
3675
3677
|
{
|
|
3676
3678
|
ref,
|
|
3677
|
-
className:
|
|
3679
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3678
3680
|
"relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
3679
3681
|
inset && "pl-8",
|
|
3680
3682
|
className
|
|
@@ -3687,7 +3689,7 @@ var DropdownMenuCheckboxItem = React8__namespace.forwardRef(({ className, childr
|
|
|
3687
3689
|
DropdownMenuPrimitive__namespace.CheckboxItem,
|
|
3688
3690
|
{
|
|
3689
3691
|
ref,
|
|
3690
|
-
className:
|
|
3692
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3691
3693
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
3692
3694
|
className
|
|
3693
3695
|
),
|
|
@@ -3704,7 +3706,7 @@ var DropdownMenuRadioItem = React8__namespace.forwardRef(({ className, children,
|
|
|
3704
3706
|
DropdownMenuPrimitive__namespace.RadioItem,
|
|
3705
3707
|
{
|
|
3706
3708
|
ref,
|
|
3707
|
-
className:
|
|
3709
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3708
3710
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
3709
3711
|
className
|
|
3710
3712
|
),
|
|
@@ -3720,7 +3722,7 @@ var DropdownMenuLabel = React8__namespace.forwardRef(({ className, inset, ...pro
|
|
|
3720
3722
|
DropdownMenuPrimitive__namespace.Label,
|
|
3721
3723
|
{
|
|
3722
3724
|
ref,
|
|
3723
|
-
className:
|
|
3725
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3724
3726
|
"px-2 py-1.5 text-sm font-semibold",
|
|
3725
3727
|
inset && "pl-8",
|
|
3726
3728
|
className
|
|
@@ -3733,7 +3735,7 @@ var DropdownMenuSeparator = React8__namespace.forwardRef(({ className, ...props
|
|
|
3733
3735
|
DropdownMenuPrimitive__namespace.Separator,
|
|
3734
3736
|
{
|
|
3735
3737
|
ref,
|
|
3736
|
-
className:
|
|
3738
|
+
className: chunkYAF2X7W5_cjs.cn("-mx-1 my-1 h-px bg-muted", className),
|
|
3737
3739
|
...props
|
|
3738
3740
|
}
|
|
3739
3741
|
));
|
|
@@ -3745,7 +3747,7 @@ var DropdownMenuShortcut = ({
|
|
|
3745
3747
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3746
3748
|
"span",
|
|
3747
3749
|
{
|
|
3748
|
-
className:
|
|
3750
|
+
className: chunkYAF2X7W5_cjs.cn("ml-auto text-xs tracking-widest opacity-60", className),
|
|
3749
3751
|
...props
|
|
3750
3752
|
}
|
|
3751
3753
|
);
|
|
@@ -3755,7 +3757,7 @@ var Slider = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3755
3757
|
SliderPrimitive__namespace.Root,
|
|
3756
3758
|
{
|
|
3757
3759
|
ref,
|
|
3758
|
-
className:
|
|
3760
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3759
3761
|
"relative flex w-full touch-none select-none items-center",
|
|
3760
3762
|
className
|
|
3761
3763
|
),
|
|
@@ -3803,19 +3805,19 @@ var CopyToClipboardButton = ({
|
|
|
3803
3805
|
}
|
|
3804
3806
|
window.setTimeout(() => setIsCopying(false), 1e3);
|
|
3805
3807
|
};
|
|
3806
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3808
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkYAF2X7W5_cjs.cn("group flex items-center gap-2", className), children: [
|
|
3807
3809
|
children,
|
|
3808
3810
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3809
3811
|
framerMotion.motion.div,
|
|
3810
3812
|
{
|
|
3811
3813
|
layout: true,
|
|
3812
|
-
className:
|
|
3814
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3813
3815
|
"relative flex min-w-[70px] items-center gap-1",
|
|
3814
3816
|
isHoverable ? "opacity-0 group-hover:opacity-100" : "opacity-100"
|
|
3815
3817
|
),
|
|
3816
3818
|
initial: false,
|
|
3817
3819
|
animate: { opacity: isHoverable ? void 0 : 1 },
|
|
3818
|
-
transition:
|
|
3820
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
3819
3821
|
children: [
|
|
3820
3822
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3821
3823
|
Button,
|
|
@@ -3832,7 +3834,7 @@ var CopyToClipboardButton = ({
|
|
|
3832
3834
|
initial: { scale: 0.6, opacity: 0 },
|
|
3833
3835
|
animate: { scale: 1, opacity: 1 },
|
|
3834
3836
|
exit: { scale: 0.6, opacity: 0 },
|
|
3835
|
-
transition:
|
|
3837
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
3836
3838
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3837
3839
|
lucideReact.Check,
|
|
3838
3840
|
{
|
|
@@ -3848,7 +3850,7 @@ var CopyToClipboardButton = ({
|
|
|
3848
3850
|
initial: { scale: 0.6, opacity: 0 },
|
|
3849
3851
|
animate: { scale: 1, opacity: 1 },
|
|
3850
3852
|
exit: { scale: 0.6, opacity: 0 },
|
|
3851
|
-
transition:
|
|
3853
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
3852
3854
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Copy, { className: "size-4 text-muted-foreground", "aria-hidden": true })
|
|
3853
3855
|
},
|
|
3854
3856
|
"copy"
|
|
@@ -3861,7 +3863,7 @@ var CopyToClipboardButton = ({
|
|
|
3861
3863
|
layout: true,
|
|
3862
3864
|
className: "pointer-events-none absolute left-8 top-1/2 z-10 hidden -translate-y-1/2 whitespace-nowrap rounded bg-popover px-2 py-1 text-xs text-popover-foreground shadow-md peer-hover:block",
|
|
3863
3865
|
animate: { opacity: isCopying ? 1 : 0.9 },
|
|
3864
|
-
transition:
|
|
3866
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
3865
3867
|
children: isCopying ? copiedLabel : copyLabel
|
|
3866
3868
|
}
|
|
3867
3869
|
)
|
|
@@ -3887,7 +3889,7 @@ function StepperItem({
|
|
|
3887
3889
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3888
3890
|
"li",
|
|
3889
3891
|
{
|
|
3890
|
-
className:
|
|
3892
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3891
3893
|
"flex flex-1 gap-3",
|
|
3892
3894
|
orientation === "horizontal" ? "items-center" : "items-start"
|
|
3893
3895
|
),
|
|
@@ -3911,7 +3913,7 @@ function StepperItem({
|
|
|
3911
3913
|
!isLast && orientation === "vertical" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3912
3914
|
"span",
|
|
3913
3915
|
{
|
|
3914
|
-
className:
|
|
3916
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3915
3917
|
"mt-1 w-px flex-1",
|
|
3916
3918
|
status === "complete" ? "bg-primary" : "bg-border"
|
|
3917
3919
|
),
|
|
@@ -3923,7 +3925,7 @@ function StepperItem({
|
|
|
3923
3925
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3924
3926
|
"span",
|
|
3925
3927
|
{
|
|
3926
|
-
className:
|
|
3928
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3927
3929
|
"text-sm font-medium",
|
|
3928
3930
|
status === "current" ? "text-foreground" : "text-medium-emphasis"
|
|
3929
3931
|
),
|
|
@@ -3935,7 +3937,7 @@ function StepperItem({
|
|
|
3935
3937
|
!isLast && orientation === "horizontal" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3936
3938
|
"span",
|
|
3937
3939
|
{
|
|
3938
|
-
className:
|
|
3940
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3939
3941
|
"h-px flex-1 self-center",
|
|
3940
3942
|
status === "complete" ? "bg-primary" : "bg-border"
|
|
3941
3943
|
),
|
|
@@ -3953,7 +3955,7 @@ var Stepper = React8__namespace.forwardRef(
|
|
|
3953
3955
|
{
|
|
3954
3956
|
ref,
|
|
3955
3957
|
"aria-label": "Progress",
|
|
3956
|
-
className:
|
|
3958
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
3957
3959
|
"flex w-full",
|
|
3958
3960
|
orientation === "vertical" ? "flex-col gap-4" : "flex-row items-start gap-2",
|
|
3959
3961
|
className
|
|
@@ -3994,7 +3996,7 @@ var Spinner = React8__namespace.forwardRef(
|
|
|
3994
3996
|
ref,
|
|
3995
3997
|
role: "status",
|
|
3996
3998
|
"aria-label": label,
|
|
3997
|
-
className:
|
|
3999
|
+
className: chunkYAF2X7W5_cjs.cn(spinnerVariants({ size }), className),
|
|
3998
4000
|
style: { color: "var(--loader-color)", ...style },
|
|
3999
4001
|
...props
|
|
4000
4002
|
}
|
|
@@ -4097,7 +4099,7 @@ var Carousel = React8__namespace.forwardRef(
|
|
|
4097
4099
|
{
|
|
4098
4100
|
ref,
|
|
4099
4101
|
onKeyDownCapture: handleKeyDown,
|
|
4100
|
-
className:
|
|
4102
|
+
className: chunkYAF2X7W5_cjs.cn("relative", className),
|
|
4101
4103
|
role: "region",
|
|
4102
4104
|
"aria-roledescription": "carousel",
|
|
4103
4105
|
...props,
|
|
@@ -4113,7 +4115,7 @@ var CarouselContent = React8__namespace.forwardRef(({ className, ...props }, ref
|
|
|
4113
4115
|
"div",
|
|
4114
4116
|
{
|
|
4115
4117
|
ref,
|
|
4116
|
-
className:
|
|
4118
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4117
4119
|
"flex",
|
|
4118
4120
|
orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
|
|
4119
4121
|
className
|
|
@@ -4131,7 +4133,7 @@ var CarouselItem = React8__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
4131
4133
|
ref,
|
|
4132
4134
|
role: "group",
|
|
4133
4135
|
"aria-roledescription": "slide",
|
|
4134
|
-
className:
|
|
4136
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4135
4137
|
"min-w-0 shrink-0 grow-0 basis-full",
|
|
4136
4138
|
orientation === "horizontal" ? "pl-4" : "pt-4",
|
|
4137
4139
|
className
|
|
@@ -4149,7 +4151,7 @@ var CarouselPrevious = React8__namespace.forwardRef(({ className, variant = "out
|
|
|
4149
4151
|
ref,
|
|
4150
4152
|
variant,
|
|
4151
4153
|
size,
|
|
4152
|
-
className:
|
|
4154
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4153
4155
|
"absolute h-8 w-8 rounded-full",
|
|
4154
4156
|
orientation === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
4155
4157
|
className
|
|
@@ -4173,7 +4175,7 @@ var CarouselNext = React8__namespace.forwardRef(({ className, variant = "outline
|
|
|
4173
4175
|
ref,
|
|
4174
4176
|
variant,
|
|
4175
4177
|
size,
|
|
4176
|
-
className:
|
|
4178
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4177
4179
|
"absolute h-8 w-8 rounded-full",
|
|
4178
4180
|
orientation === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
4179
4181
|
className
|
|
@@ -4213,7 +4215,7 @@ var Toggle = React8__namespace.forwardRef(({ className, variant, size, ...props
|
|
|
4213
4215
|
TogglePrimitive__namespace.Root,
|
|
4214
4216
|
{
|
|
4215
4217
|
ref,
|
|
4216
|
-
className:
|
|
4218
|
+
className: chunkYAF2X7W5_cjs.cn(toggleVariants({ variant, size, className })),
|
|
4217
4219
|
...props
|
|
4218
4220
|
}
|
|
4219
4221
|
));
|
|
@@ -4231,7 +4233,7 @@ var ToggleGroup = React8__namespace.forwardRef(({ className, variant, size, chil
|
|
|
4231
4233
|
ToggleGroupPrimitive__namespace.Root,
|
|
4232
4234
|
{
|
|
4233
4235
|
ref,
|
|
4234
|
-
className:
|
|
4236
|
+
className: chunkYAF2X7W5_cjs.cn("flex items-center justify-center gap-1", className),
|
|
4235
4237
|
...props,
|
|
4236
4238
|
children: /* @__PURE__ */ jsxRuntime.jsx(ToggleGroupContext.Provider, { value: contextValue, children })
|
|
4237
4239
|
}
|
|
@@ -4244,7 +4246,7 @@ var ToggleGroupItem = React8__namespace.forwardRef(({ className, children, varia
|
|
|
4244
4246
|
ToggleGroupPrimitive__namespace.Item,
|
|
4245
4247
|
{
|
|
4246
4248
|
ref,
|
|
4247
|
-
className:
|
|
4249
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4248
4250
|
toggleVariants({
|
|
4249
4251
|
variant: context.variant || variant,
|
|
4250
4252
|
size: context.size || size
|
|
@@ -4267,7 +4269,7 @@ var ContextMenuSubTrigger = React8__namespace.forwardRef(({ className, inset, ch
|
|
|
4267
4269
|
ContextMenuPrimitive__namespace.SubTrigger,
|
|
4268
4270
|
{
|
|
4269
4271
|
ref,
|
|
4270
|
-
className:
|
|
4272
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4271
4273
|
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
4272
4274
|
inset && "pl-8",
|
|
4273
4275
|
className
|
|
@@ -4284,7 +4286,7 @@ var ContextMenuSubContent = React8__namespace.forwardRef(({ className, ...props
|
|
|
4284
4286
|
ContextMenuPrimitive__namespace.SubContent,
|
|
4285
4287
|
{
|
|
4286
4288
|
ref,
|
|
4287
|
-
className:
|
|
4289
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4288
4290
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-context-menu-content-transform-origin]",
|
|
4289
4291
|
className
|
|
4290
4292
|
),
|
|
@@ -4296,7 +4298,7 @@ var ContextMenuContent = React8__namespace.forwardRef(({ className, ...props },
|
|
|
4296
4298
|
ContextMenuPrimitive__namespace.Content,
|
|
4297
4299
|
{
|
|
4298
4300
|
ref,
|
|
4299
|
-
className:
|
|
4301
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4300
4302
|
"z-50 max-h-[--radix-context-menu-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-context-menu-content-transform-origin]",
|
|
4301
4303
|
className
|
|
4302
4304
|
),
|
|
@@ -4308,7 +4310,7 @@ var ContextMenuItem = React8__namespace.forwardRef(({ className, inset, ...props
|
|
|
4308
4310
|
ContextMenuPrimitive__namespace.Item,
|
|
4309
4311
|
{
|
|
4310
4312
|
ref,
|
|
4311
|
-
className:
|
|
4313
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4312
4314
|
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
4313
4315
|
inset && "pl-8",
|
|
4314
4316
|
className
|
|
@@ -4321,7 +4323,7 @@ var ContextMenuCheckboxItem = React8__namespace.forwardRef(({ className, childre
|
|
|
4321
4323
|
ContextMenuPrimitive__namespace.CheckboxItem,
|
|
4322
4324
|
{
|
|
4323
4325
|
ref,
|
|
4324
|
-
className:
|
|
4326
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4325
4327
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
4326
4328
|
className
|
|
4327
4329
|
),
|
|
@@ -4338,7 +4340,7 @@ var ContextMenuRadioItem = React8__namespace.forwardRef(({ className, children,
|
|
|
4338
4340
|
ContextMenuPrimitive__namespace.RadioItem,
|
|
4339
4341
|
{
|
|
4340
4342
|
ref,
|
|
4341
|
-
className:
|
|
4343
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4342
4344
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
4343
4345
|
className
|
|
4344
4346
|
),
|
|
@@ -4354,7 +4356,7 @@ var ContextMenuLabel = React8__namespace.forwardRef(({ className, inset, ...prop
|
|
|
4354
4356
|
ContextMenuPrimitive__namespace.Label,
|
|
4355
4357
|
{
|
|
4356
4358
|
ref,
|
|
4357
|
-
className:
|
|
4359
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4358
4360
|
"px-2 py-1.5 text-sm font-semibold text-foreground",
|
|
4359
4361
|
inset && "pl-8",
|
|
4360
4362
|
className
|
|
@@ -4367,7 +4369,7 @@ var ContextMenuSeparator = React8__namespace.forwardRef(({ className, ...props }
|
|
|
4367
4369
|
ContextMenuPrimitive__namespace.Separator,
|
|
4368
4370
|
{
|
|
4369
4371
|
ref,
|
|
4370
|
-
className:
|
|
4372
|
+
className: chunkYAF2X7W5_cjs.cn("-mx-1 my-1 h-px bg-border", className),
|
|
4371
4373
|
...props
|
|
4372
4374
|
}
|
|
4373
4375
|
));
|
|
@@ -4379,7 +4381,7 @@ var ContextMenuShortcut = ({
|
|
|
4379
4381
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4380
4382
|
"span",
|
|
4381
4383
|
{
|
|
4382
|
-
className:
|
|
4384
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4383
4385
|
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
4384
4386
|
className
|
|
4385
4387
|
),
|
|
@@ -4392,7 +4394,7 @@ var PasswordInput = React8__namespace.forwardRef(
|
|
|
4392
4394
|
({ className, toggleAriaLabel = "Toggle password visibility", ...props }, ref) => {
|
|
4393
4395
|
const [visible, setVisible] = React8__namespace.useState(false);
|
|
4394
4396
|
const Icon2 = visible ? lucideReact.EyeOff : lucideReact.Eye;
|
|
4395
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
4397
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkYAF2X7W5_cjs.cn("relative", className), children: [
|
|
4396
4398
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4397
4399
|
Input,
|
|
4398
4400
|
{
|
|
@@ -4420,7 +4422,7 @@ var Textarea = React8__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
|
4420
4422
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4421
4423
|
"textarea",
|
|
4422
4424
|
{
|
|
4423
|
-
className:
|
|
4425
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4424
4426
|
"flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
4425
4427
|
className
|
|
4426
4428
|
),
|
|
@@ -4434,7 +4436,7 @@ var ScrollArea = React8__namespace.forwardRef(({ className, children, ...props }
|
|
|
4434
4436
|
ScrollAreaPrimitive__namespace.Root,
|
|
4435
4437
|
{
|
|
4436
4438
|
ref,
|
|
4437
|
-
className:
|
|
4439
|
+
className: chunkYAF2X7W5_cjs.cn("relative overflow-hidden", className),
|
|
4438
4440
|
...props,
|
|
4439
4441
|
children: [
|
|
4440
4442
|
/* @__PURE__ */ jsxRuntime.jsx(ScrollAreaPrimitive__namespace.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
|
|
@@ -4449,7 +4451,7 @@ var ScrollBar = React8__namespace.forwardRef(({ className, orientation = "vertic
|
|
|
4449
4451
|
{
|
|
4450
4452
|
ref,
|
|
4451
4453
|
orientation,
|
|
4452
|
-
className:
|
|
4454
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4453
4455
|
"flex touch-none select-none transition-colors",
|
|
4454
4456
|
orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
4455
4457
|
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
@@ -4464,18 +4466,18 @@ var Table = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
4464
4466
|
"table",
|
|
4465
4467
|
{
|
|
4466
4468
|
ref,
|
|
4467
|
-
className:
|
|
4469
|
+
className: chunkYAF2X7W5_cjs.cn("w-full caption-bottom text-sm", className),
|
|
4468
4470
|
...props
|
|
4469
4471
|
}
|
|
4470
4472
|
) }));
|
|
4471
4473
|
Table.displayName = "Table";
|
|
4472
|
-
var TableHeader = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className:
|
|
4474
|
+
var TableHeader = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: chunkYAF2X7W5_cjs.cn("[&_tr]:border-b", className), ...props }));
|
|
4473
4475
|
TableHeader.displayName = "TableHeader";
|
|
4474
4476
|
var TableBody = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4475
4477
|
"tbody",
|
|
4476
4478
|
{
|
|
4477
4479
|
ref,
|
|
4478
|
-
className:
|
|
4480
|
+
className: chunkYAF2X7W5_cjs.cn("[&_tr:last-child]:border-0", className),
|
|
4479
4481
|
...props
|
|
4480
4482
|
}
|
|
4481
4483
|
));
|
|
@@ -4484,7 +4486,7 @@ var TableFooter = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
4484
4486
|
"tfoot",
|
|
4485
4487
|
{
|
|
4486
4488
|
ref,
|
|
4487
|
-
className:
|
|
4489
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4488
4490
|
"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
|
|
4489
4491
|
className
|
|
4490
4492
|
),
|
|
@@ -4496,7 +4498,7 @@ var TableRow = React8__namespace.forwardRef(({ className, isHoverable, ...props
|
|
|
4496
4498
|
"tr",
|
|
4497
4499
|
{
|
|
4498
4500
|
ref,
|
|
4499
|
-
className:
|
|
4501
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4500
4502
|
"border-b transition-colors data-[state=selected]:bg-muted",
|
|
4501
4503
|
isHoverable && "cursor-pointer hover:bg-muted/50",
|
|
4502
4504
|
className
|
|
@@ -4509,7 +4511,7 @@ var TableHead = React8__namespace.forwardRef(({ className, ...props }, ref) => /
|
|
|
4509
4511
|
"th",
|
|
4510
4512
|
{
|
|
4511
4513
|
ref,
|
|
4512
|
-
className:
|
|
4514
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
4513
4515
|
"h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
|
|
4514
4516
|
className
|
|
4515
4517
|
),
|
|
@@ -4521,7 +4523,7 @@ var TableCell = React8__namespace.forwardRef(({ className, ...props }, ref) => /
|
|
|
4521
4523
|
"td",
|
|
4522
4524
|
{
|
|
4523
4525
|
ref,
|
|
4524
|
-
className:
|
|
4526
|
+
className: chunkYAF2X7W5_cjs.cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
|
|
4525
4527
|
...props
|
|
4526
4528
|
}
|
|
4527
4529
|
));
|
|
@@ -4530,7 +4532,7 @@ var TableCaption = React8__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
4530
4532
|
"caption",
|
|
4531
4533
|
{
|
|
4532
4534
|
ref,
|
|
4533
|
-
className:
|
|
4535
|
+
className: chunkYAF2X7W5_cjs.cn("mt-4 text-sm text-muted-foreground", className),
|
|
4534
4536
|
...props
|
|
4535
4537
|
}
|
|
4536
4538
|
));
|
|
@@ -5090,7 +5092,7 @@ var MaskedText = ({
|
|
|
5090
5092
|
const firstVisible = showFirstN > 0 ? text.slice(0, showFirstN) : "";
|
|
5091
5093
|
const lastVisible = showLastN > 0 ? text.slice(-showLastN) : "";
|
|
5092
5094
|
const maskedCount = Math.max(actualLength - showFirstN - showLastN, 0);
|
|
5093
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5095
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkYAF2X7W5_cjs.cn("flex min-w-0 items-center overflow-hidden", className), children: [
|
|
5094
5096
|
firstVisible ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: firstVisible }) : null,
|
|
5095
5097
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "h-4 min-w-0 flex-1 overflow-hidden text-muted-foreground", children: char.repeat(maskedCount) }),
|
|
5096
5098
|
lastVisible ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: lastVisible }) : null
|
|
@@ -5100,7 +5102,7 @@ var Avatar = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
5100
5102
|
AvatarPrimitive__namespace.Root,
|
|
5101
5103
|
{
|
|
5102
5104
|
ref,
|
|
5103
|
-
className:
|
|
5105
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5104
5106
|
"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
|
|
5105
5107
|
className
|
|
5106
5108
|
),
|
|
@@ -5112,7 +5114,7 @@ var AvatarImage = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
5112
5114
|
AvatarPrimitive__namespace.Image,
|
|
5113
5115
|
{
|
|
5114
5116
|
ref,
|
|
5115
|
-
className:
|
|
5117
|
+
className: chunkYAF2X7W5_cjs.cn("aspect-square h-full w-full", className),
|
|
5116
5118
|
...props
|
|
5117
5119
|
}
|
|
5118
5120
|
));
|
|
@@ -5121,7 +5123,7 @@ var AvatarFallback = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
5121
5123
|
AvatarPrimitive__namespace.Fallback,
|
|
5122
5124
|
{
|
|
5123
5125
|
ref,
|
|
5124
|
-
className:
|
|
5126
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5125
5127
|
"flex h-full w-full items-center justify-center rounded-full bg-muted",
|
|
5126
5128
|
className
|
|
5127
5129
|
),
|
|
@@ -5228,7 +5230,7 @@ var InfiniteScroller = ({
|
|
|
5228
5230
|
initial: { opacity: 0, height: 0 },
|
|
5229
5231
|
animate: { opacity: 1, height: "auto" },
|
|
5230
5232
|
exit: { opacity: 0, height: 0 },
|
|
5231
|
-
transition:
|
|
5233
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
5232
5234
|
children: loadingIndicator
|
|
5233
5235
|
},
|
|
5234
5236
|
"loading"
|
|
@@ -5239,10 +5241,10 @@ var InfiniteScroller = ({
|
|
|
5239
5241
|
framerMotion.motion.div,
|
|
5240
5242
|
{
|
|
5241
5243
|
layout: true,
|
|
5242
|
-
variants:
|
|
5244
|
+
variants: chunkFKFBYT22_cjs.fadeInUp,
|
|
5243
5245
|
initial: "initial",
|
|
5244
5246
|
animate: "animate",
|
|
5245
|
-
transition:
|
|
5247
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
5246
5248
|
children: renderItem(item, index)
|
|
5247
5249
|
},
|
|
5248
5250
|
key
|
|
@@ -5254,7 +5256,7 @@ var InfiniteScroller = ({
|
|
|
5254
5256
|
className: "flex h-full items-center justify-center text-muted-foreground",
|
|
5255
5257
|
initial: { opacity: 0 },
|
|
5256
5258
|
animate: { opacity: 1 },
|
|
5257
|
-
transition:
|
|
5259
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
5258
5260
|
children: emptyContent ?? "No items"
|
|
5259
5261
|
}
|
|
5260
5262
|
) }),
|
|
@@ -5265,7 +5267,7 @@ var InfiniteScroller = ({
|
|
|
5265
5267
|
initial: { opacity: 0, y: 16 },
|
|
5266
5268
|
animate: { opacity: 1, y: 0 },
|
|
5267
5269
|
exit: { opacity: 0, y: 12 },
|
|
5268
|
-
transition:
|
|
5270
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
5269
5271
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5270
5272
|
framerMotion.motion.div,
|
|
5271
5273
|
{
|
|
@@ -5285,7 +5287,7 @@ var AspectRatio = AspectRatioPrimitive__namespace.Root;
|
|
|
5285
5287
|
var Switch = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
5286
5288
|
SwitchPrimitives__namespace.Root,
|
|
5287
5289
|
{
|
|
5288
|
-
className:
|
|
5290
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5289
5291
|
"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
5290
5292
|
className
|
|
5291
5293
|
),
|
|
@@ -5294,7 +5296,7 @@ var Switch = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
5294
5296
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5295
5297
|
SwitchPrimitives__namespace.Thumb,
|
|
5296
5298
|
{
|
|
5297
|
-
className:
|
|
5299
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5298
5300
|
"pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
5299
5301
|
)
|
|
5300
5302
|
}
|
|
@@ -5345,14 +5347,14 @@ var FileUploader = React8.forwardRef(
|
|
|
5345
5347
|
);
|
|
5346
5348
|
React8.useEffect(() => {
|
|
5347
5349
|
if (isFileTooBig) {
|
|
5348
|
-
|
|
5350
|
+
chunkVTOD5ZQU_cjs.showErrorToast({ errors: "The file size is more than 5MB" });
|
|
5349
5351
|
}
|
|
5350
5352
|
}, [isFileTooBig]);
|
|
5351
5353
|
const onDrop = React8.useCallback(
|
|
5352
5354
|
(acceptedFiles, rejectedFiles) => {
|
|
5353
5355
|
const files = acceptedFiles;
|
|
5354
5356
|
if (!files) {
|
|
5355
|
-
|
|
5357
|
+
chunkVTOD5ZQU_cjs.showErrorToast({ errors: "file error , probably too big" });
|
|
5356
5358
|
return;
|
|
5357
5359
|
}
|
|
5358
5360
|
const newValues = value ? [...value] : [];
|
|
@@ -5370,17 +5372,17 @@ var FileUploader = React8.forwardRef(
|
|
|
5370
5372
|
const firstError = rejection?.errors[0];
|
|
5371
5373
|
if (!firstError) continue;
|
|
5372
5374
|
if (firstError.code === "file-too-large") {
|
|
5373
|
-
|
|
5375
|
+
chunkVTOD5ZQU_cjs.showErrorToast({
|
|
5374
5376
|
errors: `File is too large. Max size is ${maxSize / 1024 / 1024}MB`
|
|
5375
5377
|
});
|
|
5376
5378
|
break;
|
|
5377
5379
|
}
|
|
5378
5380
|
if (firstError.code === "file-invalid-type") {
|
|
5379
|
-
|
|
5381
|
+
chunkVTOD5ZQU_cjs.showErrorToast({ errors: "Invalid file type" });
|
|
5380
5382
|
break;
|
|
5381
5383
|
}
|
|
5382
5384
|
if (firstError.message) {
|
|
5383
|
-
|
|
5385
|
+
chunkVTOD5ZQU_cjs.showErrorToast({ errors: firstError.message });
|
|
5384
5386
|
break;
|
|
5385
5387
|
}
|
|
5386
5388
|
}
|
|
@@ -5484,7 +5486,7 @@ var FileUploader = React8.forwardRef(
|
|
|
5484
5486
|
ref,
|
|
5485
5487
|
tabIndex: 0,
|
|
5486
5488
|
onKeyDownCapture: handleKeyDown,
|
|
5487
|
-
className:
|
|
5489
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5488
5490
|
"grid w-full overflow-hidden focus:outline-none",
|
|
5489
5491
|
className,
|
|
5490
5492
|
{
|
|
@@ -5505,7 +5507,7 @@ var FileUploaderContent = React8.forwardRef(({ children, className, ...props },
|
|
|
5505
5507
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5506
5508
|
"div",
|
|
5507
5509
|
{
|
|
5508
|
-
className:
|
|
5510
|
+
className: chunkYAF2X7W5_cjs.cn("w-full px-1"),
|
|
5509
5511
|
ref: containerRef,
|
|
5510
5512
|
"aria-description": "content file holder",
|
|
5511
5513
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5513,7 +5515,7 @@ var FileUploaderContent = React8.forwardRef(({ children, className, ...props },
|
|
|
5513
5515
|
{
|
|
5514
5516
|
...props,
|
|
5515
5517
|
ref,
|
|
5516
|
-
className:
|
|
5518
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5517
5519
|
"flex gap-1 rounded-xl",
|
|
5518
5520
|
orientation === "horizontal" ? "flex-raw flex-wrap" : "flex-col",
|
|
5519
5521
|
className
|
|
@@ -5532,7 +5534,7 @@ var FileUploaderItem = React8.forwardRef(({ className, index, children, ...props
|
|
|
5532
5534
|
"div",
|
|
5533
5535
|
{
|
|
5534
5536
|
ref,
|
|
5535
|
-
className:
|
|
5537
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5536
5538
|
buttonVariants({ variant: "ghost" }),
|
|
5537
5539
|
"relative h-6 cursor-pointer justify-between p-1",
|
|
5538
5540
|
className,
|
|
@@ -5545,7 +5547,7 @@ var FileUploaderItem = React8.forwardRef(({ className, index, children, ...props
|
|
|
5545
5547
|
"button",
|
|
5546
5548
|
{
|
|
5547
5549
|
type: "button",
|
|
5548
|
-
className:
|
|
5550
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5549
5551
|
"absolute",
|
|
5550
5552
|
direction === "rtl" ? "left-1 top-1" : "right-1 top-1"
|
|
5551
5553
|
),
|
|
@@ -5583,7 +5585,7 @@ var FileInput = React8.forwardRef(({ className, children, ...props }, ref) => {
|
|
|
5583
5585
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5584
5586
|
"div",
|
|
5585
5587
|
{
|
|
5586
|
-
className:
|
|
5588
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5587
5589
|
`w-full rounded-lg duration-300 ease-in-out ${dropzoneBorderClass}`,
|
|
5588
5590
|
className
|
|
5589
5591
|
),
|
|
@@ -5611,7 +5613,7 @@ var ResizablePanelGroup = ({
|
|
|
5611
5613
|
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
5612
5614
|
ResizablePrimitive__namespace.PanelGroup,
|
|
5613
5615
|
{
|
|
5614
|
-
className:
|
|
5616
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5615
5617
|
"flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
|
|
5616
5618
|
className
|
|
5617
5619
|
),
|
|
@@ -5626,7 +5628,7 @@ var ResizableHandle = ({
|
|
|
5626
5628
|
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
5627
5629
|
ResizablePrimitive__namespace.PanelResizeHandle,
|
|
5628
5630
|
{
|
|
5629
|
-
className:
|
|
5631
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5630
5632
|
"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
5631
5633
|
className
|
|
5632
5634
|
),
|
|
@@ -5638,7 +5640,7 @@ var RadioGroup4 = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
5638
5640
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5639
5641
|
RadioGroupPrimitive__namespace.Root,
|
|
5640
5642
|
{
|
|
5641
|
-
className:
|
|
5643
|
+
className: chunkYAF2X7W5_cjs.cn("grid gap-2", className),
|
|
5642
5644
|
...props,
|
|
5643
5645
|
ref
|
|
5644
5646
|
}
|
|
@@ -5650,7 +5652,7 @@ var RadioGroupItem = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
5650
5652
|
RadioGroupPrimitive__namespace.Item,
|
|
5651
5653
|
{
|
|
5652
5654
|
ref,
|
|
5653
|
-
className:
|
|
5655
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5654
5656
|
"aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
5655
5657
|
className
|
|
5656
5658
|
),
|
|
@@ -5667,7 +5669,7 @@ var SelectTrigger = React8__namespace.forwardRef(({ className, children, ...prop
|
|
|
5667
5669
|
SelectPrimitive__namespace.Trigger,
|
|
5668
5670
|
{
|
|
5669
5671
|
ref,
|
|
5670
|
-
className:
|
|
5672
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5671
5673
|
"flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
|
|
5672
5674
|
className
|
|
5673
5675
|
),
|
|
@@ -5683,7 +5685,7 @@ var SelectScrollUpButton = React8__namespace.forwardRef(({ className, ...props }
|
|
|
5683
5685
|
SelectPrimitive__namespace.ScrollUpButton,
|
|
5684
5686
|
{
|
|
5685
5687
|
ref,
|
|
5686
|
-
className:
|
|
5688
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5687
5689
|
"flex cursor-default items-center justify-center py-1",
|
|
5688
5690
|
className
|
|
5689
5691
|
),
|
|
@@ -5696,7 +5698,7 @@ var SelectScrollDownButton = React8__namespace.forwardRef(({ className, ...props
|
|
|
5696
5698
|
SelectPrimitive__namespace.ScrollDownButton,
|
|
5697
5699
|
{
|
|
5698
5700
|
ref,
|
|
5699
|
-
className:
|
|
5701
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5700
5702
|
"flex cursor-default items-center justify-center py-1",
|
|
5701
5703
|
className
|
|
5702
5704
|
),
|
|
@@ -5709,7 +5711,7 @@ var SelectContent = React8__namespace.forwardRef(({ className, children, positio
|
|
|
5709
5711
|
SelectPrimitive__namespace.Content,
|
|
5710
5712
|
{
|
|
5711
5713
|
ref,
|
|
5712
|
-
className:
|
|
5714
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5713
5715
|
"relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",
|
|
5714
5716
|
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
5715
5717
|
className
|
|
@@ -5721,7 +5723,7 @@ var SelectContent = React8__namespace.forwardRef(({ className, children, positio
|
|
|
5721
5723
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5722
5724
|
SelectPrimitive__namespace.Viewport,
|
|
5723
5725
|
{
|
|
5724
|
-
className:
|
|
5726
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5725
5727
|
"p-1",
|
|
5726
5728
|
position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
5727
5729
|
),
|
|
@@ -5737,7 +5739,7 @@ var SelectLabel = React8__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
5737
5739
|
SelectPrimitive__namespace.Label,
|
|
5738
5740
|
{
|
|
5739
5741
|
ref,
|
|
5740
|
-
className:
|
|
5742
|
+
className: chunkYAF2X7W5_cjs.cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className),
|
|
5741
5743
|
...props
|
|
5742
5744
|
}
|
|
5743
5745
|
));
|
|
@@ -5746,7 +5748,7 @@ var SelectItem = React8__namespace.forwardRef(({ className, children, ...props }
|
|
|
5746
5748
|
SelectPrimitive__namespace.Item,
|
|
5747
5749
|
{
|
|
5748
5750
|
ref,
|
|
5749
|
-
className:
|
|
5751
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5750
5752
|
"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
5751
5753
|
className
|
|
5752
5754
|
),
|
|
@@ -5762,7 +5764,7 @@ var SelectSeparator = React8__namespace.forwardRef(({ className, ...props }, ref
|
|
|
5762
5764
|
SelectPrimitive__namespace.Separator,
|
|
5763
5765
|
{
|
|
5764
5766
|
ref,
|
|
5765
|
-
className:
|
|
5767
|
+
className: chunkYAF2X7W5_cjs.cn("-mx-1 my-1 h-px bg-muted", className),
|
|
5766
5768
|
...props
|
|
5767
5769
|
}
|
|
5768
5770
|
));
|
|
@@ -5773,7 +5775,7 @@ var BreadcrumbList = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
5773
5775
|
"ol",
|
|
5774
5776
|
{
|
|
5775
5777
|
ref,
|
|
5776
|
-
className:
|
|
5778
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5777
5779
|
"flex flex-wrap items-center gap-1.5 wrap-break-word text-sm text-muted-foreground sm:gap-2.5",
|
|
5778
5780
|
className
|
|
5779
5781
|
),
|
|
@@ -5785,7 +5787,7 @@ var BreadcrumbItem = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
5785
5787
|
"li",
|
|
5786
5788
|
{
|
|
5787
5789
|
ref,
|
|
5788
|
-
className:
|
|
5790
|
+
className: chunkYAF2X7W5_cjs.cn("inline-flex items-center gap-1.5", className),
|
|
5789
5791
|
...props
|
|
5790
5792
|
}
|
|
5791
5793
|
));
|
|
@@ -5796,7 +5798,7 @@ var BreadcrumbLink = React8__namespace.forwardRef(({ asChild, className, ...prop
|
|
|
5796
5798
|
Comp,
|
|
5797
5799
|
{
|
|
5798
5800
|
ref,
|
|
5799
|
-
className:
|
|
5801
|
+
className: chunkYAF2X7W5_cjs.cn("transition-colors hover:text-foreground", className),
|
|
5800
5802
|
...props
|
|
5801
5803
|
}
|
|
5802
5804
|
);
|
|
@@ -5809,7 +5811,7 @@ var BreadcrumbPage = React8__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
5809
5811
|
role: "link",
|
|
5810
5812
|
"aria-disabled": "true",
|
|
5811
5813
|
"aria-current": "page",
|
|
5812
|
-
className:
|
|
5814
|
+
className: chunkYAF2X7W5_cjs.cn("font-normal text-foreground", className),
|
|
5813
5815
|
...props
|
|
5814
5816
|
}
|
|
5815
5817
|
));
|
|
@@ -5823,7 +5825,7 @@ var BreadcrumbSeparator = ({
|
|
|
5823
5825
|
{
|
|
5824
5826
|
role: "presentation",
|
|
5825
5827
|
"aria-hidden": "true",
|
|
5826
|
-
className:
|
|
5828
|
+
className: chunkYAF2X7W5_cjs.cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
|
|
5827
5829
|
...props,
|
|
5828
5830
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, {})
|
|
5829
5831
|
}
|
|
@@ -5837,7 +5839,7 @@ var BreadcrumbEllipsis = ({
|
|
|
5837
5839
|
{
|
|
5838
5840
|
role: "presentation",
|
|
5839
5841
|
"aria-hidden": "true",
|
|
5840
|
-
className:
|
|
5842
|
+
className: chunkYAF2X7W5_cjs.cn("flex h-9 w-9 items-center justify-center", className),
|
|
5841
5843
|
...props,
|
|
5842
5844
|
children: [
|
|
5843
5845
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "h-4 w-4" }),
|
|
@@ -5902,24 +5904,24 @@ var Timeline = ({
|
|
|
5902
5904
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5903
5905
|
framerMotion.motion.div,
|
|
5904
5906
|
{
|
|
5905
|
-
className:
|
|
5906
|
-
variants:
|
|
5907
|
+
className: chunkYAF2X7W5_cjs.cn("mt-4 flex flex-col items-start md:mt-5", className),
|
|
5908
|
+
variants: chunkFKFBYT22_cjs.staggerContainer,
|
|
5907
5909
|
initial: "initial",
|
|
5908
5910
|
animate: "animate",
|
|
5909
5911
|
children: events.map((event, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5910
5912
|
framerMotion.motion.div,
|
|
5911
5913
|
{
|
|
5912
|
-
variants:
|
|
5913
|
-
transition:
|
|
5914
|
+
variants: chunkFKFBYT22_cjs.staggerItem,
|
|
5915
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
5914
5916
|
className: "flex min-h-[66px] w-full",
|
|
5915
5917
|
children: [
|
|
5916
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5918
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYAF2X7W5_cjs.cn("relative", isMobile ? "w-[30%]" : "w-[16%]"), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5917
5919
|
framerMotion.motion.div,
|
|
5918
5920
|
{
|
|
5919
5921
|
className: "absolute -top-1.5 w-full pr-[18px] text-right md:pr-5",
|
|
5920
5922
|
initial: { opacity: 0, x: -6 },
|
|
5921
5923
|
animate: { opacity: 1, x: 0 },
|
|
5922
|
-
transition: { ...
|
|
5924
|
+
transition: { ...chunkFKFBYT22_cjs.fadeTransition, delay: index * 0.05 },
|
|
5923
5925
|
children: leftContent ? leftContent(event) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5924
5926
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs font-medium leading-5 md:text-sm", children: event.time }),
|
|
5925
5927
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs font-medium leading-5 md:text-sm", children: event.date })
|
|
@@ -5930,13 +5932,13 @@ var Timeline = ({
|
|
|
5930
5932
|
index !== events.length - 1 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5931
5933
|
framerMotion.motion.div,
|
|
5932
5934
|
{
|
|
5933
|
-
className:
|
|
5935
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
5934
5936
|
"bg-border absolute left-[37%] h-full w-1 origin-top",
|
|
5935
5937
|
connectorClassName
|
|
5936
5938
|
),
|
|
5937
5939
|
initial: { scaleY: 0 },
|
|
5938
5940
|
animate: { scaleY: 1 },
|
|
5939
|
-
transition: { ...
|
|
5941
|
+
transition: { ...chunkFKFBYT22_cjs.fadeTransition, delay: index * 0.05 }
|
|
5940
5942
|
}
|
|
5941
5943
|
) : null,
|
|
5942
5944
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5945,7 +5947,7 @@ var Timeline = ({
|
|
|
5945
5947
|
className: "bg-primary relative z-10 size-4 rounded-full",
|
|
5946
5948
|
initial: { scale: 0 },
|
|
5947
5949
|
animate: { scale: 1 },
|
|
5948
|
-
transition: { ...
|
|
5950
|
+
transition: { ...chunkFKFBYT22_cjs.fadeTransition, delay: index * 0.05 + 0.04 }
|
|
5949
5951
|
}
|
|
5950
5952
|
)
|
|
5951
5953
|
] }),
|
|
@@ -5995,14 +5997,14 @@ var ImportFileModalContent = ({
|
|
|
5995
5997
|
}
|
|
5996
5998
|
setShowConfirmation(true);
|
|
5997
5999
|
};
|
|
5998
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DialogContent, { className:
|
|
6000
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DialogContent, { className: chunkYAF2X7W5_cjs.cn("rounded-md sm:max-w-[450px]", className), children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { mode: "wait", children: !showConfirmation ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5999
6001
|
framerMotion.motion.div,
|
|
6000
6002
|
{
|
|
6001
|
-
variants:
|
|
6003
|
+
variants: chunkFKFBYT22_cjs.fadeInScale,
|
|
6002
6004
|
initial: "initial",
|
|
6003
6005
|
animate: "animate",
|
|
6004
6006
|
exit: "exit",
|
|
6005
|
-
transition:
|
|
6007
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
6006
6008
|
children: [
|
|
6007
6009
|
/* @__PURE__ */ jsxRuntime.jsxs(DialogHeader, { children: [
|
|
6008
6010
|
/* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { className: "text-left", children: dialogTitle }),
|
|
@@ -6014,7 +6016,7 @@ var ImportFileModalContent = ({
|
|
|
6014
6016
|
className: "flex flex-col rounded-md bg-muted/50 px-3 py-2",
|
|
6015
6017
|
initial: { opacity: 0, y: 6 },
|
|
6016
6018
|
animate: { opacity: 1, y: 0 },
|
|
6017
|
-
transition: { ...
|
|
6019
|
+
transition: { ...chunkFKFBYT22_cjs.fadeTransition, delay: 0.05 },
|
|
6018
6020
|
children: [
|
|
6019
6021
|
/* @__PURE__ */ jsxRuntime.jsxs(framerMotion.motion.div, { className: "flex flex-row items-center", children: [
|
|
6020
6022
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -6051,7 +6053,7 @@ var ImportFileModalContent = ({
|
|
|
6051
6053
|
initial: { opacity: 0, x: -8 },
|
|
6052
6054
|
animate: { opacity: 1, x: 0 },
|
|
6053
6055
|
exit: { opacity: 0, x: 8 },
|
|
6054
|
-
transition:
|
|
6056
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
6055
6057
|
children: /* @__PURE__ */ jsxRuntime.jsxs(FileUploaderItem, { index, children: [
|
|
6056
6058
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6057
6059
|
lucideReact.Paperclip,
|
|
@@ -6101,11 +6103,11 @@ var ImportFileModalContent = ({
|
|
|
6101
6103
|
) : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6102
6104
|
framerMotion.motion.div,
|
|
6103
6105
|
{
|
|
6104
|
-
variants:
|
|
6106
|
+
variants: chunkFKFBYT22_cjs.fadeInScale,
|
|
6105
6107
|
initial: "initial",
|
|
6106
6108
|
animate: "animate",
|
|
6107
6109
|
exit: "exit",
|
|
6108
|
-
transition:
|
|
6110
|
+
transition: chunkFKFBYT22_cjs.fadeTransition,
|
|
6109
6111
|
children: [
|
|
6110
6112
|
/* @__PURE__ */ jsxRuntime.jsxs(DialogHeader, { children: [
|
|
6111
6113
|
/* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { className: "text-left", children: processingTitle }),
|
|
@@ -6126,12 +6128,12 @@ var ImportFileModalContent = ({
|
|
|
6126
6128
|
"processing"
|
|
6127
6129
|
) }) });
|
|
6128
6130
|
};
|
|
6129
|
-
var parentClasses = (isSidebarOpen, isActive) =>
|
|
6131
|
+
var parentClasses = (isSidebarOpen, isActive) => chunkYAF2X7W5_cjs.cn(
|
|
6130
6132
|
"group relative flex h-10 w-full cursor-pointer items-center p-1.5 text-base text-[hsl(var(--low-emphasis))] transition-[padding,gap] duration-200 hover:text-[hsl(var(--high-emphasis))]",
|
|
6131
6133
|
isSidebarOpen ? "gap-3 px-4" : "gap-0 justify-center px-0",
|
|
6132
6134
|
isActive && "!text-primary"
|
|
6133
6135
|
);
|
|
6134
|
-
var childClasses = (isSidebarOpen, isActive) =>
|
|
6136
|
+
var childClasses = (isSidebarOpen, isActive) => chunkYAF2X7W5_cjs.cn(
|
|
6135
6137
|
"group relative flex h-10 w-full items-center text-base transition-[padding,gap,color] duration-200",
|
|
6136
6138
|
isSidebarOpen ? "gap-2 px-4 pl-8" : "gap-0 justify-center px-4",
|
|
6137
6139
|
isActive ? "!text-primary" : "text-[hsl(var(--low-emphasis))] hover:text-[hsl(var(--high-emphasis))]"
|
|
@@ -6143,7 +6145,7 @@ var ChildMenuItem = ({ menu, isSidebarOpen }) => {
|
|
|
6143
6145
|
reactRouter.Link,
|
|
6144
6146
|
{
|
|
6145
6147
|
to: menu.path,
|
|
6146
|
-
className:
|
|
6148
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6147
6149
|
childClasses(isSidebarOpen, isActiveMenu),
|
|
6148
6150
|
menu.disabled && "pointer-events-none cursor-not-allowed opacity-50"
|
|
6149
6151
|
),
|
|
@@ -6152,7 +6154,7 @@ var ChildMenuItem = ({ menu, isSidebarOpen }) => {
|
|
|
6152
6154
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6153
6155
|
"span",
|
|
6154
6156
|
{
|
|
6155
|
-
className:
|
|
6157
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6156
6158
|
"inline-block overflow-hidden whitespace-nowrap transition-all duration-200",
|
|
6157
6159
|
isSidebarOpen ? "w-auto opacity-100" : "w-0 opacity-0"
|
|
6158
6160
|
),
|
|
@@ -6174,7 +6176,7 @@ function DesktopLeafMenuItem({
|
|
|
6174
6176
|
reactRouter.Link,
|
|
6175
6177
|
{
|
|
6176
6178
|
to: menu.path,
|
|
6177
|
-
className:
|
|
6179
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6178
6180
|
"flex w-full items-center transition-[gap] duration-200",
|
|
6179
6181
|
isSidebarOpen ? "gap-3" : "justify-center gap-0",
|
|
6180
6182
|
menu.disabled && "pointer-events-none opacity-50"
|
|
@@ -6184,7 +6186,7 @@ function DesktopLeafMenuItem({
|
|
|
6184
6186
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6185
6187
|
"span",
|
|
6186
6188
|
{
|
|
6187
|
-
className:
|
|
6189
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6188
6190
|
"inline-block overflow-hidden whitespace-nowrap transition-all duration-200",
|
|
6189
6191
|
isSidebarOpen ? "w-auto opacity-100" : "w-0 opacity-0"
|
|
6190
6192
|
),
|
|
@@ -6270,7 +6272,7 @@ function DesktopMenuItem({
|
|
|
6270
6272
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6271
6273
|
"div",
|
|
6272
6274
|
{
|
|
6273
|
-
className:
|
|
6275
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6274
6276
|
"flex items-center transition-[gap] duration-200",
|
|
6275
6277
|
isSidebarOpen ? "gap-3" : "w-full justify-center gap-0"
|
|
6276
6278
|
),
|
|
@@ -6279,7 +6281,7 @@ function DesktopMenuItem({
|
|
|
6279
6281
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6280
6282
|
"span",
|
|
6281
6283
|
{
|
|
6282
|
-
className:
|
|
6284
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6283
6285
|
"inline-block overflow-hidden whitespace-nowrap transition-all duration-200",
|
|
6284
6286
|
isSidebarOpen ? "w-auto opacity-100" : "w-0 opacity-0"
|
|
6285
6287
|
),
|
|
@@ -6302,7 +6304,7 @@ function DesktopMenuItem({
|
|
|
6302
6304
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6303
6305
|
lucideReact.ChevronRight,
|
|
6304
6306
|
{
|
|
6305
|
-
className:
|
|
6307
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6306
6308
|
"ml-auto h-4 w-4 shrink-0 transition-all duration-200",
|
|
6307
6309
|
isSidebarOpen ? "opacity-100" : "w-0 opacity-0",
|
|
6308
6310
|
isOpen && "rotate-90"
|
|
@@ -6338,7 +6340,7 @@ function ChildMenuItem2({
|
|
|
6338
6340
|
reactRouter.Link,
|
|
6339
6341
|
{
|
|
6340
6342
|
to: menu.path,
|
|
6341
|
-
className:
|
|
6343
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6342
6344
|
"flex h-10 items-center py-1.5 text-base transition-colors hover:text-primary",
|
|
6343
6345
|
isActiveMenu && "text-primary",
|
|
6344
6346
|
menu.disabled && "pointer-events-none cursor-not-allowed opacity-50"
|
|
@@ -6370,7 +6372,7 @@ function MobileMenuItem({
|
|
|
6370
6372
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6371
6373
|
"div",
|
|
6372
6374
|
{
|
|
6373
|
-
className:
|
|
6375
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6374
6376
|
"flex h-10 items-center justify-between px-4 py-1.5 text-base text-[hsl(var(--low-emphasis))] hover:text-[hsl(var(--high-emphasis))]",
|
|
6375
6377
|
isActiveMenu && "!text-primary"
|
|
6376
6378
|
),
|
|
@@ -6378,7 +6380,7 @@ function MobileMenuItem({
|
|
|
6378
6380
|
reactRouter.Link,
|
|
6379
6381
|
{
|
|
6380
6382
|
to: menu.path,
|
|
6381
|
-
className:
|
|
6383
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6382
6384
|
"flex items-center gap-3",
|
|
6383
6385
|
menu.disabled && "pointer-events-none opacity-50"
|
|
6384
6386
|
),
|
|
@@ -6406,7 +6408,7 @@ function MobileMenuItem({
|
|
|
6406
6408
|
/* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6407
6409
|
"div",
|
|
6408
6410
|
{
|
|
6409
|
-
className:
|
|
6411
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6410
6412
|
"flex h-10 items-center justify-between px-4 py-1.5 text-base text-[hsl(var(--low-emphasis))] hover:text-[hsl(var(--high-emphasis))]",
|
|
6411
6413
|
isActiveMenu && "!text-primary"
|
|
6412
6414
|
),
|
|
@@ -6482,7 +6484,7 @@ var AppTile = ({
|
|
|
6482
6484
|
href: isLoading ? void 0 : app.initiateUrl,
|
|
6483
6485
|
"aria-disabled": isLoading,
|
|
6484
6486
|
onClick: isLoading ? (e) => e.preventDefault() : void 0,
|
|
6485
|
-
className:
|
|
6487
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6486
6488
|
"hover:bg-accent focus-visible:ring-ring group flex flex-col items-center gap-2 rounded-xl p-3 text-center transition-colors focus-visible:outline-none focus-visible:ring-2",
|
|
6487
6489
|
isLoading && "pointer-events-none opacity-50 cursor-default"
|
|
6488
6490
|
),
|
|
@@ -6506,7 +6508,7 @@ function AppSwitcherTrigger({ open }) {
|
|
|
6506
6508
|
"button",
|
|
6507
6509
|
{
|
|
6508
6510
|
"aria-label": "SELISE Blocks apps",
|
|
6509
|
-
className:
|
|
6511
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6510
6512
|
"text-muted-foreground flex h-9 w-9 items-center justify-center rounded-full transition-colors",
|
|
6511
6513
|
"hover:bg-accent hover:text-foreground focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2",
|
|
6512
6514
|
open && "bg-accent text-foreground"
|
|
@@ -6662,7 +6664,7 @@ var parseAllowedServices = (raw) => {
|
|
|
6662
6664
|
);
|
|
6663
6665
|
};
|
|
6664
6666
|
var allowedServiceIds = parseAllowedServices(
|
|
6665
|
-
|
|
6667
|
+
chunkX4YCRWXO_cjs.getRuntimeEnv("BLOCKS_ALLOWED_SERVICES")
|
|
6666
6668
|
);
|
|
6667
6669
|
var isAppAllowed = (app) => {
|
|
6668
6670
|
if (!allowedServiceIds) return true;
|
|
@@ -6688,9 +6690,9 @@ function useAppRedirectUrls({
|
|
|
6688
6690
|
const controller = new AbortController();
|
|
6689
6691
|
const { signal } = controller;
|
|
6690
6692
|
stableApps.forEach((app) => {
|
|
6691
|
-
|
|
6692
|
-
clientId:
|
|
6693
|
-
redirectUri:
|
|
6693
|
+
chunk6TMMJJRJ_cjs.initiateService.fetchRedirectUrl({
|
|
6694
|
+
clientId: chunkX4YCRWXO_cjs.getRuntimeEnv(app.clientId),
|
|
6695
|
+
redirectUri: chunkX4YCRWXO_cjs.getRuntimeEnv(app.redirectUri),
|
|
6694
6696
|
forwardedTo: resolveRef.current(app)
|
|
6695
6697
|
}).then((redirectUrl) => {
|
|
6696
6698
|
if (signal.aborted || !redirectUrl) return;
|
|
@@ -6714,13 +6716,13 @@ function useAppRedirectUrls({
|
|
|
6714
6716
|
}
|
|
6715
6717
|
var AppSwitcher = ({ forwardedTo }) => {
|
|
6716
6718
|
const [open, setOpen] = React8.useState(false);
|
|
6717
|
-
const config =
|
|
6719
|
+
const config = chunk6TMMJJRJ_cjs.useBlocksAppConfigStore((state) => state.getConfig());
|
|
6718
6720
|
const filteredApps = React8.useMemo(
|
|
6719
6721
|
() => filteredAppSwitcherData.filter((app) => app.id !== config.name),
|
|
6720
6722
|
[config.name]
|
|
6721
6723
|
);
|
|
6722
6724
|
const resolveForwardedTo = React8.useCallback(
|
|
6723
|
-
(app) => app.forwardedTo ?? forwardedTo ??
|
|
6725
|
+
(app) => app.forwardedTo ?? forwardedTo ?? chunkVTOD5ZQU_cjs.getForwardedToPath(),
|
|
6724
6726
|
[forwardedTo]
|
|
6725
6727
|
);
|
|
6726
6728
|
const blocksApps = useAppRedirectUrls({
|
|
@@ -6747,7 +6749,7 @@ var OPTIONS = [
|
|
|
6747
6749
|
{ value: "dark", Icon: lucideReact.Moon, label: "Dark" }
|
|
6748
6750
|
];
|
|
6749
6751
|
function ThemeSwitcher() {
|
|
6750
|
-
const { theme, setTheme } =
|
|
6752
|
+
const { theme, setTheme } = chunk6TMMJJRJ_cjs.useTheme();
|
|
6751
6753
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6752
6754
|
Tabs,
|
|
6753
6755
|
{
|
|
@@ -6772,7 +6774,7 @@ function ThemeSwitcher() {
|
|
|
6772
6774
|
// src/services/user.service.ts
|
|
6773
6775
|
var UserService = class {
|
|
6774
6776
|
async getUserInfo() {
|
|
6775
|
-
return
|
|
6777
|
+
return chunkFKFBYT22_cjs.iamClient.get(`${chunkFKFBYT22_cjs.PROFILE_ENDPOINTS.ME}`);
|
|
6776
6778
|
}
|
|
6777
6779
|
};
|
|
6778
6780
|
var userService = new UserService();
|
|
@@ -6798,14 +6800,14 @@ function UserAvatar({ size = "sm" }) {
|
|
|
6798
6800
|
{
|
|
6799
6801
|
src: userData.profileImageUrl,
|
|
6800
6802
|
alt: `${userData.firstName} ${userData.lastName}`,
|
|
6801
|
-
className:
|
|
6803
|
+
className: chunkYAF2X7W5_cjs.cn("rounded-full object-cover", sizeClass)
|
|
6802
6804
|
}
|
|
6803
6805
|
);
|
|
6804
6806
|
}
|
|
6805
6807
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6806
6808
|
"div",
|
|
6807
6809
|
{
|
|
6808
|
-
className:
|
|
6810
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6809
6811
|
"flex items-center justify-center rounded-full bg-[hsl(var(--avatar-surface-default))] font-medium text-[hsl(var(--avatar-text-high-emphasis))]",
|
|
6810
6812
|
sizeClass
|
|
6811
6813
|
),
|
|
@@ -6814,14 +6816,14 @@ function UserAvatar({ size = "sm" }) {
|
|
|
6814
6816
|
);
|
|
6815
6817
|
}
|
|
6816
6818
|
function UserDropdownMenu() {
|
|
6817
|
-
const { name } =
|
|
6819
|
+
const { name } = chunk6TMMJJRJ_cjs.useBlocksAppConfigStore((state) => state.config);
|
|
6818
6820
|
const { data: data2 } = useGetUserInfo();
|
|
6819
6821
|
const userData = data2?.data;
|
|
6820
|
-
const { isPending, mutateAsync } =
|
|
6822
|
+
const { isPending, mutateAsync } = chunk6TMMJJRJ_cjs.useLogout();
|
|
6821
6823
|
const { resetProjectStore } = chunkVAKGHXK6_cjs.useProjectStore();
|
|
6822
6824
|
const { setUnAuthenticated, clearTokens } = chunkVAKGHXK6_cjs.useAuthStore();
|
|
6823
6825
|
const { resetSelectedLanguages } = chunk3VNGGYRG_cjs.useLanguageViewStore();
|
|
6824
|
-
const { data: myOrgsData, isLoading: isOrgsLoading } =
|
|
6826
|
+
const { data: myOrgsData, isLoading: isOrgsLoading } = chunk6TMMJJRJ_cjs.useGetMyOrganizations();
|
|
6825
6827
|
const fullName = [userData?.firstName, userData?.lastName].filter(Boolean).join(" ") || "\u2014";
|
|
6826
6828
|
const email = userData?.email || "";
|
|
6827
6829
|
const roles = Object.values(userData?.roles || {}).flat();
|
|
@@ -6834,7 +6836,7 @@ function UserDropdownMenu() {
|
|
|
6834
6836
|
setUnAuthenticated();
|
|
6835
6837
|
clearTokens();
|
|
6836
6838
|
resetSelectedLanguages();
|
|
6837
|
-
|
|
6839
|
+
chunkF2LXD7RI_cjs.getQueryClient().clear();
|
|
6838
6840
|
window.location.replace(`${window.location.origin}/login`);
|
|
6839
6841
|
} catch {
|
|
6840
6842
|
}
|
|
@@ -6909,7 +6911,7 @@ function UserDropdownMenu() {
|
|
|
6909
6911
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6910
6912
|
"span",
|
|
6911
6913
|
{
|
|
6912
|
-
className:
|
|
6914
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
6913
6915
|
"min-w-0 flex-1 truncate text-sm font-medium",
|
|
6914
6916
|
isActive ? "text-foreground" : "text-foreground/90"
|
|
6915
6917
|
),
|
|
@@ -6951,7 +6953,7 @@ var languages = [
|
|
|
6951
6953
|
{ key: "fr", title: "French" }
|
|
6952
6954
|
];
|
|
6953
6955
|
function LanguageSelector() {
|
|
6954
|
-
const { changeLanguage, language } =
|
|
6956
|
+
const { changeLanguage, language } = chunk6TMMJJRJ_cjs.useLanguageSwitcher();
|
|
6955
6957
|
return /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenu, { children: [
|
|
6956
6958
|
/* @__PURE__ */ jsxRuntime.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6957
6959
|
"button",
|
|
@@ -7001,7 +7003,7 @@ function Logo({
|
|
|
7001
7003
|
...props,
|
|
7002
7004
|
src: lightLogo,
|
|
7003
7005
|
alt,
|
|
7004
|
-
className:
|
|
7006
|
+
className: chunkYAF2X7W5_cjs.cn("dark:hidden", className)
|
|
7005
7007
|
}
|
|
7006
7008
|
),
|
|
7007
7009
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -7010,17 +7012,17 @@ function Logo({
|
|
|
7010
7012
|
...props,
|
|
7011
7013
|
src: darkLogo,
|
|
7012
7014
|
alt,
|
|
7013
|
-
className:
|
|
7015
|
+
className: chunkYAF2X7W5_cjs.cn("hidden dark:block", className)
|
|
7014
7016
|
}
|
|
7015
7017
|
)
|
|
7016
7018
|
] });
|
|
7017
7019
|
}
|
|
7018
|
-
var logicOrigin = () =>
|
|
7020
|
+
var logicOrigin = () => chunkX4YCRWXO_cjs.getRuntimeEnv("BLOCKS_LOGIC_BASE_URL").trim().replace(/\/$/, "");
|
|
7019
7021
|
var NotificationListenerService = class {
|
|
7020
7022
|
connection;
|
|
7021
7023
|
constructor() {
|
|
7022
7024
|
this.connection = new signalr.HubConnectionBuilder().withUrl(
|
|
7023
|
-
`${logicOrigin()}/api/NotificationHub?x-blocks-key=${
|
|
7025
|
+
`${logicOrigin()}/api/NotificationHub?x-blocks-key=${chunkX4YCRWXO_cjs.getRuntimeEnv("BLOCKS_X_BLOCKS_KEY")}`,
|
|
7024
7026
|
{
|
|
7025
7027
|
transport: signalr.HttpTransportType.WebSockets
|
|
7026
7028
|
}
|
|
@@ -7041,7 +7043,7 @@ var notificationListenerService = new NotificationListenerService();
|
|
|
7041
7043
|
|
|
7042
7044
|
// src/components/common/notification/use-notification-socket.ts
|
|
7043
7045
|
function useNotificationSocket() {
|
|
7044
|
-
const { data: configData } =
|
|
7046
|
+
const { data: configData } = chunk6TMMJJRJ_cjs.useGetBlocksNotificationConfig(0, 100);
|
|
7045
7047
|
const queryClient = reactQuery.useQueryClient();
|
|
7046
7048
|
notificationListenerService.connect();
|
|
7047
7049
|
React8.useEffect(() => {
|
|
@@ -7056,7 +7058,7 @@ function useNotificationSocket() {
|
|
|
7056
7058
|
notificationListenerService.connection.on(
|
|
7057
7059
|
config.notifyMethod,
|
|
7058
7060
|
(message) => {
|
|
7059
|
-
|
|
7061
|
+
chunk6TMMJJRJ_cjs.notificationService.getNotificationConfig(config, message);
|
|
7060
7062
|
try {
|
|
7061
7063
|
const notice = typeof message === "string" ? JSON.parse(message) : message;
|
|
7062
7064
|
const denom = JSON.parse(
|
|
@@ -7080,12 +7082,12 @@ function useNotificationFeed(open) {
|
|
|
7080
7082
|
const [notifications, setNotifications] = React8.useState([]);
|
|
7081
7083
|
const [hasMore, setHasMore] = React8.useState(true);
|
|
7082
7084
|
const listRef = React8.useRef(null);
|
|
7083
|
-
const { data: data2, isLoading, isFetching } =
|
|
7085
|
+
const { data: data2, isLoading, isFetching } = chunk6TMMJJRJ_cjs.useGetNotifications(
|
|
7084
7086
|
pageNumber,
|
|
7085
7087
|
PAGE_SIZE
|
|
7086
7088
|
);
|
|
7087
|
-
const markAsRead =
|
|
7088
|
-
const markAllAsRead =
|
|
7089
|
+
const markAsRead = chunk6TMMJJRJ_cjs.useMarkAsRead();
|
|
7090
|
+
const markAllAsRead = chunk6TMMJJRJ_cjs.useMarkAllAsRead();
|
|
7089
7091
|
React8.useEffect(() => {
|
|
7090
7092
|
if (!data2?.notifications) return;
|
|
7091
7093
|
setNotifications((prev) => {
|
|
@@ -7319,7 +7321,7 @@ function ConsoleHeader() {
|
|
|
7319
7321
|
window.addEventListener("scroll", handleScroll);
|
|
7320
7322
|
return () => window.removeEventListener("scroll", handleScroll);
|
|
7321
7323
|
}, []);
|
|
7322
|
-
const { appLightLogo, appDarkLogo } =
|
|
7324
|
+
const { appLightLogo, appDarkLogo } = chunk6TMMJJRJ_cjs.useLogo();
|
|
7323
7325
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7324
7326
|
"div",
|
|
7325
7327
|
{
|
|
@@ -7383,7 +7385,7 @@ function ConsoleHeader() {
|
|
|
7383
7385
|
var HeaderHeight = 60;
|
|
7384
7386
|
function DashboardHeader(props) {
|
|
7385
7387
|
const { forwardedTo, redirectPaths, navigationMenus } = props;
|
|
7386
|
-
const { isSidebarOpen, toggleSidebar } = React8.useContext(
|
|
7388
|
+
const { isSidebarOpen, toggleSidebar } = React8.useContext(chunkZVGCCTNK_cjs.SidebarContext);
|
|
7387
7389
|
const { pathname } = reactRouter.useLocation();
|
|
7388
7390
|
const { selectedProject } = chunkVAKGHXK6_cjs.useProjectStore();
|
|
7389
7391
|
const projectName = selectedProject?.name;
|
|
@@ -7409,7 +7411,7 @@ function DashboardHeader(props) {
|
|
|
7409
7411
|
{
|
|
7410
7412
|
variant: "ghost",
|
|
7411
7413
|
size: "icon",
|
|
7412
|
-
className:
|
|
7414
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
7413
7415
|
"hidden shrink-0 p-0",
|
|
7414
7416
|
!isSidebarOpen && "inline-flex"
|
|
7415
7417
|
),
|
|
@@ -7498,7 +7500,7 @@ var EnvironmentCard = ({
|
|
|
7498
7500
|
className
|
|
7499
7501
|
}) => {
|
|
7500
7502
|
const { setSelectedProject, setTenantGroup } = chunkVAKGHXK6_cjs.useProjectStore();
|
|
7501
|
-
const { mutateAsync } =
|
|
7503
|
+
const { mutateAsync } = chunkUVMFL4UV_cjs.useStartImpersonation();
|
|
7502
7504
|
const navigate = reactRouter.useNavigate();
|
|
7503
7505
|
const handleCardClick = async () => {
|
|
7504
7506
|
try {
|
|
@@ -7552,11 +7554,11 @@ function EnvironmentList({
|
|
|
7552
7554
|
}) {
|
|
7553
7555
|
const navigate = reactRouter.useNavigate();
|
|
7554
7556
|
const { pathname } = reactRouter.useLocation();
|
|
7555
|
-
const { data: projectGroups = [], isLoading } =
|
|
7557
|
+
const { data: projectGroups = [], isLoading } = chunkUVMFL4UV_cjs.useGetProjects({
|
|
7556
7558
|
enabled: true
|
|
7557
7559
|
});
|
|
7558
7560
|
const { selectedProject, setSelectedProject } = chunkVAKGHXK6_cjs.useProjectStore();
|
|
7559
|
-
const { data: projectData } =
|
|
7561
|
+
const { data: projectData } = chunkUVMFL4UV_cjs.useGetProject();
|
|
7560
7562
|
const pendingProjectRef = React8.useRef(null);
|
|
7561
7563
|
const redirectRegexMap = React8.useMemo(
|
|
7562
7564
|
() => Object.entries(redirectPaths).reduce(
|
|
@@ -7681,7 +7683,7 @@ function SelectedProject() {
|
|
|
7681
7683
|
] });
|
|
7682
7684
|
}
|
|
7683
7685
|
function PublicLayout({ children }) {
|
|
7684
|
-
return /* @__PURE__ */ jsxRuntime.jsx(React8.Suspense, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7686
|
+
return /* @__PURE__ */ jsxRuntime.jsx(React8.Suspense, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkHS6F65WY_cjs.PublicGuard, { children }) });
|
|
7685
7687
|
}
|
|
7686
7688
|
function AuthLayout({ children, logo, sidePanel }) {
|
|
7687
7689
|
return /* @__PURE__ */ jsxRuntime.jsx(PublicLayout, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-screen flex-col items-center px-6 py-10 lg:px-12", children: [
|
|
@@ -7697,7 +7699,7 @@ function ConsoleLayout({ children, wrapper }) {
|
|
|
7697
7699
|
/* @__PURE__ */ jsxRuntime.jsx(ConsoleHeader, {}),
|
|
7698
7700
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "pt-[59px]", children })
|
|
7699
7701
|
] });
|
|
7700
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7702
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkHS6F65WY_cjs.ImpersonationChecker, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkHS6F65WY_cjs.ImpersonationTerminator, { children: wrapper ? wrapper(content) : content }) });
|
|
7701
7703
|
}
|
|
7702
7704
|
function DashboardLayout({
|
|
7703
7705
|
children,
|
|
@@ -7706,7 +7708,7 @@ function DashboardLayout({
|
|
|
7706
7708
|
navigationMenus,
|
|
7707
7709
|
forwardedTo
|
|
7708
7710
|
}) {
|
|
7709
|
-
const content = /* @__PURE__ */ jsxRuntime.jsx(
|
|
7711
|
+
const content = /* @__PURE__ */ jsxRuntime.jsx(chunkZVGCCTNK_cjs.DashboardLayoutProvider, { isOpen: true, children: /* @__PURE__ */ jsxRuntime.jsx(RightSidePanelProvider, { resizable: true, topOffset: HeaderHeight, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full overflow-hidden", children: [
|
|
7710
7712
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7711
7713
|
SidebarMenuDesktop,
|
|
7712
7714
|
{
|
|
@@ -7733,7 +7735,7 @@ function DashboardLayout({
|
|
|
7733
7735
|
) })
|
|
7734
7736
|
] })
|
|
7735
7737
|
] }) }) });
|
|
7736
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7738
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkHS6F65WY_cjs.ImpersonationChecker, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkHS6F65WY_cjs.ImpersonationSynchronizer, { children: wrapper ? wrapper(content) : content }) });
|
|
7737
7739
|
}
|
|
7738
7740
|
var DEFAULT_EXCLUDE_PREFIXES = ["/app/project"];
|
|
7739
7741
|
var withScopedItemId = (menus, itemId, excludePrefixes) => menus.map((menu) => {
|
|
@@ -7786,7 +7788,7 @@ var LoginHeader = ({
|
|
|
7786
7788
|
}) => {
|
|
7787
7789
|
const {
|
|
7788
7790
|
config: { appLogoUrl }
|
|
7789
|
-
} =
|
|
7791
|
+
} = chunk6TMMJJRJ_cjs.useBlocksAppConfigStore((state) => state);
|
|
7790
7792
|
const resolveLogo = (variant) => {
|
|
7791
7793
|
if (!appLogoUrl) return void 0;
|
|
7792
7794
|
if (typeof appLogoUrl === "string") return appLogoUrl;
|
|
@@ -8990,8 +8992,8 @@ var BlocksLoginPage = ({
|
|
|
8990
8992
|
] });
|
|
8991
8993
|
};
|
|
8992
8994
|
var LoginPage = () => {
|
|
8993
|
-
const config =
|
|
8994
|
-
const { start, isLoading } =
|
|
8995
|
+
const config = chunk6TMMJJRJ_cjs.useBlocksAppConfigStore((state) => state.getConfig());
|
|
8996
|
+
const { start, isLoading } = chunk6TMMJJRJ_cjs.useLogin();
|
|
8995
8997
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8996
8998
|
BlocksLoginPage,
|
|
8997
8999
|
{
|
|
@@ -9073,12 +9075,12 @@ var DefaultDoc = () => {
|
|
|
9073
9075
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-5 md:grid-cols-2 lg:grid-cols-3", children: data.map((item) => /* @__PURE__ */ jsxRuntime.jsx(DocCard, { ...item }, item.url)) });
|
|
9074
9076
|
};
|
|
9075
9077
|
function useCreateProjectRedirect() {
|
|
9076
|
-
const { name } =
|
|
9078
|
+
const { name } = chunk6TMMJJRJ_cjs.useBlocksAppConfigStore((state) => state.config);
|
|
9077
9079
|
const navigate = reactRouter.useNavigate();
|
|
9078
9080
|
const osApp = filteredAppSwitcherData.find((app) => app.id === "blocks-os");
|
|
9079
|
-
const { isFetching, isReady, redirect } =
|
|
9080
|
-
clientId: osApp ?
|
|
9081
|
-
redirectUri: osApp ?
|
|
9081
|
+
const { isFetching, isReady, redirect } = chunk6TMMJJRJ_cjs.usePrefetchRedirect({
|
|
9082
|
+
clientId: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.clientId) : "",
|
|
9083
|
+
redirectUri: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.redirectUri) : "",
|
|
9082
9084
|
forwardedTo: "/app/create-project",
|
|
9083
9085
|
enabled: name !== "blocks-os" && !!osApp
|
|
9084
9086
|
});
|
|
@@ -9105,7 +9107,7 @@ var AddProjectCard = () => {
|
|
|
9105
9107
|
Card,
|
|
9106
9108
|
{
|
|
9107
9109
|
onClick: handleClick,
|
|
9108
|
-
className:
|
|
9110
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
9109
9111
|
"border-primary/30 hover:border-primary/70 flex h-40 items-center justify-center rounded-xl border bg-transparent shadow-sm transition-all duration-200 hover:shadow-md md:py-4",
|
|
9110
9112
|
isDisabled ? "cursor-not-allowed opacity-50" : "cursor-pointer"
|
|
9111
9113
|
),
|
|
@@ -9168,12 +9170,12 @@ function useProjectOverviewRedirect({
|
|
|
9168
9170
|
tenantGroupId
|
|
9169
9171
|
}) {
|
|
9170
9172
|
const navigate = reactRouter.useNavigate();
|
|
9171
|
-
const { name } =
|
|
9173
|
+
const { name } = chunk6TMMJJRJ_cjs.useBlocksAppConfigStore((state) => state.config);
|
|
9172
9174
|
const osApp = filteredAppSwitcherData.find((app) => app.id === "blocks-os");
|
|
9173
9175
|
const redirectedRoute = `/app/project/${tenantGroupId}/environments`;
|
|
9174
|
-
const { isFetching, isReady, redirect } =
|
|
9175
|
-
clientId: osApp ?
|
|
9176
|
-
redirectUri: osApp ?
|
|
9176
|
+
const { isFetching, isReady, redirect } = chunk6TMMJJRJ_cjs.usePrefetchRedirect({
|
|
9177
|
+
clientId: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.clientId) : "",
|
|
9178
|
+
redirectUri: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.redirectUri) : "",
|
|
9177
9179
|
forwardedTo: redirectedRoute,
|
|
9178
9180
|
enabled: name !== "blocks-os" && !!osApp
|
|
9179
9181
|
});
|
|
@@ -9338,7 +9340,7 @@ var SelfProjectLoading = () => {
|
|
|
9338
9340
|
) });
|
|
9339
9341
|
};
|
|
9340
9342
|
var SelfProject = ({ canCreateProject = false }) => {
|
|
9341
|
-
const { data: data2, isLoading, isFetching } =
|
|
9343
|
+
const { data: data2, isLoading, isFetching } = chunkUVMFL4UV_cjs.useGetProjects({ enabled: true });
|
|
9342
9344
|
if (isLoading || isFetching) return /* @__PURE__ */ jsxRuntime.jsx(SelfProjectLoading, {});
|
|
9343
9345
|
const projectGroups = data2 || [];
|
|
9344
9346
|
if (!projectGroups.length && canCreateProject)
|
|
@@ -9442,9 +9444,9 @@ var CallbackPage = ({ defaultRedirectUrl }) => {
|
|
|
9442
9444
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-screen items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader, { className: "h-12 w-12 animate-spin text-gray-500" }) });
|
|
9443
9445
|
};
|
|
9444
9446
|
function ProfilePage() {
|
|
9445
|
-
const { isLoading, error } =
|
|
9446
|
-
clientId:
|
|
9447
|
-
redirectUri:
|
|
9447
|
+
const { isLoading, error } = chunk6TMMJJRJ_cjs.useInitiateRedirect({
|
|
9448
|
+
clientId: chunkX4YCRWXO_cjs.getRuntimeEnv("BLOCKS_IAM_CLIENT_ID"),
|
|
9449
|
+
redirectUri: chunkX4YCRWXO_cjs.getRuntimeEnv("BLOCKS_IAM_CALLBACK_URL"),
|
|
9448
9450
|
forwardedTo: "/app/profile"
|
|
9449
9451
|
});
|
|
9450
9452
|
if (error)
|
|
@@ -9461,7 +9463,7 @@ function ProfilePage() {
|
|
|
9461
9463
|
var METHODS_WITH_BODY = ["POST", "PUT", "PATCH"];
|
|
9462
9464
|
var buildCurlCommand = (endpoint, xBlocksKey) => {
|
|
9463
9465
|
const method = endpoint.method ?? "GET";
|
|
9464
|
-
const headerValue = xBlocksKey ||
|
|
9466
|
+
const headerValue = xBlocksKey || chunkX4YCRWXO_cjs.getRuntimeEnv("BLOCKS_X_BLOCKS_KEY");
|
|
9465
9467
|
const lines = [
|
|
9466
9468
|
`curl -X ${method} '${endpoint.path}'`,
|
|
9467
9469
|
` -H 'X-Blocks-Key: ${headerValue}'`
|
|
@@ -9501,7 +9503,7 @@ var CoreApiEndpointRow = ({
|
|
|
9501
9503
|
endpoint.method && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9502
9504
|
"span",
|
|
9503
9505
|
{
|
|
9504
|
-
className:
|
|
9506
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
9505
9507
|
"w-fit shrink-0 rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase",
|
|
9506
9508
|
METHOD_BADGE_CLASSES[endpoint.method]
|
|
9507
9509
|
),
|
|
@@ -9531,7 +9533,7 @@ var CoreApiGroupSection = ({
|
|
|
9531
9533
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9532
9534
|
lucideReact.ChevronDown,
|
|
9533
9535
|
{
|
|
9534
|
-
className:
|
|
9536
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
9535
9537
|
"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200",
|
|
9536
9538
|
open && "rotate-180"
|
|
9537
9539
|
)
|
|
@@ -9556,7 +9558,7 @@ var DashboardSectionCard = ({
|
|
|
9556
9558
|
className,
|
|
9557
9559
|
contentClassName
|
|
9558
9560
|
}) => {
|
|
9559
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
9561
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkYAF2X7W5_cjs.cn("rounded-lg border border-border bg-card", className), children: [
|
|
9560
9562
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 px-3 py-2.5 sm:gap-3 sm:px-4 sm:py-3", children: [
|
|
9561
9563
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
9562
9564
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "truncate text-lg font-semibold leading-snug text-high-emphasis sm:text-base", children: title }),
|
|
@@ -9567,7 +9569,7 @@ var DashboardSectionCard = ({
|
|
|
9567
9569
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9568
9570
|
"div",
|
|
9569
9571
|
{
|
|
9570
|
-
className:
|
|
9572
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
9571
9573
|
"border-t border-border px-2 py-2 sm:px-4 sm:py-3",
|
|
9572
9574
|
contentClassName
|
|
9573
9575
|
),
|
|
@@ -9626,7 +9628,7 @@ var trimTrailingSlashes = (value) => {
|
|
|
9626
9628
|
};
|
|
9627
9629
|
var resolveBaseUrl = (swagger, swaggerUrl, explicitBaseUrl) => {
|
|
9628
9630
|
if (explicitBaseUrl) {
|
|
9629
|
-
return trimTrailingSlashes(
|
|
9631
|
+
return trimTrailingSlashes(chunkX4YCRWXO_cjs.getRuntimeEnv(explicitBaseUrl));
|
|
9630
9632
|
}
|
|
9631
9633
|
if (swagger.servers?.[0]?.url) {
|
|
9632
9634
|
return trimTrailingSlashes(swagger.servers[0].url);
|
|
@@ -9681,8 +9683,8 @@ var useSwaggerEndpoints = (serviceName, {
|
|
|
9681
9683
|
enabled = true,
|
|
9682
9684
|
staleTime = 5 * 60 * 1e3
|
|
9683
9685
|
} = {}) => {
|
|
9684
|
-
const baseUrl = serviceName ?
|
|
9685
|
-
const swaggerUrl = serviceName ?
|
|
9686
|
+
const baseUrl = serviceName ? chunkVTOD5ZQU_cjs.getServiceBaseUrl(serviceName) : void 0;
|
|
9687
|
+
const swaggerUrl = serviceName ? chunkVTOD5ZQU_cjs.getServiceSwaggerUrl(serviceName) : void 0;
|
|
9686
9688
|
const { data: data2, isLoading, isError, error } = reactQuery.useQuery({
|
|
9687
9689
|
queryKey: ["swagger-endpoints", swaggerUrl],
|
|
9688
9690
|
queryFn: () => {
|
|
@@ -9720,8 +9722,8 @@ var ConfirmationModal = ({
|
|
|
9720
9722
|
] })
|
|
9721
9723
|
] });
|
|
9722
9724
|
var DashboardOverview = () => {
|
|
9723
|
-
const { name } =
|
|
9724
|
-
const { data: data2, isFetching } =
|
|
9725
|
+
const { name } = chunk6TMMJJRJ_cjs.useBlocksAppConfigStore((state) => state.config);
|
|
9726
|
+
const { data: data2, isFetching } = chunkUVMFL4UV_cjs.useGetProject();
|
|
9725
9727
|
const {
|
|
9726
9728
|
endpoints,
|
|
9727
9729
|
isLoading: isLoadingEndpoints,
|
|
@@ -9799,8 +9801,8 @@ var ProjectDetail = ({
|
|
|
9799
9801
|
)?.label
|
|
9800
9802
|
}
|
|
9801
9803
|
) }),
|
|
9802
|
-
/* @__PURE__ */ jsxRuntime.jsx(ProjectDetailItem, { label: "Last updated Date", children: project?.lastUpdatedDate &&
|
|
9803
|
-
/* @__PURE__ */ jsxRuntime.jsx(ProjectDetailItem, { label: "Created Date", children: project?.createdDate &&
|
|
9804
|
+
/* @__PURE__ */ jsxRuntime.jsx(ProjectDetailItem, { label: "Last updated Date", children: project?.lastUpdatedDate && chunkVTOD5ZQU_cjs.formatFullDate(new Date(project.lastUpdatedDate)) }),
|
|
9805
|
+
/* @__PURE__ */ jsxRuntime.jsx(ProjectDetailItem, { label: "Created Date", children: project?.createdDate && chunkVTOD5ZQU_cjs.formatFullDate(new Date(project.createdDate)) })
|
|
9804
9806
|
] })
|
|
9805
9807
|
}
|
|
9806
9808
|
);
|
|
@@ -9815,11 +9817,11 @@ function ProjectList({
|
|
|
9815
9817
|
}) {
|
|
9816
9818
|
const navigate = reactRouter.useNavigate();
|
|
9817
9819
|
const { pathname } = reactRouter.useLocation();
|
|
9818
|
-
const { data: projectGroups = [], isLoading } =
|
|
9820
|
+
const { data: projectGroups = [], isLoading } = chunkUVMFL4UV_cjs.useGetProjects({
|
|
9819
9821
|
enabled: true
|
|
9820
9822
|
});
|
|
9821
9823
|
const { selectedProject, setSelectedProject } = chunkVAKGHXK6_cjs.useProjectStore();
|
|
9822
|
-
const { data: projectData } =
|
|
9824
|
+
const { data: projectData } = chunkUVMFL4UV_cjs.useGetProject();
|
|
9823
9825
|
const pendingProjectRef = React8.useRef(null);
|
|
9824
9826
|
const redirectRegexMap = React8.useMemo(
|
|
9825
9827
|
() => Object.entries(redirectPaths).reduce(
|
|
@@ -9968,7 +9970,7 @@ var SetCustomDomainDialog = ({
|
|
|
9968
9970
|
projectKey,
|
|
9969
9971
|
projectEnv
|
|
9970
9972
|
}) => {
|
|
9971
|
-
const { mutateAsync, isPending } =
|
|
9973
|
+
const { mutateAsync, isPending } = chunkUVMFL4UV_cjs.useUpdateRepositories();
|
|
9972
9974
|
const verifiedDomains = React8.useMemo(
|
|
9973
9975
|
() => Array.from(
|
|
9974
9976
|
new Set(domains.filter((d) => d.isDomainVerified).map((d) => d.domain))
|
|
@@ -9995,14 +9997,14 @@ var SetCustomDomainDialog = ({
|
|
|
9995
9997
|
]
|
|
9996
9998
|
});
|
|
9997
9999
|
if (res.isSuccess) {
|
|
9998
|
-
|
|
10000
|
+
chunkVTOD5ZQU_cjs.showSuccessToast({ description: "Custom domain updated successfully" });
|
|
9999
10001
|
onOpenChange(false);
|
|
10000
10002
|
} else {
|
|
10001
|
-
|
|
10003
|
+
chunkVTOD5ZQU_cjs.showErrorToast({ errors: res.errors });
|
|
10002
10004
|
}
|
|
10003
10005
|
} catch (error) {
|
|
10004
10006
|
if (error && typeof error === "object" && "errors" in error) {
|
|
10005
|
-
|
|
10007
|
+
chunkVTOD5ZQU_cjs.showErrorToast({ errors: error.errors });
|
|
10006
10008
|
}
|
|
10007
10009
|
}
|
|
10008
10010
|
};
|
|
@@ -10051,7 +10053,7 @@ var buildColumns = (onSet) => [
|
|
|
10051
10053
|
cell: ({ row }) => {
|
|
10052
10054
|
const repo = row.original;
|
|
10053
10055
|
const isDefaultDate = repo.lastDeploymentDate === "0001-01-01T00:00:00";
|
|
10054
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-medium-emphasis", children: !repo.lastDeploymentDate || isDefaultDate ? "Not deployed" :
|
|
10056
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-medium-emphasis", children: !repo.lastDeploymentDate || isDefaultDate ? "Not deployed" : chunkVTOD5ZQU_cjs.formatFullDate(new Date(repo.lastDeploymentDate)) });
|
|
10055
10057
|
}
|
|
10056
10058
|
}),
|
|
10057
10059
|
columnHelper.display({
|
|
@@ -10111,7 +10113,7 @@ var ProjectRepoTable = ({
|
|
|
10111
10113
|
/* @__PURE__ */ jsxRuntime.jsx("thead", { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsxRuntime.jsx("tr", { className: "border-b border-border", children: headerGroup.headers.map((header) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10112
10114
|
"th",
|
|
10113
10115
|
{
|
|
10114
|
-
className:
|
|
10116
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
10115
10117
|
"h-12 px-4 text-left text-xs font-semibold uppercase tracking-wide text-medium-emphasis",
|
|
10116
10118
|
header.id === "actions" && "w-32"
|
|
10117
10119
|
),
|
|
@@ -10152,7 +10154,7 @@ var ProjectRepoList = ({
|
|
|
10152
10154
|
data: envRepositoriesResponse,
|
|
10153
10155
|
isLoading: isLoadingEnvRepos,
|
|
10154
10156
|
isFetching: isFetchingEnvRepos
|
|
10155
|
-
} =
|
|
10157
|
+
} = chunkUVMFL4UV_cjs.useGetEnvRepositories(project?.tenantId || "");
|
|
10156
10158
|
if (isLoading || isLoadingEnvRepos || isFetchingEnvRepos) {
|
|
10157
10159
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 rounded-lg border bg-card px-2 py-2 shadow-sm md:mt-0", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid-col-1 grid gap-3 px-2 py-4 md:grid-cols-2 md:gap-4 lg:gap-6", children: ["sk-1", "sk-2", "sk-3", "sk-4", "sk-5", "sk-6"].map((itemKey) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
10158
10160
|
/* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "h-5 w-1/2" }),
|
|
@@ -10252,7 +10254,7 @@ var EditProjectForm = ({
|
|
|
10252
10254
|
onAfterSubmit
|
|
10253
10255
|
}) => {
|
|
10254
10256
|
const queryClient = reactQuery.useQueryClient();
|
|
10255
|
-
const { mutateAsync, isPending } =
|
|
10257
|
+
const { mutateAsync, isPending } = chunkUVMFL4UV_cjs.useUpdateTenantGroup();
|
|
10256
10258
|
const form = reactHookForm.useForm({
|
|
10257
10259
|
resolver: zod$1.zodResolver(editProjectFormSchema),
|
|
10258
10260
|
defaultValues: {
|
|
@@ -10268,7 +10270,7 @@ var EditProjectForm = ({
|
|
|
10268
10270
|
tenantGroupId
|
|
10269
10271
|
});
|
|
10270
10272
|
if (res.isSuccess) {
|
|
10271
|
-
|
|
10273
|
+
chunkVTOD5ZQU_cjs.showSuccessToast({
|
|
10272
10274
|
title: "Project updated",
|
|
10273
10275
|
description: "Project name updated successfully"
|
|
10274
10276
|
});
|
|
@@ -10276,11 +10278,11 @@ var EditProjectForm = ({
|
|
|
10276
10278
|
form.reset();
|
|
10277
10279
|
onAfterSubmit();
|
|
10278
10280
|
} else {
|
|
10279
|
-
|
|
10281
|
+
chunkVTOD5ZQU_cjs.showErrorToast({ errors: res.errors });
|
|
10280
10282
|
}
|
|
10281
10283
|
} catch (error) {
|
|
10282
|
-
if (
|
|
10283
|
-
|
|
10284
|
+
if (chunkVTOD5ZQU_cjs.isErrorWithErrors(error)) {
|
|
10285
|
+
chunkVTOD5ZQU_cjs.showErrorToast({ errors: error.errors });
|
|
10284
10286
|
}
|
|
10285
10287
|
}
|
|
10286
10288
|
};
|
|
@@ -10380,7 +10382,7 @@ function SidebarMobileView({
|
|
|
10380
10382
|
navigationMenus
|
|
10381
10383
|
}) {
|
|
10382
10384
|
const [open, setOpen] = React8.useState(false);
|
|
10383
|
-
const { appLightLogo, appDarkLogo } =
|
|
10385
|
+
const { appLightLogo, appDarkLogo } = chunk6TMMJJRJ_cjs.useLogo();
|
|
10384
10386
|
const allowedMenu = chunkQ7Y32IBM_cjs.useFilteredMenus(navigationMenus);
|
|
10385
10387
|
return /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { open, onOpenChange: setOpen, children: [
|
|
10386
10388
|
/* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Button, { variant: "outline", size: "icon", className: "shrink-0", children: [
|
|
@@ -10429,9 +10431,9 @@ function SidebarMenuDesktop({
|
|
|
10429
10431
|
redirectPaths,
|
|
10430
10432
|
navigationMenus
|
|
10431
10433
|
}) {
|
|
10432
|
-
const { isSidebarOpen, toggleSidebar } = React8.useContext(
|
|
10433
|
-
const { appLightLogo, appDarkLogo } =
|
|
10434
|
-
const icon =
|
|
10434
|
+
const { isSidebarOpen, toggleSidebar } = React8.useContext(chunkZVGCCTNK_cjs.SidebarContext);
|
|
10435
|
+
const { appLightLogo, appDarkLogo } = chunk6TMMJJRJ_cjs.useLogo();
|
|
10436
|
+
const icon = chunk6TMMJJRJ_cjs.useIcon();
|
|
10435
10437
|
const allowedMenu = chunkQ7Y32IBM_cjs.useFilteredMenus(navigationMenus);
|
|
10436
10438
|
const { isActivePath: isProjectOverviewRoute } = chunkQ7Y32IBM_cjs.useIsActiveMenu("/app/project");
|
|
10437
10439
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -10444,7 +10446,7 @@ function SidebarMenuDesktop({
|
|
|
10444
10446
|
reactRouter.Link,
|
|
10445
10447
|
{
|
|
10446
10448
|
to: "console",
|
|
10447
|
-
className:
|
|
10449
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
10448
10450
|
"relative inline-block cursor-pointer overflow-hidden transition-all",
|
|
10449
10451
|
isSidebarOpen ? "h-9 w-[72px]" : "h-8 w-8"
|
|
10450
10452
|
),
|
|
@@ -10487,7 +10489,7 @@ function SidebarMenuDesktop({
|
|
|
10487
10489
|
/* @__PURE__ */ jsxRuntime.jsx(ProjectList, { redirectPaths, collapsed: true }),
|
|
10488
10490
|
/* @__PURE__ */ jsxRuntime.jsx(RenderConditionally, { condition: !isProjectOverviewRoute, children: /* @__PURE__ */ jsxRuntime.jsx(EnvironmentList, { redirectPaths, collapsed: true }) })
|
|
10489
10491
|
] }),
|
|
10490
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden", children: /* @__PURE__ */ jsxRuntime.jsx("nav", { className:
|
|
10492
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden", children: /* @__PURE__ */ jsxRuntime.jsx("nav", { className: chunkYAF2X7W5_cjs.cn("grid w-full items-start gap-1 text-sm"), children: allowedMenu.map((menu) => /* @__PURE__ */ jsxRuntime.jsx(React8.Fragment, { children: menu.type === "menu" ? /* @__PURE__ */ jsxRuntime.jsx(DesktopMenuItem, { menu, isSidebarOpen }) : /* @__PURE__ */ jsxRuntime.jsx(Separator, {}) }, menu.id)) }) })
|
|
10491
10493
|
]
|
|
10492
10494
|
}
|
|
10493
10495
|
);
|
|
@@ -10502,13 +10504,13 @@ function ErrorDisplay({
|
|
|
10502
10504
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10503
10505
|
"div",
|
|
10504
10506
|
{
|
|
10505
|
-
className:
|
|
10507
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
10506
10508
|
"flex flex-col items-center justify-center gap-2",
|
|
10507
10509
|
containerClassName
|
|
10508
10510
|
),
|
|
10509
10511
|
children: [
|
|
10510
|
-
/* @__PURE__ */ jsxRuntime.jsx(Icon2, { className:
|
|
10511
|
-
text && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
10512
|
+
/* @__PURE__ */ jsxRuntime.jsx(Icon2, { className: chunkYAF2X7W5_cjs.cn("h-8 w-8 text-destructive", iconClassName) }),
|
|
10513
|
+
text && /* @__PURE__ */ jsxRuntime.jsx("p", { className: chunkYAF2X7W5_cjs.cn("text-sm text-muted-foreground", textClassName), children: text })
|
|
10512
10514
|
]
|
|
10513
10515
|
}
|
|
10514
10516
|
);
|
|
@@ -10560,22 +10562,22 @@ var ErrorBoundary = class extends React8.Component {
|
|
|
10560
10562
|
var ArchiveProject = () => {
|
|
10561
10563
|
const navigate = reactRouter.useNavigate();
|
|
10562
10564
|
const projectKey = chunkVAKGHXK6_cjs.useProjectStore().selectedProject?.tenantId || "";
|
|
10563
|
-
const { mutateAsync, isPending } =
|
|
10565
|
+
const { mutateAsync, isPending } = chunkUVMFL4UV_cjs.useDisableProject({ projectKey });
|
|
10564
10566
|
const onClickHandler = async () => {
|
|
10565
10567
|
try {
|
|
10566
10568
|
const res = await mutateAsync();
|
|
10567
10569
|
if (res.isSuccess) {
|
|
10568
|
-
|
|
10570
|
+
chunkVTOD5ZQU_cjs.showSuccessToast({
|
|
10569
10571
|
title: "Project delete",
|
|
10570
10572
|
description: "Successfully deleted"
|
|
10571
10573
|
});
|
|
10572
10574
|
navigate("/app/console");
|
|
10573
10575
|
} else {
|
|
10574
|
-
|
|
10576
|
+
chunkVTOD5ZQU_cjs.showErrorToast({ errors: res.errors });
|
|
10575
10577
|
}
|
|
10576
10578
|
} catch (error) {
|
|
10577
|
-
if (
|
|
10578
|
-
|
|
10579
|
+
if (chunkVTOD5ZQU_cjs.isErrorWithErrors(error)) {
|
|
10580
|
+
chunkVTOD5ZQU_cjs.showErrorToast({ errors: error.errors });
|
|
10579
10581
|
}
|
|
10580
10582
|
}
|
|
10581
10583
|
};
|
|
@@ -11401,10 +11403,10 @@ function DateRange({ label, value, onChange }) {
|
|
|
11401
11403
|
className: "hidden h-4 sm:mx-2 sm:block"
|
|
11402
11404
|
}
|
|
11403
11405
|
),
|
|
11404
|
-
|
|
11406
|
+
chunkVTOD5ZQU_cjs.formatDate(date.from, true),
|
|
11405
11407
|
date.to && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
11406
11408
|
" - ",
|
|
11407
|
-
|
|
11409
|
+
chunkVTOD5ZQU_cjs.formatDate(date.to, true)
|
|
11408
11410
|
] })
|
|
11409
11411
|
] })
|
|
11410
11412
|
] }) }) }),
|
|
@@ -11451,7 +11453,7 @@ var DropdownSearchInput = ({
|
|
|
11451
11453
|
setState(value);
|
|
11452
11454
|
}, [value]);
|
|
11453
11455
|
const debounced = React8.useRef(
|
|
11454
|
-
|
|
11456
|
+
chunkVTOD5ZQU_cjs.debounce((val) => {
|
|
11455
11457
|
onChange(val);
|
|
11456
11458
|
}, 300)
|
|
11457
11459
|
).current;
|
|
@@ -11479,11 +11481,11 @@ var DropdownSearchInput = ({
|
|
|
11479
11481
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 rounded-md border pr-2", children: [
|
|
11480
11482
|
/* @__PURE__ */ jsxRuntime.jsxs(Select, { onValueChange: handleSelect, value: state.selected, children: [
|
|
11481
11483
|
/* @__PURE__ */ jsxRuntime.jsx(SelectTrigger, { className: "h-8 w-fit gap-1 rounded-e-none border-0 border-r focus:ring-0 focus:ring-ring focus:ring-offset-0", children: /* @__PURE__ */ jsxRuntime.jsx(SelectValue, {}) }),
|
|
11482
|
-
/* @__PURE__ */ jsxRuntime.jsx(SelectContent, { className:
|
|
11484
|
+
/* @__PURE__ */ jsxRuntime.jsx(SelectContent, { className: chunkYAF2X7W5_cjs.cn(className.selectContent), children: options.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
11483
11485
|
SelectItem,
|
|
11484
11486
|
{
|
|
11485
11487
|
value: item.value,
|
|
11486
|
-
className:
|
|
11488
|
+
className: chunkYAF2X7W5_cjs.cn(className.SelectItem),
|
|
11487
11489
|
children: item.label
|
|
11488
11490
|
},
|
|
11489
11491
|
item.value
|
|
@@ -11496,7 +11498,7 @@ var DropdownSearchInput = ({
|
|
|
11496
11498
|
placeholder,
|
|
11497
11499
|
value: state.value,
|
|
11498
11500
|
onChange: handleChange,
|
|
11499
|
-
className:
|
|
11501
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
11500
11502
|
"h-8 w-52 border-none p-0 focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
11501
11503
|
className?.input
|
|
11502
11504
|
)
|
|
@@ -11507,7 +11509,7 @@ var DropdownSearchInput = ({
|
|
|
11507
11509
|
{
|
|
11508
11510
|
variant: "ghost",
|
|
11509
11511
|
size: "xs",
|
|
11510
|
-
className:
|
|
11512
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
11511
11513
|
"h-full p-1 pr-0 hover:bg-transparent",
|
|
11512
11514
|
!value.value && "invisible"
|
|
11513
11515
|
),
|
|
@@ -11523,7 +11525,7 @@ function MultiSelect2({
|
|
|
11523
11525
|
onChange,
|
|
11524
11526
|
value: selectedValues
|
|
11525
11527
|
}) {
|
|
11526
|
-
const [buttonRef, popoverWidth] =
|
|
11528
|
+
const [buttonRef, popoverWidth] = chunk6TMMJJRJ_cjs.usePopoverWidth();
|
|
11527
11529
|
const onSelectHandler = (value) => {
|
|
11528
11530
|
const nextValues = selectedValues.includes(value) ? selectedValues.filter((item) => item !== value) : [...selectedValues, value];
|
|
11529
11531
|
onChange(nextValues);
|
|
@@ -11597,11 +11599,11 @@ function MultiSelect2({
|
|
|
11597
11599
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11598
11600
|
"div",
|
|
11599
11601
|
{
|
|
11600
|
-
className:
|
|
11602
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
11601
11603
|
"mr-2 flex h-4 w-4 items-center justify-center rounded-sm border border-primary",
|
|
11602
11604
|
isSelected ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
|
|
11603
11605
|
),
|
|
11604
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactIcons.CheckIcon, { className:
|
|
11606
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactIcons.CheckIcon, { className: chunkYAF2X7W5_cjs.cn("h-4 w-4") })
|
|
11605
11607
|
}
|
|
11606
11608
|
),
|
|
11607
11609
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: option.label })
|
|
@@ -11640,7 +11642,7 @@ var ClearButton = ({ onClear }) => {
|
|
|
11640
11642
|
};
|
|
11641
11643
|
function Radio({ label, options, onChange, value }) {
|
|
11642
11644
|
const [search, setSearch] = React8.useState("");
|
|
11643
|
-
const [buttonRef, popoverWidth] =
|
|
11645
|
+
const [buttonRef, popoverWidth] = chunk6TMMJJRJ_cjs.usePopoverWidth();
|
|
11644
11646
|
const isMobile = chunkQ7Y32IBM_cjs.useIsMobile();
|
|
11645
11647
|
const selected = React8.useMemo(
|
|
11646
11648
|
() => options.find((item) => item.value === value) || null,
|
|
@@ -11762,7 +11764,7 @@ var SearchInput = ({
|
|
|
11762
11764
|
setState(value);
|
|
11763
11765
|
}, [value]);
|
|
11764
11766
|
const debounced = React8.useRef(
|
|
11765
|
-
|
|
11767
|
+
chunkVTOD5ZQU_cjs.debounce((val) => {
|
|
11766
11768
|
onChange(val);
|
|
11767
11769
|
}, 300)
|
|
11768
11770
|
).current;
|
|
@@ -11790,7 +11792,7 @@ var SearchInput = ({
|
|
|
11790
11792
|
placeholder,
|
|
11791
11793
|
value: state,
|
|
11792
11794
|
onChange: handleChange,
|
|
11793
|
-
className:
|
|
11795
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
11794
11796
|
"h-8 w-52 border-none p-0 focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
11795
11797
|
className
|
|
11796
11798
|
)
|
|
@@ -11801,7 +11803,7 @@ var SearchInput = ({
|
|
|
11801
11803
|
{
|
|
11802
11804
|
variant: "ghost",
|
|
11803
11805
|
size: "xs",
|
|
11804
|
-
className:
|
|
11806
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
11805
11807
|
"h-full p-1 pr-0 hover:bg-transparent",
|
|
11806
11808
|
!value && "invisible"
|
|
11807
11809
|
),
|
|
@@ -11865,7 +11867,7 @@ var SortHeader = ({
|
|
|
11865
11867
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
11866
11868
|
"div",
|
|
11867
11869
|
{
|
|
11868
|
-
className:
|
|
11870
|
+
className: chunkYAF2X7W5_cjs.cn("flex cursor-pointer items-center gap-2", className),
|
|
11869
11871
|
onClick: onClickHandler,
|
|
11870
11872
|
children: [
|
|
11871
11873
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-bold text-medium-emphasis", children: label }),
|
|
@@ -11897,7 +11899,7 @@ var TablePagination = React8__namespace.forwardRef(
|
|
|
11897
11899
|
"div",
|
|
11898
11900
|
{
|
|
11899
11901
|
ref,
|
|
11900
|
-
className:
|
|
11902
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
11901
11903
|
"flex flex-col-reverse items-stretch gap-3 px-2 py-2 sm:flex-row sm:items-center sm:justify-between",
|
|
11902
11904
|
className
|
|
11903
11905
|
),
|
|
@@ -12113,7 +12115,7 @@ var FilterToolbar = ({
|
|
|
12113
12115
|
}
|
|
12114
12116
|
);
|
|
12115
12117
|
});
|
|
12116
|
-
const showReset = !hideGlobalResetButton && !
|
|
12118
|
+
const showReset = !hideGlobalResetButton && !chunkVTOD5ZQU_cjs.deepEqual(initialValuesRef.current, values);
|
|
12117
12119
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12118
12120
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12119
12121
|
FilterToolbarDesktopView,
|
|
@@ -12282,7 +12284,7 @@ var TablePagination2 = React8__namespace.forwardRef(
|
|
|
12282
12284
|
"div",
|
|
12283
12285
|
{
|
|
12284
12286
|
ref,
|
|
12285
|
-
className:
|
|
12287
|
+
className: chunkYAF2X7W5_cjs.cn(
|
|
12286
12288
|
"flex flex-col-reverse items-stretch gap-3 px-2 py-2 sm:flex-row sm:items-center sm:justify-between",
|
|
12287
12289
|
className
|
|
12288
12290
|
),
|
|
@@ -12717,5 +12719,5 @@ exports.usePaginationQueryParams = usePaginationQueryParams;
|
|
|
12717
12719
|
exports.useRightSidePanel = useRightSidePanel;
|
|
12718
12720
|
exports.useSortQueryParams = useSortQueryParams;
|
|
12719
12721
|
exports.useWizardStepper = useWizardStepper;
|
|
12720
|
-
//# sourceMappingURL=chunk-
|
|
12721
|
-
//# sourceMappingURL=chunk-
|
|
12722
|
+
//# sourceMappingURL=chunk-J7P4N4JM.cjs.map
|
|
12723
|
+
//# sourceMappingURL=chunk-J7P4N4JM.cjs.map
|