@wso2/oxygen-ui 0.2.1 → 0.3.0

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.js CHANGED
@@ -127,6 +127,124 @@ var __objRest = (source, exclude) => {
127
127
  }
128
128
  })();
129
129
 
130
+ // package.json
131
+ var package_default = {
132
+ name: "@wso2/oxygen-ui",
133
+ version: "0.3.0",
134
+ description: "WSO2 Oxygen UI | Design System - Powered with Material-UI component library with TypeScript support",
135
+ type: "module",
136
+ main: "./dist/index.js",
137
+ module: "./dist/index.js",
138
+ types: "./dist/index.d.ts",
139
+ exports: {
140
+ ".": {
141
+ types: "./dist/index.d.ts",
142
+ import: "./dist/index.js",
143
+ require: "./dist/index.cjs"
144
+ },
145
+ "./*": {
146
+ types: "./dist/*.d.ts",
147
+ import: "./dist/*.js",
148
+ require: "./dist/*.cjs"
149
+ }
150
+ },
151
+ bin: {
152
+ "oxygen-ui": "./bin/cli.js"
153
+ },
154
+ files: [
155
+ "dist",
156
+ "package.json",
157
+ "README.md",
158
+ ".claude",
159
+ ".ai",
160
+ "bin"
161
+ ],
162
+ sideEffects: [
163
+ "src/styles/Themes/theme.css",
164
+ "dist/styles/Themes/theme.css"
165
+ ],
166
+ scripts: {
167
+ build: "pnpm clean && tsc -p tsconfig.json && node esbuild.config.js",
168
+ "build:watch": "node esbuild.config.js --watch",
169
+ dev: "node esbuild.config.js --watch",
170
+ typecheck: "tsc --noEmit",
171
+ lint: "eslint src",
172
+ "lint:fix": "eslint src --fix",
173
+ clean: "rimraf dist",
174
+ test: "vitest run --passWithNoTests",
175
+ "test:watch": "vitest"
176
+ },
177
+ keywords: [
178
+ "wso2",
179
+ "oxygen-ui",
180
+ "design-system",
181
+ "material-ui",
182
+ "mui",
183
+ "react",
184
+ "typescript",
185
+ "components",
186
+ "ui-library"
187
+ ],
188
+ author: "WSO2 LLC",
189
+ license: "Apache-2.0",
190
+ repository: {
191
+ type: "git",
192
+ url: "https://github.com/wso2/oxygen-ui.git"
193
+ },
194
+ bugs: {
195
+ url: "https://github.com/wso2/oxygen-ui/issues"
196
+ },
197
+ homepage: "https://github.com/wso2/oxygen-ui#readme",
198
+ dependencies: {
199
+ "@fontsource-variable/inter": "5.2.8",
200
+ "@emotion/react": "catalog:",
201
+ "@emotion/styled": "catalog:",
202
+ "@mui/material": "catalog:",
203
+ "@mui/x-charts": "catalog:",
204
+ "@mui/x-data-grid": "catalog:",
205
+ "@mui/x-date-pickers": "catalog:",
206
+ "@mui/x-tree-view": "catalog:",
207
+ "date-fns": "4.1.0",
208
+ prismjs: "^1.30.0"
209
+ },
210
+ peerDependencies: {
211
+ "@wso2/oxygen-ui-icons-react": ">=0.1.0",
212
+ react: "catalog:",
213
+ "react-dom": "catalog:"
214
+ },
215
+ devDependencies: {
216
+ "@eslint/js": "catalog:",
217
+ "@types/prismjs": "^1.26.5",
218
+ "@types/react": "catalog:",
219
+ "@types/react-dom": "catalog:",
220
+ "@typescript-eslint/eslint-plugin": "catalog:",
221
+ "@typescript-eslint/parser": "catalog:",
222
+ "@vitest/ui": "catalog:",
223
+ "@wso2/esbuild-plugin-inline-css-fonts": "workspace:^",
224
+ "@wso2/oxygen-ui-icons-react": "workspace:^",
225
+ esbuild: "catalog:",
226
+ eslint: "catalog:",
227
+ "eslint-plugin-react": "catalog:",
228
+ "eslint-plugin-react-hooks": "catalog:",
229
+ rimraf: "catalog:",
230
+ typescript: "catalog:",
231
+ vite: "catalog:",
232
+ vitest: "catalog:"
233
+ },
234
+ publishConfig: {
235
+ access: "public"
236
+ },
237
+ nx: {
238
+ targets: {
239
+ build: {
240
+ dependsOn: [
241
+ "^build"
242
+ ]
243
+ }
244
+ }
245
+ }
246
+ };
247
+
130
248
  // src/styles/Themes/AcrylicBaseTheme.ts
131
249
  import { extendTheme as extendTheme2 } from "@mui/material/styles";
132
250
 
@@ -460,16 +578,13 @@ var AcrylicBaseTheme = extendTheme2(OxygenThemeBase_default, {
460
578
  paper: ({ theme }) => ({
461
579
  WebkitBackdropFilter: theme.blur.medium,
462
580
  backdropFilter: theme.blur.medium,
463
- // Use CSS variable - will automatically switch between light/dark
464
- background: theme.vars.palette.background.paper,
465
- opacity: 0.7
581
+ background: theme.vars.palette.background.paper
466
582
  })
467
583
  }
468
584
  },
469
585
  MuiDrawer: {
470
586
  styleOverrides: {
471
587
  paper: ({ theme }) => ({
472
- // Paper background is already set by colorSchemes
473
588
  background: theme.vars.palette.background.paper
474
589
  })
475
590
  }
@@ -1516,7 +1631,17 @@ import { Box as Box3 } from "@mui/material";
1516
1631
  import { jsx as jsx12 } from "react/jsx-runtime";
1517
1632
  var PageContentRoot = styled7(Box3, {
1518
1633
  name: "MuiPageContent",
1519
- slot: "Root",
1634
+ slot: "Root"
1635
+ })(() => ({
1636
+ width: "100%",
1637
+ overflow: "auto",
1638
+ height: "100%",
1639
+ display: "flex",
1640
+ flexDirection: "column"
1641
+ }));
1642
+ var PageContentInner = styled7(Box3, {
1643
+ name: "MuiPageContent",
1644
+ slot: "Inner",
1520
1645
  shouldForwardProp: (prop) => prop !== "maxWidth" && prop !== "centered" && prop !== "fullWidth" && prop !== "noPadding"
1521
1646
  })(({ theme, maxWidth = "1400px", centered = true, fullWidth = false, noPadding = false }) => __spreadValues(__spreadValues(__spreadValues({
1522
1647
  width: "100%"
@@ -1535,8 +1660,8 @@ var PageContent = (_a) => {
1535
1660
  "fullWidth",
1536
1661
  "noPadding"
1537
1662
  ]);
1538
- return /* @__PURE__ */ jsx12(
1539
- PageContentRoot,
1663
+ return /* @__PURE__ */ jsx12(PageContentRoot, { children: /* @__PURE__ */ jsx12(
1664
+ PageContentInner,
1540
1665
  __spreadProps(__spreadValues({
1541
1666
  maxWidth,
1542
1667
  centered,
@@ -1545,13 +1670,14 @@ var PageContent = (_a) => {
1545
1670
  }, props), {
1546
1671
  children
1547
1672
  })
1548
- );
1673
+ ) });
1549
1674
  };
1675
+ PageContent.displayName = "PageContent";
1550
1676
  var PageContent_default = PageContent;
1551
1677
 
1552
1678
  // src/components/PageTitle/PageTitle.tsx
1553
- import React3 from "react";
1554
- import { styled as styled12 } from "@mui/material/styles";
1679
+ import React4 from "react";
1680
+ import { styled as styled14 } from "@mui/material/styles";
1555
1681
 
1556
1682
  // src/components/PageTitle/PageTitleHeader.tsx
1557
1683
  import { styled as styled8 } from "@mui/material/styles";
@@ -1649,50 +1775,193 @@ var PageTitleLink = (_a) => {
1649
1775
  PageTitleLink.displayName = "PageTitle.Link";
1650
1776
  var PageTitleLink_default = PageTitleLink;
1651
1777
 
1778
+ // src/components/PageTitle/PageTitleActions.tsx
1779
+ import { styled as styled12 } from "@mui/material/styles";
1780
+ import { jsx as jsx17 } from "react/jsx-runtime";
1781
+ var PageTitleActionsRoot = styled12("div", {
1782
+ name: "MuiPageTitle",
1783
+ slot: "Actions"
1784
+ })(({ theme }) => ({
1785
+ display: "flex",
1786
+ alignItems: "center",
1787
+ gap: theme.spacing(2),
1788
+ marginLeft: "auto"
1789
+ }));
1790
+ var PageTitleActions = (_a) => {
1791
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
1792
+ return /* @__PURE__ */ jsx17(PageTitleActionsRoot, __spreadProps(__spreadValues({}, props), { children }));
1793
+ };
1794
+ PageTitleActions.displayName = "PageTitle.Actions";
1795
+ var PageTitleActions_default = PageTitleActions;
1796
+
1797
+ // src/components/PageTitle/PageTitleBackButton.tsx
1798
+ import React3 from "react";
1799
+ import { styled as styled13 } from "@mui/material/styles";
1800
+ import Button from "@mui/material/Button";
1801
+ import Typography3 from "@mui/material/Typography";
1802
+ import { ArrowLeft } from "@wso2/oxygen-ui-icons-react";
1803
+ import { jsx as jsx18, jsxs as jsxs4 } from "react/jsx-runtime";
1804
+ var PageTitleBackButtonRoot = styled13("div", {
1805
+ name: "MuiPageTitle",
1806
+ slot: "BackButton"
1807
+ })();
1808
+ var PageTitleBackButton = (_a) => {
1809
+ var _b = _a, {
1810
+ children = "Back",
1811
+ component: Component
1812
+ } = _b, props = __objRest(_b, [
1813
+ "children",
1814
+ "component"
1815
+ ]);
1816
+ const button = /* @__PURE__ */ jsxs4(
1817
+ Button,
1818
+ __spreadProps(__spreadValues({
1819
+ variant: "text",
1820
+ sx: {
1821
+ display: "flex",
1822
+ alignItems: "center",
1823
+ marginLeft: "-10px",
1824
+ textDecoration: "none"
1825
+ }
1826
+ }, props), {
1827
+ children: [
1828
+ /* @__PURE__ */ jsx18(ArrowLeft, { size: 20 }),
1829
+ /* @__PURE__ */ jsx18(Typography3, { variant: "body2", children })
1830
+ ]
1831
+ })
1832
+ );
1833
+ if (React3.isValidElement(Component)) {
1834
+ return /* @__PURE__ */ jsx18(PageTitleBackButtonRoot, { children: React3.cloneElement(
1835
+ Component,
1836
+ { style: { textDecoration: "none" } },
1837
+ button
1838
+ ) });
1839
+ }
1840
+ if (Component) {
1841
+ const WrapperComponent = Component;
1842
+ return /* @__PURE__ */ jsx18(PageTitleBackButtonRoot, { children: /* @__PURE__ */ jsx18(WrapperComponent, { style: { textDecoration: "none" }, children: button }) });
1843
+ }
1844
+ return /* @__PURE__ */ jsx18(PageTitleBackButtonRoot, { children: button });
1845
+ };
1846
+ PageTitleBackButton.displayName = "PageTitle.BackButton";
1847
+ var PageTitleBackButton_default = PageTitleBackButton;
1848
+
1652
1849
  // src/components/PageTitle/PageTitle.tsx
1653
- import { jsx as jsx17, jsxs as jsxs4 } from "react/jsx-runtime";
1654
- var PageTitleRoot = styled12("div", {
1850
+ import { jsx as jsx19, jsxs as jsxs5 } from "react/jsx-runtime";
1851
+ var PageTitleRoot = styled14("div", {
1655
1852
  name: "MuiPageTitle",
1656
1853
  slot: "Root"
1657
1854
  })(({ theme }) => ({
1658
- marginBottom: theme.spacing(3),
1855
+ marginBottom: theme.spacing(5),
1659
1856
  display: "flex",
1660
- alignItems: "flex-start",
1661
- gap: 0
1857
+ flexDirection: "column",
1858
+ gap: theme.spacing(2),
1859
+ width: "100%"
1662
1860
  }));
1663
- var PageTitleContent = styled12("div", {
1861
+ var PageTitleRow1 = styled14("div", {
1664
1862
  name: "MuiPageTitle",
1665
- slot: "Content"
1863
+ slot: "Row1"
1864
+ })();
1865
+ var PageTitleRow2 = styled14("div", {
1866
+ name: "MuiPageTitle",
1867
+ slot: "Row2"
1868
+ })(({ theme }) => ({
1869
+ display: "flex",
1870
+ alignItems: "center",
1871
+ gap: theme.spacing(2),
1872
+ width: "100%"
1873
+ }));
1874
+ var PageTitleColumnLeft = styled14("div", {
1875
+ name: "MuiPageTitle",
1876
+ slot: "ColumnLeft"
1877
+ })(({ theme }) => ({
1878
+ display: "flex",
1879
+ alignItems: "center",
1880
+ flex: 1,
1881
+ '&:has(> [class*="Column1"] > *)': {
1882
+ gap: theme.spacing(2)
1883
+ }
1884
+ }));
1885
+ var PageTitleColumn1 = styled14("div", {
1886
+ name: "MuiPageTitle",
1887
+ slot: "Column1"
1888
+ })();
1889
+ var PageTitleColumn2 = styled14("div", {
1890
+ name: "MuiPageTitle",
1891
+ slot: "Column2"
1666
1892
  })(({ theme }) => ({
1667
1893
  display: "flex",
1668
1894
  flexDirection: "column",
1669
1895
  gap: theme.spacing(0.5),
1670
1896
  flex: 1
1671
1897
  }));
1898
+ var PageTitleColumnRight = styled14("div", {
1899
+ name: "MuiPageTitle",
1900
+ slot: "ColumnRight"
1901
+ })();
1672
1902
  var PageTitle = (_a) => {
1673
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
1674
- const childrenArray = React3.Children.toArray(children);
1903
+ var _b = _a, { children, sx } = _b, props = __objRest(_b, ["children", "sx"]);
1904
+ const childrenArray = React4.Children.toArray(children);
1675
1905
  const avatar = childrenArray.find(
1676
- (child) => React3.isValidElement(child) && child.type === PageTitleAvatar_default
1906
+ (child) => React4.isValidElement(child) && child.type === PageTitleAvatar_default
1907
+ );
1908
+ const actions = childrenArray.find(
1909
+ (child) => React4.isValidElement(child) && child.type === PageTitleActions_default
1677
1910
  );
1911
+ let backButtonElement = null;
1912
+ childrenArray.forEach((child) => {
1913
+ if (React4.isValidElement(child)) {
1914
+ if (child.type === PageTitleBackButton_default) {
1915
+ backButtonElement = child;
1916
+ }
1917
+ if (child.props && typeof child.props === "object" && "children" in child.props && React4.isValidElement(child.props.children)) {
1918
+ if (child.props.children.type === PageTitleBackButton_default) {
1919
+ backButtonElement = child;
1920
+ }
1921
+ }
1922
+ }
1923
+ });
1678
1924
  const otherChildren = childrenArray.filter(
1679
- (child) => !React3.isValidElement(child) || child.type !== PageTitleAvatar_default
1925
+ (child) => {
1926
+ if (!React4.isValidElement(child)) {
1927
+ return true;
1928
+ }
1929
+ if (child.type === PageTitleAvatar_default || child.type === PageTitleActions_default || child.type === PageTitleBackButton_default) {
1930
+ return false;
1931
+ }
1932
+ if (child.props && typeof child.props === "object" && "children" in child.props && React4.isValidElement(child.props.children)) {
1933
+ const childrenProp = child.props.children;
1934
+ if (React4.isValidElement(childrenProp) && childrenProp.type === PageTitleBackButton_default) {
1935
+ return false;
1936
+ }
1937
+ }
1938
+ return true;
1939
+ }
1680
1940
  );
1681
- return /* @__PURE__ */ jsxs4(PageTitleRoot, __spreadProps(__spreadValues({}, props), { children: [
1682
- avatar,
1683
- /* @__PURE__ */ jsx17(PageTitleContent, { children: otherChildren })
1941
+ return /* @__PURE__ */ jsxs5(PageTitleRoot, __spreadProps(__spreadValues({ sx }, props), { children: [
1942
+ backButtonElement && /* @__PURE__ */ jsx19(PageTitleRow1, { children: backButtonElement }),
1943
+ /* @__PURE__ */ jsxs5(PageTitleRow2, { children: [
1944
+ /* @__PURE__ */ jsxs5(PageTitleColumnLeft, { children: [
1945
+ /* @__PURE__ */ jsx19(PageTitleColumn1, { children: avatar }),
1946
+ /* @__PURE__ */ jsx19(PageTitleColumn2, { children: otherChildren })
1947
+ ] }),
1948
+ /* @__PURE__ */ jsx19(PageTitleColumnRight, { children: actions })
1949
+ ] })
1684
1950
  ] }));
1685
1951
  };
1686
1952
  PageTitle.Avatar = PageTitleAvatar_default;
1687
1953
  PageTitle.Header = PageTitleHeader_default;
1688
1954
  PageTitle.SubHeader = PageTitleSubHeader_default;
1689
1955
  PageTitle.Link = PageTitleLink_default;
1956
+ PageTitle.Actions = PageTitleActions_default;
1957
+ PageTitle.BackButton = PageTitleBackButton_default;
1958
+ PageTitle.Link = PageTitleLink_default;
1690
1959
  PageTitle.displayName = "PageTitle";
1691
1960
  var PageTitle_default = PageTitle;
1692
1961
 
1693
1962
  // src/components/StatCard/StatCard.tsx
1694
- import { Card, CardContent, Box as Box5, Typography as Typography3 } from "@mui/material";
1695
- import { jsx as jsx18, jsxs as jsxs5 } from "react/jsx-runtime";
1963
+ import { Card, CardContent, Box as Box5, Typography as Typography4 } from "@mui/material";
1964
+ import { jsx as jsx20, jsxs as jsxs6 } from "react/jsx-runtime";
1696
1965
  var StatCard = (_a) => {
1697
1966
  var _b = _a, {
1698
1967
  value,
@@ -1705,19 +1974,20 @@ var StatCard = (_a) => {
1705
1974
  "icon",
1706
1975
  "iconColor"
1707
1976
  ]);
1708
- return /* @__PURE__ */ jsx18(Card, __spreadProps(__spreadValues({ variant: "outlined" }, props), { children: /* @__PURE__ */ jsx18(CardContent, { children: /* @__PURE__ */ jsxs5(Box5, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
1709
- icon && /* @__PURE__ */ jsx18(Box5, { sx: { color: (theme) => theme.palette[iconColor].main, display: "flex", alignItems: "center" }, children: icon }),
1710
- /* @__PURE__ */ jsxs5(Box5, { children: [
1711
- /* @__PURE__ */ jsx18(Typography3, { variant: "h5", children: value }),
1712
- /* @__PURE__ */ jsx18(Typography3, { variant: "body2", color: "text.secondary", children: label })
1977
+ return /* @__PURE__ */ jsx20(Card, __spreadProps(__spreadValues({ variant: "outlined" }, props), { children: /* @__PURE__ */ jsx20(CardContent, { children: /* @__PURE__ */ jsxs6(Box5, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
1978
+ icon && /* @__PURE__ */ jsx20(Box5, { sx: { color: (theme) => theme.palette[iconColor].main, display: "flex", alignItems: "center" }, children: icon }),
1979
+ /* @__PURE__ */ jsxs6(Box5, { children: [
1980
+ /* @__PURE__ */ jsx20(Typography4, { variant: "h5", children: value }),
1981
+ /* @__PURE__ */ jsx20(Typography4, { variant: "body2", color: "text.secondary", children: label })
1713
1982
  ] })
1714
1983
  ] }) }) }));
1715
1984
  };
1985
+ StatCard.displayName = "StatCard";
1716
1986
  var StatCard_default = StatCard;
1717
1987
 
1718
1988
  // src/components/ThemeSwitcher/ThemeSelect.tsx
1719
1989
  import { Select, MenuItem, FormControl, InputLabel } from "@mui/material";
1720
- import { jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
1990
+ import { jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
1721
1991
  function ThemeSelect({
1722
1992
  size = "small",
1723
1993
  showLabel = false,
@@ -1729,23 +1999,23 @@ function ThemeSelect({
1729
1999
  const handleChange = (event) => {
1730
2000
  setTheme(event.target.value);
1731
2001
  };
1732
- return /* @__PURE__ */ jsxs6(FormControl, { size, variant, sx: __spreadValues({ minWidth: 120 }, sx), children: [
1733
- showLabel && /* @__PURE__ */ jsx19(InputLabel, { id: "theme-select-label", children: label }),
1734
- /* @__PURE__ */ jsx19(
2002
+ return /* @__PURE__ */ jsxs7(FormControl, { size, variant, sx: __spreadValues({ minWidth: 120 }, sx), children: [
2003
+ showLabel && /* @__PURE__ */ jsx21(InputLabel, { id: "theme-select-label", children: label }),
2004
+ /* @__PURE__ */ jsx21(
1735
2005
  Select,
1736
2006
  {
1737
2007
  labelId: showLabel ? "theme-select-label" : void 0,
1738
2008
  value: currentTheme,
1739
2009
  onChange: handleChange,
1740
2010
  label: showLabel ? label : void 0,
1741
- children: themes.map((themeOption) => /* @__PURE__ */ jsx19(MenuItem, { value: themeOption.key, children: themeOption.label }, themeOption.key))
2011
+ children: themes.map((themeOption) => /* @__PURE__ */ jsx21(MenuItem, { value: themeOption.key, children: themeOption.label }, themeOption.key))
1742
2012
  }
1743
2013
  )
1744
2014
  ] });
1745
2015
  }
1746
2016
 
1747
2017
  // src/components/ThemeSwitcher/ThemeSwitcher.tsx
1748
- import { Fragment as Fragment2, jsx as jsx20 } from "react/jsx-runtime";
2018
+ import { Fragment as Fragment2, jsx as jsx22 } from "react/jsx-runtime";
1749
2019
  function ThemeSwitcher({
1750
2020
  children,
1751
2021
  size,
@@ -1756,9 +2026,9 @@ function ThemeSwitcher({
1756
2026
  }) {
1757
2027
  const themeSwitcherContext = useThemeSwitcher();
1758
2028
  if (children) {
1759
- return /* @__PURE__ */ jsx20(Fragment2, { children: children(themeSwitcherContext) });
2029
+ return /* @__PURE__ */ jsx22(Fragment2, { children: children(themeSwitcherContext) });
1760
2030
  }
1761
- return /* @__PURE__ */ jsx20(
2031
+ return /* @__PURE__ */ jsx22(
1762
2032
  ThemeSelect,
1763
2033
  {
1764
2034
  size,
@@ -1771,15 +2041,15 @@ function ThemeSwitcher({
1771
2041
  }
1772
2042
 
1773
2043
  // src/components/SearchBar/SearchBarWithAdvancedFilter.tsx
1774
- import * as React4 from "react";
2044
+ import * as React5 from "react";
1775
2045
  import TextField from "@mui/material/TextField";
1776
2046
  import InputAdornment from "@mui/material/InputAdornment";
1777
2047
  import Box6 from "@mui/material/Box";
1778
2048
  import IconButton2 from "@mui/material/IconButton";
1779
2049
  import Popover from "@mui/material/Popover";
1780
- import Typography4 from "@mui/material/Typography";
2050
+ import Typography5 from "@mui/material/Typography";
1781
2051
  import Divider from "@mui/material/Divider";
1782
- import Button from "@mui/material/Button";
2052
+ import Button2 from "@mui/material/Button";
1783
2053
  import Stack from "@mui/material/Stack";
1784
2054
  import FormControl2 from "@mui/material/FormControl";
1785
2055
  import InputLabel2 from "@mui/material/InputLabel";
@@ -1787,7 +2057,7 @@ import Select2 from "@mui/material/Select";
1787
2057
  import MenuItem2 from "@mui/material/MenuItem";
1788
2058
  import { Search } from "@wso2/oxygen-ui-icons-react";
1789
2059
  import { ListFilter } from "@wso2/oxygen-ui-icons-react";
1790
- import { Fragment as Fragment3, jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
2060
+ import { Fragment as Fragment3, jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
1791
2061
  function SearchBarWithAdvancedFilter(_a) {
1792
2062
  var _b = _a, {
1793
2063
  value,
@@ -1814,7 +2084,7 @@ function SearchBarWithAdvancedFilter(_a) {
1814
2084
  "popoverWidth",
1815
2085
  "sx"
1816
2086
  ]);
1817
- const [anchorEl, setAnchorEl] = React4.useState(null);
2087
+ const [anchorEl, setAnchorEl] = React5.useState(null);
1818
2088
  const open = Boolean(anchorEl);
1819
2089
  const handleInputChange = (e) => {
1820
2090
  onChange(e.target.value);
@@ -1840,8 +2110,8 @@ function SearchBarWithAdvancedFilter(_a) {
1840
2110
  handleClose();
1841
2111
  };
1842
2112
  const popoverId = open ? "advanced-search-popover" : void 0;
1843
- return /* @__PURE__ */ jsxs7(Fragment3, { children: [
1844
- /* @__PURE__ */ jsx21(
2113
+ return /* @__PURE__ */ jsxs8(Fragment3, { children: [
2114
+ /* @__PURE__ */ jsx23(
1845
2115
  TextField,
1846
2116
  __spreadProps(__spreadValues({}, props), {
1847
2117
  value,
@@ -1856,10 +2126,10 @@ function SearchBarWithAdvancedFilter(_a) {
1856
2126
  }
1857
2127
  }, sx),
1858
2128
  InputProps: {
1859
- startAdornment: /* @__PURE__ */ jsx21(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx21(Search, { fontSize: "small" }) }),
1860
- endAdornment: /* @__PURE__ */ jsx21(InputAdornment, { position: "end", sx: { m: 0 }, children: /* @__PURE__ */ jsxs7(Box6, { sx: { display: "flex", alignItems: "center", height: "100%" }, children: [
1861
- /* @__PURE__ */ jsx21(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
1862
- /* @__PURE__ */ jsx21(
2129
+ startAdornment: /* @__PURE__ */ jsx23(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx23(Search, { fontSize: "small" }) }),
2130
+ endAdornment: /* @__PURE__ */ jsx23(InputAdornment, { position: "end", sx: { m: 0 }, children: /* @__PURE__ */ jsxs8(Box6, { sx: { display: "flex", alignItems: "center", height: "100%" }, children: [
2131
+ /* @__PURE__ */ jsx23(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
2132
+ /* @__PURE__ */ jsx23(
1863
2133
  IconButton2,
1864
2134
  {
1865
2135
  "aria-describedby": popoverId,
@@ -1867,14 +2137,14 @@ function SearchBarWithAdvancedFilter(_a) {
1867
2137
  onClick: handleOpen,
1868
2138
  size: "small",
1869
2139
  sx: { mx: 0.5 },
1870
- children: /* @__PURE__ */ jsx21(ListFilter, { fontSize: "tiny" })
2140
+ children: /* @__PURE__ */ jsx23(ListFilter, { fontSize: "tiny" })
1871
2141
  }
1872
2142
  )
1873
2143
  ] }) })
1874
2144
  }
1875
2145
  })
1876
2146
  ),
1877
- /* @__PURE__ */ jsxs7(
2147
+ /* @__PURE__ */ jsxs8(
1878
2148
  Popover,
1879
2149
  {
1880
2150
  id: popoverId,
@@ -1891,45 +2161,45 @@ function SearchBarWithAdvancedFilter(_a) {
1891
2161
  }
1892
2162
  },
1893
2163
  children: [
1894
- /* @__PURE__ */ jsx21(Typography4, { variant: "subtitle2", sx: { fontWeight: 600 }, children: "Advanced search" }),
1895
- /* @__PURE__ */ jsx21(Divider, { sx: { my: 1 } }),
1896
- /* @__PURE__ */ jsxs7(Stack, { spacing: 2, marginTop: 2, children: [
1897
- /* @__PURE__ */ jsxs7(FormControl2, { fullWidth: true, size: "small", children: [
1898
- /* @__PURE__ */ jsxs7(InputLabel2, { id: "adv-filter-attribute-label", children: [
2164
+ /* @__PURE__ */ jsx23(Typography5, { variant: "subtitle2", sx: { fontWeight: 600 }, children: "Advanced search" }),
2165
+ /* @__PURE__ */ jsx23(Divider, { sx: { my: 1 } }),
2166
+ /* @__PURE__ */ jsxs8(Stack, { spacing: 2, marginTop: 2, children: [
2167
+ /* @__PURE__ */ jsxs8(FormControl2, { fullWidth: true, size: "small", children: [
2168
+ /* @__PURE__ */ jsxs8(InputLabel2, { id: "adv-filter-attribute-label", children: [
1899
2169
  "Filter attribute",
1900
2170
  " ",
1901
- /* @__PURE__ */ jsx21(Box6, { component: "span", sx: { color: "error.main" }, children: "*" })
2171
+ /* @__PURE__ */ jsx23(Box6, { component: "span", sx: { color: "error.main" }, children: "*" })
1902
2172
  ] }),
1903
- /* @__PURE__ */ jsx21(
2173
+ /* @__PURE__ */ jsx23(
1904
2174
  Select2,
1905
2175
  {
1906
2176
  labelId: "adv-filter-attribute-label",
1907
2177
  value: advancedFilter.attribute,
1908
2178
  label: "Filter attribute *",
1909
2179
  onChange: handleAttrChange,
1910
- children: attributeOptions.map((opt) => /* @__PURE__ */ jsx21(MenuItem2, { value: opt.value, children: opt.label }, opt.value))
2180
+ children: attributeOptions.map((opt) => /* @__PURE__ */ jsx23(MenuItem2, { value: opt.value, children: opt.label }, opt.value))
1911
2181
  }
1912
2182
  )
1913
2183
  ] }),
1914
- /* @__PURE__ */ jsxs7(Box6, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: 2 }, children: [
1915
- /* @__PURE__ */ jsxs7(FormControl2, { fullWidth: true, size: "small", children: [
1916
- /* @__PURE__ */ jsxs7(InputLabel2, { id: "adv-filter-condition-label", children: [
2184
+ /* @__PURE__ */ jsxs8(Box6, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: 2 }, children: [
2185
+ /* @__PURE__ */ jsxs8(FormControl2, { fullWidth: true, size: "small", children: [
2186
+ /* @__PURE__ */ jsxs8(InputLabel2, { id: "adv-filter-condition-label", children: [
1917
2187
  "Filter condition",
1918
2188
  " ",
1919
- /* @__PURE__ */ jsx21(Box6, { component: "span", sx: { color: "error.main" }, children: "*" })
2189
+ /* @__PURE__ */ jsx23(Box6, { component: "span", sx: { color: "error.main" }, children: "*" })
1920
2190
  ] }),
1921
- /* @__PURE__ */ jsx21(
2191
+ /* @__PURE__ */ jsx23(
1922
2192
  Select2,
1923
2193
  {
1924
2194
  labelId: "adv-filter-condition-label",
1925
2195
  value: advancedFilter.condition,
1926
2196
  label: "Filter condition *",
1927
2197
  onChange: handleCondChange,
1928
- children: conditionOptions.map((opt) => /* @__PURE__ */ jsx21(MenuItem2, { value: opt.value, children: opt.label }, opt.value))
2198
+ children: conditionOptions.map((opt) => /* @__PURE__ */ jsx23(MenuItem2, { value: opt.value, children: opt.label }, opt.value))
1929
2199
  }
1930
2200
  )
1931
2201
  ] }),
1932
- /* @__PURE__ */ jsx21(
2202
+ /* @__PURE__ */ jsx23(
1933
2203
  TextField,
1934
2204
  {
1935
2205
  size: "small",
@@ -1941,8 +2211,8 @@ function SearchBarWithAdvancedFilter(_a) {
1941
2211
  }
1942
2212
  )
1943
2213
  ] }),
1944
- /* @__PURE__ */ jsx21(Box6, { sx: { display: "flex", justifyContent: "flex-start" }, children: /* @__PURE__ */ jsx21(
1945
- Button,
2214
+ /* @__PURE__ */ jsx23(Box6, { sx: { display: "flex", justifyContent: "flex-start" }, children: /* @__PURE__ */ jsx23(
2215
+ Button2,
1946
2216
  {
1947
2217
  variant: "contained",
1948
2218
  onClick: handleAdvancedSearch,
@@ -1963,21 +2233,21 @@ var SearchBarWithAdvancedFilter_default = SearchBarWithAdvancedFilter;
1963
2233
  import TextField2 from "@mui/material/TextField";
1964
2234
  import InputAdornment2 from "@mui/material/InputAdornment";
1965
2235
  import { Search as Search2 } from "@wso2/oxygen-ui-icons-react";
1966
- import { jsx as jsx22 } from "react/jsx-runtime";
2236
+ import { jsx as jsx24 } from "react/jsx-runtime";
1967
2237
  function SearchBar(_a) {
1968
2238
  var _b = _a, {
1969
2239
  placeholder = "Search"
1970
2240
  } = _b, props = __objRest(_b, [
1971
2241
  "placeholder"
1972
2242
  ]);
1973
- return /* @__PURE__ */ jsx22(
2243
+ return /* @__PURE__ */ jsx24(
1974
2244
  TextField2,
1975
2245
  __spreadProps(__spreadValues({}, props), {
1976
2246
  placeholder,
1977
2247
  variant: "outlined",
1978
2248
  slotProps: {
1979
2249
  input: {
1980
- startAdornment: /* @__PURE__ */ jsx22(InputAdornment2, { position: "start", children: /* @__PURE__ */ jsx22(Search2, { fontSize: "small" }) })
2250
+ startAdornment: /* @__PURE__ */ jsx24(InputAdornment2, { position: "start", children: /* @__PURE__ */ jsx24(Search2, { fontSize: "small" }) })
1981
2251
  }
1982
2252
  }
1983
2253
  })
@@ -1986,17 +2256,17 @@ function SearchBar(_a) {
1986
2256
  var SearchBar_default = SearchBar;
1987
2257
 
1988
2258
  // src/components/Header/Header.tsx
1989
- import * as React6 from "react";
2259
+ import * as React7 from "react";
1990
2260
  import AppBar from "@mui/material/AppBar";
1991
2261
  import Toolbar from "@mui/material/Toolbar";
1992
2262
  import Box11 from "@mui/material/Box";
1993
- import { styled as styled19 } from "@mui/material/styles";
2263
+ import { styled as styled21 } from "@mui/material/styles";
1994
2264
 
1995
2265
  // src/components/Header/context.ts
1996
- import * as React5 from "react";
1997
- var HeaderContext = React5.createContext(null);
2266
+ import * as React6 from "react";
2267
+ var HeaderContext = React6.createContext(null);
1998
2268
  var useHeader = () => {
1999
- const context = React5.useContext(HeaderContext);
2269
+ const context = React6.useContext(HeaderContext);
2000
2270
  if (!context) {
2001
2271
  throw new Error("Header compound components must be used within Header");
2002
2272
  }
@@ -2006,10 +2276,10 @@ var useHeader = () => {
2006
2276
  // src/components/Header/HeaderToggle.tsx
2007
2277
  import IconButton3 from "@mui/material/IconButton";
2008
2278
  import Tooltip2 from "@mui/material/Tooltip";
2009
- import { styled as styled13 } from "@mui/material/styles";
2279
+ import { styled as styled15 } from "@mui/material/styles";
2010
2280
  import { Menu } from "@wso2/oxygen-ui-icons-react";
2011
- import { jsx as jsx23 } from "react/jsx-runtime";
2012
- var HeaderToggleRoot = styled13(IconButton3, {
2281
+ import { jsx as jsx25 } from "react/jsx-runtime";
2282
+ var HeaderToggleRoot = styled15(IconButton3, {
2013
2283
  name: "MuiHeader",
2014
2284
  slot: "Toggle"
2015
2285
  })(({ theme }) => ({
@@ -2024,18 +2294,18 @@ var HeaderToggle = ({
2024
2294
  collapseIcon,
2025
2295
  sx
2026
2296
  }) => {
2027
- return /* @__PURE__ */ jsx23(Tooltip2, { title: collapsed ? expandLabel : collapseLabel, children: /* @__PURE__ */ jsx23(HeaderToggleRoot, { onClick: onToggle, size: "small", sx, children: collapsed ? expandIcon || /* @__PURE__ */ jsx23(Menu, { size: 20 }) : collapseIcon || /* @__PURE__ */ jsx23(Menu, { size: 20 }) }) });
2297
+ return /* @__PURE__ */ jsx25(Tooltip2, { title: collapsed ? expandLabel : collapseLabel, children: /* @__PURE__ */ jsx25(HeaderToggleRoot, { onClick: onToggle, size: "small", sx, children: collapsed ? expandIcon || /* @__PURE__ */ jsx25(Menu, { size: 20 }) : collapseIcon || /* @__PURE__ */ jsx25(Menu, { size: 20 }) }) });
2028
2298
  };
2029
2299
 
2030
2300
  // src/components/Header/HeaderBrand.tsx
2031
2301
  import Box8 from "@mui/material/Box";
2032
- import { styled as styled16 } from "@mui/material/styles";
2302
+ import { styled as styled18 } from "@mui/material/styles";
2033
2303
 
2034
2304
  // src/components/Header/HeaderBrandLogo.tsx
2035
2305
  import Box7 from "@mui/material/Box";
2036
- import { styled as styled14 } from "@mui/material/styles";
2037
- import { jsx as jsx24 } from "react/jsx-runtime";
2038
- var HeaderBrandLogoRoot = styled14(Box7, {
2306
+ import { styled as styled16 } from "@mui/material/styles";
2307
+ import { jsx as jsx26 } from "react/jsx-runtime";
2308
+ var HeaderBrandLogoRoot = styled16(Box7, {
2039
2309
  name: "MuiHeader",
2040
2310
  slot: "BrandLogo"
2041
2311
  })({
@@ -2046,15 +2316,15 @@ var HeaderBrandLogo = ({
2046
2316
  children,
2047
2317
  sx
2048
2318
  }) => {
2049
- return /* @__PURE__ */ jsx24(HeaderBrandLogoRoot, { sx, children });
2319
+ return /* @__PURE__ */ jsx26(HeaderBrandLogoRoot, { sx, children });
2050
2320
  };
2051
2321
  HeaderBrandLogo.displayName = "HeaderBrandLogo";
2052
2322
 
2053
2323
  // src/components/Header/HeaderBrandTitle.tsx
2054
- import Typography5 from "@mui/material/Typography";
2055
- import { styled as styled15 } from "@mui/material/styles";
2056
- import { jsx as jsx25 } from "react/jsx-runtime";
2057
- var HeaderBrandTitleRoot = styled15(Typography5, {
2324
+ import Typography6 from "@mui/material/Typography";
2325
+ import { styled as styled17 } from "@mui/material/styles";
2326
+ import { jsx as jsx27 } from "react/jsx-runtime";
2327
+ var HeaderBrandTitleRoot = styled17(Typography6, {
2058
2328
  name: "MuiHeader",
2059
2329
  slot: "BrandTitle"
2060
2330
  })(({ theme }) => ({
@@ -2071,13 +2341,13 @@ var HeaderBrandTitle = ({
2071
2341
  children,
2072
2342
  sx
2073
2343
  }) => {
2074
- return /* @__PURE__ */ jsx25(HeaderBrandTitleRoot, { variant: "h6", component: "div", sx, children });
2344
+ return /* @__PURE__ */ jsx27(HeaderBrandTitleRoot, { variant: "h6", component: "div", sx, children });
2075
2345
  };
2076
2346
  HeaderBrandTitle.displayName = "HeaderBrandTitle";
2077
2347
 
2078
2348
  // src/components/Header/HeaderBrand.tsx
2079
- import { jsx as jsx26 } from "react/jsx-runtime";
2080
- var HeaderBrandRoot = styled16(Box8, {
2349
+ import { jsx as jsx28 } from "react/jsx-runtime";
2350
+ var HeaderBrandRoot = styled18(Box8, {
2081
2351
  name: "MuiHeader",
2082
2352
  slot: "Brand",
2083
2353
  shouldForwardProp: (prop) => prop !== "clickable"
@@ -2092,16 +2362,16 @@ var HeaderBrand = ({
2092
2362
  children,
2093
2363
  sx
2094
2364
  }) => {
2095
- return /* @__PURE__ */ jsx26(HeaderBrandRoot, { onClick, clickable: !!onClick, sx, children });
2365
+ return /* @__PURE__ */ jsx28(HeaderBrandRoot, { onClick, clickable: !!onClick, sx, children });
2096
2366
  };
2097
2367
  HeaderBrand.displayName = "HeaderBrand";
2098
2368
 
2099
2369
  // src/components/Header/HeaderSwitchers.tsx
2100
2370
  import Box9 from "@mui/material/Box";
2101
2371
  import Divider2 from "@mui/material/Divider";
2102
- import { styled as styled17 } from "@mui/material/styles";
2103
- import { jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
2104
- var HeaderSwitchersRoot = styled17(Box9, {
2372
+ import { styled as styled19 } from "@mui/material/styles";
2373
+ import { jsx as jsx29, jsxs as jsxs9 } from "react/jsx-runtime";
2374
+ var HeaderSwitchersRoot = styled19(Box9, {
2105
2375
  name: "MuiHeader",
2106
2376
  slot: "Switchers"
2107
2377
  })(({ theme }) => ({
@@ -2113,7 +2383,7 @@ var HeaderSwitchersRoot = styled17(Box9, {
2113
2383
  display: "flex"
2114
2384
  }
2115
2385
  }));
2116
- var HeaderSwitchersDivider = styled17(Divider2, {
2386
+ var HeaderSwitchersDivider = styled19(Divider2, {
2117
2387
  name: "MuiHeader",
2118
2388
  slot: "SwitchersDivider"
2119
2389
  })(({ theme }) => ({
@@ -2129,17 +2399,17 @@ var HeaderSwitchers = ({
2129
2399
  if (minimal) {
2130
2400
  return null;
2131
2401
  }
2132
- return /* @__PURE__ */ jsxs8(HeaderSwitchersRoot, { sx, children: [
2133
- showDivider && /* @__PURE__ */ jsx27(HeaderSwitchersDivider, { orientation: "vertical", flexItem: true }),
2402
+ return /* @__PURE__ */ jsxs9(HeaderSwitchersRoot, { sx, children: [
2403
+ showDivider && /* @__PURE__ */ jsx29(HeaderSwitchersDivider, { orientation: "vertical", flexItem: true }),
2134
2404
  children
2135
2405
  ] });
2136
2406
  };
2137
2407
 
2138
2408
  // src/components/Header/HeaderActions.tsx
2139
2409
  import Box10 from "@mui/material/Box";
2140
- import { styled as styled18 } from "@mui/material/styles";
2141
- import { jsx as jsx28 } from "react/jsx-runtime";
2142
- var HeaderActionsRoot = styled18(Box10, {
2410
+ import { styled as styled20 } from "@mui/material/styles";
2411
+ import { jsx as jsx30 } from "react/jsx-runtime";
2412
+ var HeaderActionsRoot = styled20(Box10, {
2143
2413
  name: "MuiHeader",
2144
2414
  slot: "Actions"
2145
2415
  })(({ theme }) => ({
@@ -2151,19 +2421,19 @@ var HeaderActions = ({
2151
2421
  children,
2152
2422
  sx
2153
2423
  }) => {
2154
- return /* @__PURE__ */ jsx28(HeaderActionsRoot, { sx, children });
2424
+ return /* @__PURE__ */ jsx30(HeaderActionsRoot, { sx, children });
2155
2425
  };
2156
2426
 
2157
2427
  // src/components/Header/Header.tsx
2158
- import { jsx as jsx29 } from "react/jsx-runtime";
2159
- var HeaderRootStyled = styled19(AppBar, {
2428
+ import { jsx as jsx31 } from "react/jsx-runtime";
2429
+ var HeaderRootStyled = styled21(AppBar, {
2160
2430
  name: "MuiHeader",
2161
2431
  slot: "Root"
2162
2432
  })(({ theme }) => ({
2163
2433
  backgroundColor: (theme.vars || theme).palette.background.paper,
2164
2434
  borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`
2165
2435
  }));
2166
- var HeaderToolbar = styled19(Toolbar, {
2436
+ var HeaderToolbar = styled21(Toolbar, {
2167
2437
  name: "MuiHeader",
2168
2438
  slot: "Toolbar"
2169
2439
  })(({ theme }) => ({
@@ -2177,7 +2447,7 @@ var HeaderToolbar = styled19(Toolbar, {
2177
2447
  paddingRight: theme.spacing(2)
2178
2448
  }
2179
2449
  }));
2180
- var HeaderSpacerStyled = styled19(Box11, {
2450
+ var HeaderSpacerStyled = styled21(Box11, {
2181
2451
  name: "MuiHeader",
2182
2452
  slot: "Spacer"
2183
2453
  })({
@@ -2188,10 +2458,10 @@ var Header = ({
2188
2458
  minimal = false,
2189
2459
  sx
2190
2460
  }) => {
2191
- const contextValue = React6.useMemo(() => ({ minimal }), [minimal]);
2192
- return /* @__PURE__ */ jsx29(HeaderContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx29(HeaderRootStyled, { position: "static", color: "default", elevation: 0, sx, children: /* @__PURE__ */ jsx29(HeaderToolbar, { children }) }) });
2461
+ const contextValue = React7.useMemo(() => ({ minimal }), [minimal]);
2462
+ return /* @__PURE__ */ jsx31(HeaderContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx31(HeaderRootStyled, { position: "static", color: "default", elevation: 0, sx, children: /* @__PURE__ */ jsx31(HeaderToolbar, { children }) }) });
2193
2463
  };
2194
- var HeaderSpacer = ({ sx }) => /* @__PURE__ */ jsx29(HeaderSpacerStyled, { sx });
2464
+ var HeaderSpacer = ({ sx }) => /* @__PURE__ */ jsx31(HeaderSpacerStyled, { sx });
2195
2465
  Header.Toggle = HeaderToggle;
2196
2466
  Header.Brand = HeaderBrand;
2197
2467
  Header.BrandLogo = HeaderBrandLogo;
@@ -2202,15 +2472,15 @@ Header.Spacer = HeaderSpacer;
2202
2472
  Header.displayName = "Header";
2203
2473
 
2204
2474
  // src/components/Sidebar/Sidebar.tsx
2205
- import * as React13 from "react";
2475
+ import * as React14 from "react";
2206
2476
  import Box17 from "@mui/material/Box";
2207
- import { styled as styled32 } from "@mui/material/styles";
2477
+ import { styled as styled34 } from "@mui/material/styles";
2208
2478
 
2209
2479
  // src/components/Sidebar/context.ts
2210
- import * as React7 from "react";
2211
- var SidebarContext = React7.createContext(null);
2480
+ import * as React8 from "react";
2481
+ var SidebarContext = React8.createContext(null);
2212
2482
  var useSidebar = () => {
2213
- const context = React7.useContext(SidebarContext);
2483
+ const context = React8.useContext(SidebarContext);
2214
2484
  if (!context) {
2215
2485
  throw new Error("Sidebar compound components must be used within Sidebar");
2216
2486
  }
@@ -2218,12 +2488,12 @@ var useSidebar = () => {
2218
2488
  };
2219
2489
 
2220
2490
  // src/components/Sidebar/SidebarNav.tsx
2221
- import * as React8 from "react";
2491
+ import * as React9 from "react";
2222
2492
  import Box12 from "@mui/material/Box";
2223
2493
  import Divider3 from "@mui/material/Divider";
2224
- import { styled as styled20 } from "@mui/material/styles";
2225
- import { jsx as jsx30, jsxs as jsxs9 } from "react/jsx-runtime";
2226
- var SidebarNavRoot = styled20(Box12, {
2494
+ import { styled as styled22 } from "@mui/material/styles";
2495
+ import { jsx as jsx32, jsxs as jsxs10 } from "react/jsx-runtime";
2496
+ var SidebarNavRoot = styled22(Box12, {
2227
2497
  name: "MuiSidebar",
2228
2498
  slot: "Nav"
2229
2499
  })(({ theme }) => ({
@@ -2243,7 +2513,7 @@ var SidebarNavRoot = styled20(Box12, {
2243
2513
  backgroundColor: (theme.vars || theme).palette.action.active
2244
2514
  }
2245
2515
  }));
2246
- var SidebarNavDivider = styled20(Divider3, {
2516
+ var SidebarNavDivider = styled22(Divider3, {
2247
2517
  name: "MuiSidebar",
2248
2518
  slot: "NavDivider"
2249
2519
  })(({ theme }) => ({
@@ -2258,24 +2528,24 @@ var SidebarNav = ({
2258
2528
  sx
2259
2529
  }) => {
2260
2530
  const { collapsed } = useSidebar();
2261
- const childArray = React8.Children.toArray(children);
2262
- return /* @__PURE__ */ jsx30(SidebarNavRoot, { component: "nav", sx, children: childArray.map((child, index) => /* @__PURE__ */ jsxs9(React8.Fragment, { children: [
2263
- index > 0 && showDividers && !collapsed && /* @__PURE__ */ jsx30(SidebarNavDivider, {}),
2531
+ const childArray = React9.Children.toArray(children);
2532
+ return /* @__PURE__ */ jsx32(SidebarNavRoot, { component: "nav", sx, children: childArray.map((child, index) => /* @__PURE__ */ jsxs10(React9.Fragment, { children: [
2533
+ index > 0 && showDividers && !collapsed && /* @__PURE__ */ jsx32(SidebarNavDivider, {}),
2264
2534
  child
2265
2535
  ] }, index)) });
2266
2536
  };
2267
2537
 
2268
2538
  // src/components/Sidebar/SidebarCategory.tsx
2269
- import * as React9 from "react";
2539
+ import * as React10 from "react";
2270
2540
  import Box13 from "@mui/material/Box";
2271
2541
  import List from "@mui/material/List";
2272
- import { styled as styled22 } from "@mui/material/styles";
2542
+ import { styled as styled24 } from "@mui/material/styles";
2273
2543
 
2274
2544
  // src/components/Sidebar/SidebarCategoryLabel.tsx
2275
- import Typography6 from "@mui/material/Typography";
2276
- import { styled as styled21 } from "@mui/material/styles";
2277
- import { jsx as jsx31 } from "react/jsx-runtime";
2278
- var SidebarCategoryLabelRoot = styled21(Typography6, {
2545
+ import Typography7 from "@mui/material/Typography";
2546
+ import { styled as styled23 } from "@mui/material/styles";
2547
+ import { jsx as jsx33 } from "react/jsx-runtime";
2548
+ var SidebarCategoryLabelRoot = styled23(Typography7, {
2279
2549
  name: "MuiSidebar",
2280
2550
  slot: "CategoryLabel",
2281
2551
  shouldForwardProp: (prop) => prop !== "collapsed"
@@ -2300,13 +2570,13 @@ var SidebarCategoryLabelRoot = styled21(Typography6, {
2300
2570
  }));
2301
2571
  var SidebarCategoryLabel = ({ children, sx }) => {
2302
2572
  const { collapsed } = useSidebar();
2303
- return /* @__PURE__ */ jsx31(SidebarCategoryLabelRoot, { variant: "caption", collapsed, sx, children });
2573
+ return /* @__PURE__ */ jsx33(SidebarCategoryLabelRoot, { variant: "caption", collapsed, sx, children });
2304
2574
  };
2305
2575
  SidebarCategoryLabel.displayName = "SidebarCategoryLabel";
2306
2576
 
2307
2577
  // src/components/Sidebar/SidebarCategory.tsx
2308
- import { jsx as jsx32, jsxs as jsxs10 } from "react/jsx-runtime";
2309
- var SidebarCategoryRoot = styled22(Box13, {
2578
+ import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
2579
+ var SidebarCategoryRoot = styled24(Box13, {
2310
2580
  name: "MuiSidebar",
2311
2581
  slot: "Category"
2312
2582
  })(({ theme }) => ({
@@ -2315,9 +2585,9 @@ var SidebarCategoryRoot = styled22(Box13, {
2315
2585
  var separateChildren = (children) => {
2316
2586
  let labelChild = null;
2317
2587
  const otherChildren = [];
2318
- React9.Children.forEach(children, (child) => {
2588
+ React10.Children.forEach(children, (child) => {
2319
2589
  var _a;
2320
- if (React9.isValidElement(child)) {
2590
+ if (React10.isValidElement(child)) {
2321
2591
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
2322
2592
  if (displayName === "SidebarCategoryLabel") {
2323
2593
  labelChild = child;
@@ -2335,15 +2605,15 @@ var SidebarCategory = ({
2335
2605
  sx
2336
2606
  }) => {
2337
2607
  const { labelChild, otherChildren } = separateChildren(children);
2338
- return /* @__PURE__ */ jsxs10(SidebarCategoryRoot, { sx, children: [
2608
+ return /* @__PURE__ */ jsxs11(SidebarCategoryRoot, { sx, children: [
2339
2609
  labelChild,
2340
- /* @__PURE__ */ jsx32(List, { disablePadding: true, children: otherChildren })
2610
+ /* @__PURE__ */ jsx34(List, { disablePadding: true, children: otherChildren })
2341
2611
  ] });
2342
2612
  };
2343
2613
  SidebarCategory.displayName = "SidebarCategory";
2344
2614
 
2345
2615
  // src/components/Sidebar/SidebarItem.tsx
2346
- import * as React11 from "react";
2616
+ import * as React12 from "react";
2347
2617
  import Box14 from "@mui/material/Box";
2348
2618
  import List2 from "@mui/material/List";
2349
2619
  import ListItem from "@mui/material/ListItem";
@@ -2353,15 +2623,15 @@ import ListItemText2 from "@mui/material/ListItemText";
2353
2623
  import Collapse from "@mui/material/Collapse";
2354
2624
  import Tooltip3 from "@mui/material/Tooltip";
2355
2625
  import Popover2 from "@mui/material/Popover";
2356
- import { styled as styled26 } from "@mui/material/styles";
2626
+ import { styled as styled28 } from "@mui/material/styles";
2357
2627
  import { ChevronDown as ChevronDown2, ChevronUp } from "@wso2/oxygen-ui-icons-react";
2358
2628
 
2359
2629
  // src/components/Sidebar/SidebarItemContext.tsx
2360
- import * as React10 from "react";
2361
- import { jsx as jsx33 } from "react/jsx-runtime";
2362
- var SidebarItemContext = React10.createContext(null);
2630
+ import * as React11 from "react";
2631
+ import { jsx as jsx35 } from "react/jsx-runtime";
2632
+ var SidebarItemContext = React11.createContext(null);
2363
2633
  var useSidebarItemContext = () => {
2364
- const context = React10.useContext(SidebarItemContext);
2634
+ const context = React11.useContext(SidebarItemContext);
2365
2635
  if (!context) {
2366
2636
  throw new Error(
2367
2637
  "useSidebarItemContext must be used within a SidebarItem component"
@@ -2370,14 +2640,14 @@ var useSidebarItemContext = () => {
2370
2640
  return context;
2371
2641
  };
2372
2642
  var SidebarItemProvider = ({ value, children }) => {
2373
- return /* @__PURE__ */ jsx33(SidebarItemContext.Provider, { value, children });
2643
+ return /* @__PURE__ */ jsx35(SidebarItemContext.Provider, { value, children });
2374
2644
  };
2375
2645
 
2376
2646
  // src/components/Sidebar/SidebarItemIcon.tsx
2377
2647
  import ListItemIcon from "@mui/material/ListItemIcon";
2378
- import { styled as styled23 } from "@mui/material/styles";
2379
- import { jsx as jsx34 } from "react/jsx-runtime";
2380
- var SidebarItemIconRoot = styled23(ListItemIcon, {
2648
+ import { styled as styled25 } from "@mui/material/styles";
2649
+ import { jsx as jsx36 } from "react/jsx-runtime";
2650
+ var SidebarItemIconRoot = styled25(ListItemIcon, {
2381
2651
  name: "MuiSidebar",
2382
2652
  slot: "ItemIcon",
2383
2653
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -2393,7 +2663,7 @@ var SidebarItemIcon = ({
2393
2663
  }) => {
2394
2664
  const { collapsed } = useSidebar();
2395
2665
  const { isActive } = useSidebarItemContext();
2396
- return /* @__PURE__ */ jsx34(
2666
+ return /* @__PURE__ */ jsx36(
2397
2667
  SidebarItemIconRoot,
2398
2668
  {
2399
2669
  ownerState: { collapsed, isActive },
@@ -2406,9 +2676,9 @@ SidebarItemIcon.displayName = "SidebarItemIcon";
2406
2676
 
2407
2677
  // src/components/Sidebar/SidebarItemLabel.tsx
2408
2678
  import ListItemText from "@mui/material/ListItemText";
2409
- import { styled as styled24 } from "@mui/material/styles";
2410
- import { jsx as jsx35 } from "react/jsx-runtime";
2411
- var SidebarItemLabelRoot = styled24(ListItemText, {
2679
+ import { styled as styled26 } from "@mui/material/styles";
2680
+ import { jsx as jsx37 } from "react/jsx-runtime";
2681
+ var SidebarItemLabelRoot = styled26(ListItemText, {
2412
2682
  name: "MuiSidebar",
2413
2683
  slot: "ItemLabel",
2414
2684
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -2433,15 +2703,15 @@ var SidebarItemLabel = ({
2433
2703
  }) => {
2434
2704
  const { collapsed } = useSidebar();
2435
2705
  const { isActive } = useSidebarItemContext();
2436
- return /* @__PURE__ */ jsx35(SidebarItemLabelRoot, { primary: children, ownerState: { isActive, collapsed }, sx });
2706
+ return /* @__PURE__ */ jsx37(SidebarItemLabelRoot, { primary: children, ownerState: { isActive, collapsed }, sx });
2437
2707
  };
2438
2708
  SidebarItemLabel.displayName = "SidebarItemLabel";
2439
2709
 
2440
2710
  // src/components/Sidebar/SidebarItemBadge.tsx
2441
2711
  import Chip from "@mui/material/Chip";
2442
- import { styled as styled25 } from "@mui/material/styles";
2443
- import { jsx as jsx36 } from "react/jsx-runtime";
2444
- var SidebarItemBadgeRoot = styled25(Chip, {
2712
+ import { styled as styled27 } from "@mui/material/styles";
2713
+ import { jsx as jsx38 } from "react/jsx-runtime";
2714
+ var SidebarItemBadgeRoot = styled27(Chip, {
2445
2715
  name: "MuiSidebar",
2446
2716
  slot: "ItemBadge"
2447
2717
  })({
@@ -2458,20 +2728,20 @@ var SidebarItemBadge = ({
2458
2728
  if (collapsed) {
2459
2729
  return null;
2460
2730
  }
2461
- return /* @__PURE__ */ jsx36(SidebarItemBadgeRoot, { label: children, size: "small", color, sx });
2731
+ return /* @__PURE__ */ jsx38(SidebarItemBadgeRoot, { label: children, size: "small", color, sx });
2462
2732
  };
2463
2733
  SidebarItemBadge.displayName = "SidebarItemBadge";
2464
2734
 
2465
2735
  // src/components/Sidebar/SidebarItem.tsx
2466
- import { Fragment as Fragment5, jsx as jsx37, jsxs as jsxs11 } from "react/jsx-runtime";
2467
- var SidebarItemRoot = styled26(ListItem, {
2736
+ import { Fragment as Fragment5, jsx as jsx39, jsxs as jsxs12 } from "react/jsx-runtime";
2737
+ var SidebarItemRoot = styled28(ListItem, {
2468
2738
  name: "MuiSidebar",
2469
2739
  slot: "Item"
2470
2740
  })({
2471
2741
  display: "block",
2472
2742
  padding: 0
2473
2743
  });
2474
- var SidebarItemButton = styled26(ListItemButton, {
2744
+ var SidebarItemButton = styled28(ListItemButton, {
2475
2745
  name: "MuiSidebar",
2476
2746
  slot: "ItemButton",
2477
2747
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -2494,7 +2764,7 @@ var SidebarItemButton = styled26(ListItemButton, {
2494
2764
  }
2495
2765
  }
2496
2766
  }));
2497
- var SidebarItemChevron = styled26(Box14, {
2767
+ var SidebarItemChevron = styled28(Box14, {
2498
2768
  name: "MuiSidebar",
2499
2769
  slot: "ItemChevron"
2500
2770
  })({
@@ -2503,20 +2773,20 @@ var SidebarItemChevron = styled26(Box14, {
2503
2773
  display: "flex",
2504
2774
  alignItems: "center"
2505
2775
  });
2506
- var SidebarItemPopover = styled26(Popover2, {
2776
+ var SidebarItemPopover = styled28(Popover2, {
2507
2777
  name: "MuiSidebar",
2508
2778
  slot: "ItemPopover"
2509
2779
  })({
2510
2780
  pointerEvents: "none"
2511
2781
  });
2512
- var SidebarItemPopoverList = styled26(List2, {
2782
+ var SidebarItemPopoverList = styled28(List2, {
2513
2783
  name: "MuiSidebar",
2514
2784
  slot: "ItemPopoverList"
2515
2785
  })(({ theme }) => ({
2516
2786
  padding: theme.spacing(0.5),
2517
2787
  pointerEvents: "auto"
2518
2788
  }));
2519
- var SidebarItemPopoverButton = styled26(ListItemButton, {
2789
+ var SidebarItemPopoverButton = styled28(ListItemButton, {
2520
2790
  name: "MuiSidebar",
2521
2791
  slot: "ItemPopoverButton"
2522
2792
  })(({ theme }) => ({
@@ -2540,9 +2810,9 @@ var CHILD_DISPLAY_NAMES = [
2540
2810
  var separateChildren2 = (children) => {
2541
2811
  const composableChildren = [];
2542
2812
  const nestedItems = [];
2543
- React11.Children.toArray(children).forEach((child) => {
2813
+ React12.Children.toArray(children).forEach((child) => {
2544
2814
  var _a;
2545
- if (React11.isValidElement(child)) {
2815
+ if (React12.isValidElement(child)) {
2546
2816
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
2547
2817
  if (displayName && CHILD_DISPLAY_NAMES.includes(displayName)) {
2548
2818
  composableChildren.push(child);
@@ -2557,9 +2827,9 @@ var separateChildren2 = (children) => {
2557
2827
  };
2558
2828
  var getTooltipLabel = (children) => {
2559
2829
  let tooltipLabel = "";
2560
- React11.Children.forEach(children, (child) => {
2830
+ React12.Children.forEach(children, (child) => {
2561
2831
  var _a;
2562
- if (React11.isValidElement(child)) {
2832
+ if (React12.isValidElement(child)) {
2563
2833
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
2564
2834
  const props = child.props;
2565
2835
  if (displayName === "SidebarItemLabel" && props.children) {
@@ -2572,9 +2842,9 @@ var getTooltipLabel = (children) => {
2572
2842
  var extractItemContent = (itemChildren) => {
2573
2843
  let icon = null;
2574
2844
  let label = "";
2575
- React11.Children.forEach(itemChildren, (child) => {
2845
+ React12.Children.forEach(itemChildren, (child) => {
2576
2846
  var _a;
2577
- if (React11.isValidElement(child)) {
2847
+ if (React12.isValidElement(child)) {
2578
2848
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
2579
2849
  const props = child.props;
2580
2850
  if (displayName === "SidebarItemIcon") {
@@ -2597,16 +2867,16 @@ var SidebarItem = ({
2597
2867
  const hasNestedItems = nestedItems.length > 0;
2598
2868
  const isActive = activeItem === id;
2599
2869
  const isExpanded = expandedMenus[id] || false;
2600
- const hasActiveChild = React11.useMemo(() => {
2870
+ const hasActiveChild = React12.useMemo(() => {
2601
2871
  if (!hasNestedItems || !activeItem) return false;
2602
2872
  return nestedItems.some((child) => {
2603
- if (React11.isValidElement(child)) {
2873
+ if (React12.isValidElement(child)) {
2604
2874
  return child.props.id === activeItem;
2605
2875
  }
2606
2876
  return false;
2607
2877
  });
2608
2878
  }, [hasNestedItems, nestedItems, activeItem]);
2609
- const [popoverAnchor, setPopoverAnchor] = React11.useState(null);
2879
+ const [popoverAnchor, setPopoverAnchor] = React12.useState(null);
2610
2880
  const popoverOpen = Boolean(popoverAnchor);
2611
2881
  const contextValue = {
2612
2882
  id,
@@ -2633,17 +2903,17 @@ var SidebarItem = ({
2633
2903
  const tooltipLabel = getTooltipLabel(children);
2634
2904
  const ownerState = { collapsed, depth };
2635
2905
  const shouldShowSelected = isActive && !hasNestedItems || collapsed && hasActiveChild;
2636
- const buttonContent = /* @__PURE__ */ jsx37(
2906
+ const buttonContent = /* @__PURE__ */ jsx39(
2637
2907
  SidebarItemButton,
2638
2908
  {
2639
2909
  selected: shouldShowSelected,
2640
2910
  onClick: handleClick,
2641
2911
  ownerState,
2642
2912
  sx,
2643
- children: /* @__PURE__ */ jsxs11(SidebarItemProvider, { value: contextValue, children: [
2913
+ children: /* @__PURE__ */ jsxs12(SidebarItemProvider, { value: contextValue, children: [
2644
2914
  composableChildren,
2645
- !collapsed && hasNestedItems && /* @__PURE__ */ jsx37(SidebarItemChevron, { children: isExpanded ? /* @__PURE__ */ jsx37(ChevronUp, { size: 16 }) : /* @__PURE__ */ jsx37(ChevronDown2, { size: 16 }) }),
2646
- !collapsed && !hasNestedItems && /* @__PURE__ */ jsx37(Box14, { sx: { ml: "auto", width: 16, pl: 1 } })
2915
+ !collapsed && hasNestedItems && /* @__PURE__ */ jsx39(SidebarItemChevron, { children: isExpanded ? /* @__PURE__ */ jsx39(ChevronUp, { size: 16 }) : /* @__PURE__ */ jsx39(ChevronDown2, { size: 16 }) }),
2916
+ !collapsed && !hasNestedItems && /* @__PURE__ */ jsx39(Box14, { sx: { ml: "auto", width: 16, pl: 1 } })
2647
2917
  ] })
2648
2918
  }
2649
2919
  );
@@ -2652,8 +2922,8 @@ var SidebarItem = ({
2652
2922
  onSelect == null ? void 0 : onSelect(itemId);
2653
2923
  setPopoverAnchor(null);
2654
2924
  };
2655
- return /* @__PURE__ */ jsxs11(Fragment5, { children: [
2656
- /* @__PURE__ */ jsx37(
2925
+ return /* @__PURE__ */ jsxs12(Fragment5, { children: [
2926
+ /* @__PURE__ */ jsx39(
2657
2927
  SidebarItemRoot,
2658
2928
  {
2659
2929
  disablePadding: true,
@@ -2661,11 +2931,11 @@ var SidebarItem = ({
2661
2931
  onMouseLeave: handleMouseLeave,
2662
2932
  children: collapsed ? (
2663
2933
  // When collapsed: show tooltip only for items without nested children
2664
- collapsedWithNested ? buttonContent : /* @__PURE__ */ jsx37(Tooltip3, { title: tooltipLabel, placement: "right", arrow: true, children: buttonContent })
2934
+ collapsedWithNested ? buttonContent : /* @__PURE__ */ jsx39(Tooltip3, { title: tooltipLabel, placement: "right", arrow: true, children: buttonContent })
2665
2935
  ) : buttonContent
2666
2936
  }
2667
2937
  ),
2668
- collapsedWithNested && /* @__PURE__ */ jsx37(
2938
+ collapsedWithNested && /* @__PURE__ */ jsx39(
2669
2939
  SidebarItemPopover,
2670
2940
  {
2671
2941
  open: popoverOpen,
@@ -2680,19 +2950,19 @@ var SidebarItem = ({
2680
2950
  onMouseLeave: handleMouseLeave
2681
2951
  }
2682
2952
  },
2683
- children: /* @__PURE__ */ jsx37(SidebarItemPopoverList, { disablePadding: true, children: nestedItems.map((child, index) => {
2684
- if (React11.isValidElement(child)) {
2953
+ children: /* @__PURE__ */ jsx39(SidebarItemPopoverList, { disablePadding: true, children: nestedItems.map((child, index) => {
2954
+ if (React12.isValidElement(child)) {
2685
2955
  const childProps = child.props;
2686
2956
  const { icon, label } = extractItemContent(childProps.children);
2687
2957
  const isItemActive = activeItem === childProps.id;
2688
- return /* @__PURE__ */ jsxs11(
2958
+ return /* @__PURE__ */ jsxs12(
2689
2959
  SidebarItemPopoverButton,
2690
2960
  {
2691
2961
  selected: isItemActive,
2692
2962
  onClick: () => handlePopoverItemClick(childProps.id),
2693
2963
  children: [
2694
- icon && /* @__PURE__ */ jsx37(ListItemIcon2, { sx: { minWidth: "auto" }, children: icon }),
2695
- /* @__PURE__ */ jsx37(ListItemText2, { primary: label })
2964
+ icon && /* @__PURE__ */ jsx39(ListItemIcon2, { sx: { minWidth: "auto" }, children: icon }),
2965
+ /* @__PURE__ */ jsx39(ListItemText2, { primary: label })
2696
2966
  ]
2697
2967
  },
2698
2968
  childProps.id || index
@@ -2702,9 +2972,9 @@ var SidebarItem = ({
2702
2972
  }) })
2703
2973
  }
2704
2974
  ),
2705
- hasNestedItems && !collapsed && /* @__PURE__ */ jsx37(Collapse, { in: isExpanded, timeout: "auto", unmountOnExit: true, children: /* @__PURE__ */ jsx37(List2, { disablePadding: true, children: nestedItems.map((child, index) => {
2706
- if (React11.isValidElement(child)) {
2707
- return React11.cloneElement(child, {
2975
+ hasNestedItems && !collapsed && /* @__PURE__ */ jsx39(Collapse, { in: isExpanded, timeout: "auto", unmountOnExit: true, children: /* @__PURE__ */ jsx39(List2, { disablePadding: true, children: nestedItems.map((child, index) => {
2976
+ if (React12.isValidElement(child)) {
2977
+ return React12.cloneElement(child, {
2708
2978
  key: child.key || index,
2709
2979
  depth: depth + 1
2710
2980
  });
@@ -2718,9 +2988,9 @@ SidebarItem.displayName = "SidebarItem";
2718
2988
  // src/components/Sidebar/SidebarFooter.tsx
2719
2989
  import Box15 from "@mui/material/Box";
2720
2990
  import Divider4 from "@mui/material/Divider";
2721
- import { styled as styled27 } from "@mui/material/styles";
2722
- import { Fragment as Fragment6, jsx as jsx38, jsxs as jsxs12 } from "react/jsx-runtime";
2723
- var SidebarFooterRoot = styled27(Box15, {
2991
+ import { styled as styled29 } from "@mui/material/styles";
2992
+ import { Fragment as Fragment6, jsx as jsx40, jsxs as jsxs13 } from "react/jsx-runtime";
2993
+ var SidebarFooterRoot = styled29(Box15, {
2724
2994
  name: "MuiSidebar",
2725
2995
  slot: "Footer"
2726
2996
  })(({ theme }) => ({
@@ -2732,25 +3002,25 @@ var SidebarFooter = ({
2732
3002
  showDivider = true,
2733
3003
  sx
2734
3004
  }) => {
2735
- return /* @__PURE__ */ jsxs12(Fragment6, { children: [
2736
- showDivider && /* @__PURE__ */ jsx38(Divider4, {}),
2737
- /* @__PURE__ */ jsx38(SidebarFooterRoot, { sx, children })
3005
+ return /* @__PURE__ */ jsxs13(Fragment6, { children: [
3006
+ showDivider && /* @__PURE__ */ jsx40(Divider4, {}),
3007
+ /* @__PURE__ */ jsx40(SidebarFooterRoot, { sx, children })
2738
3008
  ] });
2739
3009
  };
2740
3010
 
2741
3011
  // src/components/Sidebar/SidebarUser.tsx
2742
- import * as React12 from "react";
3012
+ import * as React13 from "react";
2743
3013
  import Box16 from "@mui/material/Box";
2744
3014
  import ListItemButton2 from "@mui/material/ListItemButton";
2745
3015
  import Tooltip4 from "@mui/material/Tooltip";
2746
3016
  import Divider5 from "@mui/material/Divider";
2747
- import { styled as styled31 } from "@mui/material/styles";
3017
+ import { styled as styled33 } from "@mui/material/styles";
2748
3018
 
2749
3019
  // src/components/Sidebar/SidebarUserAvatar.tsx
2750
3020
  import Avatar2 from "@mui/material/Avatar";
2751
- import { styled as styled28 } from "@mui/material/styles";
2752
- import { jsx as jsx39 } from "react/jsx-runtime";
2753
- var SidebarUserAvatarRoot = styled28(Avatar2, {
3021
+ import { styled as styled30 } from "@mui/material/styles";
3022
+ import { jsx as jsx41 } from "react/jsx-runtime";
3023
+ var SidebarUserAvatarRoot = styled30(Avatar2, {
2754
3024
  name: "MuiSidebar",
2755
3025
  slot: "UserAvatar"
2756
3026
  })(({ theme }) => ({
@@ -2766,15 +3036,15 @@ var SidebarUserAvatar = ({
2766
3036
  alt,
2767
3037
  sx
2768
3038
  }) => {
2769
- return /* @__PURE__ */ jsx39(SidebarUserAvatarRoot, { src, alt, sx, children });
3039
+ return /* @__PURE__ */ jsx41(SidebarUserAvatarRoot, { src, alt, sx, children });
2770
3040
  };
2771
3041
  SidebarUserAvatar.displayName = "SidebarUserAvatar";
2772
3042
 
2773
3043
  // src/components/Sidebar/SidebarUserName.tsx
2774
- import Typography7 from "@mui/material/Typography";
2775
- import { styled as styled29 } from "@mui/material/styles";
2776
- import { jsx as jsx40 } from "react/jsx-runtime";
2777
- var SidebarUserNameRoot = styled29(Typography7, {
3044
+ import Typography8 from "@mui/material/Typography";
3045
+ import { styled as styled31 } from "@mui/material/styles";
3046
+ import { jsx as jsx42 } from "react/jsx-runtime";
3047
+ var SidebarUserNameRoot = styled31(Typography8, {
2778
3048
  name: "MuiSidebar",
2779
3049
  slot: "UserName"
2780
3050
  })({
@@ -2791,15 +3061,15 @@ var SidebarUserName = ({
2791
3061
  if (collapsed) {
2792
3062
  return null;
2793
3063
  }
2794
- return /* @__PURE__ */ jsx40(SidebarUserNameRoot, { variant: "body2", sx, children });
3064
+ return /* @__PURE__ */ jsx42(SidebarUserNameRoot, { variant: "body2", sx, children });
2795
3065
  };
2796
3066
  SidebarUserName.displayName = "SidebarUserName";
2797
3067
 
2798
3068
  // src/components/Sidebar/SidebarUserEmail.tsx
2799
- import Typography8 from "@mui/material/Typography";
2800
- import { styled as styled30 } from "@mui/material/styles";
2801
- import { jsx as jsx41 } from "react/jsx-runtime";
2802
- var SidebarUserEmailRoot = styled30(Typography8, {
3069
+ import Typography9 from "@mui/material/Typography";
3070
+ import { styled as styled32 } from "@mui/material/styles";
3071
+ import { jsx as jsx43 } from "react/jsx-runtime";
3072
+ var SidebarUserEmailRoot = styled32(Typography9, {
2803
3073
  name: "MuiSidebar",
2804
3074
  slot: "UserEmail"
2805
3075
  })(({ theme }) => ({
@@ -2817,19 +3087,19 @@ var SidebarUserEmail = ({
2817
3087
  if (collapsed) {
2818
3088
  return null;
2819
3089
  }
2820
- return /* @__PURE__ */ jsx41(SidebarUserEmailRoot, { variant: "caption", sx, children });
3090
+ return /* @__PURE__ */ jsx43(SidebarUserEmailRoot, { variant: "caption", sx, children });
2821
3091
  };
2822
3092
  SidebarUserEmail.displayName = "SidebarUserEmail";
2823
3093
 
2824
3094
  // src/components/Sidebar/SidebarUser.tsx
2825
- import { Fragment as Fragment7, jsx as jsx42, jsxs as jsxs13 } from "react/jsx-runtime";
2826
- var SidebarUserRoot = styled31(Box16, {
3095
+ import { Fragment as Fragment7, jsx as jsx44, jsxs as jsxs14 } from "react/jsx-runtime";
3096
+ var SidebarUserRoot = styled33(Box16, {
2827
3097
  name: "MuiSidebar",
2828
3098
  slot: "User"
2829
3099
  })(({ theme }) => ({
2830
3100
  padding: theme.spacing(2)
2831
3101
  }));
2832
- var SidebarUserButton = styled31(ListItemButton2, {
3102
+ var SidebarUserButton = styled33(ListItemButton2, {
2833
3103
  name: "MuiSidebar",
2834
3104
  slot: "UserButton",
2835
3105
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -2846,7 +3116,7 @@ var SidebarUserButton = styled31(ListItemButton2, {
2846
3116
  duration: ownerState.collapsed ? theme.transitions.duration.leavingScreen : theme.transitions.duration.enteringScreen
2847
3117
  })
2848
3118
  }));
2849
- var SidebarUserTextContainer = styled31(Box16, {
3119
+ var SidebarUserTextContainer = styled33(Box16, {
2850
3120
  name: "MuiSidebar",
2851
3121
  slot: "UserTextContainer",
2852
3122
  shouldForwardProp: (prop) => prop !== "collapsed"
@@ -2864,9 +3134,9 @@ var SidebarUserTextContainer = styled31(Box16, {
2864
3134
  var separateChildren3 = (children) => {
2865
3135
  let avatarChild = null;
2866
3136
  const textChildren = [];
2867
- React12.Children.forEach(children, (child) => {
3137
+ React13.Children.forEach(children, (child) => {
2868
3138
  var _a;
2869
- if (React12.isValidElement(child)) {
3139
+ if (React13.isValidElement(child)) {
2870
3140
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
2871
3141
  if (displayName === "SidebarUserAvatar") {
2872
3142
  avatarChild = child;
@@ -2879,9 +3149,9 @@ var separateChildren3 = (children) => {
2879
3149
  };
2880
3150
  var getTooltipText = (children) => {
2881
3151
  let tooltipText = "";
2882
- React12.Children.forEach(children, (child) => {
3152
+ React13.Children.forEach(children, (child) => {
2883
3153
  var _a;
2884
- if (React12.isValidElement(child)) {
3154
+ if (React13.isValidElement(child)) {
2885
3155
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
2886
3156
  const props = child.props;
2887
3157
  if (displayName === "SidebarUserName" && props.children) {
@@ -2901,22 +3171,22 @@ var SidebarUser = ({
2901
3171
  const { avatarChild, textChildren } = separateChildren3(children);
2902
3172
  const tooltipText = getTooltipText(children);
2903
3173
  const ownerState = { collapsed };
2904
- const content = /* @__PURE__ */ jsxs13(SidebarUserButton, { onClick, ownerState, children: [
3174
+ const content = /* @__PURE__ */ jsxs14(SidebarUserButton, { onClick, ownerState, children: [
2905
3175
  avatarChild,
2906
- /* @__PURE__ */ jsx42(SidebarUserTextContainer, { collapsed, children: textChildren })
3176
+ /* @__PURE__ */ jsx44(SidebarUserTextContainer, { collapsed, children: textChildren })
2907
3177
  ] });
2908
- return /* @__PURE__ */ jsxs13(Fragment7, { children: [
2909
- showDivider && /* @__PURE__ */ jsx42(Divider5, {}),
2910
- /* @__PURE__ */ jsx42(SidebarUserRoot, { sx, children: collapsed ? /* @__PURE__ */ jsx42(Tooltip4, { title: tooltipText, placement: "right", arrow: true, children: content }) : content })
3178
+ return /* @__PURE__ */ jsxs14(Fragment7, { children: [
3179
+ showDivider && /* @__PURE__ */ jsx44(Divider5, {}),
3180
+ /* @__PURE__ */ jsx44(SidebarUserRoot, { sx, children: collapsed ? /* @__PURE__ */ jsx44(Tooltip4, { title: tooltipText, placement: "right", arrow: true, children: content }) : content })
2911
3181
  ] });
2912
3182
  };
2913
3183
  SidebarUser.displayName = "SidebarUser";
2914
3184
 
2915
3185
  // src/components/Sidebar/Sidebar.tsx
2916
- import { jsx as jsx43 } from "react/jsx-runtime";
3186
+ import { jsx as jsx45 } from "react/jsx-runtime";
2917
3187
  var SIDEBAR_WIDTH = 250;
2918
3188
  var COLLAPSED_SIDEBAR_WIDTH = 64;
2919
- var SidebarRootStyled = styled32(Box17, {
3189
+ var SidebarRootStyled = styled34(Box17, {
2920
3190
  name: "MuiSidebar",
2921
3191
  slot: "Root",
2922
3192
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -2931,7 +3201,13 @@ var SidebarRootStyled = styled32(Box17, {
2931
3201
  height: "100%",
2932
3202
  backgroundColor: (theme.vars || theme).palette.background.paper,
2933
3203
  borderRight: `1px solid ${(theme.vars || theme).palette.divider}`,
2934
- overflow: "hidden"
3204
+ overflow: "hidden",
3205
+ "& a": {
3206
+ textDecoration: "none",
3207
+ "&:hover": {
3208
+ textDecoration: "none"
3209
+ }
3210
+ }
2935
3211
  }));
2936
3212
  var Sidebar = ({
2937
3213
  collapsed = false,
@@ -2944,7 +3220,7 @@ var Sidebar = ({
2944
3220
  collapsedWidth = COLLAPSED_SIDEBAR_WIDTH,
2945
3221
  sx
2946
3222
  }) => {
2947
- const contextValue = React13.useMemo(
3223
+ const contextValue = React14.useMemo(
2948
3224
  () => ({
2949
3225
  collapsed,
2950
3226
  activeItem,
@@ -2955,7 +3231,7 @@ var Sidebar = ({
2955
3231
  [collapsed, activeItem, expandedMenus, onSelect, onToggleExpand]
2956
3232
  );
2957
3233
  const ownerState = { collapsed, width, collapsedWidth };
2958
- return /* @__PURE__ */ jsx43(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx43(SidebarRootStyled, { component: "aside", ownerState, sx, children }) });
3234
+ return /* @__PURE__ */ jsx45(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx45(SidebarRootStyled, { component: "aside", ownerState, sx, children }) });
2959
3235
  };
2960
3236
  Sidebar.Nav = SidebarNav;
2961
3237
  Sidebar.Category = SidebarCategory;
@@ -2972,15 +3248,15 @@ Sidebar.UserEmail = SidebarUserEmail;
2972
3248
  Sidebar.displayName = "Sidebar";
2973
3249
 
2974
3250
  // src/components/NotificationPanel/NotificationPanel.tsx
2975
- import * as React19 from "react";
3251
+ import * as React20 from "react";
2976
3252
  import Drawer from "@mui/material/Drawer";
2977
- import { styled as styled48 } from "@mui/material/styles";
3253
+ import { styled as styled50 } from "@mui/material/styles";
2978
3254
 
2979
3255
  // src/components/NotificationPanel/context.ts
2980
- import * as React14 from "react";
2981
- var NotificationPanelContext = React14.createContext(null);
3256
+ import * as React15 from "react";
3257
+ var NotificationPanelContext = React15.createContext(null);
2982
3258
  var useNotificationPanel = () => {
2983
- const context = React14.useContext(NotificationPanelContext);
3259
+ const context = React15.useContext(NotificationPanelContext);
2984
3260
  if (!context) {
2985
3261
  throw new Error(
2986
3262
  "NotificationPanel compound components must be used within NotificationPanel"
@@ -2990,11 +3266,11 @@ var useNotificationPanel = () => {
2990
3266
  };
2991
3267
 
2992
3268
  // src/components/NotificationPanel/NotificationHeader.tsx
2993
- import * as React15 from "react";
3269
+ import * as React16 from "react";
2994
3270
  import Box18 from "@mui/material/Box";
2995
- import { styled as styled33 } from "@mui/material/styles";
2996
- import { jsx as jsx44, jsxs as jsxs14 } from "react/jsx-runtime";
2997
- var NotificationHeaderRoot = styled33(Box18, {
3271
+ import { styled as styled35 } from "@mui/material/styles";
3272
+ import { jsx as jsx46, jsxs as jsxs15 } from "react/jsx-runtime";
3273
+ var NotificationHeaderRoot = styled35(Box18, {
2998
3274
  name: "MuiNotificationPanel",
2999
3275
  slot: "Header"
3000
3276
  })(({ theme }) => ({
@@ -3004,7 +3280,7 @@ var NotificationHeaderRoot = styled33(Box18, {
3004
3280
  padding: theme.spacing(2),
3005
3281
  borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`
3006
3282
  }));
3007
- var NotificationHeaderContent = styled33(Box18, {
3283
+ var NotificationHeaderContent = styled35(Box18, {
3008
3284
  name: "MuiNotificationPanel",
3009
3285
  slot: "HeaderContent"
3010
3286
  })(({ theme }) => ({
@@ -3015,9 +3291,9 @@ var NotificationHeaderContent = styled33(Box18, {
3015
3291
  var separateChildren4 = (children) => {
3016
3292
  const leftChildren = [];
3017
3293
  let closeChild = null;
3018
- React15.Children.forEach(children, (child) => {
3294
+ React16.Children.forEach(children, (child) => {
3019
3295
  var _a;
3020
- if (React15.isValidElement(child)) {
3296
+ if (React16.isValidElement(child)) {
3021
3297
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
3022
3298
  if (displayName === "NotificationHeaderClose") {
3023
3299
  closeChild = child;
@@ -3035,8 +3311,8 @@ var NotificationHeader = ({
3035
3311
  sx
3036
3312
  }) => {
3037
3313
  const { leftChildren, closeChild } = separateChildren4(children);
3038
- return /* @__PURE__ */ jsxs14(NotificationHeaderRoot, { sx, children: [
3039
- /* @__PURE__ */ jsx44(NotificationHeaderContent, { children: leftChildren }),
3314
+ return /* @__PURE__ */ jsxs15(NotificationHeaderRoot, { sx, children: [
3315
+ /* @__PURE__ */ jsx46(NotificationHeaderContent, { children: leftChildren }),
3040
3316
  closeChild
3041
3317
  ] });
3042
3318
  };
@@ -3044,9 +3320,9 @@ NotificationHeader.displayName = "NotificationHeader";
3044
3320
 
3045
3321
  // src/components/NotificationPanel/NotificationHeaderIcon.tsx
3046
3322
  import Box19 from "@mui/material/Box";
3047
- import { styled as styled34 } from "@mui/material/styles";
3048
- import { jsx as jsx45 } from "react/jsx-runtime";
3049
- var NotificationHeaderIconRoot = styled34(Box19, {
3323
+ import { styled as styled36 } from "@mui/material/styles";
3324
+ import { jsx as jsx47 } from "react/jsx-runtime";
3325
+ var NotificationHeaderIconRoot = styled36(Box19, {
3050
3326
  name: "MuiNotificationPanel",
3051
3327
  slot: "HeaderIcon"
3052
3328
  })({
@@ -3057,15 +3333,15 @@ var NotificationHeaderIcon = ({
3057
3333
  children,
3058
3334
  sx
3059
3335
  }) => {
3060
- return /* @__PURE__ */ jsx45(NotificationHeaderIconRoot, { sx, children });
3336
+ return /* @__PURE__ */ jsx47(NotificationHeaderIconRoot, { sx, children });
3061
3337
  };
3062
3338
  NotificationHeaderIcon.displayName = "NotificationHeaderIcon";
3063
3339
 
3064
3340
  // src/components/NotificationPanel/NotificationHeaderTitle.tsx
3065
- import Typography9 from "@mui/material/Typography";
3066
- import { styled as styled35 } from "@mui/material/styles";
3067
- import { jsx as jsx46 } from "react/jsx-runtime";
3068
- var NotificationHeaderTitleRoot = styled35(Typography9, {
3341
+ import Typography10 from "@mui/material/Typography";
3342
+ import { styled as styled37 } from "@mui/material/styles";
3343
+ import { jsx as jsx48 } from "react/jsx-runtime";
3344
+ var NotificationHeaderTitleRoot = styled37(Typography10, {
3069
3345
  name: "MuiNotificationPanel",
3070
3346
  slot: "HeaderTitle"
3071
3347
  })({
@@ -3075,15 +3351,15 @@ var NotificationHeaderTitle = ({
3075
3351
  children,
3076
3352
  sx
3077
3353
  }) => {
3078
- return /* @__PURE__ */ jsx46(NotificationHeaderTitleRoot, { variant: "h6", sx, children });
3354
+ return /* @__PURE__ */ jsx48(NotificationHeaderTitleRoot, { variant: "h6", sx, children });
3079
3355
  };
3080
3356
  NotificationHeaderTitle.displayName = "NotificationHeaderTitle";
3081
3357
 
3082
3358
  // src/components/NotificationPanel/NotificationHeaderBadge.tsx
3083
3359
  import Chip2 from "@mui/material/Chip";
3084
- import { styled as styled36 } from "@mui/material/styles";
3085
- import { jsx as jsx47 } from "react/jsx-runtime";
3086
- var NotificationHeaderBadgeRoot = styled36(Chip2, {
3360
+ import { styled as styled38 } from "@mui/material/styles";
3361
+ import { jsx as jsx49 } from "react/jsx-runtime";
3362
+ var NotificationHeaderBadgeRoot = styled38(Chip2, {
3087
3363
  name: "MuiNotificationPanel",
3088
3364
  slot: "HeaderBadge"
3089
3365
  })({
@@ -3098,16 +3374,16 @@ var NotificationHeaderBadge = ({
3098
3374
  if (!children || children === 0 || children === "0") {
3099
3375
  return null;
3100
3376
  }
3101
- return /* @__PURE__ */ jsx47(NotificationHeaderBadgeRoot, { label: children, size: "small", color, sx });
3377
+ return /* @__PURE__ */ jsx49(NotificationHeaderBadgeRoot, { label: children, size: "small", color, sx });
3102
3378
  };
3103
3379
  NotificationHeaderBadge.displayName = "NotificationHeaderBadge";
3104
3380
 
3105
3381
  // src/components/NotificationPanel/NotificationHeaderClose.tsx
3106
3382
  import IconButton4 from "@mui/material/IconButton";
3107
- import { styled as styled37 } from "@mui/material/styles";
3383
+ import { styled as styled39 } from "@mui/material/styles";
3108
3384
  import { X as X2 } from "@wso2/oxygen-ui-icons-react";
3109
- import { jsx as jsx48 } from "react/jsx-runtime";
3110
- var NotificationHeaderCloseRoot = styled37(IconButton4, {
3385
+ import { jsx as jsx50 } from "react/jsx-runtime";
3386
+ var NotificationHeaderCloseRoot = styled39(IconButton4, {
3111
3387
  name: "MuiNotificationPanel",
3112
3388
  slot: "HeaderClose"
3113
3389
  })({});
@@ -3124,7 +3400,7 @@ var NotificationHeaderClose = ({
3124
3400
  onClose == null ? void 0 : onClose();
3125
3401
  }
3126
3402
  };
3127
- return /* @__PURE__ */ jsx48(NotificationHeaderCloseRoot, { onClick: handleClick, size: "small", sx, children: children || /* @__PURE__ */ jsx48(X2, { size: 20 }) });
3403
+ return /* @__PURE__ */ jsx50(NotificationHeaderCloseRoot, { onClick: handleClick, size: "small", sx, children: children || /* @__PURE__ */ jsx50(X2, { size: 20 }) });
3128
3404
  };
3129
3405
  NotificationHeaderClose.displayName = "NotificationHeaderClose";
3130
3406
 
@@ -3133,15 +3409,15 @@ import Box20 from "@mui/material/Box";
3133
3409
  import Tabs from "@mui/material/Tabs";
3134
3410
  import Tab from "@mui/material/Tab";
3135
3411
  import Chip3 from "@mui/material/Chip";
3136
- import { styled as styled38 } from "@mui/material/styles";
3137
- import { jsx as jsx49, jsxs as jsxs15 } from "react/jsx-runtime";
3138
- var NotificationTabsRoot = styled38(Box20, {
3412
+ import { styled as styled40 } from "@mui/material/styles";
3413
+ import { jsx as jsx51, jsxs as jsxs16 } from "react/jsx-runtime";
3414
+ var NotificationTabsRoot = styled40(Box20, {
3139
3415
  name: "MuiNotificationPanel",
3140
3416
  slot: "Tabs"
3141
3417
  })(({ theme }) => ({
3142
3418
  borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`
3143
3419
  }));
3144
- var NotificationTabsInner = styled38(Tabs, {
3420
+ var NotificationTabsInner = styled40(Tabs, {
3145
3421
  name: "MuiNotificationPanel",
3146
3422
  slot: "TabsInner"
3147
3423
  })({
@@ -3152,7 +3428,7 @@ var NotificationTabsInner = styled38(Tabs, {
3152
3428
  fontWeight: 500
3153
3429
  }
3154
3430
  });
3155
- var NotificationTabLabel = styled38(Box20, {
3431
+ var NotificationTabLabel = styled40(Box20, {
3156
3432
  name: "MuiNotificationPanel",
3157
3433
  slot: "TabLabel"
3158
3434
  })(({ theme }) => ({
@@ -3160,7 +3436,7 @@ var NotificationTabLabel = styled38(Box20, {
3160
3436
  alignItems: "center",
3161
3437
  gap: theme.spacing(1)
3162
3438
  }));
3163
- var NotificationTabCount = styled38(Chip3, {
3439
+ var NotificationTabCount = styled40(Chip3, {
3164
3440
  name: "MuiNotificationPanel",
3165
3441
  slot: "TabCount"
3166
3442
  })({
@@ -3173,18 +3449,18 @@ var NotificationTabs = ({
3173
3449
  onChange,
3174
3450
  sx
3175
3451
  }) => {
3176
- return /* @__PURE__ */ jsx49(NotificationTabsRoot, { sx, children: /* @__PURE__ */ jsx49(
3452
+ return /* @__PURE__ */ jsx51(NotificationTabsRoot, { sx, children: /* @__PURE__ */ jsx51(
3177
3453
  NotificationTabsInner,
3178
3454
  {
3179
3455
  value,
3180
3456
  onChange: (_, newValue) => onChange(newValue),
3181
3457
  variant: "fullWidth",
3182
- children: tabs.map((tab, index) => /* @__PURE__ */ jsx49(
3458
+ children: tabs.map((tab, index) => /* @__PURE__ */ jsx51(
3183
3459
  Tab,
3184
3460
  {
3185
- label: /* @__PURE__ */ jsxs15(NotificationTabLabel, { children: [
3461
+ label: /* @__PURE__ */ jsxs16(NotificationTabLabel, { children: [
3186
3462
  tab.label,
3187
- tab.count !== void 0 && tab.count > 0 && /* @__PURE__ */ jsx49(
3463
+ tab.count !== void 0 && tab.count > 0 && /* @__PURE__ */ jsx51(
3188
3464
  NotificationTabCount,
3189
3465
  {
3190
3466
  label: tab.count,
@@ -3203,11 +3479,11 @@ var NotificationTabs = ({
3203
3479
 
3204
3480
  // src/components/NotificationPanel/NotificationActions.tsx
3205
3481
  import Box21 from "@mui/material/Box";
3206
- import Button2 from "@mui/material/Button";
3207
- import { styled as styled39 } from "@mui/material/styles";
3482
+ import Button3 from "@mui/material/Button";
3483
+ import { styled as styled41 } from "@mui/material/styles";
3208
3484
  import { CheckCheck, Trash2 } from "@wso2/oxygen-ui-icons-react";
3209
- import { jsx as jsx50, jsxs as jsxs16 } from "react/jsx-runtime";
3210
- var NotificationActionsRoot = styled39(Box21, {
3485
+ import { jsx as jsx52, jsxs as jsxs17 } from "react/jsx-runtime";
3486
+ var NotificationActionsRoot = styled41(Box21, {
3211
3487
  name: "MuiNotificationPanel",
3212
3488
  slot: "Actions"
3213
3489
  })(({ theme }) => ({
@@ -3219,7 +3495,7 @@ var NotificationActionsRoot = styled39(Box21, {
3219
3495
  borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
3220
3496
  backgroundColor: (theme.vars || theme).palette.action.hover
3221
3497
  }));
3222
- var NotificationActionButton = styled39(Button2, {
3498
+ var NotificationActionButton = styled41(Button3, {
3223
3499
  name: "MuiNotificationPanel",
3224
3500
  slot: "ActionButton"
3225
3501
  })({
@@ -3232,21 +3508,21 @@ var NotificationActions = ({
3232
3508
  onClearAll,
3233
3509
  sx
3234
3510
  }) => {
3235
- return /* @__PURE__ */ jsxs16(NotificationActionsRoot, { sx, children: [
3236
- hasUnread && onMarkAllRead && /* @__PURE__ */ jsx50(
3511
+ return /* @__PURE__ */ jsxs17(NotificationActionsRoot, { sx, children: [
3512
+ hasUnread && onMarkAllRead && /* @__PURE__ */ jsx52(
3237
3513
  NotificationActionButton,
3238
3514
  {
3239
3515
  size: "small",
3240
- startIcon: /* @__PURE__ */ jsx50(CheckCheck, { size: 14 }),
3516
+ startIcon: /* @__PURE__ */ jsx52(CheckCheck, { size: 14 }),
3241
3517
  onClick: onMarkAllRead,
3242
3518
  children: "Mark all read"
3243
3519
  }
3244
3520
  ),
3245
- onClearAll && /* @__PURE__ */ jsx50(
3521
+ onClearAll && /* @__PURE__ */ jsx52(
3246
3522
  NotificationActionButton,
3247
3523
  {
3248
3524
  size: "small",
3249
- startIcon: /* @__PURE__ */ jsx50(Trash2, { size: 14 }),
3525
+ startIcon: /* @__PURE__ */ jsx52(Trash2, { size: 14 }),
3250
3526
  onClick: onClearAll,
3251
3527
  color: "error",
3252
3528
  children: "Clear all"
@@ -3256,13 +3532,13 @@ var NotificationActions = ({
3256
3532
  };
3257
3533
 
3258
3534
  // src/components/NotificationPanel/NotificationList.tsx
3259
- import * as React16 from "react";
3535
+ import * as React17 from "react";
3260
3536
  import Box22 from "@mui/material/Box";
3261
3537
  import List3 from "@mui/material/List";
3262
3538
  import Divider6 from "@mui/material/Divider";
3263
- import { styled as styled40 } from "@mui/material/styles";
3264
- import { jsx as jsx51, jsxs as jsxs17 } from "react/jsx-runtime";
3265
- var NotificationListRoot = styled40(Box22, {
3539
+ import { styled as styled42 } from "@mui/material/styles";
3540
+ import { jsx as jsx53, jsxs as jsxs18 } from "react/jsx-runtime";
3541
+ var NotificationListRoot = styled42(Box22, {
3266
3542
  name: "MuiNotificationPanel",
3267
3543
  slot: "List"
3268
3544
  })({
@@ -3274,21 +3550,21 @@ var NotificationList = ({
3274
3550
  showDividers = true,
3275
3551
  sx
3276
3552
  }) => {
3277
- const childArray = React16.Children.toArray(children);
3278
- return /* @__PURE__ */ jsx51(NotificationListRoot, { sx, children: /* @__PURE__ */ jsx51(List3, { disablePadding: true, children: childArray.map((child, index) => /* @__PURE__ */ jsxs17(React16.Fragment, { children: [
3553
+ const childArray = React17.Children.toArray(children);
3554
+ return /* @__PURE__ */ jsx53(NotificationListRoot, { sx, children: /* @__PURE__ */ jsx53(List3, { disablePadding: true, children: childArray.map((child, index) => /* @__PURE__ */ jsxs18(React17.Fragment, { children: [
3279
3555
  child,
3280
- showDividers && index < childArray.length - 1 && /* @__PURE__ */ jsx51(Divider6, {})
3556
+ showDividers && index < childArray.length - 1 && /* @__PURE__ */ jsx53(Divider6, {})
3281
3557
  ] }, index)) }) });
3282
3558
  };
3283
3559
 
3284
3560
  // src/components/NotificationPanel/NotificationItem.tsx
3285
- import * as React18 from "react";
3561
+ import * as React19 from "react";
3286
3562
  import Box23 from "@mui/material/Box";
3287
3563
  import ListItem2 from "@mui/material/ListItem";
3288
3564
  import ListItemButton3 from "@mui/material/ListItemButton";
3289
3565
  import ListItemText3 from "@mui/material/ListItemText";
3290
3566
  import IconButton5 from "@mui/material/IconButton";
3291
- import { styled as styled41 } from "@mui/material/styles";
3567
+ import { styled as styled43 } from "@mui/material/styles";
3292
3568
  import { X as X3 } from "@wso2/oxygen-ui-icons-react";
3293
3569
 
3294
3570
  // src/components/NotificationPanel/utils.ts
@@ -3328,11 +3604,11 @@ var getNotificationTypeProps = (type) => {
3328
3604
  };
3329
3605
 
3330
3606
  // src/components/NotificationPanel/NotificationItemContext.tsx
3331
- import * as React17 from "react";
3332
- import { jsx as jsx52 } from "react/jsx-runtime";
3333
- var NotificationItemContext = React17.createContext(null);
3607
+ import * as React18 from "react";
3608
+ import { jsx as jsx54 } from "react/jsx-runtime";
3609
+ var NotificationItemContext = React18.createContext(null);
3334
3610
  var useNotificationItemContext = () => {
3335
- const context = React17.useContext(NotificationItemContext);
3611
+ const context = React18.useContext(NotificationItemContext);
3336
3612
  if (!context) {
3337
3613
  throw new Error(
3338
3614
  "useNotificationItemContext must be used within a NotificationItem component"
@@ -3341,12 +3617,12 @@ var useNotificationItemContext = () => {
3341
3617
  return context;
3342
3618
  };
3343
3619
  var NotificationItemProvider = ({ value, children }) => {
3344
- return /* @__PURE__ */ jsx52(NotificationItemContext.Provider, { value, children });
3620
+ return /* @__PURE__ */ jsx54(NotificationItemContext.Provider, { value, children });
3345
3621
  };
3346
3622
 
3347
3623
  // src/components/NotificationPanel/NotificationItem.tsx
3348
- import { jsx as jsx53, jsxs as jsxs18 } from "react/jsx-runtime";
3349
- var NotificationItemRoot = styled41(ListItem2, {
3624
+ import { jsx as jsx55, jsxs as jsxs19 } from "react/jsx-runtime";
3625
+ var NotificationItemRoot = styled43(ListItem2, {
3350
3626
  name: "MuiNotificationPanel",
3351
3627
  slot: "Item",
3352
3628
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -3356,13 +3632,13 @@ var NotificationItemRoot = styled41(ListItem2, {
3356
3632
  backgroundColor: (theme.vars || theme).palette.action.selected
3357
3633
  }
3358
3634
  }));
3359
- var NotificationItemButton = styled41(ListItemButton3, {
3635
+ var NotificationItemButton = styled43(ListItemButton3, {
3360
3636
  name: "MuiNotificationPanel",
3361
3637
  slot: "ItemButton"
3362
3638
  })(({ theme }) => ({
3363
3639
  paddingRight: theme.spacing(6)
3364
3640
  }));
3365
- var NotificationItemDismiss = styled41(IconButton5, {
3641
+ var NotificationItemDismiss = styled43(IconButton5, {
3366
3642
  name: "MuiNotificationPanel",
3367
3643
  slot: "ItemDismiss"
3368
3644
  })({
@@ -3371,7 +3647,7 @@ var NotificationItemDismiss = styled41(IconButton5, {
3371
3647
  opacity: 1
3372
3648
  }
3373
3649
  });
3374
- var NotificationItemFooter = styled41(Box23, {
3650
+ var NotificationItemFooter = styled43(Box23, {
3375
3651
  name: "MuiNotificationPanel",
3376
3652
  slot: "ItemFooter"
3377
3653
  })(({ theme }) => ({
@@ -3386,9 +3662,9 @@ var separateChildren5 = (children) => {
3386
3662
  let messageChild = null;
3387
3663
  let timestampChild = null;
3388
3664
  let actionChild = null;
3389
- React18.Children.forEach(children, (child) => {
3665
+ React19.Children.forEach(children, (child) => {
3390
3666
  var _a;
3391
- if (React18.isValidElement(child)) {
3667
+ if (React19.isValidElement(child)) {
3392
3668
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
3393
3669
  switch (displayName) {
3394
3670
  case "NotificationItemAvatar":
@@ -3438,12 +3714,12 @@ var NotificationItem = ({
3438
3714
  onAction == null ? void 0 : onAction();
3439
3715
  };
3440
3716
  const ownerState = { read };
3441
- return /* @__PURE__ */ jsx53(NotificationItemProvider, { value: contextValue, children: /* @__PURE__ */ jsx53(
3717
+ return /* @__PURE__ */ jsx55(NotificationItemProvider, { value: contextValue, children: /* @__PURE__ */ jsx55(
3442
3718
  NotificationItemRoot,
3443
3719
  {
3444
3720
  disablePadding: true,
3445
3721
  ownerState,
3446
- secondaryAction: onDismiss && /* @__PURE__ */ jsx53(
3722
+ secondaryAction: onDismiss && /* @__PURE__ */ jsx55(
3447
3723
  NotificationItemDismiss,
3448
3724
  {
3449
3725
  size: "small",
@@ -3451,19 +3727,19 @@ var NotificationItem = ({
3451
3727
  e.stopPropagation();
3452
3728
  onDismiss(id);
3453
3729
  },
3454
- children: /* @__PURE__ */ jsx53(X3, { size: 16 })
3730
+ children: /* @__PURE__ */ jsx55(X3, { size: 16 })
3455
3731
  }
3456
3732
  ),
3457
3733
  sx,
3458
- children: /* @__PURE__ */ jsxs18(NotificationItemButton, { onClick: handleClick, children: [
3734
+ children: /* @__PURE__ */ jsxs19(NotificationItemButton, { onClick: handleClick, children: [
3459
3735
  avatarChild,
3460
- /* @__PURE__ */ jsx53(
3736
+ /* @__PURE__ */ jsx55(
3461
3737
  ListItemText3,
3462
3738
  {
3463
3739
  primary: titleChild,
3464
- secondary: /* @__PURE__ */ jsxs18(Box23, { component: "span", children: [
3740
+ secondary: /* @__PURE__ */ jsxs19(Box23, { component: "span", children: [
3465
3741
  messageChild,
3466
- /* @__PURE__ */ jsxs18(NotificationItemFooter, { children: [
3742
+ /* @__PURE__ */ jsxs19(NotificationItemFooter, { children: [
3467
3743
  timestampChild,
3468
3744
  actionChild
3469
3745
  ] })
@@ -3479,9 +3755,9 @@ NotificationItem.displayName = "NotificationItem";
3479
3755
  // src/components/NotificationPanel/NotificationItemAvatar.tsx
3480
3756
  import ListItemAvatar from "@mui/material/ListItemAvatar";
3481
3757
  import Avatar3 from "@mui/material/Avatar";
3482
- import { styled as styled42 } from "@mui/material/styles";
3483
- import { jsx as jsx54 } from "react/jsx-runtime";
3484
- var NotificationItemAvatarStyled = styled42(Avatar3, {
3758
+ import { styled as styled44 } from "@mui/material/styles";
3759
+ import { jsx as jsx56 } from "react/jsx-runtime";
3760
+ var NotificationItemAvatarStyled = styled44(Avatar3, {
3485
3761
  name: "MuiNotificationPanel",
3486
3762
  slot: "ItemAvatar",
3487
3763
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -3504,16 +3780,16 @@ var NotificationItemAvatar = ({
3504
3780
  color: typeProps.color,
3505
3781
  hasChildren: !!children
3506
3782
  };
3507
- return /* @__PURE__ */ jsx54(ListItemAvatar, { children: /* @__PURE__ */ jsx54(NotificationItemAvatarStyled, { ownerState, sx, children: children || /* @__PURE__ */ jsx54(Icon, { size: 20 }) }) });
3783
+ return /* @__PURE__ */ jsx56(ListItemAvatar, { children: /* @__PURE__ */ jsx56(NotificationItemAvatarStyled, { ownerState, sx, children: children || /* @__PURE__ */ jsx56(Icon, { size: 20 }) }) });
3508
3784
  };
3509
3785
  NotificationItemAvatar.displayName = "NotificationItemAvatar";
3510
3786
 
3511
3787
  // src/components/NotificationPanel/NotificationItemTitle.tsx
3512
3788
  import Box24 from "@mui/material/Box";
3513
- import Typography10 from "@mui/material/Typography";
3514
- import { styled as styled43 } from "@mui/material/styles";
3515
- import { jsx as jsx55, jsxs as jsxs19 } from "react/jsx-runtime";
3516
- var NotificationItemTitleRoot = styled43(Box24, {
3789
+ import Typography11 from "@mui/material/Typography";
3790
+ import { styled as styled45 } from "@mui/material/styles";
3791
+ import { jsx as jsx57, jsxs as jsxs20 } from "react/jsx-runtime";
3792
+ var NotificationItemTitleRoot = styled45(Box24, {
3517
3793
  name: "MuiNotificationPanel",
3518
3794
  slot: "ItemTitle"
3519
3795
  })(({ theme }) => ({
@@ -3521,7 +3797,7 @@ var NotificationItemTitleRoot = styled43(Box24, {
3521
3797
  alignItems: "center",
3522
3798
  gap: theme.spacing(1)
3523
3799
  }));
3524
- var NotificationItemTitleText = styled43(Typography10, {
3800
+ var NotificationItemTitleText = styled45(Typography11, {
3525
3801
  name: "MuiNotificationPanel",
3526
3802
  slot: "ItemTitleText",
3527
3803
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -3529,7 +3805,7 @@ var NotificationItemTitleText = styled43(Typography10, {
3529
3805
  fontWeight: ownerState.read ? 400 : 600,
3530
3806
  flex: 1
3531
3807
  }));
3532
- var NotificationItemUnreadDot = styled43(Box24, {
3808
+ var NotificationItemUnreadDot = styled45(Box24, {
3533
3809
  name: "MuiNotificationPanel",
3534
3810
  slot: "ItemUnreadDot"
3535
3811
  })(({ theme }) => ({
@@ -3545,18 +3821,18 @@ var NotificationItemTitle = ({
3545
3821
  sx
3546
3822
  }) => {
3547
3823
  const { read } = useNotificationItemContext();
3548
- return /* @__PURE__ */ jsxs19(NotificationItemTitleRoot, { sx, children: [
3549
- /* @__PURE__ */ jsx55(NotificationItemTitleText, { variant: "body2", ownerState: { read }, children }),
3550
- showUnreadIndicator && !read && /* @__PURE__ */ jsx55(NotificationItemUnreadDot, {})
3824
+ return /* @__PURE__ */ jsxs20(NotificationItemTitleRoot, { sx, children: [
3825
+ /* @__PURE__ */ jsx57(NotificationItemTitleText, { variant: "body2", ownerState: { read }, children }),
3826
+ showUnreadIndicator && !read && /* @__PURE__ */ jsx57(NotificationItemUnreadDot, {})
3551
3827
  ] });
3552
3828
  };
3553
3829
  NotificationItemTitle.displayName = "NotificationItemTitle";
3554
3830
 
3555
3831
  // src/components/NotificationPanel/NotificationItemMessage.tsx
3556
- import Typography11 from "@mui/material/Typography";
3557
- import { styled as styled44 } from "@mui/material/styles";
3558
- import { jsx as jsx56 } from "react/jsx-runtime";
3559
- var NotificationItemMessageRoot = styled44(Typography11, {
3832
+ import Typography12 from "@mui/material/Typography";
3833
+ import { styled as styled46 } from "@mui/material/styles";
3834
+ import { jsx as jsx58 } from "react/jsx-runtime";
3835
+ var NotificationItemMessageRoot = styled46(Typography12, {
3560
3836
  name: "MuiNotificationPanel",
3561
3837
  slot: "ItemMessage"
3562
3838
  })(({ theme }) => ({
@@ -3568,15 +3844,15 @@ var NotificationItemMessage = ({
3568
3844
  children,
3569
3845
  sx
3570
3846
  }) => {
3571
- return /* @__PURE__ */ jsx56(NotificationItemMessageRoot, { component: "span", variant: "caption", sx, children });
3847
+ return /* @__PURE__ */ jsx58(NotificationItemMessageRoot, { component: "span", variant: "caption", sx, children });
3572
3848
  };
3573
3849
  NotificationItemMessage.displayName = "NotificationItemMessage";
3574
3850
 
3575
3851
  // src/components/NotificationPanel/NotificationItemTimestamp.tsx
3576
- import Typography12 from "@mui/material/Typography";
3577
- import { styled as styled45 } from "@mui/material/styles";
3578
- import { jsx as jsx57 } from "react/jsx-runtime";
3579
- var NotificationItemTimestampRoot = styled45(Typography12, {
3852
+ import Typography13 from "@mui/material/Typography";
3853
+ import { styled as styled47 } from "@mui/material/styles";
3854
+ import { jsx as jsx59 } from "react/jsx-runtime";
3855
+ var NotificationItemTimestampRoot = styled47(Typography13, {
3580
3856
  name: "MuiNotificationPanel",
3581
3857
  slot: "ItemTimestamp"
3582
3858
  })(({ theme }) => ({
@@ -3587,15 +3863,15 @@ var NotificationItemTimestamp = ({
3587
3863
  children,
3588
3864
  sx
3589
3865
  }) => {
3590
- return /* @__PURE__ */ jsx57(NotificationItemTimestampRoot, { component: "span", variant: "caption", sx, children });
3866
+ return /* @__PURE__ */ jsx59(NotificationItemTimestampRoot, { component: "span", variant: "caption", sx, children });
3591
3867
  };
3592
3868
  NotificationItemTimestamp.displayName = "NotificationItemTimestamp";
3593
3869
 
3594
3870
  // src/components/NotificationPanel/NotificationItemAction.tsx
3595
3871
  import Chip4 from "@mui/material/Chip";
3596
- import { styled as styled46 } from "@mui/material/styles";
3597
- import { jsx as jsx58 } from "react/jsx-runtime";
3598
- var NotificationItemActionRoot = styled46(Chip4, {
3872
+ import { styled as styled48 } from "@mui/material/styles";
3873
+ import { jsx as jsx60 } from "react/jsx-runtime";
3874
+ var NotificationItemActionRoot = styled48(Chip4, {
3599
3875
  name: "MuiNotificationPanel",
3600
3876
  slot: "ItemAction"
3601
3877
  })({
@@ -3617,7 +3893,7 @@ var NotificationItemAction = ({
3617
3893
  onAction == null ? void 0 : onAction();
3618
3894
  }
3619
3895
  };
3620
- return /* @__PURE__ */ jsx58(
3896
+ return /* @__PURE__ */ jsx60(
3621
3897
  NotificationItemActionRoot,
3622
3898
  {
3623
3899
  label: children,
@@ -3632,11 +3908,11 @@ NotificationItemAction.displayName = "NotificationItemAction";
3632
3908
 
3633
3909
  // src/components/NotificationPanel/NotificationEmptyState.tsx
3634
3910
  import Box25 from "@mui/material/Box";
3635
- import Typography13 from "@mui/material/Typography";
3636
- import { styled as styled47 } from "@mui/material/styles";
3911
+ import Typography14 from "@mui/material/Typography";
3912
+ import { styled as styled49 } from "@mui/material/styles";
3637
3913
  import { BellOff } from "@wso2/oxygen-ui-icons-react";
3638
- import { jsx as jsx59, jsxs as jsxs20 } from "react/jsx-runtime";
3639
- var NotificationEmptyStateRoot = styled47(Box25, {
3914
+ import { jsx as jsx61, jsxs as jsxs21 } from "react/jsx-runtime";
3915
+ var NotificationEmptyStateRoot = styled49(Box25, {
3640
3916
  name: "MuiNotificationPanel",
3641
3917
  slot: "EmptyState"
3642
3918
  })(({ theme }) => ({
@@ -3650,7 +3926,7 @@ var NotificationEmptyStateRoot = styled47(Box25, {
3650
3926
  paddingRight: theme.spacing(3),
3651
3927
  textAlign: "center"
3652
3928
  }));
3653
- var NotificationEmptyStateMessage = styled47(Typography13, {
3929
+ var NotificationEmptyStateMessage = styled49(Typography14, {
3654
3930
  name: "MuiNotificationPanel",
3655
3931
  slot: "EmptyStateMessage"
3656
3932
  })(({ theme }) => ({
@@ -3661,15 +3937,15 @@ var NotificationEmptyState = ({
3661
3937
  icon,
3662
3938
  sx
3663
3939
  }) => {
3664
- return /* @__PURE__ */ jsxs20(NotificationEmptyStateRoot, { sx, children: [
3665
- icon || /* @__PURE__ */ jsx59(BellOff, { size: 48, style: { opacity: 0.3, marginBottom: 16 } }),
3666
- /* @__PURE__ */ jsx59(NotificationEmptyStateMessage, { variant: "body2", children: message })
3940
+ return /* @__PURE__ */ jsxs21(NotificationEmptyStateRoot, { sx, children: [
3941
+ icon || /* @__PURE__ */ jsx61(BellOff, { size: 48, style: { opacity: 0.3, marginBottom: 16 } }),
3942
+ /* @__PURE__ */ jsx61(NotificationEmptyStateMessage, { variant: "body2", children: message })
3667
3943
  ] });
3668
3944
  };
3669
3945
 
3670
3946
  // src/components/NotificationPanel/NotificationPanel.tsx
3671
- import { jsx as jsx60 } from "react/jsx-runtime";
3672
- var NotificationPanelRoot = styled48(Drawer, {
3947
+ import { jsx as jsx62 } from "react/jsx-runtime";
3948
+ var NotificationPanelRoot = styled50(Drawer, {
3673
3949
  name: "MuiNotificationPanel",
3674
3950
  slot: "Root",
3675
3951
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -3693,9 +3969,9 @@ var NotificationPanel = ({
3693
3969
  variant = "temporary",
3694
3970
  sx
3695
3971
  }) => {
3696
- const contextValue = React19.useMemo(() => ({ onClose }), [onClose]);
3972
+ const contextValue = React20.useMemo(() => ({ onClose }), [onClose]);
3697
3973
  const ownerState = { width };
3698
- return /* @__PURE__ */ jsx60(NotificationPanelContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx60(
3974
+ return /* @__PURE__ */ jsx62(NotificationPanelContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx62(
3699
3975
  NotificationPanelRoot,
3700
3976
  {
3701
3977
  anchor,
@@ -3727,12 +4003,12 @@ NotificationPanel.displayName = "NotificationPanel";
3727
4003
 
3728
4004
  // src/components/Footer/Footer.tsx
3729
4005
  import Box26 from "@mui/material/Box";
3730
- import Typography14 from "@mui/material/Typography";
4006
+ import Typography15 from "@mui/material/Typography";
3731
4007
  import Link2 from "@mui/material/Link";
3732
4008
  import Divider7 from "@mui/material/Divider";
3733
- import { styled as styled49 } from "@mui/material/styles";
3734
- import { Fragment as Fragment9, jsx as jsx61, jsxs as jsxs21 } from "react/jsx-runtime";
3735
- var FooterRoot = styled49(Box26, {
4009
+ import { styled as styled51 } from "@mui/material/styles";
4010
+ import { Fragment as Fragment9, jsx as jsx63, jsxs as jsxs22 } from "react/jsx-runtime";
4011
+ var FooterRoot = styled51(Box26, {
3736
4012
  name: "MuiFooter",
3737
4013
  slot: "Root"
3738
4014
  })(({ theme }) => ({
@@ -3745,7 +4021,7 @@ var FooterRoot = styled49(Box26, {
3745
4021
  borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,
3746
4022
  backgroundColor: (theme.vars || theme).palette.background.paper
3747
4023
  }));
3748
- var FooterContent = styled49(Box26, {
4024
+ var FooterContent = styled51(Box26, {
3749
4025
  name: "MuiFooter",
3750
4026
  slot: "Content"
3751
4027
  })(({ theme }) => ({
@@ -3759,7 +4035,7 @@ var FooterContent = styled49(Box26, {
3759
4035
  alignItems: "center"
3760
4036
  }
3761
4037
  }));
3762
- var FooterCopyright = styled49(Box26, {
4038
+ var FooterCopyright = styled51(Box26, {
3763
4039
  name: "MuiFooter",
3764
4040
  slot: "Copyright"
3765
4041
  })(({ theme }) => ({
@@ -3768,13 +4044,13 @@ var FooterCopyright = styled49(Box26, {
3768
4044
  gap: theme.spacing(2),
3769
4045
  flexWrap: "wrap"
3770
4046
  }));
3771
- var FooterCopyrightText = styled49(Typography14, {
4047
+ var FooterCopyrightText = styled51(Typography15, {
3772
4048
  name: "MuiFooter",
3773
4049
  slot: "CopyrightText"
3774
4050
  })(({ theme }) => ({
3775
4051
  color: (theme.vars || theme).palette.text.secondary
3776
4052
  }));
3777
- var FooterVersion = styled49(Typography14, {
4053
+ var FooterVersion = styled51(Typography15, {
3778
4054
  name: "MuiFooter",
3779
4055
  slot: "Version"
3780
4056
  })(({ theme }) => ({
@@ -3782,7 +4058,7 @@ var FooterVersion = styled49(Typography14, {
3782
4058
  fontFamily: "monospace",
3783
4059
  fontSize: 11
3784
4060
  }));
3785
- var FooterLinks = styled49(Box26, {
4061
+ var FooterLinks = styled51(Box26, {
3786
4062
  name: "MuiFooter",
3787
4063
  slot: "Links"
3788
4064
  })(({ theme }) => ({
@@ -3791,7 +4067,7 @@ var FooterLinks = styled49(Box26, {
3791
4067
  gap: theme.spacing(2),
3792
4068
  flexWrap: "wrap"
3793
4069
  }));
3794
- var FooterLink = styled49(Link2, {
4070
+ var FooterLink = styled51(Link2, {
3795
4071
  name: "MuiFooter",
3796
4072
  slot: "Link"
3797
4073
  })(({ theme }) => ({
@@ -3806,17 +4082,17 @@ var Footer = ({
3806
4082
  companyName = "Your Company",
3807
4083
  termsUrl = "#",
3808
4084
  privacyUrl = "#",
3809
- version,
4085
+ version: version2,
3810
4086
  links = [],
3811
4087
  sx
3812
4088
  }) => {
3813
4089
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
3814
4090
  const copyrightText = copyright || `\xA9 ${currentYear} ${companyName}. All rights reserved.`;
3815
- return /* @__PURE__ */ jsx61(FooterRoot, { component: "footer", sx, children: /* @__PURE__ */ jsxs21(FooterContent, { children: [
3816
- /* @__PURE__ */ jsxs21(FooterCopyright, { children: [
3817
- /* @__PURE__ */ jsx61(FooterCopyrightText, { variant: "caption", children: copyrightText }),
3818
- version && /* @__PURE__ */ jsxs21(Fragment9, { children: [
3819
- /* @__PURE__ */ jsx61(
4091
+ return /* @__PURE__ */ jsx63(FooterRoot, { component: "footer", sx, children: /* @__PURE__ */ jsxs22(FooterContent, { children: [
4092
+ /* @__PURE__ */ jsxs22(FooterCopyright, { children: [
4093
+ /* @__PURE__ */ jsx63(FooterCopyrightText, { variant: "caption", children: copyrightText }),
4094
+ version2 && /* @__PURE__ */ jsxs22(Fragment9, { children: [
4095
+ /* @__PURE__ */ jsx63(
3820
4096
  Divider7,
3821
4097
  {
3822
4098
  orientation: "vertical",
@@ -3824,19 +4100,19 @@ var Footer = ({
3824
4100
  sx: { display: { xs: "none", sm: "block" } }
3825
4101
  }
3826
4102
  ),
3827
- /* @__PURE__ */ jsx61(FooterVersion, { variant: "caption", children: version })
4103
+ /* @__PURE__ */ jsx63(FooterVersion, { variant: "caption", children: version2 })
3828
4104
  ] })
3829
4105
  ] }),
3830
- /* @__PURE__ */ jsxs21(FooterLinks, { children: [
3831
- /* @__PURE__ */ jsx61(FooterLink, { href: termsUrl, underline: "hover", children: "Terms & Conditions" }),
3832
- /* @__PURE__ */ jsx61(FooterLink, { href: privacyUrl, underline: "hover", children: "Privacy Policy" }),
3833
- links.map((link, index) => /* @__PURE__ */ jsx61(FooterLink, { href: link.url, underline: "hover", children: link.label }, index))
4106
+ /* @__PURE__ */ jsxs22(FooterLinks, { children: [
4107
+ /* @__PURE__ */ jsx63(FooterLink, { href: termsUrl, underline: "hover", children: "Terms & Conditions" }),
4108
+ /* @__PURE__ */ jsx63(FooterLink, { href: privacyUrl, underline: "hover", children: "Privacy Policy" }),
4109
+ links.map((link, index) => /* @__PURE__ */ jsx63(FooterLink, { href: link.url, underline: "hover", children: link.label }, index))
3834
4110
  ] })
3835
4111
  ] }) });
3836
4112
  };
3837
4113
 
3838
4114
  // src/components/UserMenu/UserMenu.tsx
3839
- import * as React20 from "react";
4115
+ import * as React21 from "react";
3840
4116
  import IconButton6 from "@mui/material/IconButton";
3841
4117
  import Menu2 from "@mui/material/Menu";
3842
4118
  import MenuItem3 from "@mui/material/MenuItem";
@@ -3844,11 +4120,11 @@ import ListItemIcon3 from "@mui/material/ListItemIcon";
3844
4120
  import ListItemText4 from "@mui/material/ListItemText";
3845
4121
  import Avatar4 from "@mui/material/Avatar";
3846
4122
  import Box27 from "@mui/material/Box";
3847
- import Typography15 from "@mui/material/Typography";
4123
+ import Typography16 from "@mui/material/Typography";
3848
4124
  import Divider8 from "@mui/material/Divider";
3849
4125
  import Chip5 from "@mui/material/Chip";
3850
4126
  import Tooltip5 from "@mui/material/Tooltip";
3851
- import { styled as styled50 } from "@mui/material/styles";
4127
+ import { styled as styled52 } from "@mui/material/styles";
3852
4128
  import {
3853
4129
  User as UserIcon,
3854
4130
  Settings,
@@ -3856,14 +4132,14 @@ import {
3856
4132
  LogOut,
3857
4133
  ChevronRight
3858
4134
  } from "@wso2/oxygen-ui-icons-react";
3859
- import { Fragment as Fragment10, jsx as jsx62, jsxs as jsxs22 } from "react/jsx-runtime";
3860
- var UserMenuTrigger = styled50(IconButton6, {
4135
+ import { Fragment as Fragment10, jsx as jsx64, jsxs as jsxs23 } from "react/jsx-runtime";
4136
+ var UserMenuTrigger = styled52(IconButton6, {
3861
4137
  name: "MuiUserMenu",
3862
4138
  slot: "Trigger"
3863
4139
  })(({ theme }) => ({
3864
4140
  padding: theme.spacing(0.5)
3865
4141
  }));
3866
- var UserMenuAvatar = styled50(Avatar4, {
4142
+ var UserMenuAvatar = styled52(Avatar4, {
3867
4143
  name: "MuiUserMenu",
3868
4144
  slot: "Avatar"
3869
4145
  })(({ theme }) => ({
@@ -3874,7 +4150,7 @@ var UserMenuAvatar = styled50(Avatar4, {
3874
4150
  fontSize: 14,
3875
4151
  fontWeight: 600
3876
4152
  }));
3877
- var UserMenuHeaderAvatar = styled50(Avatar4, {
4153
+ var UserMenuHeaderAvatar = styled52(Avatar4, {
3878
4154
  name: "MuiUserMenu",
3879
4155
  slot: "HeaderAvatar"
3880
4156
  })(({ theme }) => ({
@@ -3885,7 +4161,7 @@ var UserMenuHeaderAvatar = styled50(Avatar4, {
3885
4161
  fontSize: 16,
3886
4162
  fontWeight: 600
3887
4163
  }));
3888
- var UserMenuHeader = styled50(Box27, {
4164
+ var UserMenuHeader = styled52(Box27, {
3889
4165
  name: "MuiUserMenu",
3890
4166
  slot: "Header"
3891
4167
  })(({ theme }) => ({
@@ -3894,7 +4170,7 @@ var UserMenuHeader = styled50(Box27, {
3894
4170
  paddingTop: theme.spacing(1.5),
3895
4171
  paddingBottom: theme.spacing(1.5)
3896
4172
  }));
3897
- var UserMenuHeaderContent = styled50(Box27, {
4173
+ var UserMenuHeaderContent = styled52(Box27, {
3898
4174
  name: "MuiUserMenu",
3899
4175
  slot: "HeaderContent"
3900
4176
  })(({ theme }) => ({
@@ -3902,14 +4178,14 @@ var UserMenuHeaderContent = styled50(Box27, {
3902
4178
  alignItems: "center",
3903
4179
  gap: theme.spacing(1.5)
3904
4180
  }));
3905
- var UserMenuUserInfo = styled50(Box27, {
4181
+ var UserMenuUserInfo = styled52(Box27, {
3906
4182
  name: "MuiUserMenu",
3907
4183
  slot: "UserInfo"
3908
4184
  })({
3909
4185
  flex: 1,
3910
4186
  minWidth: 0
3911
4187
  });
3912
- var UserMenuNameRow = styled50(Box27, {
4188
+ var UserMenuNameRow = styled52(Box27, {
3913
4189
  name: "MuiUserMenu",
3914
4190
  slot: "NameRow"
3915
4191
  })(({ theme }) => ({
@@ -3917,7 +4193,7 @@ var UserMenuNameRow = styled50(Box27, {
3917
4193
  alignItems: "center",
3918
4194
  gap: theme.spacing(1)
3919
4195
  }));
3920
- var UserMenuName = styled50(Typography15, {
4196
+ var UserMenuName = styled52(Typography16, {
3921
4197
  name: "MuiUserMenu",
3922
4198
  slot: "Name"
3923
4199
  })({
@@ -3926,7 +4202,7 @@ var UserMenuName = styled50(Typography15, {
3926
4202
  overflow: "hidden",
3927
4203
  textOverflow: "ellipsis"
3928
4204
  });
3929
- var UserMenuRoleChip = styled50(Chip5, {
4205
+ var UserMenuRoleChip = styled52(Chip5, {
3930
4206
  name: "MuiUserMenu",
3931
4207
  slot: "RoleChip"
3932
4208
  })({
@@ -3934,7 +4210,7 @@ var UserMenuRoleChip = styled50(Chip5, {
3934
4210
  fontSize: 11,
3935
4211
  fontWeight: 600
3936
4212
  });
3937
- var UserMenuEmail = styled50(Typography15, {
4213
+ var UserMenuEmail = styled52(Typography16, {
3938
4214
  name: "MuiUserMenu",
3939
4215
  slot: "Email"
3940
4216
  })(({ theme }) => ({
@@ -3944,14 +4220,14 @@ var UserMenuEmail = styled50(Typography15, {
3944
4220
  overflow: "hidden",
3945
4221
  textOverflow: "ellipsis"
3946
4222
  }));
3947
- var UserMenuMenuItem = styled50(MenuItem3, {
4223
+ var UserMenuMenuItem = styled52(MenuItem3, {
3948
4224
  name: "MuiUserMenu",
3949
4225
  slot: "MenuItem"
3950
4226
  })(({ theme }) => ({
3951
4227
  paddingTop: theme.spacing(1.5),
3952
4228
  paddingBottom: theme.spacing(1.5)
3953
4229
  }));
3954
- var UserMenuLogoutItem = styled50(MenuItem3, {
4230
+ var UserMenuLogoutItem = styled52(MenuItem3, {
3955
4231
  name: "MuiUserMenu",
3956
4232
  slot: "LogoutItem"
3957
4233
  })(({ theme }) => ({
@@ -3966,13 +4242,13 @@ var UserMenuLogoutItem = styled50(MenuItem3, {
3966
4242
  }
3967
4243
  }
3968
4244
  }));
3969
- var UserMenuLogoutIcon = styled50(ListItemIcon3, {
4245
+ var UserMenuLogoutIcon = styled52(ListItemIcon3, {
3970
4246
  name: "MuiUserMenu",
3971
4247
  slot: "LogoutIcon"
3972
4248
  })(({ theme }) => ({
3973
4249
  color: (theme.vars || theme).palette.error.main
3974
4250
  }));
3975
- var UserMenuBillingChip = styled50(Chip5, {
4251
+ var UserMenuBillingChip = styled52(Chip5, {
3976
4252
  name: "MuiUserMenu",
3977
4253
  slot: "BillingChip"
3978
4254
  })({
@@ -3986,7 +4262,7 @@ var UserMenu = ({
3986
4262
  onBillingClick,
3987
4263
  onLogout
3988
4264
  }) => {
3989
- const [anchorEl, setAnchorEl] = React20.useState(null);
4265
+ const [anchorEl, setAnchorEl] = React21.useState(null);
3990
4266
  const open = Boolean(anchorEl);
3991
4267
  const handleClick = (event) => {
3992
4268
  setAnchorEl(event.currentTarget);
@@ -3998,8 +4274,8 @@ var UserMenu = ({
3998
4274
  handleClose();
3999
4275
  callback == null ? void 0 : callback();
4000
4276
  };
4001
- return /* @__PURE__ */ jsxs22(Fragment10, { children: [
4002
- /* @__PURE__ */ jsx62(Tooltip5, { title: "Account", children: /* @__PURE__ */ jsx62(
4277
+ return /* @__PURE__ */ jsxs23(Fragment10, { children: [
4278
+ /* @__PURE__ */ jsx64(Tooltip5, { title: "Account", children: /* @__PURE__ */ jsx64(
4003
4279
  UserMenuTrigger,
4004
4280
  {
4005
4281
  onClick: handleClick,
@@ -4007,10 +4283,10 @@ var UserMenu = ({
4007
4283
  "aria-controls": open ? "user-menu" : void 0,
4008
4284
  "aria-haspopup": "true",
4009
4285
  "aria-expanded": open ? "true" : void 0,
4010
- children: /* @__PURE__ */ jsx62(UserMenuAvatar, { children: user.avatar || user.name.charAt(0) })
4286
+ children: /* @__PURE__ */ jsx64(UserMenuAvatar, { children: user.avatar || user.name.charAt(0) })
4011
4287
  }
4012
4288
  ) }),
4013
- /* @__PURE__ */ jsxs22(
4289
+ /* @__PURE__ */ jsxs23(
4014
4290
  Menu2,
4015
4291
  {
4016
4292
  id: "user-menu",
@@ -4028,12 +4304,12 @@ var UserMenu = ({
4028
4304
  }
4029
4305
  },
4030
4306
  children: [
4031
- /* @__PURE__ */ jsx62(UserMenuHeader, { children: /* @__PURE__ */ jsxs22(UserMenuHeaderContent, { children: [
4032
- /* @__PURE__ */ jsx62(UserMenuHeaderAvatar, { children: user.avatar || user.name.charAt(0) }),
4033
- /* @__PURE__ */ jsxs22(UserMenuUserInfo, { children: [
4034
- /* @__PURE__ */ jsxs22(UserMenuNameRow, { children: [
4035
- /* @__PURE__ */ jsx62(UserMenuName, { variant: "subtitle2", children: user.name }),
4036
- user.role && /* @__PURE__ */ jsx62(
4307
+ /* @__PURE__ */ jsx64(UserMenuHeader, { children: /* @__PURE__ */ jsxs23(UserMenuHeaderContent, { children: [
4308
+ /* @__PURE__ */ jsx64(UserMenuHeaderAvatar, { children: user.avatar || user.name.charAt(0) }),
4309
+ /* @__PURE__ */ jsxs23(UserMenuUserInfo, { children: [
4310
+ /* @__PURE__ */ jsxs23(UserMenuNameRow, { children: [
4311
+ /* @__PURE__ */ jsx64(UserMenuName, { variant: "subtitle2", children: user.name }),
4312
+ user.role && /* @__PURE__ */ jsx64(
4037
4313
  UserMenuRoleChip,
4038
4314
  {
4039
4315
  label: user.role,
@@ -4042,25 +4318,25 @@ var UserMenu = ({
4042
4318
  }
4043
4319
  )
4044
4320
  ] }),
4045
- /* @__PURE__ */ jsx62(UserMenuEmail, { variant: "caption", children: user.email })
4321
+ /* @__PURE__ */ jsx64(UserMenuEmail, { variant: "caption", children: user.email })
4046
4322
  ] })
4047
4323
  ] }) }),
4048
- /* @__PURE__ */ jsx62(Divider8, {}),
4049
- /* @__PURE__ */ jsxs22(UserMenuMenuItem, { onClick: () => handleMenuAction(onProfileClick), children: [
4050
- /* @__PURE__ */ jsx62(ListItemIcon3, { children: /* @__PURE__ */ jsx62(UserIcon, { size: 18 }) }),
4051
- /* @__PURE__ */ jsx62(ListItemText4, { primary: "Profile" }),
4052
- /* @__PURE__ */ jsx62(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
4324
+ /* @__PURE__ */ jsx64(Divider8, {}),
4325
+ /* @__PURE__ */ jsxs23(UserMenuMenuItem, { onClick: () => handleMenuAction(onProfileClick), children: [
4326
+ /* @__PURE__ */ jsx64(ListItemIcon3, { children: /* @__PURE__ */ jsx64(UserIcon, { size: 18 }) }),
4327
+ /* @__PURE__ */ jsx64(ListItemText4, { primary: "Profile" }),
4328
+ /* @__PURE__ */ jsx64(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
4053
4329
  ] }),
4054
- /* @__PURE__ */ jsxs22(UserMenuMenuItem, { onClick: () => handleMenuAction(onSettingsClick), children: [
4055
- /* @__PURE__ */ jsx62(ListItemIcon3, { children: /* @__PURE__ */ jsx62(Settings, { size: 18 }) }),
4056
- /* @__PURE__ */ jsx62(ListItemText4, { primary: "Settings" }),
4057
- /* @__PURE__ */ jsx62(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
4330
+ /* @__PURE__ */ jsxs23(UserMenuMenuItem, { onClick: () => handleMenuAction(onSettingsClick), children: [
4331
+ /* @__PURE__ */ jsx64(ListItemIcon3, { children: /* @__PURE__ */ jsx64(Settings, { size: 18 }) }),
4332
+ /* @__PURE__ */ jsx64(ListItemText4, { primary: "Settings" }),
4333
+ /* @__PURE__ */ jsx64(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
4058
4334
  ] }),
4059
- /* @__PURE__ */ jsxs22(UserMenuMenuItem, { onClick: () => handleMenuAction(onBillingClick), children: [
4060
- /* @__PURE__ */ jsx62(ListItemIcon3, { children: /* @__PURE__ */ jsx62(CreditCard, { size: 18 }) }),
4061
- /* @__PURE__ */ jsx62(ListItemText4, { primary: "Billing" }),
4062
- /* @__PURE__ */ jsxs22(Box27, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
4063
- user.role && /* @__PURE__ */ jsx62(
4335
+ /* @__PURE__ */ jsxs23(UserMenuMenuItem, { onClick: () => handleMenuAction(onBillingClick), children: [
4336
+ /* @__PURE__ */ jsx64(ListItemIcon3, { children: /* @__PURE__ */ jsx64(CreditCard, { size: 18 }) }),
4337
+ /* @__PURE__ */ jsx64(ListItemText4, { primary: "Billing" }),
4338
+ /* @__PURE__ */ jsxs23(Box27, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
4339
+ user.role && /* @__PURE__ */ jsx64(
4064
4340
  UserMenuBillingChip,
4065
4341
  {
4066
4342
  label: user.role,
@@ -4068,13 +4344,13 @@ var UserMenu = ({
4068
4344
  variant: "outlined"
4069
4345
  }
4070
4346
  ),
4071
- /* @__PURE__ */ jsx62(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
4347
+ /* @__PURE__ */ jsx64(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
4072
4348
  ] })
4073
4349
  ] }),
4074
- /* @__PURE__ */ jsx62(Divider8, {}),
4075
- /* @__PURE__ */ jsxs22(UserMenuLogoutItem, { onClick: () => handleMenuAction(onLogout), children: [
4076
- /* @__PURE__ */ jsx62(UserMenuLogoutIcon, { children: /* @__PURE__ */ jsx62(LogOut, { size: 18 }) }),
4077
- /* @__PURE__ */ jsx62(ListItemText4, { primary: "Log out" })
4350
+ /* @__PURE__ */ jsx64(Divider8, {}),
4351
+ /* @__PURE__ */ jsxs23(UserMenuLogoutItem, { onClick: () => handleMenuAction(onLogout), children: [
4352
+ /* @__PURE__ */ jsx64(UserMenuLogoutIcon, { children: /* @__PURE__ */ jsx64(LogOut, { size: 18 }) }),
4353
+ /* @__PURE__ */ jsx64(ListItemText4, { primary: "Log out" })
4078
4354
  ] })
4079
4355
  ]
4080
4356
  }
@@ -4083,15 +4359,15 @@ var UserMenu = ({
4083
4359
  };
4084
4360
 
4085
4361
  // src/components/NotificationBanner/NotificationBanner.tsx
4086
- import * as React21 from "react";
4362
+ import * as React22 from "react";
4087
4363
  import Alert from "@mui/material/Alert";
4088
4364
  import AlertTitle from "@mui/material/AlertTitle";
4089
4365
  import Collapse2 from "@mui/material/Collapse";
4090
- import Button3 from "@mui/material/Button";
4366
+ import Button4 from "@mui/material/Button";
4091
4367
  import Box28 from "@mui/material/Box";
4092
- import { styled as styled51 } from "@mui/material/styles";
4093
- import { jsx as jsx63, jsxs as jsxs23 } from "react/jsx-runtime";
4094
- var NotificationBannerAlert = styled51(Alert, {
4368
+ import { styled as styled53 } from "@mui/material/styles";
4369
+ import { jsx as jsx65, jsxs as jsxs24 } from "react/jsx-runtime";
4370
+ var NotificationBannerAlert = styled53(Alert, {
4095
4371
  name: "MuiNotificationBanner",
4096
4372
  slot: "Root"
4097
4373
  })({
@@ -4109,7 +4385,7 @@ var NotificationBannerAlert = styled51(Alert, {
4109
4385
  alignItems: "center"
4110
4386
  }
4111
4387
  });
4112
- var NotificationBannerContent = styled51(Box28, {
4388
+ var NotificationBannerContent = styled53(Box28, {
4113
4389
  name: "MuiNotificationBanner",
4114
4390
  slot: "Content"
4115
4391
  })({
@@ -4118,7 +4394,7 @@ var NotificationBannerContent = styled51(Box28, {
4118
4394
  gap: 2,
4119
4395
  flex: 1
4120
4396
  });
4121
- var NotificationBannerAction = styled51(Button3, {
4397
+ var NotificationBannerAction = styled53(Button4, {
4122
4398
  name: "MuiNotificationBanner",
4123
4399
  slot: "Action"
4124
4400
  })({
@@ -4139,22 +4415,22 @@ var NotificationBanner = ({
4139
4415
  onDismiss,
4140
4416
  sx
4141
4417
  }) => {
4142
- const [isVisible, setIsVisible] = React21.useState(visible);
4143
- React21.useEffect(() => {
4418
+ const [isVisible, setIsVisible] = React22.useState(visible);
4419
+ React22.useEffect(() => {
4144
4420
  setIsVisible(visible);
4145
4421
  }, [visible]);
4146
4422
  const handleDismiss = () => {
4147
4423
  setIsVisible(false);
4148
4424
  onDismiss == null ? void 0 : onDismiss();
4149
4425
  };
4150
- return /* @__PURE__ */ jsx63(Collapse2, { in: isVisible, children: /* @__PURE__ */ jsx63(
4426
+ return /* @__PURE__ */ jsx65(Collapse2, { in: isVisible, children: /* @__PURE__ */ jsx65(
4151
4427
  NotificationBannerAlert,
4152
4428
  {
4153
4429
  severity,
4154
4430
  variant: "filled",
4155
4431
  onClose: handleDismiss,
4156
4432
  sx,
4157
- action: actionLabel && onAction ? /* @__PURE__ */ jsx63(
4433
+ action: actionLabel && onAction ? /* @__PURE__ */ jsx65(
4158
4434
  NotificationBannerAction,
4159
4435
  {
4160
4436
  color: "inherit",
@@ -4163,19 +4439,19 @@ var NotificationBanner = ({
4163
4439
  children: actionLabel
4164
4440
  }
4165
4441
  ) : void 0,
4166
- children: /* @__PURE__ */ jsxs23(NotificationBannerContent, { children: [
4167
- title && /* @__PURE__ */ jsx63(AlertTitle, { sx: { mb: 0 }, children: title }),
4168
- /* @__PURE__ */ jsx63(Box28, { component: "span", children: message })
4442
+ children: /* @__PURE__ */ jsxs24(NotificationBannerContent, { children: [
4443
+ title && /* @__PURE__ */ jsx65(AlertTitle, { sx: { mb: 0 }, children: title }),
4444
+ /* @__PURE__ */ jsx65(Box28, { component: "span", children: message })
4169
4445
  ] })
4170
4446
  }
4171
4447
  ) });
4172
4448
  };
4173
4449
 
4174
4450
  // src/components/Form/CardButton.tsx
4175
- import { Card as Card2, ButtonBase, Box as Box29, styled as styled52 } from "@mui/material";
4451
+ import { Card as Card2, ButtonBase, Box as Box29, styled as styled54 } from "@mui/material";
4176
4452
  import { CardHeader, CardContent as CardContent2, CardActions, CardMedia } from "@mui/material";
4177
- import { jsx as jsx64 } from "react/jsx-runtime";
4178
- var StyledCardButton = styled52(Card2, {
4453
+ import { jsx as jsx66 } from "react/jsx-runtime";
4454
+ var StyledCardButton = styled54(Card2, {
4179
4455
  shouldForwardProp: (prop) => prop !== "selected" && prop !== "disabled"
4180
4456
  })(({ theme, selected, disabled, alignItems = "flex-start" }) => ({
4181
4457
  flexDirection: "column",
@@ -4203,7 +4479,7 @@ var StyledCardButton = styled52(Card2, {
4203
4479
  }));
4204
4480
  var CardButton = (props) => {
4205
4481
  const _a = props, { disabled, selected, alignItems = "flex-start" } = _a, rest = __objRest(_a, ["disabled", "selected", "alignItems"]);
4206
- return /* @__PURE__ */ jsx64(
4482
+ return /* @__PURE__ */ jsx66(
4207
4483
  StyledCardButton,
4208
4484
  __spreadValues({
4209
4485
  alignItems,
@@ -4213,36 +4489,36 @@ var CardButton = (props) => {
4213
4489
  }, rest)
4214
4490
  );
4215
4491
  };
4216
- var DisappearingCardButtonContent = (props) => /* @__PURE__ */ jsx64(Box29, __spreadValues({ className: "creation-flow-card-actions" }, props));
4492
+ var DisappearingCardButtonContent = (props) => /* @__PURE__ */ jsx66(Box29, __spreadValues({ className: "creation-flow-card-actions" }, props));
4217
4493
 
4218
4494
  // src/components/Form/Stack.tsx
4219
4495
  import { Stack as OxygenStack } from "@mui/material";
4220
- import { jsx as jsx65 } from "react/jsx-runtime";
4496
+ import { jsx as jsx67 } from "react/jsx-runtime";
4221
4497
  var Stack2 = (props) => {
4222
- return /* @__PURE__ */ jsx65(OxygenStack, __spreadValues({ spacing: 2 }, props));
4498
+ return /* @__PURE__ */ jsx67(OxygenStack, __spreadValues({ spacing: 2 }, props));
4223
4499
  };
4224
4500
 
4225
4501
  // src/components/Form/Typography.tsx
4226
- import { Typography as Typography16 } from "@mui/material";
4227
- import { jsx as jsx66 } from "react/jsx-runtime";
4502
+ import { Typography as Typography17 } from "@mui/material";
4503
+ import { jsx as jsx68 } from "react/jsx-runtime";
4228
4504
  var Header2 = (props) => {
4229
4505
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
4230
- return /* @__PURE__ */ jsx66(Typography16, __spreadProps(__spreadValues({}, rest), { variant: "h4", children }));
4506
+ return /* @__PURE__ */ jsx68(Typography17, __spreadProps(__spreadValues({}, rest), { variant: "h4", children }));
4231
4507
  };
4232
4508
  var Subheader = (props) => {
4233
4509
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
4234
- return /* @__PURE__ */ jsx66(Typography16, __spreadProps(__spreadValues({}, rest), { variant: "h5", children }));
4510
+ return /* @__PURE__ */ jsx68(Typography17, __spreadProps(__spreadValues({}, rest), { variant: "h5", children }));
4235
4511
  };
4236
4512
  var Body = (props) => {
4237
4513
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
4238
- return /* @__PURE__ */ jsx66(Typography16, __spreadProps(__spreadValues({}, rest), { variant: "body2", children }));
4514
+ return /* @__PURE__ */ jsx68(Typography17, __spreadProps(__spreadValues({}, rest), { variant: "body2", children }));
4239
4515
  };
4240
4516
 
4241
4517
  // src/components/Form/Section.tsx
4242
4518
  import { Card as Card3, CardContent as CardContent3, Stack as Stack3 } from "@mui/material";
4243
- import { jsx as jsx67 } from "react/jsx-runtime";
4519
+ import { jsx as jsx69 } from "react/jsx-runtime";
4244
4520
  var Section = ({ children }) => {
4245
- return /* @__PURE__ */ jsx67(Card3, { children: /* @__PURE__ */ jsx67(CardContent3, { children: /* @__PURE__ */ jsx67(Stack3, { direction: "column", spacing: 2, children }) }) });
4521
+ return /* @__PURE__ */ jsx69(Card3, { children: /* @__PURE__ */ jsx69(CardContent3, { children: /* @__PURE__ */ jsx69(Stack3, { direction: "column", spacing: 2, children }) }) });
4246
4522
  };
4247
4523
 
4248
4524
  // src/components/Form/Wizard.tsx
@@ -4254,30 +4530,30 @@ import {
4254
4530
  Stepper,
4255
4531
  Divider as Divider9
4256
4532
  } from "@mui/material";
4257
- import { styled as styled53 } from "@mui/material/styles";
4533
+ import { styled as styled55 } from "@mui/material/styles";
4258
4534
  import { useMemo as useMemo5 } from "react";
4259
- import { jsx as jsx68, jsxs as jsxs24 } from "react/jsx-runtime";
4260
- var StyledWizardActionsStack = styled53(Stack2)(() => ({
4535
+ import { jsx as jsx70, jsxs as jsxs25 } from "react/jsx-runtime";
4536
+ var StyledWizardActionsStack = styled55(Stack2)(() => ({
4261
4537
  justifyContent: "space-between",
4262
4538
  flexGrow: 1
4263
4539
  }));
4264
4540
  function Wizard({ steps, activeStep, actions }) {
4265
4541
  const step = useMemo5(() => activeStep < steps.length ? steps[activeStep] : null, [steps, activeStep]);
4266
- return /* @__PURE__ */ jsx68(Card4, { children: /* @__PURE__ */ jsx68(CardContent4, { children: /* @__PURE__ */ jsxs24(Stack2, { children: [
4267
- /* @__PURE__ */ jsx68(Stepper, { activeStep, children: steps.map((step2) => /* @__PURE__ */ jsx68(Step, { children: /* @__PURE__ */ jsx68(StepLabel, { children: step2.label }) }, step2.label)) }),
4268
- /* @__PURE__ */ jsx68(Divider9, {}),
4269
- /* @__PURE__ */ jsx68(Stack2, { direction: "row", children: step == null ? void 0 : step.component }),
4270
- /* @__PURE__ */ jsx68(StyledWizardActionsStack, { direction: "row", children: actions })
4542
+ return /* @__PURE__ */ jsx70(Card4, { children: /* @__PURE__ */ jsx70(CardContent4, { children: /* @__PURE__ */ jsxs25(Stack2, { children: [
4543
+ /* @__PURE__ */ jsx70(Stepper, { activeStep, children: steps.map((step2) => /* @__PURE__ */ jsx70(Step, { children: /* @__PURE__ */ jsx70(StepLabel, { children: step2.label }) }, step2.label)) }),
4544
+ /* @__PURE__ */ jsx70(Divider9, {}),
4545
+ /* @__PURE__ */ jsx70(Stack2, { direction: "row", children: step == null ? void 0 : step.component }),
4546
+ /* @__PURE__ */ jsx70(StyledWizardActionsStack, { direction: "row", children: actions })
4271
4547
  ] }) }) });
4272
4548
  }
4273
4549
 
4274
4550
  // src/components/Form/ElementWrapper.tsx
4275
4551
  import { FormControl as FormControl3, FormLabel } from "@mui/material";
4276
- import { jsx as jsx69, jsxs as jsxs25 } from "react/jsx-runtime";
4552
+ import { jsx as jsx71, jsxs as jsxs26 } from "react/jsx-runtime";
4277
4553
  var ElementWrapper = (props) => {
4278
4554
  const { label, name, children } = props;
4279
- return /* @__PURE__ */ jsxs25(FormControl3, { fullWidth: true, children: [
4280
- /* @__PURE__ */ jsx69(FormLabel, { htmlFor: name, children: label }),
4555
+ return /* @__PURE__ */ jsxs26(FormControl3, { fullWidth: true, children: [
4556
+ /* @__PURE__ */ jsx71(FormLabel, { htmlFor: name, children: label }),
4281
4557
  children
4282
4558
  ] });
4283
4559
  };
@@ -4301,15 +4577,15 @@ var Form = {
4301
4577
  };
4302
4578
 
4303
4579
  // src/components/AppShell/AppShell.tsx
4304
- import * as React22 from "react";
4580
+ import * as React23 from "react";
4305
4581
  import Box34 from "@mui/material/Box";
4306
4582
 
4307
4583
  // src/layouts/Layout.tsx
4308
4584
  import Box30 from "@mui/material/Box";
4309
- import { jsx as jsx70 } from "react/jsx-runtime";
4585
+ import { jsx as jsx72 } from "react/jsx-runtime";
4310
4586
  function Layout(_a) {
4311
4587
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
4312
- return /* @__PURE__ */ jsx70(
4588
+ return /* @__PURE__ */ jsx72(
4313
4589
  Box30,
4314
4590
  __spreadProps(__spreadValues({
4315
4591
  sx: __spreadValues({
@@ -4326,10 +4602,10 @@ var Layout_default = Layout;
4326
4602
 
4327
4603
  // src/layouts/LayoutSidebar.tsx
4328
4604
  import Box31 from "@mui/material/Box";
4329
- import { jsx as jsx71 } from "react/jsx-runtime";
4605
+ import { jsx as jsx73 } from "react/jsx-runtime";
4330
4606
  function LayoutSidebar(_a) {
4331
4607
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
4332
- return /* @__PURE__ */ jsx71(
4608
+ return /* @__PURE__ */ jsx73(
4333
4609
  Box31,
4334
4610
  __spreadProps(__spreadValues({
4335
4611
  sx: __spreadValues({
@@ -4353,10 +4629,10 @@ var LayoutNavbar_default = LayoutNavbar;
4353
4629
 
4354
4630
  // src/layouts/LayoutContent.tsx
4355
4631
  import Box32 from "@mui/material/Box";
4356
- import { jsx as jsx72 } from "react/jsx-runtime";
4632
+ import { jsx as jsx74 } from "react/jsx-runtime";
4357
4633
  function LayoutContent(_a) {
4358
4634
  var _b = _a, { children = null } = _b, rest = __objRest(_b, ["children"]);
4359
- return /* @__PURE__ */ jsx72(
4635
+ return /* @__PURE__ */ jsx74(
4360
4636
  Box32,
4361
4637
  __spreadProps(__spreadValues({
4362
4638
  component: "main",
@@ -4376,10 +4652,10 @@ var LayoutContent_default = LayoutContent;
4376
4652
 
4377
4653
  // src/layouts/LayoutHeader.tsx
4378
4654
  import Box33 from "@mui/material/Box";
4379
- import { jsx as jsx73 } from "react/jsx-runtime";
4655
+ import { jsx as jsx75 } from "react/jsx-runtime";
4380
4656
  function LayoutHeader(_a) {
4381
4657
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
4382
- return /* @__PURE__ */ jsx73(
4658
+ return /* @__PURE__ */ jsx75(
4383
4659
  Box33,
4384
4660
  __spreadProps(__spreadValues({
4385
4661
  sx: __spreadValues({
@@ -4403,42 +4679,42 @@ var Layout2 = Object.assign(Layout_default, {
4403
4679
  var layouts_default = Layout2;
4404
4680
 
4405
4681
  // src/components/AppShell/AppShellNavbar.tsx
4406
- import { Fragment as Fragment11, jsx as jsx74 } from "react/jsx-runtime";
4682
+ import { Fragment as Fragment11, jsx as jsx76 } from "react/jsx-runtime";
4407
4683
  var AppShellNavbar = ({ children }) => {
4408
- return /* @__PURE__ */ jsx74(Fragment11, { children });
4684
+ return /* @__PURE__ */ jsx76(Fragment11, { children });
4409
4685
  };
4410
4686
  AppShellNavbar.displayName = "AppShellNavbar";
4411
4687
 
4412
4688
  // src/components/AppShell/AppShellSidebar.tsx
4413
- import { Fragment as Fragment12, jsx as jsx75 } from "react/jsx-runtime";
4689
+ import { Fragment as Fragment12, jsx as jsx77 } from "react/jsx-runtime";
4414
4690
  var AppShellSidebar = ({ children }) => {
4415
- return /* @__PURE__ */ jsx75(Fragment12, { children });
4691
+ return /* @__PURE__ */ jsx77(Fragment12, { children });
4416
4692
  };
4417
4693
  AppShellSidebar.displayName = "AppShellSidebar";
4418
4694
 
4419
4695
  // src/components/AppShell/AppShellMain.tsx
4420
- import { Fragment as Fragment13, jsx as jsx76 } from "react/jsx-runtime";
4696
+ import { Fragment as Fragment13, jsx as jsx78 } from "react/jsx-runtime";
4421
4697
  var AppShellMain = ({ children }) => {
4422
- return /* @__PURE__ */ jsx76(Fragment13, { children });
4698
+ return /* @__PURE__ */ jsx78(Fragment13, { children });
4423
4699
  };
4424
4700
  AppShellMain.displayName = "AppShellMain";
4425
4701
 
4426
4702
  // src/components/AppShell/AppShellFooter.tsx
4427
- import { Fragment as Fragment14, jsx as jsx77 } from "react/jsx-runtime";
4703
+ import { Fragment as Fragment14, jsx as jsx79 } from "react/jsx-runtime";
4428
4704
  var AppShellFooter = ({ children }) => {
4429
- return /* @__PURE__ */ jsx77(Fragment14, { children });
4705
+ return /* @__PURE__ */ jsx79(Fragment14, { children });
4430
4706
  };
4431
4707
  AppShellFooter.displayName = "AppShellFooter";
4432
4708
 
4433
4709
  // src/components/AppShell/AppShellNotificationPanel.tsx
4434
- import { Fragment as Fragment15, jsx as jsx78 } from "react/jsx-runtime";
4710
+ import { Fragment as Fragment15, jsx as jsx80 } from "react/jsx-runtime";
4435
4711
  var AppShellNotificationPanel = ({ children }) => {
4436
- return /* @__PURE__ */ jsx78(Fragment15, { children });
4712
+ return /* @__PURE__ */ jsx80(Fragment15, { children });
4437
4713
  };
4438
4714
  AppShellNotificationPanel.displayName = "AppShellNotificationPanel";
4439
4715
 
4440
4716
  // src/components/AppShell/AppShell.tsx
4441
- import { jsx as jsx79, jsxs as jsxs26 } from "react/jsx-runtime";
4717
+ import { jsx as jsx81, jsxs as jsxs27 } from "react/jsx-runtime";
4442
4718
  var SLOT_DISPLAY_NAMES = {
4443
4719
  Navbar: "AppShellNavbar",
4444
4720
  Sidebar: "AppShellSidebar",
@@ -4454,9 +4730,9 @@ var extractSlots = (children) => {
4454
4730
  footer: null,
4455
4731
  notificationPanel: null
4456
4732
  };
4457
- React22.Children.forEach(children, (child) => {
4733
+ React23.Children.forEach(children, (child) => {
4458
4734
  var _a;
4459
- if (React22.isValidElement(child)) {
4735
+ if (React23.isValidElement(child)) {
4460
4736
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
4461
4737
  const childProps = child.props;
4462
4738
  switch (displayName) {
@@ -4486,12 +4762,12 @@ var extractSlots = (children) => {
4486
4762
  };
4487
4763
  var AppShell = ({ children, sx }) => {
4488
4764
  const slots = extractSlots(children);
4489
- return /* @__PURE__ */ jsxs26(layouts_default, { sx: __spreadValues({ height: "100vh", flexDirection: "column" }, sx), children: [
4490
- slots.navbar && /* @__PURE__ */ jsx79(layouts_default.Navbar, { children: slots.navbar }),
4491
- /* @__PURE__ */ jsxs26(layouts_default, { sx: { flex: 1, overflow: "hidden" }, children: [
4492
- slots.sidebar && /* @__PURE__ */ jsx79(layouts_default.Sidebar, { children: slots.sidebar }),
4493
- /* @__PURE__ */ jsxs26(layouts_default.Content, { sx: { flex: 1, display: "flex", flexDirection: "column" }, children: [
4494
- /* @__PURE__ */ jsx79(Box34, { sx: { flex: 1, overflow: "auto", display: "flex" }, children: slots.main }),
4765
+ return /* @__PURE__ */ jsxs27(layouts_default, { sx: __spreadValues({ height: "100vh", flexDirection: "column" }, sx), children: [
4766
+ slots.navbar && /* @__PURE__ */ jsx81(layouts_default.Navbar, { children: slots.navbar }),
4767
+ /* @__PURE__ */ jsxs27(layouts_default, { sx: { flex: 1, overflow: "hidden" }, children: [
4768
+ slots.sidebar && /* @__PURE__ */ jsx81(layouts_default.Sidebar, { children: slots.sidebar }),
4769
+ /* @__PURE__ */ jsxs27(layouts_default.Content, { sx: { flex: 1, display: "flex", flexDirection: "column" }, children: [
4770
+ /* @__PURE__ */ jsx81(Box34, { sx: { flex: 1, overflow: "auto", display: "flex" }, children: slots.main }),
4495
4771
  slots.footer
4496
4772
  ] })
4497
4773
  ] }),
@@ -4507,7 +4783,7 @@ AppShell.displayName = "AppShell";
4507
4783
 
4508
4784
  // src/components/ListingTable/ListingTable/ListingTable.tsx
4509
4785
  import MuiTable from "@mui/material/Table";
4510
- import { styled as styled58 } from "@mui/material/styles";
4786
+ import { styled as styled60 } from "@mui/material/styles";
4511
4787
 
4512
4788
  // src/components/ListingTable/shared/types.ts
4513
4789
  var densityStyles = {
@@ -4519,7 +4795,7 @@ var densityStyles = {
4519
4795
  // src/components/ListingTable/ListingTable/ListingTableContainer.tsx
4520
4796
  import MuiTableContainer from "@mui/material/TableContainer";
4521
4797
  import Paper from "@mui/material/Paper";
4522
- import { jsx as jsx80 } from "react/jsx-runtime";
4798
+ import { jsx as jsx82 } from "react/jsx-runtime";
4523
4799
  function ListingTableContainer(_a) {
4524
4800
  var _b = _a, {
4525
4801
  elevation = 1,
@@ -4531,17 +4807,17 @@ function ListingTableContainer(_a) {
4531
4807
  "children"
4532
4808
  ]);
4533
4809
  if (disablePaper) {
4534
- return /* @__PURE__ */ jsx80(MuiTableContainer, __spreadProps(__spreadValues({ sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
4810
+ return /* @__PURE__ */ jsx82(MuiTableContainer, __spreadProps(__spreadValues({ sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
4535
4811
  }
4536
- return /* @__PURE__ */ jsx80(MuiTableContainer, __spreadProps(__spreadValues({ component: Paper, elevation, sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
4812
+ return /* @__PURE__ */ jsx82(MuiTableContainer, __spreadProps(__spreadValues({ component: Paper, elevation, sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
4537
4813
  }
4538
4814
  var ListingTableContainer_default = ListingTableContainer;
4539
4815
 
4540
4816
  // src/components/ListingTable/ListingTable/ListingTableHead.tsx
4541
4817
  import MuiTableHead from "@mui/material/TableHead";
4542
- import { styled as styled54 } from "@mui/material/styles";
4543
- import { jsx as jsx81 } from "react/jsx-runtime";
4544
- var StyledTableHead = styled54(MuiTableHead)(({ theme }) => ({
4818
+ import { styled as styled56 } from "@mui/material/styles";
4819
+ import { jsx as jsx83 } from "react/jsx-runtime";
4820
+ var StyledTableHead = styled56(MuiTableHead)(({ theme }) => ({
4545
4821
  "& .MuiTableCell-head": __spreadValues(__spreadValues({
4546
4822
  fontWeight: 600
4547
4823
  }, theme.applyStyles("light", {
@@ -4552,68 +4828,75 @@ var StyledTableHead = styled54(MuiTableHead)(({ theme }) => ({
4552
4828
  }));
4553
4829
  function ListingTableHead(_a) {
4554
4830
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
4555
- return /* @__PURE__ */ jsx81(StyledTableHead, __spreadProps(__spreadValues({}, props), { children }));
4831
+ return /* @__PURE__ */ jsx83(StyledTableHead, __spreadProps(__spreadValues({}, props), { children }));
4556
4832
  }
4557
4833
  var ListingTableHead_default = ListingTableHead;
4558
4834
 
4559
4835
  // src/components/ListingTable/ListingTable/ListingTableBody.tsx
4560
4836
  import MuiTableBody from "@mui/material/TableBody";
4561
- import { jsx as jsx82 } from "react/jsx-runtime";
4837
+ import { jsx as jsx84 } from "react/jsx-runtime";
4562
4838
  function ListingTableBody(_a) {
4563
4839
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
4564
- return /* @__PURE__ */ jsx82(MuiTableBody, __spreadProps(__spreadValues({}, props), { children }));
4840
+ return /* @__PURE__ */ jsx84(MuiTableBody, __spreadProps(__spreadValues({}, props), { children }));
4565
4841
  }
4566
4842
  var ListingTableBody_default = ListingTableBody;
4567
4843
 
4568
4844
  // src/components/ListingTable/ListingTable/ListingTableFooter.tsx
4569
4845
  import MuiTableFooter from "@mui/material/TableFooter";
4570
- import { jsx as jsx83 } from "react/jsx-runtime";
4846
+ import { jsx as jsx85 } from "react/jsx-runtime";
4571
4847
  function ListingTableFooter(_a) {
4572
4848
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
4573
- return /* @__PURE__ */ jsx83(MuiTableFooter, __spreadProps(__spreadValues({}, props), { children }));
4849
+ return /* @__PURE__ */ jsx85(MuiTableFooter, __spreadProps(__spreadValues({}, props), { children }));
4574
4850
  }
4575
4851
  var ListingTableFooter_default = ListingTableFooter;
4576
4852
 
4577
4853
  // src/components/ListingTable/ListingTable/ListingTableRow.tsx
4578
4854
  import MuiTableRow from "@mui/material/TableRow";
4579
- import { styled as styled55, alpha } from "@mui/material/styles";
4580
- import { jsx as jsx84 } from "react/jsx-runtime";
4581
- var StyledTableRow = styled55(MuiTableRow, {
4855
+ import { styled as styled57, alpha } from "@mui/material/styles";
4856
+ import { jsx as jsx86 } from "react/jsx-runtime";
4857
+ var StyledTableRow = styled57(MuiTableRow, {
4582
4858
  shouldForwardProp: (prop) => !["clickable", "variant"].includes(prop)
4583
4859
  })(({ theme: muiTheme, clickable, variant = "table" }) => {
4584
- var _a, _b, _c, _d;
4585
4860
  const theme = muiTheme;
4586
- const borderRadius = typeof theme.shape.borderRadius === "number" ? theme.shape.borderRadius * 3 : 12;
4861
+ const borderRadius = 8;
4587
4862
  const isDarkMode = theme.palette.mode === "dark";
4588
4863
  return __spreadValues(__spreadValues(__spreadValues({}, clickable && {
4589
4864
  cursor: "pointer"
4590
- }), variant === "card" && {
4591
- // Use acrylic background for glassmorphism effect, consistent with MuiCard/MuiPaper
4592
- backgroundColor: (_b = (_a = theme.vars) == null ? void 0 : _a.palette.background.acrylic) != null ? _b : (theme.vars || theme).palette.background.paper,
4593
- backdropFilter: (_c = theme.blur) == null ? void 0 : _c.light,
4594
- WebkitBackdropFilter: (_d = theme.blur) == null ? void 0 : _d.light,
4595
- borderRadius,
4596
- "& .MuiTableCell-root": {
4597
- borderBottom: "none",
4598
- backgroundColor: "transparent",
4599
- "&:first-of-type": {
4600
- borderTopLeftRadius: borderRadius,
4601
- borderBottomLeftRadius: borderRadius
4865
+ }), variant === "card" && (() => {
4866
+ var _a, _b, _c, _d;
4867
+ const borderColor = alpha(
4868
+ isDarkMode ? theme.palette.common.white : theme.palette.common.black,
4869
+ isDarkMode ? 0.3 : 0.12
4870
+ );
4871
+ return {
4872
+ // Use acrylic background for glassmorphism effect, consistent with MuiCard/MuiPaper
4873
+ backgroundColor: (_b = (_a = theme.vars) == null ? void 0 : _a.palette.background.acrylic) != null ? _b : (theme.vars || theme).palette.background.paper,
4874
+ backdropFilter: (_c = theme.blur) == null ? void 0 : _c.light,
4875
+ WebkitBackdropFilter: (_d = theme.blur) == null ? void 0 : _d.light,
4876
+ borderRadius,
4877
+ "& .MuiTableCell-root": {
4878
+ backgroundColor: "transparent",
4879
+ // Apply top and bottom borders to all cells
4880
+ borderTop: `1px solid ${borderColor}`,
4881
+ borderBottom: `1px solid ${borderColor}`,
4882
+ "&:first-of-type": {
4883
+ borderTopLeftRadius: borderRadius,
4884
+ borderBottomLeftRadius: borderRadius,
4885
+ // Left border on first cell
4886
+ borderLeft: `1px solid ${borderColor}`
4887
+ },
4888
+ "&:last-of-type": {
4889
+ borderTopRightRadius: borderRadius,
4890
+ borderBottomRightRadius: borderRadius,
4891
+ // Right border on last cell
4892
+ borderRight: `1px solid ${borderColor}`
4893
+ }
4602
4894
  },
4603
- "&:last-of-type": {
4604
- borderTopRightRadius: borderRadius,
4605
- borderBottomRightRadius: borderRadius
4895
+ "&:hover": {
4896
+ backgroundColor: (theme.vars || theme).palette.action.hover
4606
4897
  }
4607
- },
4608
- // Subtle border - slightly more visible in dark mode
4609
- boxShadow: `inset 0 0 0 1px ${alpha(
4610
- isDarkMode ? theme.palette.common.white : theme.palette.common.black,
4611
- isDarkMode ? 0.1 : 0.06
4612
- )}`,
4613
- "&:hover": {
4614
- backgroundColor: (theme.vars || theme).palette.action.hover
4615
- }
4616
- }), variant === "table" && {
4898
+ };
4899
+ })()), variant === "table" && {
4617
4900
  "&:last-child td, &:last-child th": {
4618
4901
  border: 0
4619
4902
  }
@@ -4629,15 +4912,15 @@ function ListingTableRow(_a) {
4629
4912
  "variant",
4630
4913
  "children"
4631
4914
  ]);
4632
- return /* @__PURE__ */ jsx84(StyledTableRow, __spreadProps(__spreadValues({ clickable, variant }, props), { children }));
4915
+ return /* @__PURE__ */ jsx86(StyledTableRow, __spreadProps(__spreadValues({ clickable, variant }, props), { children }));
4633
4916
  }
4634
4917
  var ListingTableRow_default = ListingTableRow;
4635
4918
 
4636
4919
  // src/components/ListingTable/ListingTable/ListingTableCell.tsx
4637
4920
  import MuiTableCell from "@mui/material/TableCell";
4638
- import { styled as styled56 } from "@mui/material/styles";
4639
- import { jsx as jsx85 } from "react/jsx-runtime";
4640
- var StyledTableCell = styled56(MuiTableCell, {
4921
+ import { styled as styled58 } from "@mui/material/styles";
4922
+ import { jsx as jsx87 } from "react/jsx-runtime";
4923
+ var StyledTableCell = styled58(MuiTableCell, {
4641
4924
  shouldForwardProp: (prop) => {
4642
4925
  const excludedProps = ["truncate", "maxWidth"];
4643
4926
  return !excludedProps.some((excluded) => excluded === prop);
@@ -4659,7 +4942,7 @@ function ListingTableCell(_a) {
4659
4942
  "maxWidth",
4660
4943
  "children"
4661
4944
  ]);
4662
- return /* @__PURE__ */ jsx85(StyledTableCell, __spreadProps(__spreadValues({ truncate, maxWidth }, props), { children }));
4945
+ return /* @__PURE__ */ jsx87(StyledTableCell, __spreadProps(__spreadValues({ truncate, maxWidth }, props), { children }));
4663
4946
  }
4664
4947
  var ListingTableCell_default = ListingTableCell;
4665
4948
 
@@ -4672,14 +4955,14 @@ import IconButton7 from "@mui/material/IconButton";
4672
4955
  import { Search as Search3, X as X4 } from "@wso2/oxygen-ui-icons-react";
4673
4956
 
4674
4957
  // src/components/ListingTable/context.ts
4675
- import * as React23 from "react";
4676
- var ListingTableContext = React23.createContext(null);
4958
+ import * as React24 from "react";
4959
+ var ListingTableContext = React24.createContext(null);
4677
4960
  ListingTableContext.displayName = "ListingTableContext";
4678
4961
  var useListingTable = () => {
4679
- return React23.useContext(ListingTableContext);
4962
+ return React24.useContext(ListingTableContext);
4680
4963
  };
4681
4964
  var useListingTableRequired = () => {
4682
- const context = React23.useContext(ListingTableContext);
4965
+ const context = React24.useContext(ListingTableContext);
4683
4966
  if (!context) {
4684
4967
  throw new Error(
4685
4968
  "useListingTableRequired must be used within a ListingTable.Provider. Use useListingTable() for optional context access."
@@ -4689,7 +4972,7 @@ var useListingTableRequired = () => {
4689
4972
  };
4690
4973
 
4691
4974
  // src/components/ListingTable/shared/ListingTableToolbar.tsx
4692
- import { Fragment as Fragment16, jsx as jsx86, jsxs as jsxs27 } from "react/jsx-runtime";
4975
+ import { Fragment as Fragment16, jsx as jsx88, jsxs as jsxs28 } from "react/jsx-runtime";
4693
4976
  function ListingTableToolbar({
4694
4977
  showSearch = false,
4695
4978
  searchSlot,
@@ -4730,7 +5013,7 @@ function ListingTableToolbar({
4730
5013
  return searchSlot;
4731
5014
  }
4732
5015
  if (showSearch) {
4733
- return /* @__PURE__ */ jsx86(
5016
+ return /* @__PURE__ */ jsx88(
4734
5017
  TextField3,
4735
5018
  {
4736
5019
  size: "small",
@@ -4742,15 +5025,15 @@ function ListingTableToolbar({
4742
5025
  maxWidth: searchMaxWidth
4743
5026
  },
4744
5027
  InputProps: {
4745
- startAdornment: /* @__PURE__ */ jsx86(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx86(Search3, { size: 18 }) }),
4746
- endAdornment: searchValue ? /* @__PURE__ */ jsx86(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx86(IconButton7, { size: "small", onClick: handleClearSearch, edge: "end", children: /* @__PURE__ */ jsx86(X4, { size: 16 }) }) }) : null
5028
+ startAdornment: /* @__PURE__ */ jsx88(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx88(Search3, { size: 18 }) }),
5029
+ endAdornment: searchValue ? /* @__PURE__ */ jsx88(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx88(IconButton7, { size: "small", onClick: handleClearSearch, edge: "end", children: /* @__PURE__ */ jsx88(X4, { size: 16 }) }) }) : null
4747
5030
  }
4748
5031
  }
4749
5032
  );
4750
5033
  }
4751
5034
  return null;
4752
5035
  };
4753
- return /* @__PURE__ */ jsxs27(
5036
+ return /* @__PURE__ */ jsxs28(
4754
5037
  Box35,
4755
5038
  {
4756
5039
  sx: __spreadValues({
@@ -4764,9 +5047,9 @@ function ListingTableToolbar({
4764
5047
  children: [
4765
5048
  renderSearch(),
4766
5049
  children,
4767
- actions && /* @__PURE__ */ jsxs27(Fragment16, { children: [
4768
- /* @__PURE__ */ jsx86(Box35, { sx: { flex: 1 } }),
4769
- /* @__PURE__ */ jsx86(Box35, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: actions })
5050
+ actions && /* @__PURE__ */ jsxs28(Fragment16, { children: [
5051
+ /* @__PURE__ */ jsx88(Box35, { sx: { flex: 1 } }),
5052
+ /* @__PURE__ */ jsx88(Box35, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: actions })
4770
5053
  ] })
4771
5054
  ]
4772
5055
  }
@@ -4776,8 +5059,8 @@ var ListingTableToolbar_default = ListingTableToolbar;
4776
5059
 
4777
5060
  // src/components/ListingTable/shared/ListingTableEmptyState.tsx
4778
5061
  import Box36 from "@mui/material/Box";
4779
- import Typography17 from "@mui/material/Typography";
4780
- import { jsx as jsx87, jsxs as jsxs28 } from "react/jsx-runtime";
5062
+ import Typography18 from "@mui/material/Typography";
5063
+ import { jsx as jsx89, jsxs as jsxs29 } from "react/jsx-runtime";
4781
5064
  function ListingTableEmptyState({
4782
5065
  title = "No data available",
4783
5066
  description,
@@ -4786,7 +5069,7 @@ function ListingTableEmptyState({
4786
5069
  minHeight = 300,
4787
5070
  sx
4788
5071
  }) {
4789
- return /* @__PURE__ */ jsxs28(
5072
+ return /* @__PURE__ */ jsxs29(
4790
5073
  Box36,
4791
5074
  {
4792
5075
  sx: __spreadValues({
@@ -4799,7 +5082,7 @@ function ListingTableEmptyState({
4799
5082
  textAlign: "center"
4800
5083
  }, sx),
4801
5084
  children: [
4802
- illustration && /* @__PURE__ */ jsx87(
5085
+ illustration && /* @__PURE__ */ jsx89(
4803
5086
  Box36,
4804
5087
  {
4805
5088
  sx: {
@@ -4813,9 +5096,9 @@ function ListingTableEmptyState({
4813
5096
  children: illustration
4814
5097
  }
4815
5098
  ),
4816
- /* @__PURE__ */ jsx87(Typography17, { variant: "h6", component: "div", sx: { mb: description ? 1 : 0, fontWeight: 500 }, children: title }),
4817
- description && /* @__PURE__ */ jsx87(Typography17, { variant: "body2", color: "text.secondary", sx: { mb: action ? 2 : 0, maxWidth: 400 }, children: description }),
4818
- action && /* @__PURE__ */ jsx87(Box36, { children: action })
5099
+ /* @__PURE__ */ jsx89(Typography18, { variant: "h6", component: "div", sx: { mb: description ? 1 : 0, fontWeight: 500 }, children: title }),
5100
+ description && /* @__PURE__ */ jsx89(Typography18, { variant: "body2", color: "text.secondary", sx: { mb: action ? 2 : 0, maxWidth: 400 }, children: description }),
5101
+ action && /* @__PURE__ */ jsx89(Box36, { children: action })
4819
5102
  ]
4820
5103
  }
4821
5104
  );
@@ -4828,11 +5111,11 @@ import ToggleButton from "@mui/material/ToggleButton";
4828
5111
  import ToggleButtonGroup from "@mui/material/ToggleButtonGroup";
4829
5112
  import Tooltip6 from "@mui/material/Tooltip";
4830
5113
  import { AlignJustify, Menu as Menu3, List as List4 } from "@wso2/oxygen-ui-icons-react";
4831
- import { jsx as jsx88 } from "react/jsx-runtime";
5114
+ import { jsx as jsx90 } from "react/jsx-runtime";
4832
5115
  var densityOptions = [
4833
- { value: "compact", label: "Compact", icon: /* @__PURE__ */ jsx88(AlignJustify, { size: 18 }) },
4834
- { value: "standard", label: "Standard", icon: /* @__PURE__ */ jsx88(Menu3, { size: 18 }) },
4835
- { value: "comfortable", label: "Comfortable", icon: /* @__PURE__ */ jsx88(List4, { size: 18 }) }
5116
+ { value: "compact", label: "Compact", icon: /* @__PURE__ */ jsx90(AlignJustify, { size: 18 }) },
5117
+ { value: "standard", label: "Standard", icon: /* @__PURE__ */ jsx90(Menu3, { size: 18 }) },
5118
+ { value: "comfortable", label: "Comfortable", icon: /* @__PURE__ */ jsx90(List4, { size: 18 }) }
4836
5119
  ];
4837
5120
  function ListingTableDensityControl({
4838
5121
  value: valueProp,
@@ -4852,16 +5135,16 @@ function ListingTableDensityControl({
4852
5135
  },
4853
5136
  [effectiveOnChange]
4854
5137
  );
4855
- return /* @__PURE__ */ jsx88(ToggleButtonGroup, { value, exclusive: true, onChange: handleChange, size, sx, children: densityOptions.map((option) => /* @__PURE__ */ jsx88(ToggleButton, { value: option.value, children: /* @__PURE__ */ jsx88(Tooltip6, { title: option.label, children: /* @__PURE__ */ jsx88("span", { style: { display: "flex", alignItems: "center" }, children: option.icon }) }) }, option.value)) });
5138
+ return /* @__PURE__ */ jsx90(ToggleButtonGroup, { value, exclusive: true, onChange: handleChange, size, sx, children: densityOptions.map((option) => /* @__PURE__ */ jsx90(ToggleButton, { value: option.value, children: /* @__PURE__ */ jsx90(Tooltip6, { title: option.label, children: /* @__PURE__ */ jsx90("span", { style: { display: "flex", alignItems: "center" }, children: option.icon }) }) }, option.value)) });
4856
5139
  }
4857
5140
  var ListingTableDensityControl_default = ListingTableDensityControl;
4858
5141
 
4859
5142
  // src/components/ListingTable/shared/ListingTableSortLabel.tsx
4860
5143
  import { useCallback as useCallback3 } from "react";
4861
5144
  import MuiTableSortLabel from "@mui/material/TableSortLabel";
4862
- import { styled as styled57 } from "@mui/material/styles";
4863
- import { jsx as jsx89 } from "react/jsx-runtime";
4864
- var StyledTableSortLabel = styled57(MuiTableSortLabel)(({ theme }) => ({
5145
+ import { styled as styled59 } from "@mui/material/styles";
5146
+ import { jsx as jsx91 } from "react/jsx-runtime";
5147
+ var StyledTableSortLabel = styled59(MuiTableSortLabel)(({ theme }) => ({
4865
5148
  color: "inherit !important",
4866
5149
  "&.Mui-active": {
4867
5150
  color: "inherit !important",
@@ -4904,13 +5187,13 @@ function ListingTableSortLabel(_a) {
4904
5187
  },
4905
5188
  [onClickProp, field, tableContext, active, direction]
4906
5189
  );
4907
- return /* @__PURE__ */ jsx89(StyledTableSortLabel, __spreadProps(__spreadValues({ active, direction, onClick: handleClick, hideSortIcon }, props), { children }));
5190
+ return /* @__PURE__ */ jsx91(StyledTableSortLabel, __spreadProps(__spreadValues({ active, direction, onClick: handleClick, hideSortIcon }, props), { children }));
4908
5191
  }
4909
5192
  var ListingTableSortLabel_default = ListingTableSortLabel;
4910
5193
 
4911
5194
  // src/components/ListingTable/shared/ListingTableRowActions.tsx
4912
5195
  import Box37 from "@mui/material/Box";
4913
- import { jsx as jsx90 } from "react/jsx-runtime";
5196
+ import { jsx as jsx92 } from "react/jsx-runtime";
4914
5197
  var alignmentMap = {
4915
5198
  left: "flex-start",
4916
5199
  center: "center",
@@ -4922,7 +5205,7 @@ function ListingTableRowActions({
4922
5205
  align = "right",
4923
5206
  sx
4924
5207
  }) {
4925
- return /* @__PURE__ */ jsx90(
5208
+ return /* @__PURE__ */ jsx92(
4926
5209
  Box37,
4927
5210
  {
4928
5211
  className: "table-row-actions",
@@ -4947,8 +5230,8 @@ var ListingTableRowActions_default = ListingTableRowActions;
4947
5230
 
4948
5231
  // src/components/ListingTable/shared/ListingTableCellIcon.tsx
4949
5232
  import Box38 from "@mui/material/Box";
4950
- import Typography18 from "@mui/material/Typography";
4951
- import { Fragment as Fragment17, jsx as jsx91, jsxs as jsxs29 } from "react/jsx-runtime";
5233
+ import Typography19 from "@mui/material/Typography";
5234
+ import { Fragment as Fragment17, jsx as jsx93, jsxs as jsxs30 } from "react/jsx-runtime";
4952
5235
  function ListingTableCellIcon({
4953
5236
  icon,
4954
5237
  primary,
@@ -4957,7 +5240,7 @@ function ListingTableCellIcon({
4957
5240
  iconSx,
4958
5241
  sx
4959
5242
  }) {
4960
- const iconElement = /* @__PURE__ */ jsx91(
5243
+ const iconElement = /* @__PURE__ */ jsx93(
4961
5244
  Box38,
4962
5245
  {
4963
5246
  sx: __spreadValues({
@@ -4970,9 +5253,9 @@ function ListingTableCellIcon({
4970
5253
  children: icon
4971
5254
  }
4972
5255
  );
4973
- const textContent = /* @__PURE__ */ jsxs29(Box38, { sx: { minWidth: 0, flex: 1 }, children: [
4974
- /* @__PURE__ */ jsx91(
4975
- Typography18,
5256
+ const textContent = /* @__PURE__ */ jsxs30(Box38, { sx: { minWidth: 0, flex: 1 }, children: [
5257
+ /* @__PURE__ */ jsx93(
5258
+ Typography19,
4976
5259
  {
4977
5260
  variant: "body2",
4978
5261
  component: "div",
@@ -4985,8 +5268,8 @@ function ListingTableCellIcon({
4985
5268
  children: primary
4986
5269
  }
4987
5270
  ),
4988
- secondary && /* @__PURE__ */ jsx91(
4989
- Typography18,
5271
+ secondary && /* @__PURE__ */ jsx93(
5272
+ Typography19,
4990
5273
  {
4991
5274
  variant: "caption",
4992
5275
  component: "div",
@@ -5000,7 +5283,7 @@ function ListingTableCellIcon({
5000
5283
  }
5001
5284
  )
5002
5285
  ] });
5003
- return /* @__PURE__ */ jsx91(
5286
+ return /* @__PURE__ */ jsx93(
5004
5287
  Box38,
5005
5288
  {
5006
5289
  sx: __spreadValues({
@@ -5009,10 +5292,10 @@ function ListingTableCellIcon({
5009
5292
  gap: 1.5,
5010
5293
  minWidth: 0
5011
5294
  }, sx),
5012
- children: iconPosition === "left" ? /* @__PURE__ */ jsxs29(Fragment17, { children: [
5295
+ children: iconPosition === "left" ? /* @__PURE__ */ jsxs30(Fragment17, { children: [
5013
5296
  iconElement,
5014
5297
  textContent
5015
- ] }) : /* @__PURE__ */ jsxs29(Fragment17, { children: [
5298
+ ] }) : /* @__PURE__ */ jsxs30(Fragment17, { children: [
5016
5299
  textContent,
5017
5300
  iconElement
5018
5301
  ] })
@@ -5023,7 +5306,7 @@ var ListingTableCellIcon_default = ListingTableCellIcon;
5023
5306
 
5024
5307
  // src/components/ListingTable/ListingTableProvider.tsx
5025
5308
  import { useMemo as useMemo6 } from "react";
5026
- import { jsx as jsx92 } from "react/jsx-runtime";
5309
+ import { jsx as jsx94 } from "react/jsx-runtime";
5027
5310
  function ListingTableProvider({
5028
5311
  children,
5029
5312
  // Search
@@ -5126,12 +5409,12 @@ function ListingTableProvider({
5126
5409
  loading
5127
5410
  ]
5128
5411
  );
5129
- return /* @__PURE__ */ jsx92(ListingTableContext.Provider, { value: contextValue, children });
5412
+ return /* @__PURE__ */ jsx94(ListingTableContext.Provider, { value: contextValue, children });
5130
5413
  }
5131
5414
 
5132
5415
  // src/components/ListingTable/ListingTable/ListingTable.tsx
5133
- import { jsx as jsx93 } from "react/jsx-runtime";
5134
- var StyledTable = styled58(MuiTable, {
5416
+ import { jsx as jsx95 } from "react/jsx-runtime";
5417
+ var StyledTable = styled60(MuiTable, {
5135
5418
  shouldForwardProp: (prop) => {
5136
5419
  const excludedProps = ["variant", "density", "striped", "bordered"];
5137
5420
  return !excludedProps.some((excluded) => excluded === prop);
@@ -5184,7 +5467,7 @@ function ListingTable(_a) {
5184
5467
  "children",
5185
5468
  "sx"
5186
5469
  ]);
5187
- return /* @__PURE__ */ jsx93(
5470
+ return /* @__PURE__ */ jsx95(
5188
5471
  StyledTable,
5189
5472
  __spreadProps(__spreadValues({
5190
5473
  variant,
@@ -5217,7 +5500,7 @@ var ListingTable_default = ListingTableCompound;
5217
5500
  // src/animations/ParticleBackground/ParticleBackground.tsx
5218
5501
  import { useEffect as useEffect4, useRef } from "react";
5219
5502
  import { useColorScheme as useColorScheme3 } from "@mui/material/styles";
5220
- import { jsx as jsx94 } from "react/jsx-runtime";
5503
+ import { jsx as jsx96 } from "react/jsx-runtime";
5221
5504
  var ParticleBackground = ({
5222
5505
  opacity = 0.5,
5223
5506
  baseDensity = 0.12,
@@ -5402,7 +5685,7 @@ var ParticleBackground = ({
5402
5685
  cancelAnimationFrame(animationFrameId);
5403
5686
  };
5404
5687
  }, [baseDensity, maxSpeed, radius, linkDist, linkAlpha, mouseInfluence, repelStrength, clickBurst, mode]);
5405
- return /* @__PURE__ */ jsx94(
5688
+ return /* @__PURE__ */ jsx96(
5406
5689
  "canvas",
5407
5690
  {
5408
5691
  ref: canvasRef,
@@ -5430,37 +5713,37 @@ function useThemeContent(contentMap, fallback) {
5430
5713
  var useThemeContent_default = useThemeContent;
5431
5714
 
5432
5715
  // src/hooks/useAppShell/useAppShell.ts
5433
- import * as React24 from "react";
5716
+ import * as React25 from "react";
5434
5717
  var useAppShell = (options = {}) => {
5435
5718
  const {
5436
5719
  initialCollapsed = false,
5437
5720
  initialActiveItem = "dashboard"
5438
5721
  } = options;
5439
- const [state, setState] = React24.useState({
5722
+ const [state, setState] = React25.useState({
5440
5723
  sidebarCollapsed: initialCollapsed,
5441
5724
  notificationPanelOpen: false,
5442
5725
  activeMenuItem: initialActiveItem,
5443
5726
  expandedMenus: {}
5444
5727
  });
5445
- const toggleSidebar = React24.useCallback(() => {
5728
+ const toggleSidebar = React25.useCallback(() => {
5446
5729
  setState((prev) => __spreadProps(__spreadValues({}, prev), { sidebarCollapsed: !prev.sidebarCollapsed }));
5447
5730
  }, []);
5448
- const toggleNotificationPanel = React24.useCallback(() => {
5731
+ const toggleNotificationPanel = React25.useCallback(() => {
5449
5732
  setState((prev) => __spreadProps(__spreadValues({}, prev), {
5450
5733
  notificationPanelOpen: !prev.notificationPanelOpen
5451
5734
  }));
5452
5735
  }, []);
5453
- const setActiveMenuItem = React24.useCallback((id) => {
5736
+ const setActiveMenuItem = React25.useCallback((id) => {
5454
5737
  setState((prev) => __spreadProps(__spreadValues({}, prev), { activeMenuItem: id }));
5455
5738
  }, []);
5456
- const toggleMenu = React24.useCallback((id) => {
5739
+ const toggleMenu = React25.useCallback((id) => {
5457
5740
  setState((prev) => __spreadProps(__spreadValues({}, prev), {
5458
5741
  expandedMenus: __spreadProps(__spreadValues({}, prev.expandedMenus), {
5459
5742
  [id]: !prev.expandedMenus[id]
5460
5743
  })
5461
5744
  }));
5462
5745
  }, []);
5463
- const actions = React24.useMemo(
5746
+ const actions = React25.useMemo(
5464
5747
  () => ({
5465
5748
  toggleSidebar,
5466
5749
  toggleNotificationPanel,
@@ -5481,44 +5764,44 @@ var useAppShell = (options = {}) => {
5481
5764
  };
5482
5765
 
5483
5766
  // src/hooks/useNotifications/useNotifications.ts
5484
- import * as React25 from "react";
5767
+ import * as React26 from "react";
5485
5768
  var generateId = () => {
5486
5769
  return `notif-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
5487
5770
  };
5488
5771
  var useNotifications = (options = {}) => {
5489
5772
  const { initialNotifications = [] } = options;
5490
- const [notifications, setNotifications] = React25.useState(
5773
+ const [notifications, setNotifications] = React26.useState(
5491
5774
  initialNotifications
5492
5775
  );
5493
- const markRead = React25.useCallback((id) => {
5776
+ const markRead = React26.useCallback((id) => {
5494
5777
  setNotifications(
5495
5778
  (prev) => prev.map((n) => n.id === id ? __spreadProps(__spreadValues({}, n), { read: true }) : n)
5496
5779
  );
5497
5780
  }, []);
5498
- const dismiss = React25.useCallback((id) => {
5781
+ const dismiss = React26.useCallback((id) => {
5499
5782
  setNotifications((prev) => prev.filter((n) => n.id !== id));
5500
5783
  }, []);
5501
- const markAllRead = React25.useCallback(() => {
5784
+ const markAllRead = React26.useCallback(() => {
5502
5785
  setNotifications((prev) => prev.map((n) => __spreadProps(__spreadValues({}, n), { read: true })));
5503
5786
  }, []);
5504
- const clearAll = React25.useCallback(() => {
5787
+ const clearAll = React26.useCallback(() => {
5505
5788
  setNotifications([]);
5506
5789
  }, []);
5507
- const add = React25.useCallback((notification) => {
5790
+ const add = React26.useCallback((notification) => {
5508
5791
  const newNotification = __spreadProps(__spreadValues({}, notification), {
5509
5792
  id: generateId()
5510
5793
  });
5511
5794
  setNotifications((prev) => [newNotification, ...prev]);
5512
5795
  }, []);
5513
- const unreadCount = React25.useMemo(
5796
+ const unreadCount = React26.useMemo(
5514
5797
  () => notifications.filter((n) => !n.read).length,
5515
5798
  [notifications]
5516
5799
  );
5517
- const unreadNotifications = React25.useMemo(
5800
+ const unreadNotifications = React26.useMemo(
5518
5801
  () => notifications.filter((n) => !n.read),
5519
5802
  [notifications]
5520
5803
  );
5521
- const actions = React25.useMemo(
5804
+ const actions = React26.useMemo(
5522
5805
  () => ({
5523
5806
  markRead,
5524
5807
  dismiss,
@@ -5544,6 +5827,7 @@ import * as DataGrid from "@mui/x-data-grid";
5544
5827
  import * as DatePickers from "@mui/x-date-pickers";
5545
5828
  import { AdapterDateFns } from "@mui/x-date-pickers/AdapterDateFns";
5546
5829
  import * as TreeView from "@mui/x-tree-view";
5830
+ var version = package_default.version;
5547
5831
  export {
5548
5832
  AcrylicOrangeTheme_default as AcrylicOrangeTheme,
5549
5833
  AcrylicPurpleTheme_default as AcrylicPurpleTheme,
@@ -5590,6 +5874,7 @@ export {
5590
5874
  useNotifications,
5591
5875
  useThemeContent,
5592
5876
  useThemeContent_default as useThemeContentDefault,
5593
- useThemeSwitcher
5877
+ useThemeSwitcher,
5878
+ version
5594
5879
  };
5595
5880
  //# sourceMappingURL=index.js.map