@epam/uui 6.2.0 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -14,6 +14,8 @@ var updateLocale = require('dayjs/plugin/updateLocale.js');
14
14
  var objectSupport = require('dayjs/plugin/objectSupport');
15
15
  var customParseFormat = require('dayjs/plugin/customParseFormat.js');
16
16
  var isoWeek = require('dayjs/plugin/isoWeek.js');
17
+ var overlayscrollbarsReact = require('overlayscrollbars-react');
18
+ require('overlayscrollbars/styles/overlayscrollbars.css');
17
19
  var isEqual = require('react-fast-compare');
18
20
  var FocusLock = require('react-focus-lock');
19
21
 
@@ -189,7 +191,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
189
191
  xmlns: "http://www.w3.org/2000/svg",
190
192
  ref: ref
191
193
  }, props), /*#__PURE__*/React__namespace.createElement("g", {
192
- clipPath: "url(#yqxngil7x52qx4twn_a)"
194
+ clipPath: "url(#0smlushu6n1uhrbtq_a)"
193
195
  }, _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
194
196
  d: "M150.585 1.535C49.483-11.495 27.481 61.805 45.725 97.481c10.581 20.69-39.64 70.792 17.744 81.468 27.538 5.123 36-13.341 62.433-10.655 35.4 3.6 148.167-4.73 88.349-78.915-31.713-39.335 1.026-79.506-63.666-87.844Z",
195
197
  fill: "#F5F6FA"
@@ -210,7 +212,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
210
212
  d: "M86.786 22.982c-2.55 0-4.965 2.07-4.965 4.552V120.6c0 2.484 2.4 4.572 4.965 4.572h88.101c2.582 0 4.986-2.089 4.986-4.572V27.534c0-2.464-2.418-4.552-4.986-4.552h-88.1Zm-5.793 4.552c0-3.022 2.874-5.38 5.793-5.38h88.101c2.935 0 5.814 2.374 5.814 5.38V120.6c0 3.021-2.86 5.4-5.814 5.4h-88.1c-2.94 0-5.794-2.381-5.794-5.4V27.534Z",
211
213
  fill: "#1D1E26"
212
214
  })), /*#__PURE__*/React__namespace.createElement("mask", {
213
- id: "yqxngibavdrndpbws_b",
215
+ id: "0smlusms3cqehnlrc_b",
214
216
  style: {
215
217
  maskType: "alpha"
216
218
  },
@@ -223,7 +225,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
223
225
  d: "M174.887 125.586h-88.1c-2.752 0-5.38-2.234-5.38-4.986V27.534c0-2.752 2.644-4.966 5.38-4.966h88.1c2.752 0 5.4 2.23 5.4 4.966V120.6c0 2.752-2.632 4.986-5.4 4.986Z",
224
226
  fill: "#9BDEFF"
225
227
  }))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
226
- mask: "url(#yqxngibavdrndpbws_b)",
228
+ mask: "url(#0smlusms3cqehnlrc_b)",
227
229
  fillRule: "evenodd",
228
230
  clipRule: "evenodd"
229
231
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -309,7 +311,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
309
311
  d: "M24.73 96.184a.414.414 0 0 1 .581.06l48.646 59.751a.413.413 0 1 1-.642.523L24.67 96.766a.414.414 0 0 1 .06-.582Z",
310
312
  fill: "#fff"
311
313
  }))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
312
- id: "yqxngil7x52qx4twn_a"
314
+ id: "0smlushu6n1uhrbtq_a"
313
315
  }, /*#__PURE__*/React__namespace.createElement("path", {
314
316
  fill: "#fff",
315
317
  transform: "translate(.552)",
@@ -960,14 +962,14 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
960
962
  };
961
963
  var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
962
964
 
963
- var css$1w = {"root":"hg0ux0","uui-spinner":"dLpTPh","uuiSpinner":"dLpTPh"};
965
+ var css$1w = {"root":"K-RXLg","uui-spinner":"lgr1QK","uuiSpinner":"lgr1QK"};
964
966
 
965
967
  function applySpinnerMods() {
966
968
  return [css$1w.root, 'uui-spinner'];
967
969
  }
968
970
  const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
969
971
 
970
- var css$1v = {"root":"StHx2D","loading-word":"n2b-qa","loadingWord":"n2b-qa","animated-loading":"_90z0qL","animatedLoading":"_90z0qL","skeleton_loading":"_28XDvH","skeletonLoading":"_28XDvH"};
972
+ var css$1v = {"root":"_4rwDuz","loading-word":"edKoQm","loadingWord":"edKoQm","animated-loading":"cJ2aht","animatedLoading":"cJ2aht","skeleton_loading":"i1s8WI","skeletonLoading":"i1s8WI"};
971
973
 
972
974
  const TextPlaceholder = (props) => {
973
975
  const pattern = ' ';
@@ -984,7 +986,7 @@ const TextPlaceholder = (props) => {
984
986
  ]), dangerouslySetInnerHTML: { __html: it } })))));
985
987
  };
986
988
 
987
- var css$1u = {"root":"_57AaT8","line-height":"QBtxhX","lineHeight":"QBtxhX","font-size":"_21cBsU","fontSize":"_21cBsU"};
989
+ var css$1u = {"root":"TKV-RQ","line-height":"p0-b-4","lineHeight":"p0-b-4","font-size":"O36flr","fontSize":"O36flr"};
988
990
 
989
991
  function applyTextMods(mods) {
990
992
  return [
@@ -1011,7 +1013,7 @@ const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, appl
1011
1013
  };
1012
1014
  });
1013
1015
 
1014
- var css$1t = {"root":"jGr-EP"};
1016
+ var css$1t = {"root":"_7GVMYK"};
1015
1017
 
1016
1018
  const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$1t.root], () => ({ renderSpinner: settings.blocker.renderSpinner }));
1017
1019
 
@@ -1516,7 +1518,7 @@ const settings = {
1516
1518
  textInput: textInputSettings,
1517
1519
  };
1518
1520
 
1519
- var css$1s = {"root":"SR8RJb"};
1521
+ var css$1s = {"root":"_4vzV11"};
1520
1522
 
1521
1523
  function applyButtonMods(mods) {
1522
1524
  return [
@@ -1534,7 +1536,7 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
1534
1536
  };
1535
1537
  });
1536
1538
 
1537
- var css$1r = {"root":"_1dZe0N"};
1539
+ var css$1r = {"root":"v0XflL"};
1538
1540
 
1539
1541
  function applyIconButtonMods(props) {
1540
1542
  return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1r.root];
@@ -1571,7 +1573,7 @@ function getIconClass(props) {
1571
1573
  return [classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon', classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon'];
1572
1574
  }
1573
1575
 
1574
- var css$1q = {"root":"_1EyVrV"};
1576
+ var css$1q = {"root":"_-2astL"};
1575
1577
 
1576
1578
  const DEFAULT_COLOR = 'primary';
1577
1579
  const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
@@ -1601,7 +1603,7 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
1601
1603
  props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
1602
1604
  });
1603
1605
 
1604
- var css$1p = {"root":"nDrvBH"};
1606
+ var css$1p = {"root":"gaW5AH"};
1605
1607
 
1606
1608
  const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1607
1609
  return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
@@ -1613,9 +1615,11 @@ const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1613
1615
  ]) }, props.caption));
1614
1616
  });
1615
1617
 
1616
- var css$1o = {"root":"yeDi6j","withNotify":"_0sIeUG"};
1618
+ var css$1o = {"root":"tdsef-","withNotify":"leQOnM"};
1617
1619
 
1618
- const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
1620
+ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, refExternal) => {
1621
+ const refLocal = React__namespace.default.useRef(null);
1622
+ const ref = refExternal ?? refLocal;
1619
1623
  const { isActive } = uuiCore.useIsActive({
1620
1624
  isLinkActive: props.isLinkActive,
1621
1625
  link: props.link,
@@ -1631,11 +1635,22 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
1631
1635
  ];
1632
1636
  const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tabButton.icons.dropdownIcon;
1633
1637
  const ClearIcon = props.clearIcon ? props.clearIcon : settings.tabButton.icons.clearIcon;
1638
+ const handleOnKeyDown = (event) => {
1639
+ props.rawProps?.onKeyDown?.(event);
1640
+ const isLink = (props.link !== undefined
1641
+ || props.href !== undefined);
1642
+ if (isLink
1643
+ && event.code === 'Space'
1644
+ && typeof ref != 'function') {
1645
+ ref.current?.click();
1646
+ }
1647
+ };
1634
1648
  return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
1635
1649
  role: 'tab',
1636
1650
  'aria-haspopup': props.isDropdown,
1637
1651
  'aria-expanded': props.isOpen,
1638
1652
  ...props.rawProps,
1653
+ onKeyDown: handleOnKeyDown,
1639
1654
  }, cx: styles, ref: ref },
1640
1655
  props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
1641
1656
  (props.caption || props.withNotify) && (React__namespace.default.createElement("div", { className: uuiCore.cx(uuiCore.uuiElement.caption) },
@@ -1647,13 +1662,13 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
1647
1662
  props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
1648
1663
  });
1649
1664
 
1650
- var css$1n = {"root":"fjU1aJ","noLeftPadding":"IMErJL","foldingArea":"Dq35m6","onlyFoldable":"_5yB0ZL","captionWrapper":"y9Xln-","withNotify":"DyWm7v"};
1665
+ var css$1n = {"root":"_8OICE6","noLeftPadding":"_8PKs0G","foldingArea":"_78wvG5","onlyFoldable":"LNaxgt","captionWrapper":"GWojew","withNotify":"mzjjIs"};
1651
1666
 
1652
- var css$1m = {"root":"vfgS47"};
1667
+ var css$1m = {"root":"_-5F5VL"};
1653
1668
 
1654
1669
  const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$1m.root]);
1655
1670
 
1656
- var css$1l = {"root":"WcDOil"};
1671
+ var css$1l = {"root":"ZynZU0"};
1657
1672
 
1658
1673
  const DEFAULT_FILL = 'solid';
1659
1674
  function applyBadgeMods(mods) {
@@ -1681,7 +1696,7 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
1681
1696
  props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
1682
1697
  });
1683
1698
 
1684
- var css$1k = {"root":"kPrZII"};
1699
+ var css$1k = {"root":"ADBnKS"};
1685
1700
 
1686
1701
  function applyTagMods(props) {
1687
1702
  return [
@@ -1709,7 +1724,7 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
1709
1724
  props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
1710
1725
  });
1711
1726
 
1712
- var css$1j = {"root":"Elp8Rf","page":"zQw1gf","spacer":"S9RWzE","mode-ghost":"nQX-4b","modeGhost":"nQX-4b"};
1727
+ var css$1j = {"root":"R3lgQz","page":"GavL40","spacer":"XKiV-t","mode-ghost":"Y9cxeS","modeGhost":"Y9cxeS"};
1713
1728
 
1714
1729
  function Paginator(props) {
1715
1730
  const renderPaginator = (params) => (React__namespace.default.createElement("nav", { role: "navigation", className: cx__default.default(css$1j.root, 'uui-paginator', `uui-size-${props.size || settings.paginator.sizes.default}`), ...params.rawProps },
@@ -1726,14 +1741,14 @@ function Paginator(props) {
1726
1741
  return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
1727
1742
  }
1728
1743
 
1729
- var css$1i = {"root":"vhIxQ9","progress-bar":"pozs0V","progressBar":"pozs0V","progressBar-indeterminate":"gRJ3yy","progressBarIndeterminate":"gRJ3yy","size-12":"Gi2A94","size12":"Gi2A94","size-18":"Pr17su","size18":"Pr17su","size-24":"T0nZ95","size24":"T0nZ95"};
1744
+ var css$1i = {"root":"kXKWWk","progress-bar":"oQtg3Z","progressBar":"oQtg3Z","progressBar-indeterminate":"gteY2b","progressBarIndeterminate":"gteY2b","size-12":"F2scht","size12":"F2scht","size-18":"_6kAsZW","size18":"_6kAsZW","size-24":"O6EcRI","size24":"O6EcRI"};
1730
1745
 
1731
1746
  const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
1732
1747
  return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$1i.root, css$1i[`size-${props.size || 12}`]) },
1733
1748
  React__namespace.createElement("div", { className: cx__default.default(css$1i.progressBar) })));
1734
1749
  });
1735
1750
 
1736
- var css$1h = {"root":"wuzmu-","striped":"JoscLR","animate-stripes":"uqDgIM","animateStripes":"uqDgIM","size-12":"qK3Wno","size12":"qK3Wno","size-18":"ZblyNp","size18":"ZblyNp","size-24":"pG9dMv","size24":"pG9dMv"};
1751
+ var css$1h = {"root":"UKvE7P","striped":"VbxMEC","animate-stripes":"AVth0h","animateStripes":"AVth0h","size-12":"AIiYu8","size12":"AIiYu8","size-18":"RAgKy4","size18":"RAgKy4","size-24":"bdwz8S","size24":"bdwz8S"};
1737
1752
 
1738
1753
  const DEFAULT_SIZE = '12';
1739
1754
  function applyProgressBarMods(mods) {
@@ -1748,14 +1763,14 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
1748
1763
  hideLabel: props.hideLabel || props.striped,
1749
1764
  }));
1750
1765
 
1751
- var css$1g = {"root":"hpZhtt"};
1766
+ var css$1g = {"root":"wAZFgx"};
1752
1767
 
1753
1768
  const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
1754
1769
  const { progress } = props;
1755
1770
  return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$1g.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$1g.root, props.cx) }));
1756
1771
  });
1757
1772
 
1758
- var css$1f = {"root":"qUeWV-"};
1773
+ var css$1f = {"root":"_3rssqT"};
1759
1774
 
1760
1775
  const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1761
1776
  return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
@@ -1770,7 +1785,7 @@ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1770
1785
  React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
1771
1786
  });
1772
1787
 
1773
- var css$1e = {"root":"SSMIJB"};
1788
+ var css$1e = {"root":"gaSdU1"};
1774
1789
 
1775
1790
  function applyCheckboxMods(mods) {
1776
1791
  return [
@@ -1788,7 +1803,7 @@ const applyUUICheckboxProps = (props) => {
1788
1803
  };
1789
1804
  const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
1790
1805
 
1791
- var css$1d = {"root":"sL80J9"};
1806
+ var css$1d = {"root":"M28xhG"};
1792
1807
 
1793
1808
  function applyRadioInputMods(mods) {
1794
1809
  return [
@@ -1800,7 +1815,7 @@ function applyRadioInputMods(mods) {
1800
1815
  }
1801
1816
  const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
1802
1817
 
1803
- var css$1c = {"root":"Yqq3Qx"};
1818
+ var css$1c = {"root":"tBweim"};
1804
1819
 
1805
1820
  function applySwitchMods(mods) {
1806
1821
  return [
@@ -1824,7 +1839,7 @@ var EditMode;
1824
1839
  EditMode["INLINE"] = "inline";
1825
1840
  })(EditMode || (EditMode = {}));
1826
1841
 
1827
- var textInputCss = {"root":"ZrE20o"};
1842
+ var textInputCss = {"root":"_9pM85m"};
1828
1843
 
1829
1844
  const DEFAULT_MODE$3 = EditMode.FORM;
1830
1845
  function applyTextInputMods(mods) {
@@ -1849,7 +1864,7 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
1849
1864
  } }));
1850
1865
  });
1851
1866
 
1852
- var css$1b = {"root":"M12JiO"};
1867
+ var css$1b = {"root":"BO21Fj"};
1853
1868
 
1854
1869
  const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1b.root, 'uui-control-group']);
1855
1870
 
@@ -1865,7 +1880,7 @@ function MultiSwitchComponent(props, ref) {
1865
1880
  }
1866
1881
  const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
1867
1882
 
1868
- var css$1a = {"root":"Ipri2m"};
1883
+ var css$1a = {"root":"PgOwFa"};
1869
1884
 
1870
1885
  const DEFAULT_MODE$2 = EditMode.FORM;
1871
1886
  function applyNumericInputMods(mods) {
@@ -1885,7 +1900,7 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
1885
1900
  };
1886
1901
  });
1887
1902
 
1888
- var css$19 = {"root":"tBbHl2"};
1903
+ var css$19 = {"root":"LzQnoU"};
1889
1904
 
1890
1905
  const DEFAULT_MODE$1 = EditMode.FORM;
1891
1906
  function applyTextAreaMods(mods) {
@@ -1926,7 +1941,7 @@ function TREE_SHAKEABLE_INIT$1() {
1926
1941
  };
1927
1942
  }
1928
1943
 
1929
- var css$18 = {"root":"tVEelg"};
1944
+ var css$18 = {"root":"oQ2OvB"};
1930
1945
 
1931
1946
  function applyDropdownContainerMods(mods) {
1932
1947
  return [
@@ -1937,7 +1952,7 @@ function applyDropdownContainerMods(mods) {
1937
1952
  }
1938
1953
  const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
1939
1954
 
1940
- var css$17 = {"root":"v6lTlF","timepicker-input":"snWvI4","timepickerInput":"snWvI4","ltr-always":"ZOQ3cu","ltrAlways":"ZOQ3cu"};
1955
+ var css$17 = {"root":"iQONol","timepicker-input":"BnXlx8","timepickerInput":"BnXlx8","ltr-always":"UQJvrt","ltrAlways":"UQJvrt"};
1941
1956
 
1942
1957
  const uuiTimePicker = {
1943
1958
  container: 'uui-timepicker-container',
@@ -1982,11 +1997,11 @@ function TimePickerBody(props) {
1982
1997
  React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).add(1, 'h').hour()) }),
1983
1998
  React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
1984
1999
  .set(props.value)
1985
- .format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
2000
+ .format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), isReadonly: true, min: MIN_HOURS, max: MAX_HOURS }),
1986
2001
  React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).subtract(1, 'h').hour()) })),
1987
2002
  React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
1988
2003
  React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: handleMinutesUpClick }),
1989
- React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
2004
+ React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), isReadonly: true, min: MIN_MINUTES, max: MAX_MINUTES }),
1990
2005
  React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: handleMinutesDownClick }))),
1991
2006
  MAX_HOURS === FORMAT_12H && (React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
1992
2007
  React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: onTimeTypeChange }),
@@ -2131,7 +2146,7 @@ function TimePickerComponent(props, ref) {
2131
2146
  }
2132
2147
  const TimePicker = /* @__PURE__ */React__namespace.default.forwardRef(TimePickerComponent);
2133
2148
 
2134
- var css$16 = {"root":"MmwXUN"};
2149
+ var css$16 = {"root":"y9iBid"};
2135
2150
 
2136
2151
  function applyInputAddonMods() {
2137
2152
  return [
@@ -2140,14 +2155,14 @@ function applyInputAddonMods() {
2140
2155
  }
2141
2156
  const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
2142
2157
 
2143
- var css$15 = {"root":"eD3ydC"};
2158
+ var css$15 = {"root":"iyMhGP"};
2144
2159
 
2145
2160
  function applySliderMods() {
2146
2161
  return [css$15.root, 'uui-color-neutral'];
2147
2162
  }
2148
2163
  const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
2149
2164
 
2150
- var css$14 = {"root":"_4AmZXx"};
2165
+ var css$14 = {"root":"kJkPM0"};
2151
2166
 
2152
2167
  function applyTooltipMods(mods) {
2153
2168
  return [
@@ -2157,7 +2172,7 @@ function applyTooltipMods(mods) {
2157
2172
  }
2158
2173
  const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
2159
2174
 
2160
- var css$13 = {"root":"Cxs-JE","tooltip":"oYTMu4"};
2175
+ var css$13 = {"root":"gnsYhI","tooltip":"fjucPA"};
2161
2176
 
2162
2177
  function applyRatingMods(mods) {
2163
2178
  return [
@@ -2171,7 +2186,7 @@ const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating,
2171
2186
  Tooltip,
2172
2187
  }));
2173
2188
 
2174
- var css$12 = {"drag-handle-wrapper":"O9g2nI","dragHandleWrapper":"O9g2nI","with-indent":"uDs70V","withIndent":"uDs70V","drag-handle":"b0Eh-1","dragHandle":"b0Eh-1","icon-container":"I62G80","iconContainer":"I62G80"};
2189
+ var css$12 = {"drag-handle-wrapper":"Wu725P","dragHandleWrapper":"Wu725P","with-indent":"fPa6fV","withIndent":"fPa6fV","drag-handle":"z1C-Pm","dragHandle":"z1C-Pm","icon-container":"_98if5G","iconContainer":"_98if5G"};
2175
2190
 
2176
2191
  function DataRowAddons(props) {
2177
2192
  const row = props.rowProps;
@@ -2248,7 +2263,7 @@ function VerticalTabButtonComponent(props, ref) {
2248
2263
  }
2249
2264
  const VerticalTabButton = /* @__PURE__ */React__namespace.default.forwardRef(VerticalTabButtonComponent);
2250
2265
 
2251
- var css$11 = {"root":"Q2076c","main-path":"PtWhns","mainPath":"PtWhns","content-wrapper":"q0DVA2","contentWrapper":"q0DVA2","content":"lA2ze0","action-wrapper":"EVYECe","actionWrapper":"EVYECe","icon-wrapper":"oVoOfy","iconWrapper":"oVoOfy","icon":"Mqzicb","close-icon":"ZezkoQ","closeIcon":"ZezkoQ"};
2266
+ var css$11 = {"root":"y-aBPX","main-path":"ZeqG-n","mainPath":"ZeqG-n","content-wrapper":"_8-VGbx","contentWrapper":"_8-VGbx","content":"f1Bo97","action-wrapper":"yHHIyH","actionWrapper":"yHHIyH","icon-wrapper":"_-3xjG7","iconWrapper":"_-3xjG7","icon":"py2Lun","close-icon":"UW5usS","closeIcon":"UW5usS"};
2252
2267
 
2253
2268
  const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", { role: "alert", ref: ref, className: cx__default.default('uui-alert', css$11.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
2254
2269
  React__namespace.createElement("div", { className: css$11.mainPath },
@@ -2266,7 +2281,7 @@ const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => Re
2266
2281
 
2267
2282
  const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
2268
2283
 
2269
- var css$10 = {"submenu-root-item-rtl":"YpFLUa","submenuRootItemRtl":"YpFLUa","icon-after":"NhGFmF","iconAfter":"NhGFmF","submenu-root-item":"_7--gFj","submenuRootItem":"_7--gFj","icon-check":"mnjr0c","iconCheck":"mnjr0c","splitter-root":"fHWLWD","splitterRoot":"fHWLWD","splitter":"IJDpbg","header-root":"-rFZXp","headerRoot":"-rFZXp","item-root":"APUUt-","itemRoot":"APUUt-","icon":"_7og0ci","link":"_1Nzp0S","indent":"Zawp1N","selected-mark":"ptEhwV","selectedMark":"ptEhwV"};
2284
+ var css$10 = {"submenu-root-item-rtl":"kt6hNc","submenuRootItemRtl":"kt6hNc","icon-after":"cvuxMu","iconAfter":"cvuxMu","submenu-root-item":"jSfVoe","submenuRootItem":"jSfVoe","icon-check":"_772w3N","iconCheck":"_772w3N","splitter-root":"RanNVV","splitterRoot":"RanNVV","splitter":"tZAbt0","header-root":"HG1K4L","headerRoot":"HG1K4L","item-root":"_1sqOxa","itemRoot":"_1sqOxa","icon":"MunWuB","link":"u02ZhT","indent":"TvnwQu","selected-mark":"_3xfn0R","selectedMark":"_3xfn0R"};
2270
2285
 
2271
2286
  exports.IDropdownControlKeys = void 0;
2272
2287
  (function (IDropdownControlKeys) {
@@ -2280,25 +2295,34 @@ exports.IDropdownControlKeys = void 0;
2280
2295
  function DropdownMenuContainer(props) {
2281
2296
  const menuRef = React.useRef(null);
2282
2297
  const [currentlyFocused, setFocused] = React.useState(0);
2283
- const menuItems = menuRef.current ? Array.from(menuRef.current.querySelectorAll(`[role="menuitem"]:not(.${uuiCore.uuiMod.disabled})`)) : [];
2298
+ const getMenuItems = () => {
2299
+ if (!menuRef.current)
2300
+ return [];
2301
+ return Array.from(menuRef.current.querySelectorAll(`[role="menuitem"]:not(.${uuiCore.uuiMod.disabled})`));
2302
+ };
2284
2303
  const changeFocus = (nextFocusedIndex) => {
2285
- if (menuItems.length > 0) {
2304
+ const menuItems = getMenuItems();
2305
+ if (menuItems.length > 0 && nextFocusedIndex >= 0 && nextFocusedIndex < menuItems.length) {
2286
2306
  setFocused(nextFocusedIndex);
2287
- menuItems[nextFocusedIndex].focus();
2307
+ const targetItem = menuItems[nextFocusedIndex];
2308
+ targetItem.focus();
2288
2309
  }
2289
2310
  };
2290
2311
  const handleArrowKeys = (e) => {
2312
+ const menuItems = getMenuItems();
2291
2313
  const lastMenuItemsIndex = menuItems.length - 1;
2292
2314
  if (e.key === exports.IDropdownControlKeys.UP_ARROW) {
2293
2315
  changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
2316
+ e.stopPropagation(); // TODO: need improvement to track event only for current overlay
2294
2317
  e.preventDefault();
2295
2318
  }
2296
2319
  else if (e.key === exports.IDropdownControlKeys.DOWN_ARROW) {
2297
2320
  changeFocus(currentlyFocused < lastMenuItemsIndex ? currentlyFocused + 1 : 0);
2321
+ e.stopPropagation(); // TODO: need improvement to track event only for current overlay
2298
2322
  e.preventDefault();
2299
2323
  }
2300
2324
  else if (e.key === props.closeOnKey && props.onClose) {
2301
- e.stopPropagation();
2325
+ e.stopPropagation(); // TODO: need improvement to track event only for current overlay
2302
2326
  props.onClose();
2303
2327
  }
2304
2328
  };
@@ -2391,7 +2415,7 @@ function DropdownMenuSwitchButton(props) {
2391
2415
  React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
2392
2416
  }
2393
2417
 
2394
- var css$$ = {"root":"mVBoLW","mode-block":"xr5Q3f","modeBlock":"xr5Q3f","mode-inline":"UZQL88","modeInline":"UZQL88","padding-0":"vIjOHF","padding0":"vIjOHF","padding-6":"FByQid","padding6":"FByQid","padding-12":"_2gjjpE","padding12":"_2gjjpE","padding-18":"_0ZnoQj","padding18":"_0ZnoQj"};
2418
+ var css$$ = {"root":"_9Q8qyL","mode-block":"b-q2--","modeBlock":"b-q2--","mode-inline":"DUGgXF","modeInline":"DUGgXF","padding-0":"ha8phR","padding0":"ha8phR","padding-6":"bb3J-V","padding6":"bb3J-V","padding-12":"yZwuXj","padding12":"yZwuXj","padding-18":"MSxLsx","padding18":"MSxLsx"};
2395
2419
 
2396
2420
  function applyAccordionMods(mods) {
2397
2421
  return [
@@ -2404,7 +2428,7 @@ const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accor
2404
2428
  dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
2405
2429
  }));
2406
2430
 
2407
- var css$_ = {"root":"or-LGB","align-items":"gQavrR","alignItems":"gQavrR","justify-content":"_5R-bAR","justifyContent":"_5R-bAR","border-top":"EXawvI","borderTop":"EXawvI","border-bottom":"Jr1DA2","borderBottom":"Jr1DA2","top-shadow":"mLDNO8","topShadow":"mLDNO8","padding":"ocwUAY","margin":"_1F822J","vPadding":"hPOXwK","column-gap":"_8fcsP9","columnGap":"_8fcsP9","row-gap":"_0CBol8","rowGap":"_0CBol8","spacing":"axRVsv"};
2431
+ var css$_ = {"root":"g8kTts","align-items":"_4mcqOz","alignItems":"_4mcqOz","justify-content":"eR4yds","justifyContent":"eR4yds","border-top":"_1NoDBx","borderTop":"_1NoDBx","border-bottom":"jY6yPS","borderBottom":"jY6yPS","top-shadow":"CJfy2S","topShadow":"CJfy2S","padding":"ehk42B","margin":"w4BZ8M","vPadding":"_4x13-2","column-gap":"GQiae9","columnGap":"GQiae9","row-gap":"AElaKQ","rowGap":"AElaKQ","spacing":"kxVjhK"};
2408
2432
 
2409
2433
  const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$_.flexCell]);
2410
2434
 
@@ -2456,7 +2480,7 @@ const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
2456
2480
  } }, props.children));
2457
2481
  });
