@bwp-web/components 1.9.6 → 1.10.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
@@ -154,8 +154,8 @@ var require_randomColor = __commonJS({
154
154
  return "hsl(" + hsl[0] + ", " + hsl[1] + "%, " + hsl[2] + "%)";
155
155
  case "hsla":
156
156
  var hslColor = HSVtoHSL(hsv);
157
- var alpha5 = options.alpha || Math.random();
158
- return "hsla(" + hslColor[0] + ", " + hslColor[1] + "%, " + hslColor[2] + "%, " + alpha5 + ")";
157
+ var alpha6 = options.alpha || Math.random();
158
+ return "hsla(" + hslColor[0] + ", " + hslColor[1] + "%, " + hslColor[2] + "%, " + alpha6 + ")";
159
159
  case "rgbArray":
160
160
  return HSVtoRGB(hsv);
161
161
  case "rgb":
@@ -163,8 +163,8 @@ var require_randomColor = __commonJS({
163
163
  return "rgb(" + rgb.join(", ") + ")";
164
164
  case "rgba":
165
165
  var rgbColor = HSVtoRGB(hsv);
166
- var alpha5 = options.alpha || Math.random();
167
- return "rgba(" + rgbColor.join(", ") + ", " + alpha5 + ")";
166
+ var alpha6 = options.alpha || Math.random();
167
+ return "rgba(" + rgbColor.join(", ") + ", " + alpha6 + ")";
168
168
  default:
169
169
  return HSVtoHex(hsv);
170
170
  }
@@ -1200,6 +1200,7 @@ function BiampGlobalSearch({
1200
1200
  freeSolo: true,
1201
1201
  filterOptions: (x) => x,
1202
1202
  getOptionLabel: (option) => typeof option === "string" ? option : option.title,
1203
+ getOptionKey: (option) => typeof option === "string" ? option : option.id ?? option.title,
1203
1204
  noOptionsText: noResultsText,
1204
1205
  slots: { paper: BiampGlobalSearchPaper },
1205
1206
  slotProps: {
@@ -1421,7 +1422,7 @@ function BiampHeaderButton({
1421
1422
  }
1422
1423
  );
1423
1424
  }
1424
- var POPOVER_MAX_WIDTH = 350;
1425
+ var APP_POPOVER_MAX_WIDTH = 350;
1425
1426
  function BiampAppPopover({
1426
1427
  children,
1427
1428
  open,
@@ -1433,7 +1434,7 @@ function BiampAppPopover({
1433
1434
  {
1434
1435
  open,
1435
1436
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
1436
- transformOrigin: { vertical: -8, horizontal: POPOVER_MAX_WIDTH - 4 },
1437
+ transformOrigin: { vertical: -4, horizontal: APP_POPOVER_MAX_WIDTH },
1437
1438
  sx: { ...sx },
1438
1439
  slotProps: {
1439
1440
  paper: {
@@ -1444,7 +1445,7 @@ function BiampAppPopover({
1444
1445
  outlineStyle: "solid",
1445
1446
  outlineColor: ({ palette }) => palette.divider,
1446
1447
  boxShadow: ({ palette }) => `0px 4px 50px 0px ${alpha(palette.grey[900], 0.1)}`,
1447
- maxWidth: POPOVER_MAX_WIDTH,
1448
+ maxWidth: APP_POPOVER_MAX_WIDTH,
1448
1449
  width: "100%",
1449
1450
  p: 2,
1450
1451
  display: "flex",
@@ -1725,10 +1726,228 @@ function BiampHeaderProfile({
1725
1726
  );
1726
1727
  }
1727
1728
 
1729
+ // src/BiampNotificationPopover/BiampNotificationPopover.tsx
1730
+ import {
1731
+ alpha as alpha2,
1732
+ Box as Box5,
1733
+ Popover as Popover2,
1734
+ Stack as Stack5
1735
+ } from "@mui/material";
1736
+ import { jsx as jsx6 } from "react/jsx-runtime";
1737
+ var NOTIFICATION_POPOVER_MAX_WIDTH = 420;
1738
+ function BiampNotificationPopover({
1739
+ children,
1740
+ open,
1741
+ sx,
1742
+ ...props
1743
+ }) {
1744
+ return /* @__PURE__ */ jsx6(
1745
+ Popover2,
1746
+ {
1747
+ open,
1748
+ anchorOrigin: { vertical: "bottom", horizontal: "right" },
1749
+ transformOrigin: {
1750
+ vertical: -4,
1751
+ horizontal: NOTIFICATION_POPOVER_MAX_WIDTH
1752
+ },
1753
+ sx: { ...sx },
1754
+ slotProps: {
1755
+ paper: {
1756
+ sx: {
1757
+ borderRadius: "12px",
1758
+ backgroundImage: "none",
1759
+ outlineWidth: "0.6px",
1760
+ outlineStyle: "solid",
1761
+ outlineColor: ({ palette }) => palette.divider,
1762
+ boxShadow: ({ palette }) => `0px 4px 50px 0px ${alpha2(palette.grey[900], 0.1)}`,
1763
+ maxWidth: NOTIFICATION_POPOVER_MAX_WIDTH,
1764
+ maxHeight: "650px",
1765
+ width: "100%",
1766
+ display: "flex",
1767
+ flexDirection: "column",
1768
+ overflow: "hidden"
1769
+ }
1770
+ }
1771
+ },
1772
+ ...props,
1773
+ children
1774
+ }
1775
+ );
1776
+ }
1777
+ function BiampNotificationPopoverHeader({
1778
+ sx,
1779
+ ...props
1780
+ }) {
1781
+ return /* @__PURE__ */ jsx6(
1782
+ Stack5,
1783
+ {
1784
+ direction: "row",
1785
+ alignItems: "center",
1786
+ justifyContent: "space-between",
1787
+ sx: {
1788
+ flexShrink: 0,
1789
+ gap: 2,
1790
+ px: 2,
1791
+ pt: 2,
1792
+ ...sx
1793
+ },
1794
+ ...props
1795
+ }
1796
+ );
1797
+ }
1798
+ function BiampNotificationPopoverBody({
1799
+ sx,
1800
+ ...props
1801
+ }) {
1802
+ return /* @__PURE__ */ jsx6(
1803
+ Box5,
1804
+ {
1805
+ sx: {
1806
+ flex: 1,
1807
+ minHeight: 0,
1808
+ overflowY: "auto",
1809
+ overscrollBehavior: "none",
1810
+ px: 2,
1811
+ pb: 2,
1812
+ ...sx
1813
+ },
1814
+ ...props
1815
+ }
1816
+ );
1817
+ }
1818
+
1819
+ // src/BiampListPopover/BiampListPopover.tsx
1820
+ import {
1821
+ alpha as alpha3,
1822
+ Box as Box6,
1823
+ List,
1824
+ ListItem,
1825
+ Popover as Popover3
1826
+ } from "@mui/material";
1827
+ import { jsx as jsx7 } from "react/jsx-runtime";
1828
+ function BiampListPopover({
1829
+ children,
1830
+ slotProps,
1831
+ ...props
1832
+ }) {
1833
+ return /* @__PURE__ */ jsx7(
1834
+ Popover3,
1835
+ {
1836
+ slotProps: {
1837
+ ...slotProps,
1838
+ paper: {
1839
+ sx: ({ palette }) => ({
1840
+ borderRadius: "6px",
1841
+ backgroundImage: "none",
1842
+ border: `0.6px solid ${palette.dividers.secondary}`,
1843
+ boxShadow: `0px 1px 1px 0px ${alpha3(palette.common.black, 0.05)}`,
1844
+ minWidth: "150px"
1845
+ }),
1846
+ ...slotProps?.paper ?? {}
1847
+ }
1848
+ },
1849
+ ...props,
1850
+ children: /* @__PURE__ */ jsx7(List, { dense: true, disablePadding: true, children })
1851
+ }
1852
+ );
1853
+ }
1854
+ var listItemSx = {
1855
+ py: 0,
1856
+ pr: 1.5,
1857
+ pl: 0,
1858
+ alignItems: "center",
1859
+ cursor: "pointer",
1860
+ "&:hover": {
1861
+ backgroundColor: ({ palette }) => palette.mode === "dark" ? palette.grey[800] : palette.grey[100]
1862
+ }
1863
+ };
1864
+ function BiampListPopoverItem({
1865
+ sx,
1866
+ ...props
1867
+ }) {
1868
+ return /* @__PURE__ */ jsx7(
1869
+ ListItem,
1870
+ {
1871
+ dense: true,
1872
+ sx: [listItemSx, ...Array.isArray(sx) ? sx : [sx]],
1873
+ ...props
1874
+ }
1875
+ );
1876
+ }
1877
+ function BiampListPopoverScrollArea({
1878
+ maxHeight = 340,
1879
+ sx,
1880
+ ...props
1881
+ }) {
1882
+ return /* @__PURE__ */ jsx7(
1883
+ Box6,
1884
+ {
1885
+ sx: { maxHeight, overflow: "auto", overscrollBehavior: "none", ...sx },
1886
+ ...props
1887
+ }
1888
+ );
1889
+ }
1890
+
1891
+ // src/BiampCheckboxListPopover/BiampCheckboxListPopover.tsx
1892
+ import { Checkbox, Divider as Divider2, Typography as Typography4 } from "@mui/material";
1893
+ import { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
1894
+ function resolveAria(label, ariaLabel) {
1895
+ if (ariaLabel) return ariaLabel;
1896
+ return typeof label === "string" ? label : void 0;
1897
+ }
1898
+ function BiampCheckboxListPopover({
1899
+ items,
1900
+ onToggleItem,
1901
+ showSelectAll = true,
1902
+ selectAllLabel = "Show all",
1903
+ onToggleAll,
1904
+ maxHeight,
1905
+ ...popoverProps
1906
+ }) {
1907
+ const allChecked = items.length > 0 && items.every((item) => item.checked);
1908
+ return /* @__PURE__ */ jsxs6(BiampListPopover, { ...popoverProps, children: [
1909
+ showSelectAll && /* @__PURE__ */ jsxs6(Fragment2, { children: [
1910
+ /* @__PURE__ */ jsxs6(BiampListPopoverItem, { onClick: () => onToggleAll?.(!allChecked), children: [
1911
+ /* @__PURE__ */ jsx8(
1912
+ Checkbox,
1913
+ {
1914
+ checked: allChecked,
1915
+ slotProps: { input: { "aria-label": selectAllLabel } }
1916
+ }
1917
+ ),
1918
+ /* @__PURE__ */ jsx8(Typography4, { variant: "caption", fontWeight: 600, children: selectAllLabel })
1919
+ ] }),
1920
+ /* @__PURE__ */ jsx8(Divider2, {})
1921
+ ] }),
1922
+ /* @__PURE__ */ jsx8(BiampListPopoverScrollArea, { maxHeight, children: items.map((item) => /* @__PURE__ */ jsxs6(
1923
+ BiampListPopoverItem,
1924
+ {
1925
+ onClick: () => onToggleItem(item.id),
1926
+ children: [
1927
+ /* @__PURE__ */ jsx8(
1928
+ Checkbox,
1929
+ {
1930
+ checked: item.checked,
1931
+ sx: { py: 1 },
1932
+ slotProps: {
1933
+ input: {
1934
+ "aria-label": resolveAria(item.label, item.ariaLabel)
1935
+ }
1936
+ }
1937
+ }
1938
+ ),
1939
+ /* @__PURE__ */ jsx8(Typography4, { variant: "caption", children: item.label })
1940
+ ]
1941
+ },
1942
+ item.id
1943
+ )) })
1944
+ ] });
1945
+ }
1946
+
1728
1947
  // src/BiampTable/BiampTable.tsx
1729
1948
  import {
1730
- Box as Box8,
1731
- Checkbox as Checkbox2,
1949
+ Box as Box10,
1950
+ Checkbox as Checkbox3,
1732
1951
  Table as MuiTable,
1733
1952
  TableBody,
1734
1953
  TableCell as TableCell2,
@@ -1750,9 +1969,9 @@ import { useEffect as useEffect2, useRef as useRef3 } from "react";
1750
1969
  import { NoResultsIcon } from "@bwp-web/assets";
1751
1970
 
1752
1971
  // src/BiampTable/BiampTableStatusMessage.tsx
1753
- import { Stack as Stack5, Typography as Typography4 } from "@mui/material";
1972
+ import { Stack as Stack6, Typography as Typography5 } from "@mui/material";
1754
1973
  import { cloneElement } from "react";
1755
- import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
1974
+ import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
1756
1975
  function BiampTableStatusMessage({
1757
1976
  icon,
1758
1977
  title,
@@ -1760,25 +1979,25 @@ function BiampTableStatusMessage({
1760
1979
  children,
1761
1980
  ...stackProps
1762
1981
  }) {
1763
- return /* @__PURE__ */ jsxs6(Stack5, { alignItems: "center", gap: 1.5, ...stackProps, children: [
1982
+ return /* @__PURE__ */ jsxs7(Stack6, { alignItems: "center", gap: 1.5, ...stackProps, children: [
1764
1983
  cloneElement(icon, {
1765
1984
  "aria-hidden": true,
1766
1985
  sx: { width: 56, height: 56, ...icon.props.sx }
1767
1986
  }),
1768
- /* @__PURE__ */ jsx6(Typography4, { variant: "h2", children: title }),
1769
- description && /* @__PURE__ */ jsx6(Typography4, { variant: "body1", children: description }),
1987
+ /* @__PURE__ */ jsx9(Typography5, { variant: "h2", children: title }),
1988
+ description && /* @__PURE__ */ jsx9(Typography5, { variant: "body1", children: description }),
1770
1989
  children
1771
1990
  ] });
1772
1991
  }
1773
1992
 
1774
1993
  // src/BiampTable/BiampTableEmptyState.tsx
1775
- import { jsx as jsx7 } from "react/jsx-runtime";
1994
+ import { jsx as jsx10 } from "react/jsx-runtime";
1776
1995
  function BiampTableEmptyState({
1777
- icon = /* @__PURE__ */ jsx7(NoResultsIcon, {}),
1996
+ icon = /* @__PURE__ */ jsx10(NoResultsIcon, {}),
1778
1997
  title = "Nothing to show",
1779
1998
  ...rest
1780
1999
  }) {
1781
- return /* @__PURE__ */ jsx7(
2000
+ return /* @__PURE__ */ jsx10(
1782
2001
  BiampTableStatusMessage,
1783
2002
  {
1784
2003
  role: "status",
@@ -1791,19 +2010,19 @@ function BiampTableEmptyState({
1791
2010
 
1792
2011
  // src/BiampTable/BiampTableErrorState.tsx
1793
2012
  import { ServiceNotReachableIcon } from "@bwp-web/assets";
1794
- import { jsx as jsx8 } from "react/jsx-runtime";
2013
+ import { jsx as jsx11 } from "react/jsx-runtime";
1795
2014
  function BiampTableErrorState({
1796
- icon = /* @__PURE__ */ jsx8(ServiceNotReachableIcon, {}),
2015
+ icon = /* @__PURE__ */ jsx11(ServiceNotReachableIcon, {}),
1797
2016
  title = "Failed to load",
1798
2017
  ...rest
1799
2018
  }) {
1800
- return /* @__PURE__ */ jsx8(BiampTableStatusMessage, { role: "alert", icon, title, ...rest });
2019
+ return /* @__PURE__ */ jsx11(BiampTableStatusMessage, { role: "alert", icon, title, ...rest });
1801
2020
  }
1802
2021
 
1803
2022
  // src/BiampTable/BiampTableRow.tsx
1804
2023
  import {
1805
- Box as Box7,
1806
- Checkbox,
2024
+ Box as Box9,
2025
+ Checkbox as Checkbox2,
1807
2026
  IconButton as IconButton2,
1808
2027
  TableCell,
1809
2028
  TableRow
@@ -1813,9 +2032,9 @@ import { flexRender } from "@tanstack/react-table";
1813
2032
  import React4 from "react";
1814
2033
 
1815
2034
  // src/BiampTable/BiampTableTruncatedCell.tsx
1816
- import { Box as Box5, Tooltip as Tooltip2 } from "@mui/material";
2035
+ import { Box as Box7, Tooltip as Tooltip2 } from "@mui/material";
1817
2036
  import { useCallback, useRef as useRef2, useState as useState5 } from "react";
1818
- import { jsx as jsx9 } from "react/jsx-runtime";
2037
+ import { jsx as jsx12 } from "react/jsx-runtime";
1819
2038
  function BiampTableTruncatedCell({
1820
2039
  children
1821
2040
  }) {
@@ -1830,7 +2049,7 @@ function BiampTableTruncatedCell({
1830
2049
  const handleMouseLeave = useCallback(() => {
1831
2050
  setOpen(false);
1832
2051
  }, []);
1833
- return /* @__PURE__ */ jsx9(
2052
+ return /* @__PURE__ */ jsx12(
1834
2053
  Tooltip2,
1835
2054
  {
1836
2055
  title: children,
@@ -1838,8 +2057,8 @@ function BiampTableTruncatedCell({
1838
2057
  arrow: true,
1839
2058
  placement: "top",
1840
2059
  disableInteractive: true,
1841
- children: /* @__PURE__ */ jsx9(
1842
- Box5,
2060
+ children: /* @__PURE__ */ jsx12(
2061
+ Box7,
1843
2062
  {
1844
2063
  "data-truncate": true,
1845
2064
  ref: textRef,
@@ -1896,8 +2115,8 @@ function cellSx(sticky, minWidth, zIndex) {
1896
2115
  }
1897
2116
 
1898
2117
  // src/BiampTable/BiampTableExpandGuidelines.tsx
1899
- import { Box as Box6 } from "@mui/material";
1900
- import { Fragment as Fragment2, jsx as jsx10 } from "react/jsx-runtime";
2118
+ import { Box as Box8 } from "@mui/material";
2119
+ import { Fragment as Fragment3, jsx as jsx13 } from "react/jsx-runtime";
1901
2120
  var guidelineIndent = 28;
1902
2121
  var guidelineCellPaddingLeft = 12;
1903
2122
  var guidelineLineOffsetFromParentText = 4;
@@ -1931,8 +2150,8 @@ function ExpandGuidelines({ row }) {
1931
2150
  const ancestor = getAncestorAtDepth(row, k);
1932
2151
  if (!ancestor || isLastChildOfParent(ancestor)) continue;
1933
2152
  lines.push(
1934
- /* @__PURE__ */ jsx10(
1935
- Box6,
2153
+ /* @__PURE__ */ jsx13(
2154
+ Box8,
1936
2155
  {
1937
2156
  "aria-hidden": true,
1938
2157
  sx: {
@@ -1954,8 +2173,8 @@ function ExpandGuidelines({ row }) {
1954
2173
  const rowIsFirst = isFirstChildOfParent(row);
1955
2174
  const elbowTopOffset = rowIsFirst ? -guidelineFirstChildTopExtension : 0;
1956
2175
  lines.push(
1957
- /* @__PURE__ */ jsx10(
1958
- Box6,
2176
+ /* @__PURE__ */ jsx13(
2177
+ Box8,
1959
2178
  {
1960
2179
  "aria-hidden": true,
1961
2180
  sx: {
@@ -1973,8 +2192,8 @@ function ExpandGuidelines({ row }) {
1973
2192
  );
1974
2193
  if (!rowIsLast) {
1975
2194
  lines.push(
1976
- /* @__PURE__ */ jsx10(
1977
- Box6,
2195
+ /* @__PURE__ */ jsx13(
2196
+ Box8,
1978
2197
  {
1979
2198
  "aria-hidden": true,
1980
2199
  sx: {
@@ -1992,8 +2211,8 @@ function ExpandGuidelines({ row }) {
1992
2211
  );
1993
2212
  }
1994
2213
  lines.push(
1995
- /* @__PURE__ */ jsx10(
1996
- Box6,
2214
+ /* @__PURE__ */ jsx13(
2215
+ Box8,
1997
2216
  {
1998
2217
  "aria-hidden": true,
1999
2218
  sx: {
@@ -2009,11 +2228,11 @@ function ExpandGuidelines({ row }) {
2009
2228
  "h-elbow"
2010
2229
  )
2011
2230
  );
2012
- return /* @__PURE__ */ jsx10(Fragment2, { children: lines });
2231
+ return /* @__PURE__ */ jsx13(Fragment3, { children: lines });
2013
2232
  }
2014
2233
 
2015
2234
  // src/BiampTable/BiampTableRow.tsx
2016
- import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
2235
+ import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
2017
2236
  var rowCursorPointerSx = { cursor: "pointer" };
2018
2237
  var selectionCellSx = {
2019
2238
  position: "sticky",
@@ -2036,7 +2255,7 @@ function ExpandToggle({
2036
2255
  rowLabel
2037
2256
  }) {
2038
2257
  if (row.getCanExpand()) {
2039
- return /* @__PURE__ */ jsx11(
2258
+ return /* @__PURE__ */ jsx14(
2040
2259
  IconButton2,
2041
2260
  {
2042
2261
  variant: "none",
@@ -2046,13 +2265,13 @@ function ExpandToggle({
2046
2265
  },
2047
2266
  "aria-label": isExpanded ? `Collapse ${rowLabel}` : `Expand ${rowLabel}`,
2048
2267
  "aria-expanded": isExpanded,
2049
- children: isExpanded ? /* @__PURE__ */ jsx11(
2268
+ children: isExpanded ? /* @__PURE__ */ jsx14(
2050
2269
  ChevronDownIcon,
2051
2270
  {
2052
2271
  variant: "xs",
2053
2272
  sx: { color: ({ palette }) => palette.text.secondary }
2054
2273
  }
2055
- ) : /* @__PURE__ */ jsx11(
2274
+ ) : /* @__PURE__ */ jsx14(
2056
2275
  ChevronRightIcon,
2057
2276
  {
2058
2277
  variant: "xs",
@@ -2062,7 +2281,7 @@ function ExpandToggle({
2062
2281
  }
2063
2282
  );
2064
2283
  }
2065
- if (hasExpandableRows) return /* @__PURE__ */ jsx11(Box7, { sx: expandPlaceholderSx });
2284
+ if (hasExpandableRows) return /* @__PURE__ */ jsx14(Box9, { sx: expandPlaceholderSx });
2066
2285
  return null;
2067
2286
  }
2068
2287
  function renderCellContent({
@@ -2078,18 +2297,18 @@ function renderCellContent({
2078
2297
  const content = flexRender(cell.column.columnDef.cell, cell.getContext());
2079
2298
  if (sticky) return content;
2080
2299
  const truncate = cell.column.columnDef.meta?.truncate ?? true;
2081
- const truncated = truncate ? /* @__PURE__ */ jsx11(BiampTableTruncatedCell, { children: content }) : content;
2300
+ const truncated = truncate ? /* @__PURE__ */ jsx14(BiampTableTruncatedCell, { children: content }) : content;
2082
2301
  if (!isExpandCell) return truncated;
2083
2302
  if (alwaysExpanded) {
2084
- return row.depth > 0 ? /* @__PURE__ */ jsx11(Box7, { sx: { pl: `${row.depth * 28}px` }, children: truncated }) : truncated;
2303
+ return row.depth > 0 ? /* @__PURE__ */ jsx14(Box9, { sx: { pl: `${row.depth * 28}px` }, children: truncated }) : truncated;
2085
2304
  }
2086
2305
  const rowLabel = getRowLabel ? getRowLabel(row.original) : `row ${row.index + 1}`;
2087
- return /* @__PURE__ */ jsxs7(
2088
- Box7,
2306
+ return /* @__PURE__ */ jsxs8(
2307
+ Box9,
2089
2308
  {
2090
2309
  sx: row.depth > 0 ? { ...expandCellBaseSx, pl: `${row.depth * 12}px` } : expandCellBaseSx,
2091
2310
  children: [
2092
- /* @__PURE__ */ jsx11(
2311
+ /* @__PURE__ */ jsx14(
2093
2312
  ExpandToggle,
2094
2313
  {
2095
2314
  row,
@@ -2128,7 +2347,7 @@ function BiampTableRowInner({
2128
2347
  onKeyDown: userRowOnKeyDown,
2129
2348
  ...restRowProps
2130
2349
  } = resolvedRow ?? {};
2131
- return /* @__PURE__ */ jsxs7(
2350
+ return /* @__PURE__ */ jsxs8(
2132
2351
  TableRow,
2133
2352
  {
2134
2353
  ...restRowProps,
@@ -2153,7 +2372,7 @@ function BiampTableRowInner({
2153
2372
  userRowOnKeyDown?.(e);
2154
2373
  } : userRowOnKeyDown,
2155
2374
  children: [
2156
- enableRowSelection && /* @__PURE__ */ jsx11(
2375
+ enableRowSelection && /* @__PURE__ */ jsx14(
2157
2376
  TableCell,
2158
2377
  {
2159
2378
  padding: "checkbox",
@@ -2161,8 +2380,8 @@ function BiampTableRowInner({
2161
2380
  selectionCellSx,
2162
2381
  customColor ? { backgroundColor: customColor } : void 0
2163
2382
  ),
2164
- children: /* @__PURE__ */ jsx11(
2165
- Checkbox,
2383
+ children: /* @__PURE__ */ jsx14(
2384
+ Checkbox2,
2166
2385
  {
2167
2386
  checked: isSelected,
2168
2387
  disabled: !row.getCanSelect(),
@@ -2186,7 +2405,7 @@ function BiampTableRowInner({
2186
2405
  const showGuidelinesOnCell = isExpandCell && showExpandGuidelines && alwaysExpanded && row.depth > 0;
2187
2406
  const resolvedCell = resolveSlot(cellSlotProps, { cell });
2188
2407
  const { sx: userCellSx, ...restCellProps } = resolvedCell ?? {};
2189
- return /* @__PURE__ */ jsxs7(
2408
+ return /* @__PURE__ */ jsxs8(
2190
2409
  TableCell,
2191
2410
  {
2192
2411
  ...restCellProps,
@@ -2199,7 +2418,7 @@ function BiampTableRowInner({
2199
2418
  userCellSx
2200
2419
  ),
2201
2420
  children: [
2202
- showGuidelinesOnCell && /* @__PURE__ */ jsx11(ExpandGuidelines, { row }),
2421
+ showGuidelinesOnCell && /* @__PURE__ */ jsx14(ExpandGuidelines, { row }),
2203
2422
  renderCellContent({
2204
2423
  cell,
2205
2424
  row,
@@ -2228,7 +2447,7 @@ var BiampTableRow = React4.memo(
2228
2447
  );
2229
2448
 
2230
2449
  // src/BiampTable/BiampTable.tsx
2231
- import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
2450
+ import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
2232
2451
  var overlaySx = {
2233
2452
  position: "absolute",
2234
2453
  top: 0,
@@ -2289,10 +2508,10 @@ function BiampTable({
2289
2508
  const hasExpandableRows = enableExpanding && rows.some((r) => r.getCanExpand());
2290
2509
  const showError = !!error && !loading;
2291
2510
  const showEmpty = !showError && !loading && rows.length === 0;
2292
- return /* @__PURE__ */ jsxs8(
2511
+ return /* @__PURE__ */ jsxs9(
2293
2512
  TableContainer,
2294
2513
  {
2295
- component: Box8,
2514
+ component: Box10,
2296
2515
  ...boxProps,
2297
2516
  ref: containerRef,
2298
2517
  sx: {
@@ -2303,7 +2522,7 @@ function BiampTable({
2303
2522
  ...sx
2304
2523
  },
2305
2524
  children: [
2306
- /* @__PURE__ */ jsxs8(
2525
+ /* @__PURE__ */ jsxs9(
2307
2526
  MuiTable,
2308
2527
  {
2309
2528
  "aria-busy": showLoading || void 0,
@@ -2313,14 +2532,14 @@ function BiampTable({
2313
2532
  userTableSx
2314
2533
  ),
2315
2534
  children: [
2316
- /* @__PURE__ */ jsx12(TableHead, { ...restHeadSlotProps, sx: mergeSx(userHeadSx), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsxs8(
2535
+ /* @__PURE__ */ jsx15(TableHead, { ...restHeadSlotProps, sx: mergeSx(userHeadSx), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsxs9(
2317
2536
  TableRow2,
2318
2537
  {
2319
2538
  ...restHeaderRowSlotProps,
2320
2539
  sx: mergeSx(userHeaderRowSx),
2321
2540
  children: [
2322
- enableRowSelection && /* @__PURE__ */ jsx12(TableCell2, { padding: "checkbox", sx: headerSelectionCellSx, children: !hideSelectAll && /* @__PURE__ */ jsx12(
2323
- Checkbox2,
2541
+ enableRowSelection && /* @__PURE__ */ jsx15(TableCell2, { padding: "checkbox", sx: headerSelectionCellSx, children: !hideSelectAll && /* @__PURE__ */ jsx15(
2542
+ Checkbox3,
2324
2543
  {
2325
2544
  checked: table.getIsAllPageRowsSelected(),
2326
2545
  indeterminate: table.getIsSomePageRowsSelected(),
@@ -2335,7 +2554,7 @@ function BiampTable({
2335
2554
  header
2336
2555
  });
2337
2556
  const { sx: userHeaderCellSx, ...restHeaderCellProps } = resolvedHeaderCell ?? {};
2338
- return /* @__PURE__ */ jsx12(
2557
+ return /* @__PURE__ */ jsx15(
2339
2558
  TableCell2,
2340
2559
  {
2341
2560
  ...restHeaderCellProps,
@@ -2348,7 +2567,7 @@ function BiampTable({
2348
2567
  cellSx(sticky, header.column.columnDef.meta?.minWidth, 3),
2349
2568
  userHeaderCellSx
2350
2569
  ),
2351
- children: header.isPlaceholder ? null : header.column.getCanSort() ? /* @__PURE__ */ jsx12(
2570
+ children: header.isPlaceholder ? null : header.column.getCanSort() ? /* @__PURE__ */ jsx15(
2352
2571
  TableSortLabel,
2353
2572
  {
2354
2573
  active: !!header.column.getIsSorted(),
@@ -2374,12 +2593,12 @@ function BiampTable({
2374
2593
  },
2375
2594
  headerGroup.id
2376
2595
  )) }),
2377
- /* @__PURE__ */ jsx12(
2596
+ /* @__PURE__ */ jsx15(
2378
2597
  TableBody,
2379
2598
  {
2380
2599
  ...restBodySlotProps,
2381
2600
  sx: mergeSx({ opacity: showLoading ? 0.3 : 1 }, userBodySx),
2382
- children: !showError && rows.map((row) => /* @__PURE__ */ jsx12(
2601
+ children: !showError && rows.map((row) => /* @__PURE__ */ jsx15(
2383
2602
  BiampTableRow,
2384
2603
  {
2385
2604
  row,
@@ -2406,22 +2625,22 @@ function BiampTable({
2406
2625
  ]
2407
2626
  }
2408
2627
  ),
2409
- showError && /* @__PURE__ */ jsx12(Box8, { sx: overlaySx, children: error === true ? /* @__PURE__ */ jsx12(BiampTableErrorState, { sx: { pointerEvents: "auto" } }) : error instanceof Error ? /* @__PURE__ */ jsx12(
2628
+ showError && /* @__PURE__ */ jsx15(Box10, { sx: overlaySx, children: error === true ? /* @__PURE__ */ jsx15(BiampTableErrorState, { sx: { pointerEvents: "auto" } }) : error instanceof Error ? /* @__PURE__ */ jsx15(
2410
2629
  BiampTableErrorState,
2411
2630
  {
2412
2631
  description: error.message,
2413
2632
  sx: { pointerEvents: "auto" }
2414
2633
  }
2415
2634
  ) : error }),
2416
- showEmpty && /* @__PURE__ */ jsx12(Box8, { sx: overlaySx, children: empty && empty !== true ? empty : /* @__PURE__ */ jsx12(BiampTableEmptyState, { sx: { pointerEvents: "auto" } }) })
2635
+ showEmpty && /* @__PURE__ */ jsx15(Box10, { sx: overlaySx, children: empty && empty !== true ? empty : /* @__PURE__ */ jsx15(BiampTableEmptyState, { sx: { pointerEvents: "auto" } }) })
2417
2636
  ]
2418
2637
  }
2419
2638
  );
2420
2639
  }
2421
2640
 
2422
2641
  // src/BiampTable/BiampTableContainer.tsx
2423
- import { Stack as Stack6 } from "@mui/material";
2424
- import { jsx as jsx13 } from "react/jsx-runtime";
2642
+ import { Stack as Stack7 } from "@mui/material";
2643
+ import { jsx as jsx16 } from "react/jsx-runtime";
2425
2644
  function BiampTableContainer({
2426
2645
  withBorderTop = true,
2427
2646
  withBorderBottom = false,
@@ -2429,8 +2648,8 @@ function BiampTableContainer({
2429
2648
  sx,
2430
2649
  ...props
2431
2650
  }) {
2432
- return /* @__PURE__ */ jsx13(
2433
- Stack6,
2651
+ return /* @__PURE__ */ jsx16(
2652
+ Stack7,
2434
2653
  {
2435
2654
  direction: "column",
2436
2655
  width: "100%",
@@ -2448,9 +2667,9 @@ function BiampTableContainer({
2448
2667
 
2449
2668
  // src/BiampTable/BiampTableCellActionButton.tsx
2450
2669
  import { IconButton as IconButton3, Tooltip as Tooltip3 } from "@mui/material";
2451
- import { jsx as jsx14 } from "react/jsx-runtime";
2670
+ import { jsx as jsx17 } from "react/jsx-runtime";
2452
2671
  function BiampTableCellActionButton({ label, icon, ...props }) {
2453
- return /* @__PURE__ */ jsx14(
2672
+ return /* @__PURE__ */ jsx17(
2454
2673
  Tooltip3,
2455
2674
  {
2456
2675
  title: label,
@@ -2458,23 +2677,13 @@ function BiampTableCellActionButton({ label, icon, ...props }) {
2458
2677
  enterDelay: 500,
2459
2678
  enterNextDelay: 500,
2460
2679
  disableInteractive: true,
2461
- children: /* @__PURE__ */ jsx14("span", { children: /* @__PURE__ */ jsx14(IconButton3, { "aria-label": label, ...props, children: icon }) })
2680
+ children: /* @__PURE__ */ jsx17("span", { children: /* @__PURE__ */ jsx17(IconButton3, { "aria-label": label, ...props, children: icon }) })
2462
2681
  }
2463
2682
  );
2464
2683
  }
2465
2684
 
2466
2685
  // src/BiampTable/BiampTableColumnVisibility.tsx
2467
- import {
2468
- alpha as alpha2,
2469
- Box as Box9,
2470
- Checkbox as Checkbox3,
2471
- Divider as Divider2,
2472
- List,
2473
- ListItem,
2474
- Popover as Popover2,
2475
- Typography as Typography5
2476
- } from "@mui/material";
2477
- import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
2686
+ import { jsx as jsx18 } from "react/jsx-runtime";
2478
2687
  function toVisibilityState(visibility) {
2479
2688
  return visibility;
2480
2689
  }
@@ -2497,16 +2706,6 @@ function getColumnVisibilityDirtyCount(table, defaultVisibility) {
2497
2706
  }
2498
2707
  return count;
2499
2708
  }
2500
- var columnListItemSx = {
2501
- py: 0,
2502
- pr: 1.5,
2503
- pl: 0,
2504
- alignItems: "center",
2505
- cursor: "pointer",
2506
- "&:hover": {
2507
- backgroundColor: ({ palette }) => palette.mode === "dark" ? palette.grey[800] : palette.grey[100]
2508
- }
2509
- };
2510
2709
  function BiampTableColumnVisibility({
2511
2710
  table,
2512
2711
  showAllLabel = "Show all",
@@ -2517,9 +2716,16 @@ function BiampTableColumnVisibility({
2517
2716
  ...popoverProps
2518
2717
  }) {
2519
2718
  const hideableColumns = table.getAllLeafColumns().filter((col) => col.getCanHide());
2520
- const allVisible = hideableColumns.every((col) => col.getIsVisible());
2521
- const toggleAllHideable = () => {
2522
- const next = !allVisible;
2719
+ const items = hideableColumns.map((column) => {
2720
+ const columnName = column.columnDef.meta?.columnLabel ?? (typeof column.columnDef.header === "string" ? column.columnDef.header : column.id);
2721
+ return {
2722
+ id: column.id,
2723
+ label: columnName,
2724
+ checked: column.getIsVisible(),
2725
+ ariaLabel: `Show ${columnName}`
2726
+ };
2727
+ });
2728
+ const setAllHideable = (next) => {
2523
2729
  table.setColumnVisibility((prev) => {
2524
2730
  const updated = { ...prev };
2525
2731
  for (const col of hideableColumns) {
@@ -2528,71 +2734,19 @@ function BiampTableColumnVisibility({
2528
2734
  return updated;
2529
2735
  });
2530
2736
  };
2531
- return /* @__PURE__ */ jsx15(
2532
- Popover2,
2737
+ return /* @__PURE__ */ jsx18(
2738
+ BiampCheckboxListPopover,
2533
2739
  {
2534
2740
  anchorEl,
2535
2741
  open: Boolean(anchorEl),
2536
2742
  anchorOrigin,
2537
2743
  transformOrigin,
2538
- slotProps: {
2539
- ...slotProps,
2540
- paper: {
2541
- sx: ({ palette }) => ({
2542
- borderRadius: "6px",
2543
- backgroundImage: "none",
2544
- border: `0.6px solid ${palette.dividers.secondary}`,
2545
- boxShadow: `0px 1px 1px 0px ${alpha2(palette.common.black, 0.05)}`,
2546
- minWidth: "150px"
2547
- }),
2548
- ...slotProps?.paper ?? {}
2549
- }
2550
- },
2551
- ...popoverProps,
2552
- children: /* @__PURE__ */ jsxs9(List, { dense: true, disablePadding: true, children: [
2553
- /* @__PURE__ */ jsxs9(ListItem, { dense: true, sx: columnListItemSx, onClick: toggleAllHideable, children: [
2554
- /* @__PURE__ */ jsx15(
2555
- Checkbox3,
2556
- {
2557
- checked: allVisible,
2558
- slotProps: { input: { "aria-label": `${showAllLabel} columns` } }
2559
- }
2560
- ),
2561
- /* @__PURE__ */ jsx15(Typography5, { variant: "caption", fontWeight: 600, children: showAllLabel })
2562
- ] }),
2563
- /* @__PURE__ */ jsx15(Divider2, {}),
2564
- /* @__PURE__ */ jsx15(
2565
- Box9,
2566
- {
2567
- sx: { maxHeight: 340, overflow: "auto", overscrollBehavior: "none" },
2568
- children: hideableColumns.map((column) => {
2569
- const columnName = column.columnDef.meta?.columnLabel ?? (typeof column.columnDef.header === "string" ? column.columnDef.header : column.id);
2570
- return /* @__PURE__ */ jsxs9(
2571
- ListItem,
2572
- {
2573
- dense: true,
2574
- sx: columnListItemSx,
2575
- onClick: column.getToggleVisibilityHandler(),
2576
- children: [
2577
- /* @__PURE__ */ jsx15(
2578
- Checkbox3,
2579
- {
2580
- checked: column.getIsVisible(),
2581
- sx: { py: 1 },
2582
- slotProps: {
2583
- input: { "aria-label": `Show ${columnName}` }
2584
- }
2585
- }
2586
- ),
2587
- /* @__PURE__ */ jsx15(Typography5, { variant: "caption", children: columnName })
2588
- ]
2589
- },
2590
- column.id
2591
- );
2592
- })
2593
- }
2594
- )
2595
- ] })
2744
+ slotProps,
2745
+ items,
2746
+ onToggleItem: (id) => table.getColumn(id)?.toggleVisibility(),
2747
+ selectAllLabel: showAllLabel,
2748
+ onToggleAll: setAllHideable,
2749
+ ...popoverProps
2596
2750
  }
2597
2751
  );
2598
2752
  }
@@ -2606,7 +2760,7 @@ import {
2606
2760
  Badge,
2607
2761
  IconButton as IconButton4
2608
2762
  } from "@mui/material";
2609
- import { jsx as jsx16 } from "react/jsx-runtime";
2763
+ import { jsx as jsx19 } from "react/jsx-runtime";
2610
2764
  function BiampTableToolbarActionButton({
2611
2765
  label,
2612
2766
  icon,
@@ -2614,12 +2768,12 @@ function BiampTableToolbarActionButton({
2614
2768
  ...props
2615
2769
  }) {
2616
2770
  const showBadge = badgeContent != null && badgeContent !== 0;
2617
- return /* @__PURE__ */ jsx16(
2771
+ return /* @__PURE__ */ jsx19(
2618
2772
  IconButton4,
2619
2773
  {
2620
2774
  "aria-label": showBadge ? `${label} (${badgeContent})` : label,
2621
2775
  ...props,
2622
- children: showBadge ? /* @__PURE__ */ jsx16(
2776
+ children: showBadge ? /* @__PURE__ */ jsx19(
2623
2777
  Badge,
2624
2778
  {
2625
2779
  badgeContent,
@@ -2643,10 +2797,10 @@ function BiampTableToolbarActionButton({
2643
2797
  }
2644
2798
 
2645
2799
  // src/BiampTable/BiampTableToolbarColumnVisibility.tsx
2646
- import { Fragment as Fragment3, jsx as jsx17, jsxs as jsxs10 } from "react/jsx-runtime";
2800
+ import { Fragment as Fragment4, jsx as jsx20, jsxs as jsxs10 } from "react/jsx-runtime";
2647
2801
  function BiampTableToolbarColumnVisibility({
2648
2802
  table,
2649
- icon = /* @__PURE__ */ jsx17(ColumnsIcon2, { variant: "xs" }),
2803
+ icon = /* @__PURE__ */ jsx20(ColumnsIcon2, { variant: "xs" }),
2650
2804
  label = "Columns",
2651
2805
  defaultColumnVisibility,
2652
2806
  showAllLabel,
@@ -2655,8 +2809,8 @@ function BiampTableToolbarColumnVisibility({
2655
2809
  const [anchorEl, setAnchorEl] = useState6(null);
2656
2810
  const defaults = defaultColumnVisibility ?? getDefaultColumnVisibility(table);
2657
2811
  const dirtyCount = getColumnVisibilityDirtyCount(table, defaults);
2658
- return /* @__PURE__ */ jsxs10(Fragment3, { children: [
2659
- /* @__PURE__ */ jsx17(
2812
+ return /* @__PURE__ */ jsxs10(Fragment4, { children: [
2813
+ /* @__PURE__ */ jsx20(
2660
2814
  BiampTableToolbarActionButton,
2661
2815
  {
2662
2816
  label,
@@ -2666,7 +2820,7 @@ function BiampTableToolbarColumnVisibility({
2666
2820
  ...actionButtonProps
2667
2821
  }
2668
2822
  ),
2669
- /* @__PURE__ */ jsx17(
2823
+ /* @__PURE__ */ jsx20(
2670
2824
  BiampTableColumnVisibility,
2671
2825
  {
2672
2826
  table,
@@ -2681,7 +2835,7 @@ function BiampTableToolbarColumnVisibility({
2681
2835
  // src/BiampTable/BiampTablePagination.tsx
2682
2836
  import { useEffect as useEffect3, useRef as useRef4 } from "react";
2683
2837
  import { TablePagination } from "@mui/material";
2684
- import { jsx as jsx18 } from "react/jsx-runtime";
2838
+ import { jsx as jsx21 } from "react/jsx-runtime";
2685
2839
  var positionMap = {
2686
2840
  left: "flex-start",
2687
2841
  center: "center",
@@ -2710,7 +2864,7 @@ function BiampTablePagination({
2710
2864
  }
2711
2865
  }, [loading, pageIndex, maxPage, table]);
2712
2866
  if (autoHide && (!stableCount || stableCount <= pageSize)) return null;
2713
- return /* @__PURE__ */ jsx18(
2867
+ return /* @__PURE__ */ jsx21(
2714
2868
  TablePagination,
2715
2869
  {
2716
2870
  component: "div",
@@ -2742,15 +2896,15 @@ function BiampTablePagination({
2742
2896
  }
2743
2897
 
2744
2898
  // src/BiampTable/BiampTableToolbar.tsx
2745
- import { Box as Box10 } from "@mui/material";
2746
- import { jsx as jsx19 } from "react/jsx-runtime";
2899
+ import { Box as Box11 } from "@mui/material";
2900
+ import { jsx as jsx22 } from "react/jsx-runtime";
2747
2901
  function BiampTableToolbar({
2748
2902
  children,
2749
2903
  sx,
2750
2904
  ...props
2751
2905
  }) {
2752
- return /* @__PURE__ */ jsx19(
2753
- Box10,
2906
+ return /* @__PURE__ */ jsx22(
2907
+ Box11,
2754
2908
  {
2755
2909
  role: "toolbar",
2756
2910
  display: "flex",
@@ -2767,14 +2921,14 @@ function BiampTableToolbar({
2767
2921
  }
2768
2922
 
2769
2923
  // src/BiampTable/BiampTableToolbarActions.tsx
2770
- import { Box as Box11 } from "@mui/material";
2771
- import { jsx as jsx20 } from "react/jsx-runtime";
2924
+ import { Box as Box12 } from "@mui/material";
2925
+ import { jsx as jsx23 } from "react/jsx-runtime";
2772
2926
  function BiampTableToolbarActions({
2773
2927
  children,
2774
2928
  ...props
2775
2929
  }) {
2776
- return /* @__PURE__ */ jsx20(
2777
- Box11,
2930
+ return /* @__PURE__ */ jsx23(
2931
+ Box12,
2778
2932
  {
2779
2933
  display: "flex",
2780
2934
  alignItems: "center",
@@ -2790,15 +2944,15 @@ function BiampTableToolbarActions({
2790
2944
  // src/BiampTable/BiampTableToolbarExport.tsx
2791
2945
  import { Button as Button2 } from "@mui/material";
2792
2946
  import { DownloadIcon } from "@bwp-web/assets";
2793
- import { jsx as jsx21 } from "react/jsx-runtime";
2947
+ import { jsx as jsx24 } from "react/jsx-runtime";
2794
2948
  function BiampTableToolbarExport({
2795
2949
  onExport,
2796
2950
  loading,
2797
- icon = /* @__PURE__ */ jsx21(DownloadIcon, { variant: "xs" }),
2951
+ icon = /* @__PURE__ */ jsx24(DownloadIcon, { variant: "xs" }),
2798
2952
  label = "Export",
2799
2953
  ...props
2800
2954
  }) {
2801
- return /* @__PURE__ */ jsx21(
2955
+ return /* @__PURE__ */ jsx24(
2802
2956
  BiampTableToolbarActionButton,
2803
2957
  {
2804
2958
  label,
@@ -2816,7 +2970,7 @@ function BiampTableToolbarExportTextButton({
2816
2970
  label = "Export",
2817
2971
  ...props
2818
2972
  }) {
2819
- return /* @__PURE__ */ jsx21(
2973
+ return /* @__PURE__ */ jsx24(
2820
2974
  Button2,
2821
2975
  {
2822
2976
  variant: "outlined",
@@ -2833,7 +2987,7 @@ function BiampTableToolbarExportTextButton({
2833
2987
  // src/BiampTable/BiampTableToolbarFilters.tsx
2834
2988
  import {
2835
2989
  Badge as Badge2,
2836
- Box as Box12,
2990
+ Box as Box13,
2837
2991
  Button as Button3,
2838
2992
  Divider as Divider3,
2839
2993
  Drawer as Drawer2,
@@ -2843,13 +2997,13 @@ import {
2843
2997
  } from "@mui/material";
2844
2998
  import { CloseIcon as CloseIcon2, FilterIcon } from "@bwp-web/assets";
2845
2999
  import { useId, useState as useState7 } from "react";
2846
- import { Fragment as Fragment4, jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
3000
+ import { Fragment as Fragment5, jsx as jsx25, jsxs as jsxs11 } from "react/jsx-runtime";
2847
3001
  function BiampTableToolbarFilters({
2848
3002
  activeFilterCount,
2849
3003
  children,
2850
3004
  onReset,
2851
3005
  onApply,
2852
- icon = /* @__PURE__ */ jsx22(FilterIcon, { variant: "xs" }),
3006
+ icon = /* @__PURE__ */ jsx25(FilterIcon, { variant: "xs" }),
2853
3007
  title = "Filters",
2854
3008
  resetLabel = "Clear filters",
2855
3009
  applyLabel = "Apply",
@@ -2864,8 +3018,8 @@ function BiampTableToolbarFilters({
2864
3018
  onApply?.();
2865
3019
  setOpen(false);
2866
3020
  }
2867
- return /* @__PURE__ */ jsxs11(Fragment4, { children: [
2868
- /* @__PURE__ */ jsx22(
3021
+ return /* @__PURE__ */ jsxs11(Fragment5, { children: [
3022
+ /* @__PURE__ */ jsx25(
2869
3023
  BiampTableToolbarActionButton,
2870
3024
  {
2871
3025
  label: buttonLabel,
@@ -2874,7 +3028,7 @@ function BiampTableToolbarFilters({
2874
3028
  onClick: () => setOpen(true)
2875
3029
  }
2876
3030
  ),
2877
- /* @__PURE__ */ jsx22(
3031
+ /* @__PURE__ */ jsx25(
2878
3032
  Drawer2,
2879
3033
  {
2880
3034
  anchor: "right",
@@ -2887,16 +3041,16 @@ function BiampTableToolbarFilters({
2887
3041
  ...drawerProps?.PaperProps
2888
3042
  },
2889
3043
  children: /* @__PURE__ */ jsxs11(
2890
- Box12,
3044
+ Box13,
2891
3045
  {
2892
3046
  height: "100%",
2893
3047
  display: "flex",
2894
3048
  flexDirection: "column",
2895
3049
  justifyContent: "space-between",
2896
3050
  children: [
2897
- /* @__PURE__ */ jsxs11(Box12, { children: [
3051
+ /* @__PURE__ */ jsxs11(Box13, { children: [
2898
3052
  /* @__PURE__ */ jsxs11(
2899
- Box12,
3053
+ Box13,
2900
3054
  {
2901
3055
  display: "flex",
2902
3056
  justifyContent: "space-between",
@@ -2906,7 +3060,7 @@ function BiampTableToolbarFilters({
2906
3060
  children: [
2907
3061
  /* @__PURE__ */ jsxs11(Typography6, { id: titleId, variant: "h2", children: [
2908
3062
  title,
2909
- /* @__PURE__ */ jsx22(
3063
+ /* @__PURE__ */ jsx25(
2910
3064
  Badge2,
2911
3065
  {
2912
3066
  badgeContent: activeFilterCount,
@@ -2922,21 +3076,21 @@ function BiampTableToolbarFilters({
2922
3076
  }
2923
3077
  )
2924
3078
  ] }),
2925
- /* @__PURE__ */ jsx22(
3079
+ /* @__PURE__ */ jsx25(
2926
3080
  IconButton5,
2927
3081
  {
2928
3082
  size: "medium",
2929
3083
  onClick: handleClose,
2930
3084
  "aria-label": closeLabel,
2931
- children: /* @__PURE__ */ jsx22(CloseIcon2, {})
3085
+ children: /* @__PURE__ */ jsx25(CloseIcon2, {})
2932
3086
  }
2933
3087
  )
2934
3088
  ]
2935
3089
  }
2936
3090
  ),
2937
- /* @__PURE__ */ jsx22(Divider3, {}),
2938
- /* @__PURE__ */ jsx22(
2939
- Box12,
3091
+ /* @__PURE__ */ jsx25(Divider3, {}),
3092
+ /* @__PURE__ */ jsx25(
3093
+ Box13,
2940
3094
  {
2941
3095
  role: "group",
2942
3096
  "aria-label": "Filter options",
@@ -2949,8 +3103,8 @@ function BiampTableToolbarFilters({
2949
3103
  }
2950
3104
  )
2951
3105
  ] }),
2952
- /* @__PURE__ */ jsxs11(Box12, { display: "flex", children: [
2953
- /* @__PURE__ */ jsx22(
3106
+ /* @__PURE__ */ jsxs11(Box13, { display: "flex", children: [
3107
+ /* @__PURE__ */ jsx25(
2954
3108
  Button3,
2955
3109
  {
2956
3110
  variant: "overlay",
@@ -2961,7 +3115,7 @@ function BiampTableToolbarFilters({
2961
3115
  children: resetLabel
2962
3116
  }
2963
3117
  ),
2964
- /* @__PURE__ */ jsx22(
3118
+ /* @__PURE__ */ jsx25(
2965
3119
  Button3,
2966
3120
  {
2967
3121
  variant: "overlay",
@@ -2982,7 +3136,7 @@ function BiampTableToolbarFilters({
2982
3136
 
2983
3137
  // src/BiampTable/BiampTableToolbarSearch.tsx
2984
3138
  import {
2985
- Box as Box13,
3139
+ Box as Box14,
2986
3140
  Collapse,
2987
3141
  IconButton as IconButton6,
2988
3142
  InputAdornment as InputAdornment2,
@@ -3018,7 +3172,7 @@ function useDebouncedCallback(callback, delay = BIAMP_TABLE_DEBOUNCE_DELAY) {
3018
3172
  }
3019
3173
 
3020
3174
  // src/BiampTable/BiampTableToolbarSearch.tsx
3021
- import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
3175
+ import { jsx as jsx26, jsxs as jsxs12 } from "react/jsx-runtime";
3022
3176
  var searchFieldSx = {
3023
3177
  "& .MuiInputBase-root": {
3024
3178
  height: "36px !important",
@@ -3062,7 +3216,7 @@ function BiampTableToolbarSearch({
3062
3216
  setIsExpanded(false);
3063
3217
  }
3064
3218
  };
3065
- const clearButton = inputValue ? /* @__PURE__ */ jsx23(
3219
+ const clearButton = inputValue ? /* @__PURE__ */ jsx26(
3066
3220
  InputAdornment2,
3067
3221
  {
3068
3222
  position: "end",
@@ -3075,19 +3229,19 @@ function BiampTableToolbarSearch({
3075
3229
  height: 16
3076
3230
  }
3077
3231
  },
3078
- children: /* @__PURE__ */ jsx23(
3232
+ children: /* @__PURE__ */ jsx26(
3079
3233
  IconButton6,
3080
3234
  {
3081
3235
  size: "small",
3082
3236
  onClick: handleClear,
3083
3237
  "aria-label": clearLabel,
3084
3238
  sx: { mr: 0.5 },
3085
- children: /* @__PURE__ */ jsx23(CloseIcon3, { variant: "xs" })
3239
+ children: /* @__PURE__ */ jsx26(CloseIcon3, { variant: "xs" })
3086
3240
  }
3087
3241
  )
3088
3242
  }
3089
3243
  ) : null;
3090
- const textField = /* @__PURE__ */ jsx23(
3244
+ const textField = /* @__PURE__ */ jsx26(
3091
3245
  TextField2,
3092
3246
  {
3093
3247
  name: "search",
@@ -3096,7 +3250,7 @@ function BiampTableToolbarSearch({
3096
3250
  slotProps: {
3097
3251
  htmlInput: { maxLength, "aria-label": placeholder },
3098
3252
  input: {
3099
- startAdornment: /* @__PURE__ */ jsx23(
3253
+ startAdornment: /* @__PURE__ */ jsx26(
3100
3254
  InputAdornment2,
3101
3255
  {
3102
3256
  position: "start",
@@ -3107,7 +3261,7 @@ function BiampTableToolbarSearch({
3107
3261
  height: 16
3108
3262
  }
3109
3263
  },
3110
- children: /* @__PURE__ */ jsx23(SearchIcon2, { variant: "xs", color: "inherit" })
3264
+ children: /* @__PURE__ */ jsx26(SearchIcon2, { variant: "xs", color: "inherit" })
3111
3265
  }
3112
3266
  ),
3113
3267
  endAdornment: clearButton
@@ -3128,9 +3282,9 @@ function BiampTableToolbarSearch({
3128
3282
  }
3129
3283
  );
3130
3284
  if (isMobile && enableMobileView) {
3131
- return /* @__PURE__ */ jsxs12(Box13, { display: "flex", alignItems: "center", width: "100%", pr: 1, gap: 1, children: [
3132
- /* @__PURE__ */ jsx23(SearchIcon2, { sx: { width: 16, height: 16 } }),
3133
- /* @__PURE__ */ jsx23(
3285
+ return /* @__PURE__ */ jsxs12(Box14, { display: "flex", alignItems: "center", width: "100%", pr: 1, gap: 1, children: [
3286
+ /* @__PURE__ */ jsx26(SearchIcon2, { sx: { width: 16, height: 16 } }),
3287
+ /* @__PURE__ */ jsx26(
3134
3288
  InputBase,
3135
3289
  {
3136
3290
  name: "search",
@@ -3152,14 +3306,14 @@ function BiampTableToolbarSearch({
3152
3306
  ] });
3153
3307
  }
3154
3308
  if (expandable) {
3155
- return /* @__PURE__ */ jsxs12(Box13, { display: "flex", alignItems: "center", minWidth: 28, children: [
3156
- /* @__PURE__ */ jsx23(
3309
+ return /* @__PURE__ */ jsxs12(Box14, { display: "flex", alignItems: "center", minWidth: 28, children: [
3310
+ /* @__PURE__ */ jsx26(
3157
3311
  IconButton6,
3158
3312
  {
3159
3313
  "aria-label": expandLabel ?? placeholder,
3160
3314
  onClick: () => setIsExpanded(true),
3161
3315
  sx: { display: isExpanded || inputValue ? "none" : "flex" },
3162
- children: /* @__PURE__ */ jsx23(
3316
+ children: /* @__PURE__ */ jsx26(
3163
3317
  SearchIcon2,
3164
3318
  {
3165
3319
  variant: "xs",
@@ -3169,7 +3323,7 @@ function BiampTableToolbarSearch({
3169
3323
  )
3170
3324
  }
3171
3325
  ),
3172
- /* @__PURE__ */ jsx23(
3326
+ /* @__PURE__ */ jsx26(
3173
3327
  Collapse,
3174
3328
  {
3175
3329
  in: isExpanded || !!inputValue,
@@ -3415,7 +3569,7 @@ function downloadCsv(csvContent, filename) {
3415
3569
 
3416
3570
  // src/BiampBanner/BiampBanner.tsx
3417
3571
  import {
3418
- Box as Box14,
3572
+ Box as Box15,
3419
3573
  Collapse as Collapse2,
3420
3574
  Typography as Typography7
3421
3575
  } from "@mui/material";
@@ -3425,10 +3579,10 @@ import {
3425
3579
  SuccessStatusIcon,
3426
3580
  WarningStatusIcon
3427
3581
  } from "@bwp-web/assets";
3428
- import { Fragment as Fragment5, jsx as jsx24 } from "react/jsx-runtime";
3582
+ import { Fragment as Fragment6, jsx as jsx27 } from "react/jsx-runtime";
3429
3583
  function BiampBanner({ show, children, severity }) {
3430
- return /* @__PURE__ */ jsx24(Collapse2, { in: show, unmountOnExit: true, component: "aside", children: /* @__PURE__ */ jsx24(
3431
- Box14,
3584
+ return /* @__PURE__ */ jsx27(Collapse2, { in: show, unmountOnExit: true, component: "aside", children: /* @__PURE__ */ jsx27(
3585
+ Box15,
3432
3586
  {
3433
3587
  bgcolor: ({ palette }) => palette.background[severity],
3434
3588
  display: "flex",
@@ -3446,25 +3600,25 @@ function BiampBanner({ show, children, severity }) {
3446
3600
  ) });
3447
3601
  }
3448
3602
  var iconMapping = {
3449
- error: /* @__PURE__ */ jsx24(ErrorStatusIcon, { color: "error", sx: { width: 14, height: 14 } }),
3450
- warning: /* @__PURE__ */ jsx24(WarningStatusIcon, { color: "warning", sx: { width: 16, height: 14 } }),
3451
- success: /* @__PURE__ */ jsx24(SuccessStatusIcon, { color: "success", sx: { width: 14, height: 14 } }),
3452
- info: /* @__PURE__ */ jsx24(InfoStatusIcon, { color: "info", sx: { width: 14, height: 14 } })
3603
+ error: /* @__PURE__ */ jsx27(ErrorStatusIcon, { color: "error", sx: { width: 14, height: 14 } }),
3604
+ warning: /* @__PURE__ */ jsx27(WarningStatusIcon, { color: "warning", sx: { width: 16, height: 14 } }),
3605
+ success: /* @__PURE__ */ jsx27(SuccessStatusIcon, { color: "success", sx: { width: 14, height: 14 } }),
3606
+ info: /* @__PURE__ */ jsx27(InfoStatusIcon, { color: "info", sx: { width: 14, height: 14 } })
3453
3607
  };
3454
3608
  function BiampBannerIcon({ severity, children }) {
3455
- return /* @__PURE__ */ jsx24(Fragment5, { children: severity ? iconMapping[severity] : children });
3609
+ return /* @__PURE__ */ jsx27(Fragment6, { children: severity ? iconMapping[severity] : children });
3456
3610
  }
3457
3611
  function BiampBannerContent({ children, ...props }) {
3458
- return /* @__PURE__ */ jsx24(Typography7, { textAlign: "center", variant: "h3", ...props, children });
3612
+ return /* @__PURE__ */ jsx27(Typography7, { textAlign: "center", variant: "h3", ...props, children });
3459
3613
  }
3460
3614
  function BiampBannerActions({ children, ...props }) {
3461
- return /* @__PURE__ */ jsx24(Box14, { display: "flex", gap: 1, alignItems: "center", ...props, children });
3615
+ return /* @__PURE__ */ jsx27(Box15, { display: "flex", gap: 1, alignItems: "center", ...props, children });
3462
3616
  }
3463
3617
 
3464
3618
  // src/BiampSegmentedButton/SegmentedButton.tsx
3465
3619
  import { Button as Button4, useTheme as useTheme3 } from "@mui/material";
3466
- import { alpha as alpha3 } from "@mui/material/styles";
3467
- import { jsx as jsx25 } from "react/jsx-runtime";
3620
+ import { alpha as alpha4 } from "@mui/material/styles";
3621
+ import { jsx as jsx28 } from "react/jsx-runtime";
3468
3622
  function SegmentedButton({
3469
3623
  children,
3470
3624
  active,
@@ -3477,7 +3631,7 @@ function SegmentedButton({
3477
3631
  const backgroundColor = active ? isDarkMode ? theme.palette.grey[800] : theme.palette.common.white : "transparent";
3478
3632
  const textColor = active ? theme.palette.text.primary : theme.palette.text.secondary;
3479
3633
  const border = active ? "solid" : void 0;
3480
- return /* @__PURE__ */ jsx25(
3634
+ return /* @__PURE__ */ jsx28(
3481
3635
  Button4,
3482
3636
  {
3483
3637
  sx: {
@@ -3491,7 +3645,7 @@ function SegmentedButton({
3491
3645
  py: 0,
3492
3646
  height: small ? "22px" : "26px",
3493
3647
  ...small && { fontSize: "12px", letterSpacing: "-0.24px" },
3494
- boxShadow: active ? `0 1px 2px 0 ${alpha3(theme.palette.common.black, 0.05)} !important` : "none !important",
3648
+ boxShadow: active ? `0 1px 2px 0 ${alpha4(theme.palette.common.black, 0.05)} !important` : "none !important",
3495
3649
  ...sx
3496
3650
  },
3497
3651
  ...props,
@@ -3501,13 +3655,13 @@ function SegmentedButton({
3501
3655
  }
3502
3656
 
3503
3657
  // src/BiampSegmentedButton/SegmentedButtonGroup.tsx
3504
- import { Stack as Stack7, useTheme as useTheme4 } from "@mui/material";
3505
- import { jsx as jsx26 } from "react/jsx-runtime";
3658
+ import { Stack as Stack8, useTheme as useTheme4 } from "@mui/material";
3659
+ import { jsx as jsx29 } from "react/jsx-runtime";
3506
3660
  function SegmentedButtonGroup({ children, sx, ...props }) {
3507
3661
  const theme = useTheme4();
3508
3662
  const isDarkMode = theme.palette.mode === "dark";
3509
- return /* @__PURE__ */ jsx26(
3510
- Stack7,
3663
+ return /* @__PURE__ */ jsx29(
3664
+ Stack8,
3511
3665
  {
3512
3666
  direction: "row",
3513
3667
  p: 0.5,
@@ -3525,33 +3679,33 @@ function SegmentedButtonGroup({ children, sx, ...props }) {
3525
3679
 
3526
3680
  // src/OrganizationSelector/OrganizationSelector.tsx
3527
3681
  import {
3528
- alpha as alpha4,
3529
- Box as Box15,
3682
+ alpha as alpha5,
3683
+ Box as Box16,
3530
3684
  ButtonBase,
3531
3685
  CircularProgress,
3532
3686
  Divider as Divider4,
3533
3687
  List as List2,
3534
3688
  ListItem as ListItem2,
3535
3689
  ListItemButton as ListItemButton3,
3536
- Popover as Popover3,
3537
- Stack as Stack8,
3690
+ Popover as Popover4,
3691
+ Stack as Stack9,
3538
3692
  Typography as Typography8
3539
3693
  } from "@mui/material";
3540
- import { Children as Children2, Fragment as Fragment6, isValidElement } from "react";
3694
+ import { Children as Children2, Fragment as Fragment7, isValidElement } from "react";
3541
3695
  import {
3542
3696
  ChevronDownIcon as ChevronDownIcon2,
3543
3697
  ChevronRightIcon as ChevronRightIcon2,
3544
3698
  ChevronUpIcon
3545
3699
  } from "@bwp-web/assets";
3546
- import { Fragment as Fragment7, jsx as jsx27, jsxs as jsxs13 } from "react/jsx-runtime";
3700
+ import { Fragment as Fragment8, jsx as jsx30, jsxs as jsxs13 } from "react/jsx-runtime";
3547
3701
  function OrganizationSelector({
3548
3702
  loading,
3549
3703
  children,
3550
3704
  sx,
3551
3705
  ...props
3552
3706
  }) {
3553
- return /* @__PURE__ */ jsx27(
3554
- Stack8,
3707
+ return /* @__PURE__ */ jsx30(
3708
+ Stack9,
3555
3709
  {
3556
3710
  sx: {
3557
3711
  width: "min(370px, calc(100vw - 24px))",
@@ -3560,12 +3714,12 @@ function OrganizationSelector({
3560
3714
  backgroundColor: ({ palette }) => palette.mode === "dark" ? palette.grey[700] : palette.grey[100],
3561
3715
  borderRadius: 3,
3562
3716
  p: 1.5,
3563
- boxShadow: ({ palette }) => `0 4px 24px 0 ${alpha4(palette.common.black, 0.15)}`,
3717
+ boxShadow: ({ palette }) => `0 4px 24px 0 ${alpha5(palette.common.black, 0.15)}`,
3564
3718
  overflow: "auto",
3565
3719
  ...sx
3566
3720
  },
3567
3721
  ...props,
3568
- children: loading ? /* @__PURE__ */ jsx27(CircularProgress, { size: 40, sx: { mx: "auto", my: "auto" } }) : children
3722
+ children: loading ? /* @__PURE__ */ jsx30(CircularProgress, { size: 40, sx: { mx: "auto", my: "auto" } }) : children
3569
3723
  }
3570
3724
  );
3571
3725
  }
@@ -3576,14 +3730,14 @@ function OrganizationItemList({
3576
3730
  sx
3577
3731
  }) {
3578
3732
  const items = Children2.toArray(children).filter(isValidElement);
3579
- return /* @__PURE__ */ jsxs13(Fragment7, { children: [
3580
- /* @__PURE__ */ jsx27(
3733
+ return /* @__PURE__ */ jsxs13(Fragment8, { children: [
3734
+ /* @__PURE__ */ jsx30(
3581
3735
  List2,
3582
3736
  {
3583
3737
  disablePadding: true,
3584
3738
  sx: {
3585
3739
  border: 0.6,
3586
- borderColor: ({ palette }) => palette.mode === "dark" ? alpha4(palette.common.white, 0.12) : alpha4(palette.grey[900], 0.15),
3740
+ borderColor: ({ palette }) => palette.mode === "dark" ? alpha5(palette.common.white, 0.12) : alpha5(palette.grey[900], 0.15),
3587
3741
  borderRadius: 2,
3588
3742
  ...maxHeight !== void 0 && {
3589
3743
  overflow: "auto",
@@ -3591,18 +3745,18 @@ function OrganizationItemList({
3591
3745
  },
3592
3746
  ...sx
3593
3747
  },
3594
- children: items.map((item, i) => /* @__PURE__ */ jsxs13(Fragment6, { children: [
3748
+ children: items.map((item, i) => /* @__PURE__ */ jsxs13(Fragment7, { children: [
3595
3749
  item,
3596
- i !== items.length - 1 && /* @__PURE__ */ jsx27(Divider4, {})
3750
+ i !== items.length - 1 && /* @__PURE__ */ jsx30(Divider4, {})
3597
3751
  ] }, item.key ?? i))
3598
3752
  }
3599
3753
  ),
3600
- label && /* @__PURE__ */ jsx27(Divider4, { sx: { py: 1, userSelect: "none" }, children: label })
3754
+ label && /* @__PURE__ */ jsx30(Divider4, { sx: { py: 1, userSelect: "none" }, children: label })
3601
3755
  ] });
3602
3756
  }
3603
3757
  function renderText(value, defaults) {
3604
3758
  if (typeof value === "string" || typeof value === "number") {
3605
- return /* @__PURE__ */ jsx27(
3759
+ return /* @__PURE__ */ jsx30(
3606
3760
  Typography8,
3607
3761
  {
3608
3762
  variant: defaults.variant,
@@ -3624,7 +3778,7 @@ function OrganizationItem({
3624
3778
  sx,
3625
3779
  ...props
3626
3780
  }) {
3627
- return /* @__PURE__ */ jsx27(ListItem2, { disablePadding: true, children: /* @__PURE__ */ jsxs13(
3781
+ return /* @__PURE__ */ jsx30(ListItem2, { disablePadding: true, children: /* @__PURE__ */ jsxs13(
3628
3782
  ListItemButton3,
3629
3783
  {
3630
3784
  disabled: isCurrent,
@@ -3638,8 +3792,8 @@ function OrganizationItem({
3638
3792
  },
3639
3793
  ...props,
3640
3794
  children: [
3641
- /* @__PURE__ */ jsx27(
3642
- Box15,
3795
+ /* @__PURE__ */ jsx30(
3796
+ Box16,
3643
3797
  {
3644
3798
  sx: {
3645
3799
  width: 40,
@@ -3655,8 +3809,8 @@ function OrganizationItem({
3655
3809
  boxShadow: ({ palette }) => `0 0 0 2px ${palette.info.main}`
3656
3810
  }
3657
3811
  },
3658
- children: typeof logo === "string" ? /* @__PURE__ */ jsx27(
3659
- Box15,
3812
+ children: typeof logo === "string" ? /* @__PURE__ */ jsx30(
3813
+ Box16,
3660
3814
  {
3661
3815
  component: "img",
3662
3816
  src: logo,
@@ -3665,8 +3819,8 @@ function OrganizationItem({
3665
3819
  ) : logo
3666
3820
  }
3667
3821
  ),
3668
- /* @__PURE__ */ jsxs13(Stack8, { gap: 0.25, sx: { width: "100%", minWidth: 0 }, children: [
3669
- /* @__PURE__ */ jsxs13(Stack8, { direction: "row", justifyContent: "space-between", gap: 1, children: [
3822
+ /* @__PURE__ */ jsxs13(Stack9, { gap: 0.25, sx: { width: "100%", minWidth: 0 }, children: [
3823
+ /* @__PURE__ */ jsxs13(Stack9, { direction: "row", justifyContent: "space-between", gap: 1, children: [
3670
3824
  renderText(primaryText, {
3671
3825
  variant: "body2",
3672
3826
  fontWeight: 600,
@@ -3679,7 +3833,7 @@ function OrganizationItem({
3679
3833
  color: "text.secondary"
3680
3834
  })
3681
3835
  ] }),
3682
- /* @__PURE__ */ jsx27(
3836
+ /* @__PURE__ */ jsx30(
3683
3837
  ChevronRightIcon2,
3684
3838
  {
3685
3839
  variant: "xs",
@@ -3719,7 +3873,7 @@ function OrganizationSelectorButton({
3719
3873
  ...props,
3720
3874
  children: [
3721
3875
  icon,
3722
- /* @__PURE__ */ jsx27(
3876
+ /* @__PURE__ */ jsx30(
3723
3877
  Typography8,
3724
3878
  {
3725
3879
  variant: "caption",
@@ -3729,13 +3883,13 @@ function OrganizationSelectorButton({
3729
3883
  children: name
3730
3884
  }
3731
3885
  ),
3732
- open ? /* @__PURE__ */ jsx27(
3886
+ open ? /* @__PURE__ */ jsx30(
3733
3887
  ChevronUpIcon,
3734
3888
  {
3735
3889
  variant: "xs",
3736
3890
  sx: { width: 16, height: 16, flexShrink: 0, color: "text.secondary" }
3737
3891
  }
3738
- ) : /* @__PURE__ */ jsx27(
3892
+ ) : /* @__PURE__ */ jsx30(
3739
3893
  ChevronDownIcon2,
3740
3894
  {
3741
3895
  variant: "xs",
@@ -3753,8 +3907,8 @@ function OrganizationSelectorPopover({
3753
3907
  transformOrigin,
3754
3908
  ...props
3755
3909
  }) {
3756
- return /* @__PURE__ */ jsx27(
3757
- Popover3,
3910
+ return /* @__PURE__ */ jsx30(
3911
+ Popover4,
3758
3912
  {
3759
3913
  anchorOrigin: anchorOrigin ?? { vertical: "bottom", horizontal: "right" },
3760
3914
  transformOrigin: transformOrigin ?? { vertical: -8, horizontal: "right" },
@@ -3769,16 +3923,16 @@ function OrganizationSelectorPopover({
3769
3923
  }
3770
3924
  },
3771
3925
  ...props,
3772
- children: /* @__PURE__ */ jsx27(OrganizationSelector, { loading, children })
3926
+ children: /* @__PURE__ */ jsx30(OrganizationSelector, { loading, children })
3773
3927
  }
3774
3928
  );
3775
3929
  }
3776
3930
 
3777
3931
  // src/UserInitialsIcon/UserInitialsIcon.tsx
3778
3932
  var import_randomcolor = __toESM(require_randomColor(), 1);
3779
- import { Box as Box16, Typography as Typography9 } from "@mui/material";
3933
+ import { Box as Box17, Typography as Typography9 } from "@mui/material";
3780
3934
  import { darken } from "@mui/material/styles";
3781
- import { jsx as jsx28 } from "react/jsx-runtime";
3935
+ import { jsx as jsx31 } from "react/jsx-runtime";
3782
3936
  var DEFAULT_SIZE = 40;
3783
3937
  var DEFAULT_BORDER_RADIUS = 1.5;
3784
3938
  var TEXT_RATIO = 0.4;
@@ -3796,8 +3950,8 @@ function UserInitialsIcon({
3796
3950
  const textColor = darken((0, import_randomcolor.default)({ luminosity: "dark", seed: id }), 0.3);
3797
3951
  const size = typeof width === "number" ? width : DEFAULT_SIZE;
3798
3952
  const fontSize = size * TEXT_RATIO;
3799
- return /* @__PURE__ */ jsx28(
3800
- Box16,
3953
+ return /* @__PURE__ */ jsx31(
3954
+ Box17,
3801
3955
  {
3802
3956
  minWidth: width,
3803
3957
  width,
@@ -3810,7 +3964,7 @@ function UserInitialsIcon({
3810
3964
  justifyContent: "center",
3811
3965
  sx: { ...sx },
3812
3966
  ...props,
3813
- children: /* @__PURE__ */ jsx28(
3967
+ children: /* @__PURE__ */ jsx31(
3814
3968
  Typography9,
3815
3969
  {
3816
3970
  variant: "h3",
@@ -3833,9 +3987,9 @@ var getInitials = (name) => {
3833
3987
  };
3834
3988
 
3835
3989
  // src/DynamicSvgIcon/DynamicSvgIcon.tsx
3836
- import { SvgIcon, Skeleton, Box as Box17 } from "@mui/material";
3990
+ import { SvgIcon, Skeleton, Box as Box18 } from "@mui/material";
3837
3991
  import { useEffect as useEffect6, useState as useState9 } from "react";
3838
- import { jsx as jsx29 } from "react/jsx-runtime";
3992
+ import { jsx as jsx32 } from "react/jsx-runtime";
3839
3993
  var svgCache = /* @__PURE__ */ new Map();
3840
3994
  function clearDynamicSvgIconCache() {
3841
3995
  svgCache.clear();
@@ -3937,7 +4091,7 @@ function DynamicSvgIcon({
3937
4091
  onError
3938
4092
  });
3939
4093
  if (loading) {
3940
- return /* @__PURE__ */ jsx29(
4094
+ return /* @__PURE__ */ jsx32(
3941
4095
  Skeleton,
3942
4096
  {
3943
4097
  variant: skeletonVariant,
@@ -3947,8 +4101,8 @@ function DynamicSvgIcon({
3947
4101
  );
3948
4102
  }
3949
4103
  if (error || !svgContent) {
3950
- return /* @__PURE__ */ jsx29(
3951
- Box17,
4104
+ return /* @__PURE__ */ jsx32(
4105
+ Box18,
3952
4106
  {
3953
4107
  sx: {
3954
4108
  width,
@@ -3967,7 +4121,7 @@ function DynamicSvgIcon({
3967
4121
  }
3968
4122
  );
3969
4123
  }
3970
- return /* @__PURE__ */ jsx29(
4124
+ return /* @__PURE__ */ jsx32(
3971
4125
  SvgIcon,
3972
4126
  {
3973
4127
  ...svgIconProps,
@@ -3977,7 +4131,7 @@ function DynamicSvgIcon({
3977
4131
  width,
3978
4132
  height
3979
4133
  },
3980
- children: /* @__PURE__ */ jsx29("g", { dangerouslySetInnerHTML: { __html: svgContent } })
4134
+ children: /* @__PURE__ */ jsx32("g", { dangerouslySetInnerHTML: { __html: svgContent } })
3981
4135
  }
3982
4136
  );
3983
4137
  }
@@ -3992,6 +4146,7 @@ export {
3992
4146
  BiampBannerIcon,
3993
4147
  BiampBuildAppContent,
3994
4148
  BiampBuildAppContentItem,
4149
+ BiampCheckboxListPopover,
3995
4150
  BiampEndUserAppContent,
3996
4151
  BiampEndUserAppContentItem,
3997
4152
  BiampGlobalSearch,
@@ -4004,6 +4159,12 @@ export {
4004
4159
  BiampHeaderSearch,
4005
4160
  BiampHeaderTitle,
4006
4161
  BiampLayout,
4162
+ BiampListPopover,
4163
+ BiampListPopoverItem,
4164
+ BiampListPopoverScrollArea,
4165
+ BiampNotificationPopover,
4166
+ BiampNotificationPopoverBody,
4167
+ BiampNotificationPopoverHeader,
4007
4168
  BiampSidebar,
4008
4169
  BiampSidebarComponent,
4009
4170
  BiampSidebarIcon,