@epam/uui 6.3.1 → 6.3.2-alpha.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.
Files changed (50) hide show
  1. package/assets/styles/clickable.scss +26 -26
  2. package/assets/styles/dnd.scss +9 -9
  3. package/assets/styles/effects.scss +6 -6
  4. package/assets/styles/helpers.scss +3 -3
  5. package/assets/styles/index.scss +6 -6
  6. package/assets/styles/inputs.scss +70 -70
  7. package/assets/styles/typography.scss +184 -184
  8. package/components/datePickers/DatePicker.d.ts.map +1 -1
  9. package/components/datePickers/DatePickerBody.d.ts +5 -0
  10. package/components/datePickers/DatePickerBody.d.ts.map +1 -1
  11. package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
  12. package/components/datePickers/RangeDatePickerBody.d.ts +1 -1
  13. package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
  14. package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
  15. package/components/datePickers/helpers.d.ts +2 -1
  16. package/components/datePickers/helpers.d.ts.map +1 -1
  17. package/components/filters/FilterPickerBody.d.ts.map +1 -1
  18. package/components/inputs/timePicker/TimePicker.d.ts.map +1 -1
  19. package/components/layout/LabeledInput.d.ts.map +1 -1
  20. package/components/navigation/Anchor.d.ts +3 -1
  21. package/components/navigation/Anchor.d.ts.map +1 -1
  22. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +3 -1
  23. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -1
  24. package/components/navigation/MainMenu/MainMenuDropdown.d.ts.map +1 -1
  25. package/components/navigation/MainMenu/MainMenuIcon.d.ts +3 -1
  26. package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
  27. package/components/pickers/DataPickerBody.d.ts +6 -1
  28. package/components/pickers/DataPickerBody.d.ts.map +1 -1
  29. package/components/pickers/DataPickerRow.d.ts.map +1 -1
  30. package/components/pickers/PickerBodyMobileView.d.ts +2 -1
  31. package/components/pickers/PickerBodyMobileView.d.ts.map +1 -1
  32. package/components/pickers/PickerInput.d.ts +2 -2
  33. package/components/pickers/PickerInput.d.ts.map +1 -1
  34. package/components/pickers/PickerModal.d.ts.map +1 -1
  35. package/components/tables/DataTableHeaderCell.d.ts +1 -1
  36. package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
  37. package/components/tables/DataTableHeaderRow.d.ts.map +1 -1
  38. package/components/widgets/DataRowAddons.d.ts +2 -0
  39. package/components/widgets/DataRowAddons.d.ts.map +1 -1
  40. package/components/widgets/Paginator.d.ts.map +1 -1
  41. package/components/widgets/Tag.d.ts.map +1 -1
  42. package/index.esm.js +309 -180
  43. package/index.esm.js.map +1 -1
  44. package/index.js +307 -178
  45. package/index.js.map +1 -1
  46. package/package.json +5 -5
  47. package/readme.md +9 -9
  48. package/stats.html +2 -2
  49. package/styles.css +1076 -1088
  50. package/styles.css.map +1 -1
package/index.js CHANGED
@@ -14,9 +14,9 @@ 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 isEqual = require('react-fast-compare');
17
18
  var overlayscrollbarsReact = require('overlayscrollbars-react');
18
19
  require('overlayscrollbars/styles/overlayscrollbars.css');
19
- var isEqual = require('react-fast-compare');
20
20
  var FocusLock = require('react-focus-lock');
21
21
 
22
22
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -191,7 +191,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
191
191
  xmlns: "http://www.w3.org/2000/svg",
192
192
  ref: ref
193
193
  }, props), /*#__PURE__*/React__namespace.createElement("g", {
194
- clipPath: "url(#hicei867eaayu7zc8_a)"
194
+ clipPath: "url(#q2djoiqxe9h8iuzzm_a)"
195
195
  }, _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
196
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",
197
197
  fill: "#F5F6FA"
@@ -212,7 +212,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
212
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",
213
213
  fill: "#1D1E26"
214
214
  })), /*#__PURE__*/React__namespace.createElement("mask", {
215
- id: "hicei8f3owhh88tl_b",
215
+ id: "q2djoi2uryu1iuu9t_b",
216
216
  style: {
217
217
  maskType: "alpha"
218
218
  },
@@ -225,7 +225,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
225
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",
226
226
  fill: "#9BDEFF"
227
227
  }))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
228
- mask: "url(#hicei8f3owhh88tl_b)",
228
+ mask: "url(#q2djoi2uryu1iuu9t_b)",
229
229
  fillRule: "evenodd",
230
230
  clipRule: "evenodd"
231
231
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -311,7 +311,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
311
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",
312
312
  fill: "#fff"
313
313
  }))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
314
- id: "hicei867eaayu7zc8_a"
314
+ id: "q2djoiqxe9h8iuzzm_a"
315
315
  }, /*#__PURE__*/React__namespace.createElement("path", {
316
316
  fill: "#fff",
317
317
  transform: "translate(.552)",
@@ -962,14 +962,14 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
962
962
  };
963
963
  var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
964
964
 
965
- var css$1w = {"root":"q81NXg","uui-spinner":"aSawZ7","uuiSpinner":"aSawZ7"};
965
+ var css$1w = {"root":"Bl9hOf","uui-spinner":"bnA3SH","uuiSpinner":"bnA3SH"};
966
966
 
967
967
  function applySpinnerMods() {
968
968
  return [css$1w.root, 'uui-spinner'];
969
969
  }
970
970
  const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
971
971
 
972
- var css$1v = {"root":"tX0Cx5","loading-word":"LpvWng","loadingWord":"LpvWng","animated-loading":"WYZ6VB","animatedLoading":"WYZ6VB","skeleton_loading":"ymDJTM","skeletonLoading":"ymDJTM"};
972
+ var css$1v = {"root":"DCq8iH","loading-word":"JQfEJn","loadingWord":"JQfEJn","animated-loading":"Ty4JJp","animatedLoading":"Ty4JJp","skeleton_loading":"XW8J42","skeletonLoading":"XW8J42"};
973
973
 
974
974
  const TextPlaceholder = (props) => {
975
975
  const pattern = ' ';
@@ -986,7 +986,7 @@ const TextPlaceholder = (props) => {
986
986
  ]), dangerouslySetInnerHTML: { __html: it } })))));
987
987
  };
988
988
 
989
- var css$1u = {"root":"_6atkB5","line-height":"OQ81vG","lineHeight":"OQ81vG","font-size":"byoVK-","fontSize":"byoVK-"};
989
+ var css$1u = {"root":"LSZ2uB","line-height":"_3b-6rS","lineHeight":"_3b-6rS","font-size":"XLRI9-","fontSize":"XLRI9-"};
990
990
 
991
991
  function applyTextMods(mods) {
992
992
  return [
@@ -1013,7 +1013,7 @@ const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, appl
1013
1013
  };
1014
1014
  });
1015
1015
 
1016
- var css$1t = {"root":"sL8FHg"};
1016
+ var css$1t = {"root":"Xnnwau"};
1017
1017
 
1018
1018
  const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$1t.root], () => ({ renderSpinner: settings.blocker.renderSpinner }));
1019
1019
 
@@ -1518,7 +1518,7 @@ const settings = {
1518
1518
  textInput: textInputSettings,
1519
1519
  };
1520
1520
 
1521
- var css$1s = {"root":"_6gOP-j"};
1521
+ var css$1s = {"root":"X4CBzV"};
1522
1522
 
1523
1523
  function applyButtonMods(mods) {
1524
1524
  return [
@@ -1536,7 +1536,7 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
1536
1536
  };
1537
1537
  });
1538
1538
 
1539
- var css$1r = {"root":"uk-SwI"};
1539
+ var css$1r = {"root":"_5JNCLJ"};
1540
1540
 
1541
1541
  function applyIconButtonMods(props) {
1542
1542
  return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1r.root];
@@ -1573,7 +1573,7 @@ function getIconClass(props) {
1573
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'];
1574
1574
  }
1575
1575
 
1576
- var css$1q = {"root":"_1lsq8k"};
1576
+ var css$1q = {"root":"yi6S3b"};
1577
1577
 
1578
1578
  const DEFAULT_COLOR = 'primary';
1579
1579
  const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
@@ -1603,7 +1603,7 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
1603
1603
  props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
1604
1604
  });
1605
1605
 
1606
- var css$1p = {"root":"_3rOezU"};
1606
+ var css$1p = {"root":"yROGWW"};
1607
1607
 
1608
1608
  const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1609
1609
  return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
@@ -1615,7 +1615,7 @@ const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1615
1615
  ]) }, props.caption));
1616
1616
  });
1617
1617
 
1618
- var css$1o = {"root":"E4aDmz","withNotify":"hBLeej"};
1618
+ var css$1o = {"root":"O3l7EN","withNotify":"TZoVKu"};
1619
1619
 
1620
1620
  const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, refExternal) => {
1621
1621
  const refLocal = React__namespace.default.useRef(null);
@@ -1662,13 +1662,13 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
1662
1662
  props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
1663
1663
  });
1664
1664
 
1665
- var css$1n = {"root":"_3fCuzD","noLeftPadding":"AXdwiA","foldingArea":"FDqszx","onlyFoldable":"_36ENZj","captionWrapper":"hQUS4-","withNotify":"x0g2Et"};
1665
+ var css$1n = {"root":"aVsRXm","noLeftPadding":"IhSrqD","foldingArea":"vh8E9m","onlyFoldable":"-b8tdK","captionWrapper":"gGAkA5","withNotify":"MdNT7l"};
1666
1666
 
1667
- var css$1m = {"root":"eICEHK"};
1667
+ var css$1m = {"root":"_7wzE7F"};
1668
1668
 
1669
1669
  const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$1m.root]);
1670
1670
 
1671
- var css$1l = {"root":"_6EKP9S"};
1671
+ var css$1l = {"root":"_2z5IFH"};
1672
1672
 
1673
1673
  const DEFAULT_FILL = 'solid';
1674
1674
  function applyBadgeMods(mods) {
@@ -1696,7 +1696,7 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
1696
1696
  props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
1697
1697
  });
1698
1698
 
1699
- var css$1k = {"root":"r4wCPX"};
1699
+ var css$1k = {"root":"jburBf"};
1700
1700
 
1701
1701
  function applyTagMods(props) {
1702
1702
  return [
@@ -1711,44 +1711,58 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
1711
1711
  const styles = [applyTagMods(props), props.cx];
1712
1712
  const ClearIcon = props.clearIcon ? props.clearIcon : settings.tag.icons.clearIcon;
1713
1713
  const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tag.icons.dropdownIcon;
1714
+ const icon = (React__namespace.default.createElement(uuiComponents.ControlIcon, { icon: props.icon, onClick: props.onIconClick, isDisabled: props.isDisabled, rawProps: {
1715
+ 'aria-label': 'Icon in input',
1716
+ } }));
1714
1717
  return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
1715
1718
  'aria-haspopup': props.isDropdown,
1716
1719
  'aria-expanded': props.isOpen,
1717
1720
  ...props.rawProps,
1718
1721
  }, cx: styles, ref: ref },
1719
- props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
1722
+ props.iconPosition !== 'right' && icon,
1720
1723
  props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
1721
1724
  props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.tag.sizes.countIndicatorMap[(props.size || settings.tag.sizes.default)], caption: props.count })),
1722
- props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
1723
- props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
1724
- props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
1725
+ props.iconPosition === 'right' && icon,
1726
+ props.isDropdown && (React__namespace.default.createElement(uuiComponents.ControlIcon, { icon: DropdownIcon, flipY: props.isOpen })),
1727
+ props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.ControlIcon, { cx: "uui-icon-cancel", icon: ClearIcon, onClick: props.onClear, rawProps: {
1728
+ 'aria-label': 'Remove tag',
1729
+ } }))));
1725
1730
  });
1726
1731
 
1727
- var css$1j = {"root":"mcySYP","page":"MOs1r0","spacer":"_5QEOm4","mode-ghost":"zODZyj","modeGhost":"zODZyj"};
1732
+ var css$1j = {"root":"_0fh9CR","page":"goMkC6","spacer":"ciNOgU","mode-ghost":"IdkVaR","modeGhost":"IdkVaR"};
1728
1733
 
1729
1734
  function Paginator(props) {
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 },
1731
- React__namespace.default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.leftArrowIcon, onClick: params.goToPrev, isDisabled: params.isFirst || props.isDisabled, fill: "outline", color: "secondary" }),
1732
- params.pages.map((page, index) => {
1733
- if (page.type === 'spacer') {
1734
- return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$1j.spacer, css$1j.page), size: props.size || settings.paginator.sizes.default, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled }));
1735
- }
1736
- else {
1737
- return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$1j[`mode-${!page.isActive && 'ghost'}`], css$1j.page), size: props.size || settings.paginator.sizes.default, key: page.pageNumber, caption: page.pageNumber, onClick: () => page.onClick?.(), rawProps: { 'aria-current': page.isActive }, fill: (page.isActive && 'outline') || 'ghost', color: "primary", isDisabled: props.isDisabled }));
1738
- }
1739
- }),
1740
- React__namespace.default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.rightArrowIcon, onClick: params.goToNext, isDisabled: params.isLast || props.isDisabled, fill: "outline", color: "secondary" })));
1735
+ const renderPaginator = (params) => (React__namespace.default.createElement("nav", { role: "navigation", className: cx__default.default('uui-paginator', `uui-size-${props.size || settings.paginator.sizes.default}`), ...params.rawProps },
1736
+ React__namespace.default.createElement("ul", { className: css$1j.root },
1737
+ React__namespace.default.createElement("li", null,
1738
+ React__namespace.default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.leftArrowIcon, onClick: params.goToPrev, isDisabled: params.isFirst || props.isDisabled, fill: "outline", color: "secondary", rawProps: {
1739
+ 'aria-label': 'Previous page',
1740
+ } })),
1741
+ params.pages.map((page, index) => {
1742
+ if (page.type === 'spacer') {
1743
+ return (React__namespace.default.createElement("li", { key: `${index}_spacer` },
1744
+ React__namespace.default.createElement(Button, { cx: cx__default.default(css$1j.spacer, css$1j.page), size: props.size || settings.paginator.sizes.default, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled })));
1745
+ }
1746
+ else {
1747
+ return (React__namespace.default.createElement("li", { key: page.pageNumber },
1748
+ React__namespace.default.createElement(Button, { cx: cx__default.default(css$1j[`mode-${!page.isActive && 'ghost'}`], css$1j.page), size: props.size || settings.paginator.sizes.default, caption: page.pageNumber, onClick: () => page.onClick?.(), rawProps: { 'aria-current': page.isActive }, fill: (page.isActive && 'outline') || 'ghost', color: "primary", isDisabled: props.isDisabled })));
1749
+ }
1750
+ }),
1751
+ React__namespace.default.createElement("li", null,
1752
+ React__namespace.default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.rightArrowIcon, onClick: params.goToNext, isDisabled: params.isLast || props.isDisabled, fill: "outline", color: "secondary", rawProps: {
1753
+ 'aria-label': 'Next page',
1754
+ } })))));
1741
1755
  return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
1742
1756
  }
1743
1757
 
1744
- var css$1i = {"root":"s3plZG","progress-bar":"vjJRo2","progressBar":"vjJRo2","progressBar-indeterminate":"WkHkwo","progressBarIndeterminate":"WkHkwo","size-12":"ZklAd2","size12":"ZklAd2","size-18":"H0w7Td","size18":"H0w7Td","size-24":"yudSfL","size24":"yudSfL"};
1758
+ var css$1i = {"root":"_6d6OGB","progress-bar":"jxhtGj","progressBar":"jxhtGj","progressBar-indeterminate":"UAUdqY","progressBarIndeterminate":"UAUdqY","size-12":"_3QoY-t","size12":"_3QoY-t","size-18":"PQU-uw","size18":"PQU-uw","size-24":"YvfI-u","size24":"YvfI-u"};
1745
1759
 
1746
1760
  const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
1747
1761
  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}`]) },
1748
1762
  React__namespace.createElement("div", { className: cx__default.default(css$1i.progressBar) })));
1749
1763
  });
1750
1764
 
1751
- var css$1h = {"root":"o4oDVE","striped":"_-4ThKH","animate-stripes":"Xf3EGd","animateStripes":"Xf3EGd","size-12":"_93guqG","size12":"_93guqG","size-18":"uI-ij-","size18":"uI-ij-","size-24":"aNbA-L","size24":"aNbA-L"};
1765
+ var css$1h = {"root":"jH4RT2","striped":"-lnGLM","animate-stripes":"x3NzSR","animateStripes":"x3NzSR","size-12":"_2kl6qt","size12":"_2kl6qt","size-18":"Vplio2","size18":"Vplio2","size-24":"ej5LE0","size24":"ej5LE0"};
1752
1766
 
1753
1767
  const DEFAULT_SIZE = '12';
1754
1768
  function applyProgressBarMods(mods) {
@@ -1763,14 +1777,14 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
1763
1777
  hideLabel: props.hideLabel || props.striped,
1764
1778
  }));
1765
1779
 
1766
- var css$1g = {"root":"Eo7a2N"};
1780
+ var css$1g = {"root":"UkG-f-"};
1767
1781
 
1768
1782
  const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
1769
1783
  const { progress } = props;
1770
1784
  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) }));
1771
1785
  });
1772
1786
 
1773
- var css$1f = {"root":"_1DokyX"};
1787
+ var css$1f = {"root":"p4TRSc"};
1774
1788
 
1775
1789
  const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1776
1790
  return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
@@ -1785,7 +1799,7 @@ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1785
1799
  React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
1786
1800
  });
1787
1801
 
1788
- var css$1e = {"root":"aAyymM"};
1802
+ var css$1e = {"root":"i-SrE5"};
1789
1803
 
1790
1804
  function applyCheckboxMods(mods) {
1791
1805
  return [
@@ -1803,7 +1817,7 @@ const applyUUICheckboxProps = (props) => {
1803
1817
  };
1804
1818
  const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
1805
1819
 
1806
- var css$1d = {"root":"-DKtr0"};
1820
+ var css$1d = {"root":"_8z3otr"};
1807
1821
 
1808
1822
  function applyRadioInputMods(mods) {
1809
1823
  return [
@@ -1815,7 +1829,7 @@ function applyRadioInputMods(mods) {
1815
1829
  }
1816
1830
  const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
1817
1831
 
1818
- var css$1c = {"root":"BCYGx0"};
1832
+ var css$1c = {"root":"-GLwX5"};
1819
1833
 
1820
1834
  function applySwitchMods(mods) {
1821
1835
  return [
@@ -1839,7 +1853,7 @@ var EditMode;
1839
1853
  EditMode["INLINE"] = "inline";
1840
1854
  })(EditMode || (EditMode = {}));
1841
1855
 
1842
- var textInputCss = {"root":"_9M-jBw"};
1856
+ var textInputCss = {"root":"qM-1eO"};
1843
1857
 
1844
1858
  const DEFAULT_MODE$3 = EditMode.FORM;
1845
1859
  function applyTextInputMods(mods) {
@@ -1864,7 +1878,7 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
1864
1878
  } }));
1865
1879
  });
1866
1880
 
1867
- var css$1b = {"root":"BRliMG"};
1881
+ var css$1b = {"root":"AXiiQ6"};
1868
1882
 
1869
1883
  const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1b.root, 'uui-control-group']);
1870
1884
 
@@ -1880,7 +1894,7 @@ function MultiSwitchComponent(props, ref) {
1880
1894
  }
1881
1895
  const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
1882
1896
 
1883
- var css$1a = {"root":"MmanhM"};
1897
+ var css$1a = {"root":"qCGNj4"};
1884
1898
 
1885
1899
  const DEFAULT_MODE$2 = EditMode.FORM;
1886
1900
  function applyNumericInputMods(mods) {
@@ -1900,7 +1914,7 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
1900
1914
  };
1901
1915
  });
1902
1916
 
1903
- var css$19 = {"root":"_4vjOWZ"};
1917
+ var css$19 = {"root":"KDENUR"};
1904
1918
 
1905
1919
  const DEFAULT_MODE$1 = EditMode.FORM;
1906
1920
  function applyTextAreaMods(mods) {
@@ -1941,7 +1955,7 @@ function TREE_SHAKEABLE_INIT$1() {
1941
1955
  };
1942
1956
  }
1943
1957
 
1944
- var css$18 = {"root":"I9-1iQ"};
1958
+ var css$18 = {"root":"XUiEbr"};
1945
1959
 
1946
1960
  function applyDropdownContainerMods(mods) {
1947
1961
  return [
@@ -1952,7 +1966,7 @@ function applyDropdownContainerMods(mods) {
1952
1966
  }
1953
1967
  const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
1954
1968
 
1955
- var css$17 = {"root":"ZOJ0YA","timepicker-input":"e-YUzP","timepickerInput":"e-YUzP","ltr-always":"_1Ox0Mq","ltrAlways":"_1Ox0Mq"};
1969
+ var css$17 = {"root":"T5Ik6C","timepicker-input":"gZdkaQ","timepickerInput":"gZdkaQ","ltr-always":"lmgoJn","ltrAlways":"lmgoJn"};
1956
1970
 
1957
1971
  const uuiTimePicker = {
1958
1972
  container: 'uui-timepicker-container',
@@ -2070,6 +2084,7 @@ function TimePickerComponent(props, ref) {
2070
2084
  value: valueToTimeString(props.value, props.format),
2071
2085
  inputValue: valueToTimeString(props.value, props.format),
2072
2086
  });
2087
+ const targetRef = React__namespace.default.useRef(null);
2073
2088
  React.useEffect(() => {
2074
2089
  if (valueToTimeString(props.value, props.format) !== state.value) {
2075
2090
  const stringValue = valueToTimeString(props.value, props.format);
@@ -2097,7 +2112,10 @@ function TimePickerComponent(props, ref) {
2097
2112
  };
2098
2113
  const saveTime = (newTime) => {
2099
2114
  setState((prevState) => ({ ...prevState, inputValue: newTime }));
2100
- props.onValueChange(formatStringTimeToObject(newTime));
2115
+ const newValue = formatStringTimeToObject(newTime);
2116
+ if (!isEqual__default.default(props.value, newValue)) {
2117
+ props.onValueChange(formatStringTimeToObject(newTime));
2118
+ }
2101
2119
  };
2102
2120
  const getTimeFromInputValue = (newValue) => {
2103
2121
  const trimmedNewValue = newValue.trimStart();
@@ -2111,7 +2129,6 @@ function TimePickerComponent(props, ref) {
2111
2129
  saveTime(inputValue);
2112
2130
  };
2113
2131
  const handleFocus = (e) => {
2114
- onToggle(true);
2115
2132
  props.onFocus?.(e);
2116
2133
  };
2117
2134
  const handleInputChange = (newValue) => {
@@ -2124,9 +2141,6 @@ function TimePickerComponent(props, ref) {
2124
2141
  }
2125
2142
  };
2126
2143
  const handleBlur = (e) => {
2127
- if (uuiCore.isFocusReceiverInsideFocusLock(e))
2128
- return;
2129
- onToggle(false);
2130
2144
  props.onBlur?.(e);
2131
2145
  if (state.value === '' || state.inputValue === '') {
2132
2146
  props.onValueChange(null);
@@ -2134,19 +2148,37 @@ function TimePickerComponent(props, ref) {
2134
2148
  }
2135
2149
  state.value && state.inputValue && saveTime(state.value);
2136
2150
  };
2151
+ const onKeyDown = (e) => {
2152
+ if (e.key === 'Enter') {
2153
+ onToggle(true);
2154
+ }
2155
+ if (e.key === 'Escape' && state.isOpen) {
2156
+ e.preventDefault();
2157
+ e.stopPropagation();
2158
+ onToggle(false);
2159
+ }
2160
+ };
2137
2161
  const renderInput = (inputProps) => {
2138
- return (React__namespace.default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size, isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$17.root, css$17.timepickerInput, props.inputCx], value: state.inputValue, onValueChange: handleInputChange, onCancel: !props.disableClear && onClear, onFocus: handleFocus, onBlur: handleBlur, isDropdown: false, placeholder: props.placeholder ? props.placeholder : getFormat(), mode: props.mode || DEFAULT_MODE, rawProps: props.rawProps?.input }));
2162
+ return (React__namespace.default.createElement(TextInput, { ...inputProps, size: props.size, isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$17.root, css$17.timepickerInput, props.inputCx], value: state.inputValue, onValueChange: handleInputChange, onCancel: !props.disableClear && onClear, onKeyDown: onKeyDown, onFocus: handleFocus, onBlur: handleBlur, isDropdown: false, placeholder: props.placeholder ? props.placeholder : getFormat(), mode: props.mode || DEFAULT_MODE, rawProps: props.rawProps?.input, ref: (node) => {
2163
+ targetRef.current = node;
2164
+ if (typeof inputProps.ref === 'function') {
2165
+ inputProps.ref(node);
2166
+ }
2167
+ else if (inputProps.ref && 'current' in inputProps.ref) {
2168
+ inputProps.ref.current = node;
2169
+ }
2170
+ } }));
2139
2171
  };
2140
2172
  const renderBody = (bodyProps) => {
2141
2173
  const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
2142
- return (!props.isDisabled && !props.isReadonly && (React__namespace.default.createElement(DropdownContainer, { ...bodyProps, focusLock: false },
2174
+ return (!props.isDisabled && !props.isReadonly && (React__namespace.default.createElement(DropdownContainer, { ...bodyProps, shards: [targetRef] },
2143
2175
  React__namespace.default.createElement(TimePickerBody, { ...timePickerBodyProps, onValueChange: handleBodyValueChange, value: formatStringTimeToObject(state.value), rawProps: props.rawProps?.body, cx: props.bodyCx }))));
2144
2176
  };
2145
2177
  return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: (targetProps) => (props.renderTarget ? props.renderTarget(targetProps) : renderInput(targetProps)), renderBody: (bodyProps) => !props.isDisabled && !props.isReadonly && renderBody(bodyProps), onValueChange: !props.isDisabled && !props.isReadonly ? onToggle : null, value: state.isOpen, middleware: [react.offset(6)], ref: ref }));
2146
2178
  }
2147
2179
  const TimePicker = /* @__PURE__ */React__namespace.default.forwardRef(TimePickerComponent);
2148
2180
 
2149
- var css$16 = {"root":"IoU-Ru"};
2181
+ var css$16 = {"root":"xYLQQo"};
2150
2182
 
2151
2183
  function applyInputAddonMods() {
2152
2184
  return [
@@ -2155,14 +2187,14 @@ function applyInputAddonMods() {
2155
2187
  }
2156
2188
  const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
2157
2189
 
2158
- var css$15 = {"root":"-AAfN7"};
2190
+ var css$15 = {"root":"EjLeYa"};
2159
2191
 
2160
2192
  function applySliderMods() {
2161
2193
  return [css$15.root, 'uui-color-neutral'];
2162
2194
  }
2163
2195
  const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
2164
2196
 
2165
- var css$14 = {"root":"vuRe-y"};
2197
+ var css$14 = {"root":"_8pGKsh"};
2166
2198
 
2167
2199
  function applyTooltipMods(mods) {
2168
2200
  return [
@@ -2172,7 +2204,7 @@ function applyTooltipMods(mods) {
2172
2204
  }
2173
2205
  const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
2174
2206
 
2175
- var css$13 = {"root":"_3YNKaf","tooltip":"B2RbXC"};
2207
+ var css$13 = {"root":"vyiVij","tooltip":"dLB1JM"};
2176
2208
 
2177
2209
  function applyRatingMods(mods) {
2178
2210
  return [
@@ -2186,7 +2218,7 @@ const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating,
2186
2218
  Tooltip,
2187
2219
  }));
2188
2220
 
2189
- var css$12 = {"drag-handle-wrapper":"p47bqp","dragHandleWrapper":"p47bqp","with-indent":"ifaQSF","withIndent":"ifaQSF","drag-handle":"JV6flR","dragHandle":"JV6flR","icon-container":"VpLXPg","iconContainer":"VpLXPg"};
2221
+ var css$12 = {"drag-handle-wrapper":"Jt1tzZ","dragHandleWrapper":"Jt1tzZ","with-indent":"ijgM1M","withIndent":"ijgM1M","drag-handle":"iCAOm6","dragHandle":"iCAOm6","icon-container":"xmdvRx","iconContainer":"xmdvRx"};
2190
2222
 
2191
2223
  function DataRowAddons(props) {
2192
2224
  const row = props.rowProps;
@@ -2203,15 +2235,20 @@ function DataRowAddons(props) {
2203
2235
  return (React__namespace.default.createElement("div", { key: "dh", className: cx__default.default(css$12.dragHandleWrapper, row.indent > 0 && css$12.withIndent), style: { width: row.indent > 0 ? (getIndent() + getWidth()) : 0 }, ...props.eventHandlers },
2204
2236
  React__namespace.default.createElement(uuiComponents.DragHandle, { cx: css$12.dragHandle })));
2205
2237
  };
2238
+ const handleFold = (e) => {
2239
+ if (props.isFoldingFocusable && e.key === 'Enter') {
2240
+ row.onFold(row);
2241
+ }
2242
+ };
2206
2243
  return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
2207
2244
  row.dnd?.srcData && renderDragHandle(),
2208
2245
  row?.checkbox?.isVisible && (React__namespace.default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.dataTable.sizes.body.checkboxMap[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => row.onCheck?.(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
2209
- row.indent > 0 && (React__namespace.default.createElement("div", { key: "fold", className: cx__default.default('uui-dr_addons-indent', `uui-size-${props.size || settings.dataTable.sizes.body.row}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__namespace.default.createElement(uuiComponents.IconContainer, { rawProps: {
2246
+ row.indent > 0 && (React__namespace.default.createElement("div", { key: "fold", className: cx__default.default('uui-dr_addons-indent', `uui-size-${props.size || settings.dataTable.sizes.body.row}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__namespace.default.createElement(uuiComponents.ControlIcon, { rawProps: {
2210
2247
  'aria-label': row.isFolded ? 'Unfold' : 'Fold',
2211
2248
  role: 'button',
2212
2249
  }, key: "icon", icon: settings.dataTable.icons.body.foldingIcon, cx: [
2213
2250
  uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$12.iconContainer,
2214
- ], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] }))))));
2251
+ ], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), onKeyDown: handleFold, size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row], tabIndex: props.isFoldingFocusable ? 0 : undefined }))))));
2215
2252
  }
2216
2253
 
2217
2254
  function VerticalTabButtonComponent(props, ref) {
@@ -2263,7 +2300,7 @@ function VerticalTabButtonComponent(props, ref) {
2263
2300
  }
2264
2301
  const VerticalTabButton = /* @__PURE__ */React__namespace.default.forwardRef(VerticalTabButtonComponent);
2265
2302
 
2266
- var css$11 = {"root":"qQbFvx","main-path":"kYDASw","mainPath":"kYDASw","content-wrapper":"d8lhmY","contentWrapper":"d8lhmY","content":"fo8ze2","action-wrapper":"U2aFgx","actionWrapper":"U2aFgx","icon-wrapper":"kIJK-A","iconWrapper":"kIJK-A","icon":"JApauQ","close-icon":"aA-jXD","closeIcon":"aA-jXD"};
2303
+ var css$11 = {"root":"XhC-dI","main-path":"gSGai1","mainPath":"gSGai1","content-wrapper":"p-VzwJ","contentWrapper":"p-VzwJ","content":"FJrj4b","action-wrapper":"NrqhOD","actionWrapper":"NrqhOD","icon-wrapper":"exM3RM","iconWrapper":"exM3RM","icon":"GiA1lc","close-icon":"Yv9d-K","closeIcon":"Yv9d-K"};
2267
2304
 
2268
2305
  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 },
2269
2306
  React__namespace.createElement("div", { className: css$11.mainPath },
@@ -2281,7 +2318,7 @@ const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => Re
2281
2318
 
2282
2319
  const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
2283
2320
 
2284
- var css$10 = {"submenu-root-item-rtl":"hR-QP9","submenuRootItemRtl":"hR-QP9","icon-after":"OQaI7N","iconAfter":"OQaI7N","submenu-root-item":"ARhjyS","submenuRootItem":"ARhjyS","icon-check":"MzRMYQ","iconCheck":"MzRMYQ","splitter-root":"tv1Dl5","splitterRoot":"tv1Dl5","splitter":"nCvWnG","header-root":"-wnjXT","headerRoot":"-wnjXT","item-root":"_7ohDM9","itemRoot":"_7ohDM9","icon":"OKtLUS","link":"_9cX1Ag","indent":"_3AiFA8","selected-mark":"QC7HMp","selectedMark":"QC7HMp"};
2321
+ var css$10 = {"submenu-root-item-rtl":"l5uxvV","submenuRootItemRtl":"l5uxvV","icon-after":"iOFLSJ","iconAfter":"iOFLSJ","submenu-root-item":"_207xrH","submenuRootItem":"_207xrH","icon-check":"ajtGcR","iconCheck":"ajtGcR","splitter-root":"g2IhYU","splitterRoot":"g2IhYU","splitter":"fHxQpU","header-root":"Pio5lB","headerRoot":"Pio5lB","item-root":"ZaYGBq","itemRoot":"ZaYGBq","icon":"nc3Fia","link":"QeyOEQ","indent":"_6T2R8z","selected-mark":"AfAZUI","selectedMark":"AfAZUI"};
2285
2322
 
2286
2323
  exports.IDropdownControlKeys = void 0;
2287
2324
  (function (IDropdownControlKeys) {
@@ -2415,7 +2452,7 @@ function DropdownMenuSwitchButton(props) {
2415
2452
  React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
2416
2453
  }
2417
2454
 
2418
- var css$$ = {"root":"_6PQbDB","mode-block":"L2ukY9","modeBlock":"L2ukY9","mode-inline":"ECkuJa","modeInline":"ECkuJa","padding-0":"oOHXKp","padding0":"oOHXKp","padding-6":"SDIJ-V","padding6":"SDIJ-V","padding-12":"_94Ys8b","padding12":"_94Ys8b","padding-18":"Cy-Yzt","padding18":"Cy-Yzt"};
2455
+ var css$$ = {"root":"lQspfr","mode-block":"FOkdF5","modeBlock":"FOkdF5","mode-inline":"-UaZXh","modeInline":"-UaZXh","padding-0":"_8uVTti","padding0":"_8uVTti","padding-6":"_8Fd3jq","padding6":"_8Fd3jq","padding-12":"tWHePG","padding12":"tWHePG","padding-18":"WIUjNh","padding18":"WIUjNh"};
2419
2456
 
2420
2457
  function applyAccordionMods(mods) {
2421
2458
  return [
@@ -2428,7 +2465,7 @@ const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accor
2428
2465
  dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
2429
2466
  }));
2430
2467
 
2431
- var css$_ = {"root":"ap-2nK","align-items":"DnOVnb","alignItems":"DnOVnb","justify-content":"_1aKt9k","justifyContent":"_1aKt9k","border-top":"jsseLL","borderTop":"jsseLL","border-bottom":"EV6ZjA","borderBottom":"EV6ZjA","top-shadow":"fMeNAt","topShadow":"fMeNAt","padding":"sFr-Fr","margin":"_4rReVQ","vPadding":"ZojVsY","column-gap":"gdKbpH","columnGap":"gdKbpH","row-gap":"Ca-VtG","rowGap":"Ca-VtG","spacing":"KRvhXW"};
2468
+ var css$_ = {"root":"QaQft7","align-items":"_8b411O","alignItems":"_8b411O","justify-content":"z-nV-f","justifyContent":"z-nV-f","border-top":"OSboNp","borderTop":"OSboNp","border-bottom":"AWKEwz","borderBottom":"AWKEwz","top-shadow":"_4d-shM","topShadow":"_4d-shM","padding":"_2mVXDL","margin":"VXQ2qL","vPadding":"VCgRlA","column-gap":"wgbMW2","columnGap":"wgbMW2","row-gap":"WCUpVM","rowGap":"WCUpVM","spacing":"mYRdIZ"};
2432
2469
 
2433
2470
  const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$_.flexCell]);
2434
2471
 
@@ -2480,7 +2517,7 @@ const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
2480
2517
  } }, props.children));
2481
2518
  });
2482
2519
 
2483
- var css$Z = {"root":"s9u8hG","margin-24":"VubwqG","margin24":"VubwqG","padding-12":"yECNX-","padding12":"yECNX-","padding-24":"pzzeE5","padding24":"pzzeE5","shadow":"RpEITe","uui-surface-main":"vdXtnk","uuiSurfaceMain":"vdXtnk"};
2520
+ var css$Z = {"root":"ryvTqu","margin-24":"ZkrnGM","margin24":"ZkrnGM","padding-12":"iGI7pt","padding12":"iGI7pt","padding-24":"_8irR8v","padding24":"_8irR8v","shadow":"qvLIdV","uui-surface-main":"_9GB8h3","uuiSurfaceMain":"_9GB8h3"};
2484
2521
 
2485
2522
  const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
2486
2523
  'uui-panel',
@@ -2490,7 +2527,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
2490
2527
  props.background && css$Z[`uui-${props.background}`],
2491
2528
  ]);
2492
2529
 
2493
- var css$Y = {"root":"_4xKIXG"};
2530
+ var css$Y = {"root":"KXIV2k"};
2494
2531
 
2495
2532
  function applyLabeledInputMods(mods) {
2496
2533
  return [
@@ -2499,15 +2536,20 @@ function applyLabeledInputMods(mods) {
2499
2536
  'uui-size-' + (mods.size || settings.labeledInput.sizes.default),
2500
2537
  ];
2501
2538
  }
2539
+ function getInfoIconForSize(size) {
2540
+ return size <= '30'
2541
+ ? settings.labeledInput.icons.fillInfoIcon
2542
+ : settings.labeledInput.icons.infoIcon;
2543
+ }
2502
2544
  function applyLabeledInputProps(props) {
2503
- return ({
2545
+ return {
2504
2546
  Tooltip: props.Tooltip || Tooltip,
2505
- infoIcon: props.infoIcon || props.size <= '30' ? settings.labeledInput.icons.fillInfoIcon : settings.labeledInput.icons.infoIcon,
2506
- });
2547
+ infoIcon: props.infoIcon || getInfoIconForSize(props.size),
2548
+ };
2507
2549
  }
2508
2550
  const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
2509
2551
 
2510
- var css$X = {"root":"XV08r0"};
2552
+ var css$X = {"root":"fFibdG"};
2511
2553
 
2512
2554
  function RadioGroup(props) {
2513
2555
  const direction = props.direction || 'vertical';
@@ -2522,7 +2564,7 @@ function RadioGroup(props) {
2522
2564
  })));
2523
2565
  }
2524
2566
 
2525
- var css$W = {"root":"LJvO0J","viewport":"WS08dq"};
2567
+ var css$W = {"root":"t-6UmP","viewport":"gfk2Q7"};
2526
2568
 
2527
2569
  var uuiScrollbars;
2528
2570
  (function (uuiScrollbars) {
@@ -2592,7 +2634,7 @@ const ScrollBars = /* @__PURE__ */React.forwardRef((props, ref) => {
2592
2634
  });
2593
2635
  ScrollBars.displayName = 'ScrollBars';
2594
2636
 
2595
- var css$V = {"scroll-container":"trLwuQ","scrollContainer":"trLwuQ","list-container":"_8fY7le","listContainer":"_8fY7le"};
2637
+ var css$V = {"scroll-container":"aE5ea4","scrollContainer":"aE5ea4","list-container":"I3cAUF","listContainer":"I3cAUF"};
2596
2638
 
2597
2639
  const VirtualList = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
2598
2640
  const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = uuiCore.useVirtualList({
@@ -2645,7 +2687,7 @@ function Tree(props) {
2645
2687
  return (React__namespace.createElement(VirtualList, { value: value, onValueChange: onValueChange, rowsCount: rowsCount, rows: renderedRows, cx: uuiCore.cx(propsCx), role: "tree" }));
2646
2688
  }
2647
2689
 
2648
- var css$U = {"root":"k86vxv"};
2690
+ var css$U = {"root":"_0AGVh9"};
2649
2691
 
2650
2692
  function CheckboxGroup(props) {
2651
2693
  const currentValue = props.value || [];
@@ -2747,7 +2789,7 @@ const Tabs = /* @__PURE__ */React.forwardRef((props, ref) => {
2747
2789
  });
2748
2790
  Tabs.displayName = 'Tabs';
2749
2791
 
2750
- var css$T = {"root":"R1qIKu","modal-blocker":"oYAxKl","modalBlocker":"oYAxKl","animateModalBlocker":"gCC3Vp","modal":"NChdlF","modal-footer":"gQVrMC","modalFooter":"gQVrMC","border-top":"gtsH59","borderTop":"gtsH59","modal-header":"_09A5AL","modalHeader":"_09A5AL","border-bottom":"n7jjVR","borderBottom":"n7jjVR"};
2792
+ var css$T = {"root":"_9aKN6y","modal-blocker":"_1g5qc6","modalBlocker":"_1g5qc6","animateModalBlocker":"HemH-J","modal":"RnEPYd","modal-footer":"jc44aV","modalFooter":"jc44aV","border-top":"QteKIZ","borderTop":"QteKIZ","modal-header":"KwUVu4","modalHeader":"KwUVu4","border-bottom":"nqe48n","borderBottom":"nqe48n"};
2751
2793
 
2752
2794
  const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$T.modalBlocker]);
2753
2795
  const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$T.root, css$T.modal], (props) => {
@@ -2939,7 +2981,7 @@ const TREE_SHAKEABLE_INIT = () => ({
2939
2981
  });
2940
2982
  const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
2941
2983
 
2942
- var css$S = {"root":"tFqyuu","icon-wrapper":"oUQriM","iconWrapper":"oUQriM","action-wrapper":"ueSQ8c","actionWrapper":"ueSQ8c","close-icon":"_6eNkLg","closeIcon":"_6eNkLg","main-path":"mw30oe","mainPath":"mw30oe","content":"KxMprA","close-wrapper":"xLTRzz","closeWrapper":"xLTRzz","clear-notifications":"-igb8x","clearNotifications":"-igb8x"};
2984
+ var css$S = {"root":"mxel03","icon-wrapper":"zia8AV","iconWrapper":"zia8AV","action-wrapper":"VKLdu7","actionWrapper":"VKLdu7","close-icon":"HFf0sB","closeIcon":"HFf0sB","main-path":"qpQM5x","mainPath":"qpQM5x","content":"-ffdfy","close-wrapper":"mqOVx4","closeWrapper":"mqOVx4","clear-notifications":"p2JiXm","clearNotifications":"p2JiXm"};
2943
2985
 
2944
2986
  const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
2945
2987
  const notificationCardNode = React__namespace.default.useRef(null);
@@ -2972,7 +3014,7 @@ function ClearNotification() {
2972
3014
  React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
2973
3015
  }
2974
3016
 
2975
- var css$R = {"footer":"sTPayW"};
3017
+ var css$R = {"footer":"QkiE0u"};
2976
3018
 
2977
3019
  class ConfirmationModal extends React__namespace.Component {
2978
3020
  render() {
@@ -3014,7 +3056,7 @@ function useReliableForceUpdate() {
3014
3056
  return red[1];
3015
3057
  }
3016
3058
 
3017
- var css$Q = {"root":"NqfEPK","container":"qlxhN-"};
3059
+ var css$Q = {"root":"yPK2Ad","container":"I4z498"};
3018
3060
 
3019
3061
  const defaultFormat = 'MMM D, YYYY';
3020
3062
  const valueFormat = 'YYYY-MM-DD';
@@ -3033,7 +3075,16 @@ const defaultRangeValue = {
3033
3075
  from: null,
3034
3076
  to: null,
3035
3077
  };
3036
- const getDisplayedMonth = (selectedDate, focus) => {
3078
+ const getDisplayedMonth = (selectedDate, focus, initialViewMonth) => {
3079
+ if (selectedDate.from || selectedDate.to) {
3080
+ return getDisplayedMonthBySelection(selectedDate, focus);
3081
+ }
3082
+ else if (initialViewMonth) {
3083
+ return getNewMonth(`${initialViewMonth}-01`);
3084
+ }
3085
+ return uuiDayjs.dayjs();
3086
+ };
3087
+ const getDisplayedMonthBySelection = (selectedDate, focus) => {
3037
3088
  if (selectedDate.from && selectedDate.to && focus) {
3038
3089
  return uuiDayjs.dayjs(selectedDate[focus]);
3039
3090
  }
@@ -3232,26 +3283,27 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
3232
3283
  React__namespace.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
3233
3284
  }
3234
3285
 
3235
- var css$P = {"root":"e9n0iE"};
3286
+ var css$P = {"root":"_50QShK"};
3236
3287
 
3237
3288
  function applyDateSelectionMods() {
3238
3289
  return [css$P.root, `uui-size-${settings.datePicker.sizes.body}`];
3239
3290
  }
3240
3291
  const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
3241
3292
 
3242
- var css$O = {"root":"RtXxRP"};
3293
+ var css$O = {"root":"hVXtQn"};
3243
3294
 
3244
3295
  const uuiDatePickerBody = {
3245
3296
  wrapper: 'uui-datepicker-body-wrapper',
3246
3297
  };
3247
3298
  const DatePickerBody = /* @__PURE__ */React.forwardRef(DatePickerBodyComp);
3248
3299
  function DatePickerBodyComp(props, ref) {
3249
- const { value, onValueChange } = props;
3250
- const [month, setMonth] = React.useState(getNewMonth(value));
3300
+ const { value, onValueChange, initialViewMonth } = props;
3301
+ const initialViewDate = value || (initialViewMonth ? `${initialViewMonth}-01` : '');
3302
+ const [month, setMonth] = React.useState(getNewMonth(initialViewDate));
3251
3303
  const [view, setView] = React.useState('DAY_SELECTION');
3252
3304
  // sync updated props with internal state
3253
3305
  React.useEffect(() => {
3254
- setMonth(getNewMonth(value));
3306
+ setMonth(getNewMonth(initialViewDate));
3255
3307
  setView('DAY_SELECTION');
3256
3308
  }, [value, setMonth]);
3257
3309
  return (React__namespace.default.createElement(StatelessDatePickerBody, { ref: ref, ...props, month: month, view: view, onValueChange: onValueChange, onMonthChange: (m) => setMonth(m), onViewChange: (v) => setView(v) }));
@@ -3349,7 +3401,7 @@ function DatePickerComponent(props, ref) {
3349
3401
  };
3350
3402
  const renderBody = React.useMemo(() => (renderProps) => {
3351
3403
  return (React__namespace.default.createElement(DropdownContainer, { ...renderProps },
3352
- React__namespace.default.createElement(DatePickerBody, { value: value, onValueChange: onBodyValueChange, cx: uuiCore.cx(props.bodyCx), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay, rawProps: props.rawProps?.body }),
3404
+ React__namespace.default.createElement(DatePickerBody, { value: value, onValueChange: onBodyValueChange, cx: uuiCore.cx(props.bodyCx), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay, rawProps: props.rawProps?.body, initialViewMonth: props.initialViewMonth }),
3353
3405
  props.renderFooter?.()));
3354
3406
  }, [value, onBodyValueChange]);
3355
3407
  return (React__namespace.default.createElement(uuiComponents.Dropdown, { value: isBodyOpen, middleware: [react.offset(6)], placement: props.placement, ref: ref, onValueChange: (v) => {
@@ -3360,7 +3412,7 @@ function DatePickerComponent(props, ref) {
3360
3412
  }
3361
3413
  const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
3362
3414
 
3363
- var css$N = {"date-input":"Qmi952","dateInput":"Qmi952","root":"c8Uueg","separator":"wOOKpz"};
3415
+ var css$N = {"date-input":"OIJFeD","dateInput":"OIJFeD","root":"Op2H4m","separator":"DEcGdd"};
3364
3416
 
3365
3417
  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) => {
3366
3418
  const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
@@ -3422,16 +3474,18 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
3422
3474
  };
3423
3475
  onValueChange(newValue);
3424
3476
  };
3425
- const clearAllowed = !disableClear && !(preventEmptyFromDate && preventEmptyToDate) && inputValue.from && inputValue.to;
3477
+ const clearAllowed = !disableClear && !isReadonly && !isDisabled
3478
+ && !(preventEmptyFromDate && preventEmptyToDate)
3479
+ && ((value.from && !preventEmptyFromDate) || (value.to && !preventEmptyToDate));
3426
3480
  return (
3427
3481
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
3428
3482
  React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, 'uui-range-date-picker', classes, css$N.root, isDisabled && uuiCore.uuiMod.disabled, isReadonly && uuiCore.uuiMod.readonly, isInvalid && uuiCore.uuiMod.invalid, inFocus && uuiCore.uuiMod.focus), onKeyDown: onKeyDown },
3429
3483
  React__namespace.default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: uuiCore.cx(css$N.dateInput, inFocus === 'from' && uuiCore.uuiMod.focus), size: size || settings.rangeDatePicker.sizes.default, placeholder: getPlaceholder ? getPlaceholder('from') : i18n.rangeDatePicker.pickerPlaceholderFrom, value: inputValue.from || undefined, onValueChange: (v) => onInputChange(v || '', 'from'), onFocus: (event) => handleFocus(event, 'from'), onBlur: (event) => handleBlur(event, 'from'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps?.from, onClick: onClick, onKeyDown: onInputKeyDown, id: id }),
3430
3484
  React__namespace.default.createElement("div", { className: css$N.separator }),
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 })));
3485
+ 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, icon: clearAllowed && ForwardRef$Q, iconPosition: "right", iconLabel: "Clear selected date range", onIconClick: onClear, 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 })));
3432
3486
  });
3433
3487
 
3434
- var css$M = {"root":"uIPHQO"};
3488
+ var css$M = {"root":"J7Mfcq"};
3435
3489
 
3436
3490
  const uuiPresets = {
3437
3491
  container: 'uui-presets-container',
@@ -3451,7 +3505,7 @@ function CalendarPresets(props) {
3451
3505
  getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
3452
3506
  }
3453
3507
 
3454
- var css$L = {"root":"oAaYcl","container":"mktP22","day-selection":"vlDlCk","daySelection":"vlDlCk","from-picker":"TkrR7k","fromPicker":"TkrR7k","to-picker":"m7Wf5o","toPicker":"m7Wf5o","bodes-wrapper":"j7PcOy","bodesWrapper":"j7PcOy","blocker":"RD1Woy"};
3508
+ var css$L = {"root":"vt9wZ3","container":"kbNPzB","day-selection":"Zpoq55","daySelection":"Zpoq55","from-picker":"zGz-f8","fromPicker":"zGz-f8","to-picker":"YhfqIU","toPicker":"YhfqIU","bodes-wrapper":"w0uGnM","bodesWrapper":"w0uGnM","blocker":"_7FlL0A"};
3455
3509
 
3456
3510
  const uuiRangeDatePickerBody = {
3457
3511
  inRange: 'uui-range-datepicker-in-range',
@@ -3527,13 +3581,13 @@ const rangeDatePickerPresets = {
3527
3581
  };
3528
3582
  const RangeDatePickerBody = /* @__PURE__ */React.forwardRef(RangeDatePickerBodyComp);
3529
3583
  function RangeDatePickerBodyComp(props, ref) {
3530
- const { value: _value, filter } = props;
3584
+ const { value: _value, filter, initialViewMonth } = props;
3531
3585
  const { selectedDate: _selectedDate, inFocus, } = _value;
3532
3586
  const selectedDate = _selectedDate || defaultRangeValue; // also handles null in comparison to default value
3533
3587
  const [view, setView] = React.useState('DAY_SELECTION');
3534
3588
  const [disabledPanel, setDisabledPanel] = React.useState(null);
3535
3589
  const [month, setMonth] = React.useState(() => {
3536
- return getDisplayedMonth(selectedDate, inFocus);
3590
+ return getDisplayedMonth(selectedDate, inFocus, initialViewMonth);
3537
3591
  });
3538
3592
  const getRange = (newValue) => {
3539
3593
  if (!filter || filter(uuiDayjs.dayjs(newValue))) {
@@ -3597,7 +3651,7 @@ function RangeDatePickerBodyComp(props, ref) {
3597
3651
  }, presets: presets })));
3598
3652
  };
3599
3653
  uuiCore.useLayoutEffectSafeForSsr(() => {
3600
- const monthToSet = getDisplayedMonth(selectedDate, inFocus);
3654
+ const monthToSet = getDisplayedMonth(selectedDate, inFocus, initialViewMonth);
3601
3655
  // To avoid re-rendering the body if the current month being displayed is equal to or greater than 1
3602
3656
  const shouldNotIgnoreUpdate = !(uuiDayjs.dayjs(month).isSame(monthToSet, 'month') || uuiDayjs.dayjs(month).add(1, 'month').isSame(monthToSet, 'month'));
3603
3657
  if (shouldNotIgnoreUpdate) {
@@ -3653,7 +3707,7 @@ const getDayState = (day, selectedDate) => {
3653
3707
  };
3654
3708
  };
3655
3709
 
3656
- var css$K = {"dropdown-container":"ulbVn2","dropdownContainer":"ulbVn2"};
3710
+ var css$K = {"dropdown-container":"_-1JpMi","dropdownContainer":"_-1JpMi"};
3657
3711
 
3658
3712
  function RangeDatePickerComponent(props, ref) {
3659
3713
  const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
@@ -3704,7 +3758,7 @@ function RangeDatePickerComponent(props, ref) {
3704
3758
  inFocus,
3705
3759
  }, onValueChange: onBodyValueChange, filter: props.filter, presets: props.presets, renderDay: props.renderDay, renderFooter: () => {
3706
3760
  return props.renderFooter?.(value);
3707
- }, isHoliday: props.isHoliday, rawProps: props.rawProps?.body, preventEmptyToDate: props.preventEmptyToDate, preventEmptyFromDate: props.preventEmptyFromDate }))));
3761
+ }, isHoliday: props.isHoliday, rawProps: props.rawProps?.body, preventEmptyToDate: props.preventEmptyToDate, preventEmptyFromDate: props.preventEmptyFromDate, initialViewMonth: props.initialViewMonth }))));
3708
3762
  };
3709
3763
  const handleEscape = (e) => {
3710
3764
  if (e.key === 'Escape' && isOpen) {
@@ -3721,7 +3775,7 @@ function RangeDatePickerComponent(props, ref) {
3721
3775
  }
3722
3776
  const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
3723
3777
 
3724
- var css$J = {"root":"JT1DSu","blocker":"DKmFCr","marker":"wSNZAd","top":"JqFkPc","bottom":"ctfwAV","left":"dgyY-G","right":"-HZAP5","inside":"mQ02Ti"};
3778
+ var css$J = {"root":"cs8XxT","blocker":"DDQc6v","marker":"En16TJ","top":"bj63Pc","bottom":"_7E6u5b","left":"uGe-JQ","right":"Ly4mkl","inside":"VGx-mW"};
3725
3779
 
3726
3780
  function DropMarker(props) {
3727
3781
  return props.isDndInProgress
@@ -3736,9 +3790,9 @@ function DropMarker(props) {
3736
3790
  : null;
3737
3791
  }
3738
3792
 
3739
- var css$I = {"search-wrapper":"_3uPUth","searchWrapper":"_3uPUth","no-data":"-nyrgX","noData":"-nyrgX"};
3793
+ var css$I = {"search-wrapper":"WCbplD","searchWrapper":"WCbplD","no-data":"_2v6-B8","noData":"_2v6-B8"};
3740
3794
 
3741
- var css$H = {"picker-row":"n86yn9","pickerRow":"n86yn9","align-widgets-top":"OzIkUE","alignWidgetsTop":"OzIkUE","row-content":"_1u6ksV","rowContent":"_1u6ksV","align-widgets-center":"Rsq5fu","alignWidgetsCenter":"Rsq5fu","icon-container":"-KtaW1","iconContainer":"-KtaW1","content-wrapper":"W1rQQd","contentWrapper":"W1rQQd","icon-wrapper":"zv-RHL","iconWrapper":"zv-RHL","icon-default":"_3VdvP8","iconDefault":"_3VdvP8","selected-mark":"d13459","selectedMark":"d13459"};
3795
+ var css$H = {"picker-row":"LP3vW0","pickerRow":"LP3vW0","align-widgets-top":"_2Z35Gw","alignWidgetsTop":"_2Z35Gw","row-content":"rByCc0","rowContent":"rByCc0","align-widgets-center":"_9q4-4j","alignWidgetsCenter":"_9q4-4j","icon-container":"sbbFeW","iconContainer":"sbbFeW","content-wrapper":"h4qhD9","contentWrapper":"h4qhD9","icon-wrapper":"qWk7qm","iconWrapper":"qWk7qm","icon-default":"xdKQQX","iconDefault":"xdKQQX","selected-mark":"kVy8Zf","selectedMark":"kVy8Zf"};
3742
3796
 
3743
3797
  const mergeHighlightRanges = (ranges) => {
3744
3798
  const mergedRanges = [];
@@ -3805,7 +3859,7 @@ const getHighlightedSearchMatches = (str, search) => {
3805
3859
  return getDecoratedText(str, ranges);
3806
3860
  };
3807
3861
 
3808
- var css$G = {"root":"M-rUkA","column-gap":"Q-YwVF","columnGap":"Q-YwVF","title":"IwfQ5u","subtitle":"TibkeU","disabled":"XZXvlo","multiline":"ngwx3F"};
3862
+ var css$G = {"root":"p8Fxg-","column-gap":"HCsW7G","columnGap":"HCsW7G","title":"E8JdOe","subtitle":"_7W--fB","disabled":"KXg1id","multiline":"mVYJfb"};
3809
3863
 
3810
3864
  function PickerItem(props) {
3811
3865
  const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
@@ -3838,6 +3892,12 @@ function DataPickerRow(props) {
3838
3892
  rowNode.current?.removeEventListener('mouseenter', handleMouseEnter);
3839
3893
  };
3840
3894
  }, [props.onFocus, handleMouseEnter]);
3895
+ const handleFocus = () => {
3896
+ // If this row gets focus but is not the focused row, make it focused
3897
+ if (!props.isFocused && props.onFocus) {
3898
+ props.onFocus(props.index);
3899
+ }
3900
+ };
3841
3901
  const getSubtitle = ({ path }) => {
3842
3902
  if (!props.dataSourceState?.search)
3843
3903
  return;
@@ -3879,14 +3939,15 @@ function DataPickerRow(props) {
3879
3939
  const clickHandler = props.onClick || props.onSelect || props.onFold || props.onCheck;
3880
3940
  return (
3881
3941
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
3882
- React__namespace.createElement("div", { onClick: clickHandler && ((e) => !uuiCore.isEventTargetInsideClickable(e) && clickHandler(props)), role: "option", "aria-busy": props.isLoading, "aria-posinset": props.index + 1, "aria-checked": props.checkbox?.isVisible ? props.isChecked : null, "aria-selected": props.isSelectable ? props.isSelected : null, ref: rowNode, className: uuiCore.cx(css$H.pickerRow, 'uui-picker_input-row', `uui-size-${props.size || settings.pickerInput.sizes.body.row}`, css$H[`align-widgets-${props.alignActions || 'top'}`], clickHandler && props.isFocused && uuiCore.uuiMod.focus, clickHandler && uuiCore.uuiMarkers.clickable, props.cx), style: props.padding && {
3942
+ React__namespace.createElement("div", { onClick: clickHandler && ((e) => !uuiCore.isEventTargetInsideClickable(e) && clickHandler(props)), onFocus: handleFocus, role: "option", "aria-busy": props.isLoading, "aria-posinset": props.index + 1, "aria-checked": props.checkbox?.isVisible ? props.isChecked : null, "aria-selected": props.isSelectable ? props.isSelected : null, tabIndex: -1, ref: rowNode, id: props.rowKey, className: uuiCore.cx(css$H.pickerRow, 'uui-picker_input-row', `uui-size-${props.size || settings.pickerInput.sizes.body.row}`, css$H[`align-widgets-${props.alignActions || 'top'}`], clickHandler && props.isFocused && uuiCore.uuiMod.focus, clickHandler && uuiCore.uuiMarkers.clickable, props.cx), style: props.padding && {
3883
3943
  '--uui-data_picker-horizontal-padding': `${props.padding}px`,
3884
3944
  }, ...props.rawProps }, renderContent()));
3885
3945
  }
3886
3946
 
3887
- function DataPickerBody({ highlightSearchMatches = true, ...props }) {
3947
+ function DataPickerBody({ highlightSearchMatches = true, autoFocusSearch = true, ...props }) {
3888
3948
  const prevProps = uuiCore.usePrevious(props);
3889
3949
  const showSearch = props.showSearch === 'auto' ? props.totalCount > 10 : Boolean(props.showSearch);
3950
+ const [isKeyboardNavigation, setIsKeyboardNavigation] = React__namespace.default.useState(false);
3890
3951
  React.useEffect(() => {
3891
3952
  if (props.rows.length !== prevProps?.rows.length || (!isEqual__default.default(prevProps?.value.checked, props.value.checked) && !props.fixedBodyPosition)) {
3892
3953
  props.scheduleUpdate?.();
@@ -3894,9 +3955,36 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
3894
3955
  }, [props.rows, prevProps, props.value.checked, props.fixedBodyPosition]);
3895
3956
  const searchKeyDown = (e) => {
3896
3957
  props.onKeyDown?.(e);
3897
- if (e.shiftKey && e.key === 'Tab')
3898
- e.preventDefault();
3899
3958
  };
3959
+ const handleVirtualListFocus = (e) => {
3960
+ // Only set keyboard navigation if focus came from keyboard (Tab key)
3961
+ // Check if the focus event was triggered by keyboard navigation
3962
+ const isKeyboardFocus = e.target === e.currentTarget;
3963
+ if (isKeyboardFocus) {
3964
+ setIsKeyboardNavigation(true);
3965
+ }
3966
+ };
3967
+ const handleVirtualListBlur = (e) => {
3968
+ // Check if focus is moving outside the virtual list
3969
+ const relatedTarget = e.relatedTarget;
3970
+ const currentTarget = e.currentTarget;
3971
+ if (relatedTarget && !currentTarget.contains(relatedTarget)) {
3972
+ // Focus is leaving the virtual list, hide visual focus but keep focusedIndex for navigation "by circle"
3973
+ setIsKeyboardNavigation(false);
3974
+ }
3975
+ };
3976
+ const { focusedIndex, topIndex, } = props.value;
3977
+ const focusedRowId = React.useMemo(() => {
3978
+ // No need to make unnecessary calculations.
3979
+ if (!props.showSearch) {
3980
+ return '';
3981
+ }
3982
+ const focusedRow = props.rows.at(focusedIndex - topIndex);
3983
+ if (!focusedRow) {
3984
+ return '';
3985
+ }
3986
+ return focusedRow.rowKey;
3987
+ }, [props.showSearch, focusedIndex, topIndex]);
3900
3988
  const renderEmpty = () => {
3901
3989
  const search = props.value.search;
3902
3990
  if (props.renderEmpty) {
@@ -3931,25 +4019,37 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
3931
4019
  return props.size || settings.pickerInput.sizes.body.row;
3932
4020
  };
3933
4021
  const renderRow = (row, dsState) => {
3934
- const pickerRowProps = { ...row, getName: props.getName };
4022
+ const pickerRowProps = {
4023
+ ...row,
4024
+ getName: props.getName,
4025
+ cx: uuiCore.cx(row.cx, isKeyboardNavigation && row.isFocused && 'uui-focus', isKeyboardNavigation && row.isFocused && 'uui-keyboard-focus'),
4026
+ };
3935
4027
  return props.renderRow ? (props.renderRow(pickerRowProps, dsState)) : (React__namespace.default.createElement(DataPickerRow, { ...pickerRowProps, key: row.rowKey, size: getRowSize(), flattenSearchResults: props.flattenSearchResults, highlightSearchMatches: highlightSearchMatches, dataSourceState: dsState, getName: props.getName }));
3936
4028
  };
4029
+ const renderSearchInput = () => {
4030
+ return (React__namespace.default.createElement(SearchInput, { placeholder: i18n.dataPickerBody.searchPlaceholder, value: props.value.search, onValueChange: (newVal) => props.onValueChange({ ...props.value, search: newVal }), onKeyDown: searchKeyDown, size: searchSize, debounceDelay: props.searchDebounceDelay, rawProps: {
4031
+ dir: 'auto',
4032
+ 'aria-activedescendant': focusedRowId,
4033
+ } }));
4034
+ };
3937
4035
  const searchSize = uuiCore.isMobile()
3938
4036
  ? settings.pickerInput.sizes.body.mobileSearchInput
3939
4037
  : settings.pickerInput.sizes.body.getSearchSize({ pickerSize: props.searchSize });
3940
- const renderedDataRows = React.useMemo(() => props.rows.map((row) => renderRow(row, props.value)), [props.rows, props.value]);
4038
+ const renderedDataRows = React.useMemo(() => props.rows.map((row) => renderRow(row, props.value)), [props.rows, props.value, isKeyboardNavigation]);
3941
4039
  return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
3942
4040
  showSearch && (React__namespace.default.createElement("div", { key: "search", className: uuiCore.cx(css$I.searchWrapper, 'uui-picker_input-body-search') },
3943
- React__namespace.default.createElement(uuiComponents.FlexCell, { grow: 1 },
3944
- React__namespace.default.createElement(FocusLock.MoveFocusInside, null,
3945
- React__namespace.default.createElement(SearchInput, { placeholder: i18n.dataPickerBody.searchPlaceholder, value: props.value.search, onValueChange: (newVal) => props.onValueChange({ ...props.value, search: newVal }), onKeyDown: searchKeyDown, size: searchSize, debounceDelay: props.searchDebounceDelay, rawProps: { dir: 'auto' } }))))),
4041
+ React__namespace.default.createElement(uuiComponents.FlexCell, { grow: 1 }, autoFocusSearch ? React__namespace.default.createElement(FocusLock.MoveFocusInside, null, renderSearchInput()) : renderSearchInput()))),
3946
4042
  React__namespace.default.createElement(FlexRow, { key: "body", cx: uuiCore.cx('uui-picker_input-body'), rawProps: { style: { maxHeight: props.maxHeight, maxWidth: props.maxWidth }, tabIndex: -1 } }, props.rows.length === 0 && props.value.topIndex === 0
3947
4043
  // We need to also ensure that topIndex === 0, because we can have state were there is no rows but topIndex > 0, in case when we scrolled lover than we have rows
3948
4044
  // we fix this state on next render and shouldn't show empty state.
3949
- ? renderEmpty() : (React__namespace.default.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, rows: renderedDataRows, rawProps: {
4045
+ ? renderEmpty() : (React__namespace.default.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, rows: renderedDataRows, role: "listbox", rawProps: {
3950
4046
  'aria-multiselectable': props.selectionMode === 'multi' ? true : null,
3951
4047
  'aria-orientation': 'vertical',
3952
- tabIndex: -1,
4048
+ tabIndex: 0,
4049
+ onKeyDown: props.onKeyDown,
4050
+ onFocus: handleVirtualListFocus,
4051
+ onBlur: handleVirtualListBlur,
4052
+ // onMouseMove: handleVirtualListMouseMove,
3953
4053
  ...props.rawProps,
3954
4054
  }, rowsCount: props.rowsCount, isLoading: props.isReloading, renderBlocker: settings.pickerInput.renderBlocker, overflowTopEffect: showSearch ? 'line' : 'none', overflowBottomEffect: "line" })))));
3955
4055
  }
@@ -3978,7 +4078,7 @@ function DataPickerFooterImpl(props) {
3978
4078
  }
3979
4079
  const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
3980
4080
 
3981
- var css$F = {"header":"B2qlMl","title":"MuoHEK","close":"ggO-wF"};
4081
+ var css$F = {"header":"_3eZ5QV","title":"_36bPib","close":"EJpfQu"};
3982
4082
 
3983
4083
  const DataPickerMobileHeaderImpl = (props) => {
3984
4084
  const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
@@ -3988,7 +4088,7 @@ const DataPickerMobileHeaderImpl = (props) => {
3988
4088
  };
3989
4089
  const DataPickerMobileHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerMobileHeaderImpl);
3990
4090
 
3991
- var css$E = {"done":"_1ZKYor","container":"_9uBP7f"};
4091
+ var css$E = {"done":"_5EOY5k","container":"EPgdwK"};
3992
4092
 
3993
4093
  const PickerBodyMobileView = (props) => {
3994
4094
  const isMobileView = uuiCore.isMobile();
@@ -4000,7 +4100,7 @@ const PickerBodyMobileView = (props) => {
4000
4100
  isMobileView && (React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$E.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
4001
4101
  };
4002
4102
 
4003
- var css$D = {"sub-header-wrapper":"VsqsbP","subHeaderWrapper":"VsqsbP","switch":"OtYuI-","no-found-modal-container":"lYAdNj","noFoundModalContainer":"lYAdNj","no-found-modal-container-icon":"_5MPGsr","noFoundModalContainerIcon":"_5MPGsr","no-found-modal-container-text":"_53bfMM","noFoundModalContainerText":"_53bfMM","body":"h-Vf7M"};
4103
+ var css$D = {"sub-header-wrapper":"HEVmrY","subHeaderWrapper":"HEVmrY","switch":"BLo6SS","search":"-Y0Smk","no-found-modal-container":"k0Ww8A","noFoundModalContainer":"k0Ww8A","no-found-modal-container-icon":"Ww665W","noFoundModalContainerIcon":"Ww665W","no-found-modal-container-text":"TmM-Ur","noFoundModalContainerText":"TmM-Ur","body":"SDIV2k"};
4004
4104
 
4005
4105
  function PickerModal(props) {
4006
4106
  const { view, selection, dataSourceStateLens, dataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
@@ -4028,25 +4128,37 @@ function PickerModal(props) {
4028
4128
  React__namespace.default.createElement(Text, { cx: css$D.noFoundModalContainerText, fontSize: "12", lineHeight: "18", color: "primary" }, i18n.dataPickerBody.noRecordsSubTitle)));
4029
4129
  };
4030
4130
  const dataRows = getRows();
4131
+ const { focusedIndex, topIndex, } = dataSourceState;
4132
+ const focusedRowId = React.useMemo(() => {
4133
+ const focusedRow = dataRows.at(focusedIndex - topIndex);
4134
+ if (!focusedRow) {
4135
+ return '';
4136
+ }
4137
+ return focusedRow.rowKey;
4138
+ }, [focusedIndex, topIndex]);
4031
4139
  return (React__namespace.default.createElement(ModalBlocker, { ...props },
4032
4140
  React__namespace.default.createElement(ModalWindow, { width: 600, height: 700, cx: css$D.body },
4033
4141
  React__namespace.default.createElement(ModalHeader, { title: props.caption || i18n.pickerModal.headerTitle, onClose: () => props.abort() }),
4034
4142
  React__namespace.default.createElement(FlexCell, { cx: css$D.subHeaderWrapper },
4035
4143
  React__namespace.default.createElement(FlexRow, { vPadding: "24" },
4036
- React__namespace.default.createElement(SearchInput, { ...dataSourceStateLens.prop('search').toProps(), onKeyDown: (e) => uuiComponents.handleDataSourceKeyboard({
4037
- value: dataSourceState,
4038
- onValueChange: handleDataSourceValueChange,
4039
- listView: view,
4040
- rows: dataRows,
4041
- searchPosition: 'body',
4042
- }, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder, rawProps: { dir: 'auto' } })),
4144
+ React__namespace.default.createElement(FocusLock.MoveFocusInside, { className: css$D.search },
4145
+ React__namespace.default.createElement(SearchInput, { ...dataSourceStateLens.prop('search').toProps(), onKeyDown: (e) => uuiComponents.handleDataSourceKeyboard({
4146
+ value: dataSourceState,
4147
+ onValueChange: handleDataSourceValueChange,
4148
+ listView: view,
4149
+ rows: dataRows,
4150
+ searchPosition: 'body',
4151
+ }, e), placeholder: i18n.pickerModal.searchPlaceholder, rawProps: {
4152
+ dir: 'auto',
4153
+ 'aria-activedescendant': focusedRowId,
4154
+ } }))),
4043
4155
  !isSingleSelect() && (React__namespace.default.createElement(Switch, { cx: css$D.switch, size: settings.pickerInput.sizes.body.footerSwitchMap[settings.pickerInput.sizes.body.row], ...getFooterProps().showSelected, isDisabled: isSearching || view.getSelectedRowsCount() < 1, label: "Show only selected" })),
4044
4156
  props.renderFilter && React__namespace.default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
4045
4157
  React__namespace.default.createElement(DataPickerBody, { ...getListProps(), value: dataSourceState, onValueChange: handleDataSourceValueChange, showSearch: false, getName: getName, rows: dataRows, renderRow: renderRow, renderEmpty: renderNotFound, size: settings.pickerInput.sizes.body.row }),
4046
4158
  React__namespace.default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
4047
4159
  }
4048
4160
 
4049
- var css$C = {"tooltip":"g4fIzj"};
4161
+ var css$C = {"tooltip":"nRtUOE","noShrink":"MFV3Ci"};
4050
4162
 
4051
4163
  const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
4052
4164
  const tagProps = {
@@ -4058,14 +4170,14 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
4058
4170
  if (props.isCollapsed) {
4059
4171
  const collapsedRows = props.collapsedRows.map((row) => props.getName(row.value)).join(', ');
4060
4172
  return (React__namespace.createElement(Tooltip, { key: "selected", content: collapsedRows, closeDelay: 150, closeOnMouseLeave: "boundary", cx: css$C.tooltip },
4061
- React__namespace.createElement(Tag, { ref: ref, rawProps: { role: 'option' }, ...tagProps })));
4173
+ React__namespace.createElement(Tag, { ref: ref, rawProps: { role: 'option' }, ...tagProps, cx: css$C.noShrink })));
4062
4174
  }
4063
4175
  else {
4064
4176
  return React__namespace.createElement(Tag, { ref: ref, rawProps: { role: 'option' }, ...tagProps });
4065
4177
  }
4066
4178
  });
4067
4179
 
4068
- var css$B = {"root":"JAVuYn"};
4180
+ var css$B = {"root":"-GtIUg"};
4069
4181
 
4070
4182
  const defaultMode = EditMode.FORM;
4071
4183
  function applyPickerTogglerMods(mods) {
@@ -4135,7 +4247,7 @@ function PickerInputComponent(props, ref) {
4135
4247
  const bodyHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.pickerInput.sizes.body.maxHeight;
4136
4248
  const minBodyWidth = props.minBodyWidth || settings.pickerInput.sizes.body.minWidth;
4137
4249
  const onKeyDown = (e) => handlePickerInputKeyboard(rows, e);
4138
- return (React__namespace.default.createElement(PickerBodyMobileView, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx, 'uui-picker_input-body-wrapper'], onKeyDown: onKeyDown, width: dropdownProps.togglerWidth > minBodyWidth ? dropdownProps.togglerWidth : minBodyWidth, focusLock: getSearchPosition() === 'body' },
4250
+ return (React__namespace.default.createElement(PickerBodyMobileView, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx, 'uui-picker_input-body-wrapper'], width: dropdownProps.togglerWidth > minBodyWidth ? dropdownProps.togglerWidth : minBodyWidth, focusLock: true, shards: getSearchPosition() === 'input' ? [togglerRef] : undefined },
4139
4251
  React__namespace.default.createElement(DataPickerBody, { ...dropdownProps, ...getListProps(), showSearch: getSearchPosition() === 'body', getName: getName, value: dataSourceState, onValueChange: handleDataSourceValueChange, rows: rows, maxHeight: bodyHeight, searchSize: props.size, selectionMode: props.selectionMode, renderNotFound: props.renderNotFound, renderEmpty: props.renderEmpty, renderRow: props.renderRow, onKeyDown: onKeyDown, minCharsToSearch: props.minCharsToSearch, fixedBodyPosition: props.fixedBodyPosition, searchDebounceDelay: props.searchDebounceDelay, rawProps: props.rawProps?.body, highlightSearchMatches: props.highlightSearchMatches, flattenSearchResults: view.getConfig().flattenSearchResults }),
4140
4252
  renderFooter()));
4141
4253
  };
@@ -4143,11 +4255,11 @@ function PickerInputComponent(props, ref) {
4143
4255
  return (React__namespace.default.createElement(Dropdown, { renderTarget: (dropdownProps) => {
4144
4256
  const targetProps = getTogglerProps();
4145
4257
  return renderTarget({ ...dropdownProps, ...targetProps, renderItem });
4146
- }, renderBody: (bodyProps) => renderBody(bodyProps), value: shouldShowBody(), onValueChange: !props.isDisabled && toggleBodyOpening, placement: props.dropdownPlacement, middleware: middleware, closeBodyOnTogglerHidden: !uuiCore.isMobile(), portalTarget: props.portalTarget, ref: togglerRef }));
4258
+ }, renderBody: (bodyProps) => renderBody(bodyProps), value: shouldShowBody(), onValueChange: !props.isDisabled && toggleBodyOpening, placement: props.dropdownPlacement, middleware: middleware, closeBodyOnTogglerHidden: uuiCore.isMobile() ? false : props.closeBodyOnTogglerHidden, portalTarget: props.portalTarget, ref: togglerRef }));
4147
4259
  }
4148
4260
  const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
4149
4261
 
4150
- var css$A = {"row":"zugrfa"};
4262
+ var css$A = {"row":"_8Xp1Y5"};
4151
4263
 
4152
4264
  function PickerListRow(props) {
4153
4265
  let label;
@@ -4167,7 +4279,7 @@ function PickerListRow(props) {
4167
4279
  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));
4168
4280
  }
4169
4281
 
4170
- var css$z = {"root":"yW1FgL"};
4282
+ var css$z = {"root":"rvpFK2"};
4171
4283
 
4172
4284
  function PickerList(props) {
4173
4285
  const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
@@ -4202,12 +4314,12 @@ function PickerList(props) {
4202
4314
  }, selectedRows)));
4203
4315
  }
4204
4316
 
4205
- var css$y = {"root":"AV-t05","wrapper":"LVQzVv","align-widgets-top":"_76hfvD","alignWidgetsTop":"_76hfvD","align-widgets-center":"HqHk95","alignWidgetsCenter":"HqHk95"};
4317
+ var css$y = {"root":"OfWfys","wrapper":"r2o6VS","align-widgets-top":"_6jB-wO","alignWidgetsTop":"_6jB-wO","align-widgets-center":"ZK0GEm","alignWidgetsCenter":"ZK0GEm"};
4206
4318
 
4207
4319
  function DataTableCell(initialProps) {
4208
4320
  const props = { ...initialProps };
4209
4321
  if (props.isFirstColumn) {
4210
- props.addons = React__namespace.createElement(DataRowAddons, { size: props.size, ...props });
4322
+ props.addons = React__namespace.createElement(DataRowAddons, { size: props.size, ...props, isFoldingFocusable: true });
4211
4323
  }
4212
4324
  props.renderPlaceholder = props.renderPlaceholder
4213
4325
  || (() => settings.dataTable.renderPlaceholder({ rowSize: props.size }));
@@ -4252,7 +4364,7 @@ function DataTableCell(initialProps) {
4252
4364
  return React__namespace.createElement(uuiComponents.DataTableCell, { ...props });
4253
4365
  }
4254
4366
 
4255
- var css$x = {"root":"SWO5JN"};
4367
+ var css$x = {"root":"hM9gEp"};
4256
4368
 
4257
4369
  // Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
4258
4370
  // 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.
@@ -4268,7 +4380,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
4268
4380
  ];
4269
4381
  }, () => propsMods);
4270
4382
 
4271
- var css$w = {"sorting-panel-container":"fHU-1Q","sortingPanelContainer":"fHU-1Q"};
4383
+ var css$w = {"sorting-panel-container":"yjYRDQ","sortingPanelContainer":"yjYRDQ"};
4272
4384
 
4273
4385
  const SortingPanelImpl = ({ sortDirection, onSort }) => {
4274
4386
  const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
@@ -4288,7 +4400,7 @@ const ColumnHeaderDropdownImpl = (props) => {
4288
4400
  };
4289
4401
  const ColumnHeaderDropdown = /* @__PURE__ */React__namespace.default.memo(ColumnHeaderDropdownImpl);
4290
4402
 
4291
- var css$v = {"root":"ozuVAj","caption-wrapper":"vHT4Ig","captionWrapper":"vHT4Ig","sort-icon":"HORUZ3","sortIcon":"HORUZ3","dropdown-icon":"_1L1tLS","dropdownIcon":"_1L1tLS","infoIcon":"RHHu4N","align-right":"Z4Hc2q","alignRight":"Z4Hc2q","align-center":"opPQm5","alignCenter":"opPQm5","caption":"gbGK5c","truncate":"G5i6Jr","upper-case":"_8GqCQM","upperCase":"_8GqCQM","checkbox":"Nr-bJz","icon":"_2-FWaa","fold-all-icon":"JEa5eY","foldAllIcon":"JEa5eY","cell-tooltip":"zgRKF9","cellTooltip":"zgRKF9","resizing-marker":"SMJV-f","resizingMarker":"SMJV-f","pinned-right":"ouJCWX","pinnedRight":"ouJCWX","draggable":"HN4cjV","ghost":"oo-xLa","is-dragged-out":"v5Ig38","isDraggedOut":"v5Ig38","dnd-marker-left":"BjibIG","dndMarkerLeft":"BjibIG","dnd-marker-right":"_1v1yKg","dndMarkerRight":"_1v1yKg","cell-tooltip-wrapper":"fC58tu","cellTooltipWrapper":"fC58tu","cell-tooltip-text":"eMASvm","cellTooltipText":"eMASvm","tooltip-caption":"geXjGG","tooltipCaption":"geXjGG","tooltip-info":"PFlVUq","tooltipInfo":"PFlVUq"};
4403
+ var css$v = {"root":"-QfBVy","caption-wrapper":"_1ZPY43","captionWrapper":"_1ZPY43","sort-icon":"FgbtGF","sortIcon":"FgbtGF","dropdown-icon":"_2eOwkr","dropdownIcon":"_2eOwkr","infoIcon":"bxvSbO","sortInActive":"rTw7vn","align-right":"rHjjR7","alignRight":"rHjjR7","align-center":"Q8PFNn","alignCenter":"Q8PFNn","caption":"IjqNvZ","truncate":"_5MHCi6","upper-case":"Hq0CxQ","upperCase":"Hq0CxQ","checkbox":"gBWF1u","icon":"wSXWSE","fold-all-icon":"klK4fD","foldAllIcon":"klK4fD","cell-tooltip":"EnHlC4","cellTooltip":"EnHlC4","resizing-marker":"O9Jjyv","resizingMarker":"O9Jjyv","pinned-right":"EHkt2d","pinnedRight":"EHkt2d","draggable":"yoGCFu","ghost":"nZ1wcj","is-dragged-out":"d5vJzx","isDraggedOut":"d5vJzx","dnd-marker-left":"y7kzBF","dndMarkerLeft":"y7kzBF","dnd-marker-right":"riHXIT","dndMarkerRight":"riHXIT","cell-tooltip-wrapper":"ZjvMpE","cellTooltipWrapper":"ZjvMpE","cell-tooltip-text":"UQmxm7","cellTooltipText":"UQmxm7","tooltip-caption":"QZ0ng6","tooltipCaption":"QZ0ng6","tooltip-info":"EkelTT","tooltipInfo":"EkelTT"};
4292
4404
 
4293
4405
  class DataTableHeaderCell extends React__namespace.Component {
4294
4406
  constructor() {
@@ -4299,7 +4411,7 @@ class DataTableHeaderCell extends React__namespace.Component {
4299
4411
  this.getTooltipContent = (column) => (React__namespace.createElement("div", { className: uuiCore.cx(css$v.cellTooltipWrapper, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaptionTooltip) },
4300
4412
  React__namespace.createElement(Text, { cx: [css$v.cellTooltipText, css$v.tooltipCaption] }, column.caption),
4301
4413
  column.info && (React__namespace.createElement(Text, { cx: [css$v.cellTooltipText, css$v.tooltipInfo] }, column.info))));
4302
- this.getColumnCaption = () => {
4414
+ this.getColumnCaption = (props, dropdownProps) => {
4303
4415
  const renderTooltip = this.props.column.renderTooltip || this.getTooltipContent;
4304
4416
  const captionCx = uuiCore.cx([
4305
4417
  css$v.caption,
@@ -4308,12 +4420,24 @@ class DataTableHeaderCell extends React__namespace.Component {
4308
4420
  'uui-typography-inline',
4309
4421
  this.props.size >= '48' && css$v.truncate,
4310
4422
  ]);
4423
+ const handleFilterOpen = (e) => {
4424
+ if (e.key === 'Enter' || e.key === ' ') {
4425
+ dropdownProps.onClick(e);
4426
+ e.preventDefault();
4427
+ }
4428
+ };
4429
+ const handleSort = (e) => {
4430
+ if (e.key === 'Enter' || e.key === ' ') {
4431
+ props.toggleSort(e);
4432
+ e.preventDefault();
4433
+ }
4434
+ };
4311
4435
  return (React__namespace.createElement("div", { className: uuiCore.cx(css$v.captionWrapper, css$v['align-' + this.props.column.textAlign], uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
4312
- React__namespace.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: [css$v.cellTooltip, 'uui-dt-header-tooltip'], openDelay: 600 },
4436
+ React__namespace.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: [css$v.cellTooltip, 'uui-dt-header-tooltip'], openDelay: 600, closeOnMouseLeave: "boundary" },
4313
4437
  React__namespace.createElement("div", { key: "text", className: captionCx }, this.props.column.caption)),
4314
- this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React__namespace.createElement(IconButton, { key: "sort", cx: uuiCore.cx(css$v.icon, css$v.sortIcon, this.props.sortDirection && css$v.sortIconActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: settings.dataTable.icons.header[this.props.sortDirection === 'desc' ? 'descSortIcon' : this.props.sortDirection === 'asc' ? 'ascSortIcon' : 'defaultSortIcon'] })),
4438
+ this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React__namespace.createElement(uuiComponents.ControlIcon, { key: "sort", cx: uuiCore.cx(css$v.icon, css$v.sortIcon, !this.props.sortDirection && css$v.sortInActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), icon: settings.dataTable.icons.header[this.props.sortDirection === 'desc' ? 'descSortIcon' : this.props.sortDirection === 'asc' ? 'ascSortIcon' : 'defaultSortIcon'], onKeyDown: !this.props.column.renderFilter ? handleSort : undefined })),
4315
4439
  this.props.isFilterActive && (React__namespace.createElement(IconButton, { key: "filter", cx: uuiCore.cx(css$v.icon, !this.props.sortDirection && css$v.filterIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: settings.dataTable.icons.header.filterIcon })),
4316
- this.props.column.renderFilter && (React__namespace.createElement(IconButton, { key: "dropdown", cx: uuiCore.cx(css$v.icon, css$v.dropdownIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: settings.dataTable.icons.header[this.state.isDropdownOpen ? 'openedDropdownIcon' : 'dropdownIcon'] }))));
4440
+ this.props.column.renderFilter && (React__namespace.createElement(uuiComponents.ControlIcon, { key: "dropdown", cx: uuiCore.cx(css$v.icon, css$v.dropdownIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), icon: settings.dataTable.icons.header[this.state.isDropdownOpen ? 'openedDropdownIcon' : 'dropdownIcon'], onKeyDown: handleFilterOpen }))));
4317
4441
  };
4318
4442
  this.renderHeaderCheckbox = () => {
4319
4443
  if (this.props.selectAll && this.props.isFirstColumn) {
@@ -4325,7 +4449,7 @@ class DataTableHeaderCell extends React__namespace.Component {
4325
4449
  return (React__namespace.createElement(Tooltip, { content: this.props.areAllFolded
4326
4450
  ? i18n.tables.columnHeader.expandAllTooltip
4327
4451
  : i18n.tables.columnHeader.collapseAllTooltip },
4328
- React__namespace.createElement(IconButton, { color: "secondary", cx: uuiCore.cx(css$v.icon, css$v.foldAllIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFoldAllIcon), icon: settings.dataTable.icons.header[this.props.areAllFolded ? 'unfoldIcon' : 'foldIcon'], onClick: this.props.onFoldAll, rawProps: {
4452
+ React__namespace.createElement(uuiComponents.ControlIcon, { cx: uuiCore.cx(css$v.icon, css$v.foldAllIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFoldAllIcon), icon: settings.dataTable.icons.header[this.props.areAllFolded ? 'unfoldIcon' : 'foldIcon'], onClick: this.props.onFoldAll, rawProps: {
4329
4453
  'aria-label': this.props.areAllFolded ? 'Expand All' : 'Collapse All',
4330
4454
  'aria-expanded': !!this.props.areAllFolded,
4331
4455
  } })));
@@ -4369,7 +4493,7 @@ class DataTableHeaderCell extends React__namespace.Component {
4369
4493
  }, style: computeStyles },
4370
4494
  this.renderHeaderCheckbox(),
4371
4495
  this.renderFoldAllIcon(),
4372
- this.getColumnCaption(),
4496
+ this.getColumnCaption(props, dropdownProps),
4373
4497
  isResizable && this.renderResizingMarker(props)));
4374
4498
  };
4375
4499
  this.renderCellWithFilter = (props) => (React__namespace.createElement(ColumnHeaderDropdown, { isOpen: this.state.isDropdownOpen, isSortable: this.props.column.isSortable, renderTarget: (dropdownProps) => this.renderCellContent(props, dropdownProps), renderFilter: this.props.renderFilter, onSort: this.props.onSort, sortDirection: this.props.sortDirection, onOpenChange: (isDropdownOpen) => this.setState({ isDropdownOpen }), title: this.props.column.caption }));
@@ -4382,7 +4506,7 @@ class DataTableHeaderCell extends React__namespace.Component {
4382
4506
  }
4383
4507
  }
4384
4508
 
4385
- var css$u = {"root":"FiaHii","caption-wrapper":"_1xCvgX","captionWrapper":"_1xCvgX","align-center":"_1GeYcv","alignCenter":"_1GeYcv","caption":"LXuw0c","truncate":"UR9VW7","upper-case":"bCDwvZ","upperCase":"bCDwvZ","group-cell-tooltip":"CbpXWb","groupCellTooltip":"CbpXWb","group-cell-tooltip-wrapper":"g-1KjA","groupCellTooltipWrapper":"g-1KjA","group-cell-tooltip-text":"ht23fN","groupCellTooltipText":"ht23fN","tooltip-caption":"TJyncB","tooltipCaption":"TJyncB","tooltip-info":"VGb9Sb","tooltipInfo":"VGb9Sb"};
4509
+ var css$u = {"root":"_4NgaPv","caption-wrapper":"tqkPmS","captionWrapper":"tqkPmS","align-center":"dj9EMm","alignCenter":"dj9EMm","caption":"wJCrFs","truncate":"yJgSQZ","upper-case":"h-vRIN","upperCase":"h-vRIN","group-cell-tooltip":"Ea2y9v","groupCellTooltip":"Ea2y9v","group-cell-tooltip-wrapper":"esXgV8","groupCellTooltipWrapper":"esXgV8","group-cell-tooltip-text":"BkRU8j","groupCellTooltipText":"BkRU8j","tooltip-caption":"gDhCFt","tooltipCaption":"gDhCFt","tooltip-info":"PevA5B","tooltipInfo":"PevA5B"};
4386
4510
 
4387
4511
  class DataTableHeaderGroupCell extends React__namespace.Component {
4388
4512
  constructor() {
@@ -4422,13 +4546,15 @@ class DataTableHeaderGroupCell extends React__namespace.Component {
4422
4546
  }
4423
4547
  }
4424
4548
 
4425
- var css$t = {"root":"rU4otq"};
4549
+ var css$t = {"root":"_5ND0H0"};
4426
4550
 
4427
- const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
4428
- renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
4429
- renderGroupCell: (props) => (React__namespace.createElement(DataTableHeaderGroupCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.key, columnsGap: mods.columnsGap })),
4430
- renderConfigButton: () => (React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: ['config-icon', `uui-size-${settings.dataTable.sizes.header.iconMap[mods.size || settings.dataTable.sizes.header.row]}`], color: "neutral", icon: settings.dataTable.icons.header.configIcon })),
4431
- }));
4551
+ const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => {
4552
+ return ({
4553
+ renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
4554
+ renderGroupCell: (props) => (React__namespace.createElement(DataTableHeaderGroupCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.key, columnsGap: mods.columnsGap })),
4555
+ renderConfigButton: () => (React__namespace.createElement(uuiComponents.ControlIcon, { key: "configuration", onClick: mods.onConfigButtonClick, size: settings.dataTable.sizes.header.iconMap[mods.size || settings.dataTable.sizes.header.row], cx: ['config-icon'], icon: settings.dataTable.icons.header.configIcon })),
4556
+ });
4557
+ });
4432
4558
 
4433
4559
  const normalizeFilterWithPredicates = (filter) => {
4434
4560
  if (!filter) {
@@ -4518,7 +4644,7 @@ const UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION = 'uui-filters-panel-item-toggler
4518
4644
  const UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX = 'uui-filters-panel-item-toggler-postfix';
4519
4645
  const UUI_FILTERS_PANEL_BODY_FOOTER = 'uui-filters-panel-item-footer';
4520
4646
 
4521
- var css$s = {"body":"VBOdST","header":"j2V9vY","title":"UOAHC1","removeButton":"q4jR4F","with-search":"ZZAI8r","withSearch":"ZZAI8r"};
4647
+ var css$s = {"body":"gHbOXM","header":"OTW1QL","title":"l-OBG1","removeButton":"C6i89p","with-search":"Jfi9eo","withSearch":"Jfi9eo"};
4522
4648
 
4523
4649
  function FilterColumnBody(props) {
4524
4650
  const [predicate, setPredicate] = React.useState(getDefaultPredicate(props.predicates, props.value));
@@ -4542,7 +4668,7 @@ function FilterColumnBody(props) {
4542
4668
  return props.predicates?.length > 0 && (React__namespace.default.createElement("div", { className: css$s.header },
4543
4669
  React__namespace.default.createElement(FilterPredicatePanel, { ...panelProps })));
4544
4670
  };
4545
- return (React__namespace.default.createElement(DropdownContainer, { style: { minWidth: '360px' }, cx: [css$s.body, UUI_FILTERS_PANEL_ITEM_BODY], ...props },
4671
+ return (React__namespace.default.createElement(DropdownContainer, { style: { minWidth: '360px' }, cx: [css$s.body, UUI_FILTERS_PANEL_ITEM_BODY], ...props, focusLock: false },
4546
4672
  renderHeader(),
4547
4673
  React__namespace.default.createElement(FilterItemBody, { ...props, selectedPredicate: predicate, value: getValue(predicate, props.value), onValueChange: onValueChange })));
4548
4674
  }
@@ -4579,7 +4705,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
4579
4705
  return columns;
4580
4706
  };
4581
4707
 
4582
- var css$r = {"unpin-icon":"D1A8bo","unpinIcon":"D1A8bo","pin-toggler-icon":"r9EnmR","pinTogglerIcon":"r9EnmR"};
4708
+ var css$r = {"unpin-icon":"bP6UdW","unpinIcon":"bP6UdW","pin-toggler-icon":"Ifhc9z","pinTogglerIcon":"Ifhc9z"};
4583
4709
 
4584
4710
  function PinIconButton(props) {
4585
4711
  const i18nLocal = i18n.tables.columnsConfigurationModal;
@@ -4630,7 +4756,7 @@ function getUnpinIcon(params) {
4630
4756
  }
4631
4757
  }
4632
4758
 
4633
- var css$q = {"row-wrapper":"sP89qf","rowWrapper":"sP89qf","pin-icon-button":"Na6WUf","pinIconButton":"Na6WUf","not-pinned":"F1c4OL","notPinned":"F1c4OL","checkbox":"xmktS-","drag-handle":"iKEzSh","dragHandle":"iKEzSh","dnd-disabled":"ud9YbU","dndDisabled":"ud9YbU"};
4759
+ var css$q = {"row-wrapper":"jnLfZ-","rowWrapper":"jnLfZ-","pin-icon-button":"wOby6M","pinIconButton":"wOby6M","not-pinned":"PeOGEz","notPinned":"PeOGEz","checkbox":"TRNRi2","drag-handle":"iQ8cp1","dragHandle":"iQ8cp1","dnd-disabled":"RbSSp4","dndDisabled":"RbSSp4"};
4634
4760
 
4635
4761
  const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
4636
4762
  const { column } = props;
@@ -4664,7 +4790,7 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
4664
4790
  return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
4665
4791
  });
4666
4792
 
4667
- var css$p = {"root":"zxIZl3","main-panel":"QrvjP8","mainPanel":"QrvjP8","group":"dodTFs","group-title":"d6Wsgy","groupTitle":"d6Wsgy","group-items":"-Udu2w","groupItems":"-Udu2w","no-data":"k5DR4i","noData":"k5DR4i","no-data-title":"UADIfT","noDataTitle":"UADIfT","no-data-sub-title":"_2y020t","noDataSubTitle":"_2y020t","h-divider":"_0KdO2x","hDivider":"_0KdO2x","search-area":"Bz3S3s","searchArea":"Bz3S3s","subgroup-accordion":"gil8Ci","subgroupAccordion":"gil8Ci","subgroup":"TUFjto","subgroup-title":"HIXrhD","subgroupTitle":"HIXrhD"};
4793
+ var css$p = {"root":"b0LDqL","main-panel":"F4ibph","mainPanel":"F4ibph","group":"_0GcLUD","group-title":"_51Xf6m","groupTitle":"_51Xf6m","group-items":"ikjaLO","groupItems":"ikjaLO","no-data":"h5eOoR","noData":"h5eOoR","no-data-title":"aAgK1c","noDataTitle":"aAgK1c","no-data-sub-title":"akjGWW","noDataSubTitle":"akjGWW","h-divider":"VOg2dE","hDivider":"VOg2dE","search-area":"a0q1Zx","searchArea":"a0q1Zx","subgroup-accordion":"lB5iGb","subgroupAccordion":"lB5iGb","subgroup":"_5bZYu-","subgroup-title":"LeazTn","subgroupTitle":"LeazTn"};
4668
4794
 
4669
4795
  const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$p.group },
4670
4796
  React__namespace.createElement(Text, { size: "none", cx: css$p.groupTitle }, title),
@@ -4767,7 +4893,7 @@ const getChildrenAndRest = (row, rows) => {
4767
4893
  return [children, rest];
4768
4894
  };
4769
4895
 
4770
- var css$o = {"listContainer":"MhvPDr","header":"r-gnBR","group":"gqN6A4","stickyHeader":"moN4dq"};
4896
+ var css$o = {"listContainer":"wIa-tG","header":"_55VcoO","group":"aOImlv","stickyHeader":"v4wmts"};
4771
4897
 
4772
4898
  function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
4773
4899
  const rowRef = React.useRef(undefined);
@@ -4807,7 +4933,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
4807
4933
  React__namespace.default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
4808
4934
  }
4809
4935
 
4810
- var css$n = {"root":"hukdyK","sticky-header":"ARKxNK","stickyHeader":"ARKxNK","no-results":"t055MF","noResults":"t055MF","icon":"_0CKT68","title":"Xp6OjX"};
4936
+ var css$n = {"root":"gs5tAi","sticky-header":"OlbZ1I","stickyHeader":"OlbZ1I","no-results":"IGCZuA","noResults":"IGCZuA","icon":"gcfIP7","title":"HZIFTX"};
4811
4937
 
4812
4938
  function DataTable(props) {
4813
4939
  const { uuiModals } = uuiCore.useUuiContext();
@@ -4856,7 +4982,7 @@ function DataTable(props) {
4856
4982
  : (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 })))));
4857
4983
  }
4858
4984
 
4859
- var css$m = {"root":"dP-yyN","title-wrapper":"u-Jp-4","titleWrapper":"u-Jp-4","title":"T9Dy3A","text-wrapper":"LhBHlq","textWrapper":"LhBHlq","selection":"fCdhE4","postfix":"Z63mub","selected":"M5YxAu"};
4985
+ var css$m = {"root":"_1iHo7x","title-wrapper":"u8YyzL","titleWrapper":"u8YyzL","title":"QmogUG","text-wrapper":"YhuGTX","textWrapper":"YhuGTX","selection":"-Q0ANM","postfix":"zIXFAA","selected":"av6pcA"};
4860
4986
 
4861
4987
  const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
4862
4988
  const togglerPickerOpened = (e) => {
@@ -4955,7 +5081,7 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
4955
5081
  rows,
4956
5082
  }, e);
4957
5083
  return (React__namespace.createElement(React__namespace.Fragment, null,
4958
- React__namespace.createElement(DataPickerBody, { ...getListProps(), selectionMode: props.selectionMode, rows: rows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.pickerInput.sizes.body.row, showSearch: props.showSearch ?? true, getName: getName, value: dataSourceState, onValueChange: handleDataSourceValueChange, renderRow: props.renderRow, onKeyDown: onKeyDown, minCharsToSearch: props.minCharsToSearch, searchDebounceDelay: props.searchDebounceDelay, rawProps: props.rawProps?.body, highlightSearchMatches: props.highlightSearchMatches, flattenSearchResults: view.getConfig().flattenSearchResults }),
5084
+ React__namespace.createElement(DataPickerBody, { ...getListProps(), selectionMode: props.selectionMode, rows: rows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.pickerInput.sizes.body.row, showSearch: props.showSearch ?? true, getName: getName, value: dataSourceState, onValueChange: handleDataSourceValueChange, renderRow: props.renderRow, onKeyDown: onKeyDown, minCharsToSearch: props.minCharsToSearch, searchDebounceDelay: props.searchDebounceDelay, rawProps: props.rawProps?.body, highlightSearchMatches: props.highlightSearchMatches, flattenSearchResults: view.getConfig().flattenSearchResults, autoFocusSearch: false }),
4959
5085
  renderFooter()));
4960
5086
  };
4961
5087
  return renderBody();
@@ -5081,7 +5207,7 @@ function FilterRangeDatePickerBody(props) {
5081
5207
  renderFooter()));
5082
5208
  }
5083
5209
 
5084
- var css$l = {"container":"EzbFWT"};
5210
+ var css$l = {"container":"yCZxVJ"};
5085
5211
 
5086
5212
  function FilterNumericBody(props) {
5087
5213
  const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
@@ -5392,7 +5518,7 @@ function FiltersToolbarImpl(props) {
5392
5518
  }
5393
5519
  const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
5394
5520
 
5395
- var css$k = {"delete-button":"-jDuQP","deleteButton":"-jDuQP","tab-button":"feveqX","tabButton":"feveqX","targetOpen":"-r6PFN"};
5521
+ var css$k = {"delete-button":"PAinEU","deleteButton":"PAinEU","tab-button":"v70RAO","tabButton":"v70RAO","targetOpen":"cBSM75"};
5396
5522
 
5397
5523
  function PresetActionsDropdown(props) {
5398
5524
  const { uuiNotifications } = uuiCore.useUuiContext();
@@ -5468,7 +5594,7 @@ const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
5468
5594
  const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
5469
5595
  const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
5470
5596
 
5471
- var css$j = {"preset-input-cell":"_3B8qbQ","presetInputCell":"_3B8qbQ","preset-input":"spVgUw","presetInput":"spVgUw"};
5597
+ var css$j = {"preset-input-cell":"K3OTly","presetInputCell":"K3OTly","preset-input":"_3fvOW-","presetInput":"_3fvOW-"};
5472
5598
 
5473
5599
  function PresetInput(props) {
5474
5600
  const [presetCaption, setPresetCaption] = React.useState(props.preset?.name || '');
@@ -5495,7 +5621,7 @@ function PresetInput(props) {
5495
5621
  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 })));
5496
5622
  }
5497
5623
 
5498
- var css$i = {"preset":"w1WNmT","activePreset":"qPfpzE"};
5624
+ var css$i = {"preset":"im1Nbl","activePreset":"iVZ1pv"};
5499
5625
 
5500
5626
  function Preset(props) {
5501
5627
  const [isRenamePreset, setIsRenamePreset] = React.useState(false);
@@ -5520,7 +5646,7 @@ function Preset(props) {
5520
5646
  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 }))));
5521
5647
  }
5522
5648
 
5523
- var css$h = {"divider":"Cd-6Gd","dropdownDeleteIcon":"LYMigY","presetsWrapper":"b970nw","addPresetContainer":"vznxrD","dropContainer":"E9KMxm"};
5649
+ var css$h = {"divider":"pkfpmt","dropdownDeleteIcon":"ElQbms","presetsWrapper":"w09K5k","addPresetContainer":"_137MKw","dropContainer":"_1n6Nv-"};
5524
5650
 
5525
5651
  function PresetsPanel(props) {
5526
5652
  const [isAddingPreset, setIsAddingPreset] = React.useState(false);
@@ -5569,9 +5695,9 @@ function PresetsPanel(props) {
5569
5695
  React__namespace.default.createElement(uuiComponents.AdaptivePanel, { items: getPanelItems() }))));
5570
5696
  }
5571
5697
 
5572
- var css$g = {"root":"-Zowr5"};
5698
+ var css$g = {"root":"z5tlxk"};
5573
5699
 
5574
- var css$f = {"root":"eXY3tv","burger-content":"n2eF2e","burgerContent":"n2eF2e"};
5700
+ var css$f = {"root":"bmAw-b","burger-content":"EAx6K7","burgerContent":"EAx6K7"};
5575
5701
 
5576
5702
  var _path$3;
5577
5703
  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); }
@@ -5614,7 +5740,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
5614
5740
  };
5615
5741
  var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
5616
5742
 
5617
- var css$e = {"root":"YNfGRL","button-primary":"_34UpRL","buttonPrimary":"_34UpRL","button-secondary":"j9QX5u","buttonSecondary":"j9QX5u","hasIcon":"r0hAab","dropdown":"hDZv34"};
5743
+ var css$e = {"root":"uWJzFd","button-primary":"FGo4Gk","buttonPrimary":"FGo4Gk","button-secondary":"jw-yNL","buttonSecondary":"jw-yNL","hasIcon":"vcEXxU","dropdown":"AicG-l"};
5618
5744
 
5619
5745
  function applyBurgerButtonMods(props) {
5620
5746
  return [
@@ -5639,13 +5765,13 @@ const BurgerButton = /* @__PURE__ */React__namespace.default.forwardRef((props,
5639
5765
  }, dropdownIcon: ForwardRef$2 }));
5640
5766
  });
5641
5767
 
5642
- var css$d = {"search-input":"TKibWd","searchInput":"TKibWd"};
5768
+ var css$d = {"search-input":"voTcNB","searchInput":"voTcNB"};
5643
5769
 
5644
5770
  function BurgerSearch(props) {
5645
5771
  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 }));
5646
5772
  }
5647
5773
 
5648
- var css$c = {"root":"-iFT8A","group-header":"YBDc6P","groupHeader":"YBDc6P","group-name":"RALnKy","groupName":"RALnKy","line":"_5kyLC3"};
5774
+ var css$c = {"root":"i3JYel","group-header":"psafjs","groupHeader":"psafjs","group-name":"rrCOyP","groupName":"rrCOyP","line":"BQg0OA"};
5649
5775
 
5650
5776
  function BurgerGroupHeader(props) {
5651
5777
  return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
@@ -5653,7 +5779,7 @@ function BurgerGroupHeader(props) {
5653
5779
  React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
5654
5780
  }
5655
5781
 
5656
- var css$b = {"root":"y98K5L","type-primary":"HOG0rc","typePrimary":"HOG0rc","type-secondary":"EXGQyl","typeSecondary":"EXGQyl"};
5782
+ var css$b = {"root":"QcCInU","type-primary":"Ar1F9z","typePrimary":"Ar1F9z","type-secondary":"_7jjV3H","typeSecondary":"_7jjV3H"};
5657
5783
 
5658
5784
  const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
5659
5785
  const { type, ...clickableProps } = props;
@@ -5681,7 +5807,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
5681
5807
  props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
5682
5808
  });
5683
5809
 
5684
- var css$a = {"dropdown-body":"Vgu9hK","dropdownBody":"Vgu9hK"};
5810
+ var css$a = {"dropdown-body":"O0aoEX","dropdownBody":"O0aoEX"};
5685
5811
 
5686
5812
  function MainMenuDropdown(props) {
5687
5813
  const handleEscape = (e, onClose, isOpen) => {
@@ -5689,10 +5815,13 @@ function MainMenuDropdown(props) {
5689
5815
  onClose();
5690
5816
  }
5691
5817
  };
5692
- return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: (dropdownProps) => (React__namespace.default.createElement(MainMenuButton, { caption: props.caption, ...dropdownProps, rawProps: props.rawProps, isActive: props.isActive, isDropdown: true })), renderBody: (dropdownBodyProps) => (React__namespace.default.createElement(FocusLock__default.default, { returnFocus: true, persistentFocus: true, lockProps: {
5818
+ return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: (dropdownProps) => (React__namespace.default.createElement(MainMenuButton, { caption: props.caption, ...dropdownProps, rawProps: {
5819
+ 'aria-haspopup': 'menu',
5820
+ ...props.rawProps,
5821
+ }, isActive: props.isActive, isDropdown: true })), renderBody: (dropdownBodyProps) => (React__namespace.default.createElement(FocusLock__default.default, { returnFocus: true, persistentFocus: true, lockProps: {
5693
5822
  onKeyDown: (e) => handleEscape(e, dropdownBodyProps.onClose, dropdownBodyProps.isOpen),
5694
5823
  } },
5695
- React__namespace.default.createElement("div", { className: cx__default.default(css$a.dropdownBody, 'uui-main_menu-dropdown', props.cx) }, props.renderBody({ ...dropdownBodyProps })))), placement: "bottom-start" }));
5824
+ React__namespace.default.createElement("div", { className: cx__default.default(css$a.dropdownBody, 'uui-main_menu-dropdown', props.cx), role: "menu" }, props.renderBody({ ...dropdownBodyProps })))), placement: "bottom-start" }));
5696
5825
  }
5697
5826
 
5698
5827
  function applyMainMenuMods() {
@@ -5724,12 +5853,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
5724
5853
  };
5725
5854
  var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
5726
5855
 
5727
- var css$9 = {"global-menu-btn":"xHcAA4","globalMenuBtn":"xHcAA4","global-menu-icon":"ZZ0NV5","globalMenuIcon":"ZZ0NV5"};
5856
+ var css$9 = {"global-menu-btn":"_7Y3hFc","globalMenuBtn":"_7Y3hFc","global-menu-icon":"IhinSn","globalMenuIcon":"IhinSn"};
5728
5857
 
5729
5858
  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 },
5730
5859
  React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
5731
5860
 
5732
- var css$8 = {"container":"rlYaHu","open":"dg1dOo","folding-arrow":"vbDCe1","foldingArrow":"vbDCe1"};
5861
+ var css$8 = {"container":"lO5Him","open":"VTrHfo","folding-arrow":"y74cEG","foldingArrow":"y74cEG"};
5733
5862
 
5734
5863
  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 },
5735
5864
  React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
@@ -5737,15 +5866,15 @@ const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
5737
5866
  props.isDropdown && (React__namespace.createElement("div", null,
5738
5867
  React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
5739
5868
 
5740
- var css$7 = {"search-input":"aRXFjU","searchInput":"aRXFjU"};
5869
+ var css$7 = {"search-input":"xu7NSx","searchInput":"xu7NSx"};
5741
5870
 
5742
5871
  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 })) })));
5743
5872
 
5744
- var css$6 = {"container":"hyXzI4"};
5873
+ var css$6 = {"container":"vxSSzb"};
5745
5874
 
5746
5875
  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 })));
5747
5876
 
5748
- var css$5 = {"root":"CJivvI"};
5877
+ var css$5 = {"root":"-tLxO2"};
5749
5878
 
5750
5879
  const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
5751
5880
 
@@ -5803,7 +5932,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
5803
5932
  };
5804
5933
  var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
5805
5934
 
5806
- var css$4 = {"root":"_2a6aC-","drop-start":"B2U0ud","dropStart":"B2U0ud","drop-over":"V-EAy5","dropOver":"V-EAy5","link":"_3dIe-E","drop-area":"rdRoFt","dropArea":"rdRoFt","drop-caption":"APzu6R","dropCaption":"APzu6R","icon-blue":"CBwhKR","iconBlue":"CBwhKR"};
5935
+ var css$4 = {"root":"mN1Gjg","drop-start":"FEMtJb","dropStart":"FEMtJb","drop-over":"_7cmFqo","dropOver":"_7cmFqo","link":"_5WohnP","drop-area":"xKURY-","dropArea":"xKURY-","drop-caption":"lP5SCF","dropCaption":"lP5SCF","icon-blue":"gs4mGN","iconBlue":"gs4mGN"};
5807
5936
 
5808
5937
  function DropSpot(props) {
5809
5938
  const getInfoText = typeof props.infoText === 'string'
@@ -5821,7 +5950,7 @@ function DropSpot(props) {
5821
5950
  return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
5822
5951
  }
5823
5952
 
5824
- var css$3 = {"root":"aZa3pC"};
5953
+ var css$3 = {"root":"HyZm4g"};
5825
5954
 
5826
5955
  const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
5827
5956
  const outsetRadius = props.size / 2 - 1;
@@ -5832,7 +5961,7 @@ const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref
5832
5961
  React__namespace.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
5833
5962
  });
5834
5963
 
5835
- var css$2 = {"root":"l-KkEK","file-name":"T-lQVT","fileName":"T-lQVT","default-color":"SLuifX","defaultColor":"SLuifX","doc-color":"eC7cqO","docColor":"eC7cqO","xls-color":"iqyqLf","xlsColor":"iqyqLf","pdf-color":"ECFGME","pdfColor":"ECFGME","movie-color":"Gr8Cjs","movieColor":"Gr8Cjs","img-color":"_0L4iqL","imgColor":"_0L4iqL","mov-color":"GQ-0pz","movColor":"GQ-0pz","error-block":"_0P3G9Z","errorBlock":"_0P3G9Z","icons-block":"rhmwad","iconsBlock":"rhmwad"};
5964
+ var css$2 = {"root":"NmvPaQ","file-name":"-d4DxY","fileName":"-d4DxY","default-color":"epcNaA","defaultColor":"epcNaA","doc-color":"ntMF3f","docColor":"ntMF3f","xls-color":"aZ4rNx","xlsColor":"aZ4rNx","pdf-color":"pLG29X","pdfColor":"pLG29X","movie-color":"xEh2xz","movieColor":"xEh2xz","img-color":"AqsGH0","imgColor":"AqsGH0","mov-color":"NqRUSc","movColor":"NqRUSc","error-block":"hbccqf","errorBlock":"hbccqf","icons-block":"ls-IyX","iconsBlock":"ls-IyX"};
5836
5965
 
5837
5966
  const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
5838
5967
  const [isLoadingShow, setIsLoadingShow] = React__namespace.useState(true);
@@ -5951,7 +6080,7 @@ const getErrorPageConfig = () => ({
5951
6080
  },
5952
6081
  });
5953
6082
 
5954
- var css$1 = {"container":"_1izzyN"};
6083
+ var css$1 = {"container":"i1fiTJ"};
5955
6084
 
5956
6085
  const ErrorPage = (props) => {
5957
6086
  const isMobileScreen = uuiCore.isMobile();
@@ -5963,7 +6092,7 @@ const ErrorPage = (props) => {
5963
6092
  props?.supportLink && React__namespace.default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
5964
6093
  };
5965
6094
 
5966
- var css = {"recovery-spinner":"-KL8no","recoverySpinner":"-KL8no","recovery-message":"ApZ9Nl","recoveryMessage":"ApZ9Nl","modal-blocker":"DRshx5","modalBlocker":"DRshx5","modalFadeIn":"EWPamP"};
6095
+ var css = {"recovery-spinner":"wLKQLK","recoverySpinner":"wLKQLK","recovery-message":"ar3H23","recoveryMessage":"ar3H23","modal-blocker":"GO1LaW","modalBlocker":"GO1LaW","modalFadeIn":"N9-knf"};
5967
6096
 
5968
6097
  function ErrorHandler(props) {
5969
6098
  const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();