2458
2482
 
2459
- var css$Z = {"root":"_0HdaRS","margin-24":"wscOss","margin24":"wscOss","padding-12":"TW7e6A","padding12":"TW7e6A","padding-24":"VANOgE","padding24":"VANOgE","shadow":"yIWjTA","uui-surface-main":"G8-rfN","uuiSurfaceMain":"G8-rfN"};
2483
+ var css$Z = {"root":"GlIDeG","margin-24":"nLBcez","margin24":"nLBcez","padding-12":"vYUQl6","padding12":"vYUQl6","padding-24":"BQ0pCZ","padding24":"BQ0pCZ","shadow":"Yl-WgY","uui-surface-main":"nI0dBJ","uuiSurfaceMain":"nI0dBJ"};
2460
2484
 
2461
2485
  const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
2462
2486
  'uui-panel',
@@ -2466,7 +2490,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
2466
2490
  props.background && css$Z[`uui-${props.background}`],
2467
2491
  ]);
2468
2492
 
2469
- var css$Y = {"root":"OpdXDI"};
2493
+ var css$Y = {"root":"Xdx8Hf"};
2470
2494
 
2471
2495
  function applyLabeledInputMods(mods) {
2472
2496
  return [
@@ -2483,7 +2507,7 @@ function applyLabeledInputProps(props) {
2483
2507
  }
2484
2508
  const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
2485
2509
 
2486
- var css$X = {"root":"A-FGtz"};
2510
+ var css$X = {"root":"FALrI9"};
2487
2511
 
2488
2512
  function RadioGroup(props) {
2489
2513
  const direction = props.direction || 'vertical';
@@ -2498,18 +2522,79 @@ function RadioGroup(props) {
2498
2522
  })));
2499
2523
  }
2500
2524
 
2501
- var css$W = {"root":"oxpPtB"};
2502
-
2503
- function applyScrollBarsMods() {
2504
- return [
2505
- css$W.root, 'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
2506
- ];
2507
- }
2508
- const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
2525
+ var css$W = {"root":"c7Scrj","viewport":"NCvV-L"};
2526
+
2527
+ var uuiScrollbars;
2528
+ (function (uuiScrollbars) {
2529
+ uuiScrollbars["uuiShadowTop"] = "uui-shadow-top";
2530
+ uuiScrollbars["uuiShadowBottom"] = "uui-shadow-bottom";
2531
+ uuiScrollbars["uuiLineTop"] = "uui-line-top";
2532
+ uuiScrollbars["uuiLineBottom"] = "uui-line-bottom";
2533
+ })(uuiScrollbars || (uuiScrollbars = {}));
2534
+ const ScrollBars = /* @__PURE__ */React.forwardRef((props, ref) => {
2535
+ const { cx: outerCx, children, overflowTopEffect = 'none', overflowBottomEffect = 'none', onScroll, autoHide = 'never', autoHideDelay, rawProps, ...rest } = props;
2536
+ const [shadowElements, setShadowElements] = React.useState({
2537
+ host: null,
2538
+ viewport: null,
2539
+ });
2540
+ const hostRef = React.useRef(null);
2541
+ const viewportRef = React.useRef(null);
2542
+ const containerRef = React.useRef(null);
2543
+ const [initialize, osInstance] = overlayscrollbarsReact.useOverlayScrollbars({
2544
+ options: {
2545
+ scrollbars: {
2546
+ theme: 'uui-scroll-bars',
2547
+ autoHide: autoHide,
2548
+ autoHideDelay: typeof autoHideDelay === 'number' ? autoHideDelay : undefined,
2549
+ },
2550
+ },
2551
+ events: {
2552
+ scroll: (_inst, ev) => {
2553
+ onScroll?.(ev);
2554
+ },
2555
+ },
2556
+ });
2557
+ React.useEffect(() => {
2558
+ const host = hostRef.current;
2559
+ const vp = viewportRef.current;
2560
+ if (!host || !vp)
2561
+ return;
2562
+ initialize({
2563
+ target: host,
2564
+ elements: {
2565
+ viewport: vp,
2566
+ content: vp,
2567
+ },
2568
+ });
2569
+ return () => {
2570
+ osInstance()?.destroy();
2571
+ };
2572
+ }, [initialize, osInstance]);
2573
+ React.useEffect(() => {
2574
+ const instance = osInstance();
2575
+ if (!instance)
2576
+ return;
2577
+ const elements = instance.elements();
2578
+ setShadowElements({
2579
+ host: elements.host,
2580
+ viewport: elements.viewport,
2581
+ });
2582
+ }, [osInstance]);
2583
+ uuiCore.useScrollShadows(shadowElements.host, shadowElements.viewport);
2584
+ React.useImperativeHandle(ref, () => {
2585
+ return {
2586
+ container: containerRef.current,
2587
+ view: viewportRef.current,
2588
+ };
2589
+ }, []);
2590
+ return (React__namespace.default.createElement("div", { ref: hostRef, className: cx__default.default(css$W.root, outerCx, 'uui-scroll-bars', overflowTopEffect === 'shadow' && uuiScrollbars.uuiShadowTop, overflowBottomEffect === 'shadow' && uuiScrollbars.uuiShadowBottom, overflowTopEffect === 'line' && uuiScrollbars.uuiLineTop, overflowBottomEffect === 'line' && uuiScrollbars.uuiLineBottom), ...rest, "data-overlayscrollbars-initialize": "" },
2591
+ React__namespace.default.createElement("div", { className: css$W.viewport, "data-overlayscrollbars-contents": "", ref: (node) => { viewportRef.current = node; }, ...rawProps }, children)));
2592
+ });
2593
+ ScrollBars.displayName = 'ScrollBars';
2509
2594
 
2510
- var css$V = {"scroll-container":"_5eIPxb","scrollContainer":"_5eIPxb","list-container":"nkQnrp","listContainer":"nkQnrp"};
2595
+ var css$V = {"scroll-container":"T6hPfH","scrollContainer":"T6hPfH","list-container":"ZPmhUI","listContainer":"ZPmhUI"};
2511
2596
 
2512
- const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
2597
+ const VirtualList = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
2513
2598
  const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = uuiCore.useVirtualList({
2514
2599
  value: props.value,
2515
2600
  onValueChange: props.onValueChange,
@@ -2517,38 +2602,19 @@ const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
2517
2602
  rowsCount: props.rowsCount,
2518
2603
  rowsSelector: props.rowsSelector,
2519
2604
  });
2520
- React__namespace.useImperativeHandle(ref, () => scrollContainerRef.current, [scrollContainerRef.current]);
2521
- const scrollShadows = uuiCore.useScrollShadows({ root: scrollContainerRef.current });
2605
+ React__namespace.default.useImperativeHandle(ref, () => scrollContainerRef.current, [scrollContainerRef.current]);
2522
2606
  const renderRows = () => props.renderRows?.({
2523
- listContainerRef, estimatedHeight, offsetY, scrollShadows,
2524
- }) || (React__namespace.createElement("div", { className: css$V.listContainer, style: { minHeight: `${estimatedHeight}px` } },
2525
- React__namespace.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
2526
- const renderView = ({ style }) => (React__namespace.createElement(VirtualListView, { isLoading: props.isLoading, style: style, rawProps: props.rawProps, renderBlocker: props.renderBlocker }));
2527
- const scrollBarsRef = React__namespace.useCallback((scrollbars) => {
2528
- if (!scrollbars?.container?.firstChild)
2607
+ listContainerRef, estimatedHeight, offsetY,
2608
+ }) || (React__namespace.default.createElement("div", { className: css$V.listContainer, style: { minHeight: `${estimatedHeight}px` } },
2609
+ React__namespace.default.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
2610
+ const scrollBarsRef = React__namespace.default.useCallback((scrollbars) => {
2611
+ if (!scrollbars?.view)
2529
2612
  return;
2530
- scrollContainerRef.current = scrollbars.container.firstChild;
2613
+ scrollContainerRef.current = scrollbars.view;
2531
2614
  }, []);
2532
- return (React__namespace.createElement(ScrollBars, { cx: uuiCore.cx(css$V.scrollContainer, props.cx, {
2533
- [uuiCore.uuiMarkers.scrolledLeft]: scrollShadows.horizontalLeft,
2534
- [uuiCore.uuiMarkers.scrolledRight]: scrollShadows.horizontalRight,
2535
- [uuiCore.uuiMarkers.scrolledTop]: scrollShadows.verticalTop,
2536
- [uuiCore.uuiMarkers.scrolledBottom]: scrollShadows.verticalBottom,
2537
- }), onScroll: handleScroll, renderView: renderView, ref: scrollBarsRef }, renderRows()));
2538
- });
2539
- const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
2540
- return (React__namespace.createElement(React__namespace.Fragment, null,
2541
- React__namespace.createElement("div", { ...props.rawProps, style: {
2542
- ...props.style,
2543
- position: 'relative',
2544
- flex: '1 1 auto',
2545
- display: 'flex',
2546
- flexDirection: 'column',
2547
- overflow: props.isLoading ? 'hidden' : 'scroll',
2548
- marginRight: props.isLoading ? 0 : props.style.marginRight,
2549
- marginBottom: props.isLoading ? 0 : props.style.marginBottom,
2550
- }, ref: ref }, props.children),
2551
- props.renderBlocker ? props.renderBlocker({ isLoading: props.isLoading }) : React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
2615
+ return (React__namespace.default.createElement(ScrollBars, { cx: uuiCore.cx(css$V.scrollContainer, props.cx), onScroll: handleScroll, ref: scrollBarsRef, rawProps: props.rawProps, overflowTopEffect: props.overflowTopEffect, overflowBottomEffect: props.overflowBottomEffect },
2616
+ renderRows(),
2617
+ React__namespace.default.createElement(Blocker, { isEnabled: props.isLoading })));
2552
2618
  });
2553
2619
 
2554
2620
  const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
@@ -2579,7 +2645,7 @@ function Tree(props) {
2579
2645
  return (React__namespace.createElement(VirtualList, { value: value, onValueChange: onValueChange, rowsCount: rowsCount, rows: renderedRows, cx: uuiCore.cx(propsCx), role: "tree" }));
2580
2646
  }
2581
2647
 
2582
- var css$U = {"root":"ZWH4Jq"};
2648
+ var css$U = {"root":"U6Epqp"};
2583
2649
 
2584
2650
  function CheckboxGroup(props) {
2585
2651
  const currentValue = props.value || [];
@@ -2601,7 +2667,87 @@ function CheckboxGroup(props) {
2601
2667
  })));
2602
2668
  }
2603
2669
 
2604
- var css$T = {"root":"uJElha","modal-blocker":"xYD5eb","modalBlocker":"xYD5eb","animateModalBlocker":"s6L8sR","modal":"buo8iX","modal-footer":"_1-Stuw","modalFooter":"_1-Stuw","border-top":"gA2QOE","borderTop":"gA2QOE","modal-header":"lMLcm5","modalHeader":"lMLcm5","border-bottom":"sulsSn","borderBottom":"sulsSn"};
2670
+ const Tabs = /* @__PURE__ */React.forwardRef((props, ref) => {
2671
+ const { items, value, onValueChange, borderBottom = true, rawProps, ...otherProps } = props;
2672
+ if (items.length === 0) {
2673
+ return null;
2674
+ }
2675
+ const tabLastIndex = items.length - 1;
2676
+ const getTabCurrentIndex = (tabIdCurrent) => {
2677
+ return items.findIndex((tabProps) => {
2678
+ return tabProps.id === tabIdCurrent;
2679
+ });
2680
+ };
2681
+ const moveToTabWithIndex = (tabIndex) => {
2682
+ /*
2683
+ `id`-s provided in `items` are assigned to the tabs.
2684
+ Unless users manually broke this connection,
2685
+ the index calculation will be correct,
2686
+ and the tab element will be present in the DOM.
2687
+ */
2688
+ const tab = items.at(tabIndex);
2689
+ const tabElement = document.getElementById(tab.id);
2690
+ tabElement.focus();
2691
+ };
2692
+ const moveToPreviousTab = (tabIdCurrent) => {
2693
+ const tabCurrentIndex = getTabCurrentIndex(tabIdCurrent);
2694
+ const tabIndexNext = tabCurrentIndex === 0 ? tabLastIndex : tabCurrentIndex - 1;
2695
+ moveToTabWithIndex(tabIndexNext);
2696
+ };
2697
+ const moveToNextTab = (tabIdCurrent) => {
2698
+ const tabCurrentIndex = getTabCurrentIndex(tabIdCurrent);
2699
+ const tabIndexNext = tabCurrentIndex === tabLastIndex ? 0 : tabCurrentIndex + 1;
2700
+ moveToTabWithIndex(tabIndexNext);
2701
+ };
2702
+ const onKeyDown = (event) => {
2703
+ const focusedTabIdCurrent = event.target.id;
2704
+ // https://www.w3.org/WAI/ARIA/apg/patterns/tabs/#keyboardinteraction
2705
+ switch (event.code) {
2706
+ case 'ArrowLeft': {
2707
+ moveToPreviousTab(focusedTabIdCurrent);
2708
+ break;
2709
+ }
2710
+ case 'ArrowRight': {
2711
+ moveToNextTab(focusedTabIdCurrent);
2712
+ break;
2713
+ }
2714
+ case 'Home': {
2715
+ moveToTabWithIndex(0);
2716
+ break;
2717
+ }
2718
+ case 'End': {
2719
+ moveToTabWithIndex(tabLastIndex);
2720
+ break;
2721
+ }
2722
+ }
2723
+ };
2724
+ return (React__namespace.default.createElement(FlexRow, { ref: ref, borderBottom: borderBottom, rawProps: {
2725
+ role: 'tablist',
2726
+ 'aria-orientation': 'horizontal',
2727
+ ...rawProps,
2728
+ }, ...otherProps }, items.map((tabProps) => {
2729
+ const { id } = tabProps;
2730
+ const handleOnClick = () => {
2731
+ onValueChange(id);
2732
+ tabProps.onClick?.();
2733
+ };
2734
+ const handleOnKeyDown = (event) => {
2735
+ onKeyDown(event);
2736
+ tabProps.rawProps?.onKeyDown?.(event);
2737
+ };
2738
+ const isActive = id === value;
2739
+ const tabIndex = isActive ? undefined : -1;
2740
+ return (React__namespace.default.createElement(TabButton, { key: id, isActive: isActive, tabIndex: tabIndex, ...tabProps, onClick: handleOnClick, rawProps: {
2741
+ id,
2742
+ 'aria-selected': isActive,
2743
+ ...tabProps.rawProps,
2744
+ onKeyDown: handleOnKeyDown,
2745
+ } }));
2746
+ })));
2747
+ });
2748
+ Tabs.displayName = 'Tabs';
2749
+
2750
+ var css$T = {"root":"U78jff","modal-blocker":"rLHfoX","modalBlocker":"rLHfoX","animateModalBlocker":"N6T2OU","modal":"nQ1ZUh","modal-footer":"eDVe9r","modalFooter":"eDVe9r","border-top":"FXWMEf","borderTop":"FXWMEf","modal-header":"tb7hiH","modalHeader":"tb7hiH","border-bottom":"_3cGnEZ","borderBottom":"_3cGnEZ"};
2605
2751
 
2606
2752
  const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$T.modalBlocker]);
2607
2753
  const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$T.root, css$T.modal], (props) => {
@@ -2793,7 +2939,7 @@ const TREE_SHAKEABLE_INIT = () => ({
2793
2939
  });
2794
2940
  const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
2795
2941
 
2796
- var css$S = {"root":"nCiB38","icon-wrapper":"O-zcGy","iconWrapper":"O-zcGy","action-wrapper":"y-7SIi","actionWrapper":"y-7SIi","close-icon":"fcTSmE","closeIcon":"fcTSmE","main-path":"G-efK0","mainPath":"G-efK0","content":"lkS2A3","close-wrapper":"ZC6vZ8","closeWrapper":"ZC6vZ8","clear-notifications":"aDBAE0","clearNotifications":"aDBAE0"};
2942
+ var css$S = {"root":"wD5M43","icon-wrapper":"ytSieg","iconWrapper":"ytSieg","action-wrapper":"jUW4oa","actionWrapper":"jUW4oa","close-icon":"Y9JY19","closeIcon":"Y9JY19","main-path":"ZGabYW","mainPath":"ZGabYW","content":"vkuP49","close-wrapper":"JQicTB","closeWrapper":"JQicTB","clear-notifications":"QjUgBA","clearNotifications":"QjUgBA"};
2797
2943
 
2798
2944
  const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
2799
2945
  const notificationCardNode = React__namespace.default.useRef(null);
@@ -2826,7 +2972,7 @@ function ClearNotification() {
2826
2972
  React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
2827
2973
  }
2828
2974
 
2829
- var css$R = {"footer":"BXu-K-"};
2975
+ var css$R = {"footer":"lZut3N"};
2830
2976
 
2831
2977
  class ConfirmationModal extends React__namespace.Component {
2832
2978
  render() {
@@ -2868,7 +3014,7 @@ function useReliableForceUpdate() {
2868
3014
  return red[1];
2869
3015
  }
2870
3016
 
2871
- var css$Q = {"root":"Kehh-v","container":"_9AWgBo"};
3017
+ var css$Q = {"root":"jmhVru","container":"tWIJrl"};
2872
3018
 
2873
3019
  const defaultFormat = 'MMM D, YYYY';
2874
3020
  const valueFormat = 'YYYY-MM-DD';
@@ -3086,14 +3232,14 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
3086
3232
  React__namespace.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
3087
3233
  }
3088
3234
 
3089
- var css$P = {"root":"RoEgIt"};
3235
+ var css$P = {"root":"_0q9Ttf"};
3090
3236
 
3091
3237
  function applyDateSelectionMods() {
3092
3238
  return [css$P.root, `uui-size-${settings.datePicker.sizes.body}`];
3093
3239
  }
3094
3240
  const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
3095
3241
 
3096
- var css$O = {"root":"cIwFTj"};
3242
+ var css$O = {"root":"-PXc4J"};
3097
3243
 
3098
3244
  const uuiDatePickerBody = {
3099
3245
  wrapper: 'uui-datepicker-body-wrapper',
@@ -3214,7 +3360,7 @@ function DatePickerComponent(props, ref) {
3214
3360
  }
3215
3361
  const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
3216
3362
 
3217
- var css$N = {"date-input":"_2tZSi7","dateInput":"_2tZSi7","root":"NV5l08","separator":"_38ISk1"};
3363
+ var css$N = {"date-input":"_4SswK5","dateInput":"_4SswK5","root":"M8dEUC","separator":"tXEJ4C"};
3218
3364
 
3219
3365
  const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, preventEmptyFromDate, preventEmptyToDate, id, cx: classes, }, ref) => {
3220
3366
  const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
@@ -3285,7 +3431,7 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
3285
3431
  React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$N.dateInput, inFocus === 'to' && uuiCore.uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.rangeDatePicker.sizes.default, value: inputValue.to || undefined, onCancel: clearAllowed ? onClear : undefined, onValueChange: (v) => onInputChange(v || '', 'to'), onFocus: (e) => handleFocus(e, 'to'), onBlur: (e) => handleBlur(e, 'to'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps?.to, onClick: onClick, onKeyDown: onInputKeyDown })));
3286
3432
  });
3287
3433
 
3288
- var css$M = {"root":"JXWS7P"};
3434
+ var css$M = {"root":"ctWOZN"};
3289
3435
 
3290
3436
  const uuiPresets = {
3291
3437
  container: 'uui-presets-container',
@@ -3305,7 +3451,7 @@ function CalendarPresets(props) {
3305
3451
  getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
3306
3452
  }
3307
3453
 
3308
- var css$L = {"root":"BRPQ2v","container":"eq16uM","day-selection":"VMBu16","daySelection":"VMBu16","from-picker":"-VtEZ-","fromPicker":"-VtEZ-","to-picker":"xUOMw5","toPicker":"xUOMw5","bodes-wrapper":"fNJvww","bodesWrapper":"fNJvww","blocker":"jS9UMi"};
3454
+ var css$L = {"root":"ad8s-W","container":"uHvbmV","day-selection":"J9FAqZ","daySelection":"J9FAqZ","from-picker":"ncvxX5","fromPicker":"ncvxX5","to-picker":"OcG7s4","toPicker":"OcG7s4","bodes-wrapper":"zzbJ9q","bodesWrapper":"zzbJ9q","blocker":"yfsvJ5"};
3309
3455
 
3310
3456
  const uuiRangeDatePickerBody = {
3311
3457
  inRange: 'uui-range-datepicker-in-range',
@@ -3318,7 +3464,7 @@ const rangeDatePickerPresets = {
3318
3464
  name: 'Today',
3319
3465
  getRange: () => ({
3320
3466
  from: uuiDayjs.dayjs().toString(),
3321
- to: undefined,
3467
+ to: uuiDayjs.dayjs().toString(),
3322
3468
  order: 1,
3323
3469
  }),
3324
3470
  },
@@ -3359,7 +3505,7 @@ const rangeDatePickerPresets = {
3359
3505
  getRange: () => ({
3360
3506
  from: uuiDayjs.dayjs().startOf('month').subtract(3, 'month').toString(),
3361
3507
  to: uuiDayjs.dayjs().subtract(1, 'month').endOf('month').toString(),
3362
- order: 5,
3508
+ order: 6,
3363
3509
  }),
3364
3510
  },
3365
3511
  thisYear: {
@@ -3444,8 +3590,8 @@ function RangeDatePickerBodyComp(props, ref) {
3444
3590
  props.onValueChange({
3445
3591
  inFocus: props.value.inFocus,
3446
3592
  selectedDate: {
3447
- from: uuiDayjs.dayjs(presetVal.from).format(valueFormat),
3448
- to: uuiDayjs.dayjs(presetVal.to).format(valueFormat),
3593
+ from: presetVal.from ? uuiDayjs.dayjs(presetVal.from).format(valueFormat) : undefined,
3594
+ to: presetVal.to ? uuiDayjs.dayjs(presetVal.to).format(valueFormat) : undefined,
3449
3595
  },
3450
3596
  });
3451
3597
  }, presets: presets })));
@@ -3507,7 +3653,7 @@ const getDayState = (day, selectedDate) => {
3507
3653
  };
3508
3654
  };
3509
3655
 
3510
- var css$K = {"dropdown-container":"nLCSbA","dropdownContainer":"nLCSbA"};
3656
+ var css$K = {"dropdown-container":"mRcXPu","dropdownContainer":"mRcXPu"};
3511
3657
 
3512
3658
  function RangeDatePickerComponent(props, ref) {
3513
3659
  const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
@@ -3575,7 +3721,7 @@ function RangeDatePickerComponent(props, ref) {
3575
3721
  }
3576
3722
  const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
3577
3723
 
3578
- var css$J = {"root":"VGpmp6","blocker":"PgZcIt","marker":"nLWkhp","top":"UCiZiy","bottom":"wRKnPg","left":"ZkVMaX","right":"n7-q6w","inside":"_6lbD0m"};
3724
+ var css$J = {"root":"WSj09H","blocker":"_0iNUa9","marker":"_0CRQIv","top":"lB62dD","bottom":"HKii4S","left":"w8wOC3","right":"wcwV-y","inside":"aYGwmC"};
3579
3725
 
3580
3726
  function DropMarker(props) {
3581
3727
  return props.isDndInProgress
@@ -3590,9 +3736,9 @@ function DropMarker(props) {
3590
3736
  : null;
3591
3737
  }
3592
3738
 
3593
- var css$I = {"search-wrapper":"xT6L7x","searchWrapper":"xT6L7x","no-data":"yb7j-G","noData":"yb7j-G"};
3739
+ var css$I = {"search-wrapper":"LI6Ne8","searchWrapper":"LI6Ne8","no-data":"GZfFGS","noData":"GZfFGS"};
3594
3740
 
3595
- var css$H = {"picker-row":"X8qUF3","pickerRow":"X8qUF3","align-widgets-top":"_-0oA5q","alignWidgetsTop":"_-0oA5q","row-content":"YEAMbJ","rowContent":"YEAMbJ","align-widgets-center":"wo0jIu","alignWidgetsCenter":"wo0jIu","icon-container":"YsNuRS","iconContainer":"YsNuRS","content-wrapper":"wC-c08","contentWrapper":"wC-c08","icon-wrapper":"JNvvU4","iconWrapper":"JNvvU4","icon-default":"BR2utH","iconDefault":"BR2utH","selected-mark":"AqhCFH","selectedMark":"AqhCFH"};
3741
+ var css$H = {"picker-row":"_6cp1MK","pickerRow":"_6cp1MK","align-widgets-top":"faIUYo","alignWidgetsTop":"faIUYo","row-content":"zctZK0","rowContent":"zctZK0","align-widgets-center":"_1Kvir6","alignWidgetsCenter":"_1Kvir6","icon-container":"zs82EY","iconContainer":"zs82EY","content-wrapper":"FwKXt3","contentWrapper":"FwKXt3","icon-wrapper":"_3I1JBQ","iconWrapper":"_3I1JBQ","icon-default":"_2-bWe-","iconDefault":"_2-bWe-","selected-mark":"ybARsV","selectedMark":"ybARsV"};
3596
3742
 
3597
3743
  const mergeHighlightRanges = (ranges) => {
3598
3744
  const mergedRanges = [];
@@ -3659,7 +3805,7 @@ const getHighlightedSearchMatches = (str, search) => {
3659
3805
  return getDecoratedText(str, ranges);
3660
3806
  };
3661
3807
 
3662
- var css$G = {"root":"GS82I7","column-gap":"JXVA03","columnGap":"JXVA03","title":"et0-va","subtitle":"i1VrBt","disabled":"pFYF01","multiline":"_4RcmRb"};
3808
+ var css$G = {"root":"H7CF2p","column-gap":"_36BmDK","columnGap":"_36BmDK","title":"eWUnIT","subtitle":"Gz0osj","disabled":"IxLjh4","multiline":"rEm-xY"};
3663
3809
 
3664
3810
  function PickerItem(props) {
3665
3811
  const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
@@ -3805,7 +3951,7 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
3805
3951
  'aria-orientation': 'vertical',
3806
3952
  tabIndex: -1,
3807
3953
  ...props.rawProps,
3808
- }, rowsCount: props.rowsCount, isLoading: props.isReloading, renderBlocker: settings.pickerInput.renderBlocker })))));
3954
+ }, rowsCount: props.rowsCount, isLoading: props.isReloading, renderBlocker: settings.pickerInput.renderBlocker, overflowTopEffect: showSearch ? 'line' : 'none', overflowBottomEffect: "line" })))));
3809
3955
  }
3810
3956
 
3811
3957
  function DataPickerFooterImpl(props) {
@@ -3832,7 +3978,7 @@ function DataPickerFooterImpl(props) {
3832
3978
  }
3833
3979
  const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
3834
3980
 
3835
- var css$F = {"header":"NQqV9H","title":"EZGqV3","close":"_4yrAj8"};
3981
+ var css$F = {"header":"SS-3Uh","title":"jIxoPH","close":"CTpj87"};
3836
3982
 
3837
3983
  const DataPickerMobileHeaderImpl = (props) => {
3838
3984
  const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
@@ -3842,7 +3988,7 @@ const DataPickerMobileHeaderImpl = (props) => {
3842
3988
  };
3843
3989
  const DataPickerMobileHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerMobileHeaderImpl);
3844
3990
 
3845
- var css$E = {"done":"-noL9F","container":"mvjfRX"};
3991
+ var css$E = {"done":"ozLT3k","container":"ghCR8W"};
3846
3992
 
3847
3993
  const PickerBodyMobileView = (props) => {
3848
3994
  const isMobileView = uuiCore.isMobile();
@@ -3854,7 +4000,7 @@ const PickerBodyMobileView = (props) => {
3854
4000
  isMobileView && (React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$E.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
3855
4001
  };
3856
4002
 
3857
- var css$D = {"sub-header-wrapper":"pw-VR6","subHeaderWrapper":"pw-VR6","switch":"_4eMeQa","no-found-modal-container":"f7lJFw","noFoundModalContainer":"f7lJFw","no-found-modal-container-icon":"x-f5cT","noFoundModalContainerIcon":"x-f5cT","no-found-modal-container-text":"xLalBW","noFoundModalContainerText":"xLalBW","body":"RyPydl"};
4003
+ var css$D = {"sub-header-wrapper":"q7O-lH","subHeaderWrapper":"q7O-lH","switch":"oc7wMg","no-found-modal-container":"gQCW-D","noFoundModalContainer":"gQCW-D","no-found-modal-container-icon":"Yd-1du","noFoundModalContainerIcon":"Yd-1du","no-found-modal-container-text":"GcZVa2","noFoundModalContainerText":"GcZVa2","body":"dzqHRB"};
3858
4004
 
3859
4005
  function PickerModal(props) {
3860
4006
  const { view, selection, dataSourceStateLens, dataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
@@ -3900,7 +4046,7 @@ function PickerModal(props) {
3900
4046
  React__namespace.default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
3901
4047
  }
3902
4048
 
3903
- var css$C = {"tooltip":"KKR5Hz"};
4049
+ var css$C = {"tooltip":"MF9jqp"};
3904
4050
 
3905
4051
  const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
3906
4052
  const tagProps = {
@@ -3919,7 +4065,7 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
3919
4065
  }
3920
4066
  });
3921
4067
 
3922
- var css$B = {"root":"_6BDOSN"};
4068
+ var css$B = {"root":"uRM0DJ"};
3923
4069
 
3924
4070
  const defaultMode = EditMode.FORM;
3925
4071
  function applyPickerTogglerMods(mods) {
@@ -4001,7 +4147,7 @@ function PickerInputComponent(props, ref) {
4001
4147
  }
4002
4148
  const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
4003
4149
 
4004
- var css$A = {"row":"XqEcUZ"};
4150
+ var css$A = {"row":"_2u3Ayo"};
4005
4151
 
4006
4152
  function PickerListRow(props) {
4007
4153
  let label;
@@ -4021,7 +4167,7 @@ function PickerListRow(props) {
4021
4167
  return (React__namespace.default.createElement("div", { role: "option", "aria-selected": props.isSelectable ? props.isSelected : undefined, "aria-busy": props.isLoading, "aria-posinset": props.index + 1, ...(props.checkbox?.isVisible && { 'aria-checked': props.isChecked }), className: css$A.row }, component));
4022
4168
  }
4023
4169
 
4024
- var css$z = {"root":"Mo5mcj"};
4170
+ var css$z = {"root":"oktYdH"};
4025
4171
 
4026
4172
  function PickerList(props) {
4027
4173
  const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
@@ -4056,7 +4202,7 @@ function PickerList(props) {
4056
4202
  }, selectedRows)));
4057
4203
  }
4058
4204
 
4059
- var css$y = {"root":"_-1fghw","wrapper":"_6OVFLW","align-widgets-top":"OZsjsh","alignWidgetsTop":"OZsjsh","align-widgets-center":"XJ-X6-","alignWidgetsCenter":"XJ-X6-"};
4205
+ var css$y = {"root":"NGjEfX","wrapper":"WmJNRA","align-widgets-top":"_2Nav-w","alignWidgetsTop":"_2Nav-w","align-widgets-center":"IqMJZ7","alignWidgetsCenter":"IqMJZ7"};
4060
4206
 
4061
4207
  function DataTableCell(initialProps) {
4062
4208
  const props = { ...initialProps };
@@ -4106,7 +4252,7 @@ function DataTableCell(initialProps) {
4106
4252
  return React__namespace.createElement(uuiComponents.DataTableCell, { ...props });
4107
4253
  }
4108
4254
 
4109
- var css$x = {"root":"wsv7pR"};
4255
+ var css$x = {"root":"_3B0xu-"};
4110
4256
 
4111
4257
  // Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
4112
4258
  // As we need our mods to style the cell properly, we extract them from DataTableCellProps.rowProps, which is a hack, but it's reliable enough.
@@ -4122,7 +4268,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
4122
4268
  ];
4123
4269
  }, () => propsMods);
4124
4270
 
4125
- var css$w = {"sorting-panel-container":"yWeO0t","sortingPanelContainer":"yWeO0t"};
4271
+ var css$w = {"sorting-panel-container":"Wk4TKo","sortingPanelContainer":"Wk4TKo"};
4126
4272
 
4127
4273
  const SortingPanelImpl = ({ sortDirection, onSort }) => {
4128
4274
  const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
@@ -4142,7 +4288,7 @@ const ColumnHeaderDropdownImpl = (props) => {
4142
4288
  };
4143
4289
  const ColumnHeaderDropdown = /* @__PURE__ */React__namespace.default.memo(ColumnHeaderDropdownImpl);
4144
4290
 
4145
- var css$v = {"root":"b4757w","caption-wrapper":"naqhO4","captionWrapper":"naqhO4","sort-icon":"W1ER8j","sortIcon":"W1ER8j","dropdown-icon":"SmyQ4p","dropdownIcon":"SmyQ4p","infoIcon":"PCHDjW","align-right":"gzLwwv","alignRight":"gzLwwv","align-center":"qaWypb","alignCenter":"qaWypb","caption":"XkiMr0","truncate":"xLvRDD","upper-case":"UBHmx4","upperCase":"UBHmx4","checkbox":"OTBbz2","icon":"w-U0fW","fold-all-icon":"e8tRmY","foldAllIcon":"e8tRmY","cell-tooltip":"PMtDXK","cellTooltip":"PMtDXK","resizing-marker":"_-53OVU","resizingMarker":"_-53OVU","pinned-right":"wyOrGa","pinnedRight":"wyOrGa","draggable":"i5xueY","ghost":"BqoNqL","is-dragged-out":"L8uO1Z","isDraggedOut":"L8uO1Z","dnd-marker-left":"EfFJJ5","dndMarkerLeft":"EfFJJ5","dnd-marker-right":"dNe4Gg","dndMarkerRight":"dNe4Gg","cell-tooltip-wrapper":"xu68Er","cellTooltipWrapper":"xu68Er","cell-tooltip-text":"_8-BkJU","cellTooltipText":"_8-BkJU","tooltip-caption":"b-72Aj","tooltipCaption":"b-72Aj","tooltip-info":"ifHrZu","tooltipInfo":"ifHrZu"};
4291
+ var css$v = {"root":"pbCilY","caption-wrapper":"kKrvyf","captionWrapper":"kKrvyf","sort-icon":"_0HCjfB","sortIcon":"_0HCjfB","dropdown-icon":"_1xdL9q","dropdownIcon":"_1xdL9q","infoIcon":"_529USl","align-right":"b53Phw","alignRight":"b53Phw","align-center":"cFihLb","alignCenter":"cFihLb","caption":"YXQOCU","truncate":"jg83S5","upper-case":"_0Rhbef","upperCase":"_0Rhbef","checkbox":"h5VwzM","icon":"Y6tqhg","fold-all-icon":"tCfaP0","foldAllIcon":"tCfaP0","cell-tooltip":"LnPuCz","cellTooltip":"LnPuCz","resizing-marker":"zJ848M","resizingMarker":"zJ848M","pinned-right":"oOPyKQ","pinnedRight":"oOPyKQ","draggable":"XyGdEU","ghost":"Y2mK0K","is-dragged-out":"s3pOC2","isDraggedOut":"s3pOC2","dnd-marker-left":"VQ7F9l","dndMarkerLeft":"VQ7F9l","dnd-marker-right":"_4czKk1","dndMarkerRight":"_4czKk1","cell-tooltip-wrapper":"G672hm","cellTooltipWrapper":"G672hm","cell-tooltip-text":"t9G04e","cellTooltipText":"t9G04e","tooltip-caption":"Z2xriK","tooltipCaption":"Z2xriK","tooltip-info":"-uPuyj","tooltipInfo":"-uPuyj"};
4146
4292
 
4147
4293
  class DataTableHeaderCell extends React__namespace.Component {
4148
4294
  constructor() {
@@ -4236,7 +4382,7 @@ class DataTableHeaderCell extends React__namespace.Component {
4236
4382
  }
4237
4383
  }
4238
4384
 
4239
- var css$u = {"root":"nTQW5Z","caption-wrapper":"CfTFgF","captionWrapper":"CfTFgF","align-center":"B-QRPf","alignCenter":"B-QRPf","caption":"hLnjIF","truncate":"_0Rq4Bu","upper-case":"HjRRlY","upperCase":"HjRRlY","group-cell-tooltip":"LpIW7M","groupCellTooltip":"LpIW7M","group-cell-tooltip-wrapper":"tXPS1H","groupCellTooltipWrapper":"tXPS1H","group-cell-tooltip-text":"f4U-22","groupCellTooltipText":"f4U-22","tooltip-caption":"A4h6nf","tooltipCaption":"A4h6nf","tooltip-info":"-e0QVE","tooltipInfo":"-e0QVE"};
4385
+ var css$u = {"root":"GJA-jl","caption-wrapper":"JeQsdh","captionWrapper":"JeQsdh","align-center":"-AI1-m","alignCenter":"-AI1-m","caption":"_7p-MQZ","truncate":"NbBQc6","upper-case":"sBGMS-","upperCase":"sBGMS-","group-cell-tooltip":"Y9xwZN","groupCellTooltip":"Y9xwZN","group-cell-tooltip-wrapper":"y62P49","groupCellTooltipWrapper":"y62P49","group-cell-tooltip-text":"KV5V7M","groupCellTooltipText":"KV5V7M","tooltip-caption":"Cc9PMG","tooltipCaption":"Cc9PMG","tooltip-info":"pmBFBy","tooltipInfo":"pmBFBy"};
4240
4386
 
4241
4387
  class DataTableHeaderGroupCell extends React__namespace.Component {
4242
4388
  constructor() {
@@ -4276,7 +4422,7 @@ class DataTableHeaderGroupCell extends React__namespace.Component {
4276
4422
  }
4277
4423
  }
4278
4424
 
4279
- var css$t = {"root":"ZoDNIU"};
4425
+ var css$t = {"root":"bELrvr"};
4280
4426
 
4281
4427
  const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
4282
4428
  renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
@@ -4372,7 +4518,7 @@ const UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION = 'uui-filters-panel-item-toggler
4372
4518
  const UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX = 'uui-filters-panel-item-toggler-postfix';
4373
4519
  const UUI_FILTERS_PANEL_BODY_FOOTER = 'uui-filters-panel-item-footer';
4374
4520
 
4375
- var css$s = {"body":"_4Ixn2c","header":"s2bmwZ","title":"dZJlcD","removeButton":"LtHPkg","with-search":"CPCFHX","withSearch":"CPCFHX"};
4521
+ var css$s = {"body":"YjsM2k","header":"ZBEDAy","title":"LinM-7","removeButton":"S7llfQ","with-search":"_5DFEet","withSearch":"_5DFEet"};
4376
4522
 
4377
4523
  function FilterColumnBody(props) {
4378
4524
  const [predicate, setPredicate] = React.useState(getDefaultPredicate(props.predicates, props.value));
@@ -4433,7 +4579,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
4433
4579
  return columns;
4434
4580
  };
4435
4581
 
4436
- var css$r = {"unpin-icon":"Vwl9-L","unpinIcon":"Vwl9-L","pin-toggler-icon":"dxdZPu","pinTogglerIcon":"dxdZPu"};
4582
+ var css$r = {"unpin-icon":"YQzsHo","unpinIcon":"YQzsHo","pin-toggler-icon":"AH6-nx","pinTogglerIcon":"AH6-nx"};
4437
4583
 
4438
4584
  function PinIconButton(props) {
4439
4585
  const i18nLocal = i18n.tables.columnsConfigurationModal;
@@ -4446,14 +4592,23 @@ function PinIconButton(props) {
4446
4592
  const iconTooltip = isPinnedAlways ? i18nLocal.lockedColumnPinButton : i18nLocal.unPinColumnButton;
4447
4593
  const unpinClickHandler = isPinnedAlways ? undefined : () => onTogglePin(undefined);
4448
4594
  pinUnpinNode = (React__namespace.createElement(Tooltip, { content: iconTooltip, placement: "bottom", color: "inverted" },
4449
- React__namespace.createElement(IconButton, { cx: uuiCore.cx(!isPinnedAlways && css$r.unpinIcon, css$r.pinTogglerIcon), icon: unpinIcon, onClick: unpinClickHandler, isDisabled: isPinnedAlways, color: "primary" })));
4595
+ React__namespace.createElement(IconButton, { cx: uuiCore.cx(!isPinnedAlways && css$r.unpinIcon, css$r.pinTogglerIcon), icon: unpinIcon, onClick: unpinClickHandler, isDisabled: isPinnedAlways, color: "primary", rawProps: {
4596
+ 'aria-description': iconTooltip,
4597
+ 'aria-label': 'Unpin Button',
4598
+ } })));
4450
4599
  }
4451
4600
  else {
4452
4601
  pinUnpinNode = (React__namespace.createElement(React__namespace.Fragment, null,
4453
4602
  React__namespace.createElement(Tooltip, { content: i18nLocal.pinColumnToTheLeftButton, placement: "bottom", color: "inverted" },
4454
- React__namespace.createElement(IconButton, { cx: css$r.pinTogglerIcon, icon: settings.dataTable.icons.columnsConfigurationModal.pinLeftIcon, onClick: () => onTogglePin('left'), isDisabled: isPinnedAlways })),
4603
+ React__namespace.createElement(IconButton, { cx: css$r.pinTogglerIcon, icon: settings.dataTable.icons.columnsConfigurationModal.pinLeftIcon, onClick: () => onTogglePin('left'), isDisabled: isPinnedAlways, rawProps: {
4604
+ 'aria-description': i18nLocal.pinColumnToTheLeftButton,
4605
+ 'aria-label': 'Pin left button',
4606
+ } })),
4455
4607
  React__namespace.createElement(Tooltip, { content: i18nLocal.pinColumnToTheRightButton, placement: "bottom", color: "inverted" },
4456
- React__namespace.createElement(IconButton, { cx: css$r.pinTogglerIcon, icon: settings.dataTable.icons.columnsConfigurationModal.pinRightIcon, onClick: () => onTogglePin('right'), isDisabled: isPinnedAlways }))));
4608
+ React__namespace.createElement(IconButton, { cx: css$r.pinTogglerIcon, icon: settings.dataTable.icons.columnsConfigurationModal.pinRightIcon, onClick: () => onTogglePin('right'), isDisabled: isPinnedAlways, rawProps: {
4609
+ 'aria-description': i18nLocal.pinColumnToTheRightButton,
4610
+ 'aria-label': 'Pin right button',
4611
+ } }))));
4457
4612
  }
4458
4613
  return pinUnpinNode;
4459
4614
  }
@@ -4475,22 +4630,33 @@ function getUnpinIcon(params) {
4475
4630
  }
4476
4631
  }
4477
4632
 
4478
- var css$q = {"row-wrapper":"hW9VxK","rowWrapper":"hW9VxK","pin-icon-button":"pTpMzl","pinIconButton":"pTpMzl","not-pinned":"xkwn3G","notPinned":"xkwn3G","checkbox":"bYsMGJ","drag-handle":"Z3jkmJ","dragHandle":"Z3jkmJ","dnd-disabled":"kNlTt-","dndDisabled":"kNlTt-"};
4633
+ var css$q = {"row-wrapper":"zJslkk","rowWrapper":"zJslkk","pin-icon-button":"iwmnEY","pinIconButton":"iwmnEY","not-pinned":"_-5k19-","notPinned":"_-5k19-","checkbox":"QRyN6c","drag-handle":"Syw6Ub","dragHandle":"Syw6Ub","dnd-disabled":"qhrR-D","dndDisabled":"qhrR-D"};
4479
4634
 
4480
4635
  const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
4481
4636
  const { column } = props;
4482
- const { toggleVisibility, togglePin, onCanAcceptDrop, onDrop, columnConfig, isDndAllowed, isPinnedAlways, } = column;
4637
+ const { toggleVisibility, togglePin, onCanAcceptDrop, onDrop, columnConfig, isDndAllowed, isPinnedAlways, columnGroup, } = column;
4483
4638
  const { isVisible, fix } = columnConfig;
4484
4639
  const pinPosition = fix || (isPinnedAlways ? 'left' : undefined);
4485
4640
  const isPinned = !!pinPosition;
4486
4641
  const data = { column, columnConfig };
4642
+ const getColumnCaption = () => {
4643
+ if (props.renderItem) {
4644
+ return props.renderItem(props.column);
4645
+ }
4646
+ if (column.group) {
4647
+ return `${column.caption}/${columnGroup.caption}`;
4648
+ }
4649
+ else {
4650
+ return column.caption;
4651
+ }
4652
+ };
4487
4653
  const renderContent = (dndActorParams) => {
4488
4654
  const wrapperClasses = uuiCore.cx(css$q.rowWrapper, !isPinned && css$q.notPinned, dndActorParams.isDragGhost && uuiCore.uuiDndState.dragGhost, 'uui-dt-columns-config-row');
4489
4655
  const { onTouchStart, onPointerDown, ...restEventHandlers } = dndActorParams.eventHandlers;
4490
4656
  const { ref, ...dndActorPropsWithoutRef } = dndActorParams;
4491
4657
  return (React__namespace.createElement(FlexRow, { size: settings.dataTable.sizes.columnsConfigurationModal.columnRow, cx: wrapperClasses, ref: dndActorParams.ref, rawProps: { ...restEventHandlers }, alignItems: "top" },
4492
4658
  React__namespace.createElement(uuiComponents.DragHandle, { dragHandleIcon: settings.dataTable.icons.columnsConfigurationModal.dragIndicator, rawProps: { onTouchStart, onPointerDown }, isDisabled: !isDndAllowed, cx: uuiCore.cx(css$q.dragHandle, !isDndAllowed && css$q.dndDisabled) }),
4493
- React__namespace.createElement(Checkbox, { key: column.key, label: props.renderItem ? props.renderItem(props.column) : column.caption, value: isVisible, onValueChange: toggleVisibility, isReadonly: column.isAlwaysVisible || column.isLocked, cx: css$q.checkbox }),
4659
+ React__namespace.createElement(Checkbox, { key: column.key, label: getColumnCaption(), value: isVisible, onValueChange: toggleVisibility, isReadonly: column.isAlwaysVisible || column.isLocked, cx: css$q.checkbox }),
4494
4660
  React__namespace.createElement(FlexRow, { size: null, cx: css$q.pinIconButton },
4495
4661
  React__namespace.createElement(PinIconButton, { pinPosition: pinPosition, canUnpin: !isPinnedAlways, onTogglePin: togglePin })),
4496
4662
  React__namespace.createElement(DropMarker, { ...dndActorPropsWithoutRef })));
@@ -4498,7 +4664,7 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
4498
4664
  return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
4499
4665
  });
4500
4666
 
4501
- var css$p = {"root":"h2kKw1","main-panel":"wbLxSw","mainPanel":"wbLxSw","group":"_01mC0F","group-title":"qrU7pu","groupTitle":"qrU7pu","group-items":"_4Se-rL","groupItems":"_4Se-rL","no-data":"e2OMxc","noData":"e2OMxc","no-data-title":"jlgzxT","noDataTitle":"jlgzxT","no-data-sub-title":"XpH-38","noDataSubTitle":"XpH-38","h-divider":"j7aofd","hDivider":"j7aofd","search-area":"-JP4zK","searchArea":"-JP4zK","subgroup-accordion":"_768iQh","subgroupAccordion":"_768iQh","subgroup":"fZn8BC","subgroup-title":"Hcy17j","subgroupTitle":"Hcy17j"};
4667
+ var css$p = {"root":"s0VYId","main-panel":"FWKGJW","mainPanel":"FWKGJW","group":"z9ehud","group-title":"ETOdas","groupTitle":"ETOdas","group-items":"rMfxth","groupItems":"rMfxth","no-data":"Gc6okj","noData":"Gc6okj","no-data-title":"i-WLSZ","noDataTitle":"i-WLSZ","no-data-sub-title":"cn2Twl","noDataSubTitle":"cn2Twl","h-divider":"aqcTmP","hDivider":"aqcTmP","search-area":"pupJ7S","searchArea":"pupJ7S","subgroup-accordion":"lnVqMP","subgroupAccordion":"lnVqMP","subgroup":"SDPOOg","subgroup-title":"cABfd-","subgroupTitle":"cABfd-"};
4502
4668
 
4503
4669
  const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$p.group },
4504
4670
  React__namespace.createElement(Text, { size: "none", cx: css$p.groupTitle }, title),
@@ -4512,6 +4678,7 @@ function ColumnsConfigurationModal(props) {
4512
4678
  columns,
4513
4679
  defaultConfig,
4514
4680
  getSearchFields: props.getSearchFields,
4681
+ columnGroups: props.columnGroups,
4515
4682
  });
4516
4683
  const apply = React.useCallback(() => modalProps.success(columnsConfig), [columnsConfig, modalProps]);
4517
4684
  const close = React.useCallback(() => modalProps.abort(), [modalProps]);
@@ -4600,7 +4767,7 @@ const getChildrenAndRest = (row, rows) => {
4600
4767
  return [children, rest];
4601
4768
  };
4602
4769
 
4603
- var css$o = {"listContainer":"q4XfOM","header":"yEAyo7","group":"n3NxKs","stickyHeader":"dZHT7W"};
4770
+ var css$o = {"listContainer":"SP3tYM","header":"mnh-cy","group":"mlBqW2","stickyHeader":"_84AjX2"};
4604
4771
 
4605
4772
  function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
4606
4773
  const rowRef = React.useRef(undefined);
@@ -4640,7 +4807,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
4640
4807
  React__namespace.default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
4641
4808
  }
4642
4809
 
4643
- var css$n = {"root":"GkdlCQ","sticky-header":"bQeT--","stickyHeader":"bQeT--","no-results":"IGoPZy","noResults":"IGoPZy","icon":"uhFwKr","title":"u-9W3w"};
4810
+ var css$n = {"root":"BpqeXM","sticky-header":"MTHa5T","stickyHeader":"MTHa5T","no-results":"fJzFwb","noResults":"fJzFwb","icon":"_5d-97G","title":"lP2BFV"};
4644
4811
 
4645
4812
  function DataTable(props) {
4646
4813
  const { uuiModals } = uuiCore.useUuiContext();
@@ -4664,7 +4831,7 @@ function DataTable(props) {
4664
4831
  .show((modalProps) => {
4665
4832
  return (props.renderColumnsConfigurationModal
4666
4833
  ? props.renderColumnsConfigurationModal({ ...configProps, ...modalProps })
4667
- : (React__namespace.createElement(ColumnsConfigurationModal, { ...modalProps, columns: props.columns, columnsConfig: config, defaultConfig: defaultConfig })));
4834
+ : (React__namespace.createElement(ColumnsConfigurationModal, { ...modalProps, columns: props.columns, columnGroups: props.columnGroups, columnsConfig: config, defaultConfig: defaultConfig })));
4668
4835
  })
4669
4836
  .then((columnsConfig) => props.onValueChange({ ...props.value, columnsConfig }))
4670
4837
  .catch(() => null);
@@ -4673,11 +4840,8 @@ function DataTable(props) {
4673
4840
  ]);
4674
4841
  const renderTableBody = React__namespace.useCallback((params) => (React__namespace.createElement(React__namespace.Fragment, null,
4675
4842
  React__namespace.createElement("div", { className: uuiCore.cx(css$n.stickyHeader, 'uui-dt-sticky_header'), ref: headerRef },
4676
- React__namespace.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.dataTable.sizes.header.row, textCase: props.headerTextCase, allowColumnsReordering: props.allowColumnsReordering, allowColumnsResizing: props.allowColumnsResizing, showFoldAll: props.showFoldAll, value: { ...props.value, columnsConfig: config }, onValueChange: props.onValueChange, columnsGap: props.columnsGap }),
4677
- React__namespace.createElement("div", { className: uuiCore.cx(uuiCore.uuiScrollShadows.top, {
4678
- [uuiCore.uuiScrollShadows.topVisible]: params?.scrollShadows?.verticalTop,
4679
- }) })),
4680
- props.exactRowsCount !== 0 ? (React__namespace.createElement(DataRowsContainer, { headerRef: headerRef, listContainerRef: params?.listContainerRef, estimatedHeight: params?.estimatedHeight, offsetY: params?.offsetY, scrollShadows: params?.scrollShadows, renderRow: renderRow, rows: rows })) : (renderNoResultsBlock?.()))), [
4843
+ React__namespace.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.dataTable.sizes.header.row, textCase: props.headerTextCase, allowColumnsReordering: props.allowColumnsReordering, allowColumnsResizing: props.allowColumnsResizing, showFoldAll: props.showFoldAll, value: { ...props.value, columnsConfig: config }, onValueChange: props.onValueChange, columnsGap: props.columnsGap, cx: uuiCore.uuiScrollShadows.top })),
4844
+ props.exactRowsCount !== 0 ? (React__namespace.createElement(DataRowsContainer, { headerRef: headerRef, listContainerRef: params?.listContainerRef, estimatedHeight: params?.estimatedHeight, offsetY: params?.offsetY, renderRow: renderRow, rows: rows })) : (renderNoResultsBlock?.()))), [
4681
4845
  props, columns, rows, renderNoResultsBlock, onConfigurationButtonClick,
4682
4846
  ]);
4683
4847
  const classes = uuiCore.cx(css$n.root, props.cx, 'uui-dt-vars', 'uui-data_table');
@@ -4692,7 +4856,7 @@ function DataTable(props) {
4692
4856
  : (React__namespace.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderTableBody, cx: classes, isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: rawProps })))));
4693
4857
  }
4694
4858
 
4695
- var css$m = {"root":"GyNc5R","title-wrapper":"a2AIB7","titleWrapper":"a2AIB7","title":"pIKrqL","text-wrapper":"lyouu6","textWrapper":"lyouu6","selection":"nxjlPq","postfix":"wnx4gr","selected":"PQAmMq"};
4859
+ var css$m = {"root":"Ahu0CP","title-wrapper":"_6ZWgQL","titleWrapper":"_6ZWgQL","title":"_4VrmKX","text-wrapper":"z8ZI0b","textWrapper":"z8ZI0b","selection":"aLbA9r","postfix":"i3vFJn","selected":"_3edSVh"};
4696
4860
 
4697
4861
  const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
4698
4862
  const togglerPickerOpened = (e) => {
@@ -4773,6 +4937,7 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
4773
4937
  selectionMode: props.selectionMode,
4774
4938
  selection: props.value,
4775
4939
  search: dataSourceState.search,
4940
+ disableClear: props.disableClear,
4776
4941
  };
4777
4942
  return props.renderFooter
4778
4943
  ? props.renderFooter(footerProps)
@@ -4916,7 +5081,7 @@ function FilterRangeDatePickerBody(props) {
4916
5081
  renderFooter()));
4917
5082
  }
4918
5083
 
4919
- var css$l = {"container":"_1Pzf3M"};
5084
+ var css$l = {"container":"_-1Uhqp"};
4920
5085
 
4921
5086
  function FilterNumericBody(props) {
4922
5087
  const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
@@ -5227,7 +5392,7 @@ function FiltersToolbarImpl(props) {
5227
5392
  }
5228
5393
  const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
5229
5394
 
5230
- var css$k = {"delete-button":"BgcNFt","deleteButton":"BgcNFt","tab-button":"Urs7Hb","tabButton":"Urs7Hb","targetOpen":"_99xTOz"};
5395
+ var css$k = {"delete-button":"TkUdma","deleteButton":"TkUdma","tab-button":"V1sZHz","tabButton":"V1sZHz","targetOpen":"_0-IIaY"};
5231
5396
 
5232
5397
  function PresetActionsDropdown(props) {
5233
5398
  const { uuiNotifications } = uuiCore.useUuiContext();
@@ -5303,7 +5468,7 @@ const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
5303
5468
  const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
5304
5469
  const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
5305
5470
 
5306
- var css$j = {"preset-input-cell":"cwvFx2","presetInputCell":"cwvFx2","preset-input":"jkvIku","presetInput":"jkvIku"};
5471
+ var css$j = {"preset-input-cell":"xCehzP","presetInputCell":"xCehzP","preset-input":"tt5F9a","presetInput":"tt5F9a"};
5307
5472
 
5308
5473
  function PresetInput(props) {
5309
5474
  const [presetCaption, setPresetCaption] = React.useState(props.preset?.name || '');
@@ -5330,7 +5495,7 @@ function PresetInput(props) {
5330
5495
  React__namespace.default.createElement(TextInput, { cx: css$j.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
5331
5496
  }
5332
5497
 
5333
- var css$i = {"preset":"Dye5l0","activePreset":"f-5V5b"};
5498
+ var css$i = {"preset":"J1q077","activePreset":"C7QNjX"};
5334
5499
 
5335
5500
  function Preset(props) {
5336
5501
  const [isRenamePreset, setIsRenamePreset] = React.useState(false);
@@ -5355,7 +5520,7 @@ function Preset(props) {
5355
5520
  return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$i.preset, isPresetActive && css$i.activePreset, UUI_PRESETS_PANEL_PRESET], size: settings.presetsPanel.sizes.tabButton, withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: PresetActionsDropdownComponent, iconPosition: "right", isActive: isPresetActive }))));
5356
5521
  }
5357
5522
 
5358
- var css$h = {"divider":"KHh8Zw","dropdownDeleteIcon":"UN1qU6","presetsWrapper":"_8MsJOo","addPresetContainer":"uK2DuH","dropContainer":"JgZTNZ"};
5523
+ var css$h = {"divider":"vekOdI","dropdownDeleteIcon":"i7naC6","presetsWrapper":"lkHUKJ","addPresetContainer":"_485nR3","dropContainer":"qIMA-g"};
5359
5524
 
5360
5525
  function PresetsPanel(props) {
5361
5526
  const [isAddingPreset, setIsAddingPreset] = React.useState(false);
@@ -5404,9 +5569,9 @@ function PresetsPanel(props) {
5404
5569
  React__namespace.default.createElement(uuiComponents.AdaptivePanel, { items: getPanelItems() }))));
5405
5570
  }
5406
5571
 
5407
- var css$g = {"root":"CfPVgr"};
5572
+ var css$g = {"root":"_5KnibK"};
5408
5573
 
5409
- var css$f = {"root":"nx7RBH","burger-content":"jyN-38","burgerContent":"jyN-38"};
5574
+ var css$f = {"root":"m1kbC6","burger-content":"S1Y8ec","burgerContent":"S1Y8ec"};
5410
5575
 
5411
5576
  var _path$3;
5412
5577
  function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
@@ -5449,7 +5614,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
5449
5614
  };
5450
5615
  var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
5451
5616
 
5452
- var css$e = {"root":"aSfkhg","button-primary":"FGHk2Z","buttonPrimary":"FGHk2Z","button-secondary":"DCpiox","buttonSecondary":"DCpiox","hasIcon":"_02T-H0","dropdown":"tHICjI"};
5617
+ var css$e = {"root":"dtUWWh","button-primary":"-Mis7-","buttonPrimary":"-Mis7-","button-secondary":"ylTyFw","buttonSecondary":"ylTyFw","hasIcon":"LOevly","dropdown":"_9xeNwU"};
5453
5618
 
5454
5619
  function applyBurgerButtonMods(props) {
5455
5620
  return [
@@ -5474,13 +5639,13 @@ const BurgerButton = /* @__PURE__ */React__namespace.default.forwardRef((props,
5474
5639
  }, dropdownIcon: ForwardRef$2 }));
5475
5640
  });
5476
5641
 
5477
- var css$d = {"search-input":"-AUA1G","searchInput":"-AUA1G"};
5642
+ var css$d = {"search-input":"vYVtSz","searchInput":"vYVtSz"};
5478
5643
 
5479
5644
  function BurgerSearch(props) {
5480
5645
  return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$M, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$Q }));
5481
5646
  }
5482
5647
 
5483
- var css$c = {"root":"dxTVgr","group-header":"_2IAhvh","groupHeader":"_2IAhvh","group-name":"BisoKj","groupName":"BisoKj","line":"Vw-Qxb"};
5648
+ var css$c = {"root":"KuPp6c","group-header":"uJKceF","groupHeader":"uJKceF","group-name":"jgiWdd","groupName":"jgiWdd","line":"vu919g"};
5484
5649
 
5485
5650
  function BurgerGroupHeader(props) {
5486
5651
  return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
@@ -5488,7 +5653,7 @@ function BurgerGroupHeader(props) {
5488
5653
  React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
5489
5654
  }
5490
5655
 
5491
- var css$b = {"root":"_2Cznnq","type-primary":"-IkhrK","typePrimary":"-IkhrK","type-secondary":"_59s4v0","typeSecondary":"_59s4v0"};
5656
+ var css$b = {"root":"PLtwlE","type-primary":"xVnypL","typePrimary":"xVnypL","type-secondary":"-YJtZ8","typeSecondary":"-YJtZ8"};
5492
5657
 
5493
5658
  const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
5494
5659
  const { type, ...clickableProps } = props;
@@ -5516,7 +5681,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
5516
5681
  props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
5517
5682
  });
5518
5683
 
5519
- var css$a = {"dropdown-body":"qC5nxf","dropdownBody":"qC5nxf"};
5684
+ var css$a = {"dropdown-body":"pI0ItD","dropdownBody":"pI0ItD"};
5520
5685
 
5521
5686
  function MainMenuDropdown(props) {
5522
5687
  const handleEscape = (e, onClose, isOpen) => {
@@ -5559,12 +5724,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
5559
5724
  };
5560
5725
  var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
5561
5726
 
5562
- var css$9 = {"global-menu-btn":"Zgx50Q","globalMenuBtn":"Zgx50Q","global-menu-icon":"ptbChi","globalMenuIcon":"ptbChi"};
5727
+ var css$9 = {"global-menu-btn":"Rcf6o8","globalMenuBtn":"Rcf6o8","global-menu-icon":"-KObp5","globalMenuIcon":"-KObp5"};
5563
5728
 
5564
5729
  const GlobalMenu = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, id: "global_menu_toggle", className: cx__default.default(css$9.globalMenuBtn, props.cx), ...props.rawProps },
5565
5730
  React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
5566
5731
 
5567
- var css$8 = {"container":"JOg9EY","open":"_9Xp0Gk","folding-arrow":"_42X9dZ","foldingArrow":"_42X9dZ"};
5732
+ var css$8 = {"container":"w9ZVai","open":"u8-Udc","folding-arrow":"_7iFuL1","foldingArrow":"_7iFuL1"};
5568
5733
 
5569
5734
  const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, className: cx__default.default(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiCore.uuiMarkers.clickable, props.cx), onClick: props.onClick, ...props.rawProps },
5570
5735
  React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
@@ -5572,15 +5737,15 @@ const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
5572
5737
  props.isDropdown && (React__namespace.createElement("div", null,
5573
5738
  React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
5574
5739
 
5575
- var css$7 = {"search-input":"LWtnwu","searchInput":"LWtnwu"};
5740
+ var css$7 = {"search-input":"_2vTcli","searchInput":"_2vTcli"};
5576
5741
 
5577
5742
  const MainMenuSearch = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, { ...props, render: (iEditable) => (React__namespace.createElement(uuiComponents.TextInput, { iconPosition: "left", icon: ForwardRef$M, cancelIcon: props.value?.length > 0 && ForwardRef$Q, ...props, ...iEditable, ref: ref, cx: uuiCore.cx(css$7.searchInput, props.cx), ...props.rawProps })) })));
5578
5743
 
5579
- var css$6 = {"container":"d-E4Ii"};
5744
+ var css$6 = {"container":"wsFTHn"};
5580
5745
 
5581
5746
  const MainMenuIcon = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(IconButton, { ref: ref, icon: props.icon, cx: uuiCore.cx(props.cx, css$6.container), ...props })));
5582
5747
 
5583
- var css$5 = {"root":"IRUUJv"};
5748
+ var css$5 = {"root":"pn9hTw"};
5584
5749
 
5585
5750
  const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
5586
5751
 
@@ -5638,7 +5803,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
5638
5803
  };
5639
5804
  var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
5640
5805
 
5641
- var css$4 = {"root":"tcm7tF","drop-start":"lSg-VV","dropStart":"lSg-VV","drop-over":"_8fZSzw","dropOver":"_8fZSzw","link":"ZtYJFd","drop-area":"g8N6qt","dropArea":"g8N6qt","drop-caption":"_13ruEY","dropCaption":"_13ruEY","icon-blue":"sNjEhT","iconBlue":"sNjEhT"};
5806
+ var css$4 = {"root":"_9KpK9K","drop-start":"c4tGeC","dropStart":"c4tGeC","drop-over":"xQ6lFt","dropOver":"xQ6lFt","link":"vMDLUG","drop-area":"YOmTpi","dropArea":"YOmTpi","drop-caption":"tGfwB3","dropCaption":"tGfwB3","icon-blue":"zD4Egz","iconBlue":"zD4Egz"};
5642
5807
 
5643
5808
  function DropSpot(props) {
5644
5809
  const getInfoText = typeof props.infoText === 'string'
@@ -5656,7 +5821,7 @@ function DropSpot(props) {
5656
5821
  return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
5657
5822
  }
5658
5823
 
5659
- var css$3 = {"root":"_8KeYyk"};
5824
+ var css$3 = {"root":"huTrTa"};
5660
5825
 
5661
5826
  const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
5662
5827
  const outsetRadius = props.size / 2 - 1;
@@ -5667,7 +5832,7 @@ const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref
5667
5832
  React__namespace.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
5668
5833
  });
5669
5834
 
5670
- var css$2 = {"root":"k2RJTn","file-name":"zlZ4b-","fileName":"zlZ4b-","default-color":"d8xlQ4","defaultColor":"d8xlQ4","doc-color":"_5hOH57","docColor":"_5hOH57","xls-color":"xGVIvZ","xlsColor":"xGVIvZ","pdf-color":"_74zO-v","pdfColor":"_74zO-v","movie-color":"_6E4yt-","movieColor":"_6E4yt-","img-color":"_243-4q","imgColor":"_243-4q","mov-color":"bej-U1","movColor":"bej-U1","error-block":"_6WDRWV","errorBlock":"_6WDRWV","icons-block":"MknJ5f","iconsBlock":"MknJ5f"};
5835
+ var css$2 = {"root":"pafLq4","file-name":"_80Ljt2","fileName":"_80Ljt2","default-color":"zJLWmG","defaultColor":"zJLWmG","doc-color":"-XBxir","docColor":"-XBxir","xls-color":"F2M9WF","xlsColor":"F2M9WF","pdf-color":"h64wle","pdfColor":"h64wle","movie-color":"PWzEHg","movieColor":"PWzEHg","img-color":"_8oFOIz","imgColor":"_8oFOIz","mov-color":"Kg0e4J","movColor":"Kg0e4J","error-block":"IKpfhS","errorBlock":"IKpfhS","icons-block":"_6oidLn","iconsBlock":"_6oidLn"};
5671
5836
 
5672
5837
  const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
5673
5838
  const [isLoadingShow, setIsLoadingShow] = React__namespace.useState(true);
@@ -5722,7 +5887,7 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
5722
5887
  setIsLoadingShow(() => false);
5723
5888
  };
5724
5889
  const renderErrorContent = () => (React__namespace.createElement(Tooltip, { content: file.error.message, placement: "bottom-start" },
5725
- React__namespace.createElement("div", { className: css$2.errorBlock },
5890
+ React__namespace.createElement("div", { className: css$2.errorBlock, "aria-description": file.error.message, "aria-label": "File Upload Error" },
5726
5891
  React__namespace.createElement(uuiComponents.IconContainer, { icon: settings.fileCard.icons.errorIcon, size: 12 }),
5727
5892
  i18n.fileCard.failedUploadErrorMessage)));
5728
5893
  const renderSuccessfulContent = () => (React__namespace.createElement(Text, { size: "none", fontSize: "14", lineHeight: "18", color: "tertiary" },
@@ -5786,7 +5951,7 @@ const getErrorPageConfig = () => ({
5786
5951
  },
5787
5952
  });
5788
5953
 
5789
- var css$1 = {"container":"OXiYOQ"};
5954
+ var css$1 = {"container":"R-B39Y"};
5790
5955
 
5791
5956
  const ErrorPage = (props) => {
5792
5957
  const isMobileScreen = uuiCore.isMobile();
@@ -5798,7 +5963,7 @@ const ErrorPage = (props) => {
5798
5963
  props?.supportLink && React__namespace.default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
5799
5964
  };
5800
5965
 
5801
- var css = {"recovery-spinner":"M9-nnX","recoverySpinner":"M9-nnX","recovery-message":"_8vzTQg","recoveryMessage":"_8vzTQg","modal-blocker":"XgXrc3","modalBlocker":"XgXrc3","modalFadeIn":"_1j1hZh"};
5966
+ var css = {"recovery-spinner":"_4uFmj3","recoverySpinner":"_4uFmj3","recovery-message":"QQYg-5","recoveryMessage":"QQYg-5","modal-blocker":"_8uCqcK","modalBlocker":"_8uCqcK","modalFadeIn":"nSSJ-5"};
5802
5967
 
5803
5968
  function ErrorHandler(props) {
5804
5969
  const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
@@ -5982,6 +6147,7 @@ exports.SuccessNotification = SuccessNotification;
5982
6147
  exports.SvgCircleProgress = SvgCircleProgress;
5983
6148
  exports.Switch = Switch;
5984
6149
  exports.TabButton = TabButton;
6150
+ exports.Tabs = Tabs;
5985
6151
  exports.Tag = Tag;
5986
6152
  exports.Text = Text;
5987
6153
  exports.TextArea = TextArea;