@epam/uui 6.2.0-alpha.2 → 6.2.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 (36) hide show
  1. package/components/buttons/LinkButton.d.ts +2 -2
  2. package/components/buttons/LinkButton.d.ts.map +1 -1
  3. package/components/buttons/TabButton.d.ts +2 -2
  4. package/components/buttons/TabButton.d.ts.map +1 -1
  5. package/components/buttons/VerticalTabButton.d.ts +61 -4
  6. package/components/buttons/VerticalTabButton.d.ts.map +1 -1
  7. package/components/filters/PresetPanel/Preset.d.ts +1 -0
  8. package/components/filters/PresetPanel/Preset.d.ts.map +1 -1
  9. package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +1 -0
  10. package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -1
  11. package/components/filters/PresetPanel/PresetsPanel.d.ts +2 -0
  12. package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
  13. package/components/layout/Tree.d.ts +41 -0
  14. package/components/layout/Tree.d.ts.map +1 -0
  15. package/components/layout/index.d.ts +1 -0
  16. package/components/layout/index.d.ts.map +1 -1
  17. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +5 -5
  18. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -1
  19. package/components/navigation/MainMenu/MainMenuButton.d.ts +3 -3
  20. package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -1
  21. package/components/navigation/MainMenu/MainMenuDropdown.d.ts +2 -4
  22. package/components/navigation/MainMenu/MainMenuDropdown.d.ts.map +1 -1
  23. package/components/navigation/index.d.ts +1 -0
  24. package/components/navigation/index.d.ts.map +1 -1
  25. package/components/overlays/DropdownMenu.d.ts.map +1 -1
  26. package/components/pickers/PickerItem.d.ts.map +1 -1
  27. package/index.esm.js +510 -406
  28. package/index.esm.js.map +1 -1
  29. package/index.js +514 -401
  30. package/index.js.map +1 -1
  31. package/package.json +5 -5
  32. package/settings.d.ts +16 -1
  33. package/settings.d.ts.map +1 -1
  34. package/stats.html +1 -1
  35. package/styles.css +3054 -2921
  36. package/styles.css.map +1 -1
package/index.js CHANGED
@@ -154,7 +154,9 @@ var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref)
154
154
  viewBox: "0 0 24 24",
155
155
  ref: ref
156
156
  }, props), _path$K || (_path$K = /*#__PURE__*/React__namespace.createElement("path", {
157
- d: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20z"
157
+ fillRule: "evenodd",
158
+ d: "M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z",
159
+ clipRule: "evenodd"
158
160
  })));
159
161
  };
160
162
  var ForwardRef$K = /*#__PURE__*/React.forwardRef(SvgNotificationInfoOutline);
@@ -169,7 +171,9 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
169
171
  viewBox: "0 0 24 24",
170
172
  ref: ref
171
173
  }, props), _path$J || (_path$J = /*#__PURE__*/React__namespace.createElement("path", {
172
- d: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22z"
174
+ fillRule: "evenodd",
175
+ d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z",
176
+ clipRule: "evenodd"
173
177
  })));
174
178
  };
175
179
  var ForwardRef$J = /*#__PURE__*/React.forwardRef(SvgNotificationInfoFill);
@@ -185,7 +189,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
185
189
  xmlns: "http://www.w3.org/2000/svg",
186
190
  ref: ref
187
191
  }, props), /*#__PURE__*/React__namespace.createElement("g", {
188
- clipPath: "url(#so5rmad7rvcg4bjgm_a)"
192
+ clipPath: "url(#yqxngil7x52qx4twn_a)"
189
193
  }, _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
190
194
  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",
191
195
  fill: "#F5F6FA"
@@ -206,7 +210,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
206
210
  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",
207
211
  fill: "#1D1E26"
208
212
  })), /*#__PURE__*/React__namespace.createElement("mask", {
209
- id: "so5rmaiu52j68aqp_b",
213
+ id: "yqxngibavdrndpbws_b",
210
214
  style: {
211
215
  maskType: "alpha"
212
216
  },
@@ -219,7 +223,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
219
223
  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",
220
224
  fill: "#9BDEFF"
221
225
  }))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
222
- mask: "url(#so5rmaiu52j68aqp_b)",
226
+ mask: "url(#yqxngibavdrndpbws_b)",
223
227
  fillRule: "evenodd",
224
228
  clipRule: "evenodd"
225
229
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -305,7 +309,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
305
309
  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",
306
310
  fill: "#fff"
307
311
  }))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
308
- id: "so5rmad7rvcg4bjgm_a"
312
+ id: "yqxngil7x52qx4twn_a"
309
313
  }, /*#__PURE__*/React__namespace.createElement("path", {
310
314
  fill: "#fff",
311
315
  transform: "translate(.552)",
@@ -793,7 +797,7 @@ var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
793
797
  ref: ref
794
798
  }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
795
799
  fillRule: "evenodd",
796
- d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm1.8 18H14l-2-3.4-2 3.4H8.2l2.9-4.5L8.2 11H10l2 3.4 2-3.4h1.8l-2.9 4.5 2.9 4.5zM13 9V3.5L18.5 9H13z",
800
+ d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm2 16-1.5 1.5L12 17l-2.5 2.5L8 18l2.5-2.5L8 13l1.5-1.5L12 14l2.5-2.5L16 13l-2.5 2.5L16 18zm-3-9V3.5L18.5 9H13z",
797
801
  clipRule: "evenodd"
798
802
  })));
799
803
  };
@@ -843,10 +847,10 @@ var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
843
847
  viewBox: "0 0 24 24",
844
848
  ref: ref
845
849
  }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
846
- d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
850
+ d: "m14 15-5 3v-6l5 3z"
847
851
  })), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
848
852
  fillRule: "evenodd",
849
- d: "M4 4c0-1.11.89-2 2-2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4zm9-.5V9h5.5L13 3.5zM8.5 9.138v9.724L17.008 14 8.5 9.138z",
853
+ d: "M4 4c0-1.11.89-2 2-2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4zm9-.5V9h5.5L13 3.5zM8 10v10l8-5-8-5z",
850
854
  clipRule: "evenodd"
851
855
  })));
852
856
  };
@@ -863,7 +867,7 @@ var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
863
867
  ref: ref
864
868
  }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
865
869
  fillRule: "evenodd",
866
- d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm-4 17H7v-2h3v2zm0-3H7v-2h3v2zm0-3H7v-2h3v2zm4 6h-3v-2h3v2zm0-3h-3v-2h3v2zm0-3h-3v-2h3v2zm-1-4V3.5L18.5 9H13z",
870
+ d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zM9 19H6v-2h3v2zm0-3H6v-2h3v2zm0-3H6v-2h3v2zm4 6h-3v-2h3v2zm0-3h-3v-2h3v2zm0-3h-3v-2h3v2zm0-4V3.5L18.5 9H13z",
867
871
  clipRule: "evenodd"
868
872
  })));
869
873
  };
@@ -956,14 +960,14 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
956
960
  };
957
961
  var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
958
962
 
959
- var css$1w = {"root":"swtubk","uui-spinner":"vlpq4m","uuiSpinner":"vlpq4m"};
963
+ var css$1w = {"root":"hg0ux0","uui-spinner":"dLpTPh","uuiSpinner":"dLpTPh"};
960
964
 
961
965
  function applySpinnerMods() {
962
966
  return [css$1w.root, 'uui-spinner'];
963
967
  }
964
968
  const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
965
969
 
966
- var css$1v = {"root":"_3kDq7o","loading-word":"prJ-cY","loadingWord":"prJ-cY","animated-loading":"AFTQa1","animatedLoading":"AFTQa1","skeleton_loading":"r7ke0l","skeletonLoading":"r7ke0l"};
970
+ var css$1v = {"root":"StHx2D","loading-word":"n2b-qa","loadingWord":"n2b-qa","animated-loading":"_90z0qL","animatedLoading":"_90z0qL","skeleton_loading":"_28XDvH","skeletonLoading":"_28XDvH"};
967
971
 
968
972
  const TextPlaceholder = (props) => {
969
973
  const pattern = ' ';
@@ -980,7 +984,7 @@ const TextPlaceholder = (props) => {
980
984
  ]), dangerouslySetInnerHTML: { __html: it } })))));
981
985
  };
982
986
 
983
- var css$1u = {"root":"-f8lAu","line-height":"ZdVCMv","lineHeight":"ZdVCMv","font-size":"oPBD61","fontSize":"oPBD61"};
987
+ var css$1u = {"root":"_57AaT8","line-height":"QBtxhX","lineHeight":"QBtxhX","font-size":"_21cBsU","fontSize":"_21cBsU"};
984
988
 
985
989
  function applyTextMods(mods) {
986
990
  return [
@@ -1007,7 +1011,7 @@ const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, appl
1007
1011
  };
1008
1012
  });
1009
1013
 
1010
- var css$1t = {"root":"BESAnm"};
1014
+ var css$1t = {"root":"jGr-EP"};
1011
1015
 
1012
1016
  const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$1t.root], () => ({ renderSpinner: settings.blocker.renderSpinner }));
1013
1017
 
@@ -1418,6 +1422,22 @@ const tabButtonSettings = {
1418
1422
  },
1419
1423
  },
1420
1424
  };
1425
+ const verticalTabButtonSettings = {
1426
+ icons: {
1427
+ clearIcon: ForwardRef$Q,
1428
+ foldingIcon: ForwardRef$P,
1429
+ dropdownIcon: ForwardRef$P,
1430
+ },
1431
+ sizes: {
1432
+ default: '48',
1433
+ countIndicatorMap: {
1434
+ 30: '18',
1435
+ 36: '18',
1436
+ 48: '18',
1437
+ },
1438
+ },
1439
+ weight: 'semibold',
1440
+ };
1421
1441
  const tagSettings = {
1422
1442
  icons: {
1423
1443
  clearIcon: ForwardRef$Q,
@@ -1489,13 +1509,14 @@ const settings = {
1489
1509
  statusIndicator: statusIndicatorSettings,
1490
1510
  switch: switchSettings,
1491
1511
  tabButton: tabButtonSettings,
1512
+ verticalTabButton: verticalTabButtonSettings,
1492
1513
  tag: tagSettings,
1493
1514
  text: textSettings,
1494
1515
  textArea: textAreaSettings,
1495
1516
  textInput: textInputSettings,
1496
1517
  };
1497
1518
 
1498
- var css$1s = {"root":"nLqJ4E"};
1519
+ var css$1s = {"root":"SR8RJb"};
1499
1520
 
1500
1521
  function applyButtonMods(mods) {
1501
1522
  return [
@@ -1513,7 +1534,7 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
1513
1534
  };
1514
1535
  });
1515
1536
 
1516
- var css$1r = {"root":"S-UB7B"};
1537
+ var css$1r = {"root":"_1dZe0N"};
1517
1538
 
1518
1539
  function applyIconButtonMods(props) {
1519
1540
  return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1r.root];
@@ -1550,7 +1571,7 @@ function getIconClass(props) {
1550
1571
  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'];
1551
1572
  }
1552
1573
 
1553
- var css$1q = {"root":"_99KD6-"};
1574
+ var css$1q = {"root":"_1EyVrV"};
1554
1575
 
1555
1576
  const DEFAULT_COLOR = 'primary';
1556
1577
  const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
@@ -1580,7 +1601,7 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
1580
1601
  props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
1581
1602
  });
1582
1603
 
1583
- var css$1p = {"root":"iaCqV2"};
1604
+ var css$1p = {"root":"nDrvBH"};
1584
1605
 
1585
1606
  const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1586
1607
  return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
@@ -1592,10 +1613,16 @@ const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1592
1613
  ]) }, props.caption));
1593
1614
  });
1594
1615
 
1595
- var css$1o = {"root":"sufzmE","withNotify":"_8Iqyd7"};
1616
+ var css$1o = {"root":"yeDi6j","withNotify":"_0sIeUG"};
1596
1617
 
1597
1618
  const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
1619
+ const { isActive } = uuiCore.useIsActive({
1620
+ isLinkActive: props.isLinkActive,
1621
+ link: props.link,
1622
+ isActive: props.isActive,
1623
+ });
1598
1624
  const styles = [
1625
+ isActive && uuiCore.uuiMod.active,
1599
1626
  css$1o.root,
1600
1627
  'uui-tab-button',
1601
1628
  `uui-size-${props.size || settings.tabButton.sizes.default}`,
@@ -1620,18 +1647,134 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
1620
1647
  props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
1621
1648
  });
1622
1649
 
1623
- var css$1n = {"root":"Uz3QsF"};
1650
+ var css$1n = {"root":"fjU1aJ","noLeftPadding":"IMErJL","foldingArea":"Dq35m6","onlyFoldable":"_5yB0ZL","captionWrapper":"y9Xln-","withNotify":"DyWm7v"};
1651
+
1652
+ var css$1m = {"root":"vfgS47"};
1653
+
1654
+ const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$1m.root]);
1655
+
1656
+ var css$1l = {"root":"WcDOil"};
1657
+
1658
+ const DEFAULT_FILL = 'solid';
1659
+ function applyBadgeMods(mods) {
1660
+ return [
1661
+ 'uui-badge',
1662
+ css$1l.root,
1663
+ `uui-size-${mods.size || settings.badge.sizes.default}`,
1664
+ `uui-fill-${mods.fill || DEFAULT_FILL}`,
1665
+ `uui-color-${mods.color || 'info'}`,
1666
+ ];
1667
+ }
1668
+ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
1669
+ const styles = [applyBadgeMods(props), props.cx];
1670
+ const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.badge.icons.dropdownIcon;
1671
+ return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
1672
+ 'aria-haspopup': props.isDropdown,
1673
+ 'aria-expanded': props.isOpen,
1674
+ ...props.rawProps,
1675
+ }, cx: styles, ref: ref },
1676
+ (props.indicator && props.fill === 'outline') && (React__namespace.default.createElement("div", { className: "uui-indicator" })),
1677
+ props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
1678
+ props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
1679
+ props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.badge.sizes.countIndicatorMap[props.size || settings.badge.sizes.default], caption: props.count })),
1680
+ props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
1681
+ props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
1682
+ });
1683
+
1684
+ var css$1k = {"root":"kPrZII"};
1624
1685
 
1625
- function applyVerticalTabButtonMods() {
1626
- return [css$1n.root, 'uui-vertical-tab-button'];
1686
+ function applyTagMods(props) {
1687
+ return [
1688
+ css$1k.root,
1689
+ `uui-size-${props.size || settings.tag.sizes.default}`,
1690
+ `uui-color-${props.color || 'neutral'}`,
1691
+ `uui-fill-${props.fill || 'solid'}`,
1692
+ 'uui-tag',
1693
+ ];
1627
1694
  }
1628
- const VerticalTabButton = /* @__PURE__ */uuiCore.withMods(TabButton, applyVerticalTabButtonMods);
1695
+ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
1696
+ const styles = [applyTagMods(props), props.cx];
1697
+ const ClearIcon = props.clearIcon ? props.clearIcon : settings.tag.icons.clearIcon;
1698
+ const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tag.icons.dropdownIcon;
1699
+ return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
1700
+ 'aria-haspopup': props.isDropdown,
1701
+ 'aria-expanded': props.isOpen,
1702
+ ...props.rawProps,
1703
+ }, cx: styles, ref: ref },
1704
+ props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
1705
+ props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
1706
+ 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 })),
1707
+ props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
1708
+ props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
1709
+ props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
1710
+ });
1629
1711
 
1630
- var css$1m = {"root":"Y4vjCx"};
1712
+ var css$1j = {"root":"Elp8Rf","page":"zQw1gf","spacer":"S9RWzE","mode-ghost":"nQX-4b","modeGhost":"nQX-4b"};
1713
+
1714
+ function Paginator(props) {
1715
+ 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 },
1716
+ 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" }),
1717
+ params.pages.map((page, index) => {
1718
+ if (page.type === 'spacer') {
1719
+ 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 }));
1720
+ }
1721
+ else {
1722
+ 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 }));
1723
+ }
1724
+ }),
1725
+ 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" })));
1726
+ return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
1727
+ }
1728
+
1729
+ var css$1i = {"root":"vhIxQ9","progress-bar":"pozs0V","progressBar":"pozs0V","progressBar-indeterminate":"gRJ3yy","progressBarIndeterminate":"gRJ3yy","size-12":"Gi2A94","size12":"Gi2A94","size-18":"Pr17su","size18":"Pr17su","size-24":"T0nZ95","size24":"T0nZ95"};
1730
+
1731
+ const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
1732
+ return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$1i.root, css$1i[`size-${props.size || 12}`]) },
1733
+ React__namespace.createElement("div", { className: cx__default.default(css$1i.progressBar) })));
1734
+ });
1735
+
1736
+ var css$1h = {"root":"wuzmu-","striped":"JoscLR","animate-stripes":"uqDgIM","animateStripes":"uqDgIM","size-12":"qK3Wno","size12":"qK3Wno","size-18":"ZblyNp","size18":"ZblyNp","size-24":"pG9dMv","size24":"pG9dMv"};
1737
+
1738
+ const DEFAULT_SIZE = '12';
1739
+ function applyProgressBarMods(mods) {
1740
+ const size = mods.size || DEFAULT_SIZE;
1741
+ return [
1742
+ css$1h.root,
1743
+ css$1h[`size-${size}`],
1744
+ mods.striped && css$1h.striped,
1745
+ ];
1746
+ }
1747
+ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.ProgressBar, applyProgressBarMods, (props) => ({
1748
+ hideLabel: props.hideLabel || props.striped,
1749
+ }));
1750
+
1751
+ var css$1g = {"root":"hpZhtt"};
1752
+
1753
+ const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
1754
+ const { progress } = props;
1755
+ return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$1g.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$1g.root, props.cx) }));
1756
+ });
1757
+
1758
+ var css$1f = {"root":"qUeWV-"};
1759
+
1760
+ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
1761
+ return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
1762
+ css$1f.root,
1763
+ `uui-size-${props.size || settings.statusIndicator.sizes.default}`,
1764
+ 'uui-status_indicator',
1765
+ `uui-color-${props.color || 'neutral'}`,
1766
+ `uui-fill-${props.fill || 'solid'}`,
1767
+ props.cx,
1768
+ ]) },
1769
+ React__namespace.default.createElement("div", { className: "uui-status_indicator-dot" }),
1770
+ React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
1771
+ });
1772
+
1773
+ var css$1e = {"root":"SSMIJB"};
1631
1774
 
1632
1775
  function applyCheckboxMods(mods) {
1633
1776
  return [
1634
- css$1m.root,
1777
+ css$1e.root,
1635
1778
  `uui-size-${mods.size || settings.checkbox.sizes.default}`,
1636
1779
  'uui-control-mode-' + (mods.mode || 'form'),
1637
1780
  'uui-color-primary',
@@ -1645,11 +1788,11 @@ const applyUUICheckboxProps = (props) => {
1645
1788
  };
1646
1789
  const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
1647
1790
 
1648
- var css$1l = {"root":"_2z2Ynu"};
1791
+ var css$1d = {"root":"sL80J9"};
1649
1792
 
1650
1793
  function applyRadioInputMods(mods) {
1651
1794
  return [
1652
- css$1l.root,
1795
+ css$1d.root,
1653
1796
  `uui-size-${mods.size || settings.radioInput.sizes.default}`,
1654
1797
  'uui-radio-input-container',
1655
1798
  'uui-color-primary',
@@ -1657,11 +1800,11 @@ function applyRadioInputMods(mods) {
1657
1800
  }
1658
1801
  const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
1659
1802
 
1660
- var css$1k = {"root":"Pipjeo"};
1803
+ var css$1c = {"root":"Yqq3Qx"};
1661
1804
 
1662
1805
  function applySwitchMods(mods) {
1663
1806
  return [
1664
- css$1k.root,
1807
+ css$1c.root,
1665
1808
  `uui-size-${mods.size || settings.switch.sizes.default}`,
1666
1809
  'uui-color-primary',
1667
1810
  ];
@@ -1681,7 +1824,7 @@ var EditMode;
1681
1824
  EditMode["INLINE"] = "inline";
1682
1825
  })(EditMode || (EditMode = {}));
1683
1826
 
1684
- var textInputCss = {"root":"GaLPp8"};
1827
+ var textInputCss = {"root":"ZrE20o"};
1685
1828
 
1686
1829
  const DEFAULT_MODE$3 = EditMode.FORM;
1687
1830
  function applyTextInputMods(mods) {
@@ -1706,9 +1849,9 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
1706
1849
  } }));
1707
1850
  });
1708
1851
 
1709
- var css$1j = {"root":"jf5GjA"};
1852
+ var css$1b = {"root":"M12JiO"};
1710
1853
 
1711
- const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1j.root, 'uui-control-group']);
1854
+ const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1b.root, 'uui-control-group']);
1712
1855
 
1713
1856
  function MultiSwitchComponent(props, ref) {
1714
1857
  return (React__namespace.createElement(ControlGroup, { ref: ref, rawProps: {
@@ -1722,13 +1865,13 @@ function MultiSwitchComponent(props, ref) {
1722
1865
  }
1723
1866
  const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
1724
1867
 
1725
- var css$1i = {"root":"z2UqEd"};
1868
+ var css$1a = {"root":"Ipri2m"};
1726
1869
 
1727
1870
  const DEFAULT_MODE$2 = EditMode.FORM;
1728
1871
  function applyNumericInputMods(mods) {
1729
1872
  return [
1730
1873
  textInputCss.root,
1731
- css$1i.root,
1874
+ css$1a.root,
1732
1875
  `uui-size-${mods.size || settings.numericInput.sizes.default}`,
1733
1876
  'uui-control-mode-' + (mods.mode || DEFAULT_MODE$2),
1734
1877
  ];
@@ -1742,12 +1885,12 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
1742
1885
  };
1743
1886
  });
1744
1887
 
1745
- var css$1h = {"root":"ea7fge"};
1888
+ var css$19 = {"root":"tBbHl2"};
1746
1889
 
1747
1890
  const DEFAULT_MODE$1 = EditMode.FORM;
1748
1891
  function applyTextAreaMods(mods) {
1749
1892
  return [
1750
- css$1h.root,
1893
+ css$19.root,
1751
1894
  'uui-textarea',
1752
1895
  'uui-size-' + (mods.size || settings.textArea.sizes.default),
1753
1896
  'uui-control-mode-' + (mods.mode || DEFAULT_MODE$1),
@@ -1783,18 +1926,18 @@ function TREE_SHAKEABLE_INIT$1() {
1783
1926
  };
1784
1927
  }
1785
1928
 
1786
- var css$1g = {"root":"_9V3CJL"};
1929
+ var css$18 = {"root":"tVEelg"};
1787
1930
 
1788
1931
  function applyDropdownContainerMods(mods) {
1789
1932
  return [
1790
- css$1g.root,
1933
+ css$18.root,
1791
1934
  mods.vPadding && `vPadding-${mods.vPadding}`,
1792
1935
  mods.padding && `padding-${mods.padding}`,
1793
1936
  ];
1794
1937
  }
1795
1938
  const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
1796
1939
 
1797
- var css$1f = {"root":"ZFPYkY","timepicker-input":"L1dcBo","timepickerInput":"L1dcBo","ltr-always":"K2reK4","ltrAlways":"K2reK4"};
1940
+ var css$17 = {"root":"v6lTlF","timepicker-input":"snWvI4","timepickerInput":"snWvI4","ltr-always":"ZOQ3cu","ltrAlways":"ZOQ3cu"};
1798
1941
 
1799
1942
  const uuiTimePicker = {
1800
1943
  container: 'uui-timepicker-container',
@@ -1833,8 +1976,8 @@ function TimePickerBody(props) {
1833
1976
  const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
1834
1977
  onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
1835
1978
  };
1836
- return (React__namespace.createElement("div", { className: uuiCore.cx(css$1f.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef, ...props.rawProps },
1837
- React__namespace.createElement("div", { className: css$1f.ltrAlways },
1979
+ return (React__namespace.createElement("div", { className: uuiCore.cx(css$17.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef, ...props.rawProps },
1980
+ React__namespace.createElement("div", { className: css$17.ltrAlways },
1838
1981
  React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
1839
1982
  React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).add(1, 'h').hour()) }),
1840
1983
  React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
@@ -1977,7 +2120,7 @@ function TimePickerComponent(props, ref) {
1977
2120
  state.value && state.inputValue && saveTime(state.value);
1978
2121
  };
1979
2122
  const renderInput = (inputProps) => {
1980
- return (React__namespace.default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size, isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$1f.root, css$1f.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 }));
2123
+ 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 }));
1981
2124
  };
1982
2125
  const renderBody = (bodyProps) => {
1983
2126
  const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
@@ -1988,37 +2131,37 @@ function TimePickerComponent(props, ref) {
1988
2131
  }
1989
2132
  const TimePicker = /* @__PURE__ */React__namespace.default.forwardRef(TimePickerComponent);
1990
2133
 
1991
- var css$1e = {"root":"FYglS-"};
2134
+ var css$16 = {"root":"MmwXUN"};
1992
2135
 
1993
2136
  function applyInputAddonMods() {
1994
2137
  return [
1995
- css$1e.root,
2138
+ css$16.root,
1996
2139
  ];
1997
2140
  }
1998
2141
  const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
1999
2142
 
2000
- var css$1d = {"root":"qF5NFi"};
2143
+ var css$15 = {"root":"eD3ydC"};
2001
2144
 
2002
2145
  function applySliderMods() {
2003
- return [css$1d.root, 'uui-color-neutral'];
2146
+ return [css$15.root, 'uui-color-neutral'];
2004
2147
  }
2005
2148
  const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
2006
2149
 
2007
- var css$1c = {"root":"_93wnl5"};
2150
+ var css$14 = {"root":"_4AmZXx"};
2008
2151
 
2009
2152
  function applyTooltipMods(mods) {
2010
2153
  return [
2011
- css$1c.root,
2154
+ css$14.root,
2012
2155
  `uui-color-${mods.color || 'inverted'}`,
2013
2156
  ];
2014
2157
  }
2015
2158
  const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
2016
2159
 
2017
- var css$1b = {"root":"Et68-h","tooltip":"_--dTuc"};
2160
+ var css$13 = {"root":"Cxs-JE","tooltip":"oYTMu4"};
2018
2161
 
2019
2162
  function applyRatingMods(mods) {
2020
2163
  return [
2021
- css$1b.root,
2164
+ css$13.root,
2022
2165
  `uui-size-${mods.size || settings.rating.sizes.default}`,
2023
2166
  ];
2024
2167
  }
@@ -2028,17 +2171,94 @@ const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating,
2028
2171
  Tooltip,
2029
2172
  }));
2030
2173
 
2031
- var css$1a = {"root":"Na7HfU","main-path":"FMXSZt","mainPath":"FMXSZt","content-wrapper":"pyGwR-","contentWrapper":"pyGwR-","content":"GYLwV1","action-wrapper":"vHkcdW","actionWrapper":"vHkcdW","icon-wrapper":"ABKSq-","iconWrapper":"ABKSq-","icon":"avSEz-","close-icon":"-xznB8","closeIcon":"-xznB8"};
2174
+ var css$12 = {"drag-handle-wrapper":"O9g2nI","dragHandleWrapper":"O9g2nI","with-indent":"uDs70V","withIndent":"uDs70V","drag-handle":"b0Eh-1","dragHandle":"b0Eh-1","icon-container":"I62G80","iconContainer":"I62G80"};
2032
2175
 
2033
- const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", { role: "alert", ref: ref, className: cx__default.default('uui-alert', css$1a.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
2034
- React__namespace.createElement("div", { className: css$1a.mainPath },
2035
- React__namespace.createElement("div", { className: css$1a.contentWrapper },
2036
- props.icon && (React__namespace.createElement("div", { className: css$1a.iconWrapper },
2037
- React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$1a.icon }))),
2038
- React__namespace.createElement("div", { className: css$1a.content },
2176
+ function DataRowAddons(props) {
2177
+ const row = props.rowProps;
2178
+ const getIndent = () => {
2179
+ return (row.indent - 1) * settings.dataTable.sizes.body.indentUnitMap[props.size || settings.dataTable.sizes.body.row];
2180
+ };
2181
+ const getWidth = () => {
2182
+ return settings.dataTable.sizes.body.indentWidthMap[props.size || settings.dataTable.sizes.body.row];
2183
+ };
2184
+ const renderDragHandle = () => {
2185
+ if (props.renderDragHandle) {
2186
+ return props.renderDragHandle({ rowProps: props.rowProps, eventHandlers: props.eventHandlers });
2187
+ }
2188
+ 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 },
2189
+ React__namespace.default.createElement(uuiComponents.DragHandle, { cx: css$12.dragHandle })));
2190
+ };
2191
+ return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
2192
+ row.dnd?.srcData && renderDragHandle(),
2193
+ 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 })),
2194
+ 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: {
2195
+ 'aria-label': row.isFolded ? 'Unfold' : 'Fold',
2196
+ role: 'button',
2197
+ }, key: "icon", icon: settings.dataTable.icons.body.foldingIcon, cx: [
2198
+ uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$12.iconContainer,
2199
+ ], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] }))))));
2200
+ }
2201
+
2202
+ function VerticalTabButtonComponent(props, ref) {
2203
+ const { isActive } = uuiCore.useIsActive({
2204
+ isLinkActive: props.isLinkActive,
2205
+ link: props.link,
2206
+ isActive: props.isActive,
2207
+ });
2208
+ const styles = [
2209
+ css$1n.root,
2210
+ 'uui-vertical-tab-button',
2211
+ `uui-size-${props.size || settings.verticalTabButton.sizes.default}`,
2212
+ isActive && uuiCore.uuiMod.active,
2213
+ props.indent > 0 && css$1n.noLeftPadding,
2214
+ !props.onClick && props.onFold && css$1n.onlyFoldable,
2215
+ ...getIconClass(props),
2216
+ props.cx,
2217
+ ];
2218
+ if (props.count !== undefined && props.count !== null) {
2219
+ uuiCore.devLogger.warn('VerticalTabButton: count prop is deprecated. Use renderAddons prop instead.');
2220
+ }
2221
+ if (props.onClear !== undefined && props.onClear !== null) {
2222
+ uuiCore.devLogger.warn('VerticalTabButton: onClear prop is deprecated. Use renderAddons prop instead.');
2223
+ }
2224
+ if (props.clearIcon !== undefined && props.clearIcon !== null) {
2225
+ uuiCore.devLogger.warn('VerticalTabButton: clearIcon prop is deprecated. Use renderAddons prop instead.');
2226
+ }
2227
+ const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.verticalTabButton.icons.dropdownIcon;
2228
+ const ClearIcon = props.clearIcon ? props.clearIcon : settings.verticalTabButton.icons.clearIcon;
2229
+ return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, onClick: props.onClick || props.onFold, rawProps: {
2230
+ role: 'tab',
2231
+ ...props.rawProps,
2232
+ }, cx: styles, ref: ref },
2233
+ props.indent > 0 && (React__namespace.default.createElement("div", { key: "fold", className: uuiCore.cx(css$1n.foldingArea, props.onFold && uuiCore.uuiMarkers.clickable), style: { '--uui-folding-indent': `${props.indent - 1}` }, onClick: props.onFold }, props.isFoldable && (React__namespace.default.createElement(uuiComponents.IconContainer, { rawProps: {
2234
+ 'aria-label': props.isFolded ? 'Unfold' : 'Fold',
2235
+ role: 'button',
2236
+ }, key: "icon", icon: settings.verticalTabButton.icons.foldingIcon, cx: [
2237
+ uuiCore.uuiElement.foldingArrow, css$1n.iconContainer,
2238
+ ], rotate: props.isFolded ? '90ccw' : '0', size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] })))),
2239
+ props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
2240
+ (props.caption || props.withNotify) && (React__namespace.default.createElement("div", { className: css$1n.captionWrapper },
2241
+ props.caption && React__namespace.default.createElement("div", { className: uuiCore.cx(uuiCore.uuiElement.caption, `uui-vertical-tab-button-weight-${props.weight || settings.verticalTabButton.weight}`) }, props.caption),
2242
+ props.withNotify && React__namespace.default.createElement("div", { className: css$1n.withNotify }))),
2243
+ props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
2244
+ props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: "neutral", size: settings.verticalTabButton.sizes.countIndicatorMap[props.size || settings.verticalTabButton.sizes.default], caption: props.count })),
2245
+ props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
2246
+ props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear })),
2247
+ props.renderAddons && props.renderAddons()));
2248
+ }
2249
+ const VerticalTabButton = /* @__PURE__ */React__namespace.default.forwardRef(VerticalTabButtonComponent);
2250
+
2251
+ var css$11 = {"root":"Q2076c","main-path":"PtWhns","mainPath":"PtWhns","content-wrapper":"q0DVA2","contentWrapper":"q0DVA2","content":"lA2ze0","action-wrapper":"EVYECe","actionWrapper":"EVYECe","icon-wrapper":"oVoOfy","iconWrapper":"oVoOfy","icon":"Mqzicb","close-icon":"ZezkoQ","closeIcon":"ZezkoQ"};
2252
+
2253
+ const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", { role: "alert", ref: ref, className: cx__default.default('uui-alert', css$11.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
2254
+ React__namespace.createElement("div", { className: css$11.mainPath },
2255
+ React__namespace.createElement("div", { className: css$11.contentWrapper },
2256
+ props.icon && (React__namespace.createElement("div", { className: css$11.iconWrapper },
2257
+ React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$11.icon }))),
2258
+ React__namespace.createElement("div", { className: css$11.content },
2039
2259
  props.children,
2040
- props.actions && (React__namespace.createElement("div", { className: css$1a.actionWrapper }, props.actions.map((action) => (React__namespace.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$1a.actionLink, size: settings.alert.sizes.actionMap[props.size || settings.alert.sizes.default] }))))))),
2041
- props.onClose && React__namespace.createElement(IconButton, { icon: settings.alert.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$1a.closeIcon })))));
2260
+ props.actions && (React__namespace.createElement("div", { className: css$11.actionWrapper }, props.actions.map((action) => (React__namespace.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$11.actionLink, size: settings.alert.sizes.actionMap[props.size || settings.alert.sizes.default] }))))))),
2261
+ props.onClose && React__namespace.createElement(IconButton, { icon: settings.alert.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$11.closeIcon })))));
2042
2262
  const WarningAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.warningIcon, color: "warning", ref: ref, ...props }));
2043
2263
  const SuccessAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.successIcon, color: "success", ref: ref, ...props }));
2044
2264
  const HintAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.infoIcon, color: "info", ref: ref, ...props }));
@@ -2046,7 +2266,7 @@ const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => Re
2046
2266
 
2047
2267
  const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
2048
2268
 
2049
- var css$19 = {"submenu-root-item-rtl":"pHdw-T","submenuRootItemRtl":"pHdw-T","icon-after":"OJyC0Z","iconAfter":"OJyC0Z","submenu-root-item":"cLB58e","submenuRootItem":"cLB58e","icon-check":"kC8EPl","iconCheck":"kC8EPl","splitter-root":"AMC0-5","splitterRoot":"AMC0-5","splitter":"uOIGWU","header-root":"j6mtyh","headerRoot":"j6mtyh","item-root":"fK5YiL","itemRoot":"fK5YiL","icon":"xM4vuV","link":"JP1ipM","indent":"HMKspL","selected-mark":"w1PiCh","selectedMark":"w1PiCh"};
2269
+ var css$10 = {"submenu-root-item-rtl":"YpFLUa","submenuRootItemRtl":"YpFLUa","icon-after":"NhGFmF","iconAfter":"NhGFmF","submenu-root-item":"_7--gFj","submenuRootItem":"_7--gFj","icon-check":"mnjr0c","iconCheck":"mnjr0c","splitter-root":"fHWLWD","splitterRoot":"fHWLWD","splitter":"IJDpbg","header-root":"-rFZXp","headerRoot":"-rFZXp","item-root":"APUUt-","itemRoot":"APUUt-","icon":"_7og0ci","link":"_1Nzp0S","indent":"Zawp1N","selected-mark":"ptEhwV","selectedMark":"ptEhwV"};
2050
2270
 
2051
2271
  exports.IDropdownControlKeys = void 0;
2052
2272
  (function (IDropdownControlKeys) {
@@ -2111,29 +2331,29 @@ const DropdownMenuButton = /* @__PURE__ */React__namespace.default.forwardRef((p
2111
2331
  const getMenuButtonContent = () => {
2112
2332
  const isIconBefore = Boolean(icon && iconPosition !== 'right');
2113
2333
  const isIconAfter = Boolean(icon && iconPosition === 'right');
2114
- const iconElement = (React__namespace.default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: uuiCore.cx(css$19.icon, iconPosition === 'right' ? css$19.iconAfter : css$19.iconBefore) }));
2334
+ const iconElement = (React__namespace.default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: uuiCore.cx(css$10.icon, iconPosition === 'right' ? css$10.iconAfter : css$10.iconBefore) }));
2115
2335
  return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
2116
2336
  isIconBefore && iconElement,
2117
- React__namespace.default.createElement(uuiComponents.Text, { cx: props.indent && css$19.indent }, caption),
2337
+ React__namespace.default.createElement(uuiComponents.Text, { cx: props.indent && css$10.indent }, caption),
2118
2338
  isIconAfter && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
2119
2339
  React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
2120
2340
  iconElement))));
2121
2341
  };
2122
2342
  const isAnchor = Boolean(link || href);
2123
- const itemClassNames = uuiCore.cx(props.cx, css$19.itemRoot, isDisabled && uuiCore.uuiMod.disabled, isActive && uuiCore.uuiMod.active, isOpen && uuiCore.uuiMod.opened, (!isDisabled && onClick) && uuiCore.uuiMarkers.clickable);
2124
- return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(css$19.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__namespace.default.createElement("div", { tabIndex: isDisabled ? -1 : 0, role: "menuitem", onKeyDown: isDisabled ? null : handleOpenDropdown, className: itemClassNames, onClick: handleClick, ref: ref },
2343
+ const itemClassNames = uuiCore.cx(props.cx, css$10.itemRoot, isDisabled && uuiCore.uuiMod.disabled, isActive && uuiCore.uuiMod.active, isOpen && uuiCore.uuiMod.opened, (!isDisabled && onClick) && uuiCore.uuiMarkers.clickable);
2344
+ return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(css$10.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__namespace.default.createElement("div", { tabIndex: isDisabled ? -1 : 0, role: "menuitem", onKeyDown: isDisabled ? null : handleOpenDropdown, className: itemClassNames, onClick: handleClick, ref: ref },
2125
2345
  getMenuButtonContent(),
2126
2346
  isSelected && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
2127
2347
  React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
2128
- React__namespace.default.createElement(uuiComponents.IconContainer, { icon: settings.dropdownMenu.icons.acceptIcon, cx: css$19.selectedMark })))));
2348
+ React__namespace.default.createElement(uuiComponents.IconContainer, { icon: settings.dropdownMenu.icons.acceptIcon, cx: css$10.selectedMark })))));
2129
2349
  });
2130
2350
  function DropdownMenuSplitter(props) {
2131
- return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$19.splitterRoot) },
2132
- React__namespace.default.createElement("hr", { className: css$19.splitter })));
2351
+ return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$10.splitterRoot) },
2352
+ React__namespace.default.createElement("hr", { className: css$10.splitter })));
2133
2353
  }
2134
2354
  function DropdownMenuHeader(props) {
2135
- return (React__namespace.default.createElement("div", { className: uuiCore.cx('uui-dropdown-menu-header', props.cx, css$19.headerRoot) },
2136
- React__namespace.default.createElement("span", { className: css$19.header }, props.caption)));
2355
+ return (React__namespace.default.createElement("div", { className: uuiCore.cx('uui-dropdown-menu-header', props.cx, css$10.headerRoot) },
2356
+ React__namespace.default.createElement("span", { className: css$10.header }, props.caption)));
2137
2357
  }
2138
2358
  function DropdownSubMenu(props) {
2139
2359
  const subMenuMiddleware = [
@@ -2148,7 +2368,7 @@ function DropdownSubMenu(props) {
2148
2368
  }),
2149
2369
  ];
2150
2370
  const isRtl = uuiCore.getDir() === 'rtl';
2151
- return (React__namespace.default.createElement(uuiComponents.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: isRtl ? 'left-start' : 'right-start', middleware: subMenuMiddleware, renderBody: (dropdownProps) => !props.isDisabled && (React__namespace.default.createElement(DropdownMenuBody, { closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW, ...props, ...dropdownProps })), renderTarget: ({ toggleDropdownOpening, ...targetProps }) => (React__namespace.default.createElement(DropdownMenuButton, { cx: uuiCore.cx(isRtl ? css$19.submenuRootItemRtl : css$19.submenuRootItem), icon: settings.dropdownMenu.icons.dropdownIcon, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
2371
+ return (React__namespace.default.createElement(uuiComponents.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: isRtl ? 'left-start' : 'right-start', middleware: subMenuMiddleware, renderBody: (dropdownProps) => !props.isDisabled && (React__namespace.default.createElement(DropdownMenuBody, { closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW, ...props, ...dropdownProps })), renderTarget: ({ toggleDropdownOpening, ...targetProps }) => (React__namespace.default.createElement(DropdownMenuButton, { cx: uuiCore.cx(isRtl ? css$10.submenuRootItemRtl : css$10.submenuRootItem), icon: settings.dropdownMenu.icons.dropdownIcon, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
2152
2372
  }
2153
2373
  function DropdownMenuSwitchButton(props) {
2154
2374
  const context = React.useContext(uuiCore.UuiContext);
@@ -2164,29 +2384,29 @@ function DropdownMenuSwitchButton(props) {
2164
2384
  onHandleValueChange(!isSelected);
2165
2385
  }
2166
2386
  };
2167
- return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$19.itemRoot, isDisabled && uuiCore.uuiMod.disabled, (!isDisabled || onValueChange) && uuiCore.uuiMarkers.clickable), onClick: () => onHandleValueChange(!isSelected), role: "menuitem", onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 },
2168
- icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$19.iconBefore }),
2387
+ return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$10.itemRoot, isDisabled && uuiCore.uuiMod.disabled, (!isDisabled || onValueChange) && uuiCore.uuiMarkers.clickable), onClick: () => onHandleValueChange(!isSelected), role: "menuitem", onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 },
2388
+ icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$10.iconBefore }),
2169
2389
  React__namespace.default.createElement(uuiComponents.Text, null, caption),
2170
2390
  React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
2171
2391
  React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
2172
2392
  }
2173
2393
 
2174
- var css$18 = {"root":"DQqkrY","mode-block":"fH2y0y","modeBlock":"fH2y0y","mode-inline":"YWNF9y","modeInline":"YWNF9y","padding-0":"enL-As","padding0":"enL-As","padding-6":"sWbbVt","padding6":"sWbbVt","padding-12":"K1vr99","padding12":"K1vr99","padding-18":"pWlHbT","padding18":"pWlHbT"};
2394
+ var css$$ = {"root":"mVBoLW","mode-block":"xr5Q3f","modeBlock":"xr5Q3f","mode-inline":"UZQL88","modeInline":"UZQL88","padding-0":"vIjOHF","padding0":"vIjOHF","padding-6":"FByQid","padding6":"FByQid","padding-12":"_2gjjpE","padding12":"_2gjjpE","padding-18":"_0ZnoQj","padding18":"_0ZnoQj"};
2175
2395
 
2176
2396
  function applyAccordionMods(mods) {
2177
2397
  return [
2178
- css$18.root,
2179
- css$18[`mode-${mods.mode || 'block'}`],
2180
- mods.padding && css$18['padding-' + mods.padding],
2398
+ css$$.root,
2399
+ css$$[`mode-${mods.mode || 'block'}`],
2400
+ mods.padding && css$$['padding-' + mods.padding],
2181
2401
  ];
2182
2402
  }
2183
2403
  const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accordion, applyAccordionMods, (mods) => ({
2184
2404
  dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
2185
2405
  }));
2186
2406
 
2187
- var css$17 = {"root":"_1C6hvv","align-items":"viT8-O","alignItems":"viT8-O","justify-content":"uOw0I-","justifyContent":"uOw0I-","border-top":"_6uwZpp","borderTop":"_6uwZpp","border-bottom":"ed3zce","borderBottom":"ed3zce","top-shadow":"uRcfIV","topShadow":"uRcfIV","padding":"-C766q","margin":"_5WiaVm","vPadding":"XnKodA","column-gap":"ihuVkq","columnGap":"ihuVkq","row-gap":"_3HiCpt","rowGap":"_3HiCpt","spacing":"_0G0CWH"};
2407
+ var css$_ = {"root":"or-LGB","align-items":"gQavrR","alignItems":"gQavrR","justify-content":"_5R-bAR","justifyContent":"_5R-bAR","border-top":"EXawvI","borderTop":"EXawvI","border-bottom":"Jr1DA2","borderBottom":"Jr1DA2","top-shadow":"mLDNO8","topShadow":"mLDNO8","padding":"ocwUAY","margin":"_1F822J","vPadding":"hPOXwK","column-gap":"_8fcsP9","columnGap":"_8fcsP9","row-gap":"_0CBol8","rowGap":"_0CBol8","spacing":"axRVsv"};
2188
2408
 
2189
- const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$17.flexCell]);
2409
+ const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$_.flexCell]);
2190
2410
 
2191
2411
  const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
2192
2412
  if (process.env.NODE_ENV !== "production") {
@@ -2195,22 +2415,22 @@ const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
2195
2415
  }
2196
2416
  }
2197
2417
  const classNames = uuiCore.cx([
2198
- css$17.root,
2418
+ css$_.root,
2199
2419
  'uui-flex-row',
2200
2420
  props.onClick && uuiCore.uuiMarkers.clickable,
2201
2421
  props.cx,
2202
2422
  props.size !== null && 'uui-size-' + (props.size || settings.flexRow.sizes.default),
2203
- props.alignItems && css$17.alignItems,
2204
- props.justifyContent && css$17.justifyContent,
2205
- props.padding && css$17.padding,
2206
- props.vPadding && css$17.vPadding,
2207
- props.margin && css$17.margin,
2208
- props.topShadow && css$17.topShadow,
2209
- props.borderBottom && css$17.borderBottom,
2210
- props.borderTop && css$17.borderTop,
2211
- props.columnGap && css$17.columnGap,
2212
- props.rowGap && css$17.rowGap,
2213
- props.spacing && css$17.spacing,
2423
+ props.alignItems && css$_.alignItems,
2424
+ props.justifyContent && css$_.justifyContent,
2425
+ props.padding && css$_.padding,
2426
+ props.vPadding && css$_.vPadding,
2427
+ props.margin && css$_.margin,
2428
+ props.topShadow && css$_.topShadow,
2429
+ props.borderBottom && css$_.borderBottom,
2430
+ props.borderTop && css$_.borderTop,
2431
+ props.columnGap && css$_.columnGap,
2432
+ props.rowGap && css$_.rowGap,
2433
+ props.spacing && css$_.spacing,
2214
2434
  props.background && `uui-flex-row-bg-${props.background}`,
2215
2435
  ]);
2216
2436
  let alignItemsValue = props.alignItems;
@@ -2236,22 +2456,22 @@ const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
2236
2456
  } }, props.children));
2237
2457
  });
2238
2458
 
2239
- var css$16 = {"root":"_7oknl-","margin-24":"BCH9S0","margin24":"BCH9S0","padding-12":"-u3HDd","padding12":"-u3HDd","padding-24":"BJBXnw","padding24":"BJBXnw","shadow":"pJ7Tra","uui-surface-main":"vleANi","uuiSurfaceMain":"vleANi"};
2459
+ var css$Z = {"root":"_0HdaRS","margin-24":"wscOss","margin24":"wscOss","padding-12":"TW7e6A","padding12":"TW7e6A","padding-24":"VANOgE","padding24":"VANOgE","shadow":"yIWjTA","uui-surface-main":"G8-rfN","uuiSurfaceMain":"G8-rfN"};
2240
2460
 
2241
2461
  const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
2242
2462
  'uui-panel',
2243
- css$16.root,
2244
- props.shadow && css$16.shadow,
2245
- props.margin && css$16['margin-' + props.margin],
2246
- props.background && css$16[`uui-${props.background}`],
2463
+ css$Z.root,
2464
+ props.shadow && css$Z.shadow,
2465
+ props.margin && css$Z['margin-' + props.margin],
2466
+ props.background && css$Z[`uui-${props.background}`],
2247
2467
  ]);
2248
2468
 
2249
- var css$15 = {"root":"e5tcpt"};
2469
+ var css$Y = {"root":"OpdXDI"};
2250
2470
 
2251
2471
  function applyLabeledInputMods(mods) {
2252
2472
  return [
2253
2473
  'uui-labeled-input',
2254
- css$15.root,
2474
+ css$Y.root,
2255
2475
  'uui-size-' + (mods.size || settings.labeledInput.sizes.default),
2256
2476
  ];
2257
2477
  }
@@ -2263,7 +2483,7 @@ function applyLabeledInputProps(props) {
2263
2483
  }
2264
2484
  const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
2265
2485
 
2266
- var css$14 = {"root":"RS3Znw"};
2486
+ var css$X = {"root":"A-FGtz"};
2267
2487
 
2268
2488
  function RadioGroup(props) {
2269
2489
  const direction = props.direction || 'vertical';
@@ -2272,22 +2492,22 @@ function RadioGroup(props) {
2272
2492
  props.onValueChange(newVal);
2273
2493
  }
2274
2494
  };
2275
- return (React__namespace.createElement("fieldset", { ref: props.forwardedRef, className: uuiCore.cx(css$14.root, uuiCore.directionMode[direction], props.cx), onFocus: props.onFocus, onBlur: props.onBlur, ...props.rawProps }, props.items.map((i) => {
2495
+ return (React__namespace.createElement("fieldset", { ref: props.forwardedRef, className: uuiCore.cx(css$X.root, uuiCore.directionMode[direction], props.cx), onFocus: props.onFocus, onBlur: props.onBlur, ...props.rawProps }, props.items.map((i) => {
2276
2496
  const { id, name, renderName, ...restItemProps } = i;
2277
2497
  return (React__namespace.createElement(RadioInput, { name: props.name, renderLabel: i.renderName ? i.renderName : () => i.name, value: props.value === i.id, onValueChange: () => handleChange(i.id), isDisabled: props.isDisabled || i.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, isRequired: props.isRequired, key: i.id.toString(), size: props.size || i.size, ...restItemProps }));
2278
2498
  })));
2279
2499
  }
2280
2500
 
2281
- var css$13 = {"root":"sGTbdF"};
2501
+ var css$W = {"root":"oxpPtB"};
2282
2502
 
2283
2503
  function applyScrollBarsMods() {
2284
2504
  return [
2285
- css$13.root, 'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
2505
+ css$W.root, 'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
2286
2506
  ];
2287
2507
  }
2288
2508
  const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
2289
2509
 
2290
- var css$12 = {"scroll-container":"ZyfepS","scrollContainer":"ZyfepS","list-container":"FVGW2K","listContainer":"FVGW2K"};
2510
+ var css$V = {"scroll-container":"_5eIPxb","scrollContainer":"_5eIPxb","list-container":"nkQnrp","listContainer":"nkQnrp"};
2291
2511
 
2292
2512
  const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
2293
2513
  const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = uuiCore.useVirtualList({
@@ -2301,7 +2521,7 @@ const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
2301
2521
  const scrollShadows = uuiCore.useScrollShadows({ root: scrollContainerRef.current });
2302
2522
  const renderRows = () => props.renderRows?.({
2303
2523
  listContainerRef, estimatedHeight, offsetY, scrollShadows,
2304
- }) || (React__namespace.createElement("div", { className: css$12.listContainer, style: { minHeight: `${estimatedHeight}px` } },
2524
+ }) || (React__namespace.createElement("div", { className: css$V.listContainer, style: { minHeight: `${estimatedHeight}px` } },
2305
2525
  React__namespace.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
2306
2526
  const renderView = ({ style }) => (React__namespace.createElement(VirtualListView, { isLoading: props.isLoading, style: style, rawProps: props.rawProps, renderBlocker: props.renderBlocker }));
2307
2527
  const scrollBarsRef = React__namespace.useCallback((scrollbars) => {
@@ -2309,7 +2529,7 @@ const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
2309
2529
  return;
2310
2530
  scrollContainerRef.current = scrollbars.container.firstChild;
2311
2531
  }, []);
2312
- return (React__namespace.createElement(ScrollBars, { cx: uuiCore.cx(css$12.scrollContainer, props.cx, {
2532
+ return (React__namespace.createElement(ScrollBars, { cx: uuiCore.cx(css$V.scrollContainer, props.cx, {
2313
2533
  [uuiCore.uuiMarkers.scrolledLeft]: scrollShadows.horizontalLeft,
2314
2534
  [uuiCore.uuiMarkers.scrolledRight]: scrollShadows.horizontalRight,
2315
2535
  [uuiCore.uuiMarkers.scrolledTop]: scrollShadows.verticalTop,
@@ -2331,7 +2551,35 @@ const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref)
2331
2551
  props.renderBlocker ? props.renderBlocker({ isLoading: props.isLoading }) : React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
2332
2552
  });
2333
2553
 
2334
- var css$11 = {"root":"tWR3kt"};
2554
+ const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
2555
+
2556
+ function TreeRowRenderer(props) {
2557
+ const { row, size } = props;
2558
+ const handleClick = React__namespace.useCallback(() => {
2559
+ const cb = row.onClick || row.onSelect;
2560
+ if (cb && !row.isDisabled) {
2561
+ cb(row);
2562
+ }
2563
+ }, [row]);
2564
+ const handleFold = React__namespace.useCallback(() => row.onFold && row.onFold(row), [row]);
2565
+ const renderAddons = React__namespace.useCallback(() => props.renderAddons && props.renderAddons(row), [props.renderAddons, row]);
2566
+ const isActive = row.isSelected;
2567
+ const getCaption = React__namespace.useCallback((value) => {
2568
+ return props.getCaption(value);
2569
+ }, [props.getCaption]);
2570
+ return (React__namespace.createElement(VerticalTabButton, { ...row, isActive: isActive, caption: row.isLoading ? React__namespace.createElement(TextPlaceholder, null) : getCaption(row.value), size: size, onClick: (row.onClick || row.onSelect) ? handleClick : undefined, link: row.link, onFold: row.onFold ? handleFold : undefined, weight: (row.isChildrenSelected || row.isSelected || isActive) ? 'semibold' : 'regular', renderAddons: renderAddons }));
2571
+ }
2572
+ const MemoizedTreeRowRenderer = /* @__PURE__ */React__namespace.memo(TreeRowRenderer);
2573
+ function Tree(props) {
2574
+ const { view, renderRow, size = '36', cx: propsCx, value, onValueChange, } = props;
2575
+ const rows = view.getVisibleRows();
2576
+ const rowsCount = view.getListProps().rowsCount ?? rows.length;
2577
+ const renderRowFunction = renderRow || (({ key, ...row }) => (React__namespace.createElement(MemoizedTreeRowRenderer, { key: key, row: row, size: size, getCaption: props.getCaption, renderAddons: props.renderAddons })));
2578
+ const renderedRows = React.useMemo(() => rows.map((row) => renderRowFunction(row)), [rows, renderRowFunction, size]);
2579
+ return (React__namespace.createElement(VirtualList, { value: value, onValueChange: onValueChange, rowsCount: rowsCount, rows: renderedRows, cx: uuiCore.cx(propsCx), role: "tree" }));
2580
+ }
2581
+
2582
+ var css$U = {"root":"ZWH4Jq"};
2335
2583
 
2336
2584
  function CheckboxGroup(props) {
2337
2585
  const currentValue = props.value || [];
@@ -2347,16 +2595,16 @@ function CheckboxGroup(props) {
2347
2595
  }
2348
2596
  props.onValueChange(newSelection);
2349
2597
  };
2350
- return (React__namespace.createElement("fieldset", { ref: props.forwardedRef, className: uuiCore.cx(css$11.root, uuiCore.directionMode[direction], props.cx), ...props.rawProps }, props.items.map((i) => {
2598
+ return (React__namespace.createElement("fieldset", { ref: props.forwardedRef, className: uuiCore.cx(css$U.root, uuiCore.directionMode[direction], props.cx), ...props.rawProps }, props.items.map((i) => {
2351
2599
  const { id, name, renderName, ...restItemProps } = i;
2352
2600
  return (React__namespace.createElement(Checkbox, { renderLabel: i.renderName ? i.renderName : () => i.name, value: currentValue.indexOf(i.id) !== -1, onValueChange: (selected) => handleChange(selected, i.id), isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, isRequired: props.isRequired, key: i.id.toString(), size: props.size || i.size, ...restItemProps }));
2353
2601
  })));
2354
2602
  }
2355
2603
 
2356
- var css$10 = {"root":"qUODMI","modal-blocker":"ifK49h","modalBlocker":"ifK49h","animateModalBlocker":"qlF0Si","modal":"DH5Z2N","modal-footer":"wx8O4l","modalFooter":"wx8O4l","border-top":"mdeiH3","borderTop":"mdeiH3","modal-header":"-wRu6i","modalHeader":"-wRu6i","border-bottom":"nsfT8G","borderBottom":"nsfT8G"};
2604
+ var css$T = {"root":"uJElha","modal-blocker":"xYD5eb","modalBlocker":"xYD5eb","animateModalBlocker":"s6L8sR","modal":"buo8iX","modal-footer":"_1-Stuw","modalFooter":"_1-Stuw","border-top":"gA2QOE","borderTop":"gA2QOE","modal-header":"lMLcm5","modalHeader":"lMLcm5","border-bottom":"sulsSn","borderBottom":"sulsSn"};
2357
2605
 
2358
- const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$10.modalBlocker]);
2359
- const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$10.root, css$10.modal], (props) => {
2606
+ const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$T.modalBlocker]);
2607
+ const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$T.root, css$T.modal], (props) => {
2360
2608
  const width = props.width;
2361
2609
  const height = props.height || 'auto';
2362
2610
  const maxHeight = uuiCore.isMobile() ? 'var(--uui-modals-mobile-max-height)' : (props.maxHeight || 'var(--uui-modals-max-height)');
@@ -2370,7 +2618,7 @@ const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, (
2370
2618
  };
2371
2619
  });
2372
2620
  function ModalHeader(props) {
2373
- return (React__namespace.default.createElement("div", { className: cx__default.default(css$10.root, css$10.modalHeader, 'uui-modal-header', props.borderBottom && css$10.borderBottom, props.cx), ...props.rawProps, style: {
2621
+ return (React__namespace.default.createElement("div", { className: cx__default.default(css$T.root, css$T.modalHeader, 'uui-modal-header', props.borderBottom && css$T.borderBottom, props.cx), ...props.rawProps, style: {
2374
2622
  ...props.rawProps?.style,
2375
2623
  } },
2376
2624
  props.title && (React__namespace.default.createElement("div", { className: cx__default.default('uui-modal-title', 'uui-typography') }, props.title)),
@@ -2380,7 +2628,7 @@ function ModalHeader(props) {
2380
2628
  React__namespace.default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: settings.modal.icons.closeIcon, onClick: props.onClose })))));
2381
2629
  }
2382
2630
  function ModalFooter(props) {
2383
- return (React__namespace.default.createElement("div", { className: cx__default.default(css$10.root, css$10.modalFooter, 'uui-modal-footer', props.borderTop && css$10.borderTop, props.cx), ...props.rawProps, style: {
2631
+ return (React__namespace.default.createElement("div", { className: cx__default.default(css$T.root, css$T.modalFooter, 'uui-modal-footer', props.borderTop && css$T.borderTop, props.cx), ...props.rawProps, style: {
2384
2632
  ...props.rawProps?.style,
2385
2633
  } }, props.children));
2386
2634
  }
@@ -2545,7 +2793,7 @@ const TREE_SHAKEABLE_INIT = () => ({
2545
2793
  });
2546
2794
  const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
2547
2795
 
2548
- var css$$ = {"root":"M9rQgZ","icon-wrapper":"sLSjXx","iconWrapper":"sLSjXx","action-wrapper":"vPJP5l","actionWrapper":"vPJP5l","close-icon":"SA8eK2","closeIcon":"SA8eK2","main-path":"RzJQIZ","mainPath":"RzJQIZ","content":"aOrLxG","close-wrapper":"WC2-VJ","closeWrapper":"WC2-VJ","clear-notifications":"ObL8EM","clearNotifications":"ObL8EM"};
2796
+ var css$S = {"root":"nCiB38","icon-wrapper":"O-zcGy","iconWrapper":"O-zcGy","action-wrapper":"y-7SIi","actionWrapper":"y-7SIi","close-icon":"fcTSmE","closeIcon":"fcTSmE","main-path":"G-efK0","mainPath":"G-efK0","content":"lkS2A3","close-wrapper":"ZC6vZ8","closeWrapper":"ZC6vZ8","clear-notifications":"aDBAE0","clearNotifications":"aDBAE0"};
2549
2797
 
2550
2798
  const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
2551
2799
  const notificationCardNode = React__namespace.default.useRef(null);
@@ -2558,15 +2806,15 @@ const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((pro
2558
2806
  notificationCardNode.current?.removeEventListener('mouseleave', props.refreshTimer);
2559
2807
  };
2560
2808
  }, []);
2561
- return (React__namespace.default.createElement("div", { role: "alert", className: cx__default.default('uui-notification_card', props.color && `uui-color-${props.color}`, css$$.root, props.cx), ref: notificationCardNode, ...props.rawProps },
2562
- React__namespace.default.createElement("div", { className: css$$.mainPath },
2563
- props.icon && (React__namespace.default.createElement("div", { className: css$$.iconWrapper },
2809
+ return (React__namespace.default.createElement("div", { role: "alert", className: cx__default.default('uui-notification_card', props.color && `uui-color-${props.color}`, css$S.root, props.cx), ref: notificationCardNode, ...props.rawProps },
2810
+ React__namespace.default.createElement("div", { className: css$S.mainPath },
2811
+ props.icon && (React__namespace.default.createElement("div", { className: css$S.iconWrapper },
2564
2812
  React__namespace.default.createElement(uuiComponents.IconContainer, { size: settings.notificationCard.sizes.icon, icon: props.icon }))),
2565
- React__namespace.default.createElement("div", { className: css$$.content },
2813
+ React__namespace.default.createElement("div", { className: css$S.content },
2566
2814
  props.children,
2567
- props.actions && (React__namespace.default.createElement("div", { className: css$$.actionWrapper }, props.actions.map((action) => (React__namespace.default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$$.actionLink, size: settings.notificationCard.sizes.action, rawProps: action.rawProps })))))),
2568
- props.onClose && (React__namespace.default.createElement("div", { className: cx__default.default(css$$.closeWrapper, 'uui-notification_card-close_icon') },
2569
- React__namespace.default.createElement(IconButton, { icon: settings.notificationCard.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$$.closeIcon }))))));
2815
+ props.actions && (React__namespace.default.createElement("div", { className: css$S.actionWrapper }, props.actions.map((action) => (React__namespace.default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$S.actionLink, size: settings.notificationCard.sizes.action, rawProps: action.rawProps })))))),
2816
+ props.onClose && (React__namespace.default.createElement("div", { className: cx__default.default(css$S.closeWrapper, 'uui-notification_card-close_icon') },
2817
+ React__namespace.default.createElement(IconButton, { icon: settings.notificationCard.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$S.closeIcon }))))));
2570
2818
  });
2571
2819
  const WarningNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.warningIcon, color: "warning", ...props, ref: ref, cx: props.cx })));
2572
2820
  const SuccessNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.successIcon, color: "success", ...props, ref: ref, cx: props.cx })));
@@ -2574,11 +2822,11 @@ const HintNotification = /* @__PURE__ */React__namespace.default.forwardRef((pro
2574
2822
  const ErrorNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.errorIcon, color: "error", ...props, ref: ref, cx: props.cx })));
2575
2823
  function ClearNotification() {
2576
2824
  const uuiCtx = uuiCore.useUuiContext();
2577
- return (React__namespace.default.createElement("div", { className: cx__default.default(css$$.clearNotifications, 'uui-clear-notifications') },
2825
+ return (React__namespace.default.createElement("div", { className: cx__default.default(css$S.clearNotifications, 'uui-clear-notifications') },
2578
2826
  React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
2579
2827
  }
2580
2828
 
2581
- var css$_ = {"footer":"owWNoP"};
2829
+ var css$R = {"footer":"BXu-K-"};
2582
2830
 
2583
2831
  class ConfirmationModal extends React__namespace.Component {
2584
2832
  render() {
@@ -2590,7 +2838,7 @@ class ConfirmationModal extends React__namespace.Component {
2590
2838
  React__namespace.createElement(ModalWindow, { width: 420 },
2591
2839
  React__namespace.createElement(ModalHeader, { borderBottom: true, title: this.props.caption, onClose: () => this.props.abort() }),
2592
2840
  React__namespace.createElement(ScrollBars, null, bodyContent),
2593
- React__namespace.createElement(ModalFooter, { cx: css$_.footer },
2841
+ React__namespace.createElement(ModalFooter, { cx: css$R.footer },
2594
2842
  this.props.hideCancelButton || (React__namespace.createElement(Button, { caption: i18n.form.modals.discardButton, onClick: () => this.props.success(false), fill: "outline", color: "secondary" })),
2595
2843
  React__namespace.createElement(Button, { caption: i18n.form.modals.saveButton, onClick: () => this.props.success(true), color: "primary" })))));
2596
2844
  }
@@ -2620,7 +2868,7 @@ function useReliableForceUpdate() {
2620
2868
  return red[1];
2621
2869
  }
2622
2870
 
2623
- var css$Z = {"root":"cK220Q","container":"FtVAtQ"};
2871
+ var css$Q = {"root":"Kehh-v","container":"_9AWgBo"};
2624
2872
 
2625
2873
  const defaultFormat = 'MMM D, YYYY';
2626
2874
  const valueFormat = 'YYYY-MM-DD';
@@ -2831,21 +3079,21 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
2831
3079
  }, [view, month]);
2832
3080
  const disablePrev = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getPrevYearsList(month));
2833
3081
  const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
2834
- return (React__namespace.createElement("div", { className: cx__default.default(css$Z.root, uuiHeader.container, cx__default.default) },
3082
+ return (React__namespace.createElement("div", { className: cx__default.default(css$Q.root, uuiHeader.container, cx__default.default) },
2835
3083
  React__namespace.createElement("header", { className: uuiHeader.headerNav },
2836
3084
  React__namespace.createElement(Button, { icon: navIconLeft || settings.datePicker.icons.body.prevIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
2837
3085
  React__namespace.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
2838
3086
  React__namespace.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
2839
3087
  }
2840
3088
 
2841
- var css$Y = {"root":"_9ofnOx"};
3089
+ var css$P = {"root":"RoEgIt"};
2842
3090
 
2843
3091
  function applyDateSelectionMods() {
2844
- return [css$Y.root, `uui-size-${settings.datePicker.sizes.body}`];
3092
+ return [css$P.root, `uui-size-${settings.datePicker.sizes.body}`];
2845
3093
  }
2846
3094
  const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
2847
3095
 
2848
- var css$X = {"root":"_0Og3CF"};
3096
+ var css$O = {"root":"cIwFTj"};
2849
3097
 
2850
3098
  const uuiDatePickerBody = {
2851
3099
  wrapper: 'uui-datepicker-body-wrapper',
@@ -2889,7 +3137,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
2889
3137
  }
2890
3138
  };
2891
3139
  return (React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(uuiDatePickerBodyBase.container, `uui-size-${settings.datePicker.sizes.body}`, classes), ...rawProps },
2892
- React__namespace.default.createElement("div", { className: uuiCore.cx(css$X.root, uuiDatePickerBody.wrapper) },
3140
+ React__namespace.default.createElement("div", { className: uuiCore.cx(css$O.root, uuiDatePickerBody.wrapper) },
2893
3141
  React__namespace.default.createElement(DatePickerHeader, { value: {
2894
3142
  view,
2895
3143
  month,
@@ -2966,7 +3214,7 @@ function DatePickerComponent(props, ref) {
2966
3214
  }
2967
3215
  const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
2968
3216
 
2969
- var css$W = {"date-input":"o-pew4","dateInput":"o-pew4","root":"lcdJKP","separator":"_9Ed4Wa"};
3217
+ var css$N = {"date-input":"_2tZSi7","dateInput":"_2tZSi7","root":"NV5l08","separator":"_38ISk1"};
2970
3218
 
2971
3219
  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) => {
2972
3220
  const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
@@ -3031,13 +3279,13 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
3031
3279
  const clearAllowed = !disableClear && !(preventEmptyFromDate && preventEmptyToDate) && inputValue.from && inputValue.to;
3032
3280
  return (
3033
3281
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
3034
- React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, 'uui-range-date-picker', classes, css$W.root, isDisabled && uuiCore.uuiMod.disabled, isReadonly && uuiCore.uuiMod.readonly, isInvalid && uuiCore.uuiMod.invalid, inFocus && uuiCore.uuiMod.focus), onKeyDown: onKeyDown },
3035
- React__namespace.default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: uuiCore.cx(css$W.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 }),
3036
- React__namespace.default.createElement("div", { className: css$W.separator }),
3037
- React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$W.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 })));
3282
+ 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 },
3283
+ 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 }),
3284
+ React__namespace.default.createElement("div", { className: css$N.separator }),
3285
+ 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 })));
3038
3286
  });
3039
3287
 
3040
- var css$V = {"root":"pZCxLI"};
3288
+ var css$M = {"root":"JXWS7P"};
3041
3289
 
3042
3290
  const uuiPresets = {
3043
3291
  container: 'uui-presets-container',
@@ -3052,12 +3300,12 @@ const getPresets = (presets) => {
3052
3300
  })).sort((a, b) => a.order - b.order);
3053
3301
  };
3054
3302
  function CalendarPresets(props) {
3055
- return (React__namespace.createElement("div", { ref: props.forwardedRef, className: uuiCore.cx(uuiPresets.container, css$V.root, props.cx), ...props.rawProps },
3303
+ return (React__namespace.createElement("div", { ref: props.forwardedRef, className: uuiCore.cx(uuiPresets.container, css$M.root, props.cx), ...props.rawProps },
3056
3304
  React__namespace.createElement("div", { className: uuiPresets.header }, "Presets"),
3057
3305
  getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
3058
3306
  }
3059
3307
 
3060
- var css$U = {"root":"A6KVww","container":"O-aOPr","day-selection":"f-gnnt","daySelection":"f-gnnt","from-picker":"Mpiilf","fromPicker":"Mpiilf","to-picker":"caEgSS","toPicker":"caEgSS","bodes-wrapper":"qRoeln","bodesWrapper":"qRoeln","blocker":"ytoP08"};
3308
+ var css$L = {"root":"BRPQ2v","container":"eq16uM","day-selection":"VMBu16","daySelection":"VMBu16","from-picker":"-VtEZ-","fromPicker":"-VtEZ-","to-picker":"xUOMw5","toPicker":"xUOMw5","bodes-wrapper":"fNJvww","bodesWrapper":"fNJvww","blocker":"jS9UMi"};
3061
3309
 
3062
3310
  const uuiRangeDatePickerBody = {
3063
3311
  inRange: 'uui-range-datepicker-in-range',
@@ -3210,18 +3458,18 @@ function RangeDatePickerBodyComp(props, ref) {
3210
3458
  setMonth(monthToSet);
3211
3459
  }
3212
3460
  }, [selectedDate]);
3213
- return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default(css$U.root, uuiDatePickerBodyBase.container, props.cx), ...props.rawProps, "aria-multiselectable": "true" },
3214
- React__namespace.default.createElement(FlexRow, { cx: [view === 'DAY_SELECTION' && css$U.daySelection, css$U.container], alignItems: "top" },
3461
+ return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default(css$L.root, uuiDatePickerBodyBase.container, props.cx), ...props.rawProps, "aria-multiselectable": "true" },
3462
+ React__namespace.default.createElement(FlexRow, { cx: [view === 'DAY_SELECTION' && css$L.daySelection, css$L.container], alignItems: "top" },
3215
3463
  React__namespace.default.createElement(FlexCell, { width: "auto" },
3216
3464
  React__namespace.default.createElement(FlexRow, null,
3217
- React__namespace.default.createElement(FlexRow, { cx: css$U.bodesWrapper, alignItems: "top" },
3218
- React__namespace.default.createElement(StatelessDatePickerBody, { key: "date-picker-body-left", cx: cx__default.default(css$U.fromPicker), ...from, onValueChange: (v) => onBodyValueChange(v), onMonthChange: (m) => {
3465
+ React__namespace.default.createElement(FlexRow, { cx: css$L.bodesWrapper, alignItems: "top" },
3466
+ React__namespace.default.createElement(StatelessDatePickerBody, { key: "date-picker-body-left", cx: cx__default.default(css$L.fromPicker), ...from, onValueChange: (v) => onBodyValueChange(v), onMonthChange: (m) => {
3219
3467
  setMonth(m);
3220
3468
  }, onViewChange: (v) => {
3221
3469
  setView(v);
3222
3470
  setDisabledPanel(v !== 'DAY_SELECTION' ? 'right' : null);
3223
3471
  }, filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay || renderDay, isDisabled: disabledPanel === 'left' }),
3224
- React__namespace.default.createElement(StatelessDatePickerBody, { key: "date-picker-body-right", cx: cx__default.default(css$U.toPicker), ...to, onValueChange: (v) => onBodyValueChange(v), onMonthChange: (m) => {
3472
+ React__namespace.default.createElement(StatelessDatePickerBody, { key: "date-picker-body-right", cx: cx__default.default(css$L.toPicker), ...to, onValueChange: (v) => onBodyValueChange(v), onMonthChange: (m) => {
3225
3473
  setMonth(m.subtract(1, 'month'));
3226
3474
  }, onViewChange: (v) => {
3227
3475
  setView(v);
@@ -3230,7 +3478,7 @@ function RangeDatePickerBodyComp(props, ref) {
3230
3478
  view !== 'DAY_SELECTION' && (React__namespace.default.createElement("div", { style: {
3231
3479
  left: disabledPanel === 'right' ? '50%' : undefined,
3232
3480
  right: disabledPanel === 'left' ? '50%' : undefined,
3233
- }, className: css$U.blocker }))),
3481
+ }, className: css$L.blocker }))),
3234
3482
  props.presets && renderPresets(props.presets)),
3235
3483
  props.renderFooter && props.renderFooter()))));
3236
3484
  }
@@ -3259,7 +3507,7 @@ const getDayState = (day, selectedDate) => {
3259
3507
  };
3260
3508
  };
3261
3509
 
3262
- var css$T = {"dropdown-container":"abs1hj","dropdownContainer":"abs1hj"};
3510
+ var css$K = {"dropdown-container":"nLCSbA","dropdownContainer":"nLCSbA"};
3263
3511
 
3264
3512
  function RangeDatePickerComponent(props, ref) {
3265
3513
  const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
@@ -3303,7 +3551,7 @@ function RangeDatePickerComponent(props, ref) {
3303
3551
  }
3304
3552
  };
3305
3553
  const renderBody = (renderProps) => {
3306
- return (React__namespace.default.createElement(DropdownContainer, { ...renderProps, cx: cx__default.default(css$T.dropdownContainer), shards: [targetRef], returnFocus: true },
3554
+ return (React__namespace.default.createElement(DropdownContainer, { ...renderProps, cx: cx__default.default(css$K.dropdownContainer), shards: [targetRef], returnFocus: true },
3307
3555
  React__namespace.default.createElement(FlexRow, null,
3308
3556
  React__namespace.default.createElement(RangeDatePickerBody, { cx: cx__default.default(props.bodyCx), value: {
3309
3557
  selectedDate: _value,
@@ -3327,175 +3575,24 @@ function RangeDatePickerComponent(props, ref) {
3327
3575
  }
3328
3576
  const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
3329
3577
 
3330
- var css$S = {"root":"on-o3g","blocker":"_0uP85S","marker":"KpXnaA","top":"YKi624","bottom":"jHhns7","left":"rdrKB3","right":"_35BaWK","inside":"TAg3rT"};
3578
+ var css$J = {"root":"VGpmp6","blocker":"PgZcIt","marker":"nLWkhp","top":"UCiZiy","bottom":"wRKnPg","left":"ZkVMaX","right":"n7-q6w","inside":"_6lbD0m"};
3331
3579
 
3332
3580
  function DropMarker(props) {
3333
3581
  return props.isDndInProgress
3334
3582
  ? (React__namespace.createElement(React__namespace.Fragment, null,
3335
- props.enableBlocker && React__namespace.createElement("div", { className: css$S.blocker }),
3583
+ props.enableBlocker && React__namespace.createElement("div", { className: css$J.blocker }),
3336
3584
  React__namespace.createElement("div", { className: cx__default.default([
3337
- css$S.root,
3338
- css$S.marker,
3339
- css$S[props.position],
3585
+ css$J.root,
3586
+ css$J.marker,
3587
+ css$J[props.position],
3340
3588
  props?.cx,
3341
3589
  ]) })))
3342
3590
  : null;
3343
3591
  }
3344
3592
 
3345
- const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
3346
-
3347
- var css$R = {"search-wrapper":"cV-MZn","searchWrapper":"cV-MZn","no-data":"Y5kqHg","noData":"Y5kqHg"};
3348
-
3349
- var css$Q = {"picker-row":"_1xhV55","pickerRow":"_1xhV55","align-widgets-top":"p5XSxH","alignWidgetsTop":"p5XSxH","row-content":"dlHw-8","rowContent":"dlHw-8","align-widgets-center":"OyAt2X","alignWidgetsCenter":"OyAt2X","icon-container":"_08h-iq","iconContainer":"_08h-iq","content-wrapper":"fVienB","contentWrapper":"fVienB","icon-wrapper":"_94m5Ka","iconWrapper":"_94m5Ka","icon-default":"VfnBoS","iconDefault":"VfnBoS","selected-mark":"jDp6J-","selectedMark":"jDp6J-"};
3350
-
3351
- var css$P = {"root":"_86NRQl"};
3352
-
3353
- const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$P.root]);
3354
-
3355
- var css$O = {"root":"_4qT-dg"};
3356
-
3357
- const DEFAULT_FILL = 'solid';
3358
- function applyBadgeMods(mods) {
3359
- return [
3360
- 'uui-badge',
3361
- css$O.root,
3362
- `uui-size-${mods.size || settings.badge.sizes.default}`,
3363
- `uui-fill-${mods.fill || DEFAULT_FILL}`,
3364
- `uui-color-${mods.color || 'info'}`,
3365
- ];
3366
- }
3367
- const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
3368
- const styles = [applyBadgeMods(props), props.cx];
3369
- const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.badge.icons.dropdownIcon;
3370
- return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
3371
- 'aria-haspopup': props.isDropdown,
3372
- 'aria-expanded': props.isOpen,
3373
- ...props.rawProps,
3374
- }, cx: styles, ref: ref },
3375
- (props.indicator && props.fill === 'outline') && (React__namespace.default.createElement("div", { className: "uui-indicator" })),
3376
- props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
3377
- props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
3378
- props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.badge.sizes.countIndicatorMap[props.size || settings.badge.sizes.default], caption: props.count })),
3379
- props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
3380
- props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
3381
- });
3382
-
3383
- var css$N = {"root":"LNHyR-"};
3384
-
3385
- function applyTagMods(props) {
3386
- return [
3387
- css$N.root,
3388
- `uui-size-${props.size || settings.tag.sizes.default}`,
3389
- `uui-color-${props.color || 'neutral'}`,
3390
- `uui-fill-${props.fill || 'solid'}`,
3391
- 'uui-tag',
3392
- ];
3393
- }
3394
- const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
3395
- const styles = [applyTagMods(props), props.cx];
3396
- const ClearIcon = props.clearIcon ? props.clearIcon : settings.tag.icons.clearIcon;
3397
- const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tag.icons.dropdownIcon;
3398
- return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
3399
- 'aria-haspopup': props.isDropdown,
3400
- 'aria-expanded': props.isOpen,
3401
- ...props.rawProps,
3402
- }, cx: styles, ref: ref },
3403
- props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
3404
- props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
3405
- 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 })),
3406
- props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
3407
- props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
3408
- props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
3409
- });
3410
-
3411
- var css$M = {"root":"FKoLYk","page":"-Ra7SI","spacer":"Oi9A1x","mode-ghost":"TpZYzP","modeGhost":"TpZYzP"};
3412
-
3413
- function Paginator(props) {
3414
- const renderPaginator = (params) => (React__namespace.default.createElement("nav", { role: "navigation", className: cx__default.default(css$M.root, 'uui-paginator', `uui-size-${props.size || settings.paginator.sizes.default}`), ...params.rawProps },
3415
- 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" }),
3416
- params.pages.map((page, index) => {
3417
- if (page.type === 'spacer') {
3418
- return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$M.spacer, css$M.page), size: props.size || settings.paginator.sizes.default, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled }));
3419
- }
3420
- else {
3421
- return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$M[`mode-${!page.isActive && 'ghost'}`], css$M.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 }));
3422
- }
3423
- }),
3424
- 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" })));
3425
- return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
3426
- }
3427
-
3428
- var css$L = {"root":"O49G0H","progress-bar":"oX3pvS","progressBar":"oX3pvS","progressBar-indeterminate":"QKuEjD","progressBarIndeterminate":"QKuEjD","size-12":"S-U8PS","size12":"S-U8PS","size-18":"QqQq--","size18":"QqQq--","size-24":"QZ9aGj","size24":"QZ9aGj"};
3429
-
3430
- const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
3431
- return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$L.root, css$L[`size-${props.size || 12}`]) },
3432
- React__namespace.createElement("div", { className: cx__default.default(css$L.progressBar) })));
3433
- });
3434
-
3435
- var css$K = {"root":"REaQX3","striped":"W0h6gP","animate-stripes":"_5I3FMZ","animateStripes":"_5I3FMZ","size-12":"qEKAxJ","size12":"qEKAxJ","size-18":"n5uxU0","size18":"n5uxU0","size-24":"rHeOEd","size24":"rHeOEd"};
3436
-
3437
- const DEFAULT_SIZE = '12';
3438
- function applyProgressBarMods(mods) {
3439
- const size = mods.size || DEFAULT_SIZE;
3440
- return [
3441
- css$K.root,
3442
- css$K[`size-${size}`],
3443
- mods.striped && css$K.striped,
3444
- ];
3445
- }
3446
- const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.ProgressBar, applyProgressBarMods, (props) => ({
3447
- hideLabel: props.hideLabel || props.striped,
3448
- }));
3449
-
3450
- var css$J = {"root":"_0sp5PJ"};
3451
-
3452
- const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
3453
- const { progress } = props;
3454
- return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$J.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$J.root, props.cx) }));
3455
- });
3456
-
3457
- var css$I = {"root":"_9sFjB5"};
3458
-
3459
- const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
3460
- return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
3461
- css$I.root,
3462
- `uui-size-${props.size || settings.statusIndicator.sizes.default}`,
3463
- 'uui-status_indicator',
3464
- `uui-color-${props.color || 'neutral'}`,
3465
- `uui-fill-${props.fill || 'solid'}`,
3466
- props.cx,
3467
- ]) },
3468
- React__namespace.default.createElement("div", { className: "uui-status_indicator-dot" }),
3469
- React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
3470
- });
3593
+ var css$I = {"search-wrapper":"xT6L7x","searchWrapper":"xT6L7x","no-data":"yb7j-G","noData":"yb7j-G"};
3471
3594
 
3472
- var css$H = {"drag-handle-wrapper":"m60Juc","dragHandleWrapper":"m60Juc","with-indent":"INTgRy","withIndent":"INTgRy","drag-handle":"waOWlA","dragHandle":"waOWlA","icon-container":"J0-rxs","iconContainer":"J0-rxs"};
3473
-
3474
- function DataRowAddons(props) {
3475
- const row = props.rowProps;
3476
- const getIndent = () => {
3477
- return (row.indent - 1) * settings.dataTable.sizes.body.indentUnitMap[props.size || settings.dataTable.sizes.body.row];
3478
- };
3479
- const getWidth = () => {
3480
- return settings.dataTable.sizes.body.indentWidthMap[props.size || settings.dataTable.sizes.body.row];
3481
- };
3482
- const renderDragHandle = () => {
3483
- if (props.renderDragHandle) {
3484
- return props.renderDragHandle({ rowProps: props.rowProps, eventHandlers: props.eventHandlers });
3485
- }
3486
- return (React__namespace.default.createElement("div", { key: "dh", className: cx__default.default(css$H.dragHandleWrapper, row.indent > 0 && css$H.withIndent), style: { width: row.indent > 0 ? (getIndent() + getWidth()) : 0 }, ...props.eventHandlers },
3487
- React__namespace.default.createElement(uuiComponents.DragHandle, { cx: css$H.dragHandle })));
3488
- };
3489
- return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
3490
- row.dnd?.srcData && renderDragHandle(),
3491
- 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 })),
3492
- 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: {
3493
- 'aria-label': row.isFolded ? 'Unfold' : 'Fold',
3494
- role: 'button',
3495
- }, key: "icon", icon: settings.dataTable.icons.body.foldingIcon, cx: [
3496
- uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$H.iconContainer,
3497
- ], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] }))))));
3498
- }
3595
+ var css$H = {"picker-row":"X8qUF3","pickerRow":"X8qUF3","align-widgets-top":"_-0oA5q","alignWidgetsTop":"_-0oA5q","row-content":"YEAMbJ","rowContent":"YEAMbJ","align-widgets-center":"wo0jIu","alignWidgetsCenter":"wo0jIu","icon-container":"YsNuRS","iconContainer":"YsNuRS","content-wrapper":"wC-c08","contentWrapper":"wC-c08","icon-wrapper":"JNvvU4","iconWrapper":"JNvvU4","icon-default":"BR2utH","iconDefault":"BR2utH","selected-mark":"AqhCFH","selectedMark":"AqhCFH"};
3499
3596
 
3500
3597
  const mergeHighlightRanges = (ranges) => {
3501
3598
  const mergedRanges = [];
@@ -3562,7 +3659,7 @@ const getHighlightedSearchMatches = (str, search) => {
3562
3659
  return getDecoratedText(str, ranges);
3563
3660
  };
3564
3661
 
3565
- var css$G = {"root":"JqGWN3","column-gap":"R-StN2","columnGap":"R-StN2","title":"uTzkPi","subtitle":"TjvwZW","disabled":"_5knY-v","multiline":"hENnBV"};
3662
+ var css$G = {"root":"GS82I7","column-gap":"JXVA03","columnGap":"JXVA03","title":"et0-va","subtitle":"i1VrBt","disabled":"pFYF01","multiline":"_4RcmRb"};
3566
3663
 
3567
3664
  function PickerItem(props) {
3568
3665
  const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
@@ -3570,14 +3667,13 @@ function PickerItem(props) {
3570
3667
  const isMultiline = !!(props.title && props.subtitle);
3571
3668
  const { search } = props.dataSourceState ?? {};
3572
3669
  const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
3573
- const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(props.subtitle, search) : props.subtitle;
3574
3670
  return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$G.root, 'uui-picker_input-item', 'uui-typography', props.cx] },
3575
3671
  React__namespace.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$G.multiline, css$G.columnGap], rawProps: { style: { '--uui-picker_item-vertical-padding': `${settings.pickerInput.sizes.body.itemVerticalPaddingMap[itemSize]}px` } } },
3576
3672
  avatarUrl && (React__namespace.createElement(uuiComponents.Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline) })),
3577
3673
  icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: icon }),
3578
3674
  React__namespace.createElement(FlexCell, { width: "auto" },
3579
3675
  title && (React__namespace.createElement("div", { className: cx__default.default(css$G.title, isDisabled && css$G.disabled, `uui-size-${itemSize}`) }, title)),
3580
- subtitle && (React__namespace.createElement("div", { className: cx__default.default(css$G.subtitle, isDisabled && css$G.disabled, `uui-size-${itemSize}`) }, subtitle))))));
3676
+ props.subtitle && (React__namespace.createElement("div", { className: cx__default.default(css$G.subtitle, isDisabled && css$G.disabled, `uui-size-${itemSize}`) }, props.subtitle))))));
3581
3677
  }
3582
3678
  function getAvatarSize(size, isMultiline) {
3583
3679
  return settings.pickerInput.sizes.body[isMultiline ? 'itemAvatarMultilineMap' : 'itemAvatarMap'][size];
@@ -3625,19 +3721,19 @@ function DataPickerRow(props) {
3625
3721
  content = (React__namespace.createElement(React__namespace.Fragment, null,
3626
3722
  renderRowItem(props.value, props),
3627
3723
  React__namespace.createElement(uuiComponents.FlexSpacer, null),
3628
- (props.isChildrenSelected || props.isSelected) && (React__namespace.createElement("div", { className: uuiCore.cx(css$Q.iconWrapper, 'uui-picker_input-row-select_icon', uuiCore.uuiMod.selected) },
3629
- React__namespace.createElement(uuiComponents.IconContainer, { size: settings.pickerInput.sizes.body.selectIconMap[props.size], icon: SelectIcon, cx: props.isChildrenSelected ? css$Q.iconDefault : css$Q.selectedMark, rawProps: { 'aria-label': props.isChildrenSelected
3724
+ (props.isChildrenSelected || props.isSelected) && (React__namespace.createElement("div", { className: uuiCore.cx(css$H.iconWrapper, 'uui-picker_input-row-select_icon', uuiCore.uuiMod.selected) },
3725
+ React__namespace.createElement(uuiComponents.IconContainer, { size: settings.pickerInput.sizes.body.selectIconMap[props.size], icon: SelectIcon, cx: props.isChildrenSelected ? css$H.iconDefault : css$H.selectedMark, rawProps: { 'aria-label': props.isChildrenSelected
3630
3726
  ? 'Child is selected'
3631
3727
  : 'Selected' } })))));
3632
3728
  }
3633
- return (React__namespace.createElement(FlexCell, { grow: 1, width: 0, minWidth: 0, cx: css$Q.rowContent },
3729
+ return (React__namespace.createElement(FlexCell, { grow: 1, width: 0, minWidth: 0, cx: css$H.rowContent },
3634
3730
  React__namespace.createElement(DataRowAddons, { size: props.size, rowProps: props, tabIndex: -1 }),
3635
- React__namespace.createElement("div", { className: css$Q.contentWrapper }, content)));
3731
+ React__namespace.createElement("div", { className: css$H.contentWrapper }, content)));
3636
3732
  };
3637
3733
  const clickHandler = props.onClick || props.onSelect || props.onFold || props.onCheck;
3638
3734
  return (
3639
3735
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
3640
- 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$Q.pickerRow, 'uui-picker_input-row', `uui-size-${props.size || settings.pickerInput.sizes.body.row}`, css$Q[`align-widgets-${props.alignActions || 'top'}`], clickHandler && props.isFocused && uuiCore.uuiMod.focus, clickHandler && uuiCore.uuiMarkers.clickable, props.cx), style: props.padding && {
3736
+ 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 && {
3641
3737
  '--uui-data_picker-horizontal-padding': `${props.padding}px`,
3642
3738
  }, ...props.rawProps }, renderContent()));
3643
3739
  }
@@ -3665,7 +3761,7 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
3665
3761
  });
3666
3762
  }
3667
3763
  if (props.minCharsToSearch && search.length < props.minCharsToSearch) {
3668
- return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$R.noData, grow: 1, textAlign: "center" },
3764
+ return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$I.noData, grow: 1, textAlign: "center" },
3669
3765
  React__namespace.default.createElement(Text, { size: props.searchSize }, i18n.dataPickerBody.typeSearchToLoadMessage)));
3670
3766
  }
3671
3767
  if (props.rows.length === 0) {
@@ -3678,7 +3774,7 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
3678
3774
  search: search,
3679
3775
  });
3680
3776
  }
3681
- return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$R.noData, grow: 1, textAlign: "center" },
3777
+ return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$I.noData, grow: 1, textAlign: "center" },
3682
3778
  React__namespace.default.createElement(Text, { size: props.searchSize }, i18n.dataPickerBody.noRecordsMessage)));
3683
3779
  }
3684
3780
  };
@@ -3697,7 +3793,7 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
3697
3793
  : settings.pickerInput.sizes.body.getSearchSize({ pickerSize: props.searchSize });
3698
3794
  const renderedDataRows = React.useMemo(() => props.rows.map((row) => renderRow(row, props.value)), [props.rows, props.value]);
3699
3795
  return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
3700
- showSearch && (React__namespace.default.createElement("div", { key: "search", className: uuiCore.cx(css$R.searchWrapper, 'uui-picker_input-body-search') },
3796
+ showSearch && (React__namespace.default.createElement("div", { key: "search", className: uuiCore.cx(css$I.searchWrapper, 'uui-picker_input-body-search') },
3701
3797
  React__namespace.default.createElement(uuiComponents.FlexCell, { grow: 1 },
3702
3798
  React__namespace.default.createElement(FocusLock.MoveFocusInside, null,
3703
3799
  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' } }))))),
@@ -3736,7 +3832,7 @@ function DataPickerFooterImpl(props) {
3736
3832
  }
3737
3833
  const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
3738
3834
 
3739
- var css$F = {"header":"oEDT8C","title":"v59QdI","close":"BoBuZz"};
3835
+ var css$F = {"header":"NQqV9H","title":"EZGqV3","close":"_4yrAj8"};
3740
3836
 
3741
3837
  const DataPickerMobileHeaderImpl = (props) => {
3742
3838
  const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
@@ -3746,7 +3842,7 @@ const DataPickerMobileHeaderImpl = (props) => {
3746
3842
  };
3747
3843
  const DataPickerMobileHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerMobileHeaderImpl);
3748
3844
 
3749
- var css$E = {"done":"waKVFE","container":"hVKll1"};
3845
+ var css$E = {"done":"-noL9F","container":"mvjfRX"};
3750
3846
 
3751
3847
  const PickerBodyMobileView = (props) => {
3752
3848
  const isMobileView = uuiCore.isMobile();
@@ -3758,7 +3854,7 @@ const PickerBodyMobileView = (props) => {
3758
3854
  isMobileView && (React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$E.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
3759
3855
  };
3760
3856
 
3761
- var css$D = {"sub-header-wrapper":"PieDL8","subHeaderWrapper":"PieDL8","switch":"J4wJ8c","no-found-modal-container":"LyVu3k","noFoundModalContainer":"LyVu3k","no-found-modal-container-icon":"lx7d1l","noFoundModalContainerIcon":"lx7d1l","no-found-modal-container-text":"olFfKT","noFoundModalContainerText":"olFfKT","body":"YojBfI"};
3857
+ var css$D = {"sub-header-wrapper":"pw-VR6","subHeaderWrapper":"pw-VR6","switch":"_4eMeQa","no-found-modal-container":"f7lJFw","noFoundModalContainer":"f7lJFw","no-found-modal-container-icon":"x-f5cT","noFoundModalContainerIcon":"x-f5cT","no-found-modal-container-text":"xLalBW","noFoundModalContainerText":"xLalBW","body":"RyPydl"};
3762
3858
 
3763
3859
  function PickerModal(props) {
3764
3860
  const { view, selection, dataSourceStateLens, dataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
@@ -3804,7 +3900,7 @@ function PickerModal(props) {
3804
3900
  React__namespace.default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
3805
3901
  }
3806
3902
 
3807
- var css$C = {"tooltip":"dq0ZYS"};
3903
+ var css$C = {"tooltip":"KKR5Hz"};
3808
3904
 
3809
3905
  const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
3810
3906
  const tagProps = {
@@ -3823,7 +3919,7 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
3823
3919
  }
3824
3920
  });
3825
3921
 
3826
- var css$B = {"root":"CYvft5"};
3922
+ var css$B = {"root":"_6BDOSN"};
3827
3923
 
3828
3924
  const defaultMode = EditMode.FORM;
3829
3925
  function applyPickerTogglerMods(mods) {
@@ -3905,7 +4001,7 @@ function PickerInputComponent(props, ref) {
3905
4001
  }
3906
4002
  const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
3907
4003
 
3908
- var css$A = {"row":"Vy0vEb"};
4004
+ var css$A = {"row":"XqEcUZ"};
3909
4005
 
3910
4006
  function PickerListRow(props) {
3911
4007
  let label;
@@ -3925,7 +4021,7 @@ function PickerListRow(props) {
3925
4021
  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));
3926
4022
  }
3927
4023
 
3928
- var css$z = {"root":"PGZFGA"};
4024
+ var css$z = {"root":"Mo5mcj"};
3929
4025
 
3930
4026
  function PickerList(props) {
3931
4027
  const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
@@ -3960,7 +4056,7 @@ function PickerList(props) {
3960
4056
  }, selectedRows)));
3961
4057
  }
3962
4058
 
3963
- var css$y = {"root":"f42u0w","wrapper":"RCY3ow","align-widgets-top":"GATkWR","alignWidgetsTop":"GATkWR","align-widgets-center":"KZzjoA","alignWidgetsCenter":"KZzjoA"};
4059
+ var css$y = {"root":"_-1fghw","wrapper":"_6OVFLW","align-widgets-top":"OZsjsh","alignWidgetsTop":"OZsjsh","align-widgets-center":"XJ-X6-","alignWidgetsCenter":"XJ-X6-"};
3964
4060
 
3965
4061
  function DataTableCell(initialProps) {
3966
4062
  const props = { ...initialProps };
@@ -4010,7 +4106,7 @@ function DataTableCell(initialProps) {
4010
4106
  return React__namespace.createElement(uuiComponents.DataTableCell, { ...props });
4011
4107
  }
4012
4108
 
4013
- var css$x = {"root":"ujAZz6"};
4109
+ var css$x = {"root":"wsv7pR"};
4014
4110
 
4015
4111
  // Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
4016
4112
  // 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.
@@ -4026,7 +4122,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
4026
4122
  ];
4027
4123
  }, () => propsMods);
4028
4124
 
4029
- var css$w = {"sorting-panel-container":"OMTweC","sortingPanelContainer":"OMTweC"};
4125
+ var css$w = {"sorting-panel-container":"yWeO0t","sortingPanelContainer":"yWeO0t"};
4030
4126
 
4031
4127
  const SortingPanelImpl = ({ sortDirection, onSort }) => {
4032
4128
  const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
@@ -4046,7 +4142,7 @@ const ColumnHeaderDropdownImpl = (props) => {
4046
4142
  };
4047
4143
  const ColumnHeaderDropdown = /* @__PURE__ */React__namespace.default.memo(ColumnHeaderDropdownImpl);
4048
4144
 
4049
- var css$v = {"root":"l2NB6i","caption-wrapper":"XXWlCJ","captionWrapper":"XXWlCJ","sort-icon":"quLMvO","sortIcon":"quLMvO","dropdown-icon":"l-8IVJ","dropdownIcon":"l-8IVJ","infoIcon":"-AWRcg","align-right":"zZf-to","alignRight":"zZf-to","align-center":"hpIA5e","alignCenter":"hpIA5e","caption":"_-4G-TA","truncate":"AJaSY-","upper-case":"UeI7jU","upperCase":"UeI7jU","checkbox":"LIWlXZ","icon":"wnoXPz","fold-all-icon":"XFn5Jk","foldAllIcon":"XFn5Jk","cell-tooltip":"JEq0DA","cellTooltip":"JEq0DA","resizing-marker":"v-DUDd","resizingMarker":"v-DUDd","pinned-right":"LXSl9T","pinnedRight":"LXSl9T","draggable":"BoHO3D","ghost":"_3FNaub","is-dragged-out":"YKj-hN","isDraggedOut":"YKj-hN","dnd-marker-left":"GQDpx-","dndMarkerLeft":"GQDpx-","dnd-marker-right":"MvoW9y","dndMarkerRight":"MvoW9y","cell-tooltip-wrapper":"Qy77eH","cellTooltipWrapper":"Qy77eH","cell-tooltip-text":"vb9byC","cellTooltipText":"vb9byC","tooltip-caption":"_9Qn9I1","tooltipCaption":"_9Qn9I1","tooltip-info":"LY7oG8","tooltipInfo":"LY7oG8"};
4145
+ var css$v = {"root":"b4757w","caption-wrapper":"naqhO4","captionWrapper":"naqhO4","sort-icon":"W1ER8j","sortIcon":"W1ER8j","dropdown-icon":"SmyQ4p","dropdownIcon":"SmyQ4p","infoIcon":"PCHDjW","align-right":"gzLwwv","alignRight":"gzLwwv","align-center":"qaWypb","alignCenter":"qaWypb","caption":"XkiMr0","truncate":"xLvRDD","upper-case":"UBHmx4","upperCase":"UBHmx4","checkbox":"OTBbz2","icon":"w-U0fW","fold-all-icon":"e8tRmY","foldAllIcon":"e8tRmY","cell-tooltip":"PMtDXK","cellTooltip":"PMtDXK","resizing-marker":"_-53OVU","resizingMarker":"_-53OVU","pinned-right":"wyOrGa","pinnedRight":"wyOrGa","draggable":"i5xueY","ghost":"BqoNqL","is-dragged-out":"L8uO1Z","isDraggedOut":"L8uO1Z","dnd-marker-left":"EfFJJ5","dndMarkerLeft":"EfFJJ5","dnd-marker-right":"dNe4Gg","dndMarkerRight":"dNe4Gg","cell-tooltip-wrapper":"xu68Er","cellTooltipWrapper":"xu68Er","cell-tooltip-text":"_8-BkJU","cellTooltipText":"_8-BkJU","tooltip-caption":"b-72Aj","tooltipCaption":"b-72Aj","tooltip-info":"ifHrZu","tooltipInfo":"ifHrZu"};
4050
4146
 
4051
4147
  class DataTableHeaderCell extends React__namespace.Component {
4052
4148
  constructor() {
@@ -4140,7 +4236,7 @@ class DataTableHeaderCell extends React__namespace.Component {
4140
4236
  }
4141
4237
  }
4142
4238
 
4143
- var css$u = {"root":"FGivmS","caption-wrapper":"dXvmNi","captionWrapper":"dXvmNi","align-center":"dNpR45","alignCenter":"dNpR45","caption":"KBNKiQ","truncate":"_3GvGEA","upper-case":"OlODep","upperCase":"OlODep","group-cell-tooltip":"xkHg2l","groupCellTooltip":"xkHg2l","group-cell-tooltip-wrapper":"Pl8RC2","groupCellTooltipWrapper":"Pl8RC2","group-cell-tooltip-text":"EOogj3","groupCellTooltipText":"EOogj3","tooltip-caption":"kCO1bE","tooltipCaption":"kCO1bE","tooltip-info":"CBtnqx","tooltipInfo":"CBtnqx"};
4239
+ var css$u = {"root":"nTQW5Z","caption-wrapper":"CfTFgF","captionWrapper":"CfTFgF","align-center":"B-QRPf","alignCenter":"B-QRPf","caption":"hLnjIF","truncate":"_0Rq4Bu","upper-case":"HjRRlY","upperCase":"HjRRlY","group-cell-tooltip":"LpIW7M","groupCellTooltip":"LpIW7M","group-cell-tooltip-wrapper":"tXPS1H","groupCellTooltipWrapper":"tXPS1H","group-cell-tooltip-text":"f4U-22","groupCellTooltipText":"f4U-22","tooltip-caption":"A4h6nf","tooltipCaption":"A4h6nf","tooltip-info":"-e0QVE","tooltipInfo":"-e0QVE"};
4144
4240
 
4145
4241
  class DataTableHeaderGroupCell extends React__namespace.Component {
4146
4242
  constructor() {
@@ -4180,7 +4276,7 @@ class DataTableHeaderGroupCell extends React__namespace.Component {
4180
4276
  }
4181
4277
  }
4182
4278
 
4183
- var css$t = {"root":"WSZi-A"};
4279
+ var css$t = {"root":"ZoDNIU"};
4184
4280
 
4185
4281
  const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
4186
4282
  renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
@@ -4276,7 +4372,7 @@ const UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION = 'uui-filters-panel-item-toggler
4276
4372
  const UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX = 'uui-filters-panel-item-toggler-postfix';
4277
4373
  const UUI_FILTERS_PANEL_BODY_FOOTER = 'uui-filters-panel-item-footer';
4278
4374
 
4279
- var css$s = {"body":"Wy20Yk","header":"ClBJQT","title":"i-QGBP","removeButton":"fj0Ums","with-search":"CY0mgV","withSearch":"CY0mgV"};
4375
+ var css$s = {"body":"_4Ixn2c","header":"s2bmwZ","title":"dZJlcD","removeButton":"LtHPkg","with-search":"CPCFHX","withSearch":"CPCFHX"};
4280
4376
 
4281
4377
  function FilterColumnBody(props) {
4282
4378
  const [predicate, setPredicate] = React.useState(getDefaultPredicate(props.predicates, props.value));
@@ -4337,7 +4433,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
4337
4433
  return columns;
4338
4434
  };
4339
4435
 
4340
- var css$r = {"unpin-icon":"_5Kvn0A","unpinIcon":"_5Kvn0A","pin-toggler-icon":"FMU5qi","pinTogglerIcon":"FMU5qi"};
4436
+ var css$r = {"unpin-icon":"Vwl9-L","unpinIcon":"Vwl9-L","pin-toggler-icon":"dxdZPu","pinTogglerIcon":"dxdZPu"};
4341
4437
 
4342
4438
  function PinIconButton(props) {
4343
4439
  const i18nLocal = i18n.tables.columnsConfigurationModal;
@@ -4379,7 +4475,7 @@ function getUnpinIcon(params) {
4379
4475
  }
4380
4476
  }
4381
4477
 
4382
- var css$q = {"row-wrapper":"_5NUQky","rowWrapper":"_5NUQky","pin-icon-button":"ILixCV","pinIconButton":"ILixCV","not-pinned":"MimAcI","notPinned":"MimAcI","checkbox":"KkDtc4","drag-handle":"pQaryi","dragHandle":"pQaryi","dnd-disabled":"_5EFtiE","dndDisabled":"_5EFtiE"};
4478
+ var css$q = {"row-wrapper":"hW9VxK","rowWrapper":"hW9VxK","pin-icon-button":"pTpMzl","pinIconButton":"pTpMzl","not-pinned":"xkwn3G","notPinned":"xkwn3G","checkbox":"bYsMGJ","drag-handle":"Z3jkmJ","dragHandle":"Z3jkmJ","dnd-disabled":"kNlTt-","dndDisabled":"kNlTt-"};
4383
4479
 
4384
4480
  const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
4385
4481
  const { column } = props;
@@ -4402,7 +4498,7 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
4402
4498
  return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
4403
4499
  });
4404
4500
 
4405
- var css$p = {"root":"ZmcE6j","main-panel":"_9WcpXI","mainPanel":"_9WcpXI","group":"ao8qTE","group-title":"k1B9tu","groupTitle":"k1B9tu","group-items":"luMI7Y","groupItems":"luMI7Y","no-data":"Lf4tRM","noData":"Lf4tRM","no-data-title":"yMJ23B","noDataTitle":"yMJ23B","no-data-sub-title":"VRWDvP","noDataSubTitle":"VRWDvP","h-divider":"KGfWpw","hDivider":"KGfWpw","search-area":"s7wecD","searchArea":"s7wecD","subgroup-accordion":"jxCvwV","subgroupAccordion":"jxCvwV","subgroup":"_3ymtH3","subgroup-title":"daqVTp","subgroupTitle":"daqVTp"};
4501
+ var css$p = {"root":"h2kKw1","main-panel":"wbLxSw","mainPanel":"wbLxSw","group":"_01mC0F","group-title":"qrU7pu","groupTitle":"qrU7pu","group-items":"_4Se-rL","groupItems":"_4Se-rL","no-data":"e2OMxc","noData":"e2OMxc","no-data-title":"jlgzxT","noDataTitle":"jlgzxT","no-data-sub-title":"XpH-38","noDataSubTitle":"XpH-38","h-divider":"j7aofd","hDivider":"j7aofd","search-area":"-JP4zK","searchArea":"-JP4zK","subgroup-accordion":"_768iQh","subgroupAccordion":"_768iQh","subgroup":"fZn8BC","subgroup-title":"Hcy17j","subgroupTitle":"Hcy17j"};
4406
4502
 
4407
4503
  const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$p.group },
4408
4504
  React__namespace.createElement(Text, { size: "none", cx: css$p.groupTitle }, title),
@@ -4504,7 +4600,7 @@ const getChildrenAndRest = (row, rows) => {
4504
4600
  return [children, rest];
4505
4601
  };
4506
4602
 
4507
- var css$o = {"listContainer":"p5UWNR","header":"Ognu5z","group":"g1adbD","stickyHeader":"z-VW5y"};
4603
+ var css$o = {"listContainer":"q4XfOM","header":"yEAyo7","group":"n3NxKs","stickyHeader":"dZHT7W"};
4508
4604
 
4509
4605
  function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
4510
4606
  const rowRef = React.useRef(undefined);
@@ -4544,7 +4640,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
4544
4640
  React__namespace.default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
4545
4641
  }
4546
4642
 
4547
- var css$n = {"root":"M2la1y","sticky-header":"kpkmhl","stickyHeader":"kpkmhl","no-results":"c-N6ww","noResults":"c-N6ww","icon":"_9nJQbS","title":"O0dTO1"};
4643
+ var css$n = {"root":"GkdlCQ","sticky-header":"bQeT--","stickyHeader":"bQeT--","no-results":"IGoPZy","noResults":"IGoPZy","icon":"uhFwKr","title":"u-9W3w"};
4548
4644
 
4549
4645
  function DataTable(props) {
4550
4646
  const { uuiModals } = uuiCore.useUuiContext();
@@ -4596,7 +4692,7 @@ function DataTable(props) {
4596
4692
  : (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 })))));
4597
4693
  }
4598
4694
 
4599
- var css$m = {"root":"IVVu0T","title-wrapper":"_3D6iLk","titleWrapper":"_3D6iLk","title":"_6e7qWt","text-wrapper":"fZ4ZKC","textWrapper":"fZ4ZKC","selection":"npHb02","postfix":"Y8Gb0L","selected":"SJ96bk"};
4695
+ var css$m = {"root":"GyNc5R","title-wrapper":"a2AIB7","titleWrapper":"a2AIB7","title":"pIKrqL","text-wrapper":"lyouu6","textWrapper":"lyouu6","selection":"nxjlPq","postfix":"wnx4gr","selected":"PQAmMq"};
4600
4696
 
4601
4697
  const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
4602
4698
  const togglerPickerOpened = (e) => {
@@ -4820,7 +4916,7 @@ function FilterRangeDatePickerBody(props) {
4820
4916
  renderFooter()));
4821
4917
  }
4822
4918
 
4823
- var css$l = {"container":"DDgCfF"};
4919
+ var css$l = {"container":"_1Pzf3M"};
4824
4920
 
4825
4921
  function FilterNumericBody(props) {
4826
4922
  const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
@@ -5131,14 +5227,24 @@ function FiltersToolbarImpl(props) {
5131
5227
  }
5132
5228
  const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
5133
5229
 
5134
- var css$k = {"delete-button":"BdTbNL","deleteButton":"BdTbNL","tab-button":"izaDkg","tabButton":"izaDkg","targetOpen":"dIv3EY"};
5230
+ var css$k = {"delete-button":"BgcNFt","deleteButton":"BgcNFt","tab-button":"Urs7Hb","tabButton":"Urs7Hb","targetOpen":"_99xTOz"};
5135
5231
 
5136
5232
  function PresetActionsDropdown(props) {
5137
5233
  const { uuiNotifications } = uuiCore.useUuiContext();
5234
+ const successNotificationHandler = React.useCallback((text) => {
5235
+ uuiNotifications
5236
+ .show((props) => (React__namespace.default.createElement(SuccessNotification, { ...props },
5237
+ React__namespace.default.createElement("div", { className: "uui-presets-panel-notification-text" }, text))), { duration: 3 })
5238
+ .catch(() => null);
5239
+ }, []);
5138
5240
  const copyUrlToClipboard = React.useCallback(async () => {
5139
- await navigator.clipboard.writeText(props.getPresetLink(props.preset));
5241
+ const isPresetChanged = props.activePresetId === props.preset.id && props.hasPresetChanged(props.preset);
5242
+ const preset = isPresetChanged ? { ...props.preset, ...props.tableState } : props.preset;
5243
+ const link = props.getPresetLink(preset);
5244
+ await navigator.clipboard.writeText(link);
5140
5245
  successNotificationHandler('Link copied!');
5141
- }, []);
5246
+ }, [props.activePresetId, props.preset, props.hasPresetChanged, props.getPresetLink, props.tableState]);
5247
+ const onCopyLink = props.onCopyLink ? props.onCopyLink : copyUrlToClipboard;
5142
5248
  const saveInCurrent = React.useCallback(async (preset) => {
5143
5249
  const newPreset = {
5144
5250
  ...preset,
@@ -5153,12 +5259,6 @@ function PresetActionsDropdown(props) {
5153
5259
  }, [
5154
5260
  props.tableState.filter, props.tableState.columnsConfig, props.tableState.filtersConfig,
5155
5261
  ]);
5156
- const successNotificationHandler = React.useCallback((text) => {
5157
- uuiNotifications
5158
- .show((props) => (React__namespace.default.createElement(SuccessNotification, { ...props },
5159
- React__namespace.default.createElement("div", { className: "uui-presets-panel-notification-text" }, text))), { duration: 3 })
5160
- .catch(() => null);
5161
- }, []);
5162
5262
  const saveInCurrentHandler = React.useCallback(() => {
5163
5263
  saveInCurrent(props.preset);
5164
5264
  }, [props.preset]);
@@ -5186,8 +5286,8 @@ function PresetActionsDropdown(props) {
5186
5286
  React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: settings.presetsPanel.icons.discardChangesIcon, caption: "Discard all changes", onClick: () => { dropdownProps.onClose(); discardAllChangesHandler(); } }),
5187
5287
  React__namespace.default.createElement(DropdownMenuSplitter, { key: "discard-splitter" }))),
5188
5288
  isRenameAvailable && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: settings.presetsPanel.icons.renameIcon, caption: "Rename", onClick: props.renamePreset })),
5189
- React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: settings.presetsPanel.icons.copyIcon, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } }),
5190
- React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: settings.presetsPanel.icons.copyLinkIcon, caption: "Copy Link", onClick: copyUrlToClipboard }),
5289
+ !isPresetChanged && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: settings.presetsPanel.icons.copyIcon, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } })),
5290
+ props.onCopyLink !== null && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: settings.presetsPanel.icons.copyLinkIcon, caption: "Copy Link", onClick: onCopyLink })),
5191
5291
  !isReadonlyPreset && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
5192
5292
  React__namespace.default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
5193
5293
  React__namespace.default.createElement(DropdownMenuButton, { icon: settings.presetsPanel.icons.deleteIcon, caption: "Delete", cx: css$k.deleteButton, onClick: deleteHandler })))));
@@ -5203,7 +5303,7 @@ const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
5203
5303
  const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
5204
5304
  const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
5205
5305
 
5206
- var css$j = {"preset-input-cell":"OphRUB","presetInputCell":"OphRUB","preset-input":"k1nIpI","presetInput":"k1nIpI"};
5306
+ var css$j = {"preset-input-cell":"cwvFx2","presetInputCell":"cwvFx2","preset-input":"jkvIku","presetInput":"jkvIku"};
5207
5307
 
5208
5308
  function PresetInput(props) {
5209
5309
  const [presetCaption, setPresetCaption] = React.useState(props.preset?.name || '');
@@ -5230,7 +5330,7 @@ function PresetInput(props) {
5230
5330
  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 })));
5231
5331
  }
5232
5332
 
5233
- var css$i = {"preset":"Y2ikKC","activePreset":"uVr9V9"};
5333
+ var css$i = {"preset":"Dye5l0","activePreset":"f-5V5b"};
5234
5334
 
5235
5335
  function Preset(props) {
5236
5336
  const [isRenamePreset, setIsRenamePreset] = React.useState(false);
@@ -5252,10 +5352,10 @@ function Preset(props) {
5252
5352
  }, [props.preset]);
5253
5353
  const isPresetActive = props.activePresetId === props.preset.id;
5254
5354
  const PresetActionsDropdownComponent = React.useCallback(() => React__namespace.default.createElement(PresetActionsDropdown, { renamePreset: setPresetForRename, ...props }), [props.preset, props.tableState, props.activePresetId]);
5255
- 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", isLinkActive: isPresetActive }))));
5355
+ 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 }))));
5256
5356
  }
5257
5357
 
5258
- var css$h = {"divider":"_3uoM3m","dropdownDeleteIcon":"QW1M--","presetsWrapper":"JCT1Uh","addPresetContainer":"-tGN5-","dropContainer":"bVX2aa"};
5358
+ var css$h = {"divider":"KHh8Zw","dropdownDeleteIcon":"UN1qU6","presetsWrapper":"_8MsJOo","addPresetContainer":"uK2DuH","dropContainer":"JgZTNZ"};
5259
5359
 
5260
5360
  function PresetsPanel(props) {
5261
5361
  const [isAddingPreset, setIsAddingPreset] = React.useState(false);
@@ -5304,9 +5404,9 @@ function PresetsPanel(props) {
5304
5404
  React__namespace.default.createElement(uuiComponents.AdaptivePanel, { items: getPanelItems() }))));
5305
5405
  }
5306
5406
 
5307
- var css$g = {"root":"dZKxBx"};
5407
+ var css$g = {"root":"CfPVgr"};
5308
5408
 
5309
- var css$f = {"root":"_1bWXqs","burger-content":"_-5iEeZ","burgerContent":"_-5iEeZ"};
5409
+ var css$f = {"root":"nx7RBH","burger-content":"jyN-38","burgerContent":"jyN-38"};
5310
5410
 
5311
5411
  var _path$3;
5312
5412
  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); }
@@ -5349,24 +5449,38 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
5349
5449
  };
5350
5450
  var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
5351
5451
 
5352
- var css$e = {"root":"uXTAl5","button-primary":"F4y5-n","buttonPrimary":"F4y5-n","button-secondary":"clr6Jv","buttonSecondary":"clr6Jv","hasIcon":"xiiW6e","dropdown":"HM56dj"};
5452
+ var css$e = {"root":"aSfkhg","button-primary":"FGHk2Z","buttonPrimary":"FGHk2Z","button-secondary":"DCpiox","buttonSecondary":"DCpiox","hasIcon":"_02T-H0","dropdown":"tHICjI"};
5353
5453
 
5354
- const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
5355
- css$e.root,
5356
- 'uui-main_menu-burger-button',
5357
- css$e['button-' + (props.type || 'primary')],
5358
- css$e['indent-' + (props.indentLevel || 0)],
5359
- props.isDropdown && css$e.dropdown,
5360
- props.icon && css$e.hasIcon,
5361
- ], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
5454
+ function applyBurgerButtonMods(props) {
5455
+ return [
5456
+ css$e.root,
5457
+ 'uui-main_menu-burger-button',
5458
+ css$e['button-' + (props.type || 'primary')],
5459
+ css$e['indent-' + (props.indentLevel || 0)],
5460
+ props.isActive && uuiCore.uuiMod.active,
5461
+ props.isDropdown && css$e.dropdown,
5462
+ props.icon && css$e.hasIcon,
5463
+ ];
5464
+ }
5465
+ const BurgerButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
5466
+ const { isActive } = uuiCore.useIsActive({
5467
+ isLinkActive: props.isLinkActive,
5468
+ link: props.link,
5469
+ isActive: props.isActive,
5470
+ });
5471
+ return (React__namespace.default.createElement(uuiComponents.Button, { ...props, ref: ref, cx: applyBurgerButtonMods({ ...props, isActive }), rawProps: {
5472
+ ...props.rawProps,
5473
+ role: 'menuitem',
5474
+ }, dropdownIcon: ForwardRef$2 }));
5475
+ });
5362
5476
 
5363
- var css$d = {"search-input":"_3GOVDt","searchInput":"_3GOVDt"};
5477
+ var css$d = {"search-input":"-AUA1G","searchInput":"-AUA1G"};
5364
5478
 
5365
5479
  function BurgerSearch(props) {
5366
5480
  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 }));
5367
5481
  }
5368
5482
 
5369
- var css$c = {"root":"uk6e8i","group-header":"X7bZPO","groupHeader":"X7bZPO","group-name":"Rd7BT8","groupName":"Rd7BT8","line":"MSoAYj"};
5483
+ var css$c = {"root":"dxTVgr","group-header":"_2IAhvh","groupHeader":"_2IAhvh","group-name":"BisoKj","groupName":"BisoKj","line":"Vw-Qxb"};
5370
5484
 
5371
5485
  function BurgerGroupHeader(props) {
5372
5486
  return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
@@ -5374,19 +5488,25 @@ function BurgerGroupHeader(props) {
5374
5488
  React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
5375
5489
  }
5376
5490
 
5377
- var css$b = {"root":"KagEMM","type-primary":"KxhHzJ","typePrimary":"KxhHzJ","type-secondary":"WGY-78","typeSecondary":"WGY-78"};
5491
+ var css$b = {"root":"_2Cznnq","type-primary":"-IkhrK","typePrimary":"-IkhrK","type-secondary":"_59s4v0","typeSecondary":"_59s4v0"};
5378
5492
 
5379
5493
  const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
5380
5494
  const { type, ...clickableProps } = props;
5495
+ const { isActive } = uuiCore.useIsActive({
5496
+ isLinkActive: props.isLinkActive,
5497
+ link: props.link,
5498
+ isActive: props.isActive,
5499
+ });
5381
5500
  return (React__namespace.createElement(uuiComponents.Clickable, { ...clickableProps, rawProps: {
5382
5501
  'aria-expanded': props.isOpen,
5383
- 'aria-current': props.isLinkActive
5502
+ 'aria-current': isActive
5384
5503
  ? 'page'
5385
5504
  : undefined,
5386
5505
  ...props.rawProps,
5387
5506
  }, cx: [
5388
5507
  css$b.root,
5389
5508
  css$b['type-' + (type || 'primary')],
5509
+ isActive && uuiCore.uuiMod.active,
5390
5510
  props.cx,
5391
5511
  ], ref: ref },
5392
5512
  props.icon && props.iconPosition !== 'right' && (React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: props.onIconClick })),
@@ -5396,34 +5516,18 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
5396
5516
  props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
5397
5517
  });
5398
5518
 
5399
- var css$a = {"dropdown-body":"XnVPJS","dropdownBody":"XnVPJS"};
5519
+ var css$a = {"dropdown-body":"qC5nxf","dropdownBody":"qC5nxf"};
5400
5520
 
5401
- class MainMenuDropdown extends React__namespace.Component {
5402
- render() {
5403
- return (React__namespace.createElement(uuiComponents.Dropdown, { renderTarget: (props) => (React__namespace.createElement(MainMenuButton, { caption: this.props.caption, ...props, rawProps: this.props.rawProps, isLinkActive: this.props.isLinkActive, isDropdown: true })), renderBody: (props) => {
5404
- const handleEscape = (e) => {
5405
- if (e.key === 'Escape' && props.isOpen) {
5406
- props.onClose();
5407
- }
5408
- };
5409
- return (React__namespace.createElement(FocusLock__default.default, { returnFocus: true, persistentFocus: true, lockProps: { onKeyDown: handleEscape } },
5410
- React__namespace.createElement("div", { className: cx__default.default(css$a.dropdownBody, 'uui-main_menu-dropdown', this.props.cx) }, this.props.renderBody
5411
- ? this.props.renderBody({ ...props })
5412
- : React__namespace.Children.map(this.props.children, (item) => {
5413
- if (!item)
5414
- return item;
5415
- return React__namespace.createElement(item.type, {
5416
- ...item.props,
5417
- onClick: item.props.onClick
5418
- ? () => {
5419
- item.props.onClick();
5420
- props.onClose();
5421
- }
5422
- : null,
5423
- });
5424
- }))));
5425
- }, placement: "bottom-start" }));
5426
- }
5521
+ function MainMenuDropdown(props) {
5522
+ const handleEscape = (e, onClose, isOpen) => {
5523
+ if (e.key === 'Escape' && isOpen) {
5524
+ onClose();
5525
+ }
5526
+ };
5527
+ 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: {
5528
+ onKeyDown: (e) => handleEscape(e, dropdownBodyProps.onClose, dropdownBodyProps.isOpen),
5529
+ } },
5530
+ React__namespace.default.createElement("div", { className: cx__default.default(css$a.dropdownBody, 'uui-main_menu-dropdown', props.cx) }, props.renderBody({ ...dropdownBodyProps })))), placement: "bottom-start" }));
5427
5531
  }
5428
5532
 
5429
5533
  function applyMainMenuMods() {
@@ -5455,12 +5559,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
5455
5559
  };
5456
5560
  var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
5457
5561
 
5458
- var css$9 = {"global-menu-btn":"sOnX4O","globalMenuBtn":"sOnX4O","global-menu-icon":"_7Kjl2N","globalMenuIcon":"_7Kjl2N"};
5562
+ var css$9 = {"global-menu-btn":"Zgx50Q","globalMenuBtn":"Zgx50Q","global-menu-icon":"ptbChi","globalMenuIcon":"ptbChi"};
5459
5563
 
5460
5564
  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 },
5461
5565
  React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
5462
5566
 
5463
- var css$8 = {"container":"_1rHVEs","open":"gTpu-f","folding-arrow":"N4ddZ-","foldingArrow":"N4ddZ-"};
5567
+ var css$8 = {"container":"JOg9EY","open":"_9Xp0Gk","folding-arrow":"_42X9dZ","foldingArrow":"_42X9dZ"};
5464
5568
 
5465
5569
  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 },
5466
5570
  React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
@@ -5468,15 +5572,15 @@ const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
5468
5572
  props.isDropdown && (React__namespace.createElement("div", null,
5469
5573
  React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
5470
5574
 
5471
- var css$7 = {"search-input":"HvmqXw","searchInput":"HvmqXw"};
5575
+ var css$7 = {"search-input":"LWtnwu","searchInput":"LWtnwu"};
5472
5576
 
5473
5577
  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 })) })));
5474
5578
 
5475
- var css$6 = {"container":"sIJHtT"};
5579
+ var css$6 = {"container":"d-E4Ii"};
5476
5580
 
5477
5581
  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 })));
5478
5582
 
5479
- var css$5 = {"root":"_1E-KZz"};
5583
+ var css$5 = {"root":"IRUUJv"};
5480
5584
 
5481
5585
  const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
5482
5586
 
@@ -5534,7 +5638,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
5534
5638
  };
5535
5639
  var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
5536
5640
 
5537
- var css$4 = {"root":"qHuwCn","drop-start":"CYFcgP","dropStart":"CYFcgP","drop-over":"H7acK3","dropOver":"H7acK3","link":"LddVu7","drop-area":"FLX-HM","dropArea":"FLX-HM","drop-caption":"ezSx52","dropCaption":"ezSx52","icon-blue":"MWrAj-","iconBlue":"MWrAj-"};
5641
+ var css$4 = {"root":"tcm7tF","drop-start":"lSg-VV","dropStart":"lSg-VV","drop-over":"_8fZSzw","dropOver":"_8fZSzw","link":"ZtYJFd","drop-area":"g8N6qt","dropArea":"g8N6qt","drop-caption":"_13ruEY","dropCaption":"_13ruEY","icon-blue":"sNjEhT","iconBlue":"sNjEhT"};
5538
5642
 
5539
5643
  function DropSpot(props) {
5540
5644
  const getInfoText = typeof props.infoText === 'string'
@@ -5552,7 +5656,7 @@ function DropSpot(props) {
5552
5656
  return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
5553
5657
  }
5554
5658
 
5555
- var css$3 = {"root":"NWOiVA"};
5659
+ var css$3 = {"root":"_8KeYyk"};
5556
5660
 
5557
5661
  const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
5558
5662
  const outsetRadius = props.size / 2 - 1;
@@ -5563,7 +5667,7 @@ const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref
5563
5667
  React__namespace.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
5564
5668
  });
5565
5669
 
5566
- var css$2 = {"root":"qPF4K9","file-name":"sqZWd8","fileName":"sqZWd8","default-color":"_5BqquI","defaultColor":"_5BqquI","doc-color":"r-neiO","docColor":"r-neiO","xls-color":"OkQHGA","xlsColor":"OkQHGA","pdf-color":"_8i9y3S","pdfColor":"_8i9y3S","movie-color":"b7ZF3i","movieColor":"b7ZF3i","img-color":"sqDNfL","imgColor":"sqDNfL","mov-color":"vtyJQg","movColor":"vtyJQg","error-block":"U1PT-R","errorBlock":"U1PT-R","icons-block":"swxJt7","iconsBlock":"swxJt7"};
5670
+ var css$2 = {"root":"k2RJTn","file-name":"zlZ4b-","fileName":"zlZ4b-","default-color":"d8xlQ4","defaultColor":"d8xlQ4","doc-color":"_5hOH57","docColor":"_5hOH57","xls-color":"xGVIvZ","xlsColor":"xGVIvZ","pdf-color":"_74zO-v","pdfColor":"_74zO-v","movie-color":"_6E4yt-","movieColor":"_6E4yt-","img-color":"_243-4q","imgColor":"_243-4q","mov-color":"bej-U1","movColor":"bej-U1","error-block":"_6WDRWV","errorBlock":"_6WDRWV","icons-block":"MknJ5f","iconsBlock":"MknJ5f"};
5567
5671
 
5568
5672
  const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
5569
5673
  const [isLoadingShow, setIsLoadingShow] = React__namespace.useState(true);
@@ -5682,7 +5786,7 @@ const getErrorPageConfig = () => ({
5682
5786
  },
5683
5787
  });
5684
5788
 
5685
- var css$1 = {"container":"SZfHHg"};
5789
+ var css$1 = {"container":"OXiYOQ"};
5686
5790
 
5687
5791
  const ErrorPage = (props) => {
5688
5792
  const isMobileScreen = uuiCore.isMobile();
@@ -5694,7 +5798,7 @@ const ErrorPage = (props) => {
5694
5798
  props?.supportLink && React__namespace.default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
5695
5799
  };
5696
5800
 
5697
- var css = {"recovery-spinner":"BOObZW","recoverySpinner":"BOObZW","recovery-message":"VAb36R","recoveryMessage":"VAb36R","modal-blocker":"gPQ4YD","modalBlocker":"gPQ4YD","modalFadeIn":"LKuqxx"};
5801
+ var css = {"recovery-spinner":"M9-nnX","recoverySpinner":"M9-nnX","recovery-message":"_8vzTQg","recoveryMessage":"_8vzTQg","modal-blocker":"XgXrc3","modalBlocker":"XgXrc3","modalFadeIn":"_1j1hZh"};
5698
5802
 
5699
5803
  function ErrorHandler(props) {
5700
5804
  const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
@@ -5761,6 +5865,14 @@ Object.defineProperty(exports, "IconContainer", {
5761
5865
  enumerable: true,
5762
5866
  get: function () { return uuiComponents.IconContainer; }
5763
5867
  });
5868
+ Object.defineProperty(exports, "MainMenuCustomElement", {
5869
+ enumerable: true,
5870
+ get: function () { return uuiComponents.MainMenuCustomElement; }
5871
+ });
5872
+ Object.defineProperty(exports, "MainMenuLogo", {
5873
+ enumerable: true,
5874
+ get: function () { return uuiComponents.MainMenuLogo; }
5875
+ });
5764
5876
  exports.Accordion = Accordion;
5765
5877
  exports.Alert = Alert;
5766
5878
  exports.Anchor = Anchor;
@@ -5879,6 +5991,7 @@ exports.TimePicker = TimePicker;
5879
5991
  exports.TimePickerBody = TimePickerBody;
5880
5992
  exports.TimePickerComponent = TimePickerComponent;
5881
5993
  exports.Tooltip = Tooltip;
5994
+ exports.Tree = Tree;
5882
5995
  exports.VerticalTabButton = VerticalTabButton;
5883
5996
  exports.VirtualList = VirtualList;
5884
5997
  exports.WarningAlert = WarningAlert;