@mlw-packages/react-components 1.9.9 → 1.9.11

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
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
- import * as React33 from 'react';
3
- import React33__default, { forwardRef, useState, useEffect, createContext, useMemo, useRef, useCallback, useContext, useId, useLayoutEffect } from 'react';
2
+ import * as React32 from 'react';
3
+ import React32__default, { forwardRef, useState, useEffect, createContext, useMemo, useRef, useCallback, useContext, useId, useLayoutEffect } from 'react';
4
4
  import { Slot } from '@radix-ui/react-slot';
5
5
  import { cva } from 'class-variance-authority';
6
6
  import { clsx } from 'clsx';
@@ -15,7 +15,7 @@ import { toast as toast$1, Toaster as Toaster$1 } from 'sonner';
15
15
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
16
16
  import 'react-router-dom';
17
17
  import { Command } from 'cmdk';
18
- import { AnimatePresence, motion } from 'framer-motion';
18
+ import { AnimatePresence, motion, useMotionValue, useSpring, useTransform, animate } from 'framer-motion';
19
19
  import * as PopoverPrimitive from '@radix-ui/react-popover';
20
20
  import { XIcon as XIcon$1, CalendarDotIcon, DotsThreeIcon as DotsThreeIcon$1, Check, CheckIcon as CheckIcon$1 } from '@phosphor-icons/react/dist/ssr';
21
21
  import * as SelectPrimitive from '@radix-ui/react-select';
@@ -520,7 +520,7 @@ function cn(...inputs) {
520
520
  var AlertDialogBase = AlertDialogPrimitive.Root;
521
521
  var AlertDialogTriggerBase = AlertDialogPrimitive.Trigger;
522
522
  var AlertDialogPortalBase = AlertDialogPrimitive.Portal;
523
- var AlertDialogOverlayBase = React33.forwardRef(({ className, testid = "alertdialog-overlay", ...props }, ref) => /* @__PURE__ */ jsx(
523
+ var AlertDialogOverlayBase = React32.forwardRef(({ className, testid = "alertdialog-overlay", ...props }, ref) => /* @__PURE__ */ jsx(
524
524
  AlertDialogPrimitive.Overlay,
525
525
  {
526
526
  className: cn(
@@ -533,7 +533,7 @@ var AlertDialogOverlayBase = React33.forwardRef(({ className, testid = "alertdia
533
533
  }
534
534
  ));
535
535
  AlertDialogOverlayBase.displayName = AlertDialogPrimitive.Overlay.displayName;
536
- var AlertDialogContentBase = React33.forwardRef(({ className, testid = "alertdialog-content", ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialogPortalBase, { children: [
536
+ var AlertDialogContentBase = React32.forwardRef(({ className, testid = "alertdialog-content", ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialogPortalBase, { children: [
537
537
  /* @__PURE__ */ jsx(AlertDialogOverlayBase, {}),
538
538
  /* @__PURE__ */ jsx(
539
539
  AlertDialogPrimitive.Content,
@@ -577,7 +577,7 @@ var AlertDialogFooterBase = ({
577
577
  }
578
578
  );
579
579
  AlertDialogFooterBase.displayName = "AlertDialogFooterBase";
580
- var AlertDialogTitleBase = React33.forwardRef(({ className, testid = "alertdialog-title", ...props }, ref) => /* @__PURE__ */ jsx(
580
+ var AlertDialogTitleBase = React32.forwardRef(({ className, testid = "alertdialog-title", ...props }, ref) => /* @__PURE__ */ jsx(
581
581
  AlertDialogPrimitive.Title,
582
582
  {
583
583
  ref,
@@ -587,7 +587,7 @@ var AlertDialogTitleBase = React33.forwardRef(({ className, testid = "alertdialo
587
587
  }
588
588
  ));
589
589
  AlertDialogTitleBase.displayName = AlertDialogPrimitive.Title.displayName;
590
- var AlertDialogDescriptionBase = React33.forwardRef(({ className, testid = "alertdialog-description", ...props }, ref) => /* @__PURE__ */ jsx(
590
+ var AlertDialogDescriptionBase = React32.forwardRef(({ className, testid = "alertdialog-description", ...props }, ref) => /* @__PURE__ */ jsx(
591
591
  AlertDialogPrimitive.Description,
592
592
  {
593
593
  ref,
@@ -597,7 +597,7 @@ var AlertDialogDescriptionBase = React33.forwardRef(({ className, testid = "aler
597
597
  }
598
598
  ));
599
599
  AlertDialogDescriptionBase.displayName = AlertDialogPrimitive.Description.displayName;
600
- var AlertDialogActionBase = React33.forwardRef(({ className, testid = "alertdialog-action", ...props }, ref) => /* @__PURE__ */ jsx(
600
+ var AlertDialogActionBase = React32.forwardRef(({ className, testid = "alertdialog-action", ...props }, ref) => /* @__PURE__ */ jsx(
601
601
  AlertDialogPrimitive.Action,
602
602
  {
603
603
  ref,
@@ -607,7 +607,7 @@ var AlertDialogActionBase = React33.forwardRef(({ className, testid = "alertdial
607
607
  }
608
608
  ));
609
609
  AlertDialogActionBase.displayName = AlertDialogPrimitive.Action.displayName;
610
- var AlertDialogCancelBase = React33.forwardRef(({ className, testid = "alertdialog-cancel", ...props }, ref) => /* @__PURE__ */ jsx(
610
+ var AlertDialogCancelBase = React32.forwardRef(({ className, testid = "alertdialog-cancel", ...props }, ref) => /* @__PURE__ */ jsx(
611
611
  AlertDialogPrimitive.Cancel,
612
612
  {
613
613
  ref,
@@ -621,7 +621,7 @@ var DialogBase = DialogPrimitive.Root;
621
621
  var DialogTriggerBase = DialogPrimitive.Trigger;
622
622
  var DialogPortalBase = DialogPrimitive.Portal;
623
623
  var DialogCloseBase = DialogPrimitive.Close;
624
- var DialogOverlayBase = React33.forwardRef(({ className, testid: dataTestId = "dialog-overlay", ...props }, ref) => /* @__PURE__ */ jsx(
624
+ var DialogOverlayBase = React32.forwardRef(({ className, testid: dataTestId = "dialog-overlay", ...props }, ref) => /* @__PURE__ */ jsx(
625
625
  DialogPrimitive.Overlay,
626
626
  {
627
627
  ref,
@@ -634,7 +634,7 @@ var DialogOverlayBase = React33.forwardRef(({ className, testid: dataTestId = "d
634
634
  }
635
635
  ));
636
636
  DialogOverlayBase.displayName = DialogPrimitive.Overlay.displayName;
637
- var DialogContentBase = React33.forwardRef(
637
+ var DialogContentBase = React32.forwardRef(
638
638
  ({ className, children, testid: dataTestId = "dialog-content", ...props }, ref) => {
639
639
  const userOnWheel = props.onWheel;
640
640
  return /* @__PURE__ */ jsxs(DialogPortalBase, { children: [
@@ -663,7 +663,7 @@ var DialogContentBase = React33.forwardRef(
663
663
  }
664
664
  );
665
665
  DialogContentBase.displayName = DialogPrimitive.Content.displayName;
666
- var DialogHeaderBase = React33.forwardRef(({ className, testid: dataTestId = "dialog-header", ...props }, ref) => /* @__PURE__ */ jsx(
666
+ var DialogHeaderBase = React32.forwardRef(({ className, testid: dataTestId = "dialog-header", ...props }, ref) => /* @__PURE__ */ jsx(
667
667
  "div",
668
668
  {
669
669
  ref,
@@ -676,7 +676,7 @@ var DialogHeaderBase = React33.forwardRef(({ className, testid: dataTestId = "di
676
676
  }
677
677
  ));
678
678
  DialogHeaderBase.displayName = "DialogHeader";
679
- var DialogFooterBase = React33.forwardRef(({ className, testid: dataTestId = "dialog-footer", ...props }, ref) => /* @__PURE__ */ jsx(
679
+ var DialogFooterBase = React32.forwardRef(({ className, testid: dataTestId = "dialog-footer", ...props }, ref) => /* @__PURE__ */ jsx(
680
680
  "div",
681
681
  {
682
682
  ref,
@@ -689,7 +689,7 @@ var DialogFooterBase = React33.forwardRef(({ className, testid: dataTestId = "di
689
689
  }
690
690
  ));
691
691
  DialogFooterBase.displayName = "DialogFooter";
692
- var DialogTitleBase = React33.forwardRef(({ className, testid: dataTestId = "dialog-title", ...props }, ref) => /* @__PURE__ */ jsx(
692
+ var DialogTitleBase = React32.forwardRef(({ className, testid: dataTestId = "dialog-title", ...props }, ref) => /* @__PURE__ */ jsx(
693
693
  DialogPrimitive.Title,
694
694
  {
695
695
  ref,
@@ -702,7 +702,7 @@ var DialogTitleBase = React33.forwardRef(({ className, testid: dataTestId = "dia
702
702
  }
703
703
  ));
704
704
  DialogTitleBase.displayName = DialogPrimitive.Title.displayName;
705
- var DialogDescriptionBase = React33.forwardRef(({ className, testid: dataTestId = "dialog-description", ...props }, ref) => /* @__PURE__ */ jsx(
705
+ var DialogDescriptionBase = React32.forwardRef(({ className, testid: dataTestId = "dialog-description", ...props }, ref) => /* @__PURE__ */ jsx(
706
706
  DialogPrimitive.Description,
707
707
  {
708
708
  ref,
@@ -760,9 +760,9 @@ var dotVariants = cva(
760
760
  }
761
761
  }
762
762
  );
763
- var LoadingBase = React33.forwardRef(
763
+ var LoadingBase = React32.forwardRef(
764
764
  ({ className, size, message, overlay = false, variant = "spinner", ...props }, ref) => {
765
- React33.useEffect(() => {
765
+ React32.useEffect(() => {
766
766
  const style = document.createElement("style");
767
767
  style.textContent = `
768
768
  @keyframes dotBounce {
@@ -878,7 +878,7 @@ var LoadingBase = React33.forwardRef(
878
878
  }
879
879
  );
880
880
  LoadingBase.displayName = "LoadingBase";
881
- var LabelBase = React33.forwardRef(
881
+ var LabelBase = React32.forwardRef(
882
882
  ({ className, asChild = false, testid = "label-base", ...props }, ref) => {
883
883
  const Comp = asChild ? Slot : "label";
884
884
  return /* @__PURE__ */ jsx(Label, { children: /* @__PURE__ */ jsx(
@@ -897,7 +897,7 @@ var LabelBase = React33.forwardRef(
897
897
  );
898
898
  LabelBase.displayName = "LabelBase";
899
899
  var LabelBase_default = LabelBase;
900
- var ProgressBase = React33.forwardRef(
900
+ var ProgressBase = React32.forwardRef(
901
901
  ({
902
902
  className,
903
903
  value: rawValue,
@@ -1079,7 +1079,7 @@ var ProgressPanelsBase = ({
1079
1079
  /* @__PURE__ */ jsx("div", { className: "flex w-full gap-1 rounded-lg overflow-hidden", children: steps.map((step, idx) => {
1080
1080
  const isActive = idx === currentStep;
1081
1081
  const isLast = idx === steps.length - 1;
1082
- return /* @__PURE__ */ jsxs(React33.Fragment, { children: [
1082
+ return /* @__PURE__ */ jsxs(React32.Fragment, { children: [
1083
1083
  /* @__PURE__ */ jsxs(
1084
1084
  "div",
1085
1085
  {
@@ -1271,10 +1271,10 @@ var toast = {
1271
1271
  };
1272
1272
  var MOBILE_BREAKPOINT = 768;
1273
1273
  function useIsMobile() {
1274
- const [isMobile, setIsMobile] = React33.useState(
1274
+ const [isMobile, setIsMobile] = React32.useState(
1275
1275
  void 0
1276
1276
  );
1277
- React33.useEffect(() => {
1277
+ React32.useEffect(() => {
1278
1278
  const checkIsMobile = () => {
1279
1279
  const isTouch = window.matchMedia("(pointer: coarse)").matches || navigator.maxTouchPoints > 0;
1280
1280
  const isSmallScreen = window.innerWidth < MOBILE_BREAKPOINT;
@@ -1417,11 +1417,11 @@ var TOOLTIP_DELAY_DURATION = 600;
1417
1417
  var TOOLTIP_SIDE_OFFSET = 8;
1418
1418
  var TOOLTIP_MOBILE_DELAY = Infinity;
1419
1419
  var TooltipProviderBase = TooltipPrimitive.Provider;
1420
- var TooltipClickContext = React33.createContext({});
1420
+ var TooltipClickContext = React32.createContext({});
1421
1421
  var TooltipBase = ({ children, delayDuration = TOOLTIP_DELAY_DURATION, ...props }) => {
1422
- const [open, setOpen] = React33.useState(false);
1422
+ const [open, setOpen] = React32.useState(false);
1423
1423
  const isMobile = useIsMobile();
1424
- React33.useEffect(() => {
1424
+ React32.useEffect(() => {
1425
1425
  if (!open || !isMobile) return;
1426
1426
  const handleClickOutside = (e) => {
1427
1427
  const target = e.target;
@@ -1434,7 +1434,7 @@ var TooltipBase = ({ children, delayDuration = TOOLTIP_DELAY_DURATION, ...props
1434
1434
  document.addEventListener("pointerdown", handleClickOutside);
1435
1435
  return () => document.removeEventListener("pointerdown", handleClickOutside);
1436
1436
  }, [open, isMobile]);
1437
- const contextValue = React33.useMemo(() => ({ setOpen, isMobile }), [isMobile]);
1437
+ const contextValue = React32.useMemo(() => ({ setOpen, isMobile }), [isMobile]);
1438
1438
  return /* @__PURE__ */ jsx(TooltipClickContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx(
1439
1439
  TooltipPrimitive.Root,
1440
1440
  {
@@ -1447,9 +1447,9 @@ var TooltipBase = ({ children, delayDuration = TOOLTIP_DELAY_DURATION, ...props
1447
1447
  ) });
1448
1448
  };
1449
1449
  TooltipBase.displayName = "TooltipBase";
1450
- var TooltipTriggerBase = React33.forwardRef(({ children, onPointerDown, onClick: propOnClick, ...props }, ref) => {
1451
- const { setOpen, isMobile } = React33.useContext(TooltipClickContext);
1452
- const handlePointerDown = React33.useCallback(
1450
+ var TooltipTriggerBase = React32.forwardRef(({ children, onPointerDown, onClick: propOnClick, ...props }, ref) => {
1451
+ const { setOpen, isMobile } = React32.useContext(TooltipClickContext);
1452
+ const handlePointerDown = React32.useCallback(
1453
1453
  (e) => {
1454
1454
  if (onPointerDown) {
1455
1455
  onPointerDown(e);
@@ -1457,7 +1457,7 @@ var TooltipTriggerBase = React33.forwardRef(({ children, onPointerDown, onClick:
1457
1457
  },
1458
1458
  [onPointerDown]
1459
1459
  );
1460
- const onClick = React33.useCallback(
1460
+ const onClick = React32.useCallback(
1461
1461
  (e) => {
1462
1462
  if (propOnClick) {
1463
1463
  propOnClick(e);
@@ -1472,7 +1472,7 @@ var TooltipTriggerBase = React33.forwardRef(({ children, onPointerDown, onClick:
1472
1472
  },
1473
1473
  [onPointerDown, isMobile, setOpen, propOnClick]
1474
1474
  );
1475
- const preventDefaultOnMobile = React33.useCallback(
1475
+ const preventDefaultOnMobile = React32.useCallback(
1476
1476
  (e) => {
1477
1477
  if (isMobile) {
1478
1478
  e.preventDefault();
@@ -1498,7 +1498,7 @@ var TooltipTriggerBase = React33.forwardRef(({ children, onPointerDown, onClick:
1498
1498
  );
1499
1499
  });
1500
1500
  TooltipTriggerBase.displayName = "TooltipTriggerBase";
1501
- var TooltipContentBase = React33.forwardRef(
1501
+ var TooltipContentBase = React32.forwardRef(
1502
1502
  ({ className, sideOffset = TOOLTIP_SIDE_OFFSET, onPointerDown, ...props }, ref) => {
1503
1503
  return /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
1504
1504
  TooltipPrimitive.Content,
@@ -1539,7 +1539,7 @@ var DestructiveDialog = ({
1539
1539
  triggerContent,
1540
1540
  className
1541
1541
  }) => {
1542
- const triggerEl = React33.isValidElement(children) ? /* @__PURE__ */ jsx(AlertDialogTriggerBase, { asChild: true, children }) : /* @__PURE__ */ jsx(AlertDialogTriggerBase, { children: /* @__PURE__ */ jsx(ButtonBase, { variant: "destructive", children: triggerContent ?? "Excluir" }) });
1542
+ const triggerEl = React32.isValidElement(children) ? /* @__PURE__ */ jsx(AlertDialogTriggerBase, { asChild: true, children }) : /* @__PURE__ */ jsx(AlertDialogTriggerBase, { children: /* @__PURE__ */ jsx(ButtonBase, { variant: "destructive", children: triggerContent ?? "Excluir" }) });
1543
1543
  return /* @__PURE__ */ jsxs(AlertDialogBase, { children: [
1544
1544
  triggerEl,
1545
1545
  /* @__PURE__ */ jsxs(
@@ -1586,7 +1586,7 @@ var ModalBase = DialogPrimitive.Root;
1586
1586
  var ModalTriggerBase = DialogPrimitive.Trigger;
1587
1587
  var ModalPortalBase = DialogPrimitive.Portal;
1588
1588
  var ModalCloseBase = DialogPrimitive.Close;
1589
- var ModalOverlayBase = React33.forwardRef(({ className, testid: dataTestId = "modal-overlay", ...props }, ref) => /* @__PURE__ */ jsx(
1589
+ var ModalOverlayBase = React32.forwardRef(({ className, testid: dataTestId = "modal-overlay", ...props }, ref) => /* @__PURE__ */ jsx(
1590
1590
  DialogPrimitive.Overlay,
1591
1591
  {
1592
1592
  ref,
@@ -1599,7 +1599,7 @@ var ModalOverlayBase = React33.forwardRef(({ className, testid: dataTestId = "mo
1599
1599
  }
1600
1600
  ));
1601
1601
  ModalOverlayBase.displayName = DialogPrimitive.Overlay.displayName;
1602
- var ModalContentBase = React33.forwardRef(
1602
+ var ModalContentBase = React32.forwardRef(
1603
1603
  ({
1604
1604
  className,
1605
1605
  children,
@@ -1663,7 +1663,7 @@ var ModalContentBase = React33.forwardRef(
1663
1663
  }
1664
1664
  );
1665
1665
  ModalContentBase.displayName = DialogPrimitive.Content.displayName;
1666
- var ModalHeaderBase = React33.forwardRef(({ className, testid: dataTestId = "modal-header", ...props }, ref) => /* @__PURE__ */ jsx(
1666
+ var ModalHeaderBase = React32.forwardRef(({ className, testid: dataTestId = "modal-header", ...props }, ref) => /* @__PURE__ */ jsx(
1667
1667
  "div",
1668
1668
  {
1669
1669
  ref,
@@ -1676,7 +1676,7 @@ var ModalHeaderBase = React33.forwardRef(({ className, testid: dataTestId = "mod
1676
1676
  }
1677
1677
  ));
1678
1678
  ModalHeaderBase.displayName = "ModalHeader";
1679
- var ModalFooterBase = React33.forwardRef(({ className, testid: dataTestId = "modal-footer", ...props }, ref) => /* @__PURE__ */ jsx(
1679
+ var ModalFooterBase = React32.forwardRef(({ className, testid: dataTestId = "modal-footer", ...props }, ref) => /* @__PURE__ */ jsx(
1680
1680
  "div",
1681
1681
  {
1682
1682
  ref,
@@ -1689,7 +1689,7 @@ var ModalFooterBase = React33.forwardRef(({ className, testid: dataTestId = "mod
1689
1689
  }
1690
1690
  ));
1691
1691
  ModalFooterBase.displayName = "ModalFooter";
1692
- var ModalTitleBase = React33.forwardRef(({ className, testid: dataTestId = "modal-title", ...props }, ref) => /* @__PURE__ */ jsx(
1692
+ var ModalTitleBase = React32.forwardRef(({ className, testid: dataTestId = "modal-title", ...props }, ref) => /* @__PURE__ */ jsx(
1693
1693
  DialogPrimitive.Title,
1694
1694
  {
1695
1695
  ref,
@@ -1702,7 +1702,7 @@ var ModalTitleBase = React33.forwardRef(({ className, testid: dataTestId = "moda
1702
1702
  }
1703
1703
  ));
1704
1704
  ModalTitleBase.displayName = DialogPrimitive.Title.displayName;
1705
- var ModalDescriptionBase = React33.forwardRef(({ className, testid: dataTestId = "modal-description", ...props }, ref) => /* @__PURE__ */ jsx(
1705
+ var ModalDescriptionBase = React32.forwardRef(({ className, testid: dataTestId = "modal-description", ...props }, ref) => /* @__PURE__ */ jsx(
1706
1706
  DialogPrimitive.Description,
1707
1707
  {
1708
1708
  ref,
@@ -1739,7 +1739,7 @@ var buttonVariantsBase = cva(
1739
1739
  }
1740
1740
  }
1741
1741
  );
1742
- var ButtonBase = React33__default.forwardRef(
1742
+ var ButtonBase = React32__default.forwardRef(
1743
1743
  ({
1744
1744
  className,
1745
1745
  variant,
@@ -1791,7 +1791,7 @@ var ButtonBase = React33__default.forwardRef(
1791
1791
  }
1792
1792
  );
1793
1793
  ButtonBase.displayName = "Button";
1794
- var ButtonGroupBase = React33__default.forwardRef(
1794
+ var ButtonGroupBase = React32__default.forwardRef(
1795
1795
  ({ className, children, orientation = "horizontal", ...props }, ref) => {
1796
1796
  return /* @__PURE__ */ jsx(
1797
1797
  "div",
@@ -1804,17 +1804,17 @@ var ButtonGroupBase = React33__default.forwardRef(
1804
1804
  className
1805
1805
  ),
1806
1806
  ...props,
1807
- children: React33__default.Children.map(children, (child, index) => {
1808
- if (!React33__default.isValidElement(child)) return child;
1807
+ children: React32__default.Children.map(children, (child, index) => {
1808
+ if (!React32__default.isValidElement(child)) return child;
1809
1809
  const typedChild = child;
1810
- return React33__default.cloneElement(typedChild, {
1810
+ return React32__default.cloneElement(typedChild, {
1811
1811
  className: cn(
1812
1812
  typedChild.props.className,
1813
1813
  "rounded-none",
1814
1814
  index === 0 && orientation === "horizontal" && "rounded-l-md",
1815
1815
  index === 0 && orientation === "vertical" && "rounded-t-md",
1816
- index === React33__default.Children.count(children) - 1 && orientation === "horizontal" && "rounded-r-md",
1817
- index === React33__default.Children.count(children) - 1 && orientation === "vertical" && "rounded-b-md"
1816
+ index === React32__default.Children.count(children) - 1 && orientation === "horizontal" && "rounded-r-md",
1817
+ index === React32__default.Children.count(children) - 1 && orientation === "vertical" && "rounded-b-md"
1818
1818
  )
1819
1819
  });
1820
1820
  })
@@ -1828,7 +1828,7 @@ var ErrorMessage = ({ error }) => {
1828
1828
  return /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", children: error });
1829
1829
  };
1830
1830
  var ErrorMessage_default = ErrorMessage;
1831
- var InputBase = React33.forwardRef(
1831
+ var InputBase = React32.forwardRef(
1832
1832
  ({
1833
1833
  className,
1834
1834
  type = "text",
@@ -1937,7 +1937,7 @@ var DebouncedInput = forwardRef(
1937
1937
  );
1938
1938
  DebouncedInput.displayName = "DebouncedInput";
1939
1939
  var DebouncedInput_default = DebouncedInput;
1940
- var CommandBase = React33.forwardRef(({ className, testid: dataTestId = "command-base", ...props }, ref) => /* @__PURE__ */ jsx(
1940
+ var CommandBase = React32.forwardRef(({ className, testid: dataTestId = "command-base", ...props }, ref) => /* @__PURE__ */ jsx(
1941
1941
  Command,
1942
1942
  {
1943
1943
  ref,
@@ -1970,7 +1970,7 @@ var CommandDialogBase = ({ children, open, ...props }) => {
1970
1970
  "command-dialog"
1971
1971
  ) }) }) });
1972
1972
  };
1973
- var CommandInputBase = React33.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ jsxs(
1973
+ var CommandInputBase = React32.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ jsxs(
1974
1974
  "div",
1975
1975
  {
1976
1976
  className: "flex items-center border-b px-3 border-border",
@@ -1993,7 +1993,7 @@ var CommandInputBase = React33.forwardRef(({ className, testid: dataTestId = "co
1993
1993
  }
1994
1994
  ));
1995
1995
  CommandInputBase.displayName = Command.Input.displayName;
1996
- var CommandDebouncedInputBase = React33.forwardRef(
1996
+ var CommandDebouncedInputBase = React32.forwardRef(
1997
1997
  ({
1998
1998
  className,
1999
1999
  testid: dataTestId = "command-input",
@@ -2034,10 +2034,10 @@ var CommandDebouncedInputBase = React33.forwardRef(
2034
2034
  )
2035
2035
  );
2036
2036
  CommandDebouncedInputBase.displayName = "CommandDebouncedInputBase";
2037
- var CommandListBase = React33.forwardRef(
2037
+ var CommandListBase = React32.forwardRef(
2038
2038
  ({ className, testid: dataTestId = "command-list", onEndReached, ...props }, ref) => {
2039
- const listRef = React33.useRef(null);
2040
- React33.useEffect(() => {
2039
+ const listRef = React32.useRef(null);
2040
+ React32.useEffect(() => {
2041
2041
  const element = listRef.current;
2042
2042
  if (!element) return;
2043
2043
  const handleWheel = (e) => {
@@ -2100,7 +2100,7 @@ var CommandListBase = React33.forwardRef(
2100
2100
  element.removeEventListener("touchstart", handleTouchStart);
2101
2101
  };
2102
2102
  }, [onEndReached]);
2103
- const combinedRef = React33.useCallback(
2103
+ const combinedRef = React32.useCallback(
2104
2104
  (node) => {
2105
2105
  listRef.current = node;
2106
2106
  if (typeof ref === "function") {
@@ -2136,7 +2136,7 @@ var CommandListBase = React33.forwardRef(
2136
2136
  }
2137
2137
  );
2138
2138
  CommandListBase.displayName = Command.List.displayName;
2139
- var CommandEmptyBase = React33.forwardRef(({ testid: dataTestId = "command-empty", ...props }, ref) => /* @__PURE__ */ jsx(
2139
+ var CommandEmptyBase = React32.forwardRef(({ testid: dataTestId = "command-empty", ...props }, ref) => /* @__PURE__ */ jsx(
2140
2140
  Command.Empty,
2141
2141
  {
2142
2142
  ref,
@@ -2146,7 +2146,7 @@ var CommandEmptyBase = React33.forwardRef(({ testid: dataTestId = "command-empty
2146
2146
  }
2147
2147
  ));
2148
2148
  CommandEmptyBase.displayName = Command.Empty.displayName;
2149
- var CommandGroupBase = React33.forwardRef(({ className, testid: dataTestId = "command-group", ...props }, ref) => /* @__PURE__ */ jsx(
2149
+ var CommandGroupBase = React32.forwardRef(({ className, testid: dataTestId = "command-group", ...props }, ref) => /* @__PURE__ */ jsx(
2150
2150
  Command.Group,
2151
2151
  {
2152
2152
  ref,
@@ -2159,7 +2159,7 @@ var CommandGroupBase = React33.forwardRef(({ className, testid: dataTestId = "co
2159
2159
  }
2160
2160
  ));
2161
2161
  CommandGroupBase.displayName = Command.Group.displayName;
2162
- var CommandSeparatorBase = React33.forwardRef(({ className, testid: dataTestId = "command-separator", ...props }, ref) => /* @__PURE__ */ jsx(
2162
+ var CommandSeparatorBase = React32.forwardRef(({ className, testid: dataTestId = "command-separator", ...props }, ref) => /* @__PURE__ */ jsx(
2163
2163
  Command.Separator,
2164
2164
  {
2165
2165
  ref,
@@ -2169,7 +2169,7 @@ var CommandSeparatorBase = React33.forwardRef(({ className, testid: dataTestId =
2169
2169
  }
2170
2170
  ));
2171
2171
  CommandSeparatorBase.displayName = Command.Separator.displayName;
2172
- var CommandItemBase = React33.forwardRef(({ className, testid: dataTestId = "command-item", ...props }, ref) => /* @__PURE__ */ jsx(
2172
+ var CommandItemBase = React32.forwardRef(({ className, testid: dataTestId = "command-item", ...props }, ref) => /* @__PURE__ */ jsx(
2173
2173
  Command.Item,
2174
2174
  {
2175
2175
  ref,
@@ -2201,7 +2201,7 @@ CommandShortcutBase.displayName = "CommandShortcut";
2201
2201
  var PopoverBase = PopoverPrimitive.Root;
2202
2202
  var PopoverTriggerBase = PopoverPrimitive.Trigger;
2203
2203
  var PopoverAnchorBase = PopoverPrimitive.Anchor;
2204
- var PopoverContentBase = React33.forwardRef(
2204
+ var PopoverContentBase = React32.forwardRef(
2205
2205
  ({
2206
2206
  className,
2207
2207
  align = "center",
@@ -2974,7 +2974,7 @@ __toESM(require_colors2());
2974
2974
  var SelectBase = SelectPrimitive.Root;
2975
2975
  var SelectGroupBase = SelectPrimitive.Group;
2976
2976
  var SelectValueBase = SelectPrimitive.Value;
2977
- var SelectTriggerBase = React33.forwardRef(({ className, children, error, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: cn("w-full", error && "mb-0"), children: [
2977
+ var SelectTriggerBase = React32.forwardRef(({ className, children, error, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: cn("w-full", error && "mb-0"), children: [
2978
2978
  /* @__PURE__ */ jsx(
2979
2979
  SelectPrimitive.Trigger,
2980
2980
  {
@@ -2991,7 +2991,7 @@ var SelectTriggerBase = React33.forwardRef(({ className, children, error, ...pro
2991
2991
  error ? /* @__PURE__ */ jsx(ErrorMessage_default, { error }) : null
2992
2992
  ] }));
2993
2993
  SelectTriggerBase.displayName = SelectPrimitive.Trigger.displayName;
2994
- var SelectScrollUpButtonBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2994
+ var SelectScrollUpButtonBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2995
2995
  SelectPrimitive.ScrollUpButton,
2996
2996
  {
2997
2997
  ref,
@@ -3004,7 +3004,7 @@ var SelectScrollUpButtonBase = React33.forwardRef(({ className, ...props }, ref)
3004
3004
  }
3005
3005
  ));
3006
3006
  SelectScrollUpButtonBase.displayName = SelectPrimitive.ScrollUpButton.displayName;
3007
- var SelectScrollDownButtonBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3007
+ var SelectScrollDownButtonBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3008
3008
  SelectPrimitive.ScrollDownButton,
3009
3009
  {
3010
3010
  ref,
@@ -3017,7 +3017,7 @@ var SelectScrollDownButtonBase = React33.forwardRef(({ className, ...props }, re
3017
3017
  }
3018
3018
  ));
3019
3019
  SelectScrollDownButtonBase.displayName = SelectPrimitive.ScrollDownButton.displayName;
3020
- var SelectContentBase = React33.forwardRef(
3020
+ var SelectContentBase = React32.forwardRef(
3021
3021
  ({
3022
3022
  className,
3023
3023
  children,
@@ -3068,7 +3068,7 @@ var SelectContentBase = React33.forwardRef(
3068
3068
  ) }) })
3069
3069
  );
3070
3070
  SelectContentBase.displayName = SelectPrimitive.Content.displayName;
3071
- var SelectLabelBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3071
+ var SelectLabelBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3072
3072
  SelectPrimitive.Label,
3073
3073
  {
3074
3074
  ref,
@@ -3077,7 +3077,7 @@ var SelectLabelBase = React33.forwardRef(({ className, ...props }, ref) => /* @_
3077
3077
  }
3078
3078
  ));
3079
3079
  SelectLabelBase.displayName = SelectPrimitive.Label.displayName;
3080
- var SelectItemBase = React33.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
3080
+ var SelectItemBase = React32.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
3081
3081
  SelectPrimitive.Item,
3082
3082
  {
3083
3083
  ref,
@@ -3110,7 +3110,7 @@ var SelectItemBase = React33.forwardRef(({ className, children, ...props }, ref)
3110
3110
  }
3111
3111
  ));
3112
3112
  SelectItemBase.displayName = SelectPrimitive.Item.displayName;
3113
- var SelectSeparatorBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3113
+ var SelectSeparatorBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3114
3114
  SelectPrimitive.Separator,
3115
3115
  {
3116
3116
  ref,
@@ -3119,7 +3119,7 @@ var SelectSeparatorBase = React33.forwardRef(({ className, ...props }, ref) => /
3119
3119
  }
3120
3120
  ));
3121
3121
  SelectSeparatorBase.displayName = SelectPrimitive.Separator.displayName;
3122
- var SelectEmpty = React33.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
3122
+ var SelectEmpty = React32.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
3123
3123
  "div",
3124
3124
  {
3125
3125
  ref,
@@ -3139,7 +3139,7 @@ var DropDownMenuGroupBase = DropdownMenuPrimitive.Group;
3139
3139
  var DropDownMenuPortalBase = DropdownMenuPrimitive.Portal;
3140
3140
  var DropDownMenuSubBase = DropdownMenuPrimitive.Sub;
3141
3141
  var DropDownMenuRadioGroupBase = DropdownMenuPrimitive.RadioGroup;
3142
- var DropDownMenuSubTriggerBase = React33.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.SubTrigger, { ref, ...props, children: /* @__PURE__ */ jsxs(
3142
+ var DropDownMenuSubTriggerBase = React32.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.SubTrigger, { ref, ...props, children: /* @__PURE__ */ jsxs(
3143
3143
  motion.span,
3144
3144
  {
3145
3145
  className: cn(
@@ -3156,7 +3156,7 @@ var DropDownMenuSubTriggerBase = React33.forwardRef(({ className, inset, childre
3156
3156
  }
3157
3157
  ) }));
3158
3158
  DropDownMenuSubTriggerBase.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
3159
- var DropDownMenuSubContentBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3159
+ var DropDownMenuSubContentBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3160
3160
  DropdownMenuPrimitive.SubContent,
3161
3161
  {
3162
3162
  ref,
@@ -3167,7 +3167,7 @@ var DropDownMenuSubContentBase = React33.forwardRef(({ className, ...props }, re
3167
3167
  ...props
3168
3168
  }
3169
3169
  ));
3170
- var DropDownMenuContentBase = React33.forwardRef(
3170
+ var DropDownMenuContentBase = React32.forwardRef(
3171
3171
  ({
3172
3172
  className,
3173
3173
  sideOffset = 4,
@@ -3200,7 +3200,7 @@ var DropDownMenuContentBase = React33.forwardRef(
3200
3200
  ) })
3201
3201
  );
3202
3202
  DropDownMenuContentBase.displayName = DropdownMenuPrimitive.Content.displayName;
3203
- var DropDownMenuItemBase = React33.forwardRef(({ className, inset, rightIcon, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3203
+ var DropDownMenuItemBase = React32.forwardRef(({ className, inset, rightIcon, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3204
3204
  DropdownMenuPrimitive.Item,
3205
3205
  {
3206
3206
  ref,
@@ -3217,7 +3217,7 @@ var DropDownMenuItemBase = React33.forwardRef(({ className, inset, rightIcon, ch
3217
3217
  }
3218
3218
  ));
3219
3219
  DropDownMenuItemBase.displayName = DropdownMenuPrimitive.Item.displayName;
3220
- var DropDownMenuCheckboxItemBase = React33.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
3220
+ var DropDownMenuCheckboxItemBase = React32.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
3221
3221
  DropdownMenuPrimitive.CheckboxItem,
3222
3222
  {
3223
3223
  ref,
@@ -3234,7 +3234,7 @@ var DropDownMenuCheckboxItemBase = React33.forwardRef(({ className, children, ch
3234
3234
  }
3235
3235
  ));
3236
3236
  DropDownMenuCheckboxItemBase.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
3237
- var DropDownMenuRadioItemBase = React33.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3237
+ var DropDownMenuRadioItemBase = React32.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3238
3238
  DropdownMenuPrimitive.RadioItem,
3239
3239
  {
3240
3240
  ref,
@@ -3250,7 +3250,7 @@ var DropDownMenuRadioItemBase = React33.forwardRef(({ className, children, ...pr
3250
3250
  }
3251
3251
  ));
3252
3252
  DropDownMenuRadioItemBase.displayName = DropdownMenuPrimitive.RadioItem.displayName;
3253
- var DropDownMenuLabelBase = React33.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
3253
+ var DropDownMenuLabelBase = React32.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
3254
3254
  DropdownMenuPrimitive.Label,
3255
3255
  {
3256
3256
  ref,
@@ -3263,7 +3263,7 @@ var DropDownMenuLabelBase = React33.forwardRef(({ className, inset, ...props },
3263
3263
  }
3264
3264
  ));
3265
3265
  DropDownMenuLabelBase.displayName = DropdownMenuPrimitive.Label.displayName;
3266
- var DropDownMenuSeparatorBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3266
+ var DropDownMenuSeparatorBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3267
3267
  DropdownMenuPrimitive.Separator,
3268
3268
  {
3269
3269
  ref,
@@ -3487,7 +3487,7 @@ function ModeToggleBase({
3487
3487
  )
3488
3488
  ] });
3489
3489
  }
3490
- var AvatarBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3490
+ var AvatarBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3491
3491
  AvatarPrimitive.Root,
3492
3492
  {
3493
3493
  ref,
@@ -3499,7 +3499,7 @@ var AvatarBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE
3499
3499
  }
3500
3500
  ));
3501
3501
  AvatarBase.displayName = AvatarPrimitive.Root.displayName;
3502
- var AvatarImageBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3502
+ var AvatarImageBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3503
3503
  AvatarPrimitive.Image,
3504
3504
  {
3505
3505
  ref,
@@ -3508,7 +3508,7 @@ var AvatarImageBase = React33.forwardRef(({ className, ...props }, ref) => /* @_
3508
3508
  }
3509
3509
  ));
3510
3510
  AvatarImageBase.displayName = AvatarPrimitive.Image.displayName;
3511
- var AvatarFallbackBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3511
+ var AvatarFallbackBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3512
3512
  AvatarPrimitive.Fallback,
3513
3513
  {
3514
3514
  ref,
@@ -3574,7 +3574,7 @@ function CalendarBase({
3574
3574
  );
3575
3575
  }
3576
3576
  CalendarBase.displayName = "Calendar";
3577
- var CardBase = React33.forwardRef(({ className, testid: dataTestId = "card-base", ...props }, ref) => /* @__PURE__ */ jsx(
3577
+ var CardBase = React32.forwardRef(({ className, testid: dataTestId = "card-base", ...props }, ref) => /* @__PURE__ */ jsx(
3578
3578
  "div",
3579
3579
  {
3580
3580
  ref,
@@ -3587,7 +3587,7 @@ var CardBase = React33.forwardRef(({ className, testid: dataTestId = "card-base"
3587
3587
  }
3588
3588
  ));
3589
3589
  CardBase.displayName = "Card";
3590
- var CardHeaderBase = React33.forwardRef(({ className, testid: dataTestId = "card-header", ...props }, ref) => /* @__PURE__ */ jsx(
3590
+ var CardHeaderBase = React32.forwardRef(({ className, testid: dataTestId = "card-header", ...props }, ref) => /* @__PURE__ */ jsx(
3591
3591
  "div",
3592
3592
  {
3593
3593
  ref,
@@ -3597,7 +3597,7 @@ var CardHeaderBase = React33.forwardRef(({ className, testid: dataTestId = "card
3597
3597
  }
3598
3598
  ));
3599
3599
  CardHeaderBase.displayName = "CardHeader";
3600
- var CardTitleBase = React33.forwardRef(({ className, testid: dataTestId = "card-title", ...props }, ref) => /* @__PURE__ */ jsx(
3600
+ var CardTitleBase = React32.forwardRef(({ className, testid: dataTestId = "card-title", ...props }, ref) => /* @__PURE__ */ jsx(
3601
3601
  "div",
3602
3602
  {
3603
3603
  ref,
@@ -3607,7 +3607,7 @@ var CardTitleBase = React33.forwardRef(({ className, testid: dataTestId = "card-
3607
3607
  }
3608
3608
  ));
3609
3609
  CardTitleBase.displayName = "CardTitle";
3610
- var CardDescriptionBase = React33.forwardRef(({ className, testid: dataTestId = "card-description", ...props }, ref) => /* @__PURE__ */ jsx(
3610
+ var CardDescriptionBase = React32.forwardRef(({ className, testid: dataTestId = "card-description", ...props }, ref) => /* @__PURE__ */ jsx(
3611
3611
  "div",
3612
3612
  {
3613
3613
  ref,
@@ -3617,7 +3617,7 @@ var CardDescriptionBase = React33.forwardRef(({ className, testid: dataTestId =
3617
3617
  }
3618
3618
  ));
3619
3619
  CardDescriptionBase.displayName = "CardDescription";
3620
- var CardContentBase = React33.forwardRef(({ className, testid: dataTestId = "card-content", ...props }, ref) => /* @__PURE__ */ jsx(
3620
+ var CardContentBase = React32.forwardRef(({ className, testid: dataTestId = "card-content", ...props }, ref) => /* @__PURE__ */ jsx(
3621
3621
  "div",
3622
3622
  {
3623
3623
  ref,
@@ -3627,7 +3627,7 @@ var CardContentBase = React33.forwardRef(({ className, testid: dataTestId = "car
3627
3627
  }
3628
3628
  ));
3629
3629
  CardContentBase.displayName = "CardContent";
3630
- var CardFooterBase = React33.forwardRef(({ className, testid: dataTestId = "card-footer", ...props }, ref) => /* @__PURE__ */ jsx(
3630
+ var CardFooterBase = React32.forwardRef(({ className, testid: dataTestId = "card-footer", ...props }, ref) => /* @__PURE__ */ jsx(
3631
3631
  "div",
3632
3632
  {
3633
3633
  ref,
@@ -3700,7 +3700,7 @@ var createImagePreview = (file) => {
3700
3700
  reader.readAsDataURL(file);
3701
3701
  });
3702
3702
  };
3703
- var FileUploader = React33.forwardRef(
3703
+ var FileUploader = React32.forwardRef(
3704
3704
  ({
3705
3705
  className,
3706
3706
  accept,
@@ -3716,15 +3716,15 @@ var FileUploader = React33.forwardRef(
3716
3716
  animate: animate2 = true,
3717
3717
  ...props
3718
3718
  }, ref) => {
3719
- const [isDragging, setIsDragging] = React33.useState(false);
3720
- const [files, setFiles] = React33.useState(value);
3721
- const inputRef = React33.useRef(null);
3722
- const dragCounterRef = React33.useRef(0);
3719
+ const [isDragging, setIsDragging] = React32.useState(false);
3720
+ const [files, setFiles] = React32.useState(value);
3721
+ const inputRef = React32.useRef(null);
3722
+ const dragCounterRef = React32.useRef(0);
3723
3723
  const multiple = maxFiles > 1;
3724
- React33.useEffect(() => {
3724
+ React32.useEffect(() => {
3725
3725
  setFiles(value);
3726
3726
  }, [value]);
3727
- React33.useEffect(() => {
3727
+ React32.useEffect(() => {
3728
3728
  return () => {
3729
3729
  files.forEach((file) => {
3730
3730
  if (file.preview) {
@@ -4072,12 +4072,12 @@ var FileUploader = React33.forwardRef(
4072
4072
  }
4073
4073
  );
4074
4074
  FileUploader.displayName = "FileUploader";
4075
- var CheckboxBase = React33.forwardRef(({ className, testid: dataTestId = "checkbox-base", checked: checkedProp, defaultChecked, onCheckedChange, ...props }, ref) => {
4075
+ var CheckboxBase = React32.forwardRef(({ className, testid: dataTestId = "checkbox-base", checked: checkedProp, defaultChecked, onCheckedChange, ...props }, ref) => {
4076
4076
  const isControlled = checkedProp !== void 0;
4077
- const [checkedState, setCheckedState] = React33.useState(
4077
+ const [checkedState, setCheckedState] = React32.useState(
4078
4078
  isControlled ? checkedProp : defaultChecked ?? false
4079
4079
  );
4080
- React33.useEffect(() => {
4080
+ React32.useEffect(() => {
4081
4081
  if (isControlled) setCheckedState(checkedProp);
4082
4082
  }, [checkedProp, isControlled]);
4083
4083
  const handleCheckedChange = (next) => {
@@ -4117,11 +4117,11 @@ var CheckboxBase = React33.forwardRef(({ className, testid: dataTestId = "checkb
4117
4117
  );
4118
4118
  });
4119
4119
  CheckboxBase.displayName = CheckboxPrimitive.Root.displayName;
4120
- var CollapsibleBase = React33.forwardRef(({ ...props }, ref) => {
4120
+ var CollapsibleBase = React32.forwardRef(({ ...props }, ref) => {
4121
4121
  return /* @__PURE__ */ jsx(CollapsiblePrimitive.Root, { ref, "data-slot": "collapsible", ...props });
4122
4122
  });
4123
4123
  CollapsibleBase.displayName = CollapsiblePrimitive.Root.displayName;
4124
- var CollapsibleTriggerBase = React33.forwardRef(({ className, children, leftIcon, showCaret = true, ...props }, ref) => {
4124
+ var CollapsibleTriggerBase = React32.forwardRef(({ className, children, leftIcon, showCaret = true, ...props }, ref) => {
4125
4125
  return /* @__PURE__ */ jsxs(
4126
4126
  CollapsiblePrimitive.CollapsibleTrigger,
4127
4127
  {
@@ -4143,7 +4143,7 @@ var CollapsibleTriggerBase = React33.forwardRef(({ className, children, leftIcon
4143
4143
  );
4144
4144
  });
4145
4145
  CollapsibleTriggerBase.displayName = CollapsiblePrimitive.CollapsibleTrigger.displayName;
4146
- var CollapsibleContentBase = React33.forwardRef(({ className, children, ...props }, ref) => {
4146
+ var CollapsibleContentBase = React32.forwardRef(({ className, children, ...props }, ref) => {
4147
4147
  return /* @__PURE__ */ jsx(
4148
4148
  CollapsiblePrimitive.CollapsibleContent,
4149
4149
  {
@@ -4165,7 +4165,7 @@ function HoverCardBase(props) {
4165
4165
  function HoverCardTriggerBase(props) {
4166
4166
  return /* @__PURE__ */ jsx(HoverCardPrimitive.Trigger, { ...props });
4167
4167
  }
4168
- var HoverCardContentBase = React33.forwardRef(
4168
+ var HoverCardContentBase = React32.forwardRef(
4169
4169
  ({ className, align = "center", sideOffset = 6, children, ...props }, ref) => {
4170
4170
  return /* @__PURE__ */ jsx(HoverCardPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
4171
4171
  HoverCardPrimitive.Content,
@@ -4242,7 +4242,7 @@ function InputOTPSlotBase({
4242
4242
  className,
4243
4243
  ...props
4244
4244
  }) {
4245
- const inputOTPContext = React33.useContext(OTPInputContext);
4245
+ const inputOTPContext = React32.useContext(OTPInputContext);
4246
4246
  const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
4247
4247
  return /* @__PURE__ */ jsxs(
4248
4248
  "div",
@@ -4264,7 +4264,7 @@ function InputOTPSlotBase({
4264
4264
  function InputOTPSeparatorBase({ ...props }) {
4265
4265
  return /* @__PURE__ */ jsx("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx(MinusIcon, {}) });
4266
4266
  }
4267
- var SlideBase = React33.forwardRef(
4267
+ var SlideBase = React32.forwardRef(
4268
4268
  ({
4269
4269
  className,
4270
4270
  orientation = "horizontal",
@@ -4342,7 +4342,7 @@ var SlideBase = React33.forwardRef(
4342
4342
  }
4343
4343
  );
4344
4344
  SlideBase.displayName = "SlideBase";
4345
- var EditButton = React33.forwardRef(
4345
+ var EditButton = React32.forwardRef(
4346
4346
  ({
4347
4347
  disabled,
4348
4348
  onClick,
@@ -4382,7 +4382,7 @@ var EditButton = React33.forwardRef(
4382
4382
  )
4383
4383
  );
4384
4384
  EditButton.displayName = "EditButton";
4385
- var ChangeButton = React33.forwardRef(
4385
+ var ChangeButton = React32.forwardRef(
4386
4386
  ({
4387
4387
  disabled,
4388
4388
  onClick,
@@ -4422,7 +4422,7 @@ var ChangeButton = React33.forwardRef(
4422
4422
  )
4423
4423
  );
4424
4424
  ChangeButton.displayName = "ChangeButton";
4425
- var SaveButton = React33.forwardRef(
4425
+ var SaveButton = React32.forwardRef(
4426
4426
  ({
4427
4427
  disabled,
4428
4428
  onClick,
@@ -4462,7 +4462,7 @@ var SaveButton = React33.forwardRef(
4462
4462
  )
4463
4463
  );
4464
4464
  SaveButton.displayName = "SaveButton";
4465
- var AddButton = React33.forwardRef(
4465
+ var AddButton = React32.forwardRef(
4466
4466
  ({
4467
4467
  disabled,
4468
4468
  onClick,
@@ -4502,7 +4502,7 @@ var AddButton = React33.forwardRef(
4502
4502
  )
4503
4503
  );
4504
4504
  AddButton.displayName = "AddButton";
4505
- var CloseButton = React33.forwardRef(
4505
+ var CloseButton = React32.forwardRef(
4506
4506
  ({
4507
4507
  disabled,
4508
4508
  onClick,
@@ -5040,7 +5040,7 @@ var LockButton = ({
5040
5040
  }
5041
5041
  );
5042
5042
  var UnlockButton = (props) => /* @__PURE__ */ jsx(LockButton, { isLocked: false, testid: "button-unlock", ...props });
5043
- var SwitchBase = React33.forwardRef(({ className, testid: dataTestId = "switch-base", ...props }, ref) => {
5043
+ var SwitchBase = React32.forwardRef(({ className, testid: dataTestId = "switch-base", ...props }, ref) => {
5044
5044
  return /* @__PURE__ */ jsx(
5045
5045
  SwitchPrimitives.Root,
5046
5046
  {
@@ -5067,14 +5067,14 @@ var SwitchBase = React33.forwardRef(({ className, testid: dataTestId = "switch-b
5067
5067
  );
5068
5068
  });
5069
5069
  SwitchBase.displayName = SwitchPrimitives.Root.displayName;
5070
- var TextAreaBase = React33.forwardRef(
5070
+ var TextAreaBase = React32.forwardRef(
5071
5071
  ({ className, hideClear = false, onClear, ...props }, ref) => {
5072
- const [isFocused, setIsFocused] = React33.useState(false);
5073
- const [hasContent, setHasContent] = React33.useState(
5072
+ const [isFocused, setIsFocused] = React32.useState(false);
5073
+ const [hasContent, setHasContent] = React32.useState(
5074
5074
  !!props.value || !!props.defaultValue
5075
5075
  );
5076
- const [showConfirmTooltip, setShowConfirmTooltip] = React33.useState(false);
5077
- const textareaRef = React33.useRef(null);
5076
+ const [showConfirmTooltip, setShowConfirmTooltip] = React32.useState(false);
5077
+ const textareaRef = React32.useRef(null);
5078
5078
  const handleFocus = (e) => {
5079
5079
  setIsFocused(true);
5080
5080
  props.onFocus?.(e);
@@ -5110,8 +5110,8 @@ var TextAreaBase = React33.forwardRef(
5110
5110
  const handleCancelClear = () => {
5111
5111
  setShowConfirmTooltip(false);
5112
5112
  };
5113
- React33.useImperativeHandle(ref, () => textareaRef.current);
5114
- React33.useEffect(() => {
5113
+ React32.useImperativeHandle(ref, () => textareaRef.current);
5114
+ React32.useEffect(() => {
5115
5115
  setHasContent(!!props.value || !!props.defaultValue);
5116
5116
  }, [props.value, props.defaultValue]);
5117
5117
  return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
@@ -5236,7 +5236,7 @@ var TextAreaBase = React33.forwardRef(
5236
5236
  }
5237
5237
  );
5238
5238
  TextAreaBase.displayName = "TextAreaBase";
5239
- var ScrollAreaBase = React33.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
5239
+ var ScrollAreaBase = React32.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
5240
5240
  ScrollAreaPrimitive.Root,
5241
5241
  {
5242
5242
  ref,
@@ -5250,7 +5250,7 @@ var ScrollAreaBase = React33.forwardRef(({ className, children, ...props }, ref)
5250
5250
  }
5251
5251
  ));
5252
5252
  ScrollAreaBase.displayName = ScrollAreaPrimitive.Root.displayName;
5253
- var ScrollBarBase = React33.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
5253
+ var ScrollBarBase = React32.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
5254
5254
  ScrollAreaPrimitive.ScrollAreaScrollbar,
5255
5255
  {
5256
5256
  ref,
@@ -5266,7 +5266,7 @@ var ScrollBarBase = React33.forwardRef(({ className, orientation = "vertical", .
5266
5266
  }
5267
5267
  ));
5268
5268
  ScrollBarBase.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
5269
- var SeparatorBase = React33.forwardRef(
5269
+ var SeparatorBase = React32.forwardRef(
5270
5270
  ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => {
5271
5271
  const isHorizontal = orientation === "horizontal";
5272
5272
  return /* @__PURE__ */ jsx(
@@ -5298,7 +5298,7 @@ var SeparatorBase = React33.forwardRef(
5298
5298
  }
5299
5299
  );
5300
5300
  SeparatorBase.displayName = SeparatorPrimitive.Root.displayName;
5301
- var TableBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(
5301
+ var TableBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(
5302
5302
  "table",
5303
5303
  {
5304
5304
  ref,
@@ -5307,9 +5307,9 @@ var TableBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE_
5307
5307
  }
5308
5308
  ) }));
5309
5309
  TableBase.displayName = "TableBase";
5310
- var TableHeaderBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
5310
+ var TableHeaderBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
5311
5311
  TableHeaderBase.displayName = "TableHeaderBase";
5312
- var TableBodyBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5312
+ var TableBodyBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5313
5313
  "tbody",
5314
5314
  {
5315
5315
  ref,
@@ -5318,7 +5318,7 @@ var TableBodyBase = React33.forwardRef(({ className, ...props }, ref) => /* @__P
5318
5318
  }
5319
5319
  ));
5320
5320
  TableBodyBase.displayName = "TableBodyBase";
5321
- var TableFooterBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5321
+ var TableFooterBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5322
5322
  "tfoot",
5323
5323
  {
5324
5324
  ref,
@@ -5330,7 +5330,7 @@ var TableFooterBase = React33.forwardRef(({ className, ...props }, ref) => /* @_
5330
5330
  }
5331
5331
  ));
5332
5332
  TableFooterBase.displayName = "TableFooterBase";
5333
- var TableRowBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5333
+ var TableRowBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5334
5334
  "tr",
5335
5335
  {
5336
5336
  ref,
@@ -5342,7 +5342,7 @@ var TableRowBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PU
5342
5342
  }
5343
5343
  ));
5344
5344
  TableRowBase.displayName = "TableRowBase";
5345
- var TableHeadBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5345
+ var TableHeadBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5346
5346
  "th",
5347
5347
  {
5348
5348
  ref,
@@ -5354,7 +5354,7 @@ var TableHeadBase = React33.forwardRef(({ className, ...props }, ref) => /* @__P
5354
5354
  }
5355
5355
  ));
5356
5356
  TableHeadBase.displayName = "TableHeadBase";
5357
- var TableCellBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5357
+ var TableCellBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5358
5358
  "td",
5359
5359
  {
5360
5360
  ref,
@@ -5366,7 +5366,7 @@ var TableCellBase = React33.forwardRef(({ className, ...props }, ref) => /* @__P
5366
5366
  }
5367
5367
  ));
5368
5368
  TableCellBase.displayName = "TableCellBase";
5369
- var TableCaptionBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5369
+ var TableCaptionBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5370
5370
  "caption",
5371
5371
  {
5372
5372
  ref,
@@ -5375,7 +5375,7 @@ var TableCaptionBase = React33.forwardRef(({ className, ...props }, ref) => /* @
5375
5375
  }
5376
5376
  ));
5377
5377
  TableCaptionBase.displayName = "TableCaptionBase";
5378
- var TabsBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5378
+ var TabsBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5379
5379
  TabsPrimitive.Root,
5380
5380
  {
5381
5381
  ref,
@@ -5384,7 +5384,7 @@ var TabsBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__
5384
5384
  }
5385
5385
  ));
5386
5386
  TabsBase.displayName = TabsPrimitive.Root.displayName;
5387
- var TabsListBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5387
+ var TabsListBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5388
5388
  TabsPrimitive.List,
5389
5389
  {
5390
5390
  ref,
@@ -5404,7 +5404,7 @@ var TabsListBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PU
5404
5404
  }
5405
5405
  ));
5406
5406
  TabsListBase.displayName = TabsPrimitive.List.displayName;
5407
- var TabsTriggerBase = React33.forwardRef(({ className, animation = "default", ...props }, ref) => {
5407
+ var TabsTriggerBase = React32.forwardRef(({ className, animation = "default", ...props }, ref) => {
5408
5408
  const base = cn(
5409
5409
  "relative inline-flex items-center justify-center whitespace-nowrap px-4 py-2 text-sm font-medium",
5410
5410
  "text-muted-foreground hover:text-foreground",
@@ -5424,7 +5424,7 @@ var TabsTriggerBase = React33.forwardRef(({ className, animation = "default", ..
5424
5424
  }
5425
5425
  );
5426
5426
  });
5427
- var TabsContentBase = React33.forwardRef(({ className, animation = "default", ...props }, ref) => {
5427
+ var TabsContentBase = React32.forwardRef(({ className, animation = "default", ...props }, ref) => {
5428
5428
  const animationClasses = animation === "none" ? "" : animation === "slide" ? "animate-in slide-in-from-left-2 duration-500 ease-in-out" : "animate-in fade-in-0 duration-500 ease-in-out";
5429
5429
  return /* @__PURE__ */ jsx(
5430
5430
  TabsPrimitive.Content,
@@ -5676,7 +5676,7 @@ var SheetBase = DialogPrimitive.Root;
5676
5676
  var SheetTriggerBase = DialogPrimitive.Trigger;
5677
5677
  var SheetCloseBase = DialogPrimitive.Close;
5678
5678
  var SheetPortalBase = DialogPrimitive.Portal;
5679
- var SheetOverlayBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5679
+ var SheetOverlayBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5680
5680
  DialogPrimitive.Overlay,
5681
5681
  {
5682
5682
  className: cn(
@@ -5704,7 +5704,7 @@ var sheetVariants = cva(
5704
5704
  }
5705
5705
  }
5706
5706
  );
5707
- var SheetContentBase = React33.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortalBase, { children: [
5707
+ var SheetContentBase = React32.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortalBase, { children: [
5708
5708
  /* @__PURE__ */ jsx(SheetOverlayBase, {}),
5709
5709
  /* @__PURE__ */ jsxs(
5710
5710
  DialogPrimitive.Content,
@@ -5751,7 +5751,7 @@ var SheetFooterBase = ({
5751
5751
  }
5752
5752
  );
5753
5753
  SheetFooterBase.displayName = "SheetFooterBase";
5754
- var SheetTitleBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5754
+ var SheetTitleBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5755
5755
  DialogPrimitive.Title,
5756
5756
  {
5757
5757
  ref,
@@ -5760,7 +5760,7 @@ var SheetTitleBase = React33.forwardRef(({ className, ...props }, ref) => /* @__
5760
5760
  }
5761
5761
  ));
5762
5762
  SheetTitleBase.displayName = DialogPrimitive.Title.displayName;
5763
- var SheetDescriptionBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5763
+ var SheetDescriptionBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5764
5764
  DialogPrimitive.Description,
5765
5765
  {
5766
5766
  ref,
@@ -5775,9 +5775,9 @@ var SIDEBAR_WIDTH = "16rem";
5775
5775
  var SIDEBAR_WIDTH_MOBILE = "18rem";
5776
5776
  var SIDEBAR_WIDTH_ICON = "3rem";
5777
5777
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
5778
- var SidebarContext = React33.createContext(null);
5778
+ var SidebarContext = React32.createContext(null);
5779
5779
  function UseSideBarBase() {
5780
- const context = React33.useContext(SidebarContext);
5780
+ const context = React32.useContext(SidebarContext);
5781
5781
  if (!context) {
5782
5782
  throw new Error(
5783
5783
  "UseSideBarBase must be used within a SidebarProviderBase."
@@ -5785,7 +5785,7 @@ function UseSideBarBase() {
5785
5785
  }
5786
5786
  return context;
5787
5787
  }
5788
- var SidebarProviderBase = React33.forwardRef(
5788
+ var SidebarProviderBase = React32.forwardRef(
5789
5789
  ({
5790
5790
  defaultOpen = true,
5791
5791
  open: openProp,
@@ -5796,10 +5796,10 @@ var SidebarProviderBase = React33.forwardRef(
5796
5796
  ...props
5797
5797
  }, ref) => {
5798
5798
  const isMobile = useIsMobile();
5799
- const [openMobile, setOpenMobile] = React33.useState(false);
5800
- const [_open, _setOpen] = React33.useState(defaultOpen);
5799
+ const [openMobile, setOpenMobile] = React32.useState(false);
5800
+ const [_open, _setOpen] = React32.useState(defaultOpen);
5801
5801
  const open = openProp ?? _open;
5802
- const setOpen = React33.useCallback(
5802
+ const setOpen = React32.useCallback(
5803
5803
  (value) => {
5804
5804
  const openState = typeof value === "function" ? value(open) : value;
5805
5805
  if (setOpenProp) {
@@ -5811,10 +5811,10 @@ var SidebarProviderBase = React33.forwardRef(
5811
5811
  },
5812
5812
  [setOpenProp, open]
5813
5813
  );
5814
- const toggleSidebar = React33.useCallback(() => {
5814
+ const toggleSidebar = React32.useCallback(() => {
5815
5815
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
5816
5816
  }, [isMobile, setOpen, setOpenMobile]);
5817
- React33.useEffect(() => {
5817
+ React32.useEffect(() => {
5818
5818
  const handleKeyDown = (event) => {
5819
5819
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
5820
5820
  event.preventDefault();
@@ -5825,7 +5825,7 @@ var SidebarProviderBase = React33.forwardRef(
5825
5825
  return () => window.removeEventListener("keydown", handleKeyDown);
5826
5826
  }, [toggleSidebar]);
5827
5827
  const state = open ? "expanded" : "collapsed";
5828
- const contextValue = React33.useMemo(
5828
+ const contextValue = React32.useMemo(
5829
5829
  () => ({
5830
5830
  state,
5831
5831
  open,
@@ -5857,7 +5857,7 @@ var SidebarProviderBase = React33.forwardRef(
5857
5857
  }
5858
5858
  );
5859
5859
  SidebarProviderBase.displayName = "SidebarProviderBase";
5860
- var SidebarBase = React33.forwardRef(
5860
+ var SidebarBase = React32.forwardRef(
5861
5861
  ({
5862
5862
  side = "left",
5863
5863
  variant = "sidebar",
@@ -5944,7 +5944,7 @@ var SidebarBase = React33.forwardRef(
5944
5944
  }
5945
5945
  );
5946
5946
  SidebarBase.displayName = "SidebarBase";
5947
- var SidebarTriggerBase = React33.forwardRef(({ className, onClick, ...props }, ref) => {
5947
+ var SidebarTriggerBase = React32.forwardRef(({ className, onClick, ...props }, ref) => {
5948
5948
  const { toggleSidebar } = UseSideBarBase();
5949
5949
  return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
5950
5950
  ButtonBase,
@@ -5967,7 +5967,7 @@ var SidebarTriggerBase = React33.forwardRef(({ className, onClick, ...props }, r
5967
5967
  ) });
5968
5968
  });
5969
5969
  SidebarTriggerBase.displayName = "SidebarTriggerBase";
5970
- var SidebarRailBase = React33.forwardRef(({ className, ...props }, ref) => {
5970
+ var SidebarRailBase = React32.forwardRef(({ className, ...props }, ref) => {
5971
5971
  const { toggleSidebar } = UseSideBarBase();
5972
5972
  return /* @__PURE__ */ jsx(
5973
5973
  "button",
@@ -5992,7 +5992,7 @@ var SidebarRailBase = React33.forwardRef(({ className, ...props }, ref) => {
5992
5992
  );
5993
5993
  });
5994
5994
  SidebarRailBase.displayName = "SidebarRailBase";
5995
- var SidebarInsetBase = React33.forwardRef(({ className, ...props }, ref) => {
5995
+ var SidebarInsetBase = React32.forwardRef(({ className, ...props }, ref) => {
5996
5996
  return /* @__PURE__ */ jsx(
5997
5997
  "main",
5998
5998
  {
@@ -6007,7 +6007,7 @@ var SidebarInsetBase = React33.forwardRef(({ className, ...props }, ref) => {
6007
6007
  );
6008
6008
  });
6009
6009
  SidebarInsetBase.displayName = "SidebarInsetBase";
6010
- var SidebarInputBase = React33.forwardRef(({ className, ...props }, ref) => {
6010
+ var SidebarInputBase = React32.forwardRef(({ className, ...props }, ref) => {
6011
6011
  return /* @__PURE__ */ jsx(
6012
6012
  InputBase,
6013
6013
  {
@@ -6022,7 +6022,7 @@ var SidebarInputBase = React33.forwardRef(({ className, ...props }, ref) => {
6022
6022
  );
6023
6023
  });
6024
6024
  SidebarInputBase.displayName = "SidebarInputBase";
6025
- var SidebarHeaderBase = React33.forwardRef(({ className, ...props }, ref) => {
6025
+ var SidebarHeaderBase = React32.forwardRef(({ className, ...props }, ref) => {
6026
6026
  return /* @__PURE__ */ jsx(
6027
6027
  "div",
6028
6028
  {
@@ -6034,7 +6034,7 @@ var SidebarHeaderBase = React33.forwardRef(({ className, ...props }, ref) => {
6034
6034
  );
6035
6035
  });
6036
6036
  SidebarHeaderBase.displayName = "SidebarHeaderBase";
6037
- var SidebarFooterBase = React33.forwardRef(({ className, ...props }, ref) => {
6037
+ var SidebarFooterBase = React32.forwardRef(({ className, ...props }, ref) => {
6038
6038
  return /* @__PURE__ */ jsx(
6039
6039
  "div",
6040
6040
  {
@@ -6046,7 +6046,7 @@ var SidebarFooterBase = React33.forwardRef(({ className, ...props }, ref) => {
6046
6046
  );
6047
6047
  });
6048
6048
  SidebarFooterBase.displayName = "SidebarFooterBase";
6049
- var SidebarSeparatorBase = React33.forwardRef(({ className, ...props }, ref) => {
6049
+ var SidebarSeparatorBase = React32.forwardRef(({ className, ...props }, ref) => {
6050
6050
  return /* @__PURE__ */ jsx(
6051
6051
  SeparatorBase,
6052
6052
  {
@@ -6058,7 +6058,7 @@ var SidebarSeparatorBase = React33.forwardRef(({ className, ...props }, ref) =>
6058
6058
  );
6059
6059
  });
6060
6060
  SidebarSeparatorBase.displayName = "SidebarSeparatorBase";
6061
- var SidebarContentBase = React33.forwardRef(({ className, ...props }, ref) => {
6061
+ var SidebarContentBase = React32.forwardRef(({ className, ...props }, ref) => {
6062
6062
  return /* @__PURE__ */ jsx(
6063
6063
  "div",
6064
6064
  {
@@ -6073,7 +6073,7 @@ var SidebarContentBase = React33.forwardRef(({ className, ...props }, ref) => {
6073
6073
  );
6074
6074
  });
6075
6075
  SidebarContentBase.displayName = "SidebarContentBase";
6076
- var SidebarGroupBase = React33.forwardRef(({ className, ...props }, ref) => {
6076
+ var SidebarGroupBase = React32.forwardRef(({ className, ...props }, ref) => {
6077
6077
  return /* @__PURE__ */ jsx(
6078
6078
  "div",
6079
6079
  {
@@ -6085,7 +6085,7 @@ var SidebarGroupBase = React33.forwardRef(({ className, ...props }, ref) => {
6085
6085
  );
6086
6086
  });
6087
6087
  SidebarGroupBase.displayName = "SidebarGroupBase";
6088
- var SidebarGroupLabelBase = React33.forwardRef(({ className, asChild = false, ...props }, ref) => {
6088
+ var SidebarGroupLabelBase = React32.forwardRef(({ className, asChild = false, ...props }, ref) => {
6089
6089
  const Comp = asChild ? Slot : "div";
6090
6090
  return /* @__PURE__ */ jsx(
6091
6091
  Comp,
@@ -6102,7 +6102,7 @@ var SidebarGroupLabelBase = React33.forwardRef(({ className, asChild = false, ..
6102
6102
  );
6103
6103
  });
6104
6104
  SidebarGroupLabelBase.displayName = "SidebarGroupLabelBase";
6105
- var SidebarGroupActionBase = React33.forwardRef(({ className, asChild = false, ...props }, ref) => {
6105
+ var SidebarGroupActionBase = React32.forwardRef(({ className, asChild = false, ...props }, ref) => {
6106
6106
  const Comp = asChild ? Slot : "button";
6107
6107
  return /* @__PURE__ */ jsx(
6108
6108
  Comp,
@@ -6121,7 +6121,7 @@ var SidebarGroupActionBase = React33.forwardRef(({ className, asChild = false, .
6121
6121
  );
6122
6122
  });
6123
6123
  SidebarGroupActionBase.displayName = "SidebarGroupActionBase";
6124
- var SidebarGroupContentBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6124
+ var SidebarGroupContentBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6125
6125
  "div",
6126
6126
  {
6127
6127
  ref,
@@ -6131,7 +6131,7 @@ var SidebarGroupContentBase = React33.forwardRef(({ className, ...props }, ref)
6131
6131
  }
6132
6132
  ));
6133
6133
  SidebarGroupContentBase.displayName = "SidebarGroupContentBase";
6134
- var SidebarMenuBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6134
+ var SidebarMenuBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6135
6135
  "ul",
6136
6136
  {
6137
6137
  ref,
@@ -6141,7 +6141,7 @@ var SidebarMenuBase = React33.forwardRef(({ className, ...props }, ref) => /* @_
6141
6141
  }
6142
6142
  ));
6143
6143
  SidebarMenuBase.displayName = "SidebarMenuBase";
6144
- var SidebarMenuItemBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6144
+ var SidebarMenuItemBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6145
6145
  "li",
6146
6146
  {
6147
6147
  ref,
@@ -6171,7 +6171,7 @@ var sidebarMenuButtonVariants = cva(
6171
6171
  }
6172
6172
  }
6173
6173
  );
6174
- var SidebarMenuButtonBase = React33.forwardRef(
6174
+ var SidebarMenuButtonBase = React32.forwardRef(
6175
6175
  ({
6176
6176
  asChild = false,
6177
6177
  isActive = false,
@@ -6217,7 +6217,7 @@ var SidebarMenuButtonBase = React33.forwardRef(
6217
6217
  }
6218
6218
  );
6219
6219
  SidebarMenuButtonBase.displayName = "SidebarMenuButtonBase";
6220
- var SidebarMenuActionBase = React33.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
6220
+ var SidebarMenuActionBase = React32.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
6221
6221
  const Comp = asChild ? Slot : "button";
6222
6222
  return /* @__PURE__ */ jsx(
6223
6223
  Comp,
@@ -6240,7 +6240,7 @@ var SidebarMenuActionBase = React33.forwardRef(({ className, asChild = false, sh
6240
6240
  );
6241
6241
  });
6242
6242
  SidebarMenuActionBase.displayName = "SidebarMenuActionBase";
6243
- var SidebarMenuBadgeBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6243
+ var SidebarMenuBadgeBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6244
6244
  "div",
6245
6245
  {
6246
6246
  ref,
@@ -6258,8 +6258,8 @@ var SidebarMenuBadgeBase = React33.forwardRef(({ className, ...props }, ref) =>
6258
6258
  }
6259
6259
  ));
6260
6260
  SidebarMenuBadgeBase.displayName = "SidebarMenuBadgeBase";
6261
- var SidebarMenuSkeletonBase = React33.forwardRef(({ className, showIcon = false, ...props }, ref) => {
6262
- const width = React33.useMemo(() => {
6261
+ var SidebarMenuSkeletonBase = React32.forwardRef(({ className, showIcon = false, ...props }, ref) => {
6262
+ const width = React32.useMemo(() => {
6263
6263
  return `${Math.floor(Math.random() * 40) + 50}%`;
6264
6264
  }, []);
6265
6265
  return /* @__PURE__ */ jsxs(
@@ -6292,7 +6292,7 @@ var SidebarMenuSkeletonBase = React33.forwardRef(({ className, showIcon = false,
6292
6292
  );
6293
6293
  });
6294
6294
  SidebarMenuSkeletonBase.displayName = "SidebarMenuSkeletonBase";
6295
- var SidebarMenuSubBase = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6295
+ var SidebarMenuSubBase = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6296
6296
  "ul",
6297
6297
  {
6298
6298
  ref,
@@ -6306,9 +6306,9 @@ var SidebarMenuSubBase = React33.forwardRef(({ className, ...props }, ref) => /*
6306
6306
  }
6307
6307
  ));
6308
6308
  SidebarMenuSubBase.displayName = "SidebarMenuSubBase";
6309
- var SidebarMenuSubItemBase = React33.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, ...props }));
6309
+ var SidebarMenuSubItemBase = React32.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, ...props }));
6310
6310
  SidebarMenuSubItemBase.displayName = "SidebarMenuSubItemBase";
6311
- var SidebarMenuSubButtonBase = React33.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
6311
+ var SidebarMenuSubButtonBase = React32.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
6312
6312
  const Comp = asChild ? Slot : "a";
6313
6313
  return /* @__PURE__ */ jsx(
6314
6314
  Comp,
@@ -6853,11 +6853,11 @@ var CodeBlock = ({
6853
6853
  breadcrumb = [],
6854
6854
  showStats = true
6855
6855
  }) => {
6856
- const [copied, setCopied] = React33__default.useState(false);
6857
- const [activeTab, setActiveTab] = React33__default.useState(0);
6858
- const [isExpanded, setIsExpanded] = React33__default.useState(false);
6856
+ const [copied, setCopied] = React32__default.useState(false);
6857
+ const [activeTab, setActiveTab] = React32__default.useState(0);
6858
+ const [isExpanded, setIsExpanded] = React32__default.useState(false);
6859
6859
  const tabsExist = tabs.length > 0;
6860
- const cssVars = React33__default.useMemo(
6860
+ const cssVars = React32__default.useMemo(
6861
6861
  () => ({
6862
6862
  container: {
6863
6863
  backgroundColor: "hsl(var(--card))",
@@ -6953,7 +6953,7 @@ var CodeBlock = ({
6953
6953
  ] }),
6954
6954
  breadcrumb.length > 0 && /* @__PURE__ */ jsxs("div", { className: "flex items-center min-w-0", children: [
6955
6955
  /* @__PURE__ */ jsx(FolderIcon, { size: "1em", style: cssVars.icon }),
6956
- /* @__PURE__ */ jsx("div", { className: "flex items-center min-w-0 ml-2", children: breadcrumb.map((crumb, index) => /* @__PURE__ */ jsxs(React33__default.Fragment, { children: [
6956
+ /* @__PURE__ */ jsx("div", { className: "flex items-center min-w-0 ml-2", children: breadcrumb.map((crumb, index) => /* @__PURE__ */ jsxs(React32__default.Fragment, { children: [
6957
6957
  /* @__PURE__ */ jsx(
6958
6958
  "span",
6959
6959
  {
@@ -8100,9 +8100,9 @@ function RangePicker({
8100
8100
  disabled,
8101
8101
  className
8102
8102
  }) {
8103
- const [open, setOpen] = React33.useState(false);
8104
- const [range, setRange] = React33.useState(value);
8105
- React33.useEffect(() => {
8103
+ const [open, setOpen] = React32.useState(false);
8104
+ const [range, setRange] = React32.useState(value);
8105
+ React32.useEffect(() => {
8106
8106
  setRange(value);
8107
8107
  }, [value]);
8108
8108
  const handleSelect = (selected) => {
@@ -8336,7 +8336,7 @@ function RangePicker({
8336
8336
  ] });
8337
8337
  }
8338
8338
  RangePicker.displayName = "RangePicker";
8339
- var TimePickerInput = React33__default.forwardRef(
8339
+ var TimePickerInput = React32__default.forwardRef(
8340
8340
  ({
8341
8341
  className,
8342
8342
  type = "tel",
@@ -8355,10 +8355,10 @@ var TimePickerInput = React33__default.forwardRef(
8355
8355
  label,
8356
8356
  ...props
8357
8357
  }, ref) => {
8358
- const [flag, setFlag] = React33__default.useState(false);
8359
- const [prevIntKey, setPrevIntKey] = React33__default.useState("0");
8360
- const [isFocused, setIsFocused] = React33__default.useState(false);
8361
- React33__default.useEffect(() => {
8358
+ const [flag, setFlag] = React32__default.useState(false);
8359
+ const [prevIntKey, setPrevIntKey] = React32__default.useState("0");
8360
+ const [isFocused, setIsFocused] = React32__default.useState(false);
8361
+ React32__default.useEffect(() => {
8362
8362
  if (flag) {
8363
8363
  const timer = setTimeout(() => {
8364
8364
  setFlag(false);
@@ -8366,7 +8366,7 @@ var TimePickerInput = React33__default.forwardRef(
8366
8366
  return () => clearTimeout(timer);
8367
8367
  }
8368
8368
  }, [flag]);
8369
- const calculatedValue = React33__default.useMemo(() => {
8369
+ const calculatedValue = React32__default.useMemo(() => {
8370
8370
  const safeDate = date ?? new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0));
8371
8371
  return getDateByType(safeDate, picker);
8372
8372
  }, [date, picker]);
@@ -8545,9 +8545,9 @@ function TimePicker({
8545
8545
  hideSeconds,
8546
8546
  enableButton
8547
8547
  }) {
8548
- const minuteRef = React33.useRef(null);
8549
- const hourRef = React33.useRef(null);
8550
- const secondRef = React33.useRef(null);
8548
+ const minuteRef = React32.useRef(null);
8549
+ const hourRef = React32.useRef(null);
8550
+ const secondRef = React32.useRef(null);
8551
8551
  const containerVariants = {
8552
8552
  hidden: { opacity: 0, y: 10 },
8553
8553
  visible: {
@@ -9948,7 +9948,7 @@ function EventAgenda({
9948
9948
  );
9949
9949
  return;
9950
9950
  }
9951
- if (React33__default.isValidElement(onClick)) {
9951
+ if (React32__default.isValidElement(onClick)) {
9952
9952
  setSelectedEvent(event);
9953
9953
  return;
9954
9954
  }
@@ -10100,7 +10100,7 @@ function EventAgenda({
10100
10100
  }
10101
10101
  )
10102
10102
  ] }),
10103
- selectedEvent && React33__default.isValidElement(onClick) ? React33__default.cloneElement(onClick, {
10103
+ selectedEvent && React32__default.isValidElement(onClick) ? React32__default.cloneElement(onClick, {
10104
10104
  event: selectedEvent,
10105
10105
  onClose: () => setSelectedEvent(null)
10106
10106
  }) : null
@@ -13747,7 +13747,7 @@ function MultiSelect({
13747
13747
  "div",
13748
13748
  {
13749
13749
  className: `transition-all duration-200 ${animating ? "opacity-0 -translate-y-1" : "opacity-100 translate-y-0"}`,
13750
- children: paged && "grouped" in paged ? Object.keys(paged.grouped).map((key, index) => /* @__PURE__ */ jsxs(React33__default.Fragment, { children: [
13750
+ children: paged && "grouped" in paged ? Object.keys(paged.grouped).map((key, index) => /* @__PURE__ */ jsxs(React32__default.Fragment, { children: [
13751
13751
  /* @__PURE__ */ jsx(
13752
13752
  MultiSelectGroupBase,
13753
13753
  {
@@ -13814,7 +13814,7 @@ function MultiSelect({
13814
13814
  )
13815
13815
  ] })
13816
13816
  ] })
13817
- ] }) : /* @__PURE__ */ jsx(Fragment, { children: groupItems ? /* @__PURE__ */ jsx(Fragment, { children: Object.keys(groupItems).map((key, index) => /* @__PURE__ */ jsxs(React33__default.Fragment, { children: [
13817
+ ] }) : /* @__PURE__ */ jsx(Fragment, { children: groupItems ? /* @__PURE__ */ jsx(Fragment, { children: Object.keys(groupItems).map((key, index) => /* @__PURE__ */ jsxs(React32__default.Fragment, { children: [
13818
13818
  /* @__PURE__ */ jsx(
13819
13819
  MultiSelectGroupBase,
13820
13820
  {
@@ -14626,7 +14626,7 @@ var DraggableTooltipComponent = ({
14626
14626
  () => showOnlyHighlighted && highlightedSeries && highlightedSeries.size > 0 ? dataKeys.filter((k) => highlightedSeries.has(k)) : dataKeys,
14627
14627
  [showOnlyHighlighted, highlightedSeries, dataKeys]
14628
14628
  );
14629
- const TotalDisplay = React33__default.memo(({ data: data2, visibleKeys: visibleKeys2, valueFormatter: localformatter }) => {
14629
+ const TotalDisplay = React32__default.memo(({ data: data2, visibleKeys: visibleKeys2, valueFormatter: localformatter }) => {
14630
14630
  const total = useMemo(() => {
14631
14631
  const numeric = visibleKeys2.map((k) => data2[k]).filter((v) => typeof v === "number");
14632
14632
  return numeric.reduce((s, v) => s + (v || 0), 0);
@@ -15192,7 +15192,7 @@ var DraggableTooltipComponent = ({
15192
15192
  )
15193
15193
  ] });
15194
15194
  };
15195
- var DraggableTooltip = React33__default.memo(DraggableTooltipComponent);
15195
+ var DraggableTooltip = React32__default.memo(DraggableTooltipComponent);
15196
15196
  DraggableTooltip.displayName = "DraggableTooltip";
15197
15197
  var DraggableTooltip_default = DraggableTooltip;
15198
15198
  var RechartTooltipWithTotal = ({
@@ -18605,5 +18605,545 @@ function Leaderboard({
18605
18605
  }
18606
18606
  );
18607
18607
  }
18608
+ var Lens = ({
18609
+ children,
18610
+ initialZoom = 1.5,
18611
+ maxZoom = 4,
18612
+ lensSize = 150,
18613
+ isStatic = false,
18614
+ position = { x: 200, y: 150 },
18615
+ hovering,
18616
+ setHovering
18617
+ }) => {
18618
+ const containerRef = useRef(null);
18619
+ const [localIsHovering, setLocalIsHovering] = useState(false);
18620
+ const isHovering = hovering !== void 0 ? hovering : localIsHovering;
18621
+ const setIsHovering = setHovering || setLocalIsHovering;
18622
+ const [mousePosition, setMousePosition] = useState({ x: 100, y: 100 });
18623
+ const [zoomFactor, setZoomFactor] = useState(initialZoom);
18624
+ const [isActivated, setIsActivated] = useState(false);
18625
+ const handleMouseMove = (e) => {
18626
+ const rect = e.currentTarget.getBoundingClientRect();
18627
+ const x = e.clientX - rect.left;
18628
+ const y = e.clientY - rect.top;
18629
+ setMousePosition({ x, y });
18630
+ };
18631
+ const handleWheel = (e) => {
18632
+ if (!isActivated) return;
18633
+ const delta = -e.deltaY * 5e-3;
18634
+ setZoomFactor((prev) => Math.min(Math.max(1.1, prev + delta), maxZoom));
18635
+ };
18636
+ const resetZoom = () => {
18637
+ setZoomFactor(initialZoom);
18638
+ setIsActivated(false);
18639
+ };
18640
+ return /* @__PURE__ */ jsxs(
18641
+ "div",
18642
+ {
18643
+ ref: containerRef,
18644
+ className: cn(
18645
+ "relative overflow-hidden rounded-lg z-20 h-full",
18646
+ isActivated ? "cursor-none" : "cursor-pointer"
18647
+ ),
18648
+ onClick: () => setIsActivated(!isActivated),
18649
+ onMouseEnter: () => {
18650
+ setIsHovering(true);
18651
+ },
18652
+ onMouseLeave: () => {
18653
+ setIsHovering(false);
18654
+ resetZoom();
18655
+ },
18656
+ onMouseMove: handleMouseMove,
18657
+ onWheel: handleWheel,
18658
+ children: [
18659
+ children,
18660
+ isStatic ? /* @__PURE__ */ jsxs("div", { children: [
18661
+ /* @__PURE__ */ jsx(
18662
+ motion.div,
18663
+ {
18664
+ initial: { opacity: 0, scale: 0.58 },
18665
+ animate: { opacity: 1, scale: 1 },
18666
+ exit: { opacity: 0, scale: 0.8 },
18667
+ transition: { duration: 0.3, ease: "easeOut" },
18668
+ className: "absolute inset-0 overflow-hidden",
18669
+ style: {
18670
+ maskImage: `radial-gradient(circle ${lensSize / 2}px at ${position.x}px ${position.y}px, black 100%, transparent 100%)`,
18671
+ WebkitMaskImage: `radial-gradient(circle ${lensSize / 2}px at ${position.x}px ${position.y}px, black 100%, transparent 100%)`,
18672
+ transformOrigin: `${position.x}px ${position.y}px`
18673
+ },
18674
+ children: /* @__PURE__ */ jsx(
18675
+ "div",
18676
+ {
18677
+ className: "absolute inset-0",
18678
+ style: {
18679
+ transform: `scale(${zoomFactor})`,
18680
+ transformOrigin: `${position.x}px ${position.y}px`
18681
+ },
18682
+ children
18683
+ }
18684
+ )
18685
+ }
18686
+ ),
18687
+ /* @__PURE__ */ jsx(
18688
+ "div",
18689
+ {
18690
+ className: "absolute pointer-events-none",
18691
+ style: {
18692
+ left: position.x - lensSize / 2,
18693
+ top: position.y - lensSize / 2,
18694
+ width: lensSize,
18695
+ height: lensSize,
18696
+ borderRadius: "50%",
18697
+ boxShadow: "0 8px 32px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.2)",
18698
+ background: "radial-gradient(circle at center, transparent 60%, rgba(255, 255, 255, 0.1) 70%, rgba(255, 255, 255, 0.2) 80%, transparent 100%)"
18699
+ }
18700
+ }
18701
+ )
18702
+ ] }) : /* @__PURE__ */ jsx(AnimatePresence, { children: isHovering && isActivated && /* @__PURE__ */ jsxs("div", { children: [
18703
+ /* @__PURE__ */ jsx(
18704
+ motion.div,
18705
+ {
18706
+ initial: { opacity: 0, scale: 0.58 },
18707
+ animate: { opacity: 1, scale: 1 },
18708
+ exit: { opacity: 0, scale: 0.8 },
18709
+ transition: { duration: 0.3, ease: "easeOut" },
18710
+ className: "absolute inset-0 overflow-hidden",
18711
+ style: {
18712
+ maskImage: `radial-gradient(circle ${lensSize / 2}px at ${mousePosition.x}px ${mousePosition.y}px, black 100%, transparent 100%)`,
18713
+ WebkitMaskImage: `radial-gradient(circle ${lensSize / 2}px at ${mousePosition.x}px ${mousePosition.y}px, black 100%, transparent 100%)`,
18714
+ transformOrigin: `${mousePosition.x}px ${mousePosition.y}px`,
18715
+ zIndex: 50
18716
+ },
18717
+ children: /* @__PURE__ */ jsx(
18718
+ "div",
18719
+ {
18720
+ className: "absolute inset-0",
18721
+ style: {
18722
+ transform: `scale(${zoomFactor})`,
18723
+ transformOrigin: `${mousePosition.x}px ${mousePosition.y}px`
18724
+ },
18725
+ children
18726
+ }
18727
+ )
18728
+ }
18729
+ ),
18730
+ /* @__PURE__ */ jsx(
18731
+ motion.div,
18732
+ {
18733
+ initial: { opacity: 0, scale: 0.58 },
18734
+ animate: { opacity: 1, scale: 1 },
18735
+ exit: { opacity: 0, scale: 0.8 },
18736
+ transition: { duration: 0.3, ease: "easeOut" },
18737
+ className: "absolute pointer-events-none z-[60]",
18738
+ style: {
18739
+ left: mousePosition.x - lensSize / 2,
18740
+ top: mousePosition.y - lensSize / 2,
18741
+ width: lensSize,
18742
+ height: lensSize,
18743
+ borderRadius: "50%",
18744
+ boxShadow: "0 8px 32px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.2)",
18745
+ background: "radial-gradient(circle at center, transparent 60%, rgba(255, 255, 255, 0.1) 70%, rgba(255, 255, 255, 0.2) 80%, transparent 100%)"
18746
+ }
18747
+ }
18748
+ )
18749
+ ] }) })
18750
+ ]
18751
+ }
18752
+ );
18753
+ };
18754
+ var ZoomImage = React32.forwardRef(
18755
+ ({
18756
+ className,
18757
+ src,
18758
+ alt,
18759
+ maxZoom = 2,
18760
+ transitionDuration = 0.3,
18761
+ borderRadius = 12,
18762
+ imageClassName,
18763
+ ...props
18764
+ }, ref) => {
18765
+ const mouseX = useMotionValue(50);
18766
+ const mouseY = useMotionValue(50);
18767
+ const zoomLevel = useMotionValue(1);
18768
+ const springConfig = { damping: 20, stiffness: 150, mass: 0.5 };
18769
+ const smoothMouseX = useSpring(mouseX, springConfig);
18770
+ const smoothMouseY = useSpring(mouseY, springConfig);
18771
+ const smoothZoomLevel = useSpring(zoomLevel, springConfig);
18772
+ const transformOrigin = useTransform(
18773
+ [smoothMouseX, smoothMouseY],
18774
+ ([latestX, latestY]) => `${latestX}% ${latestY}%`
18775
+ );
18776
+ const touchStartDist = React32.useRef(0);
18777
+ const touchStartZoom = React32.useRef(1);
18778
+ const isPinching = React32.useRef(false);
18779
+ const handleMouseMove = (e) => {
18780
+ if (isPinching.current) return;
18781
+ const { left, top, width, height } = e.currentTarget.getBoundingClientRect();
18782
+ const x = (e.clientX - left) / width * 100;
18783
+ const y = (e.clientY - top) / height * 100;
18784
+ mouseX.set(x);
18785
+ mouseY.set(y);
18786
+ };
18787
+ const handleWheel = (e) => {
18788
+ const delta = -e.deltaY * 5e-3;
18789
+ const newZoom = Math.min(Math.max(1, zoomLevel.get() + delta), maxZoom);
18790
+ zoomLevel.set(newZoom);
18791
+ };
18792
+ const handleMouseLeave = () => {
18793
+ if (!isPinching.current) {
18794
+ mouseX.set(50);
18795
+ mouseY.set(50);
18796
+ zoomLevel.set(1);
18797
+ }
18798
+ };
18799
+ const getDistance = (touches) => {
18800
+ const dx = touches[0].clientX - touches[1].clientX;
18801
+ const dy = touches[0].clientY - touches[1].clientY;
18802
+ return Math.sqrt(dx * dx + dy * dy);
18803
+ };
18804
+ const getCenter = (touches, rect) => {
18805
+ const x = (touches[0].clientX + touches[1].clientX) / 2;
18806
+ const y = (touches[0].clientY + touches[1].clientY) / 2;
18807
+ return {
18808
+ x: (x - rect.left) / rect.width * 100,
18809
+ y: (y - rect.top) / rect.height * 100
18810
+ };
18811
+ };
18812
+ const handleTouchStart = (e) => {
18813
+ if (e.touches.length === 2) {
18814
+ isPinching.current = true;
18815
+ touchStartDist.current = getDistance(e.touches);
18816
+ touchStartZoom.current = zoomLevel.get();
18817
+ const rect = e.currentTarget.getBoundingClientRect();
18818
+ const center = getCenter(e.touches, rect);
18819
+ mouseX.set(center.x);
18820
+ mouseY.set(center.y);
18821
+ }
18822
+ };
18823
+ const handleTouchMove = (e) => {
18824
+ if (e.touches.length === 2 && isPinching.current) {
18825
+ e.preventDefault();
18826
+ const dist = getDistance(e.touches);
18827
+ const rect = e.currentTarget.getBoundingClientRect();
18828
+ const scaleChange = dist / touchStartDist.current;
18829
+ const newZoom = Math.min(
18830
+ Math.max(1, touchStartZoom.current * scaleChange),
18831
+ maxZoom
18832
+ );
18833
+ zoomLevel.set(newZoom);
18834
+ const center = getCenter(e.touches, rect);
18835
+ mouseX.set(center.x);
18836
+ mouseY.set(center.y);
18837
+ }
18838
+ };
18839
+ const handleTouchEnd = (e) => {
18840
+ if (e.touches.length < 2) {
18841
+ if (isPinching.current) {
18842
+ isPinching.current = false;
18843
+ }
18844
+ }
18845
+ };
18846
+ return /* @__PURE__ */ jsx(
18847
+ motion.div,
18848
+ {
18849
+ ref,
18850
+ className: cn(
18851
+ "relative w-full h-full overflow-hidden touch-none",
18852
+ className
18853
+ ),
18854
+ style: { borderRadius: `${borderRadius}px` },
18855
+ onMouseMove: handleMouseMove,
18856
+ onMouseLeave: handleMouseLeave,
18857
+ onWheel: handleWheel,
18858
+ onTouchStart: handleTouchStart,
18859
+ onTouchMove: handleTouchMove,
18860
+ onTouchEnd: handleTouchEnd,
18861
+ ...props,
18862
+ children: /* @__PURE__ */ jsx(
18863
+ motion.img,
18864
+ {
18865
+ src,
18866
+ alt,
18867
+ className: cn("w-full h-full object-cover", imageClassName),
18868
+ style: {
18869
+ borderRadius: `${borderRadius}px`,
18870
+ transformOrigin,
18871
+ scale: smoothZoomLevel
18872
+ },
18873
+ transition: {
18874
+ type: "spring",
18875
+ duration: transitionDuration,
18876
+ bounce: 0
18877
+ }
18878
+ }
18879
+ )
18880
+ }
18881
+ );
18882
+ }
18883
+ );
18884
+ ZoomImage.displayName = "ZoomImage";
18885
+ function CarouselBase({
18886
+ items,
18887
+ className,
18888
+ containerClassName,
18889
+ imageClassName,
18890
+ width,
18891
+ height,
18892
+ showControls = true,
18893
+ showIndicators = true,
18894
+ autoPlay = false,
18895
+ autoPlayInterval = 3e3,
18896
+ springConfig = {
18897
+ stiffness: 300,
18898
+ damping: 30
18899
+ },
18900
+ zoomEffect = null,
18901
+ download = false
18902
+ }) {
18903
+ const isMobile = useIsMobile();
18904
+ const [index, setIndex] = useState(0);
18905
+ const containerRef = useRef(null);
18906
+ const x = useMotionValue(0);
18907
+ const [isDownloading, setIsDownloading] = useState(false);
18908
+ const [downloadSuccess, setDownloadSuccess] = useState(false);
18909
+ useEffect(() => {
18910
+ if (containerRef.current) {
18911
+ const containerWidth = containerRef.current.offsetWidth || 1;
18912
+ const targetX = -index * containerWidth;
18913
+ animate(x, targetX, {
18914
+ type: "spring",
18915
+ stiffness: springConfig.stiffness,
18916
+ damping: springConfig.damping
18917
+ });
18918
+ }
18919
+ }, [index, x, springConfig.stiffness, springConfig.damping]);
18920
+ useEffect(() => {
18921
+ if (!autoPlay || items.length <= 1) return;
18922
+ const interval = setInterval(() => {
18923
+ setIndex((i) => (i + 1) % items.length);
18924
+ }, autoPlayInterval);
18925
+ return () => clearInterval(interval);
18926
+ }, [autoPlay, autoPlayInterval, items.length]);
18927
+ const handleDownload = async () => {
18928
+ if (isDownloading) return;
18929
+ setIsDownloading(true);
18930
+ setDownloadSuccess(false);
18931
+ const currentItem = items[index];
18932
+ try {
18933
+ const response = await fetch(currentItem.url);
18934
+ const blob = await response.blob();
18935
+ const url = window.URL.createObjectURL(blob);
18936
+ const link = document.createElement("a");
18937
+ link.href = url;
18938
+ link.download = currentItem.title || "image";
18939
+ document.body.appendChild(link);
18940
+ link.click();
18941
+ document.body.removeChild(link);
18942
+ window.URL.revokeObjectURL(url);
18943
+ setIsDownloading(false);
18944
+ setDownloadSuccess(true);
18945
+ setTimeout(() => setDownloadSuccess(false), 2e3);
18946
+ } catch (error) {
18947
+ console.error("Error downloading image:", error);
18948
+ setIsDownloading(false);
18949
+ }
18950
+ };
18951
+ return /* @__PURE__ */ jsx(
18952
+ "div",
18953
+ {
18954
+ className: cn("w-full lg:p-10 sm:p-4 p-2", className),
18955
+ style: { width, height },
18956
+ children: /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3 h-full", children: /* @__PURE__ */ jsxs(
18957
+ "div",
18958
+ {
18959
+ className: cn(
18960
+ "relative overflow-hidden rounded-lg h-full",
18961
+ containerClassName
18962
+ ),
18963
+ ref: containerRef,
18964
+ children: [
18965
+ /* @__PURE__ */ jsx(motion.div, { className: "flex h-full", style: { x }, children: items.map((item) => /* @__PURE__ */ jsx("div", { className: "shrink-0 w-full h-full", children: isMobile || zoomEffect === "scale" ? /* @__PURE__ */ jsx(
18966
+ ZoomImage,
18967
+ {
18968
+ src: item.url,
18969
+ alt: item.title,
18970
+ className: cn("w-full h-full select-none"),
18971
+ imageClassName,
18972
+ borderRadius: 8,
18973
+ maxZoom: 3
18974
+ }
18975
+ ) : zoomEffect === "lens" ? /* @__PURE__ */ jsx(Lens, { children: /* @__PURE__ */ jsx(
18976
+ "img",
18977
+ {
18978
+ src: item.url,
18979
+ alt: item.title,
18980
+ className: cn(
18981
+ "w-full h-full object-cover rounded-lg select-none pointer-events-none",
18982
+ imageClassName
18983
+ ),
18984
+ draggable: false
18985
+ }
18986
+ ) }) : /* @__PURE__ */ jsx(
18987
+ "img",
18988
+ {
18989
+ src: item.url,
18990
+ alt: item.title,
18991
+ className: cn(
18992
+ "w-full h-full object-cover rounded-lg select-none pointer-events-none",
18993
+ imageClassName
18994
+ ),
18995
+ draggable: false
18996
+ }
18997
+ ) }, item.id)) }),
18998
+ download && /* @__PURE__ */ jsx(
18999
+ motion.button,
19000
+ {
19001
+ onClick: handleDownload,
19002
+ className: cn(
19003
+ "absolute top-4 right-4 z-30 p-2 rounded-full text-white transition-colors border border-white/10",
19004
+ downloadSuccess ? "bg-green-500 hover:bg-green-600" : "bg-black/50 hover:bg-black/70"
19005
+ ),
19006
+ title: "Download image",
19007
+ initial: false,
19008
+ animate: {
19009
+ scale: isDownloading ? 0.9 : 1,
19010
+ backgroundColor: downloadSuccess ? "rgb(34, 197, 94)" : "rgba(0, 0, 0, 0.5)"
19011
+ },
19012
+ whileHover: { scale: 1.05 },
19013
+ whileTap: { scale: 0.95 },
19014
+ children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", initial: false, children: isDownloading ? /* @__PURE__ */ jsx(
19015
+ motion.svg,
19016
+ {
19017
+ xmlns: "http://www.w3.org/2000/svg",
19018
+ width: "20",
19019
+ height: "20",
19020
+ viewBox: "0 0 24 24",
19021
+ fill: "none",
19022
+ stroke: "currentColor",
19023
+ strokeWidth: "2",
19024
+ strokeLinecap: "round",
19025
+ strokeLinejoin: "round",
19026
+ animate: { rotate: 360 },
19027
+ transition: {
19028
+ repeat: Infinity,
19029
+ ease: "linear",
19030
+ duration: 1
19031
+ },
19032
+ children: /* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
19033
+ },
19034
+ "loading"
19035
+ ) : downloadSuccess ? /* @__PURE__ */ jsx(
19036
+ motion.svg,
19037
+ {
19038
+ xmlns: "http://www.w3.org/2000/svg",
19039
+ width: "20",
19040
+ height: "20",
19041
+ viewBox: "0 0 24 24",
19042
+ fill: "none",
19043
+ stroke: "currentColor",
19044
+ strokeWidth: "2",
19045
+ strokeLinecap: "round",
19046
+ strokeLinejoin: "round",
19047
+ initial: { scale: 0.5, opacity: 0 },
19048
+ animate: { scale: 1, opacity: 1 },
19049
+ exit: { scale: 0.5, opacity: 0 },
19050
+ children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" })
19051
+ },
19052
+ "success"
19053
+ ) : /* @__PURE__ */ jsxs(
19054
+ motion.svg,
19055
+ {
19056
+ xmlns: "http://www.w3.org/2000/svg",
19057
+ width: "20",
19058
+ height: "20",
19059
+ viewBox: "0 0 24 24",
19060
+ fill: "none",
19061
+ stroke: "currentColor",
19062
+ strokeWidth: "2",
19063
+ strokeLinecap: "round",
19064
+ strokeLinejoin: "round",
19065
+ initial: { scale: 0.5, opacity: 0 },
19066
+ animate: { scale: 1, opacity: 1 },
19067
+ exit: { scale: 0.5, opacity: 0 },
19068
+ children: [
19069
+ /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
19070
+ /* @__PURE__ */ jsx("polyline", { points: "7 10 12 15 17 10" }),
19071
+ /* @__PURE__ */ jsx("line", { x1: "12", x2: "12", y1: "15", y2: "3" })
19072
+ ]
19073
+ },
19074
+ "download"
19075
+ ) })
19076
+ }
19077
+ ),
19078
+ showControls && /* @__PURE__ */ jsxs(Fragment, { children: [
19079
+ /* @__PURE__ */ jsx(
19080
+ motion.button,
19081
+ {
19082
+ disabled: index === 0,
19083
+ onClick: () => setIndex((i) => Math.max(0, i - 1)),
19084
+ className: `absolute left-4 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full flex items-center justify-center shadow-lg transition-transform z-30
19085
+ ${index === 0 ? "opacity-40 cursor-not-allowed" : "bg-secondary hover:scale-110 hover:opacity-100 opacity-70"}`,
19086
+ children: /* @__PURE__ */ jsx(
19087
+ "svg",
19088
+ {
19089
+ className: "w-6 h-6",
19090
+ fill: "none",
19091
+ stroke: "currentColor",
19092
+ viewBox: "0 0 24 24",
19093
+ children: /* @__PURE__ */ jsx(
19094
+ "path",
19095
+ {
19096
+ strokeLinecap: "round",
19097
+ strokeLinejoin: "round",
19098
+ strokeWidth: 2,
19099
+ d: "M15 19l-7-7 7-7"
19100
+ }
19101
+ )
19102
+ }
19103
+ )
19104
+ }
19105
+ ),
19106
+ /* @__PURE__ */ jsx(
19107
+ motion.button,
19108
+ {
19109
+ disabled: index === items.length - 1,
19110
+ onClick: () => setIndex((i) => Math.min(items.length - 1, i + 1)),
19111
+ className: `absolute right-4 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full flex items-center justify-center shadow-lg transition-transform z-30
19112
+ ${index === items.length - 1 ? "opacity-40 cursor-not-allowed" : "bg-secondary hover:scale-110 hover:opacity-100 opacity-70"}`,
19113
+ children: /* @__PURE__ */ jsx(
19114
+ "svg",
19115
+ {
19116
+ className: "w-6 h-6",
19117
+ fill: "none",
19118
+ stroke: "currentColor",
19119
+ viewBox: "0 0 24 24",
19120
+ children: /* @__PURE__ */ jsx(
19121
+ "path",
19122
+ {
19123
+ strokeLinecap: "round",
19124
+ strokeLinejoin: "round",
19125
+ strokeWidth: 2,
19126
+ d: "M9 5l7 7-7 7"
19127
+ }
19128
+ )
19129
+ }
19130
+ )
19131
+ }
19132
+ )
19133
+ ] }),
19134
+ showIndicators && /* @__PURE__ */ jsx("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-2", children: items.map((_, i) => /* @__PURE__ */ jsx(
19135
+ "button",
19136
+ {
19137
+ onClick: () => setIndex(i),
19138
+ className: `h-2 rounded-full transition-all ${i === index ? "w-8 bg-white" : "w-2 bg-white/50"}`
19139
+ },
19140
+ i
19141
+ )) })
19142
+ ]
19143
+ }
19144
+ ) })
19145
+ }
19146
+ );
19147
+ }
18608
19148
 
18609
- export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush_default as Brush, ButtonBase, ButtonGroupBase, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent2 as DraggableEvent, DraggableTooltip_default as DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage_default as ErrorMessage, EventAgenda, EventCalendar, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, FilterButton, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiSelect, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RangePicker, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly_default as ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, StartHour, StartHourAgenda, StatusIndicator, SwitchBase, SystemTooltip_default as SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple_default as TooltipSimple, TooltipTriggerBase, TooltipWithTotal_default as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
19149
+ export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush_default as Brush, ButtonBase, ButtonGroupBase, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent2 as DraggableEvent, DraggableTooltip_default as DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage_default as ErrorMessage, EventAgenda, EventCalendar, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, FilterButton, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiSelect, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RangePicker, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly_default as ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, StartHour, StartHourAgenda, StatusIndicator, SwitchBase, SystemTooltip_default as SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple_default as TooltipSimple, TooltipTriggerBase, TooltipWithTotal_default as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };