@bwp-web/components 1.9.7 → 1.10.1

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