@mlw-packages/react-components 1.5.2 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -493,30 +493,22 @@ import { Slot } from "@radix-ui/react-slot";
493
493
  import { cva } from "class-variance-authority";
494
494
  import { jsx } from "react/jsx-runtime";
495
495
  var buttonVariantsBase = cva(
496
- `
497
- inline-flex items-center justify-center gap-2
498
- whitespace-nowrap rounded-md text-sm
499
- transition-all duration-200
500
- focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2
501
- disabled:pointer-events-none disabled:opacity-50
502
- active:scale-[0.97]
503
- [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-transparent
504
- `,
496
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
505
497
  {
506
498
  variants: {
507
499
  variant: {
508
- default: "bg-primary text-primary-foreground shadow hover:opacity-90 hover:shadow-md",
509
- destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90 hover:shadow-md",
510
- outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground hover:shadow-md",
511
- secondary: "bg-secondary text-secondary-foreground shadow-sm border border-transparent hover:opacity-80 hover:shadow-md",
512
- ghost: "hover:bg-accent hover:text-accent-foreground",
500
+ default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
501
+ destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",
502
+ outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
503
+ secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
504
+ ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
513
505
  link: "text-primary underline-offset-4 hover:underline"
514
506
  },
515
507
  size: {
516
- default: "px-4 py-1.5",
517
- sm: "rounded-md px-3 text-xs",
518
- lg: "rounded-md px-8",
519
- icon: "h-9 w-9"
508
+ default: "h-9 px-4 py-2 has-[>svg]:px-3",
509
+ sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
510
+ lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
511
+ icon: "size-9"
520
512
  }
521
513
  },
522
514
  defaultVariants: {
@@ -1355,22 +1347,70 @@ var CheckboxBase = React6.forwardRef(({ className, testid: dataTestId = "checkbo
1355
1347
  ));
1356
1348
  CheckboxBase.displayName = CheckboxPrimitive.Root.displayName;
1357
1349
 
1350
+ // src/components/ui/CollapsibleBase.tsx
1351
+ import * as React7 from "react";
1352
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
1353
+ import { CaretUpDown } from "@phosphor-icons/react";
1354
+ import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
1355
+ var CollapsibleBase = React7.forwardRef(({ ...props }, ref) => {
1356
+ return /* @__PURE__ */ jsx10(CollapsiblePrimitive.Root, { ref, "data-slot": "collapsible", ...props });
1357
+ });
1358
+ CollapsibleBase.displayName = CollapsiblePrimitive.Root.displayName;
1359
+ var CollapsibleTriggerBase = React7.forwardRef(({ className, children, leftIcon, showCaret = true, ...props }, ref) => {
1360
+ return /* @__PURE__ */ jsxs4(
1361
+ CollapsiblePrimitive.CollapsibleTrigger,
1362
+ {
1363
+ ref,
1364
+ className: cn(
1365
+ "flex w-full items-center justify-between p-3 text-left font-medium transition-all duration-500 ease-[cubic-bezier(0.4,0,0.2,1)] hover:bg-accent hover:text-accent-foreground rounded-md outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 [&[data-state=open]_.caret-icon]:rotate-180",
1366
+ className
1367
+ ),
1368
+ "data-slot": "collapsible-trigger",
1369
+ ...props,
1370
+ children: [
1371
+ /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2", children: [
1372
+ leftIcon && /* @__PURE__ */ jsx10("span", { className: "flex-shrink-0 [&>svg]:size-4", children: leftIcon }),
1373
+ /* @__PURE__ */ jsx10("span", { children })
1374
+ ] }),
1375
+ showCaret && /* @__PURE__ */ jsx10("span", { className: "caret-icon flex-shrink-0 transition-transform duration-500 ease-[cubic-bezier(0.4,0,0.2,1)]", children: /* @__PURE__ */ jsx10(CaretUpDown, { className: "h-4 w-4" }) })
1376
+ ]
1377
+ }
1378
+ );
1379
+ });
1380
+ CollapsibleTriggerBase.displayName = CollapsiblePrimitive.CollapsibleTrigger.displayName;
1381
+ var CollapsibleContentBase = React7.forwardRef(({ className, children, ...props }, ref) => {
1382
+ return /* @__PURE__ */ jsx10(
1383
+ CollapsiblePrimitive.CollapsibleContent,
1384
+ {
1385
+ ref,
1386
+ className: cn(
1387
+ "overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",
1388
+ className
1389
+ ),
1390
+ "data-slot": "collapsible-content",
1391
+ ...props,
1392
+ children: /* @__PURE__ */ jsx10("div", { className: "pb-3 pt-1", children })
1393
+ }
1394
+ );
1395
+ });
1396
+ CollapsibleContentBase.displayName = CollapsiblePrimitive.CollapsibleContent.displayName;
1397
+
1358
1398
  // src/components/ui/CommandBase.tsx
1359
- import * as React8 from "react";
1399
+ import * as React9 from "react";
1360
1400
  import { Command as CommandPrimitive } from "cmdk";
1361
1401
  import { MagnifyingGlass } from "@phosphor-icons/react";
1362
1402
  import { motion as motion2, AnimatePresence } from "framer-motion";
1363
1403
 
1364
1404
  // src/components/ui/DialogBase.tsx
1365
- import * as React7 from "react";
1405
+ import * as React8 from "react";
1366
1406
  import * as DialogPrimitive from "@radix-ui/react-dialog";
1367
1407
  import { X } from "@phosphor-icons/react";
1368
- import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
1408
+ import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
1369
1409
  var DialogBase = DialogPrimitive.Root;
1370
1410
  var DialogTriggerBase = DialogPrimitive.Trigger;
1371
1411
  var DialogPortalBase = DialogPrimitive.Portal;
1372
1412
  var DialogCloseBase = DialogPrimitive.Close;
1373
- var DialogOverlayBase = React7.forwardRef(({ className, testid: dataTestId = "dialog-overlay", ...props }, ref) => /* @__PURE__ */ jsx10(
1413
+ var DialogOverlayBase = React8.forwardRef(({ className, testid: dataTestId = "dialog-overlay", ...props }, ref) => /* @__PURE__ */ jsx11(
1374
1414
  DialogPrimitive.Overlay,
1375
1415
  {
1376
1416
  ref,
@@ -1383,9 +1423,9 @@ var DialogOverlayBase = React7.forwardRef(({ className, testid: dataTestId = "di
1383
1423
  }
1384
1424
  ));
1385
1425
  DialogOverlayBase.displayName = DialogPrimitive.Overlay.displayName;
1386
- var DialogContentBase = React7.forwardRef(({ className, children, testid: dataTestId = "dialog-content", ...props }, ref) => /* @__PURE__ */ jsxs4(DialogPortalBase, { children: [
1387
- /* @__PURE__ */ jsx10(DialogOverlayBase, {}),
1388
- /* @__PURE__ */ jsxs4(
1426
+ var DialogContentBase = React8.forwardRef(({ className, children, testid: dataTestId = "dialog-content", ...props }, ref) => /* @__PURE__ */ jsxs5(DialogPortalBase, { children: [
1427
+ /* @__PURE__ */ jsx11(DialogOverlayBase, {}),
1428
+ /* @__PURE__ */ jsxs5(
1389
1429
  DialogPrimitive.Content,
1390
1430
  {
1391
1431
  ref,
@@ -1397,16 +1437,16 @@ var DialogContentBase = React7.forwardRef(({ className, children, testid: dataTe
1397
1437
  ...props,
1398
1438
  children: [
1399
1439
  children,
1400
- /* @__PURE__ */ jsxs4(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
1401
- /* @__PURE__ */ jsx10(X, { className: "h-4 w-4" }),
1402
- /* @__PURE__ */ jsx10("span", { className: "sr-only", children: "Close" })
1440
+ /* @__PURE__ */ jsxs5(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
1441
+ /* @__PURE__ */ jsx11(X, { className: "h-4 w-4" }),
1442
+ /* @__PURE__ */ jsx11("span", { className: "sr-only", children: "Close" })
1403
1443
  ] })
1404
1444
  ]
1405
1445
  }
1406
1446
  )
1407
1447
  ] }));
1408
1448
  DialogContentBase.displayName = DialogPrimitive.Content.displayName;
1409
- var DialogHeaderBase = React7.forwardRef(({ className, testid: dataTestId = "dialog-header", ...props }, ref) => /* @__PURE__ */ jsx10(
1449
+ var DialogHeaderBase = React8.forwardRef(({ className, testid: dataTestId = "dialog-header", ...props }, ref) => /* @__PURE__ */ jsx11(
1410
1450
  "div",
1411
1451
  {
1412
1452
  ref,
@@ -1416,7 +1456,7 @@ var DialogHeaderBase = React7.forwardRef(({ className, testid: dataTestId = "dia
1416
1456
  }
1417
1457
  ));
1418
1458
  DialogHeaderBase.displayName = "DialogHeader";
1419
- var DialogFooterBase = React7.forwardRef(({ className, testid: dataTestId = "dialog-footer", ...props }, ref) => /* @__PURE__ */ jsx10(
1459
+ var DialogFooterBase = React8.forwardRef(({ className, testid: dataTestId = "dialog-footer", ...props }, ref) => /* @__PURE__ */ jsx11(
1420
1460
  "div",
1421
1461
  {
1422
1462
  ref,
@@ -1426,7 +1466,7 @@ var DialogFooterBase = React7.forwardRef(({ className, testid: dataTestId = "dia
1426
1466
  }
1427
1467
  ));
1428
1468
  DialogFooterBase.displayName = "DialogFooter";
1429
- var DialogTitleBase = React7.forwardRef(({ className, testid: dataTestId = "dialog-title", ...props }, ref) => /* @__PURE__ */ jsx10(
1469
+ var DialogTitleBase = React8.forwardRef(({ className, testid: dataTestId = "dialog-title", ...props }, ref) => /* @__PURE__ */ jsx11(
1430
1470
  DialogPrimitive.Title,
1431
1471
  {
1432
1472
  ref,
@@ -1436,7 +1476,7 @@ var DialogTitleBase = React7.forwardRef(({ className, testid: dataTestId = "dial
1436
1476
  }
1437
1477
  ));
1438
1478
  DialogTitleBase.displayName = DialogPrimitive.Title.displayName;
1439
- var DialogDescriptionBase = React7.forwardRef(({ className, testid: dataTestId = "dialog-description", ...props }, ref) => /* @__PURE__ */ jsx10(
1479
+ var DialogDescriptionBase = React8.forwardRef(({ className, testid: dataTestId = "dialog-description", ...props }, ref) => /* @__PURE__ */ jsx11(
1440
1480
  DialogPrimitive.Description,
1441
1481
  {
1442
1482
  ref,
@@ -1448,8 +1488,8 @@ var DialogDescriptionBase = React7.forwardRef(({ className, testid: dataTestId =
1448
1488
  DialogDescriptionBase.displayName = DialogPrimitive.Description.displayName;
1449
1489
 
1450
1490
  // src/components/ui/CommandBase.tsx
1451
- import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
1452
- var CommandBase = React8.forwardRef(({ className, testid: dataTestId = "command-base", ...props }, ref) => /* @__PURE__ */ jsx11(
1491
+ import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
1492
+ var CommandBase = React9.forwardRef(({ className, testid: dataTestId = "command-base", ...props }, ref) => /* @__PURE__ */ jsx12(
1453
1493
  CommandPrimitive,
1454
1494
  {
1455
1495
  ref,
@@ -1468,7 +1508,7 @@ var dialogVariants = {
1468
1508
  exit: { opacity: 0, scale: 0.95, y: -20 }
1469
1509
  };
1470
1510
  var CommandDialogBase = ({ children, open, ...props }) => {
1471
- return /* @__PURE__ */ jsx11(DialogBase, { open, ...props, children: /* @__PURE__ */ jsx11(AnimatePresence, { children: open && /* @__PURE__ */ jsx11(DialogContentBase, { asChild: true, forceMount: true, children: /* @__PURE__ */ jsx11(
1511
+ return /* @__PURE__ */ jsx12(DialogBase, { open, ...props, children: /* @__PURE__ */ jsx12(AnimatePresence, { children: open && /* @__PURE__ */ jsx12(DialogContentBase, { asChild: true, forceMount: true, children: /* @__PURE__ */ jsx12(
1472
1512
  motion2.div,
1473
1513
  {
1474
1514
  initial: "hidden",
@@ -1477,14 +1517,14 @@ var CommandDialogBase = ({ children, open, ...props }) => {
1477
1517
  variants: dialogVariants,
1478
1518
  transition: { duration: 0.2, ease: "easeOut" },
1479
1519
  className: "overflow-hidden p-0",
1480
- children: /* @__PURE__ */ jsx11(CommandBase, { className: "[&_[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", children })
1520
+ children: /* @__PURE__ */ jsx12(CommandBase, { className: "[&_[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", children })
1481
1521
  },
1482
1522
  "command-dialog"
1483
1523
  ) }) }) });
1484
1524
  };
1485
- var CommandInputBase = React8.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ jsxs5("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1486
- /* @__PURE__ */ jsx11(MagnifyingGlass, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
1487
- /* @__PURE__ */ jsx11(
1525
+ var CommandInputBase = React9.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ jsxs6("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1526
+ /* @__PURE__ */ jsx12(MagnifyingGlass, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
1527
+ /* @__PURE__ */ jsx12(
1488
1528
  CommandPrimitive.Input,
1489
1529
  {
1490
1530
  ref,
@@ -1498,7 +1538,7 @@ var CommandInputBase = React8.forwardRef(({ className, testid: dataTestId = "com
1498
1538
  )
1499
1539
  ] }));
1500
1540
  CommandInputBase.displayName = CommandPrimitive.Input.displayName;
1501
- var CommandListBase = React8.forwardRef(({ className, testid: dataTestId = "command-list", ...props }, ref) => /* @__PURE__ */ jsx11(
1541
+ var CommandListBase = React9.forwardRef(({ className, testid: dataTestId = "command-list", ...props }, ref) => /* @__PURE__ */ jsx12(
1502
1542
  CommandPrimitive.List,
1503
1543
  {
1504
1544
  ref,
@@ -1508,9 +1548,9 @@ var CommandListBase = React8.forwardRef(({ className, testid: dataTestId = "comm
1508
1548
  }
1509
1549
  ));
1510
1550
  CommandListBase.displayName = CommandPrimitive.List.displayName;
1511
- var CommandEmptyBase = React8.forwardRef(({ testid: dataTestId = "command-empty", ...props }, ref) => /* @__PURE__ */ jsx11(CommandPrimitive.Empty, { ref, className: "py-6 text-center text-sm", "data-testid": dataTestId, ...props }));
1551
+ var CommandEmptyBase = React9.forwardRef(({ testid: dataTestId = "command-empty", ...props }, ref) => /* @__PURE__ */ jsx12(CommandPrimitive.Empty, { ref, className: "py-6 text-center text-sm", "data-testid": dataTestId, ...props }));
1512
1552
  CommandEmptyBase.displayName = CommandPrimitive.Empty.displayName;
1513
- var CommandGroupBase = React8.forwardRef(({ className, testid: dataTestId = "command-group", ...props }, ref) => /* @__PURE__ */ jsx11(
1553
+ var CommandGroupBase = React9.forwardRef(({ className, testid: dataTestId = "command-group", ...props }, ref) => /* @__PURE__ */ jsx12(
1514
1554
  CommandPrimitive.Group,
1515
1555
  {
1516
1556
  ref,
@@ -1523,9 +1563,9 @@ var CommandGroupBase = React8.forwardRef(({ className, testid: dataTestId = "com
1523
1563
  }
1524
1564
  ));
1525
1565
  CommandGroupBase.displayName = CommandPrimitive.Group.displayName;
1526
- var CommandSeparatorBase = React8.forwardRef(({ className, testid: dataTestId = "command-separator", ...props }, ref) => /* @__PURE__ */ jsx11(CommandPrimitive.Separator, { ref, className: cn("-mx-1 h-px bg-border", className), "data-testid": dataTestId, ...props }));
1566
+ var CommandSeparatorBase = React9.forwardRef(({ className, testid: dataTestId = "command-separator", ...props }, ref) => /* @__PURE__ */ jsx12(CommandPrimitive.Separator, { ref, className: cn("-mx-1 h-px bg-border", className), "data-testid": dataTestId, ...props }));
1527
1567
  CommandSeparatorBase.displayName = CommandPrimitive.Separator.displayName;
1528
- var CommandItemBase = React8.forwardRef(({ className, testid: dataTestId = "command-item", ...props }, ref) => /* @__PURE__ */ jsx11(
1568
+ var CommandItemBase = React9.forwardRef(({ className, testid: dataTestId = "command-item", ...props }, ref) => /* @__PURE__ */ jsx12(
1529
1569
  CommandPrimitive.Item,
1530
1570
  {
1531
1571
  ref,
@@ -1539,31 +1579,31 @@ var CommandItemBase = React8.forwardRef(({ className, testid: dataTestId = "comm
1539
1579
  ));
1540
1580
  CommandItemBase.displayName = CommandPrimitive.Item.displayName;
1541
1581
  var CommandShortcutBase = ({ className, ...props }) => {
1542
- return /* @__PURE__ */ jsx11("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
1582
+ return /* @__PURE__ */ jsx12("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
1543
1583
  };
1544
1584
  CommandShortcutBase.displayName = "CommandShortcut";
1545
1585
 
1546
1586
  // src/components/ui/ContextMenuBase.tsx
1547
1587
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
1548
1588
  import { CaretRight as CaretRight3, Check as Check2, Circle } from "@phosphor-icons/react";
1549
- import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
1589
+ import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
1550
1590
  function ContextMenuBase(props) {
1551
- return /* @__PURE__ */ jsx12(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
1591
+ return /* @__PURE__ */ jsx13(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
1552
1592
  }
1553
1593
  function ContextMenuTriggerBase(props) {
1554
- return /* @__PURE__ */ jsx12(ContextMenuPrimitive.Trigger, { "data-slot": "context-menu-trigger", ...props });
1594
+ return /* @__PURE__ */ jsx13(ContextMenuPrimitive.Trigger, { "data-slot": "context-menu-trigger", ...props });
1555
1595
  }
1556
1596
  function ContextMenuGroupBase(props) {
1557
- return /* @__PURE__ */ jsx12(ContextMenuPrimitive.Group, { "data-slot": "context-menu-group", ...props });
1597
+ return /* @__PURE__ */ jsx13(ContextMenuPrimitive.Group, { "data-slot": "context-menu-group", ...props });
1558
1598
  }
1559
1599
  function ContextMenuPortalBase(props) {
1560
- return /* @__PURE__ */ jsx12(ContextMenuPrimitive.Portal, { "data-slot": "context-menu-portal", ...props });
1600
+ return /* @__PURE__ */ jsx13(ContextMenuPrimitive.Portal, { "data-slot": "context-menu-portal", ...props });
1561
1601
  }
1562
1602
  function ContextMenuSubBase(props) {
1563
- return /* @__PURE__ */ jsx12(ContextMenuPrimitive.Sub, { "data-slot": "context-menu-sub", ...props });
1603
+ return /* @__PURE__ */ jsx13(ContextMenuPrimitive.Sub, { "data-slot": "context-menu-sub", ...props });
1564
1604
  }
1565
1605
  function ContextMenuRadioGroupBase(props) {
1566
- return /* @__PURE__ */ jsx12(ContextMenuPrimitive.RadioGroup, { "data-slot": "context-menu-radio-group", ...props });
1606
+ return /* @__PURE__ */ jsx13(ContextMenuPrimitive.RadioGroup, { "data-slot": "context-menu-radio-group", ...props });
1567
1607
  }
1568
1608
  function ContextMenuSubTriggerBase({
1569
1609
  className,
@@ -1571,7 +1611,7 @@ function ContextMenuSubTriggerBase({
1571
1611
  children,
1572
1612
  ...props
1573
1613
  }) {
1574
- return /* @__PURE__ */ jsxs6(
1614
+ return /* @__PURE__ */ jsxs7(
1575
1615
  ContextMenuPrimitive.SubTrigger,
1576
1616
  {
1577
1617
  "data-slot": "context-menu-sub-trigger",
@@ -1587,7 +1627,7 @@ function ContextMenuSubTriggerBase({
1587
1627
  ...props,
1588
1628
  children: [
1589
1629
  children,
1590
- /* @__PURE__ */ jsx12(CaretRight3, { className: "ml-auto" })
1630
+ /* @__PURE__ */ jsx13(CaretRight3, { className: "ml-auto" })
1591
1631
  ]
1592
1632
  }
1593
1633
  );
@@ -1596,7 +1636,7 @@ function ContextMenuSubContentBase({
1596
1636
  className,
1597
1637
  ...props
1598
1638
  }) {
1599
- return /* @__PURE__ */ jsx12(
1639
+ return /* @__PURE__ */ jsx13(
1600
1640
  ContextMenuPrimitive.SubContent,
1601
1641
  {
1602
1642
  "data-slot": "context-menu-sub-content",
@@ -1616,7 +1656,7 @@ function ContextMenuContentBase({
1616
1656
  className,
1617
1657
  ...props
1618
1658
  }) {
1619
- return /* @__PURE__ */ jsx12(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx12(
1659
+ return /* @__PURE__ */ jsx13(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx13(
1620
1660
  ContextMenuPrimitive.Content,
1621
1661
  {
1622
1662
  "data-slot": "context-menu-content",
@@ -1639,7 +1679,7 @@ function ContextMenuItemBase({
1639
1679
  variant = "default",
1640
1680
  ...props
1641
1681
  }) {
1642
- return /* @__PURE__ */ jsx12(
1682
+ return /* @__PURE__ */ jsx13(
1643
1683
  ContextMenuPrimitive.Item,
1644
1684
  {
1645
1685
  "data-slot": "context-menu-item",
@@ -1667,7 +1707,7 @@ function ContextMenuCheckboxItemBase({
1667
1707
  checked,
1668
1708
  ...props
1669
1709
  }) {
1670
- return /* @__PURE__ */ jsxs6(
1710
+ return /* @__PURE__ */ jsxs7(
1671
1711
  ContextMenuPrimitive.CheckboxItem,
1672
1712
  {
1673
1713
  "data-slot": "context-menu-checkbox-item",
@@ -1682,7 +1722,7 @@ function ContextMenuCheckboxItemBase({
1682
1722
  checked,
1683
1723
  ...props,
1684
1724
  children: [
1685
- /* @__PURE__ */ jsx12("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx12(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx12(Check2, { className: "size-4" }) }) }),
1725
+ /* @__PURE__ */ jsx13("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx13(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx13(Check2, { className: "size-4" }) }) }),
1686
1726
  children
1687
1727
  ]
1688
1728
  }
@@ -1693,7 +1733,7 @@ function ContextMenuRadioItemBase({
1693
1733
  children,
1694
1734
  ...props
1695
1735
  }) {
1696
- return /* @__PURE__ */ jsxs6(
1736
+ return /* @__PURE__ */ jsxs7(
1697
1737
  ContextMenuPrimitive.RadioItem,
1698
1738
  {
1699
1739
  "data-slot": "context-menu-radio-item",
@@ -1707,7 +1747,7 @@ function ContextMenuRadioItemBase({
1707
1747
  ),
1708
1748
  ...props,
1709
1749
  children: [
1710
- /* @__PURE__ */ jsx12("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx12(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx12(Circle, { className: "size-2 fill-current" }) }) }),
1750
+ /* @__PURE__ */ jsx13("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx13(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx13(Circle, { className: "size-2 fill-current" }) }) }),
1711
1751
  children
1712
1752
  ]
1713
1753
  }
@@ -1718,7 +1758,7 @@ function ContextMenuLabelBase({
1718
1758
  inset,
1719
1759
  ...props
1720
1760
  }) {
1721
- return /* @__PURE__ */ jsx12(
1761
+ return /* @__PURE__ */ jsx13(
1722
1762
  ContextMenuPrimitive.Label,
1723
1763
  {
1724
1764
  "data-slot": "context-menu-label",
@@ -1732,7 +1772,7 @@ function ContextMenuSeparatorBase({
1732
1772
  className,
1733
1773
  ...props
1734
1774
  }) {
1735
- return /* @__PURE__ */ jsx12(
1775
+ return /* @__PURE__ */ jsx13(
1736
1776
  ContextMenuPrimitive.Separator,
1737
1777
  {
1738
1778
  "data-slot": "context-menu-separator",
@@ -1745,7 +1785,7 @@ function ContextMenuShortcutBase({
1745
1785
  className,
1746
1786
  ...props
1747
1787
  }) {
1748
- return /* @__PURE__ */ jsx12(
1788
+ return /* @__PURE__ */ jsx13(
1749
1789
  "span",
1750
1790
  {
1751
1791
  "data-slot": "context-menu-shortcut",
@@ -1757,32 +1797,32 @@ function ContextMenuShortcutBase({
1757
1797
 
1758
1798
  // src/components/ui/DrawerBase.tsx
1759
1799
  import { Drawer as DrawerPrimitive } from "vaul";
1760
- import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
1800
+ import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
1761
1801
  function DrawerBase({
1762
1802
  ...props
1763
1803
  }) {
1764
- return /* @__PURE__ */ jsx13(DrawerPrimitive.Root, { "data-slot": "drawer", ...props });
1804
+ return /* @__PURE__ */ jsx14(DrawerPrimitive.Root, { "data-slot": "drawer", ...props });
1765
1805
  }
1766
1806
  function DrawerTriggerBase({
1767
1807
  ...props
1768
1808
  }) {
1769
- return /* @__PURE__ */ jsx13(DrawerPrimitive.Trigger, { "data-slot": "drawer-trigger", ...props });
1809
+ return /* @__PURE__ */ jsx14(DrawerPrimitive.Trigger, { "data-slot": "drawer-trigger", ...props });
1770
1810
  }
1771
1811
  function DrawerPortalBase({
1772
1812
  ...props
1773
1813
  }) {
1774
- return /* @__PURE__ */ jsx13(DrawerPrimitive.Portal, { "data-slot": "drawer-portal", ...props });
1814
+ return /* @__PURE__ */ jsx14(DrawerPrimitive.Portal, { "data-slot": "drawer-portal", ...props });
1775
1815
  }
1776
1816
  function DrawerCloseBase({
1777
1817
  ...props
1778
1818
  }) {
1779
- return /* @__PURE__ */ jsx13(DrawerPrimitive.Close, { "data-slot": "drawer-close", ...props });
1819
+ return /* @__PURE__ */ jsx14(DrawerPrimitive.Close, { "data-slot": "drawer-close", ...props });
1780
1820
  }
1781
1821
  function DrawerOverlayBase({
1782
1822
  className,
1783
1823
  ...props
1784
1824
  }) {
1785
- return /* @__PURE__ */ jsx13(
1825
+ return /* @__PURE__ */ jsx14(
1786
1826
  DrawerPrimitive.Overlay,
1787
1827
  {
1788
1828
  "data-slot": "drawer-overlay",
@@ -1799,9 +1839,9 @@ function DrawerContentBase({
1799
1839
  children,
1800
1840
  ...props
1801
1841
  }) {
1802
- return /* @__PURE__ */ jsxs7(DrawerPortalBase, { children: [
1803
- /* @__PURE__ */ jsx13(DrawerOverlayBase, {}),
1804
- /* @__PURE__ */ jsxs7(
1842
+ return /* @__PURE__ */ jsxs8(DrawerPortalBase, { children: [
1843
+ /* @__PURE__ */ jsx14(DrawerOverlayBase, {}),
1844
+ /* @__PURE__ */ jsxs8(
1805
1845
  DrawerPrimitive.Content,
1806
1846
  {
1807
1847
  "data-slot": "drawer-content",
@@ -1815,7 +1855,7 @@ function DrawerContentBase({
1815
1855
  ),
1816
1856
  ...props,
1817
1857
  children: [
1818
- /* @__PURE__ */ jsx13("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
1858
+ /* @__PURE__ */ jsx14("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
1819
1859
  children
1820
1860
  ]
1821
1861
  }
@@ -1826,7 +1866,7 @@ function DrawerHeaderBase({
1826
1866
  className,
1827
1867
  ...props
1828
1868
  }) {
1829
- return /* @__PURE__ */ jsx13(
1869
+ return /* @__PURE__ */ jsx14(
1830
1870
  "div",
1831
1871
  {
1832
1872
  "data-slot": "drawer-header",
@@ -1842,7 +1882,7 @@ function DrawerFooterBase({
1842
1882
  className,
1843
1883
  ...props
1844
1884
  }) {
1845
- return /* @__PURE__ */ jsx13(
1885
+ return /* @__PURE__ */ jsx14(
1846
1886
  "div",
1847
1887
  {
1848
1888
  "data-slot": "drawer-footer",
@@ -1855,7 +1895,7 @@ function DrawerTitleBase({
1855
1895
  className,
1856
1896
  ...props
1857
1897
  }) {
1858
- return /* @__PURE__ */ jsx13(
1898
+ return /* @__PURE__ */ jsx14(
1859
1899
  DrawerPrimitive.Title,
1860
1900
  {
1861
1901
  "data-slot": "drawer-title",
@@ -1868,7 +1908,7 @@ function DrawerDescriptionBase({
1868
1908
  className,
1869
1909
  ...props
1870
1910
  }) {
1871
- return /* @__PURE__ */ jsx13(
1911
+ return /* @__PURE__ */ jsx14(
1872
1912
  DrawerPrimitive.Description,
1873
1913
  {
1874
1914
  "data-slot": "drawer-description",
@@ -1879,18 +1919,18 @@ function DrawerDescriptionBase({
1879
1919
  }
1880
1920
 
1881
1921
  // src/components/ui/DropDownMenuBase.tsx
1882
- import * as React9 from "react";
1922
+ import * as React10 from "react";
1883
1923
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1884
1924
  import { Check as Check3, CaretRight as CaretRight4, Circle as Circle2 } from "@phosphor-icons/react";
1885
1925
  import { motion as motion3, AnimatePresence as AnimatePresence2 } from "framer-motion";
1886
- import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
1926
+ import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
1887
1927
  var DropDownMenuBase = DropdownMenuPrimitive.Root;
1888
1928
  var DropDownMenuTriggerBase = DropdownMenuPrimitive.Trigger;
1889
1929
  var DropDownMenuGroupBase = DropdownMenuPrimitive.Group;
1890
1930
  var DropDownMenuPortalBase = DropdownMenuPrimitive.Portal;
1891
1931
  var DropDownMenuSubBase = DropdownMenuPrimitive.Sub;
1892
1932
  var DropDownMenuRadioGroupBase = DropdownMenuPrimitive.RadioGroup;
1893
- var DropDownMenuSubTriggerBase = React9.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs8(
1933
+ var DropDownMenuSubTriggerBase = React10.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs9(
1894
1934
  DropdownMenuPrimitive.SubTrigger,
1895
1935
  {
1896
1936
  ref,
@@ -1902,12 +1942,12 @@ var DropDownMenuSubTriggerBase = React9.forwardRef(({ className, inset, children
1902
1942
  ...props,
1903
1943
  children: [
1904
1944
  children,
1905
- /* @__PURE__ */ jsx14(CaretRight4, { className: "ml-auto" })
1945
+ /* @__PURE__ */ jsx15(CaretRight4, { className: "ml-auto" })
1906
1946
  ]
1907
1947
  }
1908
1948
  ));
1909
1949
  DropDownMenuSubTriggerBase.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
1910
- var DropDownMenuSubContentBase = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1950
+ var DropDownMenuSubContentBase = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1911
1951
  DropdownMenuPrimitive.SubContent,
1912
1952
  {
1913
1953
  ref,
@@ -1918,7 +1958,7 @@ var DropDownMenuSubContentBase = React9.forwardRef(({ className, ...props }, ref
1918
1958
  ...props
1919
1959
  }
1920
1960
  ));
1921
- var DropDownMenuContentBase = React9.forwardRef(({ className, sideOffset = 4, testid: dataTestId = "dropdown-content", ...props }, ref) => /* @__PURE__ */ jsx14(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx14(
1961
+ var DropDownMenuContentBase = React10.forwardRef(({ className, sideOffset = 4, testid: dataTestId = "dropdown-content", ...props }, ref) => /* @__PURE__ */ jsx15(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx15(
1922
1962
  DropdownMenuPrimitive.Content,
1923
1963
  {
1924
1964
  sideOffset,
@@ -1927,7 +1967,7 @@ var DropDownMenuContentBase = React9.forwardRef(({ className, sideOffset = 4, te
1927
1967
  className: cn("z-[9999] p-0", className),
1928
1968
  "data-testid": dataTestId,
1929
1969
  ...props,
1930
- children: /* @__PURE__ */ jsx14(AnimatePresence2, { children: /* @__PURE__ */ jsx14(
1970
+ children: /* @__PURE__ */ jsx15(AnimatePresence2, { children: /* @__PURE__ */ jsx15(
1931
1971
  motion3.div,
1932
1972
  {
1933
1973
  initial: { opacity: 0, scale: 0.95, y: 5 },
@@ -1944,7 +1984,7 @@ var DropDownMenuContentBase = React9.forwardRef(({ className, sideOffset = 4, te
1944
1984
  }
1945
1985
  ) }));
1946
1986
  DropDownMenuContentBase.displayName = DropdownMenuPrimitive.Content.displayName;
1947
- var DropDownMenuItemBase = React9.forwardRef(({ className, inset, leftIcon, rightIcon, children, ...props }, ref) => /* @__PURE__ */ jsxs8(
1987
+ var DropDownMenuItemBase = React10.forwardRef(({ className, inset, leftIcon, rightIcon, children, ...props }, ref) => /* @__PURE__ */ jsxs9(
1948
1988
  DropdownMenuPrimitive.Item,
1949
1989
  {
1950
1990
  ref,
@@ -1955,16 +1995,16 @@ var DropDownMenuItemBase = React9.forwardRef(({ className, inset, leftIcon, righ
1955
1995
  ),
1956
1996
  ...props,
1957
1997
  children: [
1958
- /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-2", children: [
1959
- leftIcon && /* @__PURE__ */ jsx14("span", { className: "[&>svg]:size-4", children: leftIcon }),
1998
+ /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-2", children: [
1999
+ leftIcon && /* @__PURE__ */ jsx15("span", { className: "[&>svg]:size-4", children: leftIcon }),
1960
2000
  children
1961
2001
  ] }),
1962
- rightIcon && /* @__PURE__ */ jsx14("span", { className: "[&>svg]:size-4", children: rightIcon })
2002
+ rightIcon && /* @__PURE__ */ jsx15("span", { className: "[&>svg]:size-4", children: rightIcon })
1963
2003
  ]
1964
2004
  }
1965
2005
  ));
1966
2006
  DropDownMenuItemBase.displayName = DropdownMenuPrimitive.Item.displayName;
1967
- var DropDownMenuCheckboxItemBase = React9.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs8(
2007
+ var DropDownMenuCheckboxItemBase = React10.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs9(
1968
2008
  DropdownMenuPrimitive.CheckboxItem,
1969
2009
  {
1970
2010
  ref,
@@ -1975,13 +2015,13 @@ var DropDownMenuCheckboxItemBase = React9.forwardRef(({ className, children, che
1975
2015
  checked,
1976
2016
  ...props,
1977
2017
  children: [
1978
- /* @__PURE__ */ jsx14("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx14(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx14(Check3, { className: "h-4 w-4" }) }) }),
2018
+ /* @__PURE__ */ jsx15("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx15(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx15(Check3, { className: "h-4 w-4" }) }) }),
1979
2019
  children
1980
2020
  ]
1981
2021
  }
1982
2022
  ));
1983
2023
  DropDownMenuCheckboxItemBase.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1984
- var DropDownMenuRadioItemBase = React9.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs8(
2024
+ var DropDownMenuRadioItemBase = React10.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs9(
1985
2025
  DropdownMenuPrimitive.RadioItem,
1986
2026
  {
1987
2027
  ref,
@@ -1991,13 +2031,13 @@ var DropDownMenuRadioItemBase = React9.forwardRef(({ className, children, ...pro
1991
2031
  ),
1992
2032
  ...props,
1993
2033
  children: [
1994
- /* @__PURE__ */ jsx14("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx14(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx14(Circle2, { className: "h-2 w-2 fill-current" }) }) }),
2034
+ /* @__PURE__ */ jsx15("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx15(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx15(Circle2, { className: "h-2 w-2 fill-current" }) }) }),
1995
2035
  children
1996
2036
  ]
1997
2037
  }
1998
2038
  ));
1999
2039
  DropDownMenuRadioItemBase.displayName = DropdownMenuPrimitive.RadioItem.displayName;
2000
- var DropDownMenuLabelBase = React9.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx14(
2040
+ var DropDownMenuLabelBase = React10.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx15(
2001
2041
  DropdownMenuPrimitive.Label,
2002
2042
  {
2003
2043
  ref,
@@ -2010,7 +2050,7 @@ var DropDownMenuLabelBase = React9.forwardRef(({ className, inset, ...props }, r
2010
2050
  }
2011
2051
  ));
2012
2052
  DropDownMenuLabelBase.displayName = DropdownMenuPrimitive.Label.displayName;
2013
- var DropDownMenuSeparatorBase = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
2053
+ var DropDownMenuSeparatorBase = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
2014
2054
  DropdownMenuPrimitive.Separator,
2015
2055
  {
2016
2056
  ref,
@@ -2023,7 +2063,7 @@ var DropDownMenuShortcutBase = ({
2023
2063
  className,
2024
2064
  ...props
2025
2065
  }) => {
2026
- return /* @__PURE__ */ jsx14(
2066
+ return /* @__PURE__ */ jsx15(
2027
2067
  "span",
2028
2068
  {
2029
2069
  className: cn("ml-auto text-xs tracking-widest opacity-60", className),
@@ -2038,17 +2078,17 @@ import { useState as useState3, useCallback as useCallback4, useMemo as useMemo3
2038
2078
  import { useSearchParams } from "react-router-dom";
2039
2079
 
2040
2080
  // src/components/ui/InputBase.tsx
2041
- import * as React11 from "react";
2081
+ import * as React12 from "react";
2042
2082
 
2043
2083
  // src/components/ui/LabelBase.tsx
2044
- import * as React10 from "react";
2084
+ import * as React11 from "react";
2045
2085
  import { Label as RadixLabel } from "@radix-ui/react-label";
2046
2086
  import { Slot as Slot4 } from "@radix-ui/react-slot";
2047
- import { jsx as jsx15 } from "react/jsx-runtime";
2048
- var LabelBase = React10.forwardRef(
2087
+ import { jsx as jsx16 } from "react/jsx-runtime";
2088
+ var LabelBase = React11.forwardRef(
2049
2089
  ({ className, asChild = false, testid = "label-base", ...props }, ref) => {
2050
2090
  const Comp = asChild ? Slot4 : "label";
2051
- return /* @__PURE__ */ jsx15(RadixLabel, { children: /* @__PURE__ */ jsx15(
2091
+ return /* @__PURE__ */ jsx16(RadixLabel, { children: /* @__PURE__ */ jsx16(
2052
2092
  Comp,
2053
2093
  {
2054
2094
  ref,
@@ -2066,8 +2106,8 @@ LabelBase.displayName = "LabelBase";
2066
2106
  var LabelBase_default = LabelBase;
2067
2107
 
2068
2108
  // src/components/ui/InputBase.tsx
2069
- import { jsx as jsx16, jsxs as jsxs9 } from "react/jsx-runtime";
2070
- var InputBase = React11.forwardRef(
2109
+ import { jsx as jsx17, jsxs as jsxs10 } from "react/jsx-runtime";
2110
+ var InputBase = React12.forwardRef(
2071
2111
  ({
2072
2112
  className,
2073
2113
  type = "text",
@@ -2078,9 +2118,9 @@ var InputBase = React11.forwardRef(
2078
2118
  "data-testid": dataTestId,
2079
2119
  ...props
2080
2120
  }, ref) => {
2081
- return /* @__PURE__ */ jsxs9("div", { className: "flex flex-col w-full min-w-[150px]", children: [
2082
- label && /* @__PURE__ */ jsx16(LabelBase_default, { className: labelClassname, children: label }),
2083
- /* @__PURE__ */ jsxs9(
2121
+ return /* @__PURE__ */ jsxs10("div", { className: "flex flex-col w-full min-w-[150px]", children: [
2122
+ label && /* @__PURE__ */ jsx17(LabelBase_default, { className: labelClassname, children: label }),
2123
+ /* @__PURE__ */ jsxs10(
2084
2124
  "div",
2085
2125
  {
2086
2126
  className: cn(
@@ -2088,8 +2128,8 @@ var InputBase = React11.forwardRef(
2088
2128
  type !== "file" && "border border-input"
2089
2129
  ),
2090
2130
  children: [
2091
- leftIcon && /* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-2", children: leftIcon }),
2092
- /* @__PURE__ */ jsx16(
2131
+ leftIcon && /* @__PURE__ */ jsx17("div", { className: "flex items-center justify-center px-2", children: leftIcon }),
2132
+ /* @__PURE__ */ jsx17(
2093
2133
  "input",
2094
2134
  {
2095
2135
  type,
@@ -2102,7 +2142,7 @@ var InputBase = React11.forwardRef(
2102
2142
  ...props
2103
2143
  }
2104
2144
  ),
2105
- rightIcon && /* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-2", children: rightIcon })
2145
+ rightIcon && /* @__PURE__ */ jsx17("div", { className: "flex items-center justify-center px-2", children: rightIcon })
2106
2146
  ]
2107
2147
  }
2108
2148
  )
@@ -2115,13 +2155,13 @@ InputBase.displayName = "Input";
2115
2155
  import { useCallback as useCallback2, useMemo } from "react";
2116
2156
 
2117
2157
  // src/components/ui/PopoverBase.tsx
2118
- import * as React12 from "react";
2158
+ import * as React13 from "react";
2119
2159
  import * as PopoverPrimitive from "@radix-ui/react-popover";
2120
- import { jsx as jsx17 } from "react/jsx-runtime";
2160
+ import { jsx as jsx18 } from "react/jsx-runtime";
2121
2161
  var PopoverBase = PopoverPrimitive.Root;
2122
2162
  var PopoverTriggerBase = PopoverPrimitive.Trigger;
2123
2163
  var PopoverAnchorBase = PopoverPrimitive.Anchor;
2124
- var PopoverContentBase = React12.forwardRef(({ className, align = "center", sideOffset = 4, testid: dataTestId = "popover-content", ...props }, ref) => /* @__PURE__ */ jsx17(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx17(
2164
+ var PopoverContentBase = React13.forwardRef(({ className, align = "center", sideOffset = 4, testid: dataTestId = "popover-content", ...props }, ref) => /* @__PURE__ */ jsx18(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx18(
2125
2165
  PopoverPrimitive.Content,
2126
2166
  {
2127
2167
  ref,
@@ -2140,7 +2180,7 @@ PopoverContentBase.displayName = PopoverPrimitive.Content.displayName;
2140
2180
  // src/components/selects/ComboboxBase.tsx
2141
2181
  import { CaretDown, Check as Check4 } from "@phosphor-icons/react";
2142
2182
  import { useState as useState2 } from "react";
2143
- import { jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
2183
+ import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
2144
2184
  function ComboboxBase({
2145
2185
  items,
2146
2186
  renderSelected,
@@ -2151,18 +2191,18 @@ function ComboboxBase({
2151
2191
  testIds = {}
2152
2192
  }) {
2153
2193
  const [open, setOpen] = useState2(false);
2154
- return /* @__PURE__ */ jsx18(
2194
+ return /* @__PURE__ */ jsx19(
2155
2195
  "div",
2156
2196
  {
2157
2197
  className: "col-span-1 w-full",
2158
2198
  "data-testid": testIds.root ?? "combobox-base-root",
2159
- children: /* @__PURE__ */ jsxs10(PopoverBase, { open, onOpenChange: setOpen, modal: true, children: [
2160
- /* @__PURE__ */ jsx18(
2199
+ children: /* @__PURE__ */ jsxs11(PopoverBase, { open, onOpenChange: setOpen, modal: true, children: [
2200
+ /* @__PURE__ */ jsx19(
2161
2201
  PopoverTriggerBase,
2162
2202
  {
2163
2203
  asChild: true,
2164
2204
  className: "flex w-full justify-between dark:bg-[hsl(231,15%,19%)]",
2165
- children: /* @__PURE__ */ jsxs10(
2205
+ children: /* @__PURE__ */ jsxs11(
2166
2206
  ButtonBase,
2167
2207
  {
2168
2208
  variant: "outline",
@@ -2175,24 +2215,24 @@ function ComboboxBase({
2175
2215
  "data-testid": testIds.trigger ?? "combobox-trigger",
2176
2216
  children: [
2177
2217
  renderSelected,
2178
- /* @__PURE__ */ jsx18(CaretDown, { size: 16, className: "mt-0.5" })
2218
+ /* @__PURE__ */ jsx19(CaretDown, { size: 16, className: "mt-0.5" })
2179
2219
  ]
2180
2220
  }
2181
2221
  )
2182
2222
  }
2183
2223
  ),
2184
- /* @__PURE__ */ jsx18(
2224
+ /* @__PURE__ */ jsx19(
2185
2225
  PopoverContentBase,
2186
2226
  {
2187
2227
  className: "max-h-[--radix-popover-content-available-height] w-[--radix-popover-trigger-width] p-0 border-none",
2188
2228
  "data-testid": testIds.popover ?? "combobox-popover",
2189
- children: /* @__PURE__ */ jsxs10(
2229
+ children: /* @__PURE__ */ jsxs11(
2190
2230
  CommandBase,
2191
2231
  {
2192
2232
  className: "dark:text-white",
2193
2233
  "data-testid": testIds.command ?? "combobox-command",
2194
2234
  children: [
2195
- /* @__PURE__ */ jsx18(
2235
+ /* @__PURE__ */ jsx19(
2196
2236
  CommandInputBase,
2197
2237
  {
2198
2238
  tabIndex: -1,
@@ -2200,11 +2240,11 @@ function ComboboxBase({
2200
2240
  "data-testid": testIds.search ?? "combobox-search"
2201
2241
  }
2202
2242
  ),
2203
- /* @__PURE__ */ jsxs10(CommandListBase, { "data-testid": testIds.list ?? "combobox-list", children: [
2204
- /* @__PURE__ */ jsx18(CommandEmptyBase, { "data-testid": testIds.empty ?? "combobox-empty", children: "Nenhum dado encontrado" }),
2205
- /* @__PURE__ */ jsx18(CommandGroupBase, { "data-testid": testIds.group ?? "combobox-group", children: items.map((item) => {
2243
+ /* @__PURE__ */ jsxs11(CommandListBase, { "data-testid": testIds.list ?? "combobox-list", children: [
2244
+ /* @__PURE__ */ jsx19(CommandEmptyBase, { "data-testid": testIds.empty ?? "combobox-empty", children: "Nenhum dado encontrado" }),
2245
+ /* @__PURE__ */ jsx19(CommandGroupBase, { "data-testid": testIds.group ?? "combobox-group", children: items.map((item) => {
2206
2246
  const isSelected = checkIsSelected(item.value);
2207
- return /* @__PURE__ */ jsxs10(
2247
+ return /* @__PURE__ */ jsxs11(
2208
2248
  CommandItemBase,
2209
2249
  {
2210
2250
  keywords: [item.label],
@@ -2216,7 +2256,7 @@ function ComboboxBase({
2216
2256
  "data-testid": testIds.option ?? "combobox-option",
2217
2257
  children: [
2218
2258
  item.label,
2219
- /* @__PURE__ */ jsx18(
2259
+ /* @__PURE__ */ jsx19(
2220
2260
  Check4,
2221
2261
  {
2222
2262
  className: cn(
@@ -2243,7 +2283,7 @@ function ComboboxBase({
2243
2283
  }
2244
2284
 
2245
2285
  // src/components/selects/Combobox.tsx
2246
- import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
2286
+ import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
2247
2287
  function Combobox({
2248
2288
  items,
2249
2289
  selected,
@@ -2257,7 +2297,7 @@ function Combobox({
2257
2297
  }) {
2258
2298
  const selectedItem = items.find((item) => item.value === selected);
2259
2299
  const renderSelected = useMemo(() => {
2260
- return /* @__PURE__ */ jsx19(
2300
+ return /* @__PURE__ */ jsx20(
2261
2301
  "span",
2262
2302
  {
2263
2303
  "data-testid": testIds?.selected ?? "combobox-selected",
@@ -2276,9 +2316,9 @@ function Combobox({
2276
2316
  },
2277
2317
  [selected, onChange]
2278
2318
  );
2279
- return /* @__PURE__ */ jsxs11("div", { className: cn("flex flex-col gap-1 w-full min-w-[150px]", className), children: [
2280
- label && /* @__PURE__ */ jsx19(LabelBase_default, { className: labelClassname, children: label }),
2281
- /* @__PURE__ */ jsx19(
2319
+ return /* @__PURE__ */ jsxs12("div", { className: cn("flex flex-col gap-1 w-full min-w-[150px]", className), children: [
2320
+ label && /* @__PURE__ */ jsx20(LabelBase_default, { className: labelClassname, children: label }),
2321
+ /* @__PURE__ */ jsx20(
2282
2322
  ComboboxBase,
2283
2323
  {
2284
2324
  items,
@@ -2295,7 +2335,7 @@ function Combobox({
2295
2335
  // src/components/selects/MultiCombobox.tsx
2296
2336
  import { useCallback as useCallback3, useMemo as useMemo2 } from "react";
2297
2337
  import { X as X2 } from "@phosphor-icons/react";
2298
- import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
2338
+ import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
2299
2339
  function MultiCombobox({
2300
2340
  items,
2301
2341
  selected,
@@ -2325,7 +2365,7 @@ function MultiCombobox({
2325
2365
  );
2326
2366
  const renderSelected = useMemo2(() => {
2327
2367
  if (selectedItems.length === 0) {
2328
- return /* @__PURE__ */ jsx20(
2368
+ return /* @__PURE__ */ jsx21(
2329
2369
  "span",
2330
2370
  {
2331
2371
  "data-testid": testIds.emptyPlaceholder ?? "combobox-selected-empty",
@@ -2334,19 +2374,19 @@ function MultiCombobox({
2334
2374
  }
2335
2375
  );
2336
2376
  }
2337
- return /* @__PURE__ */ jsx20(
2377
+ return /* @__PURE__ */ jsx21(
2338
2378
  "div",
2339
2379
  {
2340
2380
  "data-testid": testIds.selectedWrapper ?? "combobox-selected-wrapper",
2341
2381
  className: "flex w-full flex-wrap gap-2",
2342
- children: selectedItems.map((item) => /* @__PURE__ */ jsxs12(
2382
+ children: selectedItems.map((item) => /* @__PURE__ */ jsxs13(
2343
2383
  "div",
2344
2384
  {
2345
2385
  className: "flex items-center gap-1 rounded-md border p-1",
2346
2386
  "data-testid": testIds.selectedItem?.(item.value) ?? `combobox-selected-${item.value}`,
2347
2387
  children: [
2348
- /* @__PURE__ */ jsx20("span", { className: "whitespace-break-spaces text-xs", children: item.label }),
2349
- /* @__PURE__ */ jsx20(
2388
+ /* @__PURE__ */ jsx21("span", { className: "whitespace-break-spaces text-xs", children: item.label }),
2389
+ /* @__PURE__ */ jsx21(
2350
2390
  "span",
2351
2391
  {
2352
2392
  role: "button",
@@ -2356,7 +2396,7 @@ function MultiCombobox({
2356
2396
  handleSelection(item.value);
2357
2397
  },
2358
2398
  className: "cursor-pointer p-0 m-0 text-xs flex items-center justify-center hover:text-red-500 hover:scale-110 transition-all",
2359
- children: /* @__PURE__ */ jsx20(X2, { size: 14 })
2399
+ children: /* @__PURE__ */ jsx21(X2, { size: 14 })
2360
2400
  }
2361
2401
  )
2362
2402
  ]
@@ -2366,13 +2406,13 @@ function MultiCombobox({
2366
2406
  }
2367
2407
  );
2368
2408
  }, [handleSelection, placeholder, selectedItems, testIds]);
2369
- return /* @__PURE__ */ jsxs12(
2409
+ return /* @__PURE__ */ jsxs13(
2370
2410
  "div",
2371
2411
  {
2372
2412
  className: cn("flex flex-col gap-1 w-full min-w-[150px]", className),
2373
2413
  "data-testid": testIds.root ?? "multi-combobox-root",
2374
2414
  children: [
2375
- label && /* @__PURE__ */ jsx20(
2415
+ label && /* @__PURE__ */ jsx21(
2376
2416
  LabelBase_default,
2377
2417
  {
2378
2418
  className: labelClassname,
@@ -2380,7 +2420,7 @@ function MultiCombobox({
2380
2420
  children: label
2381
2421
  }
2382
2422
  ),
2383
- /* @__PURE__ */ jsx20(
2423
+ /* @__PURE__ */ jsx21(
2384
2424
  ComboboxBase,
2385
2425
  {
2386
2426
  items,
@@ -2396,13 +2436,13 @@ function MultiCombobox({
2396
2436
  }
2397
2437
 
2398
2438
  // src/components/ui/TooltipBase.tsx
2399
- import * as React13 from "react";
2439
+ import * as React14 from "react";
2400
2440
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
2401
- import { jsx as jsx21 } from "react/jsx-runtime";
2441
+ import { jsx as jsx22 } from "react/jsx-runtime";
2402
2442
  var TooltipProviderBase = TooltipPrimitive.Provider;
2403
2443
  var TooltipBase = TooltipPrimitive.Root;
2404
2444
  var TooltipTriggerBase = TooltipPrimitive.Trigger;
2405
- var TooltipContentBase = React13.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx21(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx21(
2445
+ var TooltipContentBase = React14.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx22(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx22(
2406
2446
  TooltipPrimitive.Content,
2407
2447
  {
2408
2448
  ref,
@@ -2419,16 +2459,16 @@ TooltipContentBase.displayName = TooltipPrimitive.Content.displayName;
2419
2459
  // src/components/ui/FilterBase.tsx
2420
2460
  var import_colors = __toESM(require_colors2());
2421
2461
  import { FunnelSimple, Plus, Trash } from "@phosphor-icons/react";
2422
- import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
2462
+ import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
2423
2463
 
2424
2464
  // src/components/ui/HoverCardBase.tsx
2425
2465
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
2426
- import { jsx as jsx23 } from "react/jsx-runtime";
2466
+ import { jsx as jsx24 } from "react/jsx-runtime";
2427
2467
  function HoverCardBase(props) {
2428
- return /* @__PURE__ */ jsx23(HoverCardPrimitive.Root, { ...props });
2468
+ return /* @__PURE__ */ jsx24(HoverCardPrimitive.Root, { ...props });
2429
2469
  }
2430
2470
  function HoverCardTriggerBase(props) {
2431
- return /* @__PURE__ */ jsx23(HoverCardPrimitive.Trigger, { ...props });
2471
+ return /* @__PURE__ */ jsx24(HoverCardPrimitive.Trigger, { ...props });
2432
2472
  }
2433
2473
  function HoverCardContentBase({
2434
2474
  className,
@@ -2436,7 +2476,7 @@ function HoverCardContentBase({
2436
2476
  sideOffset = 4,
2437
2477
  ...props
2438
2478
  }) {
2439
- return /* @__PURE__ */ jsx23(HoverCardPrimitive.Portal, { children: /* @__PURE__ */ jsx23(
2479
+ return /* @__PURE__ */ jsx24(HoverCardPrimitive.Portal, { children: /* @__PURE__ */ jsx24(
2440
2480
  HoverCardPrimitive.Content,
2441
2481
  {
2442
2482
  align,
@@ -2458,16 +2498,16 @@ function HoverCardContentBase({
2458
2498
  }
2459
2499
 
2460
2500
  // src/components/ui/Input-OTP-Base.tsx
2461
- import * as React14 from "react";
2501
+ import * as React15 from "react";
2462
2502
  import { OTPInput, OTPInputContext } from "input-otp";
2463
2503
  import { Minus } from "@phosphor-icons/react";
2464
- import { jsx as jsx24, jsxs as jsxs14 } from "react/jsx-runtime";
2504
+ import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
2465
2505
  function InputOTPBase({
2466
2506
  className,
2467
2507
  containerClassName,
2468
2508
  ...props
2469
2509
  }) {
2470
- return /* @__PURE__ */ jsx24(
2510
+ return /* @__PURE__ */ jsx25(
2471
2511
  OTPInput,
2472
2512
  {
2473
2513
  "data-slot": "input-otp",
@@ -2481,7 +2521,7 @@ function InputOTPBase({
2481
2521
  );
2482
2522
  }
2483
2523
  function InputOTPGroupBase({ className, ...props }) {
2484
- return /* @__PURE__ */ jsx24(
2524
+ return /* @__PURE__ */ jsx25(
2485
2525
  "div",
2486
2526
  {
2487
2527
  "data-slot": "input-otp-group",
@@ -2495,9 +2535,9 @@ function InputOTPSlotBase({
2495
2535
  className,
2496
2536
  ...props
2497
2537
  }) {
2498
- const inputOTPContext = React14.useContext(OTPInputContext);
2538
+ const inputOTPContext = React15.useContext(OTPInputContext);
2499
2539
  const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
2500
- return /* @__PURE__ */ jsxs14(
2540
+ return /* @__PURE__ */ jsxs15(
2501
2541
  "div",
2502
2542
  {
2503
2543
  "data-slot": "input-otp-slot",
@@ -2509,27 +2549,26 @@ function InputOTPSlotBase({
2509
2549
  ...props,
2510
2550
  children: [
2511
2551
  char,
2512
- hasFakeCaret && /* @__PURE__ */ jsx24("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx24("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" }) })
2552
+ hasFakeCaret && /* @__PURE__ */ jsx25("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx25("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" }) })
2513
2553
  ]
2514
2554
  }
2515
2555
  );
2516
2556
  }
2517
2557
  function InputOTPSeparatorBase({ ...props }) {
2518
- return /* @__PURE__ */ jsx24("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx24(Minus, {}) });
2558
+ return /* @__PURE__ */ jsx25("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx25(Minus, {}) });
2519
2559
  }
2520
2560
 
2521
2561
  // src/components/ui/NavigationMenuBase.tsx
2522
2562
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
2523
- import { cva as cva3 } from "class-variance-authority";
2524
- import { CaretDown as CaretDown2 } from "@phosphor-icons/react";
2525
- import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
2563
+ import { CaretDownIcon } from "@phosphor-icons/react";
2564
+ import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
2526
2565
  function NavigationMenuBase({
2527
2566
  className,
2528
2567
  children,
2529
2568
  viewport = true,
2530
2569
  ...props
2531
2570
  }) {
2532
- return /* @__PURE__ */ jsxs15(
2571
+ return /* @__PURE__ */ jsxs16(
2533
2572
  NavigationMenuPrimitive.Root,
2534
2573
  {
2535
2574
  "data-slot": "navigation-menu",
@@ -2541,7 +2580,7 @@ function NavigationMenuBase({
2541
2580
  ...props,
2542
2581
  children: [
2543
2582
  children,
2544
- viewport && /* @__PURE__ */ jsx25(NavigationMenuViewportBase, {})
2583
+ viewport && /* @__PURE__ */ jsx26(NavigationMenuViewportBase, {})
2545
2584
  ]
2546
2585
  }
2547
2586
  );
@@ -2550,7 +2589,7 @@ function NavigationMenuListBase({
2550
2589
  className,
2551
2590
  ...props
2552
2591
  }) {
2553
- return /* @__PURE__ */ jsx25(
2592
+ return /* @__PURE__ */ jsx26(
2554
2593
  NavigationMenuPrimitive.List,
2555
2594
  {
2556
2595
  "data-slot": "navigation-menu-list",
@@ -2566,7 +2605,7 @@ function NavigationMenuItemBase({
2566
2605
  className,
2567
2606
  ...props
2568
2607
  }) {
2569
- return /* @__PURE__ */ jsx25(
2608
+ return /* @__PURE__ */ jsx26(
2570
2609
  NavigationMenuPrimitive.Item,
2571
2610
  {
2572
2611
  "data-slot": "navigation-menu-item",
@@ -2575,24 +2614,21 @@ function NavigationMenuItemBase({
2575
2614
  }
2576
2615
  );
2577
2616
  }
2578
- var navigationMenuTriggerStyle = cva3(
2579
- "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
2580
- );
2581
2617
  function NavigationMenuTriggerBase({
2582
2618
  className,
2583
2619
  children,
2584
2620
  ...props
2585
2621
  }) {
2586
- return /* @__PURE__ */ jsxs15(
2622
+ return /* @__PURE__ */ jsxs16(
2587
2623
  NavigationMenuPrimitive.Trigger,
2588
2624
  {
2589
2625
  "data-slot": "navigation-menu-trigger",
2590
- className: cn(navigationMenuTriggerStyle(), "group", className),
2626
+ className: cn("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1", "group", className),
2591
2627
  ...props,
2592
2628
  children: [
2593
2629
  children,
2594
- /* @__PURE__ */ jsx25(
2595
- CaretDown2,
2630
+ /* @__PURE__ */ jsx26(
2631
+ CaretDownIcon,
2596
2632
  {
2597
2633
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
2598
2634
  "aria-hidden": "true"
@@ -2606,7 +2642,7 @@ function NavigationMenuContentBase({
2606
2642
  className,
2607
2643
  ...props
2608
2644
  }) {
2609
- return /* @__PURE__ */ jsx25(
2645
+ return /* @__PURE__ */ jsx26(
2610
2646
  NavigationMenuPrimitive.Content,
2611
2647
  {
2612
2648
  "data-slot": "navigation-menu-content",
@@ -2623,7 +2659,7 @@ function NavigationMenuViewportBase({
2623
2659
  className,
2624
2660
  ...props
2625
2661
  }) {
2626
- return /* @__PURE__ */ jsx25("div", { className: cn("absolute top-full left-0 isolate z-50 flex justify-center"), children: /* @__PURE__ */ jsx25(
2662
+ return /* @__PURE__ */ jsx26("div", { className: cn("absolute top-full left-0 isolate z-50 flex justify-center"), children: /* @__PURE__ */ jsx26(
2627
2663
  NavigationMenuPrimitive.Viewport,
2628
2664
  {
2629
2665
  "data-slot": "navigation-menu-viewport",
@@ -2639,7 +2675,7 @@ function NavigationMenuLinkBase({
2639
2675
  className,
2640
2676
  ...props
2641
2677
  }) {
2642
- return /* @__PURE__ */ jsx25(
2678
+ return /* @__PURE__ */ jsx26(
2643
2679
  NavigationMenuPrimitive.Link,
2644
2680
  {
2645
2681
  "data-slot": "navigation-menu-link",
@@ -2655,7 +2691,7 @@ function NavigationMenuIndicatorBase({
2655
2691
  className,
2656
2692
  ...props
2657
2693
  }) {
2658
- return /* @__PURE__ */ jsx25(
2694
+ return /* @__PURE__ */ jsx26(
2659
2695
  NavigationMenuPrimitive.Indicator,
2660
2696
  {
2661
2697
  "data-slot": "navigation-menu-indicator",
@@ -2664,21 +2700,21 @@ function NavigationMenuIndicatorBase({
2664
2700
  className
2665
2701
  ),
2666
2702
  ...props,
2667
- children: /* @__PURE__ */ jsx25("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
2703
+ children: /* @__PURE__ */ jsx26("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
2668
2704
  }
2669
2705
  );
2670
2706
  }
2671
2707
 
2672
2708
  // src/components/ui/ProgressBase.tsx
2673
- import * as React15 from "react";
2709
+ import * as React16 from "react";
2674
2710
  import * as ProgressPrimitive from "@radix-ui/react-progress";
2675
- import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
2676
- var ProgressBase = React15.forwardRef(({ className, value, label, leftIcon, rightIcon, ...props }, ref) => {
2677
- return /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-1 w-full min-w-[150px]", children: [
2678
- label && /* @__PURE__ */ jsx26(LabelBase_default, { className: "py-2", children: label }),
2679
- /* @__PURE__ */ jsxs16("div", { className: "flex items-center gap-2", children: [
2680
- leftIcon && /* @__PURE__ */ jsx26("div", { className: "flex items-center justify-center", children: leftIcon }),
2681
- /* @__PURE__ */ jsx26(
2711
+ import { jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
2712
+ var ProgressBase = React16.forwardRef(({ className, value, label, leftIcon, rightIcon, ...props }, ref) => {
2713
+ return /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-1 w-full min-w-[150px]", children: [
2714
+ label && /* @__PURE__ */ jsx27(LabelBase_default, { className: "py-2", children: label }),
2715
+ /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-2", children: [
2716
+ leftIcon && /* @__PURE__ */ jsx27("div", { className: "flex items-center justify-center", children: leftIcon }),
2717
+ /* @__PURE__ */ jsx27(
2682
2718
  ProgressPrimitive.Root,
2683
2719
  {
2684
2720
  ref,
@@ -2688,7 +2724,7 @@ var ProgressBase = React15.forwardRef(({ className, value, label, leftIcon, righ
2688
2724
  ),
2689
2725
  value,
2690
2726
  ...props,
2691
- children: /* @__PURE__ */ jsx26(
2727
+ children: /* @__PURE__ */ jsx27(
2692
2728
  ProgressPrimitive.Indicator,
2693
2729
  {
2694
2730
  className: "h-full w-full flex-1 bg-primary transition-all duration-500 ease-in-out",
@@ -2697,7 +2733,7 @@ var ProgressBase = React15.forwardRef(({ className, value, label, leftIcon, righ
2697
2733
  )
2698
2734
  }
2699
2735
  ),
2700
- rightIcon && /* @__PURE__ */ jsx26("div", { className: "flex items-center justify-center", children: rightIcon })
2736
+ rightIcon && /* @__PURE__ */ jsx27("div", { className: "flex items-center justify-center", children: rightIcon })
2701
2737
  ] })
2702
2738
  ] });
2703
2739
  });
@@ -2708,9 +2744,9 @@ var ProgressSegmentsBase = ({
2708
2744
  value
2709
2745
  }) => {
2710
2746
  const filled = Math.round(value / 100 * segments);
2711
- return /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-1 w-full min-w-[150px]", children: [
2712
- label && /* @__PURE__ */ jsx26(LabelBase_default, { className: "py-2", children: label }),
2713
- /* @__PURE__ */ jsx26("div", { className: "flex gap-1 w-full", children: Array.from({ length: segments }).map((_, idx) => /* @__PURE__ */ jsx26(
2747
+ return /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-1 w-full min-w-[150px]", children: [
2748
+ label && /* @__PURE__ */ jsx27(LabelBase_default, { className: "py-2", children: label }),
2749
+ /* @__PURE__ */ jsx27("div", { className: "flex gap-1 w-full", children: Array.from({ length: segments }).map((_, idx) => /* @__PURE__ */ jsx27(
2714
2750
  "div",
2715
2751
  {
2716
2752
  className: cn(
@@ -2722,7 +2758,7 @@ var ProgressSegmentsBase = ({
2722
2758
  )) })
2723
2759
  ] });
2724
2760
  };
2725
- var ArrowRightIcon = () => /* @__PURE__ */ jsx26(
2761
+ var ArrowRightIcon = () => /* @__PURE__ */ jsx27(
2726
2762
  "svg",
2727
2763
  {
2728
2764
  className: "w-6 h-6 text-zinc-400 transition-transform duration-300 group-hover:translate-x-1",
@@ -2731,7 +2767,7 @@ var ArrowRightIcon = () => /* @__PURE__ */ jsx26(
2731
2767
  strokeWidth: 2,
2732
2768
  viewBox: "0 0 24 24",
2733
2769
  xmlns: "http://www.w3.org/2000/svg",
2734
- children: /* @__PURE__ */ jsx26("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9 5l7 7-7 7" })
2770
+ children: /* @__PURE__ */ jsx27("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9 5l7 7-7 7" })
2735
2771
  }
2736
2772
  );
2737
2773
  var ProgressPanelsBase = ({
@@ -2739,13 +2775,13 @@ var ProgressPanelsBase = ({
2739
2775
  steps,
2740
2776
  currentStep
2741
2777
  }) => {
2742
- return /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-1 w-full", children: [
2743
- label && /* @__PURE__ */ jsx26(LabelBase_default, { className: "py-2", children: label }),
2744
- /* @__PURE__ */ jsx26("div", { className: "flex w-full gap-1 rounded-lg overflow-hidden", children: steps.map((step, idx) => {
2778
+ return /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-1 w-full", children: [
2779
+ label && /* @__PURE__ */ jsx27(LabelBase_default, { className: "py-2", children: label }),
2780
+ /* @__PURE__ */ jsx27("div", { className: "flex w-full gap-1 rounded-lg overflow-hidden", children: steps.map((step, idx) => {
2745
2781
  const isActive = idx === currentStep;
2746
2782
  const isLast = idx === steps.length - 1;
2747
- return /* @__PURE__ */ jsxs16(React15.Fragment, { children: [
2748
- /* @__PURE__ */ jsxs16(
2783
+ return /* @__PURE__ */ jsxs17(React16.Fragment, { children: [
2784
+ /* @__PURE__ */ jsxs17(
2749
2785
  "div",
2750
2786
  {
2751
2787
  className: cn(
@@ -2756,12 +2792,12 @@ var ProgressPanelsBase = ({
2756
2792
  ),
2757
2793
  style: { flex: "1 1 0" },
2758
2794
  children: [
2759
- /* @__PURE__ */ jsx26("span", { className: "truncate", children: step }),
2760
- isActive && /* @__PURE__ */ jsx26("div", { className: "absolute bottom-0 left-0 h-1 w-full animate-pulse rounded-b-lg" })
2795
+ /* @__PURE__ */ jsx27("span", { className: "truncate", children: step }),
2796
+ isActive && /* @__PURE__ */ jsx27("div", { className: "absolute bottom-0 left-0 h-1 w-full animate-pulse rounded-b-lg" })
2761
2797
  ]
2762
2798
  }
2763
2799
  ),
2764
- !isLast && /* @__PURE__ */ jsx26("div", { className: "flex items-center px-2 group", children: /* @__PURE__ */ jsx26(ArrowRightIcon, {}) })
2800
+ !isLast && /* @__PURE__ */ jsx27("div", { className: "flex items-center px-2 group", children: /* @__PURE__ */ jsx27(ArrowRightIcon, {}) })
2765
2801
  ] }, idx);
2766
2802
  }) })
2767
2803
  ] });
@@ -2771,11 +2807,11 @@ var ProgressCirclesBase = ({
2771
2807
  steps,
2772
2808
  currentStep
2773
2809
  }) => {
2774
- return /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-2 w-full", children: [
2775
- label && /* @__PURE__ */ jsx26("label", { className: "py-2 text-base font-semibold text-gray-700 dark:text-gray-300", children: label }),
2776
- /* @__PURE__ */ jsxs16("div", { className: "relative flex items-center justify-between w-full", children: [
2777
- /* @__PURE__ */ jsx26("div", { className: "absolute top-5 left-0 w-full h-1 bg-zinc-200 dark:bg-zinc-700" }),
2778
- /* @__PURE__ */ jsx26(
2810
+ return /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-2 w-full", children: [
2811
+ label && /* @__PURE__ */ jsx27("label", { className: "py-2 text-base font-semibold text-gray-700 dark:text-gray-300", children: label }),
2812
+ /* @__PURE__ */ jsxs17("div", { className: "relative flex items-center justify-between w-full", children: [
2813
+ /* @__PURE__ */ jsx27("div", { className: "absolute top-5 left-0 w-full h-1 bg-zinc-200 dark:bg-zinc-700" }),
2814
+ /* @__PURE__ */ jsx27(
2779
2815
  "div",
2780
2816
  {
2781
2817
  className: "absolute top-5 left-0 h-1 bg-primary transition-all duration-300",
@@ -2786,13 +2822,13 @@ var ProgressCirclesBase = ({
2786
2822
  ),
2787
2823
  steps.map((step, idx) => {
2788
2824
  const isActive = idx <= currentStep;
2789
- return /* @__PURE__ */ jsxs16(
2825
+ return /* @__PURE__ */ jsxs17(
2790
2826
  "div",
2791
2827
  {
2792
2828
  className: "relative flex flex-col items-center w-10",
2793
2829
  style: { zIndex: isActive ? 10 : 1 },
2794
2830
  children: [
2795
- /* @__PURE__ */ jsx26(
2831
+ /* @__PURE__ */ jsx27(
2796
2832
  "div",
2797
2833
  {
2798
2834
  className: cn(
@@ -2802,7 +2838,7 @@ var ProgressCirclesBase = ({
2802
2838
  children: idx + 1
2803
2839
  }
2804
2840
  ),
2805
- /* @__PURE__ */ jsx26("span", { className: "text-xs text-center font-medium mt-1 max-w-[80px] break-words", children: step })
2841
+ /* @__PURE__ */ jsx27("span", { className: "text-xs text-center font-medium mt-1 max-w-[80px] break-words", children: step })
2806
2842
  ]
2807
2843
  },
2808
2844
  idx
@@ -2813,24 +2849,24 @@ var ProgressCirclesBase = ({
2813
2849
  };
2814
2850
 
2815
2851
  // src/components/ui/ScrollareaBase.tsx
2816
- import * as React16 from "react";
2852
+ import * as React17 from "react";
2817
2853
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
2818
- import { jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
2819
- var ScrollAreaBase = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs17(
2854
+ import { jsx as jsx28, jsxs as jsxs18 } from "react/jsx-runtime";
2855
+ var ScrollAreaBase = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs18(
2820
2856
  ScrollAreaPrimitive.Root,
2821
2857
  {
2822
2858
  ref,
2823
2859
  className: cn("relative overflow-hidden", className),
2824
2860
  ...props,
2825
2861
  children: [
2826
- /* @__PURE__ */ jsx27(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
2827
- /* @__PURE__ */ jsx27(ScrollBarBase, {}),
2828
- /* @__PURE__ */ jsx27(ScrollAreaPrimitive.Corner, {})
2862
+ /* @__PURE__ */ jsx28(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
2863
+ /* @__PURE__ */ jsx28(ScrollBarBase, {}),
2864
+ /* @__PURE__ */ jsx28(ScrollAreaPrimitive.Corner, {})
2829
2865
  ]
2830
2866
  }
2831
2867
  ));
2832
2868
  ScrollAreaBase.displayName = ScrollAreaPrimitive.Root.displayName;
2833
- var ScrollBarBase = React16.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx27(
2869
+ var ScrollBarBase = React17.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx28(
2834
2870
  ScrollAreaPrimitive.ScrollAreaScrollbar,
2835
2871
  {
2836
2872
  ref,
@@ -2842,21 +2878,21 @@ var ScrollBarBase = React16.forwardRef(({ className, orientation = "vertical", .
2842
2878
  className
2843
2879
  ),
2844
2880
  ...props,
2845
- children: /* @__PURE__ */ jsx27(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
2881
+ children: /* @__PURE__ */ jsx28(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
2846
2882
  }
2847
2883
  ));
2848
2884
  ScrollBarBase.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
2849
2885
 
2850
2886
  // src/components/ui/SelectBase.tsx
2851
- import * as React17 from "react";
2887
+ import * as React18 from "react";
2852
2888
  import * as SelectPrimitive from "@radix-ui/react-select";
2853
- import { Check as Check5, CaretDown as CaretDown3, CaretUp } from "@phosphor-icons/react";
2889
+ import { Check as Check5, CaretDown as CaretDown2, CaretUp } from "@phosphor-icons/react";
2854
2890
  import { motion as motion4, AnimatePresence as AnimatePresence3 } from "framer-motion";
2855
- import { Fragment as Fragment2, jsx as jsx28, jsxs as jsxs18 } from "react/jsx-runtime";
2891
+ import { Fragment as Fragment2, jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
2856
2892
  var SelectBase = SelectPrimitive.Root;
2857
2893
  var SelectGroupBase = SelectPrimitive.Group;
2858
2894
  var SelectValueBase = SelectPrimitive.Value;
2859
- var SelectTriggerBase = React17.forwardRef(({ className, children, open, ...props }, ref) => /* @__PURE__ */ jsxs18(
2895
+ var SelectTriggerBase = React18.forwardRef(({ className, children, open, ...props }, ref) => /* @__PURE__ */ jsxs19(
2860
2896
  SelectPrimitive.Trigger,
2861
2897
  {
2862
2898
  ref,
@@ -2867,20 +2903,20 @@ var SelectTriggerBase = React17.forwardRef(({ className, children, open, ...prop
2867
2903
  ...props,
2868
2904
  children: [
2869
2905
  children,
2870
- /* @__PURE__ */ jsx28(
2906
+ /* @__PURE__ */ jsx29(
2871
2907
  motion4.span,
2872
2908
  {
2873
2909
  animate: { rotate: open ? 180 : 0 },
2874
2910
  transition: { duration: 0.3 },
2875
2911
  className: "flex items-center",
2876
- children: /* @__PURE__ */ jsx28(CaretDown3, { className: "h-4 w-4 opacity-50" })
2912
+ children: /* @__PURE__ */ jsx29(CaretDown2, { className: "h-4 w-4 opacity-50" })
2877
2913
  }
2878
2914
  )
2879
2915
  ]
2880
2916
  }
2881
2917
  ));
2882
2918
  SelectTriggerBase.displayName = SelectPrimitive.Trigger.displayName;
2883
- var SelectScrollUpButtonBase = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
2919
+ var SelectScrollUpButtonBase = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2884
2920
  SelectPrimitive.ScrollUpButton,
2885
2921
  {
2886
2922
  ref,
@@ -2889,11 +2925,11 @@ var SelectScrollUpButtonBase = React17.forwardRef(({ className, ...props }, ref)
2889
2925
  className
2890
2926
  ),
2891
2927
  ...props,
2892
- children: /* @__PURE__ */ jsx28(CaretUp, { className: "h-4 w-4" })
2928
+ children: /* @__PURE__ */ jsx29(CaretUp, { className: "h-4 w-4" })
2893
2929
  }
2894
2930
  ));
2895
2931
  SelectScrollUpButtonBase.displayName = SelectPrimitive.ScrollUpButton.displayName;
2896
- var SelectScrollDownButtonBase = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
2932
+ var SelectScrollDownButtonBase = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2897
2933
  SelectPrimitive.ScrollDownButton,
2898
2934
  {
2899
2935
  ref,
@@ -2902,11 +2938,11 @@ var SelectScrollDownButtonBase = React17.forwardRef(({ className, ...props }, re
2902
2938
  className
2903
2939
  ),
2904
2940
  ...props,
2905
- children: /* @__PURE__ */ jsx28(CaretDown3, { className: "h-4 w-4" })
2941
+ children: /* @__PURE__ */ jsx29(CaretDown2, { className: "h-4 w-4" })
2906
2942
  }
2907
2943
  ));
2908
2944
  SelectScrollDownButtonBase.displayName = SelectPrimitive.ScrollDownButton.displayName;
2909
- var SelectContentBase = React17.forwardRef(({ className, children, position = "popper", testid: dataTestId = "select-content", ...props }, ref) => /* @__PURE__ */ jsx28(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx28(AnimatePresence3, { children: /* @__PURE__ */ jsx28(
2945
+ var SelectContentBase = React18.forwardRef(({ className, children, position = "popper", testid: dataTestId = "select-content", ...props }, ref) => /* @__PURE__ */ jsx29(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx29(AnimatePresence3, { children: /* @__PURE__ */ jsx29(
2910
2946
  SelectPrimitive.Content,
2911
2947
  {
2912
2948
  ref,
@@ -2918,16 +2954,16 @@ var SelectContentBase = React17.forwardRef(({ className, children, position = "p
2918
2954
  "data-testid": dataTestId,
2919
2955
  ...props,
2920
2956
  asChild: true,
2921
- children: /* @__PURE__ */ jsx28(
2957
+ children: /* @__PURE__ */ jsx29(
2922
2958
  motion4.div,
2923
2959
  {
2924
2960
  initial: { opacity: 0, scale: 0.95 },
2925
2961
  animate: { opacity: 1, scale: 1 },
2926
2962
  exit: { opacity: 0, scale: 0.95 },
2927
2963
  transition: { duration: 0.2 },
2928
- children: /* @__PURE__ */ jsxs18(Fragment2, { children: [
2929
- /* @__PURE__ */ jsx28(SelectScrollUpButtonBase, {}),
2930
- /* @__PURE__ */ jsx28(
2964
+ children: /* @__PURE__ */ jsxs19(Fragment2, { children: [
2965
+ /* @__PURE__ */ jsx29(SelectScrollUpButtonBase, {}),
2966
+ /* @__PURE__ */ jsx29(
2931
2967
  SelectPrimitive.Viewport,
2932
2968
  {
2933
2969
  className: cn(
@@ -2937,14 +2973,14 @@ var SelectContentBase = React17.forwardRef(({ className, children, position = "p
2937
2973
  children
2938
2974
  }
2939
2975
  ),
2940
- /* @__PURE__ */ jsx28(SelectScrollDownButtonBase, {})
2976
+ /* @__PURE__ */ jsx29(SelectScrollDownButtonBase, {})
2941
2977
  ] })
2942
2978
  }
2943
2979
  )
2944
2980
  }
2945
2981
  ) }) }));
2946
2982
  SelectContentBase.displayName = SelectPrimitive.Content.displayName;
2947
- var SelectLabelBase = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
2983
+ var SelectLabelBase = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2948
2984
  SelectPrimitive.Label,
2949
2985
  {
2950
2986
  ref,
@@ -2953,7 +2989,7 @@ var SelectLabelBase = React17.forwardRef(({ className, ...props }, ref) => /* @_
2953
2989
  }
2954
2990
  ));
2955
2991
  SelectLabelBase.displayName = SelectPrimitive.Label.displayName;
2956
- var SelectItemBase = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs18(
2992
+ var SelectItemBase = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs19(
2957
2993
  SelectPrimitive.Item,
2958
2994
  {
2959
2995
  ref,
@@ -2963,13 +2999,13 @@ var SelectItemBase = React17.forwardRef(({ className, children, ...props }, ref)
2963
2999
  ),
2964
3000
  ...props,
2965
3001
  children: [
2966
- /* @__PURE__ */ jsx28("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx28(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx28(Check5, { className: "h-4 w-4" }) }) }),
2967
- /* @__PURE__ */ jsx28(SelectPrimitive.ItemText, { children })
3002
+ /* @__PURE__ */ jsx29("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx29(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx29(Check5, { className: "h-4 w-4" }) }) }),
3003
+ /* @__PURE__ */ jsx29(SelectPrimitive.ItemText, { children })
2968
3004
  ]
2969
3005
  }
2970
3006
  ));
2971
3007
  SelectItemBase.displayName = SelectPrimitive.Item.displayName;
2972
- var SelectSeparatorBase = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
3008
+ var SelectSeparatorBase = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2973
3009
  SelectPrimitive.Separator,
2974
3010
  {
2975
3011
  ref,
@@ -2980,14 +3016,14 @@ var SelectSeparatorBase = React17.forwardRef(({ className, ...props }, ref) => /
2980
3016
  SelectSeparatorBase.displayName = SelectPrimitive.Separator.displayName;
2981
3017
 
2982
3018
  // src/components/ui/SeparatorBase.tsx
2983
- import * as React18 from "react";
3019
+ import * as React19 from "react";
2984
3020
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
2985
3021
  import { motion as motion5 } from "framer-motion";
2986
- import { jsx as jsx29 } from "react/jsx-runtime";
2987
- var SeparatorBase = React18.forwardRef(
3022
+ import { jsx as jsx30 } from "react/jsx-runtime";
3023
+ var SeparatorBase = React19.forwardRef(
2988
3024
  ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => {
2989
3025
  const isHorizontal = orientation === "horizontal";
2990
- return /* @__PURE__ */ jsx29(
3026
+ return /* @__PURE__ */ jsx30(
2991
3027
  SeparatorPrimitive.Root,
2992
3028
  {
2993
3029
  ref,
@@ -2995,7 +3031,7 @@ var SeparatorBase = React18.forwardRef(
2995
3031
  orientation,
2996
3032
  asChild: true,
2997
3033
  ...props,
2998
- children: /* @__PURE__ */ jsx29(
3034
+ children: /* @__PURE__ */ jsx30(
2999
3035
  motion5.div,
3000
3036
  {
3001
3037
  className: cn(
@@ -3015,16 +3051,16 @@ var SeparatorBase = React18.forwardRef(
3015
3051
  SeparatorBase.displayName = SeparatorPrimitive.Root.displayName;
3016
3052
 
3017
3053
  // src/components/ui/SheetBase.tsx
3018
- import * as React19 from "react";
3054
+ import * as React20 from "react";
3019
3055
  import * as SheetPrimitive from "@radix-ui/react-dialog";
3020
- import { cva as cva4 } from "class-variance-authority";
3056
+ import { cva as cva3 } from "class-variance-authority";
3021
3057
  import { X as X3 } from "@phosphor-icons/react";
3022
- import { jsx as jsx30, jsxs as jsxs19 } from "react/jsx-runtime";
3058
+ import { jsx as jsx31, jsxs as jsxs20 } from "react/jsx-runtime";
3023
3059
  var SheetBase = SheetPrimitive.Root;
3024
3060
  var SheetTriggerBase = SheetPrimitive.Trigger;
3025
3061
  var SheetCloseBase = SheetPrimitive.Close;
3026
3062
  var SheetPortalBase = SheetPrimitive.Portal;
3027
- var SheetOverlayBase = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
3063
+ var SheetOverlayBase = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
3028
3064
  SheetPrimitive.Overlay,
3029
3065
  {
3030
3066
  className: cn(
@@ -3036,7 +3072,7 @@ var SheetOverlayBase = React19.forwardRef(({ className, ...props }, ref) => /* @
3036
3072
  }
3037
3073
  ));
3038
3074
  SheetOverlayBase.displayName = SheetPrimitive.Overlay.displayName;
3039
- var sheetVariants = cva4(
3075
+ var sheetVariants = cva3(
3040
3076
  "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
3041
3077
  {
3042
3078
  variants: {
@@ -3052,18 +3088,18 @@ var sheetVariants = cva4(
3052
3088
  }
3053
3089
  }
3054
3090
  );
3055
- var SheetContentBase = React19.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs19(SheetPortalBase, { children: [
3056
- /* @__PURE__ */ jsx30(SheetOverlayBase, {}),
3057
- /* @__PURE__ */ jsxs19(
3091
+ var SheetContentBase = React20.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs20(SheetPortalBase, { children: [
3092
+ /* @__PURE__ */ jsx31(SheetOverlayBase, {}),
3093
+ /* @__PURE__ */ jsxs20(
3058
3094
  SheetPrimitive.Content,
3059
3095
  {
3060
3096
  ref,
3061
3097
  className: cn(sheetVariants({ side }), className),
3062
3098
  ...props,
3063
3099
  children: [
3064
- /* @__PURE__ */ jsxs19(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
3065
- /* @__PURE__ */ jsx30(X3, { className: "h-4 w-4" }),
3066
- /* @__PURE__ */ jsx30("span", { className: "sr-only", children: "Close" })
3100
+ /* @__PURE__ */ jsxs20(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
3101
+ /* @__PURE__ */ jsx31(X3, { className: "h-4 w-4" }),
3102
+ /* @__PURE__ */ jsx31("span", { className: "sr-only", children: "Close" })
3067
3103
  ] }),
3068
3104
  children
3069
3105
  ]
@@ -3074,7 +3110,7 @@ SheetContentBase.displayName = SheetPrimitive.Content.displayName;
3074
3110
  var SheetHeaderBase = ({
3075
3111
  className,
3076
3112
  ...props
3077
- }) => /* @__PURE__ */ jsx30(
3113
+ }) => /* @__PURE__ */ jsx31(
3078
3114
  "div",
3079
3115
  {
3080
3116
  className: cn(
@@ -3088,7 +3124,7 @@ SheetHeaderBase.displayName = "SheetHeaderBase";
3088
3124
  var SheetFooterBase = ({
3089
3125
  className,
3090
3126
  ...props
3091
- }) => /* @__PURE__ */ jsx30(
3127
+ }) => /* @__PURE__ */ jsx31(
3092
3128
  "div",
3093
3129
  {
3094
3130
  className: cn(
@@ -3099,7 +3135,7 @@ var SheetFooterBase = ({
3099
3135
  }
3100
3136
  );
3101
3137
  SheetFooterBase.displayName = "SheetFooterBase";
3102
- var SheetTitleBase = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
3138
+ var SheetTitleBase = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
3103
3139
  SheetPrimitive.Title,
3104
3140
  {
3105
3141
  ref,
@@ -3108,7 +3144,7 @@ var SheetTitleBase = React19.forwardRef(({ className, ...props }, ref) => /* @__
3108
3144
  }
3109
3145
  ));
3110
3146
  SheetTitleBase.displayName = SheetPrimitive.Title.displayName;
3111
- var SheetDescriptionBase = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
3147
+ var SheetDescriptionBase = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
3112
3148
  SheetPrimitive.Description,
3113
3149
  {
3114
3150
  ref,
@@ -3119,16 +3155,16 @@ var SheetDescriptionBase = React19.forwardRef(({ className, ...props }, ref) =>
3119
3155
  SheetDescriptionBase.displayName = SheetPrimitive.Description.displayName;
3120
3156
 
3121
3157
  // src/components/ui/SidebarBase.tsx
3122
- import * as React21 from "react";
3158
+ import * as React22 from "react";
3123
3159
  import { Slot as Slot5 } from "@radix-ui/react-slot";
3124
- import { cva as cva5 } from "class-variance-authority";
3160
+ import { cva as cva4 } from "class-variance-authority";
3125
3161
 
3126
3162
  // src/hooks/use-mobile.tsx
3127
- import * as React20 from "react";
3163
+ import * as React21 from "react";
3128
3164
  var MOBILE_BREAKPOINT = 768;
3129
3165
  function useIsMobile() {
3130
- const [isMobile, setIsMobile] = React20.useState(void 0);
3131
- React20.useEffect(() => {
3166
+ const [isMobile, setIsMobile] = React21.useState(void 0);
3167
+ React21.useEffect(() => {
3132
3168
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
3133
3169
  const onChange = () => {
3134
3170
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -3141,12 +3177,12 @@ function useIsMobile() {
3141
3177
  }
3142
3178
 
3143
3179
  // src/components/ui/SkeletonBase.tsx
3144
- import { jsx as jsx31 } from "react/jsx-runtime";
3180
+ import { jsx as jsx32 } from "react/jsx-runtime";
3145
3181
  function SkeletonBase({
3146
3182
  className,
3147
3183
  ...props
3148
3184
  }) {
3149
- return /* @__PURE__ */ jsx31(
3185
+ return /* @__PURE__ */ jsx32(
3150
3186
  "div",
3151
3187
  {
3152
3188
  className: cn("animate-pulse bg-primary/10", className),
@@ -3157,16 +3193,16 @@ function SkeletonBase({
3157
3193
 
3158
3194
  // src/components/ui/SidebarBase.tsx
3159
3195
  import { SidebarSimple } from "@phosphor-icons/react";
3160
- import { jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
3196
+ import { jsx as jsx33, jsxs as jsxs21 } from "react/jsx-runtime";
3161
3197
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
3162
3198
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
3163
3199
  var SIDEBAR_WIDTH = "16rem";
3164
3200
  var SIDEBAR_WIDTH_MOBILE = "18rem";
3165
3201
  var SIDEBAR_WIDTH_ICON = "3rem";
3166
3202
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
3167
- var SidebarContext = React21.createContext(null);
3203
+ var SidebarContext = React22.createContext(null);
3168
3204
  function UseSideBarBase() {
3169
- const context = React21.useContext(SidebarContext);
3205
+ const context = React22.useContext(SidebarContext);
3170
3206
  if (!context) {
3171
3207
  throw new Error(
3172
3208
  "UseSideBarBase must be used within a SidebarProviderBase."
@@ -3174,7 +3210,7 @@ function UseSideBarBase() {
3174
3210
  }
3175
3211
  return context;
3176
3212
  }
3177
- var SidebarProviderBase = React21.forwardRef(
3213
+ var SidebarProviderBase = React22.forwardRef(
3178
3214
  ({
3179
3215
  defaultOpen = true,
3180
3216
  open: openProp,
@@ -3185,10 +3221,10 @@ var SidebarProviderBase = React21.forwardRef(
3185
3221
  ...props
3186
3222
  }, ref) => {
3187
3223
  const isMobile = useIsMobile();
3188
- const [openMobile, setOpenMobile] = React21.useState(false);
3189
- const [_open, _setOpen] = React21.useState(defaultOpen);
3224
+ const [openMobile, setOpenMobile] = React22.useState(false);
3225
+ const [_open, _setOpen] = React22.useState(defaultOpen);
3190
3226
  const open = openProp ?? _open;
3191
- const setOpen = React21.useCallback(
3227
+ const setOpen = React22.useCallback(
3192
3228
  (value) => {
3193
3229
  const openState = typeof value === "function" ? value(open) : value;
3194
3230
  if (setOpenProp) {
@@ -3200,10 +3236,10 @@ var SidebarProviderBase = React21.forwardRef(
3200
3236
  },
3201
3237
  [setOpenProp, open]
3202
3238
  );
3203
- const toggleSidebar = React21.useCallback(() => {
3239
+ const toggleSidebar = React22.useCallback(() => {
3204
3240
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
3205
3241
  }, [isMobile, setOpen, setOpenMobile]);
3206
- React21.useEffect(() => {
3242
+ React22.useEffect(() => {
3207
3243
  const handleKeyDown = (event) => {
3208
3244
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
3209
3245
  event.preventDefault();
@@ -3214,7 +3250,7 @@ var SidebarProviderBase = React21.forwardRef(
3214
3250
  return () => window.removeEventListener("keydown", handleKeyDown);
3215
3251
  }, [toggleSidebar]);
3216
3252
  const state = open ? "expanded" : "collapsed";
3217
- const contextValue = React21.useMemo(
3253
+ const contextValue = React22.useMemo(
3218
3254
  () => ({
3219
3255
  state,
3220
3256
  open,
@@ -3226,7 +3262,7 @@ var SidebarProviderBase = React21.forwardRef(
3226
3262
  }),
3227
3263
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
3228
3264
  );
3229
- return /* @__PURE__ */ jsx32(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx32(TooltipProviderBase, { delayDuration: 0, children: /* @__PURE__ */ jsx32(
3265
+ return /* @__PURE__ */ jsx33(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx33(TooltipProviderBase, { delayDuration: 0, children: /* @__PURE__ */ jsx33(
3230
3266
  "div",
3231
3267
  {
3232
3268
  style: {
@@ -3246,7 +3282,7 @@ var SidebarProviderBase = React21.forwardRef(
3246
3282
  }
3247
3283
  );
3248
3284
  SidebarProviderBase.displayName = "SidebarProviderBase";
3249
- var SidebarBase = React21.forwardRef(
3285
+ var SidebarBase = React22.forwardRef(
3250
3286
  ({
3251
3287
  side = "left",
3252
3288
  variant = "sidebar",
@@ -3257,7 +3293,7 @@ var SidebarBase = React21.forwardRef(
3257
3293
  }, ref) => {
3258
3294
  const { isMobile, state, openMobile, setOpenMobile } = UseSideBarBase();
3259
3295
  if (collapsible === "none") {
3260
- return /* @__PURE__ */ jsx32(
3296
+ return /* @__PURE__ */ jsx33(
3261
3297
  "div",
3262
3298
  {
3263
3299
  className: cn(
@@ -3271,7 +3307,7 @@ var SidebarBase = React21.forwardRef(
3271
3307
  );
3272
3308
  }
3273
3309
  if (isMobile) {
3274
- return /* @__PURE__ */ jsx32(SheetBase, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsx32(
3310
+ return /* @__PURE__ */ jsx33(SheetBase, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsx33(
3275
3311
  SheetContentBase,
3276
3312
  {
3277
3313
  "data-sidebar": "sidebar",
@@ -3281,11 +3317,11 @@ var SidebarBase = React21.forwardRef(
3281
3317
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE
3282
3318
  },
3283
3319
  side,
3284
- children: /* @__PURE__ */ jsx32("div", { className: "flex h-full w-full flex-col", children })
3320
+ children: /* @__PURE__ */ jsx33("div", { className: "flex h-full w-full flex-col", children })
3285
3321
  }
3286
3322
  ) });
3287
3323
  }
3288
- return /* @__PURE__ */ jsxs20(
3324
+ return /* @__PURE__ */ jsxs21(
3289
3325
  "div",
3290
3326
  {
3291
3327
  ref,
@@ -3295,7 +3331,7 @@ var SidebarBase = React21.forwardRef(
3295
3331
  "data-variant": variant,
3296
3332
  "data-side": side,
3297
3333
  children: [
3298
- /* @__PURE__ */ jsx32(
3334
+ /* @__PURE__ */ jsx33(
3299
3335
  "div",
3300
3336
  {
3301
3337
  className: cn(
@@ -3306,7 +3342,7 @@ var SidebarBase = React21.forwardRef(
3306
3342
  )
3307
3343
  }
3308
3344
  ),
3309
- /* @__PURE__ */ jsx32(
3345
+ /* @__PURE__ */ jsx33(
3310
3346
  "div",
3311
3347
  {
3312
3348
  className: cn(
@@ -3317,7 +3353,7 @@ var SidebarBase = React21.forwardRef(
3317
3353
  className
3318
3354
  ),
3319
3355
  ...props,
3320
- children: /* @__PURE__ */ jsx32(
3356
+ children: /* @__PURE__ */ jsx33(
3321
3357
  "div",
3322
3358
  {
3323
3359
  "data-sidebar": "sidebar",
@@ -3333,9 +3369,9 @@ var SidebarBase = React21.forwardRef(
3333
3369
  }
3334
3370
  );
3335
3371
  SidebarBase.displayName = "SidebarBase";
3336
- var SidebarTriggerBase = React21.forwardRef(({ className, onClick, ...props }, ref) => {
3372
+ var SidebarTriggerBase = React22.forwardRef(({ className, onClick, ...props }, ref) => {
3337
3373
  const { toggleSidebar } = UseSideBarBase();
3338
- return /* @__PURE__ */ jsx32("div", { children: /* @__PURE__ */ jsxs20(
3374
+ return /* @__PURE__ */ jsx33("div", { children: /* @__PURE__ */ jsxs21(
3339
3375
  ButtonBase,
3340
3376
  {
3341
3377
  ref,
@@ -3349,16 +3385,16 @@ var SidebarTriggerBase = React21.forwardRef(({ className, onClick, ...props }, r
3349
3385
  },
3350
3386
  ...props,
3351
3387
  children: [
3352
- /* @__PURE__ */ jsx32("span", { className: "sr-only", children: "Toggle SidebarBase" }),
3353
- /* @__PURE__ */ jsx32(SidebarSimple, {})
3388
+ /* @__PURE__ */ jsx33("span", { className: "sr-only", children: "Toggle SidebarBase" }),
3389
+ /* @__PURE__ */ jsx33(SidebarSimple, {})
3354
3390
  ]
3355
3391
  }
3356
3392
  ) });
3357
3393
  });
3358
3394
  SidebarTriggerBase.displayName = "SidebarTriggerBase";
3359
- var SidebarRailBase = React21.forwardRef(({ className, ...props }, ref) => {
3395
+ var SidebarRailBase = React22.forwardRef(({ className, ...props }, ref) => {
3360
3396
  const { toggleSidebar } = UseSideBarBase();
3361
- return /* @__PURE__ */ jsx32(
3397
+ return /* @__PURE__ */ jsx33(
3362
3398
  "button",
3363
3399
  {
3364
3400
  ref,
@@ -3381,8 +3417,8 @@ var SidebarRailBase = React21.forwardRef(({ className, ...props }, ref) => {
3381
3417
  );
3382
3418
  });
3383
3419
  SidebarRailBase.displayName = "SidebarRailBase";
3384
- var SidebarInsetBase = React21.forwardRef(({ className, ...props }, ref) => {
3385
- return /* @__PURE__ */ jsx32(
3420
+ var SidebarInsetBase = React22.forwardRef(({ className, ...props }, ref) => {
3421
+ return /* @__PURE__ */ jsx33(
3386
3422
  "main",
3387
3423
  {
3388
3424
  ref,
@@ -3396,8 +3432,8 @@ var SidebarInsetBase = React21.forwardRef(({ className, ...props }, ref) => {
3396
3432
  );
3397
3433
  });
3398
3434
  SidebarInsetBase.displayName = "SidebarInsetBase";
3399
- var SidebarInputBase = React21.forwardRef(({ className, ...props }, ref) => {
3400
- return /* @__PURE__ */ jsx32(
3435
+ var SidebarInputBase = React22.forwardRef(({ className, ...props }, ref) => {
3436
+ return /* @__PURE__ */ jsx33(
3401
3437
  InputBase,
3402
3438
  {
3403
3439
  ref,
@@ -3411,8 +3447,8 @@ var SidebarInputBase = React21.forwardRef(({ className, ...props }, ref) => {
3411
3447
  );
3412
3448
  });
3413
3449
  SidebarInputBase.displayName = "SidebarInputBase";
3414
- var SidebarHeaderBase = React21.forwardRef(({ className, ...props }, ref) => {
3415
- return /* @__PURE__ */ jsx32(
3450
+ var SidebarHeaderBase = React22.forwardRef(({ className, ...props }, ref) => {
3451
+ return /* @__PURE__ */ jsx33(
3416
3452
  "div",
3417
3453
  {
3418
3454
  ref,
@@ -3423,8 +3459,8 @@ var SidebarHeaderBase = React21.forwardRef(({ className, ...props }, ref) => {
3423
3459
  );
3424
3460
  });
3425
3461
  SidebarHeaderBase.displayName = "SidebarHeaderBase";
3426
- var SidebarFooterBase = React21.forwardRef(({ className, ...props }, ref) => {
3427
- return /* @__PURE__ */ jsx32(
3462
+ var SidebarFooterBase = React22.forwardRef(({ className, ...props }, ref) => {
3463
+ return /* @__PURE__ */ jsx33(
3428
3464
  "div",
3429
3465
  {
3430
3466
  ref,
@@ -3435,8 +3471,8 @@ var SidebarFooterBase = React21.forwardRef(({ className, ...props }, ref) => {
3435
3471
  );
3436
3472
  });
3437
3473
  SidebarFooterBase.displayName = "SidebarFooterBase";
3438
- var SidebarSeparatorBase = React21.forwardRef(({ className, ...props }, ref) => {
3439
- return /* @__PURE__ */ jsx32(
3474
+ var SidebarSeparatorBase = React22.forwardRef(({ className, ...props }, ref) => {
3475
+ return /* @__PURE__ */ jsx33(
3440
3476
  SeparatorBase,
3441
3477
  {
3442
3478
  ref,
@@ -3447,8 +3483,8 @@ var SidebarSeparatorBase = React21.forwardRef(({ className, ...props }, ref) =>
3447
3483
  );
3448
3484
  });
3449
3485
  SidebarSeparatorBase.displayName = "SidebarSeparatorBase";
3450
- var SidebarContentBase = React21.forwardRef(({ className, ...props }, ref) => {
3451
- return /* @__PURE__ */ jsx32(
3486
+ var SidebarContentBase = React22.forwardRef(({ className, ...props }, ref) => {
3487
+ return /* @__PURE__ */ jsx33(
3452
3488
  "div",
3453
3489
  {
3454
3490
  ref,
@@ -3462,8 +3498,8 @@ var SidebarContentBase = React21.forwardRef(({ className, ...props }, ref) => {
3462
3498
  );
3463
3499
  });
3464
3500
  SidebarContentBase.displayName = "SidebarContentBase";
3465
- var SidebarGroupBase = React21.forwardRef(({ className, ...props }, ref) => {
3466
- return /* @__PURE__ */ jsx32(
3501
+ var SidebarGroupBase = React22.forwardRef(({ className, ...props }, ref) => {
3502
+ return /* @__PURE__ */ jsx33(
3467
3503
  "div",
3468
3504
  {
3469
3505
  ref,
@@ -3474,9 +3510,9 @@ var SidebarGroupBase = React21.forwardRef(({ className, ...props }, ref) => {
3474
3510
  );
3475
3511
  });
3476
3512
  SidebarGroupBase.displayName = "SidebarGroupBase";
3477
- var SidebarGroupLabelBase = React21.forwardRef(({ className, asChild = false, ...props }, ref) => {
3513
+ var SidebarGroupLabelBase = React22.forwardRef(({ className, asChild = false, ...props }, ref) => {
3478
3514
  const Comp = asChild ? Slot5 : "div";
3479
- return /* @__PURE__ */ jsx32(
3515
+ return /* @__PURE__ */ jsx33(
3480
3516
  Comp,
3481
3517
  {
3482
3518
  ref,
@@ -3491,9 +3527,9 @@ var SidebarGroupLabelBase = React21.forwardRef(({ className, asChild = false, ..
3491
3527
  );
3492
3528
  });
3493
3529
  SidebarGroupLabelBase.displayName = "SidebarGroupLabelBase";
3494
- var SidebarGroupActionBase = React21.forwardRef(({ className, asChild = false, ...props }, ref) => {
3530
+ var SidebarGroupActionBase = React22.forwardRef(({ className, asChild = false, ...props }, ref) => {
3495
3531
  const Comp = asChild ? Slot5 : "button";
3496
- return /* @__PURE__ */ jsx32(
3532
+ return /* @__PURE__ */ jsx33(
3497
3533
  Comp,
3498
3534
  {
3499
3535
  ref,
@@ -3510,7 +3546,7 @@ var SidebarGroupActionBase = React21.forwardRef(({ className, asChild = false, .
3510
3546
  );
3511
3547
  });
3512
3548
  SidebarGroupActionBase.displayName = "SidebarGroupActionBase";
3513
- var SidebarGroupContentBase = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
3549
+ var SidebarGroupContentBase = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
3514
3550
  "div",
3515
3551
  {
3516
3552
  ref,
@@ -3520,7 +3556,7 @@ var SidebarGroupContentBase = React21.forwardRef(({ className, ...props }, ref)
3520
3556
  }
3521
3557
  ));
3522
3558
  SidebarGroupContentBase.displayName = "SidebarGroupContentBase";
3523
- var SidebarMenuBase = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
3559
+ var SidebarMenuBase = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
3524
3560
  "ul",
3525
3561
  {
3526
3562
  ref,
@@ -3530,7 +3566,7 @@ var SidebarMenuBase = React21.forwardRef(({ className, ...props }, ref) => /* @_
3530
3566
  }
3531
3567
  ));
3532
3568
  SidebarMenuBase.displayName = "SidebarMenuBase";
3533
- var SidebarMenuItemBase = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
3569
+ var SidebarMenuItemBase = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
3534
3570
  "li",
3535
3571
  {
3536
3572
  ref,
@@ -3540,7 +3576,7 @@ var SidebarMenuItemBase = React21.forwardRef(({ className, ...props }, ref) => /
3540
3576
  }
3541
3577
  ));
3542
3578
  SidebarMenuItemBase.displayName = "SidebarMenuItemBase";
3543
- var sidebarMenuButtonVariants = cva5(
3579
+ var sidebarMenuButtonVariants = cva4(
3544
3580
  "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
3545
3581
  {
3546
3582
  variants: {
@@ -3560,7 +3596,7 @@ var sidebarMenuButtonVariants = cva5(
3560
3596
  }
3561
3597
  }
3562
3598
  );
3563
- var SidebarMenuButtonBase = React21.forwardRef(
3599
+ var SidebarMenuButtonBase = React22.forwardRef(
3564
3600
  ({
3565
3601
  asChild = false,
3566
3602
  isActive = false,
@@ -3572,7 +3608,7 @@ var SidebarMenuButtonBase = React21.forwardRef(
3572
3608
  }, ref) => {
3573
3609
  const Comp = asChild ? Slot5 : "button";
3574
3610
  const { isMobile, state } = UseSideBarBase();
3575
- const button = /* @__PURE__ */ jsx32(
3611
+ const button = /* @__PURE__ */ jsx33(
3576
3612
  Comp,
3577
3613
  {
3578
3614
  ref,
@@ -3591,9 +3627,9 @@ var SidebarMenuButtonBase = React21.forwardRef(
3591
3627
  children: tooltip
3592
3628
  };
3593
3629
  }
3594
- return /* @__PURE__ */ jsxs20(TooltipBase, { children: [
3595
- /* @__PURE__ */ jsx32(TooltipTriggerBase, { asChild: true, children: button }),
3596
- /* @__PURE__ */ jsx32(
3630
+ return /* @__PURE__ */ jsxs21(TooltipBase, { children: [
3631
+ /* @__PURE__ */ jsx33(TooltipTriggerBase, { asChild: true, children: button }),
3632
+ /* @__PURE__ */ jsx33(
3597
3633
  TooltipContentBase,
3598
3634
  {
3599
3635
  side: "right",
@@ -3606,9 +3642,9 @@ var SidebarMenuButtonBase = React21.forwardRef(
3606
3642
  }
3607
3643
  );
3608
3644
  SidebarMenuButtonBase.displayName = "SidebarMenuButtonBase";
3609
- var SidebarMenuActionBase = React21.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
3645
+ var SidebarMenuActionBase = React22.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
3610
3646
  const Comp = asChild ? Slot5 : "button";
3611
- return /* @__PURE__ */ jsx32(
3647
+ return /* @__PURE__ */ jsx33(
3612
3648
  Comp,
3613
3649
  {
3614
3650
  ref,
@@ -3629,7 +3665,7 @@ var SidebarMenuActionBase = React21.forwardRef(({ className, asChild = false, sh
3629
3665
  );
3630
3666
  });
3631
3667
  SidebarMenuActionBase.displayName = "SidebarMenuActionBase";
3632
- var SidebarMenuBadgeBase = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
3668
+ var SidebarMenuBadgeBase = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
3633
3669
  "div",
3634
3670
  {
3635
3671
  ref,
@@ -3647,11 +3683,11 @@ var SidebarMenuBadgeBase = React21.forwardRef(({ className, ...props }, ref) =>
3647
3683
  }
3648
3684
  ));
3649
3685
  SidebarMenuBadgeBase.displayName = "SidebarMenuBadgeBase";
3650
- var SidebarMenuSkeletonBase = React21.forwardRef(({ className, showIcon = false, ...props }, ref) => {
3651
- const width = React21.useMemo(() => {
3686
+ var SidebarMenuSkeletonBase = React22.forwardRef(({ className, showIcon = false, ...props }, ref) => {
3687
+ const width = React22.useMemo(() => {
3652
3688
  return `${Math.floor(Math.random() * 40) + 50}%`;
3653
3689
  }, []);
3654
- return /* @__PURE__ */ jsxs20(
3690
+ return /* @__PURE__ */ jsxs21(
3655
3691
  "div",
3656
3692
  {
3657
3693
  ref,
@@ -3659,14 +3695,14 @@ var SidebarMenuSkeletonBase = React21.forwardRef(({ className, showIcon = false,
3659
3695
  className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
3660
3696
  ...props,
3661
3697
  children: [
3662
- showIcon && /* @__PURE__ */ jsx32(
3698
+ showIcon && /* @__PURE__ */ jsx33(
3663
3699
  SkeletonBase,
3664
3700
  {
3665
3701
  className: "size-4 rounded-md",
3666
3702
  "data-sidebar": "menu-skeleton-icon"
3667
3703
  }
3668
3704
  ),
3669
- /* @__PURE__ */ jsx32(
3705
+ /* @__PURE__ */ jsx33(
3670
3706
  SkeletonBase,
3671
3707
  {
3672
3708
  className: "h-4 max-w-[--skeleton-width] flex-1",
@@ -3681,7 +3717,7 @@ var SidebarMenuSkeletonBase = React21.forwardRef(({ className, showIcon = false,
3681
3717
  );
3682
3718
  });
3683
3719
  SidebarMenuSkeletonBase.displayName = "SidebarMenuSkeletonBase";
3684
- var SidebarMenuSubBase = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
3720
+ var SidebarMenuSubBase = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
3685
3721
  "ul",
3686
3722
  {
3687
3723
  ref,
@@ -3695,11 +3731,11 @@ var SidebarMenuSubBase = React21.forwardRef(({ className, ...props }, ref) => /*
3695
3731
  }
3696
3732
  ));
3697
3733
  SidebarMenuSubBase.displayName = "SidebarMenuSubBase";
3698
- var SidebarMenuSubItemBase = React21.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx32("li", { ref, ...props }));
3734
+ var SidebarMenuSubItemBase = React22.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx33("li", { ref, ...props }));
3699
3735
  SidebarMenuSubItemBase.displayName = "SidebarMenuSubItemBase";
3700
- var SidebarMenuSubButtonBase = React21.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
3736
+ var SidebarMenuSubButtonBase = React22.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
3701
3737
  const Comp = asChild ? Slot5 : "a";
3702
- return /* @__PURE__ */ jsx32(
3738
+ return /* @__PURE__ */ jsx33(
3703
3739
  Comp,
3704
3740
  {
3705
3741
  ref,
@@ -3721,10 +3757,10 @@ var SidebarMenuSubButtonBase = React21.forwardRef(({ asChild = false, size = "md
3721
3757
  SidebarMenuSubButtonBase.displayName = "SidebarMenuSubButtonBase";
3722
3758
 
3723
3759
  // src/components/ui/SliderBase.tsx
3724
- import * as React22 from "react";
3760
+ import * as React23 from "react";
3725
3761
  import * as SliderPrimitive from "@radix-ui/react-slider";
3726
- import { jsx as jsx33, jsxs as jsxs21 } from "react/jsx-runtime";
3727
- var SlideBase = React22.forwardRef(
3762
+ import { jsx as jsx34, jsxs as jsxs22 } from "react/jsx-runtime";
3763
+ var SlideBase = React23.forwardRef(
3728
3764
  ({
3729
3765
  className,
3730
3766
  orientation = "horizontal",
@@ -3734,7 +3770,7 @@ var SlideBase = React22.forwardRef(
3734
3770
  ...props
3735
3771
  }, ref) => {
3736
3772
  const isVertical = orientation === "vertical";
3737
- return /* @__PURE__ */ jsxs21(
3773
+ return /* @__PURE__ */ jsxs22(
3738
3774
  "div",
3739
3775
  {
3740
3776
  className: cn(
@@ -3742,8 +3778,8 @@ var SlideBase = React22.forwardRef(
3742
3778
  isVertical ? "h-full " : "w-full"
3743
3779
  ),
3744
3780
  children: [
3745
- label && /* @__PURE__ */ jsx33(LabelBase_default, { className: "py-2", children: label }),
3746
- /* @__PURE__ */ jsxs21(
3781
+ label && /* @__PURE__ */ jsx34(LabelBase_default, { className: "py-2", children: label }),
3782
+ /* @__PURE__ */ jsxs22(
3747
3783
  "div",
3748
3784
  {
3749
3785
  className: cn(
@@ -3751,8 +3787,8 @@ var SlideBase = React22.forwardRef(
3751
3787
  isVertical ? "flex-col h-full" : "flex-row items-center w-full"
3752
3788
  ),
3753
3789
  children: [
3754
- leftIcon && /* @__PURE__ */ jsx33("div", { className: "flex items-center justify-center", children: leftIcon }),
3755
- /* @__PURE__ */ jsxs21(
3790
+ leftIcon && /* @__PURE__ */ jsx34("div", { className: "flex items-center justify-center", children: leftIcon }),
3791
+ /* @__PURE__ */ jsxs22(
3756
3792
  SliderPrimitive.Root,
3757
3793
  {
3758
3794
  ref,
@@ -3764,14 +3800,14 @@ var SlideBase = React22.forwardRef(
3764
3800
  ),
3765
3801
  ...props,
3766
3802
  children: [
3767
- /* @__PURE__ */ jsx33(
3803
+ /* @__PURE__ */ jsx34(
3768
3804
  SliderPrimitive.Track,
3769
3805
  {
3770
3806
  className: cn(
3771
3807
  "relative overflow-hidden bg-primary/20 rounded-full",
3772
3808
  isVertical ? "w-1.5 h-full" : "h-1.5 w-full"
3773
3809
  ),
3774
- children: /* @__PURE__ */ jsx33(
3810
+ children: /* @__PURE__ */ jsx34(
3775
3811
  SliderPrimitive.Range,
3776
3812
  {
3777
3813
  className: cn(
@@ -3782,7 +3818,7 @@ var SlideBase = React22.forwardRef(
3782
3818
  )
3783
3819
  }
3784
3820
  ),
3785
- /* @__PURE__ */ jsx33(
3821
+ /* @__PURE__ */ jsx34(
3786
3822
  SliderPrimitive.Thumb,
3787
3823
  {
3788
3824
  className: cn(
@@ -3795,7 +3831,7 @@ var SlideBase = React22.forwardRef(
3795
3831
  ]
3796
3832
  }
3797
3833
  ),
3798
- rightIcon && /* @__PURE__ */ jsx33("div", { className: "flex items-center justify-center", children: rightIcon })
3834
+ rightIcon && /* @__PURE__ */ jsx34("div", { className: "flex items-center justify-center", children: rightIcon })
3799
3835
  ]
3800
3836
  }
3801
3837
  )
@@ -3815,10 +3851,10 @@ import {
3815
3851
  SpinnerIcon
3816
3852
  } from "@phosphor-icons/react";
3817
3853
  import { Toaster as Sonner, toast as sonnertoast } from "sonner";
3818
- import { jsx as jsx34 } from "react/jsx-runtime";
3854
+ import { jsx as jsx35 } from "react/jsx-runtime";
3819
3855
  var iconBaseClass = "w-5 h-auto";
3820
3856
  var Toaster = ({ testId, ...props }) => {
3821
- return /* @__PURE__ */ jsx34(
3857
+ return /* @__PURE__ */ jsx35(
3822
3858
  Sonner,
3823
3859
  {
3824
3860
  className: "toaster group",
@@ -3865,33 +3901,33 @@ var Toaster = ({ testId, ...props }) => {
3865
3901
  };
3866
3902
  var toast = {
3867
3903
  success: (message) => sonnertoast.success(message, {
3868
- icon: /* @__PURE__ */ jsx34(CheckCircleIcon, { className: `${iconBaseClass} text-green-600`, weight: "fill" }),
3904
+ icon: /* @__PURE__ */ jsx35(CheckCircleIcon, { className: `${iconBaseClass} text-green-600`, weight: "fill" }),
3869
3905
  className: "sonner-success"
3870
3906
  }),
3871
3907
  error: (message) => sonnertoast.error(message, {
3872
- icon: /* @__PURE__ */ jsx34(XCircleIcon, { className: `${iconBaseClass} text-red-600`, weight: "fill" }),
3908
+ icon: /* @__PURE__ */ jsx35(XCircleIcon, { className: `${iconBaseClass} text-red-600`, weight: "fill" }),
3873
3909
  className: "sonner-error"
3874
3910
  }),
3875
3911
  warning: (message) => sonnertoast.warning(message, {
3876
- icon: /* @__PURE__ */ jsx34(WarningIcon, { className: `${iconBaseClass} text-yellow-600`, weight: "fill" }),
3912
+ icon: /* @__PURE__ */ jsx35(WarningIcon, { className: `${iconBaseClass} text-yellow-600`, weight: "fill" }),
3877
3913
  className: "sonner-WarningIcon"
3878
3914
  }),
3879
3915
  info: (message) => sonnertoast.info(message, {
3880
- icon: /* @__PURE__ */ jsx34(InfoIcon, { className: `${iconBaseClass} text-blue-600`, weight: "fill" }),
3916
+ icon: /* @__PURE__ */ jsx35(InfoIcon, { className: `${iconBaseClass} text-blue-600`, weight: "fill" }),
3881
3917
  className: "sonner-InfoIcon"
3882
3918
  }),
3883
3919
  loading: (message) => sonnertoast(message, {
3884
- icon: /* @__PURE__ */ jsx34(SpinnerIcon, { className: `${iconBaseClass} animate-spin text-neutral-500`, weight: "fill" }),
3920
+ icon: /* @__PURE__ */ jsx35(SpinnerIcon, { className: `${iconBaseClass} animate-spin text-neutral-500`, weight: "fill" }),
3885
3921
  className: "sonner-loading"
3886
3922
  })
3887
3923
  };
3888
3924
 
3889
3925
  // src/components/ui/SwitchBase.tsx
3890
- import * as React23 from "react";
3926
+ import * as React24 from "react";
3891
3927
  import * as SwitchPrimitives from "@radix-ui/react-switch";
3892
- import { jsx as jsx35 } from "react/jsx-runtime";
3893
- var SwitchBase = React23.forwardRef(({ className, testid: dataTestId = "switch-base", ...props }, ref) => {
3894
- return /* @__PURE__ */ jsx35(
3928
+ import { jsx as jsx36 } from "react/jsx-runtime";
3929
+ var SwitchBase = React24.forwardRef(({ className, testid: dataTestId = "switch-base", ...props }, ref) => {
3930
+ return /* @__PURE__ */ jsx36(
3895
3931
  SwitchPrimitives.Root,
3896
3932
  {
3897
3933
  ...props,
@@ -3901,7 +3937,7 @@ var SwitchBase = React23.forwardRef(({ className, testid: dataTestId = "switch-b
3901
3937
  className
3902
3938
  ),
3903
3939
  "data-testid": dataTestId,
3904
- children: /* @__PURE__ */ jsx35(
3940
+ children: /* @__PURE__ */ jsx36(
3905
3941
  SwitchPrimitives.Thumb,
3906
3942
  {
3907
3943
  className: cn(
@@ -3919,9 +3955,9 @@ var SwitchBase = React23.forwardRef(({ className, testid: dataTestId = "switch-b
3919
3955
  SwitchBase.displayName = SwitchPrimitives.Root.displayName;
3920
3956
 
3921
3957
  // src/components/ui/TableBase.tsx
3922
- import * as React24 from "react";
3923
- import { jsx as jsx36 } from "react/jsx-runtime";
3924
- var TableBase = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx36(
3958
+ import * as React25 from "react";
3959
+ import { jsx as jsx37 } from "react/jsx-runtime";
3960
+ var TableBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx37(
3925
3961
  "table",
3926
3962
  {
3927
3963
  ref,
@@ -3930,9 +3966,9 @@ var TableBase = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE_
3930
3966
  }
3931
3967
  ) }));
3932
3968
  TableBase.displayName = "TableBase";
3933
- var TableHeaderBase = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
3969
+ var TableHeaderBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
3934
3970
  TableHeaderBase.displayName = "TableHeaderBase";
3935
- var TableBodyBase = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
3971
+ var TableBodyBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
3936
3972
  "tbody",
3937
3973
  {
3938
3974
  ref,
@@ -3941,7 +3977,7 @@ var TableBodyBase = React24.forwardRef(({ className, ...props }, ref) => /* @__P
3941
3977
  }
3942
3978
  ));
3943
3979
  TableBodyBase.displayName = "TableBodyBase";
3944
- var TableFooterBase = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
3980
+ var TableFooterBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
3945
3981
  "tfoot",
3946
3982
  {
3947
3983
  ref,
@@ -3953,7 +3989,7 @@ var TableFooterBase = React24.forwardRef(({ className, ...props }, ref) => /* @_
3953
3989
  }
3954
3990
  ));
3955
3991
  TableFooterBase.displayName = "TableFooterBase";
3956
- var TableRowBase = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
3992
+ var TableRowBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
3957
3993
  "tr",
3958
3994
  {
3959
3995
  ref,
@@ -3965,7 +4001,7 @@ var TableRowBase = React24.forwardRef(({ className, ...props }, ref) => /* @__PU
3965
4001
  }
3966
4002
  ));
3967
4003
  TableRowBase.displayName = "TableRowBase";
3968
- var TableHeadBase = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
4004
+ var TableHeadBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
3969
4005
  "th",
3970
4006
  {
3971
4007
  ref,
@@ -3977,7 +4013,7 @@ var TableHeadBase = React24.forwardRef(({ className, ...props }, ref) => /* @__P
3977
4013
  }
3978
4014
  ));
3979
4015
  TableHeadBase.displayName = "TableHeadBase";
3980
- var TableCellBase = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
4016
+ var TableCellBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
3981
4017
  "td",
3982
4018
  {
3983
4019
  ref,
@@ -3989,7 +4025,7 @@ var TableCellBase = React24.forwardRef(({ className, ...props }, ref) => /* @__P
3989
4025
  }
3990
4026
  ));
3991
4027
  TableCellBase.displayName = "TableCellBase";
3992
- var TableCaptionBase = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
4028
+ var TableCaptionBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
3993
4029
  "caption",
3994
4030
  {
3995
4031
  ref,
@@ -4000,11 +4036,11 @@ var TableCaptionBase = React24.forwardRef(({ className, ...props }, ref) => /* @
4000
4036
  TableCaptionBase.displayName = "TableCaptionBase";
4001
4037
 
4002
4038
  // src/components/ui/TabsBase.tsx
4003
- import * as React25 from "react";
4039
+ import * as React26 from "react";
4004
4040
  import * as TabsPrimitive from "@radix-ui/react-tabs";
4005
- import { jsx as jsx37 } from "react/jsx-runtime";
4041
+ import { jsx as jsx38 } from "react/jsx-runtime";
4006
4042
  var TabsBase = TabsPrimitive.Root;
4007
- var TabsListBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
4043
+ var TabsListBase = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
4008
4044
  TabsPrimitive.List,
4009
4045
  {
4010
4046
  ref,
@@ -4016,7 +4052,7 @@ var TabsListBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
4016
4052
  }
4017
4053
  ));
4018
4054
  TabsListBase.displayName = TabsPrimitive.List.displayName;
4019
- var TabsTriggerBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
4055
+ var TabsTriggerBase = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
4020
4056
  TabsPrimitive.Trigger,
4021
4057
  {
4022
4058
  ref,
@@ -4034,7 +4070,7 @@ var TabsTriggerBase = React25.forwardRef(({ className, ...props }, ref) => /* @_
4034
4070
  ...props
4035
4071
  }
4036
4072
  ));
4037
- var TabsContentBase = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
4073
+ var TabsContentBase = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
4038
4074
  TabsPrimitive.Content,
4039
4075
  {
4040
4076
  ref,
@@ -4049,10 +4085,10 @@ var TabsContentBase = React25.forwardRef(({ className, ...props }, ref) => /* @_
4049
4085
  TabsContentBase.displayName = TabsPrimitive.Content.displayName;
4050
4086
 
4051
4087
  // src/components/ui/TextAreaBase.tsx
4052
- import * as React26 from "react";
4053
- import { jsx as jsx38 } from "react/jsx-runtime";
4054
- var TextAreaBase = React26.forwardRef(({ className, ...props }, ref) => {
4055
- return /* @__PURE__ */ jsx38(
4088
+ import * as React27 from "react";
4089
+ import { jsx as jsx39 } from "react/jsx-runtime";
4090
+ var TextAreaBase = React27.forwardRef(({ className, ...props }, ref) => {
4091
+ return /* @__PURE__ */ jsx39(
4056
4092
  "textarea",
4057
4093
  {
4058
4094
  className: cn(
@@ -4071,7 +4107,7 @@ import { Check as Check6, Moon, Sun } from "@phosphor-icons/react";
4071
4107
 
4072
4108
  // src/components/theme-provider.tsx
4073
4109
  import { createContext as createContext3, useContext as useContext4, useEffect as useEffect5, useState as useState6 } from "react";
4074
- import { jsx as jsx39 } from "react/jsx-runtime";
4110
+ import { jsx as jsx40 } from "react/jsx-runtime";
4075
4111
  var initialState = {
4076
4112
  theme: "system",
4077
4113
  setTheme: () => null
@@ -4121,7 +4157,7 @@ function ThemeProviderBase({
4121
4157
  setThemeState(newTheme);
4122
4158
  };
4123
4159
  const value = { theme, setTheme };
4124
- return /* @__PURE__ */ jsx39(ThemeProviderContext.Provider, { ...props, value, children });
4160
+ return /* @__PURE__ */ jsx40(ThemeProviderContext.Provider, { ...props, value, children });
4125
4161
  }
4126
4162
  var useTheme = () => {
4127
4163
  const context = useContext4(ThemeProviderContext);
@@ -4131,7 +4167,7 @@ var useTheme = () => {
4131
4167
  };
4132
4168
 
4133
4169
  // src/components/mode-toggle.tsx
4134
- import { Fragment as Fragment3, jsx as jsx40, jsxs as jsxs22 } from "react/jsx-runtime";
4170
+ import { Fragment as Fragment3, jsx as jsx41, jsxs as jsxs23 } from "react/jsx-runtime";
4135
4171
  var themeLabels = {
4136
4172
  light: "Light",
4137
4173
  dark: "Dark",
@@ -4148,30 +4184,30 @@ function ModeToggleBase({
4148
4184
  }) {
4149
4185
  const { setTheme, theme: currentTheme } = useTheme();
4150
4186
  const isDark = currentTheme?.includes("dark") || currentTheme === "system" && typeof window !== "undefined" && window.matchMedia("(prefers-color-scheme: dark)").matches;
4151
- return /* @__PURE__ */ jsxs22(DropDownMenuBase, { children: [
4152
- /* @__PURE__ */ jsx40(DropDownMenuTriggerBase, { asChild: true, children: /* @__PURE__ */ jsxs22(
4187
+ return /* @__PURE__ */ jsxs23(DropDownMenuBase, { children: [
4188
+ /* @__PURE__ */ jsx41(DropDownMenuTriggerBase, { asChild: true, children: /* @__PURE__ */ jsxs23(
4153
4189
  ButtonBase,
4154
4190
  {
4155
4191
  variant: "ghost",
4156
4192
  size: "icon",
4157
4193
  className: "relative overflow-hidden border-transparent",
4158
4194
  children: [
4159
- /* @__PURE__ */ jsxs22(Fragment3, { children: [
4160
- /* @__PURE__ */ jsx40(Sun, { className: `h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-90 scale-0" : "rotate-0 scale-100"}` }),
4161
- /* @__PURE__ */ jsx40(Moon, { className: `absolute h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-0 scale-100" : "rotate-90 scale-0"}` })
4195
+ /* @__PURE__ */ jsxs23(Fragment3, { children: [
4196
+ /* @__PURE__ */ jsx41(Sun, { className: `h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-90 scale-0" : "rotate-0 scale-100"}` }),
4197
+ /* @__PURE__ */ jsx41(Moon, { className: `absolute h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-0 scale-100" : "rotate-90 scale-0"}` })
4162
4198
  ] }),
4163
- /* @__PURE__ */ jsx40("span", { className: "sr-only", children: "Toggle theme" })
4199
+ /* @__PURE__ */ jsx41("span", { className: "sr-only", children: "Toggle theme" })
4164
4200
  ]
4165
4201
  }
4166
4202
  ) }),
4167
- /* @__PURE__ */ jsx40(DropDownMenuContentBase, { align: "end", className: "border-border bg-popover text-popover-foreground", children: themes.map((theme) => /* @__PURE__ */ jsxs22(
4203
+ /* @__PURE__ */ jsx41(DropDownMenuContentBase, { align: "end", className: "border-border bg-popover text-popover-foreground", children: themes.map((theme) => /* @__PURE__ */ jsxs23(
4168
4204
  DropDownMenuItemBase,
4169
4205
  {
4170
4206
  onClick: () => setTheme(theme),
4171
4207
  className: "flex items-center justify-between hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
4172
4208
  children: [
4173
4209
  themeLabels[theme],
4174
- currentTheme === theme && /* @__PURE__ */ jsx40(Check6, { className: "h-4 w-4 opacity-100" })
4210
+ currentTheme === theme && /* @__PURE__ */ jsx41(Check6, { className: "h-4 w-4 opacity-100" })
4175
4211
  ]
4176
4212
  },
4177
4213
  theme
@@ -4183,11 +4219,11 @@ function ModeToggleBase({
4183
4219
  import { add, format } from "date-fns";
4184
4220
 
4185
4221
  // src/components/date-time-picker/calendar.tsx
4186
- import * as React27 from "react";
4222
+ import * as React28 from "react";
4187
4223
  import { DayPicker as DayPicker2 } from "react-day-picker";
4188
4224
  import { CaretLeft as CaretLeft2, CaretRight as CaretRight5, X as X4, Calendar } from "@phosphor-icons/react";
4189
4225
  import { motion as motion6 } from "framer-motion";
4190
- import { jsx as jsx41, jsxs as jsxs23 } from "react/jsx-runtime";
4226
+ import { jsx as jsx42, jsxs as jsxs24 } from "react/jsx-runtime";
4191
4227
  var variants = {
4192
4228
  enter: (direction) => ({
4193
4229
  opacity: 0,
@@ -4208,24 +4244,24 @@ function CalendarBase2({
4208
4244
  showOutsideDays = true,
4209
4245
  ...props
4210
4246
  }) {
4211
- const [month, setMonth] = React27.useState(
4247
+ const [month, setMonth] = React28.useState(
4212
4248
  props.month || props.defaultMonth || /* @__PURE__ */ new Date()
4213
4249
  );
4214
- const [direction, setDirection] = React27.useState(1);
4250
+ const [direction, setDirection] = React28.useState(1);
4215
4251
  const handleMonthChange = (newMonth) => {
4216
4252
  const isNext = newMonth > month ? 1 : -1;
4217
4253
  setDirection(isNext);
4218
4254
  setMonth(newMonth);
4219
4255
  props.onMonthChange?.(newMonth);
4220
4256
  };
4221
- return /* @__PURE__ */ jsx41(
4257
+ return /* @__PURE__ */ jsx42(
4222
4258
  "div",
4223
4259
  {
4224
4260
  className: cn(
4225
4261
  "rounded-xl border bg-background p-3 shadow-sm overflow-hidden",
4226
4262
  className
4227
4263
  ),
4228
- children: /* @__PURE__ */ jsx41(
4264
+ children: /* @__PURE__ */ jsx42(
4229
4265
  motion6.div,
4230
4266
  {
4231
4267
  variants,
@@ -4235,7 +4271,7 @@ function CalendarBase2({
4235
4271
  custom: direction,
4236
4272
  transition: { duration: 0.3, ease: "easeInOut" },
4237
4273
  style: { position: "relative" },
4238
- children: /* @__PURE__ */ jsx41(
4274
+ children: /* @__PURE__ */ jsx42(
4239
4275
  DayPicker2,
4240
4276
  {
4241
4277
  showOutsideDays,
@@ -4282,8 +4318,8 @@ function CalendarBase2({
4282
4318
  ...classNames
4283
4319
  },
4284
4320
  components: {
4285
- IconLeft: () => /* @__PURE__ */ jsx41(CaretLeft2, { className: "h-4 w-4" }),
4286
- IconRight: () => /* @__PURE__ */ jsx41(CaretRight5, { className: "h-4 w-4" })
4321
+ IconLeft: () => /* @__PURE__ */ jsx42(CaretLeft2, { className: "h-4 w-4" }),
4322
+ IconRight: () => /* @__PURE__ */ jsx42(CaretRight5, { className: "h-4 w-4" })
4287
4323
  },
4288
4324
  ...props
4289
4325
  }
@@ -4302,10 +4338,10 @@ import { useEffect as useEffect6, useState as useState8 } from "react";
4302
4338
 
4303
4339
  // src/components/date-time-picker/TimePicker.tsx
4304
4340
  import { Clock } from "@phosphor-icons/react";
4305
- import * as React29 from "react";
4341
+ import * as React30 from "react";
4306
4342
 
4307
4343
  // src/components/date-time-picker/TimePickerInput.tsx
4308
- import React28 from "react";
4344
+ import React29 from "react";
4309
4345
 
4310
4346
  // src/components/date-time-picker/time-picker-utils.ts
4311
4347
  function isValidHour(value) {
@@ -4447,8 +4483,8 @@ function display12HourValue(hours) {
4447
4483
  }
4448
4484
 
4449
4485
  // src/components/date-time-picker/TimePickerInput.tsx
4450
- import { jsx as jsx42 } from "react/jsx-runtime";
4451
- var TimePickerInput = React28.forwardRef(
4486
+ import { jsx as jsx43 } from "react/jsx-runtime";
4487
+ var TimePickerInput = React29.forwardRef(
4452
4488
  ({
4453
4489
  className,
4454
4490
  type = "tel",
@@ -4465,9 +4501,9 @@ var TimePickerInput = React28.forwardRef(
4465
4501
  onRightFocus,
4466
4502
  ...props
4467
4503
  }, ref) => {
4468
- const [flag, setFlag] = React28.useState(false);
4469
- const [prevIntKey, setPrevIntKey] = React28.useState("0");
4470
- React28.useEffect(() => {
4504
+ const [flag, setFlag] = React29.useState(false);
4505
+ const [prevIntKey, setPrevIntKey] = React29.useState("0");
4506
+ React29.useEffect(() => {
4471
4507
  if (flag) {
4472
4508
  const timer = setTimeout(() => {
4473
4509
  setFlag(false);
@@ -4475,7 +4511,7 @@ var TimePickerInput = React28.forwardRef(
4475
4511
  return () => clearTimeout(timer);
4476
4512
  }
4477
4513
  }, [flag]);
4478
- const calculatedValue = React28.useMemo(() => {
4514
+ const calculatedValue = React29.useMemo(() => {
4479
4515
  return getDateByType(date, picker);
4480
4516
  }, [date, picker]);
4481
4517
  const calculateNewValue = (key) => {
@@ -4506,7 +4542,7 @@ var TimePickerInput = React28.forwardRef(
4506
4542
  setDate(setDateByType(tempDate, newValue, picker, period));
4507
4543
  }
4508
4544
  };
4509
- return /* @__PURE__ */ jsx42(
4545
+ return /* @__PURE__ */ jsx43(
4510
4546
  InputBase,
4511
4547
  {
4512
4548
  ref,
@@ -4535,15 +4571,15 @@ var TimePickerInput = React28.forwardRef(
4535
4571
  TimePickerInput.displayName = "TimePickerInput";
4536
4572
 
4537
4573
  // src/components/date-time-picker/TimePicker.tsx
4538
- import { jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
4574
+ import { jsx as jsx44, jsxs as jsxs25 } from "react/jsx-runtime";
4539
4575
  function TimePicker({ date, setDate, hideSeconds }) {
4540
- const minuteRef = React29.useRef(null);
4541
- const hourRef = React29.useRef(null);
4542
- const secondRef = React29.useRef(null);
4543
- return /* @__PURE__ */ jsxs24("div", { className: "flex items-end gap-2", children: [
4544
- /* @__PURE__ */ jsxs24("div", { className: "grid gap-1 text-center", children: [
4545
- /* @__PURE__ */ jsx43(LabelBase_default, { htmlFor: "hours", className: "text-xs", children: "Horas" }),
4546
- /* @__PURE__ */ jsx43(
4576
+ const minuteRef = React30.useRef(null);
4577
+ const hourRef = React30.useRef(null);
4578
+ const secondRef = React30.useRef(null);
4579
+ return /* @__PURE__ */ jsxs25("div", { className: "flex items-end gap-2", children: [
4580
+ /* @__PURE__ */ jsxs25("div", { className: "grid gap-1 text-center", children: [
4581
+ /* @__PURE__ */ jsx44(LabelBase_default, { htmlFor: "hours", className: "text-xs", children: "Horas" }),
4582
+ /* @__PURE__ */ jsx44(
4547
4583
  TimePickerInput,
4548
4584
  {
4549
4585
  picker: "hours",
@@ -4554,9 +4590,9 @@ function TimePicker({ date, setDate, hideSeconds }) {
4554
4590
  }
4555
4591
  )
4556
4592
  ] }),
4557
- /* @__PURE__ */ jsxs24("div", { className: "grid gap-1 text-center", children: [
4558
- /* @__PURE__ */ jsx43(LabelBase_default, { htmlFor: "minutes", className: "text-xs", children: "Minutos" }),
4559
- /* @__PURE__ */ jsx43(
4593
+ /* @__PURE__ */ jsxs25("div", { className: "grid gap-1 text-center", children: [
4594
+ /* @__PURE__ */ jsx44(LabelBase_default, { htmlFor: "minutes", className: "text-xs", children: "Minutos" }),
4595
+ /* @__PURE__ */ jsx44(
4560
4596
  TimePickerInput,
4561
4597
  {
4562
4598
  picker: "minutes",
@@ -4568,9 +4604,9 @@ function TimePicker({ date, setDate, hideSeconds }) {
4568
4604
  }
4569
4605
  )
4570
4606
  ] }),
4571
- !hideSeconds && /* @__PURE__ */ jsxs24("div", { className: "grid gap-1 text-center", children: [
4572
- /* @__PURE__ */ jsx43(LabelBase_default, { htmlFor: "seconds", className: "text-xs", children: "Segundos" }),
4573
- /* @__PURE__ */ jsx43(
4607
+ !hideSeconds && /* @__PURE__ */ jsxs25("div", { className: "grid gap-1 text-center", children: [
4608
+ /* @__PURE__ */ jsx44(LabelBase_default, { htmlFor: "seconds", className: "text-xs", children: "Segundos" }),
4609
+ /* @__PURE__ */ jsx44(
4574
4610
  TimePickerInput,
4575
4611
  {
4576
4612
  picker: "seconds",
@@ -4581,13 +4617,13 @@ function TimePicker({ date, setDate, hideSeconds }) {
4581
4617
  }
4582
4618
  )
4583
4619
  ] }),
4584
- /* @__PURE__ */ jsx43("div", { className: "flex h-10 items-center", children: /* @__PURE__ */ jsx43(Clock, { className: "ml-2 h-4 w-4" }) })
4620
+ /* @__PURE__ */ jsx44("div", { className: "flex h-10 items-center", children: /* @__PURE__ */ jsx44(Clock, { className: "ml-2 h-4 w-4" }) })
4585
4621
  ] });
4586
4622
  }
4587
4623
 
4588
4624
  // src/components/date-time-picker/DateTimePicker.tsx
4589
4625
  import { Calendar as Calendar2 } from "@phosphor-icons/react";
4590
- import { Fragment as Fragment4, jsx as jsx44, jsxs as jsxs25 } from "react/jsx-runtime";
4626
+ import { Fragment as Fragment4, jsx as jsx45, jsxs as jsxs26 } from "react/jsx-runtime";
4591
4627
  function DateTimePicker({
4592
4628
  label,
4593
4629
  date,
@@ -4616,10 +4652,10 @@ function DateTimePicker({
4616
4652
  setInternalDate(date);
4617
4653
  }
4618
4654
  }, [date, open]);
4619
- return /* @__PURE__ */ jsxs25(Fragment4, { children: [
4620
- label && /* @__PURE__ */ jsx44(LabelBase_default, { className: "mb-[-1rem] pl-2", children: label }),
4621
- /* @__PURE__ */ jsxs25(DialogBase, { open, onOpenChange: setOpen, children: [
4622
- /* @__PURE__ */ jsx44(DialogTriggerBase, { disabled, asChild: true, children: /* @__PURE__ */ jsxs25(
4655
+ return /* @__PURE__ */ jsxs26(Fragment4, { children: [
4656
+ label && /* @__PURE__ */ jsx45(LabelBase_default, { className: "mb-[-1rem] pl-2", children: label }),
4657
+ /* @__PURE__ */ jsxs26(DialogBase, { open, onOpenChange: setOpen, children: [
4658
+ /* @__PURE__ */ jsx45(DialogTriggerBase, { disabled, asChild: true, children: /* @__PURE__ */ jsxs26(
4623
4659
  ButtonBase,
4624
4660
  {
4625
4661
  variant: "default",
@@ -4629,14 +4665,14 @@ function DateTimePicker({
4629
4665
  !date && "text-muted-foreground"
4630
4666
  ),
4631
4667
  children: [
4632
- date ? format(date, "PPP - HH:mm", { locale: ptBR }) : /* @__PURE__ */ jsx44("span", { className: "text-zinc-400", children: "Pick a date" }),
4633
- /* @__PURE__ */ jsx44(Calendar2, { className: "ml-auto text-gray-500", size: 24 })
4668
+ date ? format(date, "PPP - HH:mm", { locale: ptBR }) : /* @__PURE__ */ jsx45("span", { className: "text-zinc-400", children: "Pick a date" }),
4669
+ /* @__PURE__ */ jsx45(Calendar2, { className: "ml-auto text-gray-500", size: 24 })
4634
4670
  ]
4635
4671
  }
4636
4672
  ) }),
4637
- /* @__PURE__ */ jsxs25(DialogContentBase, { children: [
4638
- /* @__PURE__ */ jsx44(DialogHeaderBase, { children: /* @__PURE__ */ jsx44(DialogTitleBase, { className: "text-xl font-semibold", children: dialogTitle ?? "Selecione a data" }) }),
4639
- /* @__PURE__ */ jsx44(
4673
+ /* @__PURE__ */ jsxs26(DialogContentBase, { children: [
4674
+ /* @__PURE__ */ jsx45(DialogHeaderBase, { children: /* @__PURE__ */ jsx45(DialogTitleBase, { className: "text-xl font-semibold", children: dialogTitle ?? "Selecione a data" }) }),
4675
+ /* @__PURE__ */ jsx45(
4640
4676
  CalendarBase2,
4641
4677
  {
4642
4678
  mode: "single",
@@ -4648,7 +4684,7 @@ function DateTimePicker({
4648
4684
  toDate
4649
4685
  }
4650
4686
  ),
4651
- /* @__PURE__ */ jsx44("div", { className: "border-border flex justify-center border-t p-3", children: /* @__PURE__ */ jsx44(
4687
+ /* @__PURE__ */ jsx45("div", { className: "border-border flex justify-center border-t p-3", children: /* @__PURE__ */ jsx45(
4652
4688
  TimePicker,
4653
4689
  {
4654
4690
  setDate: setInternalDate,
@@ -4656,7 +4692,7 @@ function DateTimePicker({
4656
4692
  hideSeconds
4657
4693
  }
4658
4694
  ) }),
4659
- /* @__PURE__ */ jsx44(
4695
+ /* @__PURE__ */ jsx45(
4660
4696
  ButtonBase,
4661
4697
  {
4662
4698
  onClick: () => {
@@ -4672,7 +4708,7 @@ function DateTimePicker({
4672
4708
  }
4673
4709
 
4674
4710
  // src/components/selects/Select.tsx
4675
- import { Fragment as Fragment5, jsx as jsx45, jsxs as jsxs26 } from "react/jsx-runtime";
4711
+ import { Fragment as Fragment5, jsx as jsx46, jsxs as jsxs27 } from "react/jsx-runtime";
4676
4712
  function Select({
4677
4713
  items,
4678
4714
  groupItems,
@@ -4681,9 +4717,9 @@ function Select({
4681
4717
  errorMessage,
4682
4718
  testIds = {}
4683
4719
  }) {
4684
- return /* @__PURE__ */ jsxs26("div", { "data-testid": testIds.root ?? "select-root", children: [
4685
- /* @__PURE__ */ jsxs26(SelectBase, { onValueChange: onChange, "data-testid": testIds.base ?? "select-base", children: [
4686
- /* @__PURE__ */ jsx45(
4720
+ return /* @__PURE__ */ jsxs27("div", { "data-testid": testIds.root ?? "select-root", children: [
4721
+ /* @__PURE__ */ jsxs27(SelectBase, { onValueChange: onChange, "data-testid": testIds.base ?? "select-base", children: [
4722
+ /* @__PURE__ */ jsx46(
4687
4723
  SelectTriggerBase,
4688
4724
  {
4689
4725
  className: cn(
@@ -4691,7 +4727,7 @@ function Select({
4691
4727
  errorMessage && "border-red-500"
4692
4728
  ),
4693
4729
  "data-testid": testIds.trigger ?? "select-trigger",
4694
- children: /* @__PURE__ */ jsx45(
4730
+ children: /* @__PURE__ */ jsx46(
4695
4731
  SelectValueBase,
4696
4732
  {
4697
4733
  placeholder,
@@ -4700,9 +4736,9 @@ function Select({
4700
4736
  )
4701
4737
  }
4702
4738
  ),
4703
- /* @__PURE__ */ jsx45(ScrollAreaBase, { "data-testid": testIds.scrollarea ?? "select-scrollarea", children: /* @__PURE__ */ jsx45(SelectContentBase, { "data-testid": testIds.content ?? "select-content", children: groupItems ? /* @__PURE__ */ jsx45(Fragment5, { children: Object.keys(groupItems).map((key) => /* @__PURE__ */ jsxs26(SelectGroupBase, { "data-testid": testIds.group ?? "select-group", children: [
4704
- /* @__PURE__ */ jsx45(SelectLabelBase, { "data-testid": testIds.label ?? "select-label", children: key }),
4705
- groupItems[key].map((item) => /* @__PURE__ */ jsx45(
4739
+ /* @__PURE__ */ jsx46(ScrollAreaBase, { "data-testid": testIds.scrollarea ?? "select-scrollarea", children: /* @__PURE__ */ jsx46(SelectContentBase, { "data-testid": testIds.content ?? "select-content", children: groupItems ? /* @__PURE__ */ jsx46(Fragment5, { children: Object.keys(groupItems).map((key) => /* @__PURE__ */ jsxs27(SelectGroupBase, { "data-testid": testIds.group ?? "select-group", children: [
4740
+ /* @__PURE__ */ jsx46(SelectLabelBase, { "data-testid": testIds.label ?? "select-label", children: key }),
4741
+ groupItems[key].map((item) => /* @__PURE__ */ jsx46(
4706
4742
  SelectItemBase,
4707
4743
  {
4708
4744
  value: item.value,
@@ -4711,7 +4747,7 @@ function Select({
4711
4747
  },
4712
4748
  item.value
4713
4749
  ))
4714
- ] }, key)) }) : /* @__PURE__ */ jsx45(SelectGroupBase, { "data-testid": testIds.group ?? "select-group", children: items.map((item) => /* @__PURE__ */ jsx45(
4750
+ ] }, key)) }) : /* @__PURE__ */ jsx46(SelectGroupBase, { "data-testid": testIds.group ?? "select-group", children: items.map((item) => /* @__PURE__ */ jsx46(
4715
4751
  SelectItemBase,
4716
4752
  {
4717
4753
  value: item.value,
@@ -4721,7 +4757,7 @@ function Select({
4721
4757
  item.value
4722
4758
  )) }) }) })
4723
4759
  ] }),
4724
- errorMessage && /* @__PURE__ */ jsx45(
4760
+ errorMessage && /* @__PURE__ */ jsx46(
4725
4761
  "p",
4726
4762
  {
4727
4763
  className: "text-sm text-red-500",
@@ -4731,6 +4767,67 @@ function Select({
4731
4767
  )
4732
4768
  ] });
4733
4769
  }
4770
+
4771
+ // src/components/ui/DestructiveDialog.tsx
4772
+ import * as React31 from "react";
4773
+ import { XCircle } from "@phosphor-icons/react";
4774
+ import { jsx as jsx47, jsxs as jsxs28 } from "react/jsx-runtime";
4775
+ var DestructiveDialog = ({
4776
+ title,
4777
+ description,
4778
+ onConfirm,
4779
+ onCancel,
4780
+ children,
4781
+ triggerContent
4782
+ }) => {
4783
+ const titleId = "destructive-dialog-title";
4784
+ const descriptionId = "destructive-dialog-description";
4785
+ const triggerEl = React31.isValidElement(children) ? /* @__PURE__ */ jsx47(AlertDialogTriggerBase, { asChild: true, children }) : /* @__PURE__ */ jsx47(AlertDialogTriggerBase, { children: /* @__PURE__ */ jsx47(ButtonBase, { variant: "destructive", children: triggerContent ?? "Excluir" }) });
4786
+ return /* @__PURE__ */ jsxs28(AlertDialogBase, { children: [
4787
+ triggerEl,
4788
+ /* @__PURE__ */ jsxs28(
4789
+ AlertDialogContentBase,
4790
+ {
4791
+ role: "alertdialog",
4792
+ "aria-modal": "true",
4793
+ "aria-labelledby": titleId,
4794
+ "aria-describedby": descriptionId,
4795
+ className: cn("border border-destructive bg-background"),
4796
+ children: [
4797
+ /* @__PURE__ */ jsxs28("div", { className: "flex items-start gap-4", children: [
4798
+ /* @__PURE__ */ jsx47("div", { className: "flex items-center justify-center w-10 h-10 rounded-full ring-1 ring-destructive/30", children: /* @__PURE__ */ jsx47(XCircle, { className: "w-6 h-6 text-destructive" }) }),
4799
+ /* @__PURE__ */ jsxs28("div", { className: "flex-1", children: [
4800
+ /* @__PURE__ */ jsx47(AlertDialogTitleBase, { id: titleId, className: "text-lg sm:text-xl font-semibold text-destructive", children: title }),
4801
+ /* @__PURE__ */ jsx47(AlertDialogDescriptionBase, { id: descriptionId, className: "mt-2 text-sm text-muted-foreground", children: description })
4802
+ ] })
4803
+ ] }),
4804
+ /* @__PURE__ */ jsxs28(AlertDialogFooterBase, { className: "mt-2 flex justify-end gap-3", children: [
4805
+ /* @__PURE__ */ jsx47(
4806
+ AlertDialogCancelBase,
4807
+ {
4808
+ onClick: onCancel,
4809
+ className: cn(
4810
+ buttonVariantsBase({ variant: "outline", size: "sm" }),
4811
+ "px-4 py-2",
4812
+ "hover:bg-foreground/5 hover:text-primary hover:opacity-90 hover:shadow-none"
4813
+ ),
4814
+ children: "Cancelar"
4815
+ }
4816
+ ),
4817
+ /* @__PURE__ */ jsx47(
4818
+ AlertDialogActionBase,
4819
+ {
4820
+ onClick: onConfirm,
4821
+ className: cn(buttonVariantsBase({ variant: "destructive", size: "default" }), "px-5 py-2 shadow-lg"),
4822
+ children: "Confirmar"
4823
+ }
4824
+ )
4825
+ ] })
4826
+ ]
4827
+ }
4828
+ )
4829
+ ] });
4830
+ };
4734
4831
  export {
4735
4832
  AlertDialogActionBase,
4736
4833
  AlertDialogBase,
@@ -4769,6 +4866,9 @@ export {
4769
4866
  CarouselNextBase,
4770
4867
  CarouselPrevious,
4771
4868
  CheckboxBase,
4869
+ CollapsibleBase,
4870
+ CollapsibleContentBase,
4871
+ CollapsibleTriggerBase,
4772
4872
  Combobox,
4773
4873
  CommandBase,
4774
4874
  CommandDialogBase,
@@ -4795,6 +4895,7 @@ export {
4795
4895
  ContextMenuSubTriggerBase,
4796
4896
  ContextMenuTriggerBase,
4797
4897
  DateTimePicker,
4898
+ DestructiveDialog,
4798
4899
  DialogBase,
4799
4900
  DialogCloseBase,
4800
4901
  DialogContentBase,
@@ -4931,7 +5032,6 @@ export {
4931
5032
  UseSideBarBase,
4932
5033
  badgeVariants,
4933
5034
  buttonVariantsBase,
4934
- navigationMenuTriggerStyle,
4935
5035
  toast,
4936
5036
  useIsMobile,
4937
5037
  useTheme