@algorithm-shift/design-system 1.2.34 → 1.2.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1724,6 +1724,66 @@ var DateRange = ({ className, style, ...props }) => {
1724
1724
  };
1725
1725
  var DateRange_default = DateRange;
1726
1726
 
1727
+ // src/components/Inputs/TextInputGroup/TextInputGroup.tsx
1728
+ import * as React14 from "react";
1729
+ import { Fragment as Fragment15, jsx as jsx36, jsxs as jsxs20 } from "react/jsx-runtime";
1730
+ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
1731
+ const placeholder = props.placeholder ?? "Placeholder text";
1732
+ const isEditable = props.isEditable ?? true;
1733
+ const isDisabled = props.isDisabled ?? false;
1734
+ const isReadonly = props.isReadonly ?? false;
1735
+ const isAutocomplete = props.isAutocomplete ?? false;
1736
+ const [error, setError] = React14.useState(null);
1737
+ React14.useEffect(() => {
1738
+ if (!props.validateOnMount) return;
1739
+ setError(props.errorMessage || null);
1740
+ }, [props.errorMessage, props.validateOnMount]);
1741
+ const handleChange = (e) => {
1742
+ props.onChange?.(e);
1743
+ };
1744
+ return /* @__PURE__ */ jsxs20(Fragment15, { children: [
1745
+ /* @__PURE__ */ jsxs20(
1746
+ "div",
1747
+ {
1748
+ className: cn(
1749
+ "flex justify-start items-center relative border border-input rounded-md bg-transparent focus-within:ring-2 focus-within:ring-ring focus-within:border-primary",
1750
+ className,
1751
+ "p-0 m-0",
1752
+ error ? "border-red-500" : ""
1753
+ ),
1754
+ children: [
1755
+ prepend && /* @__PURE__ */ jsx36("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-l-md", children: prepend }),
1756
+ /* @__PURE__ */ jsx36(
1757
+ Input,
1758
+ {
1759
+ id: props.name || "prepend-input",
1760
+ type: "url",
1761
+ name: props.name,
1762
+ value: props.value,
1763
+ className: cn(
1764
+ className,
1765
+ "rounded-none flex-1 border-none focus:ring-0"
1766
+ ),
1767
+ style: {
1768
+ ...style,
1769
+ borderColor: error ? "#f87171" : style?.borderColor
1770
+ },
1771
+ autoComplete: isAutocomplete ? "on" : "off",
1772
+ placeholder,
1773
+ onChange: handleChange,
1774
+ disabled: isDisabled || !isEditable,
1775
+ readOnly: isReadonly
1776
+ }
1777
+ ),
1778
+ append && /* @__PURE__ */ jsx36("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-r-md", children: append })
1779
+ ]
1780
+ }
1781
+ ),
1782
+ error && /* @__PURE__ */ jsx36("p", { className: "mt-1 text-xs text-red-500", children: error })
1783
+ ] });
1784
+ };
1785
+ var TextInputGroup_default = TextInputGroup;
1786
+
1727
1787
  // src/components/ui/data-table.tsx
1728
1788
  import {
1729
1789
  flexRender,
@@ -1732,14 +1792,14 @@ import {
1732
1792
  } from "@tanstack/react-table";
1733
1793
 
1734
1794
  // src/components/ui/table.tsx
1735
- import { jsx as jsx36 } from "react/jsx-runtime";
1795
+ import { jsx as jsx37 } from "react/jsx-runtime";
1736
1796
  function Table({ className, ...props }) {
1737
- return /* @__PURE__ */ jsx36(
1797
+ return /* @__PURE__ */ jsx37(
1738
1798
  "div",
1739
1799
  {
1740
1800
  "data-slot": "table-container",
1741
1801
  className: "relative w-full overflow-x-auto rounded-md border border-gray-200 bg-white",
1742
- children: /* @__PURE__ */ jsx36(
1802
+ children: /* @__PURE__ */ jsx37(
1743
1803
  "table",
1744
1804
  {
1745
1805
  "data-slot": "table",
@@ -1751,7 +1811,7 @@ function Table({ className, ...props }) {
1751
1811
  );
1752
1812
  }
1753
1813
  function TableHeader({ className, ...props }) {
1754
- return /* @__PURE__ */ jsx36(
1814
+ return /* @__PURE__ */ jsx37(
1755
1815
  "thead",
1756
1816
  {
1757
1817
  "data-slot": "table-header",
@@ -1764,7 +1824,7 @@ function TableHeader({ className, ...props }) {
1764
1824
  );
1765
1825
  }
1766
1826
  function TableBody({ className, ...props }) {
1767
- return /* @__PURE__ */ jsx36(
1827
+ return /* @__PURE__ */ jsx37(
1768
1828
  "tbody",
1769
1829
  {
1770
1830
  "data-slot": "table-body",
@@ -1777,7 +1837,7 @@ function TableBody({ className, ...props }) {
1777
1837
  );
1778
1838
  }
1779
1839
  function TableRow({ className, ...props }) {
1780
- return /* @__PURE__ */ jsx36(
1840
+ return /* @__PURE__ */ jsx37(
1781
1841
  "tr",
1782
1842
  {
1783
1843
  "data-slot": "table-row",
@@ -1790,7 +1850,7 @@ function TableRow({ className, ...props }) {
1790
1850
  );
1791
1851
  }
1792
1852
  function TableHead({ className, ...props }) {
1793
- return /* @__PURE__ */ jsx36(
1853
+ return /* @__PURE__ */ jsx37(
1794
1854
  "th",
1795
1855
  {
1796
1856
  "data-slot": "table-head",
@@ -1803,7 +1863,7 @@ function TableHead({ className, ...props }) {
1803
1863
  );
1804
1864
  }
1805
1865
  function TableCell({ className, ...props }) {
1806
- return /* @__PURE__ */ jsx36(
1866
+ return /* @__PURE__ */ jsx37(
1807
1867
  "td",
1808
1868
  {
1809
1869
  "data-slot": "table-cell",
@@ -1817,7 +1877,7 @@ function TableCell({ className, ...props }) {
1817
1877
  }
1818
1878
 
1819
1879
  // src/components/ui/data-table.tsx
1820
- import { Fragment as Fragment15, jsx as jsx37, jsxs as jsxs20 } from "react/jsx-runtime";
1880
+ import { Fragment as Fragment16, jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
1821
1881
  function DataTable({
1822
1882
  columns,
1823
1883
  rowActions,
@@ -1842,14 +1902,14 @@ function DataTable({
1842
1902
  onCellClick(rowData, columnId);
1843
1903
  }
1844
1904
  };
1845
- return /* @__PURE__ */ jsx37("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs20(Table, { children: [
1846
- /* @__PURE__ */ jsx37(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx37(TableRow, { children: headerGroup.headers.map((header) => {
1847
- return /* @__PURE__ */ jsx37(TableHead, { children: header.isPlaceholder ? null : flexRender(
1905
+ return /* @__PURE__ */ jsx38("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs21(Table, { children: [
1906
+ /* @__PURE__ */ jsx38(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx38(TableRow, { children: headerGroup.headers.map((header) => {
1907
+ return /* @__PURE__ */ jsx38(TableHead, { children: header.isPlaceholder ? null : flexRender(
1848
1908
  header.column.columnDef.header,
1849
1909
  header.getContext()
1850
1910
  ) }, header.id);
1851
1911
  }) }, headerGroup.id)) }),
1852
- /* @__PURE__ */ jsx37(TableBody, { children: loading ? /* @__PURE__ */ jsx37(TableRow, { children: /* @__PURE__ */ jsx37(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ jsx37(Fragment15, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsxs20(
1912
+ /* @__PURE__ */ jsx38(TableBody, { children: loading ? /* @__PURE__ */ jsx38(TableRow, { children: /* @__PURE__ */ jsx38(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ jsx38(Fragment16, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsxs21(
1853
1913
  TableRow,
1854
1914
  {
1855
1915
  "data-state": row.getIsSelected() && "selected",
@@ -1859,7 +1919,7 @@ function DataTable({
1859
1919
  const isCellClickable = cellClickEnabled(row.original, cell.column.id);
1860
1920
  const dynamicClass = cell.column.columnDef.meta?.cellClass || "";
1861
1921
  const dynamicStyle = cell.column.columnDef.meta?.cellStyle || {};
1862
- return /* @__PURE__ */ jsx37(
1922
+ return /* @__PURE__ */ jsx38(
1863
1923
  TableCell,
1864
1924
  {
1865
1925
  className: `${dynamicClass} ${isCellClickable ? "underline cursor-pointer" : ""}`,
@@ -1874,18 +1934,18 @@ function DataTable({
1874
1934
  cell.id
1875
1935
  );
1876
1936
  }),
1877
- rowActions.length > 0 && /* @__PURE__ */ jsx37("div", { className: "absolute top-0 right-0 bg-white py-3 min-w-[100px] z-50 shadow-md flex items-center justify-center gap-3 p-2 opacity-0 group-hover:opacity-100 duration-300 h-full", children: rowActions.map((action, index) => /* @__PURE__ */ jsx37("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
1937
+ rowActions.length > 0 && /* @__PURE__ */ jsx38("div", { className: "absolute top-0 right-0 bg-white py-3 min-w-[100px] z-50 shadow-md flex items-center justify-center gap-3 p-2 opacity-0 group-hover:opacity-100 duration-300 h-full", children: rowActions.map((action, index) => /* @__PURE__ */ jsx38("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
1878
1938
  ]
1879
1939
  },
1880
1940
  row.id
1881
- )) : /* @__PURE__ */ jsx37(TableRow, { children: /* @__PURE__ */ jsx37(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
1941
+ )) : /* @__PURE__ */ jsx38(TableRow, { children: /* @__PURE__ */ jsx38(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
1882
1942
  ] }) });
1883
1943
  }
1884
1944
 
1885
1945
  // src/components/ui/pagination.tsx
1886
- import { jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
1946
+ import { jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
1887
1947
  function Pagination({ className, ...props }) {
1888
- return /* @__PURE__ */ jsx38(
1948
+ return /* @__PURE__ */ jsx39(
1889
1949
  "nav",
1890
1950
  {
1891
1951
  role: "navigation",
@@ -1900,7 +1960,7 @@ function PaginationContent({
1900
1960
  className,
1901
1961
  ...props
1902
1962
  }) {
1903
- return /* @__PURE__ */ jsx38(
1963
+ return /* @__PURE__ */ jsx39(
1904
1964
  "ul",
1905
1965
  {
1906
1966
  "data-slot": "pagination-content",
@@ -1910,7 +1970,7 @@ function PaginationContent({
1910
1970
  );
1911
1971
  }
1912
1972
  function PaginationItem({ ...props }) {
1913
- return /* @__PURE__ */ jsx38("li", { "data-slot": "pagination-item", ...props });
1973
+ return /* @__PURE__ */ jsx39("li", { "data-slot": "pagination-item", ...props });
1914
1974
  }
1915
1975
  function PaginationLink({
1916
1976
  className,
@@ -1918,7 +1978,7 @@ function PaginationLink({
1918
1978
  size = "icon",
1919
1979
  ...props
1920
1980
  }) {
1921
- return /* @__PURE__ */ jsx38(
1981
+ return /* @__PURE__ */ jsx39(
1922
1982
  "a",
1923
1983
  {
1924
1984
  "aria-current": isActive ? "page" : void 0,
@@ -1939,7 +1999,7 @@ function PaginationPrevious({
1939
1999
  className,
1940
2000
  ...props
1941
2001
  }) {
1942
- return /* @__PURE__ */ jsxs21(
2002
+ return /* @__PURE__ */ jsxs22(
1943
2003
  PaginationLink,
1944
2004
  {
1945
2005
  "aria-label": "Go to previous page",
@@ -1947,8 +2007,8 @@ function PaginationPrevious({
1947
2007
  className: cn("gap-1 px-2.5 sm:pl-2.5", className),
1948
2008
  ...props,
1949
2009
  children: [
1950
- /* @__PURE__ */ jsx38(ChevronLeft, {}),
1951
- /* @__PURE__ */ jsx38("span", { className: "hidden sm:block", children: "Previous" })
2010
+ /* @__PURE__ */ jsx39(ChevronLeft, {}),
2011
+ /* @__PURE__ */ jsx39("span", { className: "hidden sm:block", children: "Previous" })
1952
2012
  ]
1953
2013
  }
1954
2014
  );
@@ -1957,7 +2017,7 @@ function PaginationNext({
1957
2017
  className,
1958
2018
  ...props
1959
2019
  }) {
1960
- return /* @__PURE__ */ jsxs21(
2020
+ return /* @__PURE__ */ jsxs22(
1961
2021
  PaginationLink,
1962
2022
  {
1963
2023
  "aria-label": "Go to next page",
@@ -1965,8 +2025,8 @@ function PaginationNext({
1965
2025
  className: cn("gap-1 px-2.5 sm:pr-2.5", className),
1966
2026
  ...props,
1967
2027
  children: [
1968
- /* @__PURE__ */ jsx38("span", { className: "hidden sm:block", children: "Next" }),
1969
- /* @__PURE__ */ jsx38(ChevronRight, {})
2028
+ /* @__PURE__ */ jsx39("span", { className: "hidden sm:block", children: "Next" }),
2029
+ /* @__PURE__ */ jsx39(ChevronRight, {})
1970
2030
  ]
1971
2031
  }
1972
2032
  );
@@ -1975,7 +2035,7 @@ function PaginationEllipsis({
1975
2035
  className,
1976
2036
  ...props
1977
2037
  }) {
1978
- return /* @__PURE__ */ jsxs21(
2038
+ return /* @__PURE__ */ jsxs22(
1979
2039
  "span",
1980
2040
  {
1981
2041
  "aria-hidden": true,
@@ -1983,15 +2043,15 @@ function PaginationEllipsis({
1983
2043
  className: cn("flex size-9 items-center justify-center", className),
1984
2044
  ...props,
1985
2045
  children: [
1986
- /* @__PURE__ */ jsx38(Ellipsis, { className: "size-4" }),
1987
- /* @__PURE__ */ jsx38("span", { className: "sr-only", children: "More pages" })
2046
+ /* @__PURE__ */ jsx39(Ellipsis, { className: "size-4" }),
2047
+ /* @__PURE__ */ jsx39("span", { className: "sr-only", children: "More pages" })
1988
2048
  ]
1989
2049
  }
1990
2050
  );
1991
2051
  }
1992
2052
 
1993
2053
  // src/components/DataDisplay/Pagination/Pagination.tsx
1994
- import { jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
2054
+ import { jsx as jsx40, jsxs as jsxs23 } from "react/jsx-runtime";
1995
2055
  var CustomPagination = ({
1996
2056
  totalPages,
1997
2057
  currentPage,
@@ -2033,15 +2093,15 @@ var CustomPagination = ({
2033
2093
  }
2034
2094
  };
2035
2095
  const pageNumbers = getPageNumbers();
2036
- return /* @__PURE__ */ jsx39(Pagination, { children: /* @__PURE__ */ jsxs22(PaginationContent, { children: [
2037
- /* @__PURE__ */ jsx39(PaginationItem, { children: /* @__PURE__ */ jsx39(
2096
+ return /* @__PURE__ */ jsx40(Pagination, { children: /* @__PURE__ */ jsxs23(PaginationContent, { children: [
2097
+ /* @__PURE__ */ jsx40(PaginationItem, { children: /* @__PURE__ */ jsx40(
2038
2098
  PaginationPrevious,
2039
2099
  {
2040
2100
  onClick: () => handlePageChange(currentPage - 1),
2041
2101
  className: currentPage === 1 ? "pointer-events-none opacity-50" : "cursor-pointer"
2042
2102
  }
2043
2103
  ) }),
2044
- pageNumbers.map((pageNumber, index) => /* @__PURE__ */ jsx39(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ jsx39(PaginationEllipsis, {}) : /* @__PURE__ */ jsx39(
2104
+ pageNumbers.map((pageNumber, index) => /* @__PURE__ */ jsx40(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ jsx40(PaginationEllipsis, {}) : /* @__PURE__ */ jsx40(
2045
2105
  PaginationLink,
2046
2106
  {
2047
2107
  onClick: () => handlePageChange(pageNumber),
@@ -2050,7 +2110,7 @@ var CustomPagination = ({
2050
2110
  children: pageNumber
2051
2111
  }
2052
2112
  ) }, index)),
2053
- /* @__PURE__ */ jsx39(PaginationItem, { children: /* @__PURE__ */ jsx39(
2113
+ /* @__PURE__ */ jsx40(PaginationItem, { children: /* @__PURE__ */ jsx40(
2054
2114
  PaginationNext,
2055
2115
  {
2056
2116
  onClick: () => handlePageChange(currentPage + 1),
@@ -2062,22 +2122,42 @@ var CustomPagination = ({
2062
2122
  var Pagination_default = CustomPagination;
2063
2123
 
2064
2124
  // src/components/DataDisplay/Table/Table.tsx
2065
- import { useState as useState17 } from "react";
2066
- import { jsx as jsx40, jsxs as jsxs23 } from "react/jsx-runtime";
2067
- var Table2 = ({ columns, data, rowActions, className, style, pagination = false, itemsPerPage = 10, onPageChange, loading = false }) => {
2125
+ import { useState as useState18 } from "react";
2126
+ import { jsx as jsx41, jsxs as jsxs24 } from "react/jsx-runtime";
2127
+ var Table2 = ({
2128
+ columns,
2129
+ data,
2130
+ rowActions,
2131
+ className,
2132
+ style,
2133
+ pagination = false,
2134
+ itemsPerPage = 10,
2135
+ onPageChange,
2136
+ loading = false,
2137
+ ...props
2138
+ }) => {
2068
2139
  const rawColumns = Array.isArray(columns) ? columns : [];
2069
2140
  const rawData = Array.isArray(data) ? data : [];
2070
2141
  const rawRowActions = Array.isArray(rowActions) ? rowActions : [];
2071
- const [currentPage, setCurrentPage] = useState17(1);
2142
+ const [currentPage, setCurrentPage] = useState18(1);
2072
2143
  const enablePagination = pagination && rawData.length > itemsPerPage;
2073
2144
  const handlePageChange = (page) => {
2074
2145
  setCurrentPage(page);
2075
2146
  onPageChange?.(page);
2076
2147
  };
2077
2148
  const paginatedData = enablePagination ? rawData.slice((currentPage - 1) * itemsPerPage, currentPage * itemsPerPage) : rawData;
2078
- return /* @__PURE__ */ jsxs23("div", { className: `${className} space-y-3`, style, children: [
2079
- /* @__PURE__ */ jsx40(DataTable, { columns: rawColumns, data: paginatedData, rowActions: rawRowActions, loading }),
2080
- enablePagination && /* @__PURE__ */ jsx40(
2149
+ return /* @__PURE__ */ jsxs24("div", { className: `${className} space-y-3`, style, children: [
2150
+ /* @__PURE__ */ jsx41(
2151
+ DataTable,
2152
+ {
2153
+ ...props,
2154
+ columns: rawColumns,
2155
+ data: paginatedData,
2156
+ rowActions: rawRowActions,
2157
+ loading
2158
+ }
2159
+ ),
2160
+ enablePagination && /* @__PURE__ */ jsx41(
2081
2161
  Pagination_default,
2082
2162
  {
2083
2163
  totalPages: Math.ceil(rawData.length / itemsPerPage),
@@ -2091,16 +2171,16 @@ var Table_default = Table2;
2091
2171
 
2092
2172
  // src/components/ui/dropdown-menu.tsx
2093
2173
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
2094
- import { jsx as jsx41, jsxs as jsxs24 } from "react/jsx-runtime";
2174
+ import { jsx as jsx42, jsxs as jsxs25 } from "react/jsx-runtime";
2095
2175
  function DropdownMenu({
2096
2176
  ...props
2097
2177
  }) {
2098
- return /* @__PURE__ */ jsx41(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
2178
+ return /* @__PURE__ */ jsx42(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
2099
2179
  }
2100
2180
  function DropdownMenuTrigger({
2101
2181
  ...props
2102
2182
  }) {
2103
- return /* @__PURE__ */ jsx41(
2183
+ return /* @__PURE__ */ jsx42(
2104
2184
  DropdownMenuPrimitive.Trigger,
2105
2185
  {
2106
2186
  "data-slot": "dropdown-menu-trigger",
@@ -2113,7 +2193,7 @@ function DropdownMenuContent({
2113
2193
  sideOffset = 4,
2114
2194
  ...props
2115
2195
  }) {
2116
- return /* @__PURE__ */ jsx41(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
2196
+ return /* @__PURE__ */ jsx42(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx42(
2117
2197
  DropdownMenuPrimitive.Content,
2118
2198
  {
2119
2199
  "data-slot": "dropdown-menu-content",
@@ -2132,7 +2212,7 @@ function DropdownMenuItem({
2132
2212
  variant = "default",
2133
2213
  ...props
2134
2214
  }) {
2135
- return /* @__PURE__ */ jsx41(
2215
+ return /* @__PURE__ */ jsx42(
2136
2216
  DropdownMenuPrimitive.Item,
2137
2217
  {
2138
2218
  "data-slot": "dropdown-menu-item",
@@ -2151,7 +2231,7 @@ function DropdownMenuLabel({
2151
2231
  inset,
2152
2232
  ...props
2153
2233
  }) {
2154
- return /* @__PURE__ */ jsx41(
2234
+ return /* @__PURE__ */ jsx42(
2155
2235
  DropdownMenuPrimitive.Label,
2156
2236
  {
2157
2237
  "data-slot": "dropdown-menu-label",
@@ -2168,7 +2248,7 @@ function DropdownMenuSeparator({
2168
2248
  className,
2169
2249
  ...props
2170
2250
  }) {
2171
- return /* @__PURE__ */ jsx41(
2251
+ return /* @__PURE__ */ jsx42(
2172
2252
  DropdownMenuPrimitive.Separator,
2173
2253
  {
2174
2254
  "data-slot": "dropdown-menu-separator",
@@ -2179,7 +2259,7 @@ function DropdownMenuSeparator({
2179
2259
  }
2180
2260
 
2181
2261
  // src/components/Navigation/Tabs/Tabs.tsx
2182
- import { jsx as jsx42, jsxs as jsxs25 } from "react/jsx-runtime";
2262
+ import { jsx as jsx43, jsxs as jsxs26 } from "react/jsx-runtime";
2183
2263
  var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
2184
2264
  const rawTabs = Array.isArray(tabs) ? tabs : [];
2185
2265
  const baseClasses = "text-[12px] text-[#E9E9E9] p-2 text-center rounded-md transition-colors border-none outline-none focus:outline-none focus:ring-0 focus:ring-offset-0 cursor-pointer select-none ";
@@ -2189,7 +2269,7 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
2189
2269
  if (!path) return false;
2190
2270
  return pathname === path || path !== "/" && pathname?.startsWith(path);
2191
2271
  };
2192
- return /* @__PURE__ */ jsx42("div", { className, style, children: rawTabs.map((tab, index) => {
2272
+ return /* @__PURE__ */ jsx43("div", { className, style, children: rawTabs.map((tab, index) => {
2193
2273
  const finalClasses = [
2194
2274
  baseClasses,
2195
2275
  isActive(tab.href) ? activeClasses : hoverClasses,
@@ -2197,29 +2277,29 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
2197
2277
  ].join(" ");
2198
2278
  const hasDropdown = Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown;
2199
2279
  if (hasDropdown) {
2200
- return /* @__PURE__ */ jsxs25(DropdownMenu, { children: [
2201
- /* @__PURE__ */ jsxs25(
2280
+ return /* @__PURE__ */ jsxs26(DropdownMenu, { children: [
2281
+ /* @__PURE__ */ jsxs26(
2202
2282
  DropdownMenuTrigger,
2203
2283
  {
2204
2284
  className: `${finalClasses} inline-flex items-center gap-1`,
2205
2285
  children: [
2206
2286
  tab.header,
2207
- /* @__PURE__ */ jsx42(ChevronDown, { className: "h-4 w-4 opacity-80" })
2287
+ /* @__PURE__ */ jsx43(ChevronDown, { className: "h-4 w-4 opacity-80" })
2208
2288
  ]
2209
2289
  }
2210
2290
  ),
2211
- /* @__PURE__ */ jsx42(
2291
+ /* @__PURE__ */ jsx43(
2212
2292
  DropdownMenuContent,
2213
2293
  {
2214
2294
  align: "start",
2215
2295
  sideOffset: 6,
2216
2296
  className: "z-50 min-w-[160px] rounded-md border border-gray-200 bg-white p-1 shadow-lg",
2217
- children: tab.children.map((item) => /* @__PURE__ */ jsx42(
2297
+ children: tab.children.map((item) => /* @__PURE__ */ jsx43(
2218
2298
  DropdownMenuItem,
2219
2299
  {
2220
2300
  asChild: true,
2221
2301
  className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100 focus:bg-gray-100",
2222
- children: LinkComponent ? /* @__PURE__ */ jsx42(LinkComponent, { href: item.href || "#", children: item.header }) : item.header
2302
+ children: LinkComponent ? /* @__PURE__ */ jsx43(LinkComponent, { href: item.href || "#", children: item.header }) : item.header
2223
2303
  },
2224
2304
  item.id
2225
2305
  ))
@@ -2227,19 +2307,19 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
2227
2307
  )
2228
2308
  ] }, index);
2229
2309
  }
2230
- return tab.url && LinkComponent ? /* @__PURE__ */ jsx42(LinkComponent, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ jsx42("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
2310
+ return tab.url && LinkComponent ? /* @__PURE__ */ jsx43(LinkComponent, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ jsx43("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
2231
2311
  }) });
2232
2312
  };
2233
2313
  var Tabs_default = Tabs;
2234
2314
 
2235
2315
  // src/components/Navigation/Stages/Stages.tsx
2236
- import React14 from "react";
2237
- import { jsx as jsx43, jsxs as jsxs26 } from "react/jsx-runtime";
2316
+ import React15 from "react";
2317
+ import { jsx as jsx44, jsxs as jsxs27 } from "react/jsx-runtime";
2238
2318
  var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
2239
- return /* @__PURE__ */ jsx43("div", { className, style, children: /* @__PURE__ */ jsxs26("div", { className: "flex items-center justify-between bg-gray-50 p-2 rounded-lg border border-gray-200 w-full", children: [
2240
- /* @__PURE__ */ jsx43("div", { className: "flex items-center", children: /* @__PURE__ */ jsx43("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ jsx43("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx43("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
2241
- /* @__PURE__ */ jsx43("div", { className: "flex items-center flex-1 px-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ jsxs26(React14.Fragment, { children: [
2242
- /* @__PURE__ */ jsx43(
2319
+ return /* @__PURE__ */ jsx44("div", { className, style, children: /* @__PURE__ */ jsxs27("div", { className: "flex items-center justify-between bg-gray-50 p-2 rounded-lg border border-gray-200 w-full", children: [
2320
+ /* @__PURE__ */ jsx44("div", { className: "flex items-center", children: /* @__PURE__ */ jsx44("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ jsx44("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx44("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
2321
+ /* @__PURE__ */ jsx44("div", { className: "flex items-center flex-1 px-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ jsxs27(React15.Fragment, { children: [
2322
+ /* @__PURE__ */ jsx44(
2243
2323
  "button",
2244
2324
  {
2245
2325
  className: `
@@ -2247,26 +2327,26 @@ var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
2247
2327
  children: stage.header
2248
2328
  }
2249
2329
  ),
2250
- index < stages.length - 1 && /* @__PURE__ */ jsx43("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
2330
+ index < stages.length - 1 && /* @__PURE__ */ jsx44("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
2251
2331
  ] }, stage.id)) }),
2252
- isShowBtn && /* @__PURE__ */ jsx43("div", { className: "flex items-center", children: /* @__PURE__ */ jsx43("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
2332
+ isShowBtn && /* @__PURE__ */ jsx44("div", { className: "flex items-center", children: /* @__PURE__ */ jsx44("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
2253
2333
  ] }) });
2254
2334
  };
2255
2335
  var Stages_default = StagesComponent;
2256
2336
 
2257
2337
  // src/components/Navigation/Spacer/Spacer.tsx
2258
- import { jsx as jsx44 } from "react/jsx-runtime";
2338
+ import { jsx as jsx45 } from "react/jsx-runtime";
2259
2339
  var Spacer = ({ className, style }) => {
2260
- return /* @__PURE__ */ jsx44("div", { className: `${className}`, style });
2340
+ return /* @__PURE__ */ jsx45("div", { className: `${className}`, style });
2261
2341
  };
2262
2342
  var Spacer_default = Spacer;
2263
2343
 
2264
2344
  // src/components/Navigation/Profile/Profile.tsx
2265
- import { jsx as jsx45, jsxs as jsxs27 } from "react/jsx-runtime";
2345
+ import { jsx as jsx46, jsxs as jsxs28 } from "react/jsx-runtime";
2266
2346
  var Profile = ({ profileType, showName, userName, className, style }) => {
2267
- return /* @__PURE__ */ jsx45("div", { className, style, children: /* @__PURE__ */ jsxs27("div", { className: "flex gap-2 items-center justify-between w-30 cursor-pointer", children: [
2268
- showName && /* @__PURE__ */ jsx45("h4", { className: "text-[#000000] dark:text-[#fff] text-[13px] font-[500] mb-0", children: userName }),
2269
- profileType === "avatar" ? /* @__PURE__ */ jsx45(
2347
+ return /* @__PURE__ */ jsx46("div", { className, style, children: /* @__PURE__ */ jsxs28("div", { className: "flex gap-2 items-center justify-between w-30 cursor-pointer", children: [
2348
+ showName && /* @__PURE__ */ jsx46("h4", { className: "text-[#000000] dark:text-[#fff] text-[13px] font-[500] mb-0", children: userName }),
2349
+ profileType === "avatar" ? /* @__PURE__ */ jsx46(
2270
2350
  "img",
2271
2351
  {
2272
2352
  src: "https://builder.development.algorithmshift.ai/images/toolset/profile.svg",
@@ -2274,16 +2354,16 @@ var Profile = ({ profileType, showName, userName, className, style }) => {
2274
2354
  width: 24,
2275
2355
  height: 24
2276
2356
  }
2277
- ) : /* @__PURE__ */ jsx45("div", { className: "w-6 h-6 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: "A" })
2357
+ ) : /* @__PURE__ */ jsx46("div", { className: "w-6 h-6 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: "A" })
2278
2358
  ] }) });
2279
2359
  };
2280
2360
  var Profile_default = Profile;
2281
2361
 
2282
2362
  // src/components/Navigation/Notification/Notification.tsx
2283
- import { jsx as jsx46, jsxs as jsxs28 } from "react/jsx-runtime";
2363
+ import { jsx as jsx47, jsxs as jsxs29 } from "react/jsx-runtime";
2284
2364
  var Notification = ({ className, style, badgeType, badgeCount = 0, hideBadgeWhenZero }) => {
2285
- return /* @__PURE__ */ jsx46("div", { className, style, children: /* @__PURE__ */ jsxs28("div", { className: "w-[34px] h-[34px] bg-[#E9E9E9] rounded-md text-center flex items-center justify-center relative", children: [
2286
- /* @__PURE__ */ jsx46(
2365
+ return /* @__PURE__ */ jsx47("div", { className, style, children: /* @__PURE__ */ jsxs29("div", { className: "w-[34px] h-[34px] bg-[#E9E9E9] rounded-md text-center flex items-center justify-center relative", children: [
2366
+ /* @__PURE__ */ jsx47(
2287
2367
  "img",
2288
2368
  {
2289
2369
  src: "https://builder.development.algorithmshift.ai/images/toolset/notification.svg",
@@ -2292,7 +2372,7 @@ var Notification = ({ className, style, badgeType, badgeCount = 0, hideBadgeWhen
2292
2372
  height: 18
2293
2373
  }
2294
2374
  ),
2295
- badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx46("span", { className: "text-[10px] text-[#fff] bg-[#FF4A4A] w-[20px] h-[20px] rounded-full absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 leading-[20px]", children: badgeCount }) : /* @__PURE__ */ jsx46("span", { className: "bg-[#FF4A4A] w-[10px] h-[10px] rounded-full absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 leading-[20px]" })
2375
+ badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx47("span", { className: "text-[10px] text-[#fff] bg-[#FF4A4A] w-[20px] h-[20px] rounded-full absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 leading-[20px]", children: badgeCount }) : /* @__PURE__ */ jsx47("span", { className: "bg-[#FF4A4A] w-[10px] h-[10px] rounded-full absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 leading-[20px]" })
2296
2376
  ] }) });
2297
2377
  };
2298
2378
  var Notification_default = Notification;
@@ -2301,7 +2381,7 @@ var Notification_default = Notification;
2301
2381
  var logo_placeholder_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABDgAAAGPCAYAAAC552DlAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO3d6X+V5Z0/8G8WEhIgSBKWkLCECFIJAoILdRRU3NsBtXVrq+PymmkfzuN5MP0L5pmvdtpqX3aqti5V61jrVm2p24AKggqKRHYQCEsgQNbfA176U8tyQu6Tkwve74fknO/1PbmuHM79Ofd93UU//elPewMAAAAgYcWFbgAAAACgvwQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQ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HkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5/w8RG1j/1Z36RAAAAABJRU5ErkJggg==";
2302
2382
 
2303
2383
  // src/components/Navigation/Logo/Logo.tsx
2304
- import { jsx as jsx47 } from "react/jsx-runtime";
2384
+ import { jsx as jsx48 } from "react/jsx-runtime";
2305
2385
  var Logo = ({
2306
2386
  className,
2307
2387
  style,
@@ -2309,7 +2389,7 @@ var Logo = ({
2309
2389
  altText = "Preview"
2310
2390
  }) => {
2311
2391
  if (!imageUrl) {
2312
- return /* @__PURE__ */ jsx47(
2392
+ return /* @__PURE__ */ jsx48(
2313
2393
  "div",
2314
2394
  {
2315
2395
  className: cn(
@@ -2317,19 +2397,19 @@ var Logo = ({
2317
2397
  "p-0"
2318
2398
  ),
2319
2399
  style,
2320
- children: /* @__PURE__ */ jsx47("img", { src: logo_placeholder_default, alt: altText, className: "opacity-50", width: 150, height: 80 })
2400
+ children: /* @__PURE__ */ jsx48("img", { src: logo_placeholder_default, alt: altText, className: "opacity-50", width: 150, height: 80 })
2321
2401
  }
2322
2402
  );
2323
2403
  }
2324
- return /* @__PURE__ */ jsx47("img", { src: imageUrl, alt: altText, className, style });
2404
+ return /* @__PURE__ */ jsx48("img", { src: imageUrl, alt: altText, className, style });
2325
2405
  };
2326
2406
  var Logo_default = Logo;
2327
2407
 
2328
2408
  // src/components/ui/avatar.tsx
2329
- import * as React15 from "react";
2409
+ import * as React16 from "react";
2330
2410
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
2331
- import { jsx as jsx48 } from "react/jsx-runtime";
2332
- var Avatar = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
2411
+ import { jsx as jsx49 } from "react/jsx-runtime";
2412
+ var Avatar = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
2333
2413
  AvatarPrimitive.Root,
2334
2414
  {
2335
2415
  ref,
@@ -2341,7 +2421,7 @@ var Avatar = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
2341
2421
  }
2342
2422
  ));
2343
2423
  Avatar.displayName = AvatarPrimitive.Root.displayName;
2344
- var AvatarImage = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
2424
+ var AvatarImage = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
2345
2425
  AvatarPrimitive.Image,
2346
2426
  {
2347
2427
  ref,
@@ -2350,7 +2430,7 @@ var AvatarImage = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
2350
2430
  }
2351
2431
  ));
2352
2432
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
2353
- var AvatarFallback = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
2433
+ var AvatarFallback = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
2354
2434
  AvatarPrimitive.Fallback,
2355
2435
  {
2356
2436
  ref,
@@ -2364,7 +2444,7 @@ var AvatarFallback = React15.forwardRef(({ className, ...props }, ref) => /* @__
2364
2444
  AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
2365
2445
 
2366
2446
  // src/components/Navigation/Navbar/Navbar.tsx
2367
- import { Fragment as Fragment16, jsx as jsx49, jsxs as jsxs29 } from "react/jsx-runtime";
2447
+ import { Fragment as Fragment17, jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
2368
2448
  function Navbar({
2369
2449
  style,
2370
2450
  badgeType,
@@ -2379,61 +2459,61 @@ function Navbar({
2379
2459
  ImageComponent
2380
2460
  }) {
2381
2461
  const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
2382
- return /* @__PURE__ */ jsx49("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs29("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
2383
- LinkComponent && ImageComponent ? /* @__PURE__ */ jsx49(LinkComponent, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ jsx49(ImageComponent, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ jsx49("span", { className: "font-semibold text-blue-700", children: "Logo" }) }) : /* @__PURE__ */ jsx49("span", { className: "font-semibold text-blue-700", children: "Logo" }),
2384
- /* @__PURE__ */ jsxs29("div", { className: "flex items-center space-x-3", children: [
2385
- !isMobileView ? /* @__PURE__ */ jsx49("div", { className: "flex-1 px-6", children: /* @__PURE__ */ jsxs29("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
2386
- /* @__PURE__ */ jsx49(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
2387
- /* @__PURE__ */ jsx49(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
2388
- ] }) }) : /* @__PURE__ */ jsx49(
2462
+ return /* @__PURE__ */ jsx50("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs30("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
2463
+ LinkComponent && ImageComponent ? /* @__PURE__ */ jsx50(LinkComponent, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ jsx50(ImageComponent, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ jsx50("span", { className: "font-semibold text-blue-700", children: "Logo" }) }) : /* @__PURE__ */ jsx50("span", { className: "font-semibold text-blue-700", children: "Logo" }),
2464
+ /* @__PURE__ */ jsxs30("div", { className: "flex items-center space-x-3", children: [
2465
+ !isMobileView ? /* @__PURE__ */ jsx50("div", { className: "flex-1 px-6", children: /* @__PURE__ */ jsxs30("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
2466
+ /* @__PURE__ */ jsx50(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
2467
+ /* @__PURE__ */ jsx50(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
2468
+ ] }) }) : /* @__PURE__ */ jsx50(
2389
2469
  Button,
2390
2470
  {
2391
2471
  variant: "ghost",
2392
2472
  size: "icon",
2393
2473
  className: "border border-gray-400",
2394
- children: /* @__PURE__ */ jsx49(Search, { className: "h-5 w-5 text-gray-400" })
2474
+ children: /* @__PURE__ */ jsx50(Search, { className: "h-5 w-5 text-gray-400" })
2395
2475
  }
2396
2476
  ),
2397
- /* @__PURE__ */ jsxs29("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
2398
- /* @__PURE__ */ jsx49(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx49(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
2399
- badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx49("span", { className: "absolute -top-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-red-500 text-[10px] text-white leading-8", children: badgeCount }) : /* @__PURE__ */ jsx49("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
2477
+ /* @__PURE__ */ jsxs30("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
2478
+ /* @__PURE__ */ jsx50(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx50(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
2479
+ badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx50("span", { className: "absolute -top-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-red-500 text-[10px] text-white leading-8", children: badgeCount }) : /* @__PURE__ */ jsx50("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
2400
2480
  ] }),
2401
- /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
2402
- /* @__PURE__ */ jsx49(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs29("div", { className: "flex items-center space-x-2", children: [
2403
- !isMobileView && showName && /* @__PURE__ */ jsx49("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: "Akbar Sheriff" }),
2404
- !isMobileView ? /* @__PURE__ */ jsxs29(Fragment16, { children: [
2405
- /* @__PURE__ */ jsx49(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx49(
2481
+ /* @__PURE__ */ jsxs30(DropdownMenu, { children: [
2482
+ /* @__PURE__ */ jsx50(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs30("div", { className: "flex items-center space-x-2", children: [
2483
+ !isMobileView && showName && /* @__PURE__ */ jsx50("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: "Akbar Sheriff" }),
2484
+ !isMobileView ? /* @__PURE__ */ jsxs30(Fragment17, { children: [
2485
+ /* @__PURE__ */ jsx50(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx50(
2406
2486
  AvatarImage,
2407
2487
  {
2408
2488
  src: "/images/appbuilder/toolset/profile.svg",
2409
2489
  alt: "Akbar Sheriff"
2410
2490
  }
2411
- ) : /* @__PURE__ */ jsx49("div", { className: "w-8 h-8 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: "AS" }) }),
2412
- /* @__PURE__ */ jsx49(
2491
+ ) : /* @__PURE__ */ jsx50("div", { className: "w-8 h-8 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: "AS" }) }),
2492
+ /* @__PURE__ */ jsx50(
2413
2493
  Button,
2414
2494
  {
2415
2495
  variant: "ghost",
2416
2496
  size: "icon",
2417
2497
  className: "text-gray-900 md:hidden",
2418
- children: /* @__PURE__ */ jsx49(Menu, { className: "h-6 w-6" })
2498
+ children: /* @__PURE__ */ jsx50(Menu, { className: "h-6 w-6" })
2419
2499
  }
2420
2500
  )
2421
- ] }) : /* @__PURE__ */ jsx49(
2501
+ ] }) : /* @__PURE__ */ jsx50(
2422
2502
  Button,
2423
2503
  {
2424
2504
  variant: "ghost",
2425
2505
  size: "icon",
2426
2506
  className: "text-gray-900",
2427
- children: /* @__PURE__ */ jsx49(Menu, { className: "h-6 w-6" })
2507
+ children: /* @__PURE__ */ jsx50(Menu, { className: "h-6 w-6" })
2428
2508
  }
2429
2509
  )
2430
2510
  ] }) }),
2431
- /* @__PURE__ */ jsxs29(DropdownMenuContent, { align: "end", className: "bg-white", children: [
2432
- /* @__PURE__ */ jsx49(DropdownMenuLabel, { className: "text-black", children: "My Account" }),
2433
- /* @__PURE__ */ jsx49(DropdownMenuSeparator, {}),
2434
- /* @__PURE__ */ jsx49(DropdownMenuItem, { className: "text-black", children: "Profile" }),
2435
- /* @__PURE__ */ jsx49(DropdownMenuItem, { className: "text-black", children: "Settings" }),
2436
- /* @__PURE__ */ jsx49(DropdownMenuItem, { className: "text-black", children: "Logout" })
2511
+ /* @__PURE__ */ jsxs30(DropdownMenuContent, { align: "end", className: "bg-white", children: [
2512
+ /* @__PURE__ */ jsx50(DropdownMenuLabel, { className: "text-black", children: "My Account" }),
2513
+ /* @__PURE__ */ jsx50(DropdownMenuSeparator, {}),
2514
+ /* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Profile" }),
2515
+ /* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Settings" }),
2516
+ /* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Logout" })
2437
2517
  ] })
2438
2518
  ] })
2439
2519
  ] })
@@ -2442,28 +2522,28 @@ function Navbar({
2442
2522
 
2443
2523
  // src/components/Chart/BarChart.tsx
2444
2524
  import { BarChart, Bar, Area, AreaChart, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, Legend } from "recharts";
2445
- import { jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
2525
+ import { jsx as jsx51, jsxs as jsxs31 } from "react/jsx-runtime";
2446
2526
  var ChartComponent = ({ className, style, ...props }) => {
2447
2527
  const data = Array.isArray(props?.data) ? props.data : [];
2448
2528
  const chartType = props.chartType || "bar";
2449
2529
  const legendsPosition = props.legendsPosition === "middle" || props.legendsPosition === "bottom" ? props.legendsPosition : "top";
2450
- return /* @__PURE__ */ jsx50("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ jsx50(ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ jsxs30(BarChart, { data, children: [
2451
- /* @__PURE__ */ jsx50(CartesianGrid, { strokeDasharray: "3 3" }),
2452
- /* @__PURE__ */ jsx50(XAxis, { dataKey: "name" }),
2453
- /* @__PURE__ */ jsx50(YAxis, {}),
2454
- /* @__PURE__ */ jsx50(Tooltip, {}),
2455
- /* @__PURE__ */ jsx50(Legend, { verticalAlign: legendsPosition, align: "center" }),
2456
- /* @__PURE__ */ jsx50(Bar, { dataKey: "value", fill: "#00695C" })
2457
- ] }) : /* @__PURE__ */ jsxs30(AreaChart, { data, children: [
2458
- /* @__PURE__ */ jsx50("defs", { children: /* @__PURE__ */ jsxs30("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
2459
- /* @__PURE__ */ jsx50("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
2460
- /* @__PURE__ */ jsx50("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
2530
+ return /* @__PURE__ */ jsx51("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ jsx51(ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ jsxs31(BarChart, { data, children: [
2531
+ /* @__PURE__ */ jsx51(CartesianGrid, { strokeDasharray: "3 3" }),
2532
+ /* @__PURE__ */ jsx51(XAxis, { dataKey: "name" }),
2533
+ /* @__PURE__ */ jsx51(YAxis, {}),
2534
+ /* @__PURE__ */ jsx51(Tooltip, {}),
2535
+ /* @__PURE__ */ jsx51(Legend, { verticalAlign: legendsPosition, align: "center" }),
2536
+ /* @__PURE__ */ jsx51(Bar, { dataKey: "value", fill: "#00695C" })
2537
+ ] }) : /* @__PURE__ */ jsxs31(AreaChart, { data, children: [
2538
+ /* @__PURE__ */ jsx51("defs", { children: /* @__PURE__ */ jsxs31("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
2539
+ /* @__PURE__ */ jsx51("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
2540
+ /* @__PURE__ */ jsx51("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
2461
2541
  ] }) }),
2462
- /* @__PURE__ */ jsx50(CartesianGrid, { strokeDasharray: "3 3" }),
2463
- /* @__PURE__ */ jsx50(XAxis, { dataKey: "name" }),
2464
- /* @__PURE__ */ jsx50(YAxis, {}),
2465
- /* @__PURE__ */ jsx50(Tooltip, {}),
2466
- /* @__PURE__ */ jsx50(
2542
+ /* @__PURE__ */ jsx51(CartesianGrid, { strokeDasharray: "3 3" }),
2543
+ /* @__PURE__ */ jsx51(XAxis, { dataKey: "name" }),
2544
+ /* @__PURE__ */ jsx51(YAxis, {}),
2545
+ /* @__PURE__ */ jsx51(Tooltip, {}),
2546
+ /* @__PURE__ */ jsx51(
2467
2547
  Area,
2468
2548
  {
2469
2549
  type: "monotone",
@@ -2479,7 +2559,7 @@ var BarChart_default = ChartComponent;
2479
2559
 
2480
2560
  // src/components/Chart/PieChart.tsx
2481
2561
  import { PieChart, Pie, Cell, ResponsiveContainer as ResponsiveContainer2, Tooltip as Tooltip2, LabelList } from "recharts";
2482
- import { Fragment as Fragment17, jsx as jsx51, jsxs as jsxs31 } from "react/jsx-runtime";
2562
+ import { Fragment as Fragment18, jsx as jsx52, jsxs as jsxs32 } from "react/jsx-runtime";
2483
2563
  var DonutChart = ({ className, style, ...props }) => {
2484
2564
  const data = Array.isArray(props?.data) ? props.data : [];
2485
2565
  const total = data.reduce((sum, d) => sum + d.value, 0);
@@ -2490,7 +2570,7 @@ var DonutChart = ({ className, style, ...props }) => {
2490
2570
  const renderLabel = ({ value, x, y }) => {
2491
2571
  if (value == null) return null;
2492
2572
  const percentage = (Number(value) / total * 100).toFixed(0);
2493
- return /* @__PURE__ */ jsxs31(
2573
+ return /* @__PURE__ */ jsxs32(
2494
2574
  "text",
2495
2575
  {
2496
2576
  x,
@@ -2512,33 +2592,33 @@ var DonutChart = ({ className, style, ...props }) => {
2512
2592
  const wrapperClass = canvasMode ? forceDesktop ? "flex-row" : "flex-col" : "flex-col md:flex-row";
2513
2593
  const renderLegends = () => {
2514
2594
  if (!showLegends) return null;
2515
- return /* @__PURE__ */ jsx51(Fragment17, { children: data.map((d) => /* @__PURE__ */ jsxs31(
2595
+ return /* @__PURE__ */ jsx52(Fragment18, { children: data.map((d) => /* @__PURE__ */ jsxs32(
2516
2596
  "div",
2517
2597
  {
2518
2598
  className: "flex items-center space-x-2 rounded-md border border-gray-200 px-3 py-2 w-[48%] md:w-auto",
2519
2599
  children: [
2520
- /* @__PURE__ */ jsx51(
2600
+ /* @__PURE__ */ jsx52(
2521
2601
  "span",
2522
2602
  {
2523
2603
  className: "inline-block w-[16px] h-[16px] rounded",
2524
2604
  style: { backgroundColor: d.color }
2525
2605
  }
2526
2606
  ),
2527
- /* @__PURE__ */ jsx51("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
2607
+ /* @__PURE__ */ jsx52("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
2528
2608
  ]
2529
2609
  },
2530
2610
  d.name
2531
2611
  )) });
2532
2612
  };
2533
- return /* @__PURE__ */ jsxs31(
2613
+ return /* @__PURE__ */ jsxs32(
2534
2614
  "div",
2535
2615
  {
2536
2616
  className: `relative flex items-center ${wrapperClass} ${className}`,
2537
2617
  style,
2538
2618
  children: [
2539
- /* @__PURE__ */ jsxs31("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
2540
- data.length > 0 && /* @__PURE__ */ jsx51(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs31(PieChart, { children: [
2541
- /* @__PURE__ */ jsxs31(
2619
+ /* @__PURE__ */ jsxs32("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
2620
+ data.length > 0 && /* @__PURE__ */ jsx52(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs32(PieChart, { children: [
2621
+ /* @__PURE__ */ jsxs32(
2542
2622
  Pie,
2543
2623
  {
2544
2624
  data,
@@ -2550,8 +2630,8 @@ var DonutChart = ({ className, style, ...props }) => {
2550
2630
  labelLine: false,
2551
2631
  isAnimationActive: false,
2552
2632
  children: [
2553
- data.map((entry, index) => /* @__PURE__ */ jsx51(Cell, { fill: entry.color }, `cell-${index}`)),
2554
- /* @__PURE__ */ jsx51(
2633
+ data.map((entry, index) => /* @__PURE__ */ jsx52(Cell, { fill: entry.color }, `cell-${index}`)),
2634
+ /* @__PURE__ */ jsx52(
2555
2635
  LabelList,
2556
2636
  {
2557
2637
  dataKey: "value",
@@ -2562,14 +2642,14 @@ var DonutChart = ({ className, style, ...props }) => {
2562
2642
  ]
2563
2643
  }
2564
2644
  ),
2565
- /* @__PURE__ */ jsx51(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
2645
+ /* @__PURE__ */ jsx52(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
2566
2646
  ] }) }),
2567
- /* @__PURE__ */ jsxs31("div", { className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-2xl md:text-4xl font-bold text-[#000]", children: [
2647
+ /* @__PURE__ */ jsxs32("div", { className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-2xl md:text-4xl font-bold text-[#000]", children: [
2568
2648
  total,
2569
2649
  "k"
2570
2650
  ] })
2571
2651
  ] }),
2572
- /* @__PURE__ */ jsx51("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
2652
+ /* @__PURE__ */ jsx52("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
2573
2653
  w-full md:w-auto`, children: renderLegends() })
2574
2654
  ]
2575
2655
  }
@@ -2578,10 +2658,10 @@ var DonutChart = ({ className, style, ...props }) => {
2578
2658
  var PieChart_default = DonutChart;
2579
2659
 
2580
2660
  // src/components/Blocks/EmailComposer.tsx
2581
- import { jsx as jsx52, jsxs as jsxs32 } from "react/jsx-runtime";
2661
+ import { jsx as jsx53, jsxs as jsxs33 } from "react/jsx-runtime";
2582
2662
  function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }) {
2583
- return /* @__PURE__ */ jsx52("div", { className, style, children: /* @__PURE__ */ jsxs32("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
2584
- /* @__PURE__ */ jsx52("div", { className: "mb-3", children: /* @__PURE__ */ jsx52(
2663
+ return /* @__PURE__ */ jsx53("div", { className, style, children: /* @__PURE__ */ jsxs33("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
2664
+ /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
2585
2665
  "input",
2586
2666
  {
2587
2667
  type: "email",
@@ -2590,8 +2670,8 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2590
2670
  required: true
2591
2671
  }
2592
2672
  ) }),
2593
- /* @__PURE__ */ jsx52("div", { className: "mb-3", children: /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
2594
- /* @__PURE__ */ jsx52(
2673
+ /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsxs33("div", { className: "flex items-center gap-2", children: [
2674
+ /* @__PURE__ */ jsx53(
2595
2675
  "input",
2596
2676
  {
2597
2677
  type: "email",
@@ -2602,7 +2682,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2602
2682
  required: true
2603
2683
  }
2604
2684
  ),
2605
- !showCc && /* @__PURE__ */ jsx52(
2685
+ !showCc && /* @__PURE__ */ jsx53(
2606
2686
  "button",
2607
2687
  {
2608
2688
  onClick: () => setShowCc?.(true),
@@ -2610,7 +2690,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2610
2690
  children: "Cc"
2611
2691
  }
2612
2692
  ),
2613
- !showBcc && /* @__PURE__ */ jsx52(
2693
+ !showBcc && /* @__PURE__ */ jsx53(
2614
2694
  "button",
2615
2695
  {
2616
2696
  onClick: () => setShowBcc?.(true),
@@ -2619,7 +2699,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2619
2699
  }
2620
2700
  )
2621
2701
  ] }) }),
2622
- showCc && /* @__PURE__ */ jsx52("div", { className: "mb-3", children: /* @__PURE__ */ jsx52(
2702
+ showCc && /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
2623
2703
  "input",
2624
2704
  {
2625
2705
  type: "text",
@@ -2629,7 +2709,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2629
2709
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
2630
2710
  }
2631
2711
  ) }),
2632
- showBcc && /* @__PURE__ */ jsx52("div", { className: "mb-3", children: /* @__PURE__ */ jsx52(
2712
+ showBcc && /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
2633
2713
  "input",
2634
2714
  {
2635
2715
  type: "text",
@@ -2639,7 +2719,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2639
2719
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
2640
2720
  }
2641
2721
  ) }),
2642
- /* @__PURE__ */ jsx52("div", { className: "mb-3", children: /* @__PURE__ */ jsx52(
2722
+ /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
2643
2723
  "input",
2644
2724
  {
2645
2725
  type: "text",
@@ -2649,14 +2729,75 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2649
2729
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
2650
2730
  }
2651
2731
  ) }),
2652
- /* @__PURE__ */ jsx52("div", { className: "mb-4", children: /* @__PURE__ */ jsx52(MyEditor, { value: body, onChange: setBody }) }),
2653
- /* @__PURE__ */ jsxs32("div", { className: "flex justify-end gap-2", children: [
2654
- /* @__PURE__ */ jsx52("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
2655
- /* @__PURE__ */ jsx52("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
2656
- /* @__PURE__ */ jsx52("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
2732
+ /* @__PURE__ */ jsx53("div", { className: "mb-4", children: /* @__PURE__ */ jsx53(MyEditor, { value: body, onChange: setBody }) }),
2733
+ /* @__PURE__ */ jsxs33("div", { className: "flex justify-end gap-2", children: [
2734
+ /* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
2735
+ /* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
2736
+ /* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
2657
2737
  ] })
2658
2738
  ] }) });
2659
2739
  }
2740
+
2741
+ // src/components/ui/sonner-toast.tsx
2742
+ import { toast } from "sonner";
2743
+ function showSonnerToast({
2744
+ title,
2745
+ description,
2746
+ variant = "default",
2747
+ duration = 3e3,
2748
+ actionLabel,
2749
+ onAction
2750
+ }) {
2751
+ const options = {
2752
+ description,
2753
+ duration,
2754
+ action: actionLabel ? {
2755
+ label: actionLabel,
2756
+ onClick: onAction || (() => {
2757
+ })
2758
+ } : void 0
2759
+ };
2760
+ switch (variant) {
2761
+ case "success":
2762
+ toast.success(title, options);
2763
+ break;
2764
+ case "error":
2765
+ toast.error(title, options);
2766
+ break;
2767
+ case "info":
2768
+ toast.info(title, options);
2769
+ break;
2770
+ case "warning":
2771
+ toast.warning(title, options);
2772
+ break;
2773
+ default:
2774
+ toast(title, options);
2775
+ }
2776
+ }
2777
+
2778
+ // src/components/StateManagment/StateContext.tsx
2779
+ import { createContext, useContext, useReducer } from "react";
2780
+
2781
+ // src/components/StateManagment/stateReducer.ts
2782
+ function stateReducer(state, action) {
2783
+ switch (action.type) {
2784
+ case "SET_STATE":
2785
+ return { ...state, [action.key]: action.value };
2786
+ default:
2787
+ return state;
2788
+ }
2789
+ }
2790
+
2791
+ // src/components/StateManagment/StateContext.tsx
2792
+ import { jsx as jsx54 } from "react/jsx-runtime";
2793
+ var StateContext = createContext(null);
2794
+ function StateProvider({ children }) {
2795
+ const [state, dispatch] = useReducer(stateReducer, {});
2796
+ return /* @__PURE__ */ jsx54(StateContext.Provider, { value: { state, dispatch }, children });
2797
+ }
2798
+ function useAppState() {
2799
+ return useContext(StateContext);
2800
+ }
2660
2801
  export {
2661
2802
  BarChart_default as BarChart,
2662
2803
  Button_default as Button,
@@ -2688,14 +2829,19 @@ export {
2688
2829
  Shape_default as Shape,
2689
2830
  Spacer_default as Spacer,
2690
2831
  Stages_default as Stages,
2832
+ StateProvider,
2691
2833
  SwitchToggle_default as SwitchToggle,
2692
2834
  Table_default as Table,
2693
2835
  Tabs_default as Tabs,
2694
2836
  TextInput_default as Text,
2837
+ TextInputGroup_default as TextInputGroup,
2695
2838
  Textarea_default as Textarea,
2696
2839
  Typography_default as Typography,
2697
2840
  UrlInput_default as URL,
2698
- cn
2841
+ cn,
2842
+ showSonnerToast,
2843
+ stateReducer,
2844
+ useAppState
2699
2845
  };
2700
2846
  /*! Bundled license information:
2701
2847