easykar-backoffice-ui 0.0.3 → 0.0.4

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.cjs CHANGED
@@ -36,6 +36,7 @@ __export(index_exports, {
36
36
  EasyCheckbox: () => EasyCheckbox,
37
37
  EasyContainer: () => EasyContainer,
38
38
  EasyDatePicker: () => EasyDatePicker,
39
+ EasyDialog: () => EasyDialog,
39
40
  EasyDisplay: () => EasyDisplay,
40
41
  EasyEmailInput: () => EasyEmailInput,
41
42
  EasyErrorMessage: () => EasyErrorMessage,
@@ -1545,6 +1546,71 @@ var EasyMessageDialog = ({
1545
1546
  };
1546
1547
  EasyMessageDialog.displayName = "EasyMessageDialog";
1547
1548
 
1549
+ // src/components/easy/dialog.tsx
1550
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1551
+ var EasyDialog = ({
1552
+ open,
1553
+ onOpenChange,
1554
+ title,
1555
+ content,
1556
+ cancelText = "\u0130ptal",
1557
+ okText = "Tamam",
1558
+ onCancel,
1559
+ onOk,
1560
+ showCancel = true,
1561
+ showOk = true,
1562
+ cancelVariant = "text",
1563
+ okVariant = "primary",
1564
+ cancelAppearance = "filled",
1565
+ okAppearance = "filled",
1566
+ className,
1567
+ contentClassName
1568
+ }) => {
1569
+ const handleCancel = () => {
1570
+ if (onCancel) {
1571
+ onCancel();
1572
+ } else {
1573
+ onOpenChange(false);
1574
+ }
1575
+ };
1576
+ const handleOk = () => {
1577
+ if (onOk) {
1578
+ onOk();
1579
+ } else {
1580
+ onOpenChange(false);
1581
+ }
1582
+ };
1583
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ShadcnDialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(ShadcnDialogContent, { className: cn("sm:max-w-lg rounded-xl", className), children: [
1584
+ title && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ShadcnDialogHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ShadcnDialogTitle, { children: title }) }),
1585
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: cn("py-4", !title && "pt-0", contentClassName), children: content }),
1586
+ (showCancel || showOk) && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(ShadcnDialogFooter, { className: "flex flex-col gap-4 w-full", children: [
1587
+ showCancel && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1588
+ EasyButton,
1589
+ {
1590
+ variant: cancelVariant,
1591
+ appearance: cancelAppearance,
1592
+ size: "medium",
1593
+ onClick: handleCancel,
1594
+ className: "w-full",
1595
+ children: cancelText
1596
+ }
1597
+ ),
1598
+ showOk && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1599
+ EasyButton,
1600
+ {
1601
+ variant: okVariant,
1602
+ appearance: okAppearance,
1603
+ size: "medium",
1604
+ onClick: handleOk,
1605
+ className: "w-full",
1606
+ children: okText
1607
+ }
1608
+ )
1609
+ ] })
1610
+ ] }) });
1611
+ };
1612
+ EasyDialog.displayName = "EasyDialog";
1613
+
1548
1614
  // src/components/easy/sidebar.tsx
1549
1615
  var React26 = __toESM(require("react"), 1);
1550
1616
 
@@ -1574,9 +1640,9 @@ function useIsMobile() {
1574
1640
  // src/components/ui/separator.tsx
1575
1641
  var React22 = __toESM(require("react"), 1);
1576
1642
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
1577
- var import_jsx_runtime23 = require("react/jsx-runtime");
1643
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1578
1644
  var Separator = React22.forwardRef(
1579
- ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1645
+ ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1580
1646
  SeparatorPrimitive.Root,
1581
1647
  {
1582
1648
  ref,
@@ -1598,10 +1664,10 @@ var React23 = __toESM(require("react"), 1);
1598
1664
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
1599
1665
  var import_class_variance_authority4 = require("class-variance-authority");
1600
1666
  var import_lucide_react10 = require("lucide-react");
1601
- var import_jsx_runtime24 = require("react/jsx-runtime");
1667
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1602
1668
  var Sheet = SheetPrimitive.Root;
1603
1669
  var SheetPortal = SheetPrimitive.Portal;
1604
- var SheetOverlay = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1670
+ var SheetOverlay = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1605
1671
  SheetPrimitive.Overlay,
1606
1672
  {
1607
1673
  className: cn(
@@ -1629,9 +1695,9 @@ var sheetVariants = (0, import_class_variance_authority4.cva)(
1629
1695
  }
1630
1696
  }
1631
1697
  );
1632
- var SheetContent = React23.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(SheetPortal, { children: [
1633
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SheetOverlay, {}),
1634
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1698
+ var SheetContent = React23.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(SheetPortal, { children: [
1699
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SheetOverlay, {}),
1700
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1635
1701
  SheetPrimitive.Content,
1636
1702
  {
1637
1703
  ref,
@@ -1639,9 +1705,9 @@ var SheetContent = React23.forwardRef(({ side = "right", className, children, ..
1639
1705
  ...props,
1640
1706
  children: [
1641
1707
  children,
1642
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
1643
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react10.X, { className: "h-4 w-4" }),
1644
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "sr-only", children: "Close" })
1708
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
1709
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react10.X, { className: "h-4 w-4" }),
1710
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "sr-only", children: "Close" })
1645
1711
  ] })
1646
1712
  ]
1647
1713
  }
@@ -1651,7 +1717,7 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
1651
1717
  var SheetHeader = ({
1652
1718
  className,
1653
1719
  ...props
1654
- }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1720
+ }) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1655
1721
  "div",
1656
1722
  {
1657
1723
  className: cn(
@@ -1665,7 +1731,7 @@ SheetHeader.displayName = "SheetHeader";
1665
1731
  var SheetFooter = ({
1666
1732
  className,
1667
1733
  ...props
1668
- }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1734
+ }) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1669
1735
  "div",
1670
1736
  {
1671
1737
  className: cn(
@@ -1676,7 +1742,7 @@ var SheetFooter = ({
1676
1742
  }
1677
1743
  );
1678
1744
  SheetFooter.displayName = "SheetFooter";
1679
- var SheetTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1745
+ var SheetTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1680
1746
  SheetPrimitive.Title,
1681
1747
  {
1682
1748
  ref,
@@ -1685,7 +1751,7 @@ var SheetTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE
1685
1751
  }
1686
1752
  ));
1687
1753
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
1688
- var SheetDescription = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1754
+ var SheetDescription = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1689
1755
  SheetPrimitive.Description,
1690
1756
  {
1691
1757
  ref,
@@ -1696,12 +1762,12 @@ var SheetDescription = React23.forwardRef(({ className, ...props }, ref) => /* @
1696
1762
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
1697
1763
 
1698
1764
  // src/components/ui/skeleton.tsx
1699
- var import_jsx_runtime25 = require("react/jsx-runtime");
1765
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1700
1766
  function Skeleton({
1701
1767
  className,
1702
1768
  ...props
1703
1769
  }) {
1704
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1770
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1705
1771
  "div",
1706
1772
  {
1707
1773
  className: cn("animate-pulse rounded-md bg-muted", className),
@@ -1713,11 +1779,11 @@ function Skeleton({
1713
1779
  // src/components/ui/tooltip.tsx
1714
1780
  var React24 = __toESM(require("react"), 1);
1715
1781
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
1716
- var import_jsx_runtime26 = require("react/jsx-runtime");
1782
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1717
1783
  var TooltipProvider = TooltipPrimitive.Provider;
1718
1784
  var Tooltip = TooltipPrimitive.Root;
1719
1785
  var TooltipTrigger = TooltipPrimitive.Trigger;
1720
- var TooltipContent = React24.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1786
+ var TooltipContent = React24.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1721
1787
  TooltipPrimitive.Content,
1722
1788
  {
1723
1789
  ref,
@@ -1732,7 +1798,7 @@ var TooltipContent = React24.forwardRef(({ className, sideOffset = 4, ...props }
1732
1798
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
1733
1799
 
1734
1800
  // src/components/ui/sidebar.tsx
1735
- var import_jsx_runtime27 = require("react/jsx-runtime");
1801
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1736
1802
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
1737
1803
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
1738
1804
  var SIDEBAR_WIDTH = "16rem";
@@ -1799,7 +1865,7 @@ var SidebarProvider = React25.forwardRef(
1799
1865
  }),
1800
1866
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
1801
1867
  );
1802
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1868
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1803
1869
  "div",
1804
1870
  {
1805
1871
  style: {
@@ -1830,7 +1896,7 @@ var Sidebar = React25.forwardRef(
1830
1896
  }, ref) => {
1831
1897
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
1832
1898
  if (collapsible === "none") {
1833
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1899
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1834
1900
  "div",
1835
1901
  {
1836
1902
  className: cn(
@@ -1844,7 +1910,7 @@ var Sidebar = React25.forwardRef(
1844
1910
  );
1845
1911
  }
1846
1912
  if (isMobile) {
1847
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1913
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1848
1914
  SheetContent,
1849
1915
  {
1850
1916
  "data-sidebar": "sidebar",
@@ -1855,16 +1921,16 @@ var Sidebar = React25.forwardRef(
1855
1921
  },
1856
1922
  side,
1857
1923
  children: [
1858
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(SheetHeader, { className: "sr-only", children: [
1859
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SheetTitle, { children: "Sidebar" }),
1860
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
1924
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(SheetHeader, { className: "sr-only", children: [
1925
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SheetTitle, { children: "Sidebar" }),
1926
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
1861
1927
  ] }),
1862
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex h-full w-full flex-col", children })
1928
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex h-full w-full flex-col", children })
1863
1929
  ]
1864
1930
  }
1865
1931
  ) });
1866
1932
  }
1867
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1933
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1868
1934
  "div",
1869
1935
  {
1870
1936
  ref,
@@ -1874,7 +1940,7 @@ var Sidebar = React25.forwardRef(
1874
1940
  "data-variant": variant,
1875
1941
  "data-side": side,
1876
1942
  children: [
1877
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1943
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1878
1944
  "div",
1879
1945
  {
1880
1946
  className: cn(
@@ -1885,7 +1951,7 @@ var Sidebar = React25.forwardRef(
1885
1951
  )
1886
1952
  }
1887
1953
  ),
1888
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1954
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1889
1955
  "div",
1890
1956
  {
1891
1957
  className: cn(
@@ -1896,7 +1962,7 @@ var Sidebar = React25.forwardRef(
1896
1962
  className
1897
1963
  ),
1898
1964
  ...props,
1899
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1965
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1900
1966
  "div",
1901
1967
  {
1902
1968
  "data-sidebar": "sidebar",
@@ -1914,7 +1980,7 @@ var Sidebar = React25.forwardRef(
1914
1980
  Sidebar.displayName = "Sidebar";
1915
1981
  var SidebarTrigger = React25.forwardRef(({ className, onClick, ...props }, ref) => {
1916
1982
  const { toggleSidebar } = useSidebar();
1917
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1983
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1918
1984
  ShadcnButton,
1919
1985
  {
1920
1986
  ref,
@@ -1928,8 +1994,8 @@ var SidebarTrigger = React25.forwardRef(({ className, onClick, ...props }, ref)
1928
1994
  },
1929
1995
  ...props,
1930
1996
  children: [
1931
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_lucide_react11.PanelLeft, {}),
1932
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
1997
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react11.PanelLeft, {}),
1998
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
1933
1999
  ]
1934
2000
  }
1935
2001
  );
@@ -1937,7 +2003,7 @@ var SidebarTrigger = React25.forwardRef(({ className, onClick, ...props }, ref)
1937
2003
  SidebarTrigger.displayName = "SidebarTrigger";
1938
2004
  var SidebarRail = React25.forwardRef(({ className, ...props }, ref) => {
1939
2005
  const { toggleSidebar } = useSidebar();
1940
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2006
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1941
2007
  "button",
1942
2008
  {
1943
2009
  ref,
@@ -1961,7 +2027,7 @@ var SidebarRail = React25.forwardRef(({ className, ...props }, ref) => {
1961
2027
  });
1962
2028
  SidebarRail.displayName = "SidebarRail";
1963
2029
  var SidebarInset = React25.forwardRef(({ className, ...props }, ref) => {
1964
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2030
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1965
2031
  "main",
1966
2032
  {
1967
2033
  ref,
@@ -1976,7 +2042,7 @@ var SidebarInset = React25.forwardRef(({ className, ...props }, ref) => {
1976
2042
  });
1977
2043
  SidebarInset.displayName = "SidebarInset";
1978
2044
  var SidebarInput = React25.forwardRef(({ className, ...props }, ref) => {
1979
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2045
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1980
2046
  ShadcnInput,
1981
2047
  {
1982
2048
  ref,
@@ -1991,7 +2057,7 @@ var SidebarInput = React25.forwardRef(({ className, ...props }, ref) => {
1991
2057
  });
1992
2058
  SidebarInput.displayName = "SidebarInput";
1993
2059
  var SidebarHeader = React25.forwardRef(({ className, ...props }, ref) => {
1994
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2060
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1995
2061
  "div",
1996
2062
  {
1997
2063
  ref,
@@ -2003,7 +2069,7 @@ var SidebarHeader = React25.forwardRef(({ className, ...props }, ref) => {
2003
2069
  });
2004
2070
  SidebarHeader.displayName = "SidebarHeader";
2005
2071
  var SidebarFooter = React25.forwardRef(({ className, ...props }, ref) => {
2006
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2072
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2007
2073
  "div",
2008
2074
  {
2009
2075
  ref,
@@ -2015,7 +2081,7 @@ var SidebarFooter = React25.forwardRef(({ className, ...props }, ref) => {
2015
2081
  });
2016
2082
  SidebarFooter.displayName = "SidebarFooter";
2017
2083
  var SidebarSeparator = React25.forwardRef(({ className, ...props }, ref) => {
2018
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2084
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2019
2085
  Separator,
2020
2086
  {
2021
2087
  ref,
@@ -2027,7 +2093,7 @@ var SidebarSeparator = React25.forwardRef(({ className, ...props }, ref) => {
2027
2093
  });
2028
2094
  SidebarSeparator.displayName = "SidebarSeparator";
2029
2095
  var SidebarContent = React25.forwardRef(({ className, ...props }, ref) => {
2030
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2096
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2031
2097
  "div",
2032
2098
  {
2033
2099
  ref,
@@ -2042,7 +2108,7 @@ var SidebarContent = React25.forwardRef(({ className, ...props }, ref) => {
2042
2108
  });
2043
2109
  SidebarContent.displayName = "SidebarContent";
2044
2110
  var SidebarGroup = React25.forwardRef(({ className, ...props }, ref) => {
2045
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2111
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2046
2112
  "div",
2047
2113
  {
2048
2114
  ref,
@@ -2055,7 +2121,7 @@ var SidebarGroup = React25.forwardRef(({ className, ...props }, ref) => {
2055
2121
  SidebarGroup.displayName = "SidebarGroup";
2056
2122
  var SidebarGroupLabel = React25.forwardRef(({ className, asChild = false, ...props }, ref) => {
2057
2123
  const Comp = asChild ? import_react_slot2.Slot : "div";
2058
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2124
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2059
2125
  Comp,
2060
2126
  {
2061
2127
  ref,
@@ -2072,7 +2138,7 @@ var SidebarGroupLabel = React25.forwardRef(({ className, asChild = false, ...pro
2072
2138
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
2073
2139
  var SidebarGroupAction = React25.forwardRef(({ className, asChild = false, ...props }, ref) => {
2074
2140
  const Comp = asChild ? import_react_slot2.Slot : "button";
2075
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2141
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2076
2142
  Comp,
2077
2143
  {
2078
2144
  ref,
@@ -2089,7 +2155,7 @@ var SidebarGroupAction = React25.forwardRef(({ className, asChild = false, ...pr
2089
2155
  );
2090
2156
  });
2091
2157
  SidebarGroupAction.displayName = "SidebarGroupAction";
2092
- var SidebarGroupContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2158
+ var SidebarGroupContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2093
2159
  "div",
2094
2160
  {
2095
2161
  ref,
@@ -2099,7 +2165,7 @@ var SidebarGroupContent = React25.forwardRef(({ className, ...props }, ref) => /
2099
2165
  }
2100
2166
  ));
2101
2167
  SidebarGroupContent.displayName = "SidebarGroupContent";
2102
- var SidebarMenu = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2168
+ var SidebarMenu = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2103
2169
  "ul",
2104
2170
  {
2105
2171
  ref,
@@ -2109,7 +2175,7 @@ var SidebarMenu = React25.forwardRef(({ className, ...props }, ref) => /* @__PUR
2109
2175
  }
2110
2176
  ));
2111
2177
  SidebarMenu.displayName = "SidebarMenu";
2112
- var SidebarMenuItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2178
+ var SidebarMenuItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2113
2179
  "li",
2114
2180
  {
2115
2181
  ref,
@@ -2151,7 +2217,7 @@ var SidebarMenuButton = React25.forwardRef(
2151
2217
  }, ref) => {
2152
2218
  const Comp = asChild ? import_react_slot2.Slot : "button";
2153
2219
  const { isMobile, state } = useSidebar();
2154
- const button = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2220
+ const button = /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2155
2221
  Comp,
2156
2222
  {
2157
2223
  ref,
@@ -2170,9 +2236,9 @@ var SidebarMenuButton = React25.forwardRef(
2170
2236
  children: tooltip
2171
2237
  };
2172
2238
  }
2173
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Tooltip, { children: [
2174
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(TooltipTrigger, { asChild: true, children: button }),
2175
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2239
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Tooltip, { children: [
2240
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(TooltipTrigger, { asChild: true, children: button }),
2241
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2176
2242
  TooltipContent,
2177
2243
  {
2178
2244
  side: "right",
@@ -2187,7 +2253,7 @@ var SidebarMenuButton = React25.forwardRef(
2187
2253
  SidebarMenuButton.displayName = "SidebarMenuButton";
2188
2254
  var SidebarMenuAction = React25.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
2189
2255
  const Comp = asChild ? import_react_slot2.Slot : "button";
2190
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2256
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2191
2257
  Comp,
2192
2258
  {
2193
2259
  ref,
@@ -2208,7 +2274,7 @@ var SidebarMenuAction = React25.forwardRef(({ className, asChild = false, showOn
2208
2274
  );
2209
2275
  });
2210
2276
  SidebarMenuAction.displayName = "SidebarMenuAction";
2211
- var SidebarMenuBadge = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2277
+ var SidebarMenuBadge = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2212
2278
  "div",
2213
2279
  {
2214
2280
  ref,
@@ -2230,7 +2296,7 @@ var SidebarMenuSkeleton = React25.forwardRef(({ className, showIcon = false, ...
2230
2296
  const width = React25.useMemo(() => {
2231
2297
  return `${Math.floor(Math.random() * 40) + 50}%`;
2232
2298
  }, []);
2233
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2299
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2234
2300
  "div",
2235
2301
  {
2236
2302
  ref,
@@ -2238,14 +2304,14 @@ var SidebarMenuSkeleton = React25.forwardRef(({ className, showIcon = false, ...
2238
2304
  className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
2239
2305
  ...props,
2240
2306
  children: [
2241
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2307
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2242
2308
  Skeleton,
2243
2309
  {
2244
2310
  className: "size-4 rounded-md",
2245
2311
  "data-sidebar": "menu-skeleton-icon"
2246
2312
  }
2247
2313
  ),
2248
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2314
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2249
2315
  Skeleton,
2250
2316
  {
2251
2317
  className: "h-4 max-w-[--skeleton-width] flex-1",
@@ -2260,7 +2326,7 @@ var SidebarMenuSkeleton = React25.forwardRef(({ className, showIcon = false, ...
2260
2326
  );
2261
2327
  });
2262
2328
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
2263
- var SidebarMenuSub = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2329
+ var SidebarMenuSub = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2264
2330
  "ul",
2265
2331
  {
2266
2332
  ref,
@@ -2274,11 +2340,11 @@ var SidebarMenuSub = React25.forwardRef(({ className, ...props }, ref) => /* @__
2274
2340
  }
2275
2341
  ));
2276
2342
  SidebarMenuSub.displayName = "SidebarMenuSub";
2277
- var SidebarMenuSubItem = React25.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("li", { ref, ...props }));
2343
+ var SidebarMenuSubItem = React25.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("li", { ref, ...props }));
2278
2344
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
2279
2345
  var SidebarMenuSubButton = React25.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
2280
2346
  const Comp = asChild ? import_react_slot2.Slot : "a";
2281
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2347
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2282
2348
  Comp,
2283
2349
  {
2284
2350
  ref,
@@ -2300,10 +2366,10 @@ var SidebarMenuSubButton = React25.forwardRef(({ asChild = false, size = "md", i
2300
2366
  SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
2301
2367
 
2302
2368
  // src/components/easy/sidebar.tsx
2303
- var import_jsx_runtime28 = require("react/jsx-runtime");
2369
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2304
2370
  var EasySidebar = React26.forwardRef(
2305
2371
  ({ title, description, menuItems, className, ...props }, ref) => {
2306
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2372
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2307
2373
  SidebarProvider,
2308
2374
  {
2309
2375
  ref,
@@ -2313,12 +2379,12 @@ var EasySidebar = React26.forwardRef(
2313
2379
  ),
2314
2380
  style: { "--sidebar-width": "100%" },
2315
2381
  ...props,
2316
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Sidebar, { collapsible: "none", className: "w-full bg-transparent text-[var(--ui-text-900)]", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(SidebarContent, { className: "gap-6 px-0", children: [
2317
- (title || description) && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "space-y-1 px-2 text-left", children: [
2318
- title && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(EasyHeading, { variant: "large", as: "h2", className: "text-[var(--ui-text-900)] font-semibold text-xl", children: title }),
2319
- description && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-600)]", children: description })
2382
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Sidebar, { collapsible: "none", className: "w-full bg-transparent text-[var(--ui-text-900)]", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(SidebarContent, { className: "gap-6 px-0", children: [
2383
+ (title || description) && /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "space-y-1 px-2 text-left", children: [
2384
+ title && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(EasyHeading, { variant: "large", as: "h2", className: "text-[var(--ui-text-900)] font-semibold text-xl", children: title }),
2385
+ description && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-600)]", children: description })
2320
2386
  ] }),
2321
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarMenu, { className: "gap-2 px-1", children: menuItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2387
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SidebarMenu, { className: "gap-2 px-1", children: menuItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2322
2388
  SidebarMenuButton,
2323
2389
  {
2324
2390
  type: "button",
@@ -2326,13 +2392,13 @@ var EasySidebar = React26.forwardRef(
2326
2392
  className: "h-11 bg-transparent px-3 py-1.5 text-[var(--ui-text-600)] data-[active=true]:bg-[var(--ui-decorative-green)] data-[active=true]:text-[var(--ui-text-900)] data-[active=true]:rounded-md",
2327
2393
  onClick: () => item.onClick?.(),
2328
2394
  children: [
2329
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: cn(
2395
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: cn(
2330
2396
  "text-[var(--ui-text-500)]",
2331
2397
  item.active && "text-[var(--ui-primary-500)]"
2332
2398
  ), children: item.icon }),
2333
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: "flex flex-1 flex-col text-left", children: [
2334
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(EasyBody, { variant: "medium", className: "text-[var(--ui-text-900)] font-medium", children: item.label }),
2335
- item.description && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: item.description })
2399
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("span", { className: "flex flex-1 flex-col text-left", children: [
2400
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(EasyBody, { variant: "medium", className: "text-[var(--ui-text-900)] font-medium", children: item.label }),
2401
+ item.description && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: item.description })
2336
2402
  ] })
2337
2403
  ]
2338
2404
  }
@@ -2347,7 +2413,7 @@ EasySidebar.displayName = "EasySidebar";
2347
2413
  // src/components/easy/tabs.tsx
2348
2414
  var React27 = __toESM(require("react"), 1);
2349
2415
  var import_class_variance_authority6 = require("class-variance-authority");
2350
- var import_jsx_runtime29 = require("react/jsx-runtime");
2416
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2351
2417
  var tabsListVariants = (0, import_class_variance_authority6.cva)(
2352
2418
  "inline-flex items-center justify-start gap-1 rounded-lg bg-transparent",
2353
2419
  {
@@ -2380,7 +2446,7 @@ var tabsTriggerVariants = (0, import_class_variance_authority6.cva)(
2380
2446
  );
2381
2447
  var EasyTabs = Tabs;
2382
2448
  var EasyTabsList = React27.forwardRef(({ className, size, ...props }, ref) => {
2383
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2449
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2384
2450
  TabsList,
2385
2451
  {
2386
2452
  ref,
@@ -2391,7 +2457,7 @@ var EasyTabsList = React27.forwardRef(({ className, size, ...props }, ref) => {
2391
2457
  });
2392
2458
  EasyTabsList.displayName = "EasyTabsList";
2393
2459
  var EasyTabsTrigger = React27.forwardRef(({ className, size, children, ...props }, ref) => {
2394
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2460
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2395
2461
  TabsTrigger,
2396
2462
  {
2397
2463
  ref,
@@ -2405,14 +2471,14 @@ var EasyTabsTrigger = React27.forwardRef(({ className, size, children, ...props
2405
2471
  ...props,
2406
2472
  children: [
2407
2473
  children,
2408
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "absolute bottom-[-10px] left-0 right-0 h-0.5 bg-gradient-to-r from-[var(--ui-primary-500)] to-[var(--ui-cabir-yellow)] opacity-0 transition-opacity duration-200" })
2474
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "absolute bottom-[-10px] left-0 right-0 h-0.5 bg-gradient-to-r from-[var(--ui-primary-500)] to-[var(--ui-cabir-yellow)] opacity-0 transition-opacity duration-200" })
2409
2475
  ]
2410
2476
  }
2411
2477
  );
2412
2478
  });
2413
2479
  EasyTabsTrigger.displayName = "EasyTabsTrigger";
2414
2480
  var EasyTabsContent = React27.forwardRef(({ className, ...props }, ref) => {
2415
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2481
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2416
2482
  TabsContent,
2417
2483
  {
2418
2484
  ref,
@@ -2430,10 +2496,10 @@ var import_lucide_react13 = require("lucide-react");
2430
2496
  var React28 = __toESM(require("react"), 1);
2431
2497
  var import_react_slot3 = require("@radix-ui/react-slot");
2432
2498
  var import_lucide_react12 = require("lucide-react");
2433
- var import_jsx_runtime30 = require("react/jsx-runtime");
2434
- var Breadcrumb = React28.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
2499
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2500
+ var Breadcrumb = React28.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
2435
2501
  Breadcrumb.displayName = "Breadcrumb";
2436
- var BreadcrumbList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2502
+ var BreadcrumbList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2437
2503
  "ol",
2438
2504
  {
2439
2505
  ref,
@@ -2445,7 +2511,7 @@ var BreadcrumbList = React28.forwardRef(({ className, ...props }, ref) => /* @__
2445
2511
  }
2446
2512
  ));
2447
2513
  BreadcrumbList.displayName = "BreadcrumbList";
2448
- var BreadcrumbItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2514
+ var BreadcrumbItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2449
2515
  "li",
2450
2516
  {
2451
2517
  ref,
@@ -2456,7 +2522,7 @@ var BreadcrumbItem = React28.forwardRef(({ className, ...props }, ref) => /* @__
2456
2522
  BreadcrumbItem.displayName = "BreadcrumbItem";
2457
2523
  var BreadcrumbLink = React28.forwardRef(({ asChild, className, ...props }, ref) => {
2458
2524
  const Comp = asChild ? import_react_slot3.Slot : "a";
2459
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2525
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2460
2526
  Comp,
2461
2527
  {
2462
2528
  ref,
@@ -2466,7 +2532,7 @@ var BreadcrumbLink = React28.forwardRef(({ asChild, className, ...props }, ref)
2466
2532
  );
2467
2533
  });
2468
2534
  BreadcrumbLink.displayName = "BreadcrumbLink";
2469
- var BreadcrumbPage = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2535
+ var BreadcrumbPage = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2470
2536
  "span",
2471
2537
  {
2472
2538
  ref,
@@ -2482,21 +2548,21 @@ var BreadcrumbSeparator = ({
2482
2548
  children,
2483
2549
  className,
2484
2550
  ...props
2485
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2551
+ }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2486
2552
  "li",
2487
2553
  {
2488
2554
  role: "presentation",
2489
2555
  "aria-hidden": "true",
2490
2556
  className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
2491
2557
  ...props,
2492
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react12.ChevronRight, {})
2558
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react12.ChevronRight, {})
2493
2559
  }
2494
2560
  );
2495
2561
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
2496
2562
  var BreadcrumbEllipsis = ({
2497
2563
  className,
2498
2564
  ...props
2499
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2565
+ }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2500
2566
  "span",
2501
2567
  {
2502
2568
  role: "presentation",
@@ -2504,15 +2570,15 @@ var BreadcrumbEllipsis = ({
2504
2570
  className: cn("flex h-9 w-9 items-center justify-center", className),
2505
2571
  ...props,
2506
2572
  children: [
2507
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react12.MoreHorizontal, { className: "h-4 w-4" }),
2508
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "sr-only", children: "More" })
2573
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react12.MoreHorizontal, { className: "h-4 w-4" }),
2574
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "sr-only", children: "More" })
2509
2575
  ]
2510
2576
  }
2511
2577
  );
2512
2578
  BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
2513
2579
 
2514
2580
  // src/components/easy/breadcrumb.tsx
2515
- var import_jsx_runtime31 = require("react/jsx-runtime");
2581
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2516
2582
  var defaultBreadcrumbMap = {
2517
2583
  home: "Anasayfa",
2518
2584
  "my-account": "Hesab\u0131m",
@@ -2549,11 +2615,11 @@ function EasyBreadcrumb({
2549
2615
  if (displayItems.length <= 1) {
2550
2616
  return null;
2551
2617
  }
2552
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Breadcrumb, { className, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(BreadcrumbList, { children: displayItems.map((item, index) => {
2618
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Breadcrumb, { className, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BreadcrumbList, { children: displayItems.map((item, index) => {
2553
2619
  const isLast = index === displayItems.length - 1;
2554
2620
  const isActive = item.isActive ?? isLast;
2555
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex items-center", children: [
2556
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(BreadcrumbItem, { children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(BreadcrumbPage, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2621
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center", children: [
2622
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BreadcrumbItem, { children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BreadcrumbPage, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2557
2623
  EasyLabel,
2558
2624
  {
2559
2625
  variant: "xsmall",
@@ -2563,7 +2629,7 @@ function EasyBreadcrumb({
2563
2629
  ),
2564
2630
  children: item.label
2565
2631
  }
2566
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(BreadcrumbLink, { href: item.href || "#", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2632
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BreadcrumbLink, { href: item.href || "#", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2567
2633
  EasyLabel,
2568
2634
  {
2569
2635
  variant: "xsmall",
@@ -2574,7 +2640,7 @@ function EasyBreadcrumb({
2574
2640
  children: item.label
2575
2641
  }
2576
2642
  ) }) }),
2577
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(BreadcrumbSeparator, { className: "ml-2", children: separator ?? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2643
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BreadcrumbSeparator, { className: "ml-2", children: separator ?? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2578
2644
  import_lucide_react13.ChevronRight,
2579
2645
  {
2580
2646
  size: 10,
@@ -2614,8 +2680,8 @@ var import_lucide_react16 = require("lucide-react");
2614
2680
  // src/components/ui/pagination.tsx
2615
2681
  var React29 = __toESM(require("react"), 1);
2616
2682
  var import_lucide_react14 = require("lucide-react");
2617
- var import_jsx_runtime32 = require("react/jsx-runtime");
2618
- var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2683
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2684
+ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2619
2685
  "nav",
2620
2686
  {
2621
2687
  role: "navigation",
@@ -2625,7 +2691,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_run
2625
2691
  }
2626
2692
  );
2627
2693
  Pagination.displayName = "Pagination";
2628
- var PaginationContent = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2694
+ var PaginationContent = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2629
2695
  "ul",
2630
2696
  {
2631
2697
  ref,
@@ -2634,14 +2700,14 @@ var PaginationContent = React29.forwardRef(({ className, ...props }, ref) => /*
2634
2700
  }
2635
2701
  ));
2636
2702
  PaginationContent.displayName = "PaginationContent";
2637
- var PaginationItem = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("li", { ref, className: cn("", className), ...props }));
2703
+ var PaginationItem = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("li", { ref, className: cn("", className), ...props }));
2638
2704
  PaginationItem.displayName = "PaginationItem";
2639
2705
  var PaginationLink = ({
2640
2706
  className,
2641
2707
  isActive,
2642
2708
  size = "icon",
2643
2709
  ...props
2644
- }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2710
+ }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2645
2711
  "a",
2646
2712
  {
2647
2713
  "aria-current": isActive ? "page" : void 0,
@@ -2659,7 +2725,7 @@ PaginationLink.displayName = "PaginationLink";
2659
2725
  var PaginationPrevious = ({
2660
2726
  className,
2661
2727
  ...props
2662
- }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2728
+ }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2663
2729
  PaginationLink,
2664
2730
  {
2665
2731
  "aria-label": "Go to previous page",
@@ -2667,8 +2733,8 @@ var PaginationPrevious = ({
2667
2733
  className: cn("gap-1 pl-2.5", className),
2668
2734
  ...props,
2669
2735
  children: [
2670
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react14.ChevronLeft, { className: "h-4 w-4" }),
2671
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: "Previous" })
2736
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react14.ChevronLeft, { className: "h-4 w-4" }),
2737
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { children: "Previous" })
2672
2738
  ]
2673
2739
  }
2674
2740
  );
@@ -2676,7 +2742,7 @@ PaginationPrevious.displayName = "PaginationPrevious";
2676
2742
  var PaginationNext = ({
2677
2743
  className,
2678
2744
  ...props
2679
- }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2745
+ }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2680
2746
  PaginationLink,
2681
2747
  {
2682
2748
  "aria-label": "Go to next page",
@@ -2684,8 +2750,8 @@ var PaginationNext = ({
2684
2750
  className: cn("gap-1 pr-2.5", className),
2685
2751
  ...props,
2686
2752
  children: [
2687
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: "Next" }),
2688
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react14.ChevronRight, { className: "h-4 w-4" })
2753
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { children: "Next" }),
2754
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react14.ChevronRight, { className: "h-4 w-4" })
2689
2755
  ]
2690
2756
  }
2691
2757
  );
@@ -2693,15 +2759,15 @@ PaginationNext.displayName = "PaginationNext";
2693
2759
  var PaginationEllipsis = ({
2694
2760
  className,
2695
2761
  ...props
2696
- }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2762
+ }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2697
2763
  "span",
2698
2764
  {
2699
2765
  "aria-hidden": true,
2700
2766
  className: cn("flex h-9 w-9 items-center justify-center", className),
2701
2767
  ...props,
2702
2768
  children: [
2703
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react14.MoreHorizontal, { className: "h-4 w-4" }),
2704
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "sr-only", children: "More pages" })
2769
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react14.MoreHorizontal, { className: "h-4 w-4" }),
2770
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "sr-only", children: "More pages" })
2705
2771
  ]
2706
2772
  }
2707
2773
  );
@@ -2711,10 +2777,10 @@ PaginationEllipsis.displayName = "PaginationEllipsis";
2711
2777
  var React30 = __toESM(require("react"), 1);
2712
2778
  var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
2713
2779
  var import_lucide_react15 = require("lucide-react");
2714
- var import_jsx_runtime33 = require("react/jsx-runtime");
2780
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2715
2781
  var Select = SelectPrimitive.Root;
2716
2782
  var SelectValue = SelectPrimitive.Value;
2717
- var SelectTrigger = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2783
+ var SelectTrigger = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2718
2784
  SelectPrimitive.Trigger,
2719
2785
  {
2720
2786
  ref,
@@ -2725,12 +2791,12 @@ var SelectTrigger = React30.forwardRef(({ className, children, ...props }, ref)
2725
2791
  ...props,
2726
2792
  children: [
2727
2793
  children,
2728
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react15.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
2794
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react15.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
2729
2795
  ]
2730
2796
  }
2731
2797
  ));
2732
2798
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2733
- var SelectScrollUpButton = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2799
+ var SelectScrollUpButton = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2734
2800
  SelectPrimitive.ScrollUpButton,
2735
2801
  {
2736
2802
  ref,
@@ -2739,11 +2805,11 @@ var SelectScrollUpButton = React30.forwardRef(({ className, ...props }, ref) =>
2739
2805
  className
2740
2806
  ),
2741
2807
  ...props,
2742
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react15.ChevronUp, { className: "h-4 w-4" })
2808
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react15.ChevronUp, { className: "h-4 w-4" })
2743
2809
  }
2744
2810
  ));
2745
2811
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
2746
- var SelectScrollDownButton = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2812
+ var SelectScrollDownButton = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2747
2813
  SelectPrimitive.ScrollDownButton,
2748
2814
  {
2749
2815
  ref,
@@ -2752,11 +2818,11 @@ var SelectScrollDownButton = React30.forwardRef(({ className, ...props }, ref) =
2752
2818
  className
2753
2819
  ),
2754
2820
  ...props,
2755
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react15.ChevronDown, { className: "h-4 w-4" })
2821
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react15.ChevronDown, { className: "h-4 w-4" })
2756
2822
  }
2757
2823
  ));
2758
2824
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
2759
- var SelectContent = React30.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2825
+ var SelectContent = React30.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2760
2826
  SelectPrimitive.Content,
2761
2827
  {
2762
2828
  ref,
@@ -2768,8 +2834,8 @@ var SelectContent = React30.forwardRef(({ className, children, position = "poppe
2768
2834
  position,
2769
2835
  ...props,
2770
2836
  children: [
2771
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectScrollUpButton, {}),
2772
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2837
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectScrollUpButton, {}),
2838
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2773
2839
  SelectPrimitive.Viewport,
2774
2840
  {
2775
2841
  className: cn(
@@ -2779,12 +2845,12 @@ var SelectContent = React30.forwardRef(({ className, children, position = "poppe
2779
2845
  children
2780
2846
  }
2781
2847
  ),
2782
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectScrollDownButton, {})
2848
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectScrollDownButton, {})
2783
2849
  ]
2784
2850
  }
2785
2851
  ) }));
2786
2852
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2787
- var SelectLabel = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2853
+ var SelectLabel = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2788
2854
  SelectPrimitive.Label,
2789
2855
  {
2790
2856
  ref,
@@ -2793,7 +2859,7 @@ var SelectLabel = React30.forwardRef(({ className, ...props }, ref) => /* @__PUR
2793
2859
  }
2794
2860
  ));
2795
2861
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
2796
- var SelectItem = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2862
+ var SelectItem = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2797
2863
  SelectPrimitive.Item,
2798
2864
  {
2799
2865
  ref,
@@ -2803,13 +2869,13 @@ var SelectItem = React30.forwardRef(({ className, children, ...props }, ref) =>
2803
2869
  ),
2804
2870
  ...props,
2805
2871
  children: [
2806
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react15.Check, { className: "h-4 w-4" }) }) }),
2807
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.ItemText, { children })
2872
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react15.Check, { className: "h-4 w-4" }) }) }),
2873
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectPrimitive.ItemText, { children })
2808
2874
  ]
2809
2875
  }
2810
2876
  ));
2811
2877
  SelectItem.displayName = SelectPrimitive.Item.displayName;
2812
- var SelectSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2878
+ var SelectSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2813
2879
  SelectPrimitive.Separator,
2814
2880
  {
2815
2881
  ref,
@@ -2820,7 +2886,7 @@ var SelectSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @_
2820
2886
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
2821
2887
 
2822
2888
  // src/components/easy/pagination.tsx
2823
- var import_jsx_runtime34 = require("react/jsx-runtime");
2889
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2824
2890
  function getItemRange(currentPage, pageSize, total) {
2825
2891
  const start = (currentPage - 1) * pageSize + 1;
2826
2892
  const end = Math.min(currentPage * pageSize, total);
@@ -2905,13 +2971,13 @@ var EasyPagination = React31.forwardRef(
2905
2971
  React31.useEffect(() => {
2906
2972
  setGoToPageValue(currentPage.toString());
2907
2973
  }, [currentPage]);
2908
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2974
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2909
2975
  "div",
2910
2976
  {
2911
2977
  ref,
2912
2978
  className: cn("flex w-full items-center justify-between gap-4", className),
2913
2979
  children: [
2914
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2980
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2915
2981
  EasyBody,
2916
2982
  {
2917
2983
  variant: "medium",
@@ -2925,9 +2991,9 @@ var EasyPagination = React31.forwardRef(
2925
2991
  ]
2926
2992
  }
2927
2993
  ),
2928
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-center gap-4", children: [
2929
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-center gap-2", children: [
2930
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2994
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-4", children: [
2995
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-2", children: [
2996
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2931
2997
  EasyBody,
2932
2998
  {
2933
2999
  variant: "medium",
@@ -2935,13 +3001,13 @@ var EasyPagination = React31.forwardRef(
2935
3001
  children: perPage
2936
3002
  }
2937
3003
  ),
2938
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Select, { value: pageSize.toString(), onValueChange: handlePageSizeChange, children: [
2939
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectTrigger, { className: "h-8 w-[80px] border-[var(--ui-border-200)] bg-[var(--ui-background-0)] text-base font-medium text-[var(--ui-text-900)] rounded-sm px-3 focus:outline-none focus:ring-0 focus:ring-offset-0 focus:shadow-[0_0_0_1px_var(--ui-background-0),_0_0_0_2px_var(--ui-border-200)]", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectValue, {}) }),
2940
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectContent, { children: pageSizeOptions.map((size) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectItem, { value: size.toString(), children: size }, size)) })
3004
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Select, { value: pageSize.toString(), onValueChange: handlePageSizeChange, children: [
3005
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SelectTrigger, { className: "h-8 w-[80px] border-[var(--ui-border-200)] bg-[var(--ui-background-0)] text-base font-medium text-[var(--ui-text-900)] rounded-sm px-3 focus:outline-none focus:ring-0 focus:ring-offset-0 focus:shadow-[0_0_0_1px_var(--ui-background-0),_0_0_0_2px_var(--ui-border-200)]", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SelectValue, {}) }),
3006
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SelectContent, { children: pageSizeOptions.map((size) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SelectItem, { value: size.toString(), children: size }, size)) })
2941
3007
  ] })
2942
3008
  ] }),
2943
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-center gap-2", children: [
2944
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3009
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-2", children: [
3010
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2945
3011
  EasyBody,
2946
3012
  {
2947
3013
  variant: "medium",
@@ -2949,7 +3015,7 @@ var EasyPagination = React31.forwardRef(
2949
3015
  children: goToPage
2950
3016
  }
2951
3017
  ),
2952
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("form", { onSubmit: handleGoToPage, className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3018
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("form", { onSubmit: handleGoToPage, className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2953
3019
  Input,
2954
3020
  {
2955
3021
  type: "text",
@@ -2960,8 +3026,8 @@ var EasyPagination = React31.forwardRef(
2960
3026
  }
2961
3027
  ) })
2962
3028
  ] }),
2963
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Pagination, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(PaginationContent, { children: [
2964
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3029
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Pagination, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(PaginationContent, { children: [
3030
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2965
3031
  EasyButton,
2966
3032
  {
2967
3033
  variant: "text",
@@ -2969,15 +3035,15 @@ var EasyPagination = React31.forwardRef(
2969
3035
  onClick: () => onPageChange?.(currentPage - 1),
2970
3036
  disabled: currentPage === 1,
2971
3037
  className: "h-8 w-8 p-0 rounded-sm border border-[var(--ui-border-200)] bg-[var(--ui-background-200)] hover:bg-[var(--ui-background-100)] disabled:opacity-50",
2972
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react16.ChevronLeft, { className: "h-4 w-4" })
3038
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react16.ChevronLeft, { className: "h-4 w-4" })
2973
3039
  }
2974
3040
  ) }),
2975
3041
  pageNumbers.map((page, index) => {
2976
3042
  if (page === "ellipsis") {
2977
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PaginationEllipsis, { className: "h-8 text-[var(--ui-text-600)]" }) }, `ellipsis-${index}`);
3043
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PaginationEllipsis, { className: "h-8 text-[var(--ui-text-600)]" }) }, `ellipsis-${index}`);
2978
3044
  }
2979
3045
  const isActive = page === currentPage;
2980
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3046
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2981
3047
  EasyButton,
2982
3048
  {
2983
3049
  variant: isActive ? "primary" : "text",
@@ -2991,7 +3057,7 @@ var EasyPagination = React31.forwardRef(
2991
3057
  }
2992
3058
  ) }, page);
2993
3059
  }),
2994
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3060
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2995
3061
  EasyButton,
2996
3062
  {
2997
3063
  variant: "text",
@@ -2999,7 +3065,7 @@ var EasyPagination = React31.forwardRef(
2999
3065
  onClick: () => onPageChange?.(currentPage + 1),
3000
3066
  disabled: currentPage === totalPages,
3001
3067
  className: "h-8 w-8 p-0 rounded-sm border border-[var(--ui-border-200)] bg-[var(--ui-background-200)] hover:bg-[var(--ui-background-100)] disabled:opacity-50",
3002
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react16.ChevronRight, { className: "h-4 w-4" })
3068
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react16.ChevronRight, { className: "h-4 w-4" })
3003
3069
  }
3004
3070
  ) })
3005
3071
  ] }) })
@@ -3019,8 +3085,8 @@ var import_lucide_react18 = require("lucide-react");
3019
3085
  var React32 = __toESM(require("react"), 1);
3020
3086
  var import_input_otp = require("input-otp");
3021
3087
  var import_lucide_react17 = require("lucide-react");
3022
- var import_jsx_runtime35 = require("react/jsx-runtime");
3023
- var InputOTP = React32.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3088
+ var import_jsx_runtime36 = require("react/jsx-runtime");
3089
+ var InputOTP = React32.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3024
3090
  import_input_otp.OTPInput,
3025
3091
  {
3026
3092
  ref,
@@ -3033,7 +3099,7 @@ var InputOTP = React32.forwardRef(({ className, containerClassName, ...props },
3033
3099
  }
3034
3100
  ));
3035
3101
  InputOTP.displayName = "InputOTP";
3036
- var InputOTPGroup = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ref, className: cn("flex items-center", className), ...props }));
3102
+ var InputOTPGroup = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { ref, className: cn("flex items-center", className), ...props }));
3037
3103
  InputOTPGroup.displayName = "InputOTPGroup";
3038
3104
  var InputOTPSlot = React32.forwardRef(({ index, className, ...props }, ref) => {
3039
3105
  const inputOTPContext = React32.useContext(import_input_otp.OTPInputContext);
@@ -3041,7 +3107,7 @@ var InputOTPSlot = React32.forwardRef(({ index, className, ...props }, ref) => {
3041
3107
  const char = slot?.char ?? "";
3042
3108
  const hasFakeCaret = slot?.hasFakeCaret ?? false;
3043
3109
  const isActive = slot?.isActive ?? false;
3044
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
3110
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3045
3111
  "div",
3046
3112
  {
3047
3113
  ref,
@@ -3053,23 +3119,23 @@ var InputOTPSlot = React32.forwardRef(({ index, className, ...props }, ref) => {
3053
3119
  ...props,
3054
3120
  children: [
3055
3121
  char,
3056
- hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
3122
+ hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
3057
3123
  ]
3058
3124
  }
3059
3125
  );
3060
3126
  });
3061
3127
  InputOTPSlot.displayName = "InputOTPSlot";
3062
- var InputOTPSeparator = React32.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react17.Dot, {}) }));
3128
+ var InputOTPSeparator = React32.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react17.Dot, {}) }));
3063
3129
  InputOTPSeparator.displayName = "InputOTPSeparator";
3064
3130
 
3065
3131
  // src/components/ui/drawer.tsx
3066
3132
  var React33 = __toESM(require("react"), 1);
3067
3133
  var import_vaul = require("vaul");
3068
- var import_jsx_runtime36 = require("react/jsx-runtime");
3134
+ var import_jsx_runtime37 = require("react/jsx-runtime");
3069
3135
  var Drawer = ({
3070
3136
  shouldScaleBackground = true,
3071
3137
  ...props
3072
- }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3138
+ }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3073
3139
  import_vaul.Drawer.Root,
3074
3140
  {
3075
3141
  shouldScaleBackground,
@@ -3080,7 +3146,7 @@ Drawer.displayName = "Drawer";
3080
3146
  var DrawerTrigger = import_vaul.Drawer.Trigger;
3081
3147
  var DrawerPortal = import_vaul.Drawer.Portal;
3082
3148
  var DrawerClose = import_vaul.Drawer.Close;
3083
- var DrawerOverlay = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3149
+ var DrawerOverlay = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3084
3150
  import_vaul.Drawer.Overlay,
3085
3151
  {
3086
3152
  ref,
@@ -3089,9 +3155,9 @@ var DrawerOverlay = React33.forwardRef(({ className, ...props }, ref) => /* @__P
3089
3155
  }
3090
3156
  ));
3091
3157
  DrawerOverlay.displayName = import_vaul.Drawer.Overlay.displayName;
3092
- var DrawerContent = React33.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(DrawerPortal, { children: [
3093
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(DrawerOverlay, {}),
3094
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3158
+ var DrawerContent = React33.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(DrawerPortal, { children: [
3159
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerOverlay, {}),
3160
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
3095
3161
  import_vaul.Drawer.Content,
3096
3162
  {
3097
3163
  ref,
@@ -3101,7 +3167,7 @@ var DrawerContent = React33.forwardRef(({ className, children, ...props }, ref)
3101
3167
  ),
3102
3168
  ...props,
3103
3169
  children: [
3104
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
3170
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
3105
3171
  children
3106
3172
  ]
3107
3173
  }
@@ -3111,7 +3177,7 @@ DrawerContent.displayName = "DrawerContent";
3111
3177
  var DrawerHeader = ({
3112
3178
  className,
3113
3179
  ...props
3114
- }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3180
+ }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3115
3181
  "div",
3116
3182
  {
3117
3183
  className: cn("grid gap-1.5 p-4 text-center sm:text-left", className),
@@ -3122,7 +3188,7 @@ DrawerHeader.displayName = "DrawerHeader";
3122
3188
  var DrawerFooter = ({
3123
3189
  className,
3124
3190
  ...props
3125
- }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3191
+ }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3126
3192
  "div",
3127
3193
  {
3128
3194
  className: cn("mt-auto flex flex-col gap-2 p-4", className),
@@ -3130,7 +3196,7 @@ var DrawerFooter = ({
3130
3196
  }
3131
3197
  );
3132
3198
  DrawerFooter.displayName = "DrawerFooter";
3133
- var DrawerTitle = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3199
+ var DrawerTitle = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3134
3200
  import_vaul.Drawer.Title,
3135
3201
  {
3136
3202
  ref,
@@ -3142,7 +3208,7 @@ var DrawerTitle = React33.forwardRef(({ className, ...props }, ref) => /* @__PUR
3142
3208
  }
3143
3209
  ));
3144
3210
  DrawerTitle.displayName = import_vaul.Drawer.Title.displayName;
3145
- var DrawerDescription = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3211
+ var DrawerDescription = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3146
3212
  import_vaul.Drawer.Description,
3147
3213
  {
3148
3214
  ref,
@@ -3153,7 +3219,7 @@ var DrawerDescription = React33.forwardRef(({ className, ...props }, ref) => /*
3153
3219
  DrawerDescription.displayName = import_vaul.Drawer.Description.displayName;
3154
3220
 
3155
3221
  // src/components/easy/otp.tsx
3156
- var import_jsx_runtime37 = require("react/jsx-runtime");
3222
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3157
3223
  var EasyOtp = React34.forwardRef(
3158
3224
  ({
3159
3225
  value,
@@ -3165,8 +3231,8 @@ var EasyOtp = React34.forwardRef(
3165
3231
  className,
3166
3232
  slotClassName
3167
3233
  }, ref) => {
3168
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { ref, className: cn("flex flex-col items-center w-full", className), children: [
3169
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-full overflow-hidden relative", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3234
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { ref, className: cn("flex flex-col items-center w-full", className), children: [
3235
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "w-full overflow-hidden relative", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3170
3236
  InputOTP,
3171
3237
  {
3172
3238
  maxLength: length,
@@ -3176,7 +3242,7 @@ var EasyOtp = React34.forwardRef(
3176
3242
  autoFocus,
3177
3243
  className: "gap-3",
3178
3244
  containerClassName: "w-full max-w-full overflow-hidden justify-center relative",
3179
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(InputOTPGroup, { className: "flex p-1 gap-3.5 justify-center", children: Array.from({ length }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3245
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputOTPGroup, { className: "flex p-1 gap-3.5 justify-center", children: Array.from({ length }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3180
3246
  InputOTPSlot,
3181
3247
  {
3182
3248
  index,
@@ -3194,9 +3260,9 @@ var EasyOtp = React34.forwardRef(
3194
3260
  )) })
3195
3261
  }
3196
3262
  ) }),
3197
- error && /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-1 mt-3", children: [
3198
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react18.AlertCircle, { className: "size-4 text-[var(--ui-danger-base)]" }),
3199
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-danger-base)]", children: error })
3263
+ error && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center gap-1 mt-3", children: [
3264
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.AlertCircle, { className: "size-4 text-[var(--ui-danger-base)]" }),
3265
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-danger-base)]", children: error })
3200
3266
  ] })
3201
3267
  ] });
3202
3268
  }
@@ -3307,19 +3373,19 @@ var EasyOtpModal = ({
3307
3373
  };
3308
3374
  const canResend = timeLeft === 0 && !isResending;
3309
3375
  const isVerifyDisabled = otpValue.length !== length || isVerifying;
3310
- const modalContent = /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-col items-center", children: [
3311
- !isMobile && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex h-16 w-16 items-center justify-center rounded-full border-2 border-[var(--ui-border-200)] mb-3", children: email ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react18.Mail, { className: "size-6 text-[var(--ui-text-900)]" }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react18.Smartphone, { className: "size-6 text-[var(--ui-text-900)]" }) }),
3312
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(EasyLabel, { variant: "large", className: "text-[var(--ui-primary-500)] mb-1", children: modalTitle }),
3313
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "text-center space-y-2", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)] font-normal", children: description || getDefaultDescription() }) }),
3314
- !isMobile && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Separator, { className: "my-6" }),
3315
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "text-center mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: [
3376
+ const modalContent = /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-col items-center", children: [
3377
+ !isMobile && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex h-16 w-16 items-center justify-center rounded-full border-2 border-[var(--ui-border-200)] mb-3", children: email ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.Mail, { className: "size-6 text-[var(--ui-text-900)]" }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.Smartphone, { className: "size-6 text-[var(--ui-text-900)]" }) }),
3378
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(EasyLabel, { variant: "large", className: "text-[var(--ui-primary-500)] mb-1", children: modalTitle }),
3379
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "text-center space-y-2", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)] font-normal", children: description || getDefaultDescription() }) }),
3380
+ !isMobile && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Separator, { className: "my-6" }),
3381
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "text-center mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: [
3316
3382
  "Kalan Zaman: ",
3317
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("span", { className: "font-medium text-[var(--ui-text-900)]", children: [
3383
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: "font-medium text-[var(--ui-text-900)]", children: [
3318
3384
  timeLeft,
3319
3385
  " Saniye"
3320
3386
  ] })
3321
3387
  ] }) }),
3322
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3388
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3323
3389
  EasyOtp,
3324
3390
  {
3325
3391
  value: otpValue,
@@ -3329,10 +3395,10 @@ var EasyOtpModal = ({
3329
3395
  autoFocus: true
3330
3396
  }
3331
3397
  ),
3332
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "text-center mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: [
3398
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "text-center mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: [
3333
3399
  "Kod gelmedi mi?",
3334
3400
  " ",
3335
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3401
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3336
3402
  "button",
3337
3403
  {
3338
3404
  type: "button",
@@ -3346,10 +3412,10 @@ var EasyOtpModal = ({
3346
3412
  }
3347
3413
  )
3348
3414
  ] }) }),
3349
- !isMobile && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Separator, { className: "my-6" })
3415
+ !isMobile && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Separator, { className: "my-6" })
3350
3416
  ] });
3351
- const footer = /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex flex-col gap-3 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-row gap-4 w-full", children: [
3352
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3417
+ const footer = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex flex-col gap-3 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-row gap-4 w-full", children: [
3418
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3353
3419
  EasyButton,
3354
3420
  {
3355
3421
  variant: "important",
@@ -3360,7 +3426,7 @@ var EasyOtpModal = ({
3360
3426
  children: "Vazge\xE7"
3361
3427
  }
3362
3428
  ),
3363
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3429
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3364
3430
  EasyButton,
3365
3431
  {
3366
3432
  variant: "primary",
@@ -3372,16 +3438,16 @@ var EasyOtpModal = ({
3372
3438
  )
3373
3439
  ] }) });
3374
3440
  if (isMobile) {
3375
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Drawer, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerContent, { className: "!rounded-t-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "!rounded-t-[32px] overflow-auto mb-[60px]", children: [
3376
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerHeader, { className: "text-left border-b border-[var(--ui-border-200)]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex flex-row items-start justify-between", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-col items-start gap-2", children: [
3377
- modalTitle && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerTitle, { className: "text-lg font-medium text-[var(--ui-text-900)]", children: modalTitle }),
3378
- description && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerDescription, { className: "text-left", children: description || getDefaultDescription() })
3441
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Drawer, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerContent, { className: "!rounded-t-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "!rounded-t-[32px] overflow-auto mb-[60px]", children: [
3442
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerHeader, { className: "text-left border-b border-[var(--ui-border-200)]", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex flex-row items-start justify-between", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-col items-start gap-2", children: [
3443
+ modalTitle && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerTitle, { className: "text-lg font-medium text-[var(--ui-text-900)]", children: modalTitle }),
3444
+ description && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerDescription, { className: "text-left", children: description || getDefaultDescription() })
3379
3445
  ] }) }) }),
3380
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: cn("mt-6 px-6 pt-6 pb-6", contentClassName), children: modalContent }),
3381
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerFooter, { className: "pt-0", children: footer })
3446
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: cn("mt-6 px-6 pt-6 pb-6", contentClassName), children: modalContent }),
3447
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerFooter, { className: "pt-0", children: footer })
3382
3448
  ] }) }) });
3383
3449
  }
3384
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ShadcnDialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
3450
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ShadcnDialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3385
3451
  ShadcnDialogContent,
3386
3452
  {
3387
3453
  className: cn(
@@ -3390,12 +3456,12 @@ var EasyOtpModal = ({
3390
3456
  contentClassName
3391
3457
  ),
3392
3458
  children: [
3393
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(ShadcnDialogHeader, { className: "hidden", children: [
3394
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ShadcnDialogTitle, { className: "sr-only", children: modalTitle }),
3395
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ShadcnDialogDescription, { className: "sr-only", children: description || getDefaultDescription() })
3459
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(ShadcnDialogHeader, { className: "hidden", children: [
3460
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ShadcnDialogTitle, { className: "sr-only", children: modalTitle }),
3461
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ShadcnDialogDescription, { className: "sr-only", children: description || getDefaultDescription() })
3396
3462
  ] }),
3397
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className, children: modalContent }),
3398
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "mt-0", children: footer })
3463
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className, children: modalContent }),
3464
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "mt-0", children: footer })
3399
3465
  ]
3400
3466
  }
3401
3467
  ) });
@@ -3410,8 +3476,8 @@ var import_lucide_react20 = require("lucide-react");
3410
3476
  var React35 = __toESM(require("react"), 1);
3411
3477
  var import_cmdk = require("cmdk");
3412
3478
  var import_lucide_react19 = require("lucide-react");
3413
- var import_jsx_runtime38 = require("react/jsx-runtime");
3414
- var Command = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3479
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3480
+ var Command = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3415
3481
  import_cmdk.Command,
3416
3482
  {
3417
3483
  ref,
@@ -3423,9 +3489,9 @@ var Command = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3423
3489
  }
3424
3490
  ));
3425
3491
  Command.displayName = import_cmdk.Command.displayName;
3426
- var CommandInput = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3427
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react19.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3428
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3492
+ var CommandInput = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3493
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3494
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3429
3495
  import_cmdk.Command.Input,
3430
3496
  {
3431
3497
  ref,
@@ -3438,7 +3504,7 @@ var CommandInput = React35.forwardRef(({ className, ...props }, ref) => /* @__PU
3438
3504
  )
3439
3505
  ] }));
3440
3506
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
3441
- var CommandList = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3507
+ var CommandList = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3442
3508
  import_cmdk.Command.List,
3443
3509
  {
3444
3510
  ref,
@@ -3447,7 +3513,7 @@ var CommandList = React35.forwardRef(({ className, ...props }, ref) => /* @__PUR
3447
3513
  }
3448
3514
  ));
3449
3515
  CommandList.displayName = import_cmdk.Command.List.displayName;
3450
- var CommandEmpty = React35.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3516
+ var CommandEmpty = React35.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3451
3517
  import_cmdk.Command.Empty,
3452
3518
  {
3453
3519
  ref,
@@ -3456,7 +3522,7 @@ var CommandEmpty = React35.forwardRef((props, ref) => /* @__PURE__ */ (0, import
3456
3522
  }
3457
3523
  ));
3458
3524
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
3459
- var CommandGroup = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3525
+ var CommandGroup = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3460
3526
  import_cmdk.Command.Group,
3461
3527
  {
3462
3528
  ref,
@@ -3468,7 +3534,7 @@ var CommandGroup = React35.forwardRef(({ className, ...props }, ref) => /* @__PU
3468
3534
  }
3469
3535
  ));
3470
3536
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
3471
- var CommandSeparator = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3537
+ var CommandSeparator = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3472
3538
  import_cmdk.Command.Separator,
3473
3539
  {
3474
3540
  ref,
@@ -3477,7 +3543,7 @@ var CommandSeparator = React35.forwardRef(({ className, ...props }, ref) => /* @
3477
3543
  }
3478
3544
  ));
3479
3545
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
3480
- var CommandItem = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3546
+ var CommandItem = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3481
3547
  import_cmdk.Command.Item,
3482
3548
  {
3483
3549
  ref,
@@ -3493,7 +3559,7 @@ var CommandShortcut = ({
3493
3559
  className,
3494
3560
  ...props
3495
3561
  }) => {
3496
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3562
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3497
3563
  "span",
3498
3564
  {
3499
3565
  className: cn(
@@ -3509,10 +3575,10 @@ CommandShortcut.displayName = "CommandShortcut";
3509
3575
  // src/components/ui/popover.tsx
3510
3576
  var React36 = __toESM(require("react"), 1);
3511
3577
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
3512
- var import_jsx_runtime39 = require("react/jsx-runtime");
3578
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3513
3579
  var Popover = PopoverPrimitive.Root;
3514
3580
  var PopoverTrigger = PopoverPrimitive.Trigger;
3515
- var PopoverContent = React36.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3581
+ var PopoverContent = React36.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3516
3582
  PopoverPrimitive.Content,
3517
3583
  {
3518
3584
  ref,
@@ -3530,22 +3596,22 @@ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
3530
3596
  // src/components/ui/scroll-area.tsx
3531
3597
  var React37 = __toESM(require("react"), 1);
3532
3598
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"), 1);
3533
- var import_jsx_runtime40 = require("react/jsx-runtime");
3534
- var ScrollArea = React37.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3599
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3600
+ var ScrollArea = React37.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3535
3601
  ScrollAreaPrimitive.Root,
3536
3602
  {
3537
3603
  ref,
3538
3604
  className: cn("relative overflow-hidden", className),
3539
3605
  ...props,
3540
3606
  children: [
3541
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
3542
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScrollBar, {}),
3543
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScrollAreaPrimitive.Corner, {})
3607
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
3608
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ScrollBar, {}),
3609
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ScrollAreaPrimitive.Corner, {})
3544
3610
  ]
3545
3611
  }
3546
3612
  ));
3547
3613
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
3548
- var ScrollBar = React37.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3614
+ var ScrollBar = React37.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3549
3615
  ScrollAreaPrimitive.ScrollAreaScrollbar,
3550
3616
  {
3551
3617
  ref,
@@ -3557,13 +3623,13 @@ var ScrollBar = React37.forwardRef(({ className, orientation = "vertical", ...pr
3557
3623
  className
3558
3624
  ),
3559
3625
  ...props,
3560
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
3626
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
3561
3627
  }
3562
3628
  ));
3563
3629
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
3564
3630
 
3565
3631
  // src/components/easy/select.tsx
3566
- var import_jsx_runtime41 = require("react/jsx-runtime");
3632
+ var import_jsx_runtime42 = require("react/jsx-runtime");
3567
3633
  var EasySelect = React38.forwardRef(
3568
3634
  ({
3569
3635
  label,
@@ -3611,10 +3677,10 @@ var EasySelect = React38.forwardRef(
3611
3677
  !value && "text-[var(--ui-text-400)]",
3612
3678
  className
3613
3679
  );
3614
- const content = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
3615
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "relative mx-3 mt-3", children: [
3616
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
3617
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3680
+ const content = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
3681
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "relative mx-3 mt-3", children: [
3682
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
3683
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3618
3684
  "input",
3619
3685
  {
3620
3686
  placeholder: searchPlaceholder,
@@ -3624,7 +3690,7 @@ var EasySelect = React38.forwardRef(
3624
3690
  style: { fontSize: "16px" }
3625
3691
  }
3626
3692
  ),
3627
- searchValue && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3693
+ searchValue && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3628
3694
  ShadcnButton,
3629
3695
  {
3630
3696
  variant: "link",
@@ -3632,16 +3698,16 @@ var EasySelect = React38.forwardRef(
3632
3698
  className: "absolute right-2 top-1/2 h-5 w-5 -translate-y-1/2 rounded-full bg-transparent p-0 text-muted-foreground hover:bg-muted",
3633
3699
  onClick: () => setSearchValue(""),
3634
3700
  type: "button",
3635
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.X, { className: "h-3 w-3" })
3701
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.X, { className: "h-3 w-3" })
3636
3702
  }
3637
3703
  )
3638
3704
  ] }),
3639
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(CommandList, { className: "max-h-72 overflow-auto bg-[var(--ui-background-0)]", children: [
3640
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CommandEmpty, { children: emptyMessage }),
3641
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CommandGroup, { className: "px-3", children: filteredOptions.map((option, index) => {
3705
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(CommandList, { className: "max-h-72 overflow-auto bg-[var(--ui-background-0)]", children: [
3706
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CommandEmpty, { children: emptyMessage }),
3707
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CommandGroup, { className: "px-3", children: filteredOptions.map((option, index) => {
3642
3708
  const isSelected = value === option.value;
3643
3709
  const isLast = index === filteredOptions.length - 1;
3644
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3710
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3645
3711
  CommandItem,
3646
3712
  {
3647
3713
  value: option.value,
@@ -3655,17 +3721,17 @@ var EasySelect = React38.forwardRef(
3655
3721
  !isLast && "border-b border-[var(--ui-border)]"
3656
3722
  ),
3657
3723
  children: [
3658
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3724
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3659
3725
  "span",
3660
3726
  {
3661
3727
  className: cn(
3662
3728
  "flex h-4 w-4 items-center justify-center rounded-full",
3663
3729
  isSelected ? "bg-[var(--ui-primary-500)]" : "border border-[var(--ui-text-300)] bg-transparent"
3664
3730
  ),
3665
- children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3731
+ children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3666
3732
  }
3667
3733
  ),
3668
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3734
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3669
3735
  "span",
3670
3736
  {
3671
3737
  className: cn(
@@ -3682,8 +3748,8 @@ var EasySelect = React38.forwardRef(
3682
3748
  }) })
3683
3749
  ] })
3684
3750
  ] });
3685
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
3686
- label && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3751
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
3752
+ label && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3687
3753
  EasyLabel,
3688
3754
  {
3689
3755
  as: "label",
@@ -3693,8 +3759,8 @@ var EasySelect = React38.forwardRef(
3693
3759
  children: label
3694
3760
  }
3695
3761
  ),
3696
- isMobile ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Drawer, { open, onOpenChange: setOpen, children: [
3697
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DrawerTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3762
+ isMobile ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Drawer, { open, onOpenChange: setOpen, children: [
3763
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DrawerTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3698
3764
  ShadcnButton,
3699
3765
  {
3700
3766
  ref,
@@ -3705,29 +3771,29 @@ var EasySelect = React38.forwardRef(
3705
3771
  type: "button",
3706
3772
  ...props,
3707
3773
  children: [
3708
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate text-left", children: selectedOption ? selectedOption.label : placeholder }),
3709
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.ChevronDown, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })
3774
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "truncate text-left", children: selectedOption ? selectedOption.label : placeholder }),
3775
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.ChevronDown, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })
3710
3776
  ]
3711
3777
  }
3712
3778
  ) }),
3713
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(DrawerContent, { className: "max-h-[80vh] rounded-t-[32px]", children: [
3714
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DrawerHeader, { className: "border-b", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex items-center justify-between", children: [
3715
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DrawerTitle, { className: "text-lg font-semibold", children: bottomSheetLabel || "Se\xE7im Yap\u0131n" }),
3716
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DrawerClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3779
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(DrawerContent, { className: "max-h-[80vh] rounded-t-[32px]", children: [
3780
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DrawerHeader, { className: "border-b", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-center justify-between", children: [
3781
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DrawerTitle, { className: "text-lg font-semibold", children: bottomSheetLabel || "Se\xE7im Yap\u0131n" }),
3782
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DrawerClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3717
3783
  ShadcnButton,
3718
3784
  {
3719
3785
  variant: "link",
3720
3786
  size: "icon",
3721
3787
  className: "h-8 w-8 rounded-full p-0 text-muted-foreground hover:bg-muted",
3722
3788
  type: "button",
3723
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.X, { className: "h-4 w-4" })
3789
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.X, { className: "h-4 w-4" })
3724
3790
  }
3725
3791
  ) })
3726
3792
  ] }) }),
3727
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex-1 overflow-hidden px-6 pb-6 pt-2", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex-col items-start gap-[10px]", children: [
3728
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "relative my-4", children: [
3729
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
3730
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3793
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex-1 overflow-hidden px-6 pb-6 pt-2", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex-col items-start gap-[10px]", children: [
3794
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "relative my-4", children: [
3795
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
3796
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3731
3797
  "input",
3732
3798
  {
3733
3799
  placeholder: searchPlaceholder,
@@ -3737,7 +3803,7 @@ var EasySelect = React38.forwardRef(
3737
3803
  style: { fontSize: "16px" }
3738
3804
  }
3739
3805
  ),
3740
- searchValue && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3806
+ searchValue && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3741
3807
  ShadcnButton,
3742
3808
  {
3743
3809
  variant: "link",
@@ -3745,14 +3811,14 @@ var EasySelect = React38.forwardRef(
3745
3811
  className: "absolute right-2 top-1/2 h-5 w-5 -translate-y-1/2 rounded-full bg-transparent p-0 text-muted-foreground hover:bg-muted",
3746
3812
  onClick: () => setSearchValue(""),
3747
3813
  type: "button",
3748
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.X, { className: "h-3 w-3" })
3814
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.X, { className: "h-3 w-3" })
3749
3815
  }
3750
3816
  )
3751
3817
  ] }),
3752
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ScrollArea, { className: "h-[60vh] bg-[var(--ui-background-0)] rounded-[24px]", children: filteredOptions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "py-8 text-center text-muted-foreground text-sm", children: emptyMessage }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "space-y-0 pb-4", children: filteredOptions.map((option, index) => {
3818
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScrollArea, { className: "h-[60vh] bg-[var(--ui-background-0)] rounded-[24px]", children: filteredOptions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "py-8 text-center text-muted-foreground text-sm", children: emptyMessage }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "space-y-0 pb-4", children: filteredOptions.map((option, index) => {
3753
3819
  const isSelected = value === option.value;
3754
3820
  const isLast = index === filteredOptions.length - 1;
3755
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3821
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3756
3822
  "button",
3757
3823
  {
3758
3824
  type: "button",
@@ -3767,7 +3833,7 @@ var EasySelect = React38.forwardRef(
3767
3833
  !isLast && "border-b border-[var(--ui-border-200)]"
3768
3834
  ),
3769
3835
  children: [
3770
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3836
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3771
3837
  "span",
3772
3838
  {
3773
3839
  className: cn(
@@ -3775,10 +3841,10 @@ var EasySelect = React38.forwardRef(
3775
3841
  isSelected ? "bg-[var(--ui-primary-500)]" : "border border-[var(--ui-text-300)] bg-transparent"
3776
3842
  ),
3777
3843
  children: isSelected && // İçteki beyaz boşluk
3778
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3844
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3779
3845
  }
3780
3846
  ),
3781
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3847
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3782
3848
  "span",
3783
3849
  {
3784
3850
  className: cn(
@@ -3795,8 +3861,8 @@ var EasySelect = React38.forwardRef(
3795
3861
  }) }) })
3796
3862
  ] }) })
3797
3863
  ] })
3798
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
3799
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3864
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
3865
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3800
3866
  ShadcnButton,
3801
3867
  {
3802
3868
  ref,
@@ -3807,8 +3873,8 @@ var EasySelect = React38.forwardRef(
3807
3873
  type: "button",
3808
3874
  ...props,
3809
3875
  children: [
3810
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate text-left", children: selectedOption ? selectedOption.label : placeholder }),
3811
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3876
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "truncate text-left", children: selectedOption ? selectedOption.label : placeholder }),
3877
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3812
3878
  import_lucide_react20.ChevronDown,
3813
3879
  {
3814
3880
  className: cn(
@@ -3820,9 +3886,9 @@ var EasySelect = React38.forwardRef(
3820
3886
  ]
3821
3887
  }
3822
3888
  ) }),
3823
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PopoverContent, { className: "w-[var(--radix-popover-trigger-width)] max-w-[var(--radix-popover-trigger-width)] p-0", align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Command, { children: content }) })
3889
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(PopoverContent, { className: "w-[var(--radix-popover-trigger-width)] max-w-[var(--radix-popover-trigger-width)] p-0", align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Command, { children: content }) })
3824
3890
  ] }),
3825
- errorText ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-sm text-[var(--ui-danger-base)]", role: "alert", children: errorText }) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
3891
+ errorText ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-sm text-[var(--ui-danger-base)]", role: "alert", children: errorText }) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
3826
3892
  ] });
3827
3893
  }
3828
3894
  );
@@ -3837,7 +3903,7 @@ var import_date_fns = require("date-fns");
3837
3903
  var React39 = __toESM(require("react"), 1);
3838
3904
  var import_lucide_react21 = require("lucide-react");
3839
3905
  var import_react_day_picker = require("react-day-picker");
3840
- var import_jsx_runtime42 = require("react/jsx-runtime");
3906
+ var import_jsx_runtime43 = require("react/jsx-runtime");
3841
3907
  function Calendar({
3842
3908
  className,
3843
3909
  classNames,
@@ -3849,7 +3915,7 @@ function Calendar({
3849
3915
  ...props
3850
3916
  }) {
3851
3917
  const defaultClassNames = (0, import_react_day_picker.getDefaultClassNames)();
3852
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3918
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3853
3919
  import_react_day_picker.DayPicker,
3854
3920
  {
3855
3921
  showOutsideDays,
@@ -3948,7 +4014,7 @@ function Calendar({
3948
4014
  },
3949
4015
  components: {
3950
4016
  Root: ({ className: className2, rootRef, ...props2 }) => {
3951
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4017
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3952
4018
  "div",
3953
4019
  {
3954
4020
  "data-slot": "calendar",
@@ -3960,10 +4026,10 @@ function Calendar({
3960
4026
  },
3961
4027
  Chevron: ({ className: className2, orientation, ...props2 }) => {
3962
4028
  if (orientation === "left") {
3963
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react21.ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
4029
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react21.ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
3964
4030
  }
3965
4031
  if (orientation === "right") {
3966
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4032
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3967
4033
  import_lucide_react21.ChevronRightIcon,
3968
4034
  {
3969
4035
  className: cn("size-4", className2),
@@ -3971,11 +4037,11 @@ function Calendar({
3971
4037
  }
3972
4038
  );
3973
4039
  }
3974
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react21.ChevronDownIcon, { className: cn("size-4", className2), ...props2 });
4040
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react21.ChevronDownIcon, { className: cn("size-4", className2), ...props2 });
3975
4041
  },
3976
4042
  DayButton: CalendarDayButton,
3977
4043
  WeekNumber: ({ children, ...props2 }) => {
3978
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("td", { ...props2, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex size-[--cell-size] items-center justify-center text-center", children }) });
4044
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("td", { ...props2, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex size-[--cell-size] items-center justify-center text-center", children }) });
3979
4045
  },
3980
4046
  ...components
3981
4047
  },
@@ -3994,7 +4060,7 @@ function CalendarDayButton({
3994
4060
  React39.useEffect(() => {
3995
4061
  if (modifiers.focused) ref.current?.focus();
3996
4062
  }, [modifiers.focused]);
3997
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4063
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3998
4064
  ShadcnButton,
3999
4065
  {
4000
4066
  ref,
@@ -4016,7 +4082,7 @@ function CalendarDayButton({
4016
4082
  }
4017
4083
 
4018
4084
  // src/components/easy/date-picker.tsx
4019
- var import_jsx_runtime43 = require("react/jsx-runtime");
4085
+ var import_jsx_runtime44 = require("react/jsx-runtime");
4020
4086
  var EasyDatePicker = React40.forwardRef(
4021
4087
  ({
4022
4088
  label,
@@ -4052,8 +4118,8 @@ var EasyDatePicker = React40.forwardRef(
4052
4118
  "disabled:cursor-not-allowed disabled:bg-[var(--ui-background-100)] disabled:text-[var(--ui-text-400)]",
4053
4119
  className
4054
4120
  );
4055
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
4056
- label && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4121
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
4122
+ label && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4057
4123
  "label",
4058
4124
  {
4059
4125
  htmlFor: inputId,
@@ -4061,7 +4127,7 @@ var EasyDatePicker = React40.forwardRef(
4061
4127
  children: label
4062
4128
  }
4063
4129
  ),
4064
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4130
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4065
4131
  Popover,
4066
4132
  {
4067
4133
  open,
@@ -4070,7 +4136,7 @@ var EasyDatePicker = React40.forwardRef(
4070
4136
  setIsFocused(next);
4071
4137
  },
4072
4138
  children: [
4073
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4139
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4074
4140
  ShadcnButton,
4075
4141
  {
4076
4142
  ref,
@@ -4084,7 +4150,7 @@ var EasyDatePicker = React40.forwardRef(
4084
4150
  "aria-describedby": errorId ?? helperId,
4085
4151
  ...props,
4086
4152
  children: [
4087
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4153
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4088
4154
  "span",
4089
4155
  {
4090
4156
  className: cn(
@@ -4094,16 +4160,16 @@ var EasyDatePicker = React40.forwardRef(
4094
4160
  children: value ? (0, import_date_fns.format)(value, "dd.MM.yyyy") : placeholder
4095
4161
  }
4096
4162
  ),
4097
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react22.Calendar, { className: "ml-3 h-5 w-5 text-[var(--ui-icon-900)]" })
4163
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react22.Calendar, { className: "ml-3 h-5 w-5 text-[var(--ui-icon-900)]" })
4098
4164
  ]
4099
4165
  }
4100
4166
  ) }),
4101
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4167
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4102
4168
  PopoverContent,
4103
4169
  {
4104
4170
  className: "w-auto p-0 bg-[var(--ui-background-0)] border border-[var(--ui-border-200)] rounded-[24px] shadow-md",
4105
4171
  align: "start",
4106
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4172
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4107
4173
  Calendar,
4108
4174
  {
4109
4175
  mode: "single",
@@ -4122,17 +4188,17 @@ var EasyDatePicker = React40.forwardRef(
4122
4188
  ]
4123
4189
  }
4124
4190
  ),
4125
- hasError ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4191
+ hasError ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4126
4192
  "p",
4127
4193
  {
4128
4194
  id: errorId,
4129
4195
  className: "flex items-center gap-1 text-sm text-[var(--ui-danger-base)]",
4130
4196
  children: [
4131
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react22.AlertCircle, { className: "size-4" }),
4197
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react22.AlertCircle, { className: "size-4" }),
4132
4198
  errorText
4133
4199
  ]
4134
4200
  }
4135
- ) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { id: helperId, className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
4201
+ ) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { id: helperId, className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
4136
4202
  ] });
4137
4203
  }
4138
4204
  );
@@ -4159,6 +4225,7 @@ var useEasyOtp = (options) => {
4159
4225
  EasyCheckbox,
4160
4226
  EasyContainer,
4161
4227
  EasyDatePicker,
4228
+ EasyDialog,
4162
4229
  EasyDisplay,
4163
4230
  EasyEmailInput,
4164
4231
  EasyErrorMessage,