@true-engineering/true-react-common-ui-kit 3.0.0-alpha.2 → 3.0.0-alpha.20

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 (58) hide show
  1. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  2. package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.d.ts +1 -5
  3. package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.d.ts +1 -3
  4. package/dist/components/FlexibleTable/FlexibleTable.d.ts +6 -2
  5. package/dist/components/FlexibleTable/FlexibleTable.styles.d.ts +1 -1
  6. package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.d.ts +1 -1
  7. package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.d.ts +1 -1
  8. package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.d.ts +1 -1
  9. package/dist/components/FlexibleTable/helpers.d.ts +3 -0
  10. package/dist/components/FlexibleTable/types.d.ts +1 -1
  11. package/dist/components/MultiSelectList/MultiSelectList.d.ts +1 -2
  12. package/dist/components/Skeleton/Skeleton.d.ts +7 -0
  13. package/dist/components/Skeleton/Skeleton.styles.d.ts +3 -0
  14. package/dist/components/Skeleton/index.d.ts +2 -0
  15. package/dist/components/Switch/Switch.d.ts +1 -1
  16. package/dist/components/index.d.ts +1 -0
  17. package/dist/helpers/phone.d.ts +1 -1
  18. package/dist/hooks/index.d.ts +1 -0
  19. package/dist/hooks/use-merged-refs.d.ts +2 -0
  20. package/dist/theme/types.d.ts +2 -1
  21. package/dist/true-react-common-ui-kit.js +1100 -757
  22. package/dist/true-react-common-ui-kit.js.map +1 -1
  23. package/dist/true-react-common-ui-kit.umd.cjs +1099 -756
  24. package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
  25. package/package.json +1 -1
  26. package/src/components/Checkbox/Checkbox.tsx +1 -1
  27. package/src/components/DateInput/DateInput.tsx +1 -9
  28. package/src/components/DatePicker/DatePicker.stories.tsx +1 -0
  29. package/src/components/DatePicker/DatePicker.tsx +1 -3
  30. package/src/components/FiltersPane/FiltersPane.stories.tsx +0 -8
  31. package/src/components/FiltersPane/components/FilterInterval/FilterInterval.styles.ts +2 -1
  32. package/src/components/FiltersPane/components/FilterSelect/FilterSelect.styles.ts +3 -1
  33. package/src/components/FiltersPane/components/FilterSelect/FilterSelect.tsx +1 -6
  34. package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.ts +2 -1
  35. package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.ts +1 -0
  36. package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.tsx +1 -4
  37. package/src/components/FiltersPane/types.ts +1 -1
  38. package/src/components/FlexibleTable/FlexibleTable.stories.tsx +15 -12
  39. package/src/components/FlexibleTable/FlexibleTable.styles.ts +9 -10
  40. package/src/components/FlexibleTable/FlexibleTable.tsx +124 -60
  41. package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.ts +4 -0
  42. package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.tsx +25 -27
  43. package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.ts +4 -0
  44. package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.tsx +12 -11
  45. package/src/components/FlexibleTable/helpers.ts +15 -0
  46. package/src/components/FlexibleTable/types.ts +1 -1
  47. package/src/components/MultiSelectList/MultiSelectList.styles.ts +4 -0
  48. package/src/components/MultiSelectList/MultiSelectList.tsx +1 -3
  49. package/src/components/Skeleton/Skeleton.stories.tsx +19 -0
  50. package/src/components/Skeleton/Skeleton.styles.ts +46 -0
  51. package/src/components/Skeleton/Skeleton.tsx +12 -0
  52. package/src/components/Skeleton/index.ts +2 -0
  53. package/src/components/Switch/Switch.tsx +2 -2
  54. package/src/components/index.ts +1 -0
  55. package/src/helpers/phone.ts +1 -1
  56. package/src/hooks/index.ts +1 -0
  57. package/src/hooks/use-merged-refs.ts +4 -0
  58. package/src/theme/types.ts +2 -0
@@ -829,9 +829,9 @@
829
829
  }
830
830
  function validateFragmentProps(fragment) {
831
831
  {
832
- var keys = Object.keys(fragment.props);
833
- for (var i = 0; i < keys.length; i++) {
834
- var key = keys[i];
832
+ var keys2 = Object.keys(fragment.props);
833
+ for (var i = 0; i < keys2.length; i++) {
834
+ var key = keys2[i];
835
835
  if (key !== "children" && key !== "key") {
836
836
  setCurrentlyValidatingElement$1(fragment);
837
837
  error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
@@ -1194,12 +1194,12 @@
1194
1194
  const root$1 = root;
1195
1195
  var Symbol$1 = root$1.Symbol;
1196
1196
  const Symbol$2 = Symbol$1;
1197
- var objectProto$a = Object.prototype;
1198
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
1199
- var nativeObjectToString$1 = objectProto$a.toString;
1197
+ var objectProto$d = Object.prototype;
1198
+ var hasOwnProperty$a = objectProto$d.hasOwnProperty;
1199
+ var nativeObjectToString$1 = objectProto$d.toString;
1200
1200
  var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
1201
1201
  function getRawTag(value) {
1202
- var isOwn = hasOwnProperty$8.call(value, symToStringTag$1), tag = value[symToStringTag$1];
1202
+ var isOwn = hasOwnProperty$a.call(value, symToStringTag$1), tag = value[symToStringTag$1];
1203
1203
  try {
1204
1204
  value[symToStringTag$1] = void 0;
1205
1205
  var unmasked = true;
@@ -1215,8 +1215,8 @@
1215
1215
  }
1216
1216
  return result;
1217
1217
  }
1218
- var objectProto$9 = Object.prototype;
1219
- var nativeObjectToString = objectProto$9.toString;
1218
+ var objectProto$c = Object.prototype;
1219
+ var nativeObjectToString = objectProto$c.toString;
1220
1220
  function objectToString(value) {
1221
1221
  return nativeObjectToString.call(value);
1222
1222
  }
@@ -1232,13 +1232,13 @@
1232
1232
  var type = typeof value;
1233
1233
  return value != null && (type == "object" || type == "function");
1234
1234
  }
1235
- var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
1235
+ var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
1236
1236
  function isFunction(value) {
1237
1237
  if (!isObject(value)) {
1238
1238
  return false;
1239
1239
  }
1240
1240
  var tag = baseGetTag(value);
1241
- return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
1241
+ return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
1242
1242
  }
1243
1243
  var coreJsData = root$1["__core-js_shared__"];
1244
1244
  const coreJsData$1 = coreJsData;
@@ -1266,11 +1266,11 @@
1266
1266
  }
1267
1267
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
1268
1268
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
1269
- var funcProto$1 = Function.prototype, objectProto$8 = Object.prototype;
1269
+ var funcProto$1 = Function.prototype, objectProto$b = Object.prototype;
1270
1270
  var funcToString$1 = funcProto$1.toString;
1271
- var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
1271
+ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
1272
1272
  var reIsNative = RegExp(
1273
- "^" + funcToString$1.call(hasOwnProperty$7).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1273
+ "^" + funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1274
1274
  );
1275
1275
  function baseIsNative(value) {
1276
1276
  if (!isObject(value) || isMasked(value)) {
@@ -1300,21 +1300,21 @@
1300
1300
  return result;
1301
1301
  }
1302
1302
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
1303
- var objectProto$7 = Object.prototype;
1304
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
1303
+ var objectProto$a = Object.prototype;
1304
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
1305
1305
  function hashGet(key) {
1306
1306
  var data = this.__data__;
1307
1307
  if (nativeCreate$1) {
1308
1308
  var result = data[key];
1309
1309
  return result === HASH_UNDEFINED$1 ? void 0 : result;
1310
1310
  }
1311
- return hasOwnProperty$6.call(data, key) ? data[key] : void 0;
1311
+ return hasOwnProperty$8.call(data, key) ? data[key] : void 0;
1312
1312
  }
1313
- var objectProto$6 = Object.prototype;
1314
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
1313
+ var objectProto$9 = Object.prototype;
1314
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
1315
1315
  function hashHas(key) {
1316
1316
  var data = this.__data__;
1317
- return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$5.call(data, key);
1317
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$7.call(data, key);
1318
1318
  }
1319
1319
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
1320
1320
  function hashSet(key, value) {
@@ -1503,9 +1503,9 @@
1503
1503
  }
1504
1504
  var getPrototype = overArg(Object.getPrototypeOf, Object);
1505
1505
  const getPrototype$1 = getPrototype;
1506
- var objectProto$5 = Object.prototype;
1506
+ var objectProto$8 = Object.prototype;
1507
1507
  function isPrototype(value) {
1508
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$5;
1508
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
1509
1509
  return value === proto;
1510
1510
  }
1511
1511
  function initCloneObject(object) {
@@ -1514,17 +1514,17 @@
1514
1514
  function isObjectLike(value) {
1515
1515
  return value != null && typeof value == "object";
1516
1516
  }
1517
- var argsTag$1 = "[object Arguments]";
1517
+ var argsTag$2 = "[object Arguments]";
1518
1518
  function baseIsArguments(value) {
1519
- return isObjectLike(value) && baseGetTag(value) == argsTag$1;
1519
+ return isObjectLike(value) && baseGetTag(value) == argsTag$2;
1520
1520
  }
1521
- var objectProto$4 = Object.prototype;
1522
- var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
1523
- var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
1521
+ var objectProto$7 = Object.prototype;
1522
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
1523
+ var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
1524
1524
  var isArguments = baseIsArguments(function() {
1525
1525
  return arguments;
1526
1526
  }()) ? baseIsArguments : function(value) {
1527
- return isObjectLike(value) && hasOwnProperty$4.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
1527
+ return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
1528
1528
  };
1529
1529
  const isArguments$1 = isArguments;
1530
1530
  var isArray = Array.isArray;
@@ -1549,27 +1549,27 @@
1549
1549
  var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
1550
1550
  var isBuffer = nativeIsBuffer || stubFalse;
1551
1551
  const isBuffer$1 = isBuffer;
1552
- var objectTag$1 = "[object Object]";
1553
- var funcProto = Function.prototype, objectProto$3 = Object.prototype;
1552
+ var objectTag$3 = "[object Object]";
1553
+ var funcProto = Function.prototype, objectProto$6 = Object.prototype;
1554
1554
  var funcToString = funcProto.toString;
1555
- var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
1555
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
1556
1556
  var objectCtorString = funcToString.call(Object);
1557
1557
  function isPlainObject(value) {
1558
- if (!isObjectLike(value) || baseGetTag(value) != objectTag$1) {
1558
+ if (!isObjectLike(value) || baseGetTag(value) != objectTag$3) {
1559
1559
  return false;
1560
1560
  }
1561
1561
  var proto = getPrototype$1(value);
1562
1562
  if (proto === null) {
1563
1563
  return true;
1564
1564
  }
1565
- var Ctor = hasOwnProperty$3.call(proto, "constructor") && proto.constructor;
1565
+ var Ctor = hasOwnProperty$5.call(proto, "constructor") && proto.constructor;
1566
1566
  return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
1567
1567
  }
1568
- var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", weakMapTag = "[object WeakMap]";
1569
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
1568
+ var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$2 = "[object Boolean]", dateTag$2 = "[object Date]", errorTag$1 = "[object Error]", funcTag$1 = "[object Function]", mapTag$4 = "[object Map]", numberTag$2 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$2 = "[object RegExp]", setTag$4 = "[object Set]", stringTag$2 = "[object String]", weakMapTag$2 = "[object WeakMap]";
1569
+ var arrayBufferTag$2 = "[object ArrayBuffer]", dataViewTag$3 = "[object DataView]", float32Tag$2 = "[object Float32Array]", float64Tag$2 = "[object Float64Array]", int8Tag$2 = "[object Int8Array]", int16Tag$2 = "[object Int16Array]", int32Tag$2 = "[object Int32Array]", uint8Tag$2 = "[object Uint8Array]", uint8ClampedTag$2 = "[object Uint8ClampedArray]", uint16Tag$2 = "[object Uint16Array]", uint32Tag$2 = "[object Uint32Array]";
1570
1570
  var typedArrayTags = {};
1571
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
1572
- typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
1571
+ typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true;
1572
+ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$2] = typedArrayTags[boolTag$2] = typedArrayTags[dataViewTag$3] = typedArrayTags[dateTag$2] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] = typedArrayTags[mapTag$4] = typedArrayTags[numberTag$2] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$2] = typedArrayTags[setTag$4] = typedArrayTags[stringTag$2] = typedArrayTags[weakMapTag$2] = false;
1573
1573
  function baseIsTypedArray(value) {
1574
1574
  return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
1575
1575
  }
@@ -1605,11 +1605,11 @@
1605
1605
  }
1606
1606
  return object[key];
1607
1607
  }
1608
- var objectProto$2 = Object.prototype;
1609
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
1608
+ var objectProto$5 = Object.prototype;
1609
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
1610
1610
  function assignValue(object, key, value) {
1611
1611
  var objValue = object[key];
1612
- if (!(hasOwnProperty$2.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
1612
+ if (!(hasOwnProperty$4.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
1613
1613
  baseAssignValue(object, key, value);
1614
1614
  }
1615
1615
  }
@@ -1645,12 +1645,12 @@
1645
1645
  length = length == null ? MAX_SAFE_INTEGER : length;
1646
1646
  return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
1647
1647
  }
1648
- var objectProto$1 = Object.prototype;
1649
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
1648
+ var objectProto$4 = Object.prototype;
1649
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1650
1650
  function arrayLikeKeys(value, inherited) {
1651
1651
  var isArr = isArray$1(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
1652
1652
  for (var key in value) {
1653
- if ((inherited || hasOwnProperty$1.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
1653
+ if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
1654
1654
  (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1655
1655
  isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1656
1656
  isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
@@ -1669,15 +1669,15 @@
1669
1669
  }
1670
1670
  return result;
1671
1671
  }
1672
- var objectProto = Object.prototype;
1673
- var hasOwnProperty = objectProto.hasOwnProperty;
1672
+ var objectProto$3 = Object.prototype;
1673
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1674
1674
  function baseKeysIn(object) {
1675
1675
  if (!isObject(object)) {
1676
1676
  return nativeKeysIn(object);
1677
1677
  }
1678
1678
  var isProto = isPrototype(object), result = [];
1679
1679
  for (var key in object) {
1680
- if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) {
1680
+ if (!(key == "constructor" && (isProto || !hasOwnProperty$2.call(object, key)))) {
1681
1681
  result.push(key);
1682
1682
  }
1683
1683
  }
@@ -1878,8 +1878,8 @@
1878
1878
  }
1879
1879
  return target;
1880
1880
  }
1881
- function ownKeys$G(object, enumerableOnly) {
1882
- var keys = Object.keys(object);
1881
+ function ownKeys$H(object, enumerableOnly) {
1882
+ var keys2 = Object.keys(object);
1883
1883
  if (Object.getOwnPropertySymbols) {
1884
1884
  var symbols = Object.getOwnPropertySymbols(object);
1885
1885
  if (enumerableOnly) {
@@ -1887,16 +1887,16 @@
1887
1887
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
1888
1888
  });
1889
1889
  }
1890
- keys.push.apply(keys, symbols);
1890
+ keys2.push.apply(keys2, symbols);
1891
1891
  }
1892
- return keys;
1892
+ return keys2;
1893
1893
  }
1894
- function _object_spread_props$G(target, source) {
1894
+ function _object_spread_props$H(target, source) {
1895
1895
  source = source != null ? source : {};
1896
1896
  if (Object.getOwnPropertyDescriptors) {
1897
1897
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
1898
1898
  } else {
1899
- ownKeys$G(Object(source)).forEach(function(key) {
1899
+ ownKeys$H(Object(source)).forEach(function(key) {
1900
1900
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
1901
1901
  });
1902
1902
  }
@@ -1950,7 +1950,7 @@
1950
1950
  return trueReactPlatformHelpers.mergeStyles(styles, trueReactPlatformHelpers.isNotEmpty(componentName) ? theme === null || theme === void 0 ? void 0 : (_theme_components = theme.components) === null || _theme_components === void 0 ? void 0 : _theme_components[componentName] : void 0, tweakStyles);
1951
1951
  });
1952
1952
  return function(data) {
1953
- return useStyles2(trueReactPlatformHelpers.isNotEmpty(data) ? _object_spread_props$G(_object_spread$S({}, data), {
1953
+ return useStyles2(trueReactPlatformHelpers.isNotEmpty(data) ? _object_spread_props$H(_object_spread$S({}, data), {
1954
1954
  theme: cleanStyles(data.theme)
1955
1955
  }) : data);
1956
1956
  };
@@ -1971,7 +1971,7 @@
1971
1971
  state.elements.popper.style.minWidth = "".concat(state.elements.reference.offsetWidth, "px");
1972
1972
  }
1973
1973
  };
1974
- function _array_like_to_array$r(arr, len) {
1974
+ function _array_like_to_array$q(arr, len) {
1975
1975
  if (len == null || len > arr.length)
1976
1976
  len = arr.length;
1977
1977
  for (var i = 0, arr2 = new Array(len); i < len; i++)
@@ -1980,7 +1980,7 @@
1980
1980
  }
1981
1981
  function _array_without_holes$6(arr) {
1982
1982
  if (Array.isArray(arr))
1983
- return _array_like_to_array$r(arr);
1983
+ return _array_like_to_array$q(arr);
1984
1984
  }
1985
1985
  function _iterable_to_array$6(iter) {
1986
1986
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
@@ -1990,20 +1990,20 @@
1990
1990
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1991
1991
  }
1992
1992
  function _to_consumable_array$6(arr) {
1993
- return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$r(arr) || _non_iterable_spread$6();
1993
+ return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$q(arr) || _non_iterable_spread$6();
1994
1994
  }
1995
- function _unsupported_iterable_to_array$r(o, minLen) {
1995
+ function _unsupported_iterable_to_array$q(o, minLen) {
1996
1996
  if (!o)
1997
1997
  return;
1998
1998
  if (typeof o === "string")
1999
- return _array_like_to_array$r(o, minLen);
1999
+ return _array_like_to_array$q(o, minLen);
2000
2000
  var n = Object.prototype.toString.call(o).slice(8, -1);
2001
2001
  if (n === "Object" && o.constructor)
2002
2002
  n = o.constructor.name;
2003
2003
  if (n === "Map" || n === "Set")
2004
2004
  return Array.from(n);
2005
2005
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
2006
- return _array_like_to_array$r(o, minLen);
2006
+ return _array_like_to_array$q(o, minLen);
2007
2007
  }
2008
2008
  var findCountryByCode = function(countryCode) {
2009
2009
  var countriesList = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : phoneInfo;
@@ -2086,18 +2086,18 @@
2086
2086
  }
2087
2087
  return mask;
2088
2088
  };
2089
- function _array_like_to_array$q(arr, len) {
2089
+ function _array_like_to_array$p(arr, len) {
2090
2090
  if (len == null || len > arr.length)
2091
2091
  len = arr.length;
2092
2092
  for (var i = 0, arr2 = new Array(len); i < len; i++)
2093
2093
  arr2[i] = arr[i];
2094
2094
  return arr2;
2095
2095
  }
2096
- function _array_with_holes$p(arr) {
2096
+ function _array_with_holes$o(arr) {
2097
2097
  if (Array.isArray(arr))
2098
2098
  return arr;
2099
2099
  }
2100
- function _iterable_to_array_limit$p(arr, i) {
2100
+ function _iterable_to_array_limit$o(arr, i) {
2101
2101
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
2102
2102
  if (_i == null)
2103
2103
  return;
@@ -2125,24 +2125,24 @@
2125
2125
  }
2126
2126
  return _arr;
2127
2127
  }
2128
- function _non_iterable_rest$p() {
2128
+ function _non_iterable_rest$o() {
2129
2129
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2130
2130
  }
2131
- function _sliced_to_array$p(arr, i) {
2132
- return _array_with_holes$p(arr) || _iterable_to_array_limit$p(arr, i) || _unsupported_iterable_to_array$q(arr, i) || _non_iterable_rest$p();
2131
+ function _sliced_to_array$o(arr, i) {
2132
+ return _array_with_holes$o(arr) || _iterable_to_array_limit$o(arr, i) || _unsupported_iterable_to_array$p(arr, i) || _non_iterable_rest$o();
2133
2133
  }
2134
- function _unsupported_iterable_to_array$q(o, minLen) {
2134
+ function _unsupported_iterable_to_array$p(o, minLen) {
2135
2135
  if (!o)
2136
2136
  return;
2137
2137
  if (typeof o === "string")
2138
- return _array_like_to_array$q(o, minLen);
2138
+ return _array_like_to_array$p(o, minLen);
2139
2139
  var n = Object.prototype.toString.call(o).slice(8, -1);
2140
2140
  if (n === "Object" && o.constructor)
2141
2141
  n = o.constructor.name;
2142
2142
  if (n === "Map" || n === "Set")
2143
2143
  return Array.from(n);
2144
2144
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
2145
- return _array_like_to_array$q(o, minLen);
2145
+ return _array_like_to_array$p(o, minLen);
2146
2146
  }
2147
2147
  var rgba = hexToRgba;
2148
2148
  var transformToKebab = function(string) {
@@ -2265,7 +2265,7 @@
2265
2265
  var addDataAttributes = function() {
2266
2266
  var data = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2267
2267
  return Object.fromEntries(Object.entries(data).map(function(param) {
2268
- var _param = _sliced_to_array$p(param, 2), key = _param[0], value = _param[1];
2268
+ var _param = _sliced_to_array$o(param, 2), key = _param[0], value = _param[1];
2269
2269
  return trueReactPlatformHelpers.isString(value) && trueReactPlatformHelpers.isStringNotEmpty(value) || trueReactPlatformHelpers.isNotEmpty(value) ? [
2270
2270
  "data-".concat(transformToKebab(key)),
2271
2271
  value
@@ -2609,8 +2609,8 @@
2609
2609
  function mergePaddingObject(paddingObject) {
2610
2610
  return Object.assign({}, getFreshSideObject(), paddingObject);
2611
2611
  }
2612
- function expandToHashMap(value, keys) {
2613
- return keys.reduce(function(hashMap, key) {
2612
+ function expandToHashMap(value, keys2) {
2613
+ return keys2.reduce(function(hashMap, key) {
2614
2614
  hashMap[key] = value;
2615
2615
  return hashMap;
2616
2616
  }, {});
@@ -3930,7 +3930,7 @@
3930
3930
  }, [enabled, referenceElement, popperElement]);
3931
3931
  return popperState;
3932
3932
  }
3933
- function _array_like_to_array$p(arr, len) {
3933
+ function _array_like_to_array$o(arr, len) {
3934
3934
  if (len == null || len > arr.length)
3935
3935
  len = arr.length;
3936
3936
  for (var i = 0, arr2 = new Array(len); i < len; i++)
@@ -3939,7 +3939,7 @@
3939
3939
  }
3940
3940
  function _array_without_holes$5(arr) {
3941
3941
  if (Array.isArray(arr))
3942
- return _array_like_to_array$p(arr);
3942
+ return _array_like_to_array$o(arr);
3943
3943
  }
3944
3944
  function _define_property$T(obj, key, value) {
3945
3945
  if (key in obj) {
@@ -3977,20 +3977,20 @@
3977
3977
  return target;
3978
3978
  }
3979
3979
  function _to_consumable_array$5(arr) {
3980
- return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$p(arr) || _non_iterable_spread$5();
3980
+ return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$o(arr) || _non_iterable_spread$5();
3981
3981
  }
3982
- function _unsupported_iterable_to_array$p(o, minLen) {
3982
+ function _unsupported_iterable_to_array$o(o, minLen) {
3983
3983
  if (!o)
3984
3984
  return;
3985
3985
  if (typeof o === "string")
3986
- return _array_like_to_array$p(o, minLen);
3986
+ return _array_like_to_array$o(o, minLen);
3987
3987
  var n = Object.prototype.toString.call(o).slice(8, -1);
3988
3988
  if (n === "Object" && o.constructor)
3989
3989
  n = o.constructor.name;
3990
3990
  if (n === "Map" || n === "Set")
3991
3991
  return Array.from(n);
3992
3992
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
3993
- return _array_like_to_array$p(o, minLen);
3993
+ return _array_like_to_array$o(o, minLen);
3994
3994
  }
3995
3995
  var useDropdown = function(param) {
3996
3996
  var isOpen = param.isOpen, onDropdownClose = param.onDropdownClose, referenceElement = param.referenceElement, dropdownElement = param.dropdownElement, options = param.options, _param_dependenciesForPositionUpdating = param.dependenciesForPositionUpdating, dependenciesForPositionUpdating = _param_dependenciesForPositionUpdating === void 0 ? [] : _param_dependenciesForPositionUpdating;
@@ -4096,6 +4096,11 @@
4096
4096
  tweakStyles
4097
4097
  ]);
4098
4098
  };
4099
+ var useMergedRefs = function(refs) {
4100
+ return React.useMemo(function() {
4101
+ return trueReactPlatformHelpers.mergeRefs(refs);
4102
+ }, refs);
4103
+ };
4099
4104
  const avatarGreen = ` <svg\r
4100
4105
  width="100%"\r
4101
4106
  height="100%"\r
@@ -5055,8 +5060,8 @@
5055
5060
  }
5056
5061
  return target;
5057
5062
  }
5058
- function ownKeys$F(object, enumerableOnly) {
5059
- var keys = Object.keys(object);
5063
+ function ownKeys$G(object, enumerableOnly) {
5064
+ var keys2 = Object.keys(object);
5060
5065
  if (Object.getOwnPropertySymbols) {
5061
5066
  var symbols = Object.getOwnPropertySymbols(object);
5062
5067
  if (enumerableOnly) {
@@ -5064,16 +5069,16 @@
5064
5069
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5065
5070
  });
5066
5071
  }
5067
- keys.push.apply(keys, symbols);
5072
+ keys2.push.apply(keys2, symbols);
5068
5073
  }
5069
- return keys;
5074
+ return keys2;
5070
5075
  }
5071
- function _object_spread_props$F(target, source) {
5076
+ function _object_spread_props$G(target, source) {
5072
5077
  source = source != null ? source : {};
5073
5078
  if (Object.getOwnPropertyDescriptors) {
5074
5079
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5075
5080
  } else {
5076
- ownKeys$F(Object(source)).forEach(function(key) {
5081
+ ownKeys$G(Object(source)).forEach(function(key) {
5077
5082
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5078
5083
  });
5079
5084
  }
@@ -5104,19 +5109,19 @@
5104
5109
  }, path), index);
5105
5110
  }),
5106
5111
  (_icon_rects = icon.rects) === null || _icon_rects === void 0 ? void 0 : _icon_rects.map(function(rect, index) {
5107
- return /* @__PURE__ */ React.createElement("rect", _object_spread_props$F(_object_spread$P({}, rect), {
5112
+ return /* @__PURE__ */ React.createElement("rect", _object_spread_props$G(_object_spread$P({}, rect), {
5108
5113
  key: index
5109
5114
  }));
5110
5115
  }),
5111
5116
  (_icon_circles = icon.circles) === null || _icon_circles === void 0 ? void 0 : _icon_circles.map(function(circle, index) {
5112
- return /* @__PURE__ */ React.createElement("circle", _object_spread_props$F(_object_spread$P({}, circle), {
5117
+ return /* @__PURE__ */ React.createElement("circle", _object_spread_props$G(_object_spread$P({}, circle), {
5113
5118
  key: index
5114
5119
  }));
5115
5120
  })
5116
5121
  ]
5117
5122
  });
5118
5123
  };
5119
- var useStyles$L = createThemedStyles("Icon", {
5124
+ var useStyles$M = createThemedStyles("Icon", {
5120
5125
  root: {
5121
5126
  display: "flex",
5122
5127
  alignItems: "center"
@@ -5150,8 +5155,8 @@
5150
5155
  }
5151
5156
  return target;
5152
5157
  }
5153
- function ownKeys$E(object, enumerableOnly) {
5154
- var keys = Object.keys(object);
5158
+ function ownKeys$F(object, enumerableOnly) {
5159
+ var keys2 = Object.keys(object);
5155
5160
  if (Object.getOwnPropertySymbols) {
5156
5161
  var symbols = Object.getOwnPropertySymbols(object);
5157
5162
  if (enumerableOnly) {
@@ -5159,16 +5164,16 @@
5159
5164
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5160
5165
  });
5161
5166
  }
5162
- keys.push.apply(keys, symbols);
5167
+ keys2.push.apply(keys2, symbols);
5163
5168
  }
5164
- return keys;
5169
+ return keys2;
5165
5170
  }
5166
- function _object_spread_props$E(target, source) {
5171
+ function _object_spread_props$F(target, source) {
5167
5172
  source = source != null ? source : {};
5168
5173
  if (Object.getOwnPropertyDescriptors) {
5169
5174
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5170
5175
  } else {
5171
- ownKeys$E(Object(source)).forEach(function(key) {
5176
+ ownKeys$F(Object(source)).forEach(function(key) {
5172
5177
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5173
5178
  });
5174
5179
  }
@@ -5176,10 +5181,10 @@
5176
5181
  }
5177
5182
  var Icon = function(param) {
5178
5183
  var type = param.type, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles;
5179
- var classes = useStyles$L({
5184
+ var classes = useStyles$M({
5180
5185
  theme: tweakStyles
5181
5186
  });
5182
- return /* @__PURE__ */ jsx("div", _object_spread_props$E(_object_spread$O({
5187
+ return /* @__PURE__ */ jsx("div", _object_spread_props$F(_object_spread$O({
5183
5188
  className: classes.root
5184
5189
  }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
5185
5190
  children: isComplexIcon(type) ? /* @__PURE__ */ jsx(ComplexIconBoilerplate, {
@@ -5197,7 +5202,7 @@
5197
5202
  var ITEM_HORIZONTAL_PADDING = 16;
5198
5203
  var ICON_SIZE = 20;
5199
5204
  var ICON_GAP = 12;
5200
- var useStyles$K = createThemedStyles("List", {
5205
+ var useStyles$L = createThemedStyles("List", {
5201
5206
  root: {
5202
5207
  minWidth: 180,
5203
5208
  backgroundColor: colors.CLASSIC_WHITE,
@@ -5268,8 +5273,8 @@
5268
5273
  }
5269
5274
  return target;
5270
5275
  }
5271
- function ownKeys$D(object, enumerableOnly) {
5272
- var keys = Object.keys(object);
5276
+ function ownKeys$E(object, enumerableOnly) {
5277
+ var keys2 = Object.keys(object);
5273
5278
  if (Object.getOwnPropertySymbols) {
5274
5279
  var symbols = Object.getOwnPropertySymbols(object);
5275
5280
  if (enumerableOnly) {
@@ -5277,16 +5282,16 @@
5277
5282
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5278
5283
  });
5279
5284
  }
5280
- keys.push.apply(keys, symbols);
5285
+ keys2.push.apply(keys2, symbols);
5281
5286
  }
5282
- return keys;
5287
+ return keys2;
5283
5288
  }
5284
- function _object_spread_props$D(target, source) {
5289
+ function _object_spread_props$E(target, source) {
5285
5290
  source = source != null ? source : {};
5286
5291
  if (Object.getOwnPropertyDescriptors) {
5287
5292
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5288
5293
  } else {
5289
- ownKeys$D(Object(source)).forEach(function(key) {
5294
+ ownKeys$E(Object(source)).forEach(function(key) {
5290
5295
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5291
5296
  });
5292
5297
  }
@@ -5294,7 +5299,7 @@
5294
5299
  }
5295
5300
  var List = function(param) {
5296
5301
  var items = param.items, testId = param.testId, data = param.data, tweakStyles = param.tweakStyles, onClick = param.onClick;
5297
- var classes = useStyles$K({
5302
+ var classes = useStyles$L({
5298
5303
  theme: tweakStyles
5299
5304
  });
5300
5305
  var handleItemClick = function(item) {
@@ -5302,7 +5307,7 @@
5302
5307
  onClick === null || onClick === void 0 ? void 0 : onClick();
5303
5308
  };
5304
5309
  var _item_testId;
5305
- return /* @__PURE__ */ jsx("div", _object_spread_props$D(_object_spread$N({
5310
+ return /* @__PURE__ */ jsx("div", _object_spread_props$E(_object_spread$N({
5306
5311
  className: classes.root
5307
5312
  }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
5308
5313
  children: items.map(function(item, idx) {
@@ -5312,7 +5317,7 @@
5312
5317
  item.shouldDrawSpacerAbove && /* @__PURE__ */ jsx("div", {
5313
5318
  className: classes.spacer
5314
5319
  }),
5315
- /* @__PURE__ */ jsxs("div", _object_spread_props$D(_object_spread$N({
5320
+ /* @__PURE__ */ jsxs("div", _object_spread_props$E(_object_spread$N({
5316
5321
  className: clsx(classes.item, (_obj = {}, _define_property$P(_obj, classes.disabledItem, item.disabled), _define_property$P(_obj, classes.withIconGap, item.withIconGap), _obj)),
5317
5322
  onClick: item.disabled ? void 0 : function() {
5318
5323
  return handleItemClick(item);
@@ -5368,7 +5373,7 @@
5368
5373
  }
5369
5374
  return target;
5370
5375
  }
5371
- var useStyles$J = createThemedStyles("AccountInfo", _object_spread$M({
5376
+ var useStyles$K = createThemedStyles("AccountInfo", _object_spread$M({
5372
5377
  root: {
5373
5378
  display: "flex"
5374
5379
  },
@@ -5410,14 +5415,14 @@
5410
5415
  height: 32
5411
5416
  }
5412
5417
  }, animations.slideUp));
5413
- function _array_like_to_array$o(arr, len) {
5418
+ function _array_like_to_array$n(arr, len) {
5414
5419
  if (len == null || len > arr.length)
5415
5420
  len = arr.length;
5416
5421
  for (var i = 0, arr2 = new Array(len); i < len; i++)
5417
5422
  arr2[i] = arr[i];
5418
5423
  return arr2;
5419
5424
  }
5420
- function _array_with_holes$o(arr) {
5425
+ function _array_with_holes$n(arr) {
5421
5426
  if (Array.isArray(arr))
5422
5427
  return arr;
5423
5428
  }
@@ -5434,7 +5439,7 @@
5434
5439
  }
5435
5440
  return obj;
5436
5441
  }
5437
- function _iterable_to_array_limit$o(arr, i) {
5442
+ function _iterable_to_array_limit$n(arr, i) {
5438
5443
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
5439
5444
  if (_i == null)
5440
5445
  return;
@@ -5462,7 +5467,7 @@
5462
5467
  }
5463
5468
  return _arr;
5464
5469
  }
5465
- function _non_iterable_rest$o() {
5470
+ function _non_iterable_rest$n() {
5466
5471
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5467
5472
  }
5468
5473
  function _object_spread$L(target) {
@@ -5480,8 +5485,8 @@
5480
5485
  }
5481
5486
  return target;
5482
5487
  }
5483
- function ownKeys$C(object, enumerableOnly) {
5484
- var keys = Object.keys(object);
5488
+ function ownKeys$D(object, enumerableOnly) {
5489
+ var keys2 = Object.keys(object);
5485
5490
  if (Object.getOwnPropertySymbols) {
5486
5491
  var symbols = Object.getOwnPropertySymbols(object);
5487
5492
  if (enumerableOnly) {
@@ -5489,40 +5494,40 @@
5489
5494
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5490
5495
  });
5491
5496
  }
5492
- keys.push.apply(keys, symbols);
5497
+ keys2.push.apply(keys2, symbols);
5493
5498
  }
5494
- return keys;
5499
+ return keys2;
5495
5500
  }
5496
- function _object_spread_props$C(target, source) {
5501
+ function _object_spread_props$D(target, source) {
5497
5502
  source = source != null ? source : {};
5498
5503
  if (Object.getOwnPropertyDescriptors) {
5499
5504
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5500
5505
  } else {
5501
- ownKeys$C(Object(source)).forEach(function(key) {
5506
+ ownKeys$D(Object(source)).forEach(function(key) {
5502
5507
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5503
5508
  });
5504
5509
  }
5505
5510
  return target;
5506
5511
  }
5507
- function _sliced_to_array$o(arr, i) {
5508
- return _array_with_holes$o(arr) || _iterable_to_array_limit$o(arr, i) || _unsupported_iterable_to_array$o(arr, i) || _non_iterable_rest$o();
5512
+ function _sliced_to_array$n(arr, i) {
5513
+ return _array_with_holes$n(arr) || _iterable_to_array_limit$n(arr, i) || _unsupported_iterable_to_array$n(arr, i) || _non_iterable_rest$n();
5509
5514
  }
5510
- function _unsupported_iterable_to_array$o(o, minLen) {
5515
+ function _unsupported_iterable_to_array$n(o, minLen) {
5511
5516
  if (!o)
5512
5517
  return;
5513
5518
  if (typeof o === "string")
5514
- return _array_like_to_array$o(o, minLen);
5519
+ return _array_like_to_array$n(o, minLen);
5515
5520
  var n = Object.prototype.toString.call(o).slice(8, -1);
5516
5521
  if (n === "Object" && o.constructor)
5517
5522
  n = o.constructor.name;
5518
5523
  if (n === "Map" || n === "Set")
5519
5524
  return Array.from(n);
5520
5525
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
5521
- return _array_like_to_array$o(o, minLen);
5526
+ return _array_like_to_array$n(o, minLen);
5522
5527
  }
5523
5528
  var AccountInfo = function(param) {
5524
5529
  var data = param.data, testId = param.testId, avatar = param.avatar, tweakStyles = param.tweakStyles, accountName = param.accountName, options = param.options;
5525
- var classes = useStyles$J({
5530
+ var classes = useStyles$K({
5526
5531
  theme: tweakStyles
5527
5532
  });
5528
5533
  var tweakListStyles = useTweakStyles({
@@ -5532,7 +5537,7 @@
5532
5537
  });
5533
5538
  var nameRef = React.useRef(null);
5534
5539
  var dropdownRef = React.useRef(null);
5535
- var _useState = _sliced_to_array$o(React.useState(false), 2), isMenuOpen = _useState[0], setIsMenuOpen = _useState[1];
5540
+ var _useState = _sliced_to_array$n(React.useState(false), 2), isMenuOpen = _useState[0], setIsMenuOpen = _useState[1];
5536
5541
  var toggleMenu = function(event) {
5537
5542
  event.stopPropagation();
5538
5543
  setIsMenuOpen(function(v) {
@@ -5542,7 +5547,7 @@
5542
5547
  useOnClickOutsideWithRef(dropdownRef, function() {
5543
5548
  return setIsMenuOpen(false);
5544
5549
  }, nameRef);
5545
- return /* @__PURE__ */ jsxs("div", _object_spread_props$C(_object_spread$L({
5550
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$D(_object_spread$L({
5546
5551
  className: classes.root
5547
5552
  }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
5548
5553
  children: [
@@ -5592,7 +5597,7 @@
5592
5597
  ]
5593
5598
  }));
5594
5599
  };
5595
- var useStyles$I = createThemedStyles("AddButton", {
5600
+ var useStyles$J = createThemedStyles("AddButton", {
5596
5601
  root: {
5597
5602
  display: "flex",
5598
5603
  alignItems: "center",
@@ -5646,8 +5651,8 @@
5646
5651
  }
5647
5652
  return target;
5648
5653
  }
5649
- function ownKeys$B(object, enumerableOnly) {
5650
- var keys = Object.keys(object);
5654
+ function ownKeys$C(object, enumerableOnly) {
5655
+ var keys2 = Object.keys(object);
5651
5656
  if (Object.getOwnPropertySymbols) {
5652
5657
  var symbols = Object.getOwnPropertySymbols(object);
5653
5658
  if (enumerableOnly) {
@@ -5655,16 +5660,16 @@
5655
5660
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5656
5661
  });
5657
5662
  }
5658
- keys.push.apply(keys, symbols);
5663
+ keys2.push.apply(keys2, symbols);
5659
5664
  }
5660
- return keys;
5665
+ return keys2;
5661
5666
  }
5662
- function _object_spread_props$B(target, source) {
5667
+ function _object_spread_props$C(target, source) {
5663
5668
  source = source != null ? source : {};
5664
5669
  if (Object.getOwnPropertyDescriptors) {
5665
5670
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5666
5671
  } else {
5667
- ownKeys$B(Object(source)).forEach(function(key) {
5672
+ ownKeys$C(Object(source)).forEach(function(key) {
5668
5673
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5669
5674
  });
5670
5675
  }
@@ -5672,10 +5677,10 @@
5672
5677
  }
5673
5678
  var AddButton = function(param) {
5674
5679
  var text = param.text, _param_type = param.type, type = _param_type === void 0 ? "button" : _param_type, isDisabled = param.isDisabled, onClick = param.onClick, isFullWidth = param.isFullWidth, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles;
5675
- var classes = useStyles$I({
5680
+ var classes = useStyles$J({
5676
5681
  theme: tweakStyles
5677
5682
  });
5678
- return /* @__PURE__ */ jsxs("button", _object_spread_props$B(_object_spread$K({
5683
+ return /* @__PURE__ */ jsxs("button", _object_spread_props$C(_object_spread$K({
5679
5684
  type,
5680
5685
  className: clsx(classes.root, isDisabled && classes.disabled, isFullWidth && classes.fullWidth),
5681
5686
  onClick: !isDisabled ? onClick : void 0,
@@ -5694,7 +5699,7 @@
5694
5699
  ]
5695
5700
  }));
5696
5701
  };
5697
- var useStyles$H = createThemedStyles("DotsPreloader", {
5702
+ var useStyles$I = createThemedStyles("DotsPreloader", {
5698
5703
  root: {
5699
5704
  display: "flex",
5700
5705
  gap: 4,
@@ -5739,7 +5744,7 @@
5739
5744
  });
5740
5745
  var DotsPreloader = function(param) {
5741
5746
  var tweakStyles = param.tweakStyles;
5742
- var classes = useStyles$H({
5747
+ var classes = useStyles$I({
5743
5748
  theme: tweakStyles
5744
5749
  });
5745
5750
  return /* @__PURE__ */ jsx("div", {
@@ -5805,7 +5810,7 @@
5805
5810
  ]
5806
5811
  });
5807
5812
  };
5808
- var useStyles$G = createThemedStyles("SvgPreloader", {
5813
+ var useStyles$H = createThemedStyles("SvgPreloader", {
5809
5814
  root: {
5810
5815
  display: "flex",
5811
5816
  width: "100%",
@@ -5815,7 +5820,7 @@
5815
5820
  var SvgPreloader = function(param) {
5816
5821
  var _param_type = param.type, type = _param_type === void 0 ? "default" : _param_type, tweakStyles = param.tweakStyles;
5817
5822
  var _theme_preloaders;
5818
- var classes = useStyles$G({
5823
+ var classes = useStyles$H({
5819
5824
  theme: tweakStyles
5820
5825
  });
5821
5826
  var theme = React.useContext(ThemeContext).theme;
@@ -5829,7 +5834,7 @@
5829
5834
  }
5830
5835
  }) : /* @__PURE__ */ jsx(PreloaderIcon, {});
5831
5836
  };
5832
- var useStyles$F = createThemedStyles("ThemedPreloader", {
5837
+ var useStyles$G = createThemedStyles("ThemedPreloader", {
5833
5838
  root: {
5834
5839
  display: "flex"
5835
5840
  },
@@ -5868,8 +5873,8 @@
5868
5873
  }
5869
5874
  return target;
5870
5875
  }
5871
- function ownKeys$A(object, enumerableOnly) {
5872
- var keys = Object.keys(object);
5876
+ function ownKeys$B(object, enumerableOnly) {
5877
+ var keys2 = Object.keys(object);
5873
5878
  if (Object.getOwnPropertySymbols) {
5874
5879
  var symbols = Object.getOwnPropertySymbols(object);
5875
5880
  if (enumerableOnly) {
@@ -5877,16 +5882,16 @@
5877
5882
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5878
5883
  });
5879
5884
  }
5880
- keys.push.apply(keys, symbols);
5885
+ keys2.push.apply(keys2, symbols);
5881
5886
  }
5882
- return keys;
5887
+ return keys2;
5883
5888
  }
5884
- function _object_spread_props$A(target, source) {
5889
+ function _object_spread_props$B(target, source) {
5885
5890
  source = source != null ? source : {};
5886
5891
  if (Object.getOwnPropertyDescriptors) {
5887
5892
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5888
5893
  } else {
5889
- ownKeys$A(Object(source)).forEach(function(key) {
5894
+ ownKeys$B(Object(source)).forEach(function(key) {
5890
5895
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5891
5896
  });
5892
5897
  }
@@ -5894,7 +5899,7 @@
5894
5899
  }
5895
5900
  var ThemedPreloader = function(param) {
5896
5901
  var _param_type = param.type, type = _param_type === void 0 ? "default" : _param_type, _param_useCurrentColor = param.useCurrentColor, useCurrentColor = _param_useCurrentColor === void 0 ? false : _param_useCurrentColor, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles;
5897
- var classes = useStyles$F({
5902
+ var classes = useStyles$G({
5898
5903
  theme: tweakStyles
5899
5904
  });
5900
5905
  var tweakDotsPreloaderStyles = useTweakStyles({
@@ -5907,7 +5912,7 @@
5907
5912
  className: "tweakSvgPreloader",
5908
5913
  currentComponentName: "ThemedPreloader"
5909
5914
  });
5910
- return /* @__PURE__ */ jsx("div", _object_spread_props$A(_object_spread$J({
5915
+ return /* @__PURE__ */ jsx("div", _object_spread_props$B(_object_spread$J({
5911
5916
  className: clsx(classes.root, classes[type], _define_property$L({}, classes.currentColor, useCurrentColor))
5912
5917
  }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
5913
5918
  children: type === "dots" ? /* @__PURE__ */ jsx(DotsPreloader, {
@@ -5918,7 +5923,7 @@
5918
5923
  })
5919
5924
  }));
5920
5925
  };
5921
- var useStyles$E = createThemedStyles("Button", {
5926
+ var useStyles$F = createThemedStyles("Button", {
5922
5927
  root: {
5923
5928
  display: "flex",
5924
5929
  justifyContent: "center",
@@ -6118,8 +6123,8 @@
6118
6123
  }
6119
6124
  return target;
6120
6125
  }
6121
- function ownKeys$z(object, enumerableOnly) {
6122
- var keys = Object.keys(object);
6126
+ function ownKeys$A(object, enumerableOnly) {
6127
+ var keys2 = Object.keys(object);
6123
6128
  if (Object.getOwnPropertySymbols) {
6124
6129
  var symbols = Object.getOwnPropertySymbols(object);
6125
6130
  if (enumerableOnly) {
@@ -6127,16 +6132,16 @@
6127
6132
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6128
6133
  });
6129
6134
  }
6130
- keys.push.apply(keys, symbols);
6135
+ keys2.push.apply(keys2, symbols);
6131
6136
  }
6132
- return keys;
6137
+ return keys2;
6133
6138
  }
6134
- function _object_spread_props$z(target, source) {
6139
+ function _object_spread_props$A(target, source) {
6135
6140
  source = source != null ? source : {};
6136
6141
  if (Object.getOwnPropertyDescriptors) {
6137
6142
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6138
6143
  } else {
6139
- ownKeys$z(Object(source)).forEach(function(key) {
6144
+ ownKeys$A(Object(source)).forEach(function(key) {
6140
6145
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6141
6146
  });
6142
6147
  }
@@ -6144,7 +6149,7 @@
6144
6149
  }
6145
6150
  var Button = /* @__PURE__ */ React.forwardRef(function(param, ref) {
6146
6151
  var _param_type = param.type, type = _param_type === void 0 ? "button" : _param_type, children = param.children, _param_size = param.size, size = _param_size === void 0 ? "l" : _param_size, _param_view = param.view, view = _param_view === void 0 ? "primary" : _param_view, _param_isFullWidth = param.isFullWidth, isFullWidth = _param_isFullWidth === void 0 ? false : _param_isFullWidth, _param_isInline = param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_shouldSkipTabNavigation = param.shouldSkipTabNavigation, shouldSkipTabNavigation = _param_shouldSkipTabNavigation === void 0 ? false : _param_shouldSkipTabNavigation, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles, icon = param.icon, _param_iconPosition = param.iconPosition, iconPosition = _param_iconPosition === void 0 ? "left" : _param_iconPosition, _param_preloaderType = param.preloaderType, preloaderType = _param_preloaderType === void 0 ? "dots" : _param_preloaderType, onClick = param.onClick, onMouseDown = param.onMouseDown;
6147
- var classes = useStyles$E({
6152
+ var classes = useStyles$F({
6148
6153
  theme: tweakStyles
6149
6154
  });
6150
6155
  var tweakPreloaderStyles = useTweakStyles({
@@ -6157,7 +6162,7 @@
6157
6162
  var hasChildren = trueReactPlatformHelpers.isReactNodeNotEmpty(children);
6158
6163
  var hasNoAction = isDisabled || isLoading;
6159
6164
  var _obj, _obj1;
6160
- return /* @__PURE__ */ jsxs("button", _object_spread_props$z(_object_spread$I({
6165
+ return /* @__PURE__ */ jsxs("button", _object_spread_props$A(_object_spread$I({
6161
6166
  ref,
6162
6167
  type,
6163
6168
  className: clsx(classes.root, classes[size], classes[view], (_obj = {}, _define_property$K(_obj, classes.disabled, isDisabled), _define_property$K(_obj, classes.fullWidth, isFullWidth), _define_property$K(_obj, classes.inline, isInline), _define_property$K(_obj, classes.active, isActive), _define_property$K(_obj, classes.loading, isLoading), _define_property$K(_obj, classes.onlyIcon, hasIcon && !hasChildren), _obj)),
@@ -6191,7 +6196,7 @@
6191
6196
  ]
6192
6197
  }));
6193
6198
  });
6194
- var useStyles$D = createThemedStyles("Checkbox", {
6199
+ var useStyles$E = createThemedStyles("Checkbox", {
6195
6200
  root: {
6196
6201
  cursor: "pointer",
6197
6202
  display: "flex",
@@ -6228,14 +6233,14 @@
6228
6233
  flexDirection: "row-reverse"
6229
6234
  }
6230
6235
  });
6231
- function _array_like_to_array$n(arr, len) {
6236
+ function _array_like_to_array$m(arr, len) {
6232
6237
  if (len == null || len > arr.length)
6233
6238
  len = arr.length;
6234
6239
  for (var i = 0, arr2 = new Array(len); i < len; i++)
6235
6240
  arr2[i] = arr[i];
6236
6241
  return arr2;
6237
6242
  }
6238
- function _array_with_holes$n(arr) {
6243
+ function _array_with_holes$m(arr) {
6239
6244
  if (Array.isArray(arr))
6240
6245
  return arr;
6241
6246
  }
@@ -6252,7 +6257,7 @@
6252
6257
  }
6253
6258
  return obj;
6254
6259
  }
6255
- function _iterable_to_array_limit$n(arr, i) {
6260
+ function _iterable_to_array_limit$m(arr, i) {
6256
6261
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
6257
6262
  if (_i == null)
6258
6263
  return;
@@ -6280,7 +6285,7 @@
6280
6285
  }
6281
6286
  return _arr;
6282
6287
  }
6283
- function _non_iterable_rest$n() {
6288
+ function _non_iterable_rest$m() {
6284
6289
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6285
6290
  }
6286
6291
  function _object_spread$H(target) {
@@ -6298,8 +6303,8 @@
6298
6303
  }
6299
6304
  return target;
6300
6305
  }
6301
- function ownKeys$y(object, enumerableOnly) {
6302
- var keys = Object.keys(object);
6306
+ function ownKeys$z(object, enumerableOnly) {
6307
+ var keys2 = Object.keys(object);
6303
6308
  if (Object.getOwnPropertySymbols) {
6304
6309
  var symbols = Object.getOwnPropertySymbols(object);
6305
6310
  if (enumerableOnly) {
@@ -6307,43 +6312,43 @@
6307
6312
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6308
6313
  });
6309
6314
  }
6310
- keys.push.apply(keys, symbols);
6315
+ keys2.push.apply(keys2, symbols);
6311
6316
  }
6312
- return keys;
6317
+ return keys2;
6313
6318
  }
6314
- function _object_spread_props$y(target, source) {
6319
+ function _object_spread_props$z(target, source) {
6315
6320
  source = source != null ? source : {};
6316
6321
  if (Object.getOwnPropertyDescriptors) {
6317
6322
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6318
6323
  } else {
6319
- ownKeys$y(Object(source)).forEach(function(key) {
6324
+ ownKeys$z(Object(source)).forEach(function(key) {
6320
6325
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6321
6326
  });
6322
6327
  }
6323
6328
  return target;
6324
6329
  }
6325
- function _sliced_to_array$n(arr, i) {
6326
- return _array_with_holes$n(arr) || _iterable_to_array_limit$n(arr, i) || _unsupported_iterable_to_array$n(arr, i) || _non_iterable_rest$n();
6330
+ function _sliced_to_array$m(arr, i) {
6331
+ return _array_with_holes$m(arr) || _iterable_to_array_limit$m(arr, i) || _unsupported_iterable_to_array$m(arr, i) || _non_iterable_rest$m();
6327
6332
  }
6328
- function _unsupported_iterable_to_array$n(o, minLen) {
6333
+ function _unsupported_iterable_to_array$m(o, minLen) {
6329
6334
  if (!o)
6330
6335
  return;
6331
6336
  if (typeof o === "string")
6332
- return _array_like_to_array$n(o, minLen);
6337
+ return _array_like_to_array$m(o, minLen);
6333
6338
  var n = Object.prototype.toString.call(o).slice(8, -1);
6334
6339
  if (n === "Object" && o.constructor)
6335
6340
  n = o.constructor.name;
6336
6341
  if (n === "Map" || n === "Set")
6337
6342
  return Array.from(n);
6338
6343
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
6339
- return _array_like_to_array$n(o, minLen);
6344
+ return _array_like_to_array$m(o, minLen);
6340
6345
  }
6341
6346
  function Checkbox(param) {
6342
6347
  var children = param.children, isDisabled = param.isDisabled, isReadonly = param.isReadonly, _param_isChecked = param.isChecked, isChecked = _param_isChecked === void 0 ? false : _param_isChecked, value = param.value, data = param.data, testId = param.testId, isSemiChecked = param.isSemiChecked, _param_labelPosition = param.labelPosition, labelPosition = _param_labelPosition === void 0 ? "right" : _param_labelPosition, tweakStyles = param.tweakStyles, onSelect = param.onSelect;
6343
- var classes = useStyles$D({
6348
+ var classes = useStyles$E({
6344
6349
  theme: tweakStyles
6345
6350
  });
6346
- var _useState = _sliced_to_array$n(React.useState(false), 2), isSelected = _useState[0], setIsSelected = _useState[1];
6351
+ var _useState = _sliced_to_array$m(React.useState(false), 2), isSelected = _useState[0], setIsSelected = _useState[1];
6347
6352
  var hasAction = !isDisabled && !isReadonly;
6348
6353
  var onToggle = function() {
6349
6354
  var newValue = !isSelected;
@@ -6359,7 +6364,7 @@
6359
6364
  isChecked
6360
6365
  ]);
6361
6366
  var _obj;
6362
- return /* @__PURE__ */ jsxs("label", _object_spread_props$y(_object_spread$H({
6367
+ return /* @__PURE__ */ jsxs("label", _object_spread_props$z(_object_spread$H({
6363
6368
  className: clsx(classes.root, (_obj = {}, _define_property$J(_obj, classes.disabled, isDisabled), _define_property$J(_obj, classes.labelPositionLeft, labelPosition === "left"), _obj))
6364
6369
  }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
6365
6370
  children: [
@@ -6386,7 +6391,7 @@
6386
6391
  ]
6387
6392
  }));
6388
6393
  }
6389
- var useStyles$C = createThemedStyles("CloseButton", {
6394
+ var useStyles$D = createThemedStyles("CloseButton", {
6390
6395
  root: {
6391
6396
  width: 40,
6392
6397
  height: 40,
@@ -6439,8 +6444,8 @@
6439
6444
  }
6440
6445
  return target;
6441
6446
  }
6442
- function ownKeys$x(object, enumerableOnly) {
6443
- var keys = Object.keys(object);
6447
+ function ownKeys$y(object, enumerableOnly) {
6448
+ var keys2 = Object.keys(object);
6444
6449
  if (Object.getOwnPropertySymbols) {
6445
6450
  var symbols = Object.getOwnPropertySymbols(object);
6446
6451
  if (enumerableOnly) {
@@ -6448,16 +6453,16 @@
6448
6453
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6449
6454
  });
6450
6455
  }
6451
- keys.push.apply(keys, symbols);
6456
+ keys2.push.apply(keys2, symbols);
6452
6457
  }
6453
- return keys;
6458
+ return keys2;
6454
6459
  }
6455
- function _object_spread_props$x(target, source) {
6460
+ function _object_spread_props$y(target, source) {
6456
6461
  source = source != null ? source : {};
6457
6462
  if (Object.getOwnPropertyDescriptors) {
6458
6463
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6459
6464
  } else {
6460
- ownKeys$x(Object(source)).forEach(function(key) {
6465
+ ownKeys$y(Object(source)).forEach(function(key) {
6461
6466
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6462
6467
  });
6463
6468
  }
@@ -6465,10 +6470,10 @@
6465
6470
  }
6466
6471
  var CloseButton = function(param) {
6467
6472
  var tweakStyles = param.tweakStyles, testId = param.testId, data = param.data, _param_iconType = param.iconType, iconType = _param_iconType === void 0 ? "close" : _param_iconType, onClose = param.onClose;
6468
- var classes = useStyles$C({
6473
+ var classes = useStyles$D({
6469
6474
  theme: tweakStyles
6470
6475
  });
6471
- return /* @__PURE__ */ jsx("button", _object_spread_props$x(_object_spread$G({
6476
+ return /* @__PURE__ */ jsx("button", _object_spread_props$y(_object_spread$G({
6472
6477
  type: "button",
6473
6478
  className: classes.root,
6474
6479
  onClick: onClose
@@ -6478,7 +6483,7 @@
6478
6483
  })
6479
6484
  }));
6480
6485
  };
6481
- var useStyles$B = createThemedStyles({
6486
+ var useStyles$C = createThemedStyles({
6482
6487
  root: {
6483
6488
  display: "flex",
6484
6489
  flexWrap: "wrap"
@@ -6512,18 +6517,18 @@
6512
6517
  ]
6513
6518
  }
6514
6519
  });
6515
- function _array_like_to_array$m(arr, len) {
6520
+ function _array_like_to_array$l(arr, len) {
6516
6521
  if (len == null || len > arr.length)
6517
6522
  len = arr.length;
6518
6523
  for (var i = 0, arr2 = new Array(len); i < len; i++)
6519
6524
  arr2[i] = arr[i];
6520
6525
  return arr2;
6521
6526
  }
6522
- function _array_with_holes$m(arr) {
6527
+ function _array_with_holes$l(arr) {
6523
6528
  if (Array.isArray(arr))
6524
6529
  return arr;
6525
6530
  }
6526
- function _iterable_to_array_limit$m(arr, i) {
6531
+ function _iterable_to_array_limit$l(arr, i) {
6527
6532
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
6528
6533
  if (_i == null)
6529
6534
  return;
@@ -6551,33 +6556,33 @@
6551
6556
  }
6552
6557
  return _arr;
6553
6558
  }
6554
- function _non_iterable_rest$m() {
6559
+ function _non_iterable_rest$l() {
6555
6560
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6556
6561
  }
6557
- function _sliced_to_array$m(arr, i) {
6558
- return _array_with_holes$m(arr) || _iterable_to_array_limit$m(arr, i) || _unsupported_iterable_to_array$m(arr, i) || _non_iterable_rest$m();
6562
+ function _sliced_to_array$l(arr, i) {
6563
+ return _array_with_holes$l(arr) || _iterable_to_array_limit$l(arr, i) || _unsupported_iterable_to_array$l(arr, i) || _non_iterable_rest$l();
6559
6564
  }
6560
- function _unsupported_iterable_to_array$m(o, minLen) {
6565
+ function _unsupported_iterable_to_array$l(o, minLen) {
6561
6566
  if (!o)
6562
6567
  return;
6563
6568
  if (typeof o === "string")
6564
- return _array_like_to_array$m(o, minLen);
6569
+ return _array_like_to_array$l(o, minLen);
6565
6570
  var n = Object.prototype.toString.call(o).slice(8, -1);
6566
6571
  if (n === "Object" && o.constructor)
6567
6572
  n = o.constructor.name;
6568
6573
  if (n === "Map" || n === "Set")
6569
6574
  return Array.from(n);
6570
6575
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
6571
- return _array_like_to_array$m(o, minLen);
6576
+ return _array_like_to_array$l(o, minLen);
6572
6577
  }
6573
6578
  var Colors = function() {
6574
- var classes = useStyles$B();
6579
+ var classes = useStyles$C();
6575
6580
  var theme = React.useContext(ThemeContext).theme;
6576
6581
  var _theme_colors = theme.colors, colors2 = _theme_colors === void 0 ? {} : _theme_colors;
6577
6582
  return /* @__PURE__ */ jsx("div", {
6578
6583
  className: classes.root,
6579
6584
  children: Object.entries(colors2).map(function(param) {
6580
- var _param = _sliced_to_array$m(param, 2), colorName = _param[0], color = _param[1];
6585
+ var _param = _sliced_to_array$l(param, 2), colorName = _param[0], color = _param[1];
6581
6586
  var name = colorName.split("_").join(" ").toLowerCase();
6582
6587
  return /* @__PURE__ */ jsxs("div", {
6583
6588
  className: classes.colorCard,
@@ -6601,7 +6606,7 @@
6601
6606
  })
6602
6607
  });
6603
6608
  };
6604
- var useStyles$A = createThemedStyles("CssBaseline", {
6609
+ var useStyles$B = createThemedStyles("CssBaseline", {
6605
6610
  "@global html, body": {
6606
6611
  fontFamily: "Arial, sans-serif",
6607
6612
  color: colors.FONT_MAIN,
@@ -6640,7 +6645,7 @@
6640
6645
  }
6641
6646
  var CssBaseline = function(param) {
6642
6647
  var data = param.data, testId = param.testId, tweakStyles = param.tweakStyles;
6643
- var classes = useStyles$A({
6648
+ var classes = useStyles$B({
6644
6649
  theme: tweakStyles
6645
6650
  });
6646
6651
  return /* @__PURE__ */ jsx("div", _object_spread$F({
@@ -6650,7 +6655,7 @@
6650
6655
  var DEFAULT_SIZE = 6;
6651
6656
  var PADDING_X$1 = 12;
6652
6657
  var AUTOSIZE_MAX_WIDTH = 480;
6653
- var useStyles$z = createThemedStyles("Input", {
6658
+ var useStyles$A = createThemedStyles("Input", {
6654
6659
  root: {
6655
6660
  width: "100%",
6656
6661
  boxSizing: "border-box",
@@ -6923,14 +6928,14 @@
6923
6928
  loading: {},
6924
6929
  withUnits: {}
6925
6930
  });
6926
- function _array_like_to_array$l(arr, len) {
6931
+ function _array_like_to_array$k(arr, len) {
6927
6932
  if (len == null || len > arr.length)
6928
6933
  len = arr.length;
6929
6934
  for (var i = 0, arr2 = new Array(len); i < len; i++)
6930
6935
  arr2[i] = arr[i];
6931
6936
  return arr2;
6932
6937
  }
6933
- function _array_with_holes$l(arr) {
6938
+ function _array_with_holes$k(arr) {
6934
6939
  if (Array.isArray(arr))
6935
6940
  return arr;
6936
6941
  }
@@ -6976,7 +6981,7 @@
6976
6981
  }
6977
6982
  return obj;
6978
6983
  }
6979
- function _iterable_to_array_limit$l(arr, i) {
6984
+ function _iterable_to_array_limit$k(arr, i) {
6980
6985
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
6981
6986
  if (_i == null)
6982
6987
  return;
@@ -7004,7 +7009,7 @@
7004
7009
  }
7005
7010
  return _arr;
7006
7011
  }
7007
- function _non_iterable_rest$l() {
7012
+ function _non_iterable_rest$k() {
7008
7013
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7009
7014
  }
7010
7015
  function _object_spread$E(target) {
@@ -7022,8 +7027,8 @@
7022
7027
  }
7023
7028
  return target;
7024
7029
  }
7025
- function ownKeys$w(object, enumerableOnly) {
7026
- var keys = Object.keys(object);
7030
+ function ownKeys$x(object, enumerableOnly) {
7031
+ var keys2 = Object.keys(object);
7027
7032
  if (Object.getOwnPropertySymbols) {
7028
7033
  var symbols = Object.getOwnPropertySymbols(object);
7029
7034
  if (enumerableOnly) {
@@ -7031,36 +7036,36 @@
7031
7036
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7032
7037
  });
7033
7038
  }
7034
- keys.push.apply(keys, symbols);
7039
+ keys2.push.apply(keys2, symbols);
7035
7040
  }
7036
- return keys;
7041
+ return keys2;
7037
7042
  }
7038
- function _object_spread_props$w(target, source) {
7043
+ function _object_spread_props$x(target, source) {
7039
7044
  source = source != null ? source : {};
7040
7045
  if (Object.getOwnPropertyDescriptors) {
7041
7046
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7042
7047
  } else {
7043
- ownKeys$w(Object(source)).forEach(function(key) {
7048
+ ownKeys$x(Object(source)).forEach(function(key) {
7044
7049
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7045
7050
  });
7046
7051
  }
7047
7052
  return target;
7048
7053
  }
7049
- function _sliced_to_array$l(arr, i) {
7050
- return _array_with_holes$l(arr) || _iterable_to_array_limit$l(arr, i) || _unsupported_iterable_to_array$l(arr, i) || _non_iterable_rest$l();
7054
+ function _sliced_to_array$k(arr, i) {
7055
+ return _array_with_holes$k(arr) || _iterable_to_array_limit$k(arr, i) || _unsupported_iterable_to_array$k(arr, i) || _non_iterable_rest$k();
7051
7056
  }
7052
- function _unsupported_iterable_to_array$l(o, minLen) {
7057
+ function _unsupported_iterable_to_array$k(o, minLen) {
7053
7058
  if (!o)
7054
7059
  return;
7055
7060
  if (typeof o === "string")
7056
- return _array_like_to_array$l(o, minLen);
7061
+ return _array_like_to_array$k(o, minLen);
7057
7062
  var n = Object.prototype.toString.call(o).slice(8, -1);
7058
7063
  if (n === "Object" && o.constructor)
7059
7064
  n = o.constructor.name;
7060
7065
  if (n === "Map" || n === "Set")
7061
7066
  return Array.from(n);
7062
7067
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
7063
- return _array_like_to_array$l(o, minLen);
7068
+ return _array_like_to_array$k(o, minLen);
7064
7069
  }
7065
7070
  var __generator$5 = globalThis && globalThis.__generator || function(thisArg, body) {
7066
7071
  var f, y, t, g, _ = {
@@ -7166,7 +7171,7 @@
7166
7171
  };
7167
7172
  var Input = /* @__PURE__ */ React.forwardRef(function(param, ref) {
7168
7173
  var _param_value = param.value, value = _param_value === void 0 ? "" : _param_value, label = param.label, placeholder = param.placeholder, _param_type = param.type, type = _param_type === void 0 ? "text" : _param_type, isDisabled = param.isDisabled, isReadonly = param.isReadonly, _param_hasFloatingLabel = param.hasFloatingLabel, hasFloatingLabel = _param_hasFloatingLabel === void 0 ? true : _param_hasFloatingLabel, _param_isInvalid = param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isActive = param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isClearable = param.isClearable, isClearable = _param_isClearable === void 0 ? false : _param_isClearable, infoMessage = param.infoMessage, errorMessage = param.errorMessage, _param_errorPosition = param.errorPosition, errorPosition = _param_errorPosition === void 0 ? "bottom" : _param_errorPosition, inlineStyle = param.inlineStyle, border = param.border, isRequired = param.isRequired, isLoading = param.isLoading, isAutoSizeable = param.isAutoSizeable, _param_defaultSize = param.defaultSize, defaultSize = _param_defaultSize === void 0 ? DEFAULT_SIZE : _param_defaultSize, iconType = param.iconType, name = param.name, hasRequiredLabel = param.hasRequiredLabel, data = param.data, tweakStyles = param.tweakStyles, maxLength = param.maxLength, shouldFocusOnMount = param.shouldFocusOnMount, units = param.units, testId = param.testId, tabIndex = param.tabIndex, onChange = param.onChange, onPaste = param.onPaste, onFocus = param.onFocus, onBlur = param.onBlur, onIconClick = param.onIconClick, onKeyDown = param.onKeyDown, mask = param.mask, maskPlaceholder = param.maskPlaceholder, alwaysShowMask = param.alwaysShowMask, shouldAlwaysShowPlaceholder = param.shouldAlwaysShowPlaceholder, beforeMaskedStateChange = param.beforeMaskedStateChange;
7169
- var classes = useStyles$z({
7174
+ var classes = useStyles$A({
7170
7175
  theme: tweakStyles
7171
7176
  });
7172
7177
  var tweakPreloaderStyles = useTweakStyles({
@@ -7174,7 +7179,7 @@
7174
7179
  className: "tweakPreloader",
7175
7180
  currentComponentName: "Input"
7176
7181
  });
7177
- var _useState = _sliced_to_array$l(React.useState(false), 2), isFocused = _useState[0], setFocused = _useState[1];
7182
+ var _useState = _sliced_to_array$k(React.useState(false), 2), isFocused = _useState[0], setFocused = _useState[1];
7178
7183
  var inputRef = React.useRef(null);
7179
7184
  var handleChange = function(event) {
7180
7185
  onChange(event.currentTarget.value, event);
@@ -7242,7 +7247,7 @@
7242
7247
  return /* @__PURE__ */ jsxs("div", {
7243
7248
  className: classes.root,
7244
7249
  children: [
7245
- /* @__PURE__ */ jsxs("div", _object_spread_props$w(_object_spread$E({
7250
+ /* @__PURE__ */ jsxs("div", _object_spread_props$x(_object_spread$E({
7246
7251
  className: clsx(classes.inputWrapper, (_obj1 = {}, _define_property$G(_obj1, classes.required, isRequired && !hasRequiredLabel), _define_property$G(_obj1, classes.invalid, isInvalid), _define_property$G(_obj1, classes.focused, hasFocus), _define_property$G(_obj1, classes.disabled, isDisabled), _define_property$G(_obj1, classes.autosize, isAutoSizeable), _obj1), inlineStyle !== void 0 && classes[inlineStyle], border !== void 0 && classes["border-".concat(border)]),
7247
7252
  "data-value": isAutoSizeable ? value : void 0
7248
7253
  }, addDataAttributes(data)), {
@@ -7315,7 +7320,7 @@
7315
7320
  });
7316
7321
  var EMPTY_DATE_INPUT_VALUE = "__.__.____";
7317
7322
  var EMPTY_DATE_RANGE_INPUT_VALUE = "".concat(EMPTY_DATE_INPUT_VALUE, " - ").concat(EMPTY_DATE_INPUT_VALUE);
7318
- var useStyles$y = createThemedStyles("DateInput", {
7323
+ var useStyles$z = createThemedStyles("DateInput", {
7319
7324
  root: {
7320
7325
  width: "100%",
7321
7326
  height: "100%",
@@ -7351,8 +7356,8 @@
7351
7356
  }
7352
7357
  return target;
7353
7358
  }
7354
- function ownKeys$v(object, enumerableOnly) {
7355
- var keys = Object.keys(object);
7359
+ function ownKeys$w(object, enumerableOnly) {
7360
+ var keys2 = Object.keys(object);
7356
7361
  if (Object.getOwnPropertySymbols) {
7357
7362
  var symbols = Object.getOwnPropertySymbols(object);
7358
7363
  if (enumerableOnly) {
@@ -7360,16 +7365,16 @@
7360
7365
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7361
7366
  });
7362
7367
  }
7363
- keys.push.apply(keys, symbols);
7368
+ keys2.push.apply(keys2, symbols);
7364
7369
  }
7365
- return keys;
7370
+ return keys2;
7366
7371
  }
7367
- function _object_spread_props$v(target, source) {
7372
+ function _object_spread_props$w(target, source) {
7368
7373
  source = source != null ? source : {};
7369
7374
  if (Object.getOwnPropertyDescriptors) {
7370
7375
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7371
7376
  } else {
7372
- ownKeys$v(Object(source)).forEach(function(key) {
7377
+ ownKeys$w(Object(source)).forEach(function(key) {
7373
7378
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7374
7379
  });
7375
7380
  }
@@ -7408,7 +7413,7 @@
7408
7413
  return target;
7409
7414
  }
7410
7415
  var DateInput = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
7411
- var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, isRange = _param.isRange, tweakStyles = _param.tweakStyles, testId = _param.testId, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$9(_param, [
7416
+ var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, isRange = _param.isRange, tweakStyles = _param.tweakStyles, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$9(_param, [
7412
7417
  "date",
7413
7418
  "startDate",
7414
7419
  "endDate",
@@ -7418,11 +7423,10 @@
7418
7423
  "data",
7419
7424
  "isRange",
7420
7425
  "tweakStyles",
7421
- "testId",
7422
7426
  "onClick",
7423
7427
  "onChange"
7424
7428
  ]);
7425
- var classes = useStyles$y({
7429
+ var classes = useStyles$z({
7426
7430
  theme: tweakStyles
7427
7431
  });
7428
7432
  var tweakInputStyles = useTweakStyles({
@@ -7449,16 +7453,15 @@
7449
7453
  }
7450
7454
  onChange === null || onChange === void 0 ? void 0 : onChange(event, value);
7451
7455
  };
7452
- return /* @__PURE__ */ jsx("div", _object_spread_props$v(_object_spread$D({
7456
+ return /* @__PURE__ */ jsx("div", _object_spread_props$w(_object_spread$D({
7453
7457
  className: clsx(classes.root, className),
7454
7458
  onClick
7455
- }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
7456
- children: /* @__PURE__ */ jsx(Input, _object_spread_props$v(_object_spread$D({}, inputProps), {
7459
+ }, addDataAttributes(data)), {
7460
+ children: /* @__PURE__ */ jsx(Input, _object_spread_props$w(_object_spread$D({}, inputProps), {
7457
7461
  ref,
7458
7462
  value: isRange ? "".concat(startDate).concat(endDate) : date,
7459
7463
  mask: mask !== null && mask !== void 0 ? mask : isRange ? "99.99.9999 - 99.99.9999" : "99.99.9999",
7460
7464
  placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : isRange ? EMPTY_DATE_RANGE_INPUT_VALUE : EMPTY_DATE_INPUT_VALUE,
7461
- testId: trueReactPlatformHelpers.getTestId(testId, "input"),
7462
7465
  tweakStyles: tweakInputStyles,
7463
7466
  onChange: handleChange,
7464
7467
  beforeMaskedStateChange
@@ -7467,7 +7470,7 @@
7467
7470
  });
7468
7471
  const reactDatepicker = "";
7469
7472
  var LEFT_PADDING = 44;
7470
- var useStyles$x = createThemedStyles("SearchInput", {
7473
+ var useStyles$y = createThemedStyles("SearchInput", {
7471
7474
  root: {
7472
7475
  position: "relative"
7473
7476
  },
@@ -7532,8 +7535,8 @@
7532
7535
  }
7533
7536
  return target;
7534
7537
  }
7535
- function ownKeys$u(object, enumerableOnly) {
7536
- var keys = Object.keys(object);
7538
+ function ownKeys$v(object, enumerableOnly) {
7539
+ var keys2 = Object.keys(object);
7537
7540
  if (Object.getOwnPropertySymbols) {
7538
7541
  var symbols = Object.getOwnPropertySymbols(object);
7539
7542
  if (enumerableOnly) {
@@ -7541,16 +7544,16 @@
7541
7544
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7542
7545
  });
7543
7546
  }
7544
- keys.push.apply(keys, symbols);
7547
+ keys2.push.apply(keys2, symbols);
7545
7548
  }
7546
- return keys;
7549
+ return keys2;
7547
7550
  }
7548
- function _object_spread_props$u(target, source) {
7551
+ function _object_spread_props$v(target, source) {
7549
7552
  source = source != null ? source : {};
7550
7553
  if (Object.getOwnPropertyDescriptors) {
7551
7554
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7552
7555
  } else {
7553
- ownKeys$u(Object(source)).forEach(function(key) {
7556
+ ownKeys$v(Object(source)).forEach(function(key) {
7554
7557
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7555
7558
  });
7556
7559
  }
@@ -7595,7 +7598,7 @@
7595
7598
  "testId",
7596
7599
  "data"
7597
7600
  ]);
7598
- var classes = useStyles$x({
7601
+ var classes = useStyles$y({
7599
7602
  theme: tweakStyles
7600
7603
  });
7601
7604
  var tweakInputStyles = useTweakStyles({
@@ -7604,7 +7607,7 @@
7604
7607
  className: "tweakInput",
7605
7608
  currentComponentName: "SearchInput"
7606
7609
  });
7607
- return /* @__PURE__ */ jsxs("div", _object_spread_props$u(_object_spread$C({
7610
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$v(_object_spread$C({
7608
7611
  className: classes.root
7609
7612
  }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
7610
7613
  children: [
@@ -7882,7 +7885,7 @@
7882
7885
  10,
7883
7886
  20
7884
7887
  ];
7885
- var useStyles$w = createThemedStyles("SelectList", {
7888
+ var useStyles$x = createThemedStyles("SelectList", {
7886
7889
  root: {
7887
7890
  borderRadius: dimensions.BORDER_RADIUS_SMALL,
7888
7891
  boxShadow: "0 13px 74px -27px rgba(0, 0, 0, 0.11)",
@@ -7977,8 +7980,8 @@
7977
7980
  }
7978
7981
  return target;
7979
7982
  }
7980
- function ownKeys$t(object, enumerableOnly) {
7981
- var keys = Object.keys(object);
7983
+ function ownKeys$u(object, enumerableOnly) {
7984
+ var keys2 = Object.keys(object);
7982
7985
  if (Object.getOwnPropertySymbols) {
7983
7986
  var symbols = Object.getOwnPropertySymbols(object);
7984
7987
  if (enumerableOnly) {
@@ -7986,16 +7989,16 @@
7986
7989
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7987
7990
  });
7988
7991
  }
7989
- keys.push.apply(keys, symbols);
7992
+ keys2.push.apply(keys2, symbols);
7990
7993
  }
7991
- return keys;
7994
+ return keys2;
7992
7995
  }
7993
- function _object_spread_props$t(target, source) {
7996
+ function _object_spread_props$u(target, source) {
7994
7997
  source = source != null ? source : {};
7995
7998
  if (Object.getOwnPropertyDescriptors) {
7996
7999
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7997
8000
  } else {
7998
- ownKeys$t(Object(source)).forEach(function(key) {
8001
+ ownKeys$u(Object(source)).forEach(function(key) {
7999
8002
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
8000
8003
  });
8001
8004
  }
@@ -8005,7 +8008,7 @@
8005
8008
  var classes = param.classes, index = param.index, isSemiChecked = param.isSemiChecked, isDisabled = param.isDisabled, isActive = param.isActive, children = param.children, isFocused = param.isFocused, onOptionSelect = param.onOptionSelect, onToggleCheckbox = param.onToggleCheckbox;
8006
8009
  var isMultiSelect = trueReactPlatformHelpers.isNotEmpty(onToggleCheckbox);
8007
8010
  var _obj;
8008
- return /* @__PURE__ */ jsx(ScrollIntoViewIfNeeded, _object_spread_props$t(_object_spread$z({
8011
+ return /* @__PURE__ */ jsx(ScrollIntoViewIfNeeded, _object_spread_props$u(_object_spread$z({
8009
8012
  active: isFocused,
8010
8013
  options: {
8011
8014
  block: "nearest"
@@ -8060,8 +8063,8 @@
8060
8063
  }
8061
8064
  return target;
8062
8065
  }
8063
- function ownKeys$s(object, enumerableOnly) {
8064
- var keys = Object.keys(object);
8066
+ function ownKeys$t(object, enumerableOnly) {
8067
+ var keys2 = Object.keys(object);
8065
8068
  if (Object.getOwnPropertySymbols) {
8066
8069
  var symbols = Object.getOwnPropertySymbols(object);
8067
8070
  if (enumerableOnly) {
@@ -8069,16 +8072,16 @@
8069
8072
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
8070
8073
  });
8071
8074
  }
8072
- keys.push.apply(keys, symbols);
8075
+ keys2.push.apply(keys2, symbols);
8073
8076
  }
8074
- return keys;
8077
+ return keys2;
8075
8078
  }
8076
- function _object_spread_props$s(target, source) {
8079
+ function _object_spread_props$t(target, source) {
8077
8080
  source = source != null ? source : {};
8078
8081
  if (Object.getOwnPropertyDescriptors) {
8079
8082
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
8080
8083
  } else {
8081
- ownKeys$s(Object(source)).forEach(function(key) {
8084
+ ownKeys$t(Object(source)).forEach(function(key) {
8082
8085
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
8083
8086
  });
8084
8087
  }
@@ -8086,7 +8089,7 @@
8086
8089
  }
8087
8090
  function SelectList(param) {
8088
8091
  var options = param.options, focusedIndex = param.focusedIndex, activeValue = param.activeValue, defaultOptionLabel = param.defaultOptionLabel, _param_noMatchesLabel = param.noMatchesLabel, noMatchesLabel = _param_noMatchesLabel === void 0 ? "Совпадений не найдено" : _param_noMatchesLabel, isLoading = param.isLoading, _param_loadingLabel = param.loadingLabel, loadingLabel = _param_loadingLabel === void 0 ? "Загрузка..." : _param_loadingLabel, tweakStyles = param.tweakStyles, testId = param.testId, _param_shouldScrollToList = param.shouldScrollToList, shouldScrollToList = _param_shouldScrollToList === void 0 ? true : _param_shouldScrollToList, areAllOptionsSelected = param.areAllOptionsSelected, customListHeader = param.customListHeader, isOptionDisabled = param.isOptionDisabled, allOptionsLabel = param.allOptionsLabel, onOptionSelect = param.onOptionSelect, onToggleCheckbox = param.onToggleCheckbox, convertValueToString = param.convertValueToString, _param_convertValueToReactNode = param.convertValueToReactNode, convertValueToReactNode = _param_convertValueToReactNode === void 0 ? convertValueToString : _param_convertValueToReactNode, convertValueToId = param.convertValueToId;
8089
- var classes = useStyles$w({
8092
+ var classes = useStyles$x({
8090
8093
  theme: tweakStyles
8091
8094
  });
8092
8095
  var isMultiSelect = trueReactPlatformHelpers.isNotEmpty(onToggleCheckbox);
@@ -8129,7 +8132,7 @@
8129
8132
  className: classes.listHeader,
8130
8133
  children: customListHeader
8131
8134
  }),
8132
- /* @__PURE__ */ jsx("div", _object_spread_props$s(_object_spread$y({
8135
+ /* @__PURE__ */ jsx("div", _object_spread_props$t(_object_spread$y({
8133
8136
  className: classes.list
8134
8137
  }, trueReactPlatformHelpers.addDataTestId(testId)), {
8135
8138
  children: isLoading ? /* @__PURE__ */ jsx("div", {
@@ -8202,7 +8205,7 @@
8202
8205
  var isMultiSelectValue = function(props, _value) {
8203
8206
  return props.isMultiSelect === true;
8204
8207
  };
8205
- var useStyles$v = createThemedStyles("Select", {
8208
+ var useStyles$w = createThemedStyles("Select", {
8206
8209
  root: {
8207
8210
  width: "100%",
8208
8211
  position: "relative",
@@ -8307,20 +8310,20 @@
8307
8310
  }
8308
8311
  }
8309
8312
  };
8310
- function _array_like_to_array$k(arr, len) {
8313
+ function _array_like_to_array$j(arr, len) {
8311
8314
  if (len == null || len > arr.length)
8312
8315
  len = arr.length;
8313
8316
  for (var i = 0, arr2 = new Array(len); i < len; i++)
8314
8317
  arr2[i] = arr[i];
8315
8318
  return arr2;
8316
8319
  }
8317
- function _array_with_holes$k(arr) {
8320
+ function _array_with_holes$j(arr) {
8318
8321
  if (Array.isArray(arr))
8319
8322
  return arr;
8320
8323
  }
8321
8324
  function _array_without_holes$4(arr) {
8322
8325
  if (Array.isArray(arr))
8323
- return _array_like_to_array$k(arr);
8326
+ return _array_like_to_array$j(arr);
8324
8327
  }
8325
8328
  function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
8326
8329
  try {
@@ -8368,7 +8371,7 @@
8368
8371
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
8369
8372
  return Array.from(iter);
8370
8373
  }
8371
- function _iterable_to_array_limit$k(arr, i) {
8374
+ function _iterable_to_array_limit$j(arr, i) {
8372
8375
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
8373
8376
  if (_i == null)
8374
8377
  return;
@@ -8396,7 +8399,7 @@
8396
8399
  }
8397
8400
  return _arr;
8398
8401
  }
8399
- function _non_iterable_rest$k() {
8402
+ function _non_iterable_rest$j() {
8400
8403
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8401
8404
  }
8402
8405
  function _non_iterable_spread$4() {
@@ -8417,8 +8420,8 @@
8417
8420
  }
8418
8421
  return target;
8419
8422
  }
8420
- function ownKeys$r(object, enumerableOnly) {
8421
- var keys = Object.keys(object);
8423
+ function ownKeys$s(object, enumerableOnly) {
8424
+ var keys2 = Object.keys(object);
8422
8425
  if (Object.getOwnPropertySymbols) {
8423
8426
  var symbols = Object.getOwnPropertySymbols(object);
8424
8427
  if (enumerableOnly) {
@@ -8426,16 +8429,16 @@
8426
8429
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
8427
8430
  });
8428
8431
  }
8429
- keys.push.apply(keys, symbols);
8432
+ keys2.push.apply(keys2, symbols);
8430
8433
  }
8431
- return keys;
8434
+ return keys2;
8432
8435
  }
8433
- function _object_spread_props$r(target, source) {
8436
+ function _object_spread_props$s(target, source) {
8434
8437
  source = source != null ? source : {};
8435
8438
  if (Object.getOwnPropertyDescriptors) {
8436
8439
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
8437
8440
  } else {
8438
- ownKeys$r(Object(source)).forEach(function(key) {
8441
+ ownKeys$s(Object(source)).forEach(function(key) {
8439
8442
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
8440
8443
  });
8441
8444
  }
@@ -8473,24 +8476,24 @@
8473
8476
  }
8474
8477
  return target;
8475
8478
  }
8476
- function _sliced_to_array$k(arr, i) {
8477
- return _array_with_holes$k(arr) || _iterable_to_array_limit$k(arr, i) || _unsupported_iterable_to_array$k(arr, i) || _non_iterable_rest$k();
8479
+ function _sliced_to_array$j(arr, i) {
8480
+ return _array_with_holes$j(arr) || _iterable_to_array_limit$j(arr, i) || _unsupported_iterable_to_array$j(arr, i) || _non_iterable_rest$j();
8478
8481
  }
8479
8482
  function _to_consumable_array$4(arr) {
8480
- return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$k(arr) || _non_iterable_spread$4();
8483
+ return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$j(arr) || _non_iterable_spread$4();
8481
8484
  }
8482
- function _unsupported_iterable_to_array$k(o, minLen) {
8485
+ function _unsupported_iterable_to_array$j(o, minLen) {
8483
8486
  if (!o)
8484
8487
  return;
8485
8488
  if (typeof o === "string")
8486
- return _array_like_to_array$k(o, minLen);
8489
+ return _array_like_to_array$j(o, minLen);
8487
8490
  var n = Object.prototype.toString.call(o).slice(8, -1);
8488
8491
  if (n === "Object" && o.constructor)
8489
8492
  n = o.constructor.name;
8490
8493
  if (n === "Map" || n === "Set")
8491
8494
  return Array.from(n);
8492
8495
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
8493
- return _array_like_to_array$k(o, minLen);
8496
+ return _array_like_to_array$j(o, minLen);
8494
8497
  }
8495
8498
  var __generator$4 = globalThis && globalThis.__generator || function(thisArg, body) {
8496
8499
  var f, y, t, g, _ = {
@@ -8626,7 +8629,7 @@
8626
8629
  "convertValueToReactNode",
8627
8630
  "optionsFilter"
8628
8631
  ]);
8629
- var classes = useStyles$v({
8632
+ var classes = useStyles$w({
8630
8633
  theme: tweakStyles
8631
8634
  });
8632
8635
  var shouldRenderSearchInputInList = (searchInput === null || searchInput === void 0 ? void 0 : searchInput.shouldRenderInList) === true;
@@ -8654,12 +8657,12 @@
8654
8657
  currentComponentName: "Select"
8655
8658
  });
8656
8659
  var isMounted = useIsMounted();
8657
- var _useState = _sliced_to_array$k(React.useState(false), 2), isListOpen = _useState[0], setIsListOpen = _useState[1];
8658
- var _useState1 = _sliced_to_array$k(React.useState(false), 2), areOptionsLoading = _useState1[0], setAreOptionsLoading = _useState1[1];
8660
+ var _useState = _sliced_to_array$j(React.useState(false), 2), isListOpen = _useState[0], setIsListOpen = _useState[1];
8661
+ var _useState1 = _sliced_to_array$j(React.useState(false), 2), areOptionsLoading = _useState1[0], setAreOptionsLoading = _useState1[1];
8659
8662
  var hasDefaultOption = trueReactPlatformHelpers.isStringNotEmpty(defaultOptionLabel);
8660
- var _useState2 = _sliced_to_array$k(React.useState(DEFAULT_OPTION_INDEX), 2), focusedListCellIndex = _useState2[0], setFocusedListCellIndex = _useState2[1];
8661
- var _useState3 = _sliced_to_array$k(React.useState(""), 2), searchValue = _useState3[0], setSearchValue = _useState3[1];
8662
- var _useState4 = _sliced_to_array$k(React.useState(true), 2), shouldShowDefaultOption = _useState4[0], setShouldShowDefaultOption = _useState4[1];
8663
+ var _useState2 = _sliced_to_array$j(React.useState(DEFAULT_OPTION_INDEX), 2), focusedListCellIndex = _useState2[0], setFocusedListCellIndex = _useState2[1];
8664
+ var _useState3 = _sliced_to_array$j(React.useState(""), 2), searchValue = _useState3[0], setSearchValue = _useState3[1];
8665
+ var _useState4 = _sliced_to_array$j(React.useState(true), 2), shouldShowDefaultOption = _useState4[0], setShouldShowDefaultOption = _useState4[1];
8663
8666
  var inputWrapper = React.useRef(null);
8664
8667
  var list = React.useRef(null);
8665
8668
  var input = React.useRef(null);
@@ -8953,7 +8956,7 @@
8953
8956
  isOpen
8954
8957
  ]);
8955
8958
  var _obj;
8956
- var listEl = /* @__PURE__ */ jsx("div", _object_spread_props$r(_object_spread$x({
8959
+ var listEl = /* @__PURE__ */ jsx("div", _object_spread_props$s(_object_spread$x({
8957
8960
  className: clsx(classes.listWrapper, (_obj = {}, _define_property$z(_obj, classes.withoutPopper, !shouldUsePopper), _define_property$z(_obj, classes.listWrapperInBody, shouldRenderInBody), _obj)),
8958
8961
  ref: list,
8959
8962
  style: popperData === null || popperData === void 0 ? void 0 : popperData.styles.popper,
@@ -9048,7 +9051,7 @@
9048
9051
  }
9049
9052
  var SELECT_PADDING_LEFT = 12;
9050
9053
  var SELECT_PADDING_RIGHT = 24;
9051
- var useStyles$u = createThemedStyles("DatePickerHeader", {
9054
+ var useStyles$v = createThemedStyles("DatePickerHeader", {
9052
9055
  btn: {
9053
9056
  width: 36,
9054
9057
  height: 36,
@@ -9117,7 +9120,7 @@
9117
9120
  };
9118
9121
  var DatePickerHeader = function(param) {
9119
9122
  var date = param.date, _param_months = param.months, months = _param_months === void 0 ? [] : _param_months, tweakStyles = param.tweakStyles, prevMonthButtonDisabled = param.prevMonthButtonDisabled, nextMonthButtonDisabled = param.nextMonthButtonDisabled, changeYear = param.changeYear, changeMonth = param.changeMonth, decreaseMonth = param.decreaseMonth, increaseMonth = param.increaseMonth;
9120
- var classes = useStyles$u({
9123
+ var classes = useStyles$v({
9121
9124
  theme: tweakStyles
9122
9125
  });
9123
9126
  var tweakSelectStyles = useTweakStyles({
@@ -9226,7 +9229,7 @@
9226
9229
  var areDatesEquals = function(date1, date2) {
9227
9230
  return trueReactPlatformHelpers.isEmpty(date1) && trueReactPlatformHelpers.isEmpty(date2) || trueReactPlatformHelpers.isNotEmpty(date1) && trueReactPlatformHelpers.isNotEmpty(date2) && dateFns.isSameDay(date1, date2);
9228
9231
  };
9229
- var useStyles$t = createThemedStyles("DatePicker", {
9232
+ var useStyles$u = createThemedStyles("DatePicker", {
9230
9233
  root: {
9231
9234
  width: "100%",
9232
9235
  height: "100%"
@@ -9249,14 +9252,14 @@
9249
9252
  }
9250
9253
  }
9251
9254
  });
9252
- function _array_like_to_array$j(arr, len) {
9255
+ function _array_like_to_array$i(arr, len) {
9253
9256
  if (len == null || len > arr.length)
9254
9257
  len = arr.length;
9255
9258
  for (var i = 0, arr2 = new Array(len); i < len; i++)
9256
9259
  arr2[i] = arr[i];
9257
9260
  return arr2;
9258
9261
  }
9259
- function _array_with_holes$j(arr) {
9262
+ function _array_with_holes$i(arr) {
9260
9263
  if (Array.isArray(arr))
9261
9264
  return arr;
9262
9265
  }
@@ -9273,7 +9276,7 @@
9273
9276
  }
9274
9277
  return obj;
9275
9278
  }
9276
- function _iterable_to_array_limit$j(arr, i) {
9279
+ function _iterable_to_array_limit$i(arr, i) {
9277
9280
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
9278
9281
  if (_i == null)
9279
9282
  return;
@@ -9301,7 +9304,7 @@
9301
9304
  }
9302
9305
  return _arr;
9303
9306
  }
9304
- function _non_iterable_rest$j() {
9307
+ function _non_iterable_rest$i() {
9305
9308
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9306
9309
  }
9307
9310
  function _object_spread$w(target) {
@@ -9319,8 +9322,8 @@
9319
9322
  }
9320
9323
  return target;
9321
9324
  }
9322
- function ownKeys$q(object, enumerableOnly) {
9323
- var keys = Object.keys(object);
9325
+ function ownKeys$r(object, enumerableOnly) {
9326
+ var keys2 = Object.keys(object);
9324
9327
  if (Object.getOwnPropertySymbols) {
9325
9328
  var symbols = Object.getOwnPropertySymbols(object);
9326
9329
  if (enumerableOnly) {
@@ -9328,16 +9331,16 @@
9328
9331
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
9329
9332
  });
9330
9333
  }
9331
- keys.push.apply(keys, symbols);
9334
+ keys2.push.apply(keys2, symbols);
9332
9335
  }
9333
- return keys;
9336
+ return keys2;
9334
9337
  }
9335
- function _object_spread_props$q(target, source) {
9338
+ function _object_spread_props$r(target, source) {
9336
9339
  source = source != null ? source : {};
9337
9340
  if (Object.getOwnPropertyDescriptors) {
9338
9341
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9339
9342
  } else {
9340
- ownKeys$q(Object(source)).forEach(function(key) {
9343
+ ownKeys$r(Object(source)).forEach(function(key) {
9341
9344
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
9342
9345
  });
9343
9346
  }
@@ -9375,26 +9378,25 @@
9375
9378
  }
9376
9379
  return target;
9377
9380
  }
9378
- function _sliced_to_array$j(arr, i) {
9379
- return _array_with_holes$j(arr) || _iterable_to_array_limit$j(arr, i) || _unsupported_iterable_to_array$j(arr, i) || _non_iterable_rest$j();
9381
+ function _sliced_to_array$i(arr, i) {
9382
+ return _array_with_holes$i(arr) || _iterable_to_array_limit$i(arr, i) || _unsupported_iterable_to_array$i(arr, i) || _non_iterable_rest$i();
9380
9383
  }
9381
- function _unsupported_iterable_to_array$j(o, minLen) {
9384
+ function _unsupported_iterable_to_array$i(o, minLen) {
9382
9385
  if (!o)
9383
9386
  return;
9384
9387
  if (typeof o === "string")
9385
- return _array_like_to_array$j(o, minLen);
9388
+ return _array_like_to_array$i(o, minLen);
9386
9389
  var n = Object.prototype.toString.call(o).slice(8, -1);
9387
9390
  if (n === "Object" && o.constructor)
9388
9391
  n = o.constructor.name;
9389
9392
  if (n === "Map" || n === "Set")
9390
9393
  return Array.from(n);
9391
9394
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
9392
- return _array_like_to_array$j(o, minLen);
9395
+ return _array_like_to_array$i(o, minLen);
9393
9396
  }
9394
9397
  var DatePicker = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
9395
- var data = _param.data, testId = _param.testId, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? null : _param_selectedDate, minDate = _param.minDate, maxDate = _param.maxDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? null : _param_endDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? null : _param_startDate, locale2 = _param.locale, months = _param.months, _param_calendarStartDay = _param.calendarStartDay, calendarStartDay = _param_calendarStartDay === void 0 ? 1 : _param_calendarStartDay, _param_dateFormat = _param.dateFormat, dateFormat = _param_dateFormat === void 0 ? DEFAULT_DATE_FORMAT$2 : _param_dateFormat, monthsShown = _param.monthsShown, placeholder = _param.placeholder, isRange = _param.isRange, isInline = _param.isInline, isDisabled = _param.isDisabled, isClearable = _param.isClearable, strictParsing = _param.strictParsing, focusSelectedMonth = _param.focusSelectedMonth, disabledKeyboardNavigation = _param.disabledKeyboardNavigation, shouldRenderPopperInBody = _param.shouldRenderPopperInBody, _param_allowSameDay = _param.allowSameDay, allowSameDay = _param_allowSameDay === void 0 ? false : _param_allowSameDay, shouldCloseOnSelect = _param.shouldCloseOnSelect, showPreviousMonths = _param.showPreviousMonths, preventOpenOnFocus = _param.preventOpenOnFocus, popperModifiers = _param.popperModifiers, popperPlacement = _param.popperPlacement, todayButton = _param.todayButton, calendarContainer = _param.calendarContainer, dayClassName = _param.dayClassName, tmp = _param.customInput, CustomInput = tmp === void 0 ? DateInput : tmp, customInputRef = _param.customInputRef, renderCustomHeader = _param.renderCustomHeader, filterDate = _param.filterDate, onYearChange = _param.onYearChange, onMonthChange = _param.onMonthChange, onCalendarOpen = _param.onCalendarOpen, onCalendarClose = _param.onCalendarClose, onChangeDate = _param.onChangeDate, onChangeRange = _param.onChangeRange, onBlur = _param.onBlur, onFocus = _param.onFocus, onKeyDown = _param.onKeyDown, tweakStyles = _param.tweakStyles, inputProps = _object_without_properties$5(_param, [
9398
+ var data = _param.data, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? null : _param_selectedDate, minDate = _param.minDate, maxDate = _param.maxDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? null : _param_endDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? null : _param_startDate, locale2 = _param.locale, months = _param.months, _param_calendarStartDay = _param.calendarStartDay, calendarStartDay = _param_calendarStartDay === void 0 ? 1 : _param_calendarStartDay, _param_dateFormat = _param.dateFormat, dateFormat = _param_dateFormat === void 0 ? DEFAULT_DATE_FORMAT$2 : _param_dateFormat, monthsShown = _param.monthsShown, placeholder = _param.placeholder, isRange = _param.isRange, isInline = _param.isInline, isDisabled = _param.isDisabled, isClearable = _param.isClearable, strictParsing = _param.strictParsing, focusSelectedMonth = _param.focusSelectedMonth, disabledKeyboardNavigation = _param.disabledKeyboardNavigation, shouldRenderPopperInBody = _param.shouldRenderPopperInBody, _param_allowSameDay = _param.allowSameDay, allowSameDay = _param_allowSameDay === void 0 ? false : _param_allowSameDay, shouldCloseOnSelect = _param.shouldCloseOnSelect, showPreviousMonths = _param.showPreviousMonths, preventOpenOnFocus = _param.preventOpenOnFocus, popperModifiers = _param.popperModifiers, popperPlacement = _param.popperPlacement, todayButton = _param.todayButton, calendarContainer = _param.calendarContainer, dayClassName = _param.dayClassName, tmp = _param.customInput, CustomInput = tmp === void 0 ? DateInput : tmp, customInputRef = _param.customInputRef, renderCustomHeader = _param.renderCustomHeader, filterDate = _param.filterDate, onYearChange = _param.onYearChange, onMonthChange = _param.onMonthChange, onCalendarOpen = _param.onCalendarOpen, onCalendarClose = _param.onCalendarClose, onChangeDate = _param.onChangeDate, onChangeRange = _param.onChangeRange, onBlur = _param.onBlur, onFocus = _param.onFocus, onKeyDown = _param.onKeyDown, tweakStyles = _param.tweakStyles, inputProps = _object_without_properties$5(_param, [
9396
9399
  "data",
9397
- "testId",
9398
9400
  "selectedDate",
9399
9401
  "minDate",
9400
9402
  "maxDate",
@@ -9438,7 +9440,7 @@
9438
9440
  "onKeyDown",
9439
9441
  "tweakStyles"
9440
9442
  ]);
9441
- var classes = useStyles$t({
9443
+ var classes = useStyles$u({
9442
9444
  theme: tweakStyles
9443
9445
  });
9444
9446
  var tweakDateInputStyles = useTweakStyles({
@@ -9454,14 +9456,14 @@
9454
9456
  }, [
9455
9457
  dateFormat
9456
9458
  ]), formatDate = _useMemo.formatDate, parseDateValue = _useMemo.parseDateValue;
9457
- var _useState = _sliced_to_array$j(React.useState(false), 2), isOpen = _useState[0], setIsOpen = _useState[1];
9458
- var _useState1 = _sliced_to_array$j(React.useState(formatDate(selectedDate)), 2), dateValue = _useState1[0], setDateValue = _useState1[1];
9459
- var _useState2 = _sliced_to_array$j(React.useState(startDate), 2), start2 = _useState2[0], setStart = _useState2[1];
9460
- var _useState3 = _sliced_to_array$j(React.useState(formatDate(startDate)), 2), startDateValue = _useState3[0], setStartDateValue = _useState3[1];
9461
- var _useState4 = _sliced_to_array$j(React.useState(endDate), 2), end2 = _useState4[0], setEnd = _useState4[1];
9462
- var _useState5 = _sliced_to_array$j(React.useState(formatDate(endDate)), 2), endDateValue = _useState5[0], setEndDateValue = _useState5[1];
9459
+ var _useState = _sliced_to_array$i(React.useState(false), 2), isOpen = _useState[0], setIsOpen = _useState[1];
9460
+ var _useState1 = _sliced_to_array$i(React.useState(formatDate(selectedDate)), 2), dateValue = _useState1[0], setDateValue = _useState1[1];
9461
+ var _useState2 = _sliced_to_array$i(React.useState(startDate), 2), start2 = _useState2[0], setStart = _useState2[1];
9462
+ var _useState3 = _sliced_to_array$i(React.useState(formatDate(startDate)), 2), startDateValue = _useState3[0], setStartDateValue = _useState3[1];
9463
+ var _useState4 = _sliced_to_array$i(React.useState(endDate), 2), end2 = _useState4[0], setEnd = _useState4[1];
9464
+ var _useState5 = _sliced_to_array$i(React.useState(formatDate(endDate)), 2), endDateValue = _useState5[0], setEndDateValue = _useState5[1];
9463
9465
  var hasDateInputValue = isRange ? trueReactPlatformHelpers.isStringNotEmpty(startDateValue) || trueReactPlatformHelpers.isStringNotEmpty(endDateValue) : trueReactPlatformHelpers.isStringNotEmpty(dateValue);
9464
- var dateInputProps = _object_spread$w(_object_spread_props$q(_object_spread$w({}, inputProps), {
9466
+ var dateInputProps = _object_spread$w(_object_spread_props$r(_object_spread$w({}, inputProps), {
9465
9467
  isRange,
9466
9468
  isDisabled,
9467
9469
  isClearable,
@@ -9559,9 +9561,9 @@
9559
9561
  startDate,
9560
9562
  endDate
9561
9563
  ]);
9562
- return /* @__PURE__ */ jsx("div", _object_spread_props$q(_object_spread$w({
9564
+ return /* @__PURE__ */ jsx("div", _object_spread_props$r(_object_spread$w({
9563
9565
  className: classes.root
9564
- }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
9566
+ }, addDataAttributes(data)), {
9565
9567
  children: /* @__PURE__ */ jsx(DatePickerComponent, _object_spread$w({
9566
9568
  ref,
9567
9569
  minDate,
@@ -9593,7 +9595,7 @@
9593
9595
  customInputRef,
9594
9596
  customInput: /* @__PURE__ */ jsx(CustomInput, _object_spread$w({}, dateInputProps)),
9595
9597
  renderCustomHeader: renderCustomHeader !== null && renderCustomHeader !== void 0 ? renderCustomHeader : function(baseProps) {
9596
- return /* @__PURE__ */ jsx(DatePickerHeader, _object_spread_props$q(_object_spread$w({}, baseProps), {
9598
+ return /* @__PURE__ */ jsx(DatePickerHeader, _object_spread_props$r(_object_spread$w({}, baseProps), {
9597
9599
  months
9598
9600
  }));
9599
9601
  },
@@ -9630,7 +9632,7 @@
9630
9632
  }));
9631
9633
  });
9632
9634
  var LINK_REGEXP = /(http(s?):\/\/(.*))(\s?)/;
9633
- var useStyles$s = createThemedStyles("Description", {
9635
+ var useStyles$t = createThemedStyles("Description", {
9634
9636
  root: {},
9635
9637
  button: {
9636
9638
  cursor: "pointer",
@@ -9660,14 +9662,14 @@
9660
9662
  }
9661
9663
  }
9662
9664
  });
9663
- function _array_like_to_array$i(arr, len) {
9665
+ function _array_like_to_array$h(arr, len) {
9664
9666
  if (len == null || len > arr.length)
9665
9667
  len = arr.length;
9666
9668
  for (var i = 0, arr2 = new Array(len); i < len; i++)
9667
9669
  arr2[i] = arr[i];
9668
9670
  return arr2;
9669
9671
  }
9670
- function _array_with_holes$i(arr) {
9672
+ function _array_with_holes$h(arr) {
9671
9673
  if (Array.isArray(arr))
9672
9674
  return arr;
9673
9675
  }
@@ -9684,7 +9686,7 @@
9684
9686
  }
9685
9687
  return obj;
9686
9688
  }
9687
- function _iterable_to_array_limit$i(arr, i) {
9689
+ function _iterable_to_array_limit$h(arr, i) {
9688
9690
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
9689
9691
  if (_i == null)
9690
9692
  return;
@@ -9712,7 +9714,7 @@
9712
9714
  }
9713
9715
  return _arr;
9714
9716
  }
9715
- function _non_iterable_rest$i() {
9717
+ function _non_iterable_rest$h() {
9716
9718
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9717
9719
  }
9718
9720
  function _object_spread$v(target) {
@@ -9730,8 +9732,8 @@
9730
9732
  }
9731
9733
  return target;
9732
9734
  }
9733
- function ownKeys$p(object, enumerableOnly) {
9734
- var keys = Object.keys(object);
9735
+ function ownKeys$q(object, enumerableOnly) {
9736
+ var keys2 = Object.keys(object);
9735
9737
  if (Object.getOwnPropertySymbols) {
9736
9738
  var symbols = Object.getOwnPropertySymbols(object);
9737
9739
  if (enumerableOnly) {
@@ -9739,49 +9741,49 @@
9739
9741
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
9740
9742
  });
9741
9743
  }
9742
- keys.push.apply(keys, symbols);
9744
+ keys2.push.apply(keys2, symbols);
9743
9745
  }
9744
- return keys;
9746
+ return keys2;
9745
9747
  }
9746
- function _object_spread_props$p(target, source) {
9748
+ function _object_spread_props$q(target, source) {
9747
9749
  source = source != null ? source : {};
9748
9750
  if (Object.getOwnPropertyDescriptors) {
9749
9751
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9750
9752
  } else {
9751
- ownKeys$p(Object(source)).forEach(function(key) {
9753
+ ownKeys$q(Object(source)).forEach(function(key) {
9752
9754
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
9753
9755
  });
9754
9756
  }
9755
9757
  return target;
9756
9758
  }
9757
- function _sliced_to_array$i(arr, i) {
9758
- return _array_with_holes$i(arr) || _iterable_to_array_limit$i(arr, i) || _unsupported_iterable_to_array$i(arr, i) || _non_iterable_rest$i();
9759
+ function _sliced_to_array$h(arr, i) {
9760
+ return _array_with_holes$h(arr) || _iterable_to_array_limit$h(arr, i) || _unsupported_iterable_to_array$h(arr, i) || _non_iterable_rest$h();
9759
9761
  }
9760
- function _unsupported_iterable_to_array$i(o, minLen) {
9762
+ function _unsupported_iterable_to_array$h(o, minLen) {
9761
9763
  if (!o)
9762
9764
  return;
9763
9765
  if (typeof o === "string")
9764
- return _array_like_to_array$i(o, minLen);
9766
+ return _array_like_to_array$h(o, minLen);
9765
9767
  var n = Object.prototype.toString.call(o).slice(8, -1);
9766
9768
  if (n === "Object" && o.constructor)
9767
9769
  n = o.constructor.name;
9768
9770
  if (n === "Map" || n === "Set")
9769
9771
  return Array.from(n);
9770
9772
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
9771
- return _array_like_to_array$i(o, minLen);
9773
+ return _array_like_to_array$h(o, minLen);
9772
9774
  }
9773
9775
  var Description = function(param) {
9774
9776
  var text = param.text, moreTitle = param.moreTitle, lessTitle = param.lessTitle, _param_truncateIndex = param.truncateIndex, truncateIndex = _param_truncateIndex === void 0 ? 150 : _param_truncateIndex, _param_isAlwaysOpen = param.isAlwaysOpen, isAlwaysOpen = _param_isAlwaysOpen === void 0 ? true : _param_isAlwaysOpen, testId = param.testId, data = param.data, tweakStyles = param.tweakStyles;
9775
- var classes = useStyles$s({
9777
+ var classes = useStyles$t({
9776
9778
  theme: tweakStyles
9777
9779
  });
9778
9780
  var isTooShort = text.length < truncateIndex;
9779
- var _useState = _sliced_to_array$i(React.useState(isAlwaysOpen), 2), isOpen = _useState[0], setIsOpen = _useState[1];
9781
+ var _useState = _sliced_to_array$h(React.useState(isAlwaysOpen), 2), isOpen = _useState[0], setIsOpen = _useState[1];
9780
9782
  var link = text.match(LINK_REGEXP);
9781
9783
  var linkText = link && link[0];
9782
9784
  var textWithNoLink = text.replace(LINK_REGEXP, "");
9783
9785
  var shortText = text.slice(0, text.slice(0, truncateIndex).lastIndexOf(" "));
9784
- return /* @__PURE__ */ jsxs("div", _object_spread_props$p(_object_spread$v({
9786
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$q(_object_spread$v({
9785
9787
  className: classes.root
9786
9788
  }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
9787
9789
  children: [
@@ -9988,14 +9990,14 @@
9988
9990
  var negativePart = "(\\-)?";
9989
9991
  return "^".concat(canBeNegative ? negativePart : "").concat(basePart).concat(canBeFloat ? floatPart : "", "$");
9990
9992
  };
9991
- function _array_like_to_array$h(arr, len) {
9993
+ function _array_like_to_array$g(arr, len) {
9992
9994
  if (len == null || len > arr.length)
9993
9995
  len = arr.length;
9994
9996
  for (var i = 0, arr2 = new Array(len); i < len; i++)
9995
9997
  arr2[i] = arr[i];
9996
9998
  return arr2;
9997
9999
  }
9998
- function _array_with_holes$h(arr) {
10000
+ function _array_with_holes$g(arr) {
9999
10001
  if (Array.isArray(arr))
10000
10002
  return arr;
10001
10003
  }
@@ -10041,7 +10043,7 @@
10041
10043
  }
10042
10044
  return obj;
10043
10045
  }
10044
- function _iterable_to_array_limit$h(arr, i) {
10046
+ function _iterable_to_array_limit$g(arr, i) {
10045
10047
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
10046
10048
  if (_i == null)
10047
10049
  return;
@@ -10069,7 +10071,7 @@
10069
10071
  }
10070
10072
  return _arr;
10071
10073
  }
10072
- function _non_iterable_rest$h() {
10074
+ function _non_iterable_rest$g() {
10073
10075
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10074
10076
  }
10075
10077
  function _object_spread$u(target) {
@@ -10119,21 +10121,21 @@
10119
10121
  }
10120
10122
  return target;
10121
10123
  }
10122
- function _sliced_to_array$h(arr, i) {
10123
- return _array_with_holes$h(arr) || _iterable_to_array_limit$h(arr, i) || _unsupported_iterable_to_array$h(arr, i) || _non_iterable_rest$h();
10124
+ function _sliced_to_array$g(arr, i) {
10125
+ return _array_with_holes$g(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$g(arr, i) || _non_iterable_rest$g();
10124
10126
  }
10125
- function _unsupported_iterable_to_array$h(o, minLen) {
10127
+ function _unsupported_iterable_to_array$g(o, minLen) {
10126
10128
  if (!o)
10127
10129
  return;
10128
10130
  if (typeof o === "string")
10129
- return _array_like_to_array$h(o, minLen);
10131
+ return _array_like_to_array$g(o, minLen);
10130
10132
  var n = Object.prototype.toString.call(o).slice(8, -1);
10131
10133
  if (n === "Object" && o.constructor)
10132
10134
  n = o.constructor.name;
10133
10135
  if (n === "Map" || n === "Set")
10134
10136
  return Array.from(n);
10135
10137
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
10136
- return _array_like_to_array$h(o, minLen);
10138
+ return _array_like_to_array$g(o, minLen);
10137
10139
  }
10138
10140
  var __generator$3 = globalThis && globalThis.__generator || function(thisArg, body) {
10139
10141
  var f, y, t, g, _ = {
@@ -10250,10 +10252,10 @@
10250
10252
  "min",
10251
10253
  "max"
10252
10254
  ]);
10253
- var _useState = _sliced_to_array$h(React.useState(function() {
10255
+ var _useState = _sliced_to_array$g(React.useState(function() {
10254
10256
  return formatNumberWithDefault(value, defaultValue);
10255
10257
  }), 2), showedValue = _useState[0], setShowedValue = _useState[1];
10256
- var _useState1 = _sliced_to_array$h(React.useState(false), 2), isDeleteForwardAction = _useState1[0], setIsDeleteForwardAction = _useState1[1];
10258
+ var _useState1 = _sliced_to_array$g(React.useState(false), 2), isDeleteForwardAction = _useState1[0], setIsDeleteForwardAction = _useState1[1];
10257
10259
  var handleKeyDown = function(event) {
10258
10260
  setIsDeleteForwardAction(event.key === "Delete");
10259
10261
  };
@@ -10349,8 +10351,277 @@
10349
10351
  ref
10350
10352
  }, props));
10351
10353
  });
10354
+ function arrayEach(array, iteratee) {
10355
+ var index = -1, length = array == null ? 0 : array.length;
10356
+ while (++index < length) {
10357
+ if (iteratee(array[index], index, array) === false) {
10358
+ break;
10359
+ }
10360
+ }
10361
+ return array;
10362
+ }
10363
+ var nativeKeys = overArg(Object.keys, Object);
10364
+ const nativeKeys$1 = nativeKeys;
10365
+ var objectProto$2 = Object.prototype;
10366
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
10367
+ function baseKeys(object) {
10368
+ if (!isPrototype(object)) {
10369
+ return nativeKeys$1(object);
10370
+ }
10371
+ var result = [];
10372
+ for (var key in Object(object)) {
10373
+ if (hasOwnProperty$1.call(object, key) && key != "constructor") {
10374
+ result.push(key);
10375
+ }
10376
+ }
10377
+ return result;
10378
+ }
10379
+ function keys(object) {
10380
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
10381
+ }
10382
+ function baseAssign(object, source) {
10383
+ return object && copyObject(source, keys(source), object);
10384
+ }
10385
+ function baseAssignIn(object, source) {
10386
+ return object && copyObject(source, keysIn(source), object);
10387
+ }
10388
+ function arrayFilter(array, predicate) {
10389
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
10390
+ while (++index < length) {
10391
+ var value = array[index];
10392
+ if (predicate(value, index, array)) {
10393
+ result[resIndex++] = value;
10394
+ }
10395
+ }
10396
+ return result;
10397
+ }
10398
+ function stubArray() {
10399
+ return [];
10400
+ }
10401
+ var objectProto$1 = Object.prototype;
10402
+ var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
10403
+ var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
10404
+ var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object) {
10405
+ if (object == null) {
10406
+ return [];
10407
+ }
10408
+ object = Object(object);
10409
+ return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
10410
+ return propertyIsEnumerable.call(object, symbol);
10411
+ });
10412
+ };
10413
+ const getSymbols$1 = getSymbols;
10414
+ function copySymbols(source, object) {
10415
+ return copyObject(source, getSymbols$1(source), object);
10416
+ }
10417
+ function arrayPush(array, values) {
10418
+ var index = -1, length = values.length, offset2 = array.length;
10419
+ while (++index < length) {
10420
+ array[offset2 + index] = values[index];
10421
+ }
10422
+ return array;
10423
+ }
10424
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
10425
+ var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
10426
+ var result = [];
10427
+ while (object) {
10428
+ arrayPush(result, getSymbols$1(object));
10429
+ object = getPrototype$1(object);
10430
+ }
10431
+ return result;
10432
+ };
10433
+ const getSymbolsIn$1 = getSymbolsIn;
10434
+ function copySymbolsIn(source, object) {
10435
+ return copyObject(source, getSymbolsIn$1(source), object);
10436
+ }
10437
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
10438
+ var result = keysFunc(object);
10439
+ return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
10440
+ }
10441
+ function getAllKeys(object) {
10442
+ return baseGetAllKeys(object, keys, getSymbols$1);
10443
+ }
10444
+ function getAllKeysIn(object) {
10445
+ return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
10446
+ }
10447
+ var DataView = getNative(root$1, "DataView");
10448
+ const DataView$1 = DataView;
10449
+ var Promise$1 = getNative(root$1, "Promise");
10450
+ const Promise$2 = Promise$1;
10451
+ var Set$1 = getNative(root$1, "Set");
10452
+ const Set$2 = Set$1;
10453
+ var WeakMap$1 = getNative(root$1, "WeakMap");
10454
+ const WeakMap$2 = WeakMap$1;
10455
+ var mapTag$3 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$3 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
10456
+ var dataViewTag$2 = "[object DataView]";
10457
+ var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$2), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$2), weakMapCtorString = toSource(WeakMap$2);
10458
+ var getTag = baseGetTag;
10459
+ if (DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$2 || Map$2 && getTag(new Map$2()) != mapTag$3 || Promise$2 && getTag(Promise$2.resolve()) != promiseTag || Set$2 && getTag(new Set$2()) != setTag$3 || WeakMap$2 && getTag(new WeakMap$2()) != weakMapTag$1) {
10460
+ getTag = function(value) {
10461
+ var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
10462
+ if (ctorString) {
10463
+ switch (ctorString) {
10464
+ case dataViewCtorString:
10465
+ return dataViewTag$2;
10466
+ case mapCtorString:
10467
+ return mapTag$3;
10468
+ case promiseCtorString:
10469
+ return promiseTag;
10470
+ case setCtorString:
10471
+ return setTag$3;
10472
+ case weakMapCtorString:
10473
+ return weakMapTag$1;
10474
+ }
10475
+ }
10476
+ return result;
10477
+ };
10478
+ }
10479
+ const getTag$1 = getTag;
10480
+ var objectProto = Object.prototype;
10481
+ var hasOwnProperty = objectProto.hasOwnProperty;
10482
+ function initCloneArray(array) {
10483
+ var length = array.length, result = new array.constructor(length);
10484
+ if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
10485
+ result.index = array.index;
10486
+ result.input = array.input;
10487
+ }
10488
+ return result;
10489
+ }
10490
+ function cloneDataView(dataView, isDeep) {
10491
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
10492
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
10493
+ }
10494
+ var reFlags = /\w*$/;
10495
+ function cloneRegExp(regexp) {
10496
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
10497
+ result.lastIndex = regexp.lastIndex;
10498
+ return result;
10499
+ }
10500
+ var symbolProto = Symbol$2 ? Symbol$2.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
10501
+ function cloneSymbol(symbol) {
10502
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
10503
+ }
10504
+ var boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", symbolTag$1 = "[object Symbol]";
10505
+ var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]", float32Tag$1 = "[object Float32Array]", float64Tag$1 = "[object Float64Array]", int8Tag$1 = "[object Int8Array]", int16Tag$1 = "[object Int16Array]", int32Tag$1 = "[object Int32Array]", uint8Tag$1 = "[object Uint8Array]", uint8ClampedTag$1 = "[object Uint8ClampedArray]", uint16Tag$1 = "[object Uint16Array]", uint32Tag$1 = "[object Uint32Array]";
10506
+ function initCloneByTag(object, tag, isDeep) {
10507
+ var Ctor = object.constructor;
10508
+ switch (tag) {
10509
+ case arrayBufferTag$1:
10510
+ return cloneArrayBuffer(object);
10511
+ case boolTag$1:
10512
+ case dateTag$1:
10513
+ return new Ctor(+object);
10514
+ case dataViewTag$1:
10515
+ return cloneDataView(object, isDeep);
10516
+ case float32Tag$1:
10517
+ case float64Tag$1:
10518
+ case int8Tag$1:
10519
+ case int16Tag$1:
10520
+ case int32Tag$1:
10521
+ case uint8Tag$1:
10522
+ case uint8ClampedTag$1:
10523
+ case uint16Tag$1:
10524
+ case uint32Tag$1:
10525
+ return cloneTypedArray(object, isDeep);
10526
+ case mapTag$2:
10527
+ return new Ctor();
10528
+ case numberTag$1:
10529
+ case stringTag$1:
10530
+ return new Ctor(object);
10531
+ case regexpTag$1:
10532
+ return cloneRegExp(object);
10533
+ case setTag$2:
10534
+ return new Ctor();
10535
+ case symbolTag$1:
10536
+ return cloneSymbol(object);
10537
+ }
10538
+ }
10539
+ var mapTag$1 = "[object Map]";
10540
+ function baseIsMap(value) {
10541
+ return isObjectLike(value) && getTag$1(value) == mapTag$1;
10542
+ }
10543
+ var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
10544
+ var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
10545
+ const isMap$1 = isMap;
10546
+ var setTag$1 = "[object Set]";
10547
+ function baseIsSet(value) {
10548
+ return isObjectLike(value) && getTag$1(value) == setTag$1;
10549
+ }
10550
+ var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet;
10551
+ var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
10552
+ const isSet$1 = isSet;
10553
+ var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
10554
+ var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
10555
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
10556
+ var cloneableTags = {};
10557
+ cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
10558
+ cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
10559
+ function baseClone(value, bitmask, customizer, key, object, stack) {
10560
+ var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
10561
+ if (customizer) {
10562
+ result = object ? customizer(value, key, object, stack) : customizer(value);
10563
+ }
10564
+ if (result !== void 0) {
10565
+ return result;
10566
+ }
10567
+ if (!isObject(value)) {
10568
+ return value;
10569
+ }
10570
+ var isArr = isArray$1(value);
10571
+ if (isArr) {
10572
+ result = initCloneArray(value);
10573
+ if (!isDeep) {
10574
+ return copyArray(value, result);
10575
+ }
10576
+ } else {
10577
+ var tag = getTag$1(value), isFunc = tag == funcTag || tag == genTag;
10578
+ if (isBuffer$1(value)) {
10579
+ return cloneBuffer(value, isDeep);
10580
+ }
10581
+ if (tag == objectTag || tag == argsTag || isFunc && !object) {
10582
+ result = isFlat || isFunc ? {} : initCloneObject(value);
10583
+ if (!isDeep) {
10584
+ return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));
10585
+ }
10586
+ } else {
10587
+ if (!cloneableTags[tag]) {
10588
+ return object ? value : {};
10589
+ }
10590
+ result = initCloneByTag(value, tag, isDeep);
10591
+ }
10592
+ }
10593
+ stack || (stack = new Stack());
10594
+ var stacked = stack.get(value);
10595
+ if (stacked) {
10596
+ return stacked;
10597
+ }
10598
+ stack.set(value, result);
10599
+ if (isSet$1(value)) {
10600
+ value.forEach(function(subValue) {
10601
+ result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
10602
+ });
10603
+ } else if (isMap$1(value)) {
10604
+ value.forEach(function(subValue, key2) {
10605
+ result.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
10606
+ });
10607
+ }
10608
+ var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;
10609
+ var props = isArr ? void 0 : keysFunc(value);
10610
+ arrayEach(props || value, function(subValue, key2) {
10611
+ if (props) {
10612
+ key2 = subValue;
10613
+ subValue = value[key2];
10614
+ }
10615
+ assignValue(result, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
10616
+ });
10617
+ return result;
10618
+ }
10619
+ var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
10620
+ function cloneDeep(value) {
10621
+ return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
10622
+ }
10352
10623
  var FILTER_HEIGHT = 36;
10353
- var useStyles$r = createThemedStyles("FiltersPane", {
10624
+ var useStyles$s = createThemedStyles("FiltersPane", {
10354
10625
  root: {
10355
10626
  display: "flex",
10356
10627
  flexWrap: "wrap",
@@ -10415,7 +10686,7 @@
10415
10686
  }
10416
10687
  }
10417
10688
  };
10418
- var useStyles$q = createThemedStyles("FilterInterval", {
10689
+ var useStyles$r = createThemedStyles("FilterInterval", {
10419
10690
  root: {
10420
10691
  padding: 8,
10421
10692
  background: colors.CLASSIC_WHITE
@@ -10457,7 +10728,7 @@
10457
10728
  }
10458
10729
  }
10459
10730
  };
10460
- var clearButtonStyles$3 = innerTextButtonStyles;
10731
+ var clearButtonStyles$3 = cloneDeep(innerTextButtonStyles);
10461
10732
  function _define_property$v(obj, key, value) {
10462
10733
  if (key in obj) {
10463
10734
  Object.defineProperty(obj, key, {
@@ -10486,8 +10757,8 @@
10486
10757
  }
10487
10758
  return target;
10488
10759
  }
10489
- function ownKeys$o(object, enumerableOnly) {
10490
- var keys = Object.keys(object);
10760
+ function ownKeys$p(object, enumerableOnly) {
10761
+ var keys2 = Object.keys(object);
10491
10762
  if (Object.getOwnPropertySymbols) {
10492
10763
  var symbols = Object.getOwnPropertySymbols(object);
10493
10764
  if (enumerableOnly) {
@@ -10495,16 +10766,16 @@
10495
10766
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
10496
10767
  });
10497
10768
  }
10498
- keys.push.apply(keys, symbols);
10769
+ keys2.push.apply(keys2, symbols);
10499
10770
  }
10500
- return keys;
10771
+ return keys2;
10501
10772
  }
10502
- function _object_spread_props$o(target, source) {
10773
+ function _object_spread_props$p(target, source) {
10503
10774
  source = source != null ? source : {};
10504
10775
  if (Object.getOwnPropertyDescriptors) {
10505
10776
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
10506
10777
  } else {
10507
- ownKeys$o(Object(source)).forEach(function(key) {
10778
+ ownKeys$p(Object(source)).forEach(function(key) {
10508
10779
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
10509
10780
  });
10510
10781
  }
@@ -10512,7 +10783,7 @@
10512
10783
  }
10513
10784
  var FilterInterval = function(param) {
10514
10785
  var data = param.data, tweakStyles = param.tweakStyles, value = param.value, labelName = param.labelName, withFieldNameInLabel = param.withFieldNameInLabel, localeKey = param.localeKey, locale2 = param.locale, canBeFloat = param.canBeFloat, onChange = param.onChange, fromInput = param.fromInput, toInput = param.toInput, testId = param.testId;
10515
- var classes = useStyles$q({
10786
+ var classes = useStyles$r({
10516
10787
  theme: tweakStyles
10517
10788
  });
10518
10789
  var translates = React.useMemo(function() {
@@ -10556,7 +10827,7 @@
10556
10827
  className: "tweakClearButton",
10557
10828
  currentComponentName: "FilterInterval"
10558
10829
  });
10559
- return /* @__PURE__ */ jsxs("div", _object_spread_props$o(_object_spread$t({
10830
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$p(_object_spread$t({
10560
10831
  className: classes.root
10561
10832
  }, addDataAttributes(data)), {
10562
10833
  children: [
@@ -10683,8 +10954,9 @@
10683
10954
  }
10684
10955
  var ITEM_HEIGHT$1 = 40;
10685
10956
  var TOP_GAP = 12;
10686
- var useStyles$p = createThemedStyles("MultiSelectList", {
10957
+ var useStyles$q = createThemedStyles("MultiSelectList", {
10687
10958
  root: {
10959
+ width: 220,
10688
10960
  background: colors.CLASSIC_WHITE
10689
10961
  },
10690
10962
  list: _object_spread$s({
@@ -10780,10 +11052,13 @@
10780
11052
  padding: [
10781
11053
  11,
10782
11054
  16
10783
- ]
11055
+ ],
11056
+ boxSizing: "border-box",
11057
+ width: "100%"
10784
11058
  },
10785
11059
  children: {
10786
- marginRight: "auto"
11060
+ marginRight: "auto",
11061
+ overflow: "hidden"
10787
11062
  }
10788
11063
  };
10789
11064
  var clearButtonStyles$2 = {
@@ -10797,20 +11072,20 @@
10797
11072
  }
10798
11073
  }
10799
11074
  };
10800
- function _array_like_to_array$g(arr, len) {
11075
+ function _array_like_to_array$f(arr, len) {
10801
11076
  if (len == null || len > arr.length)
10802
11077
  len = arr.length;
10803
11078
  for (var i = 0, arr2 = new Array(len); i < len; i++)
10804
11079
  arr2[i] = arr[i];
10805
11080
  return arr2;
10806
11081
  }
10807
- function _array_with_holes$g(arr) {
11082
+ function _array_with_holes$f(arr) {
10808
11083
  if (Array.isArray(arr))
10809
11084
  return arr;
10810
11085
  }
10811
11086
  function _array_without_holes$3(arr) {
10812
11087
  if (Array.isArray(arr))
10813
- return _array_like_to_array$g(arr);
11088
+ return _array_like_to_array$f(arr);
10814
11089
  }
10815
11090
  function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
10816
11091
  try {
@@ -10858,7 +11133,7 @@
10858
11133
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
10859
11134
  return Array.from(iter);
10860
11135
  }
10861
- function _iterable_to_array_limit$g(arr, i) {
11136
+ function _iterable_to_array_limit$f(arr, i) {
10862
11137
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
10863
11138
  if (_i == null)
10864
11139
  return;
@@ -10886,7 +11161,7 @@
10886
11161
  }
10887
11162
  return _arr;
10888
11163
  }
10889
- function _non_iterable_rest$g() {
11164
+ function _non_iterable_rest$f() {
10890
11165
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10891
11166
  }
10892
11167
  function _non_iterable_spread$3() {
@@ -10907,8 +11182,8 @@
10907
11182
  }
10908
11183
  return target;
10909
11184
  }
10910
- function ownKeys$n(object, enumerableOnly) {
10911
- var keys = Object.keys(object);
11185
+ function ownKeys$o(object, enumerableOnly) {
11186
+ var keys2 = Object.keys(object);
10912
11187
  if (Object.getOwnPropertySymbols) {
10913
11188
  var symbols = Object.getOwnPropertySymbols(object);
10914
11189
  if (enumerableOnly) {
@@ -10916,39 +11191,39 @@
10916
11191
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
10917
11192
  });
10918
11193
  }
10919
- keys.push.apply(keys, symbols);
11194
+ keys2.push.apply(keys2, symbols);
10920
11195
  }
10921
- return keys;
11196
+ return keys2;
10922
11197
  }
10923
- function _object_spread_props$n(target, source) {
11198
+ function _object_spread_props$o(target, source) {
10924
11199
  source = source != null ? source : {};
10925
11200
  if (Object.getOwnPropertyDescriptors) {
10926
11201
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
10927
11202
  } else {
10928
- ownKeys$n(Object(source)).forEach(function(key) {
11203
+ ownKeys$o(Object(source)).forEach(function(key) {
10929
11204
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
10930
11205
  });
10931
11206
  }
10932
11207
  return target;
10933
11208
  }
10934
- function _sliced_to_array$g(arr, i) {
10935
- return _array_with_holes$g(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$g(arr, i) || _non_iterable_rest$g();
11209
+ function _sliced_to_array$f(arr, i) {
11210
+ return _array_with_holes$f(arr) || _iterable_to_array_limit$f(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$f();
10936
11211
  }
10937
11212
  function _to_consumable_array$3(arr) {
10938
- return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$g(arr) || _non_iterable_spread$3();
11213
+ return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$f(arr) || _non_iterable_spread$3();
10939
11214
  }
10940
- function _unsupported_iterable_to_array$g(o, minLen) {
11215
+ function _unsupported_iterable_to_array$f(o, minLen) {
10941
11216
  if (!o)
10942
11217
  return;
10943
11218
  if (typeof o === "string")
10944
- return _array_like_to_array$g(o, minLen);
11219
+ return _array_like_to_array$f(o, minLen);
10945
11220
  var n = Object.prototype.toString.call(o).slice(8, -1);
10946
11221
  if (n === "Object" && o.constructor)
10947
11222
  n = o.constructor.name;
10948
11223
  if (n === "Map" || n === "Set")
10949
11224
  return Array.from(n);
10950
11225
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
10951
- return _array_like_to_array$g(o, minLen);
11226
+ return _array_like_to_array$f(o, minLen);
10952
11227
  }
10953
11228
  var __generator$2 = globalThis && globalThis.__generator || function(thisArg, body) {
10954
11229
  var f, y, t, g, _ = {
@@ -11053,7 +11328,7 @@
11053
11328
  }
11054
11329
  };
11055
11330
  function MultiSelectList(param) {
11056
- var value = param.value, tweakStyles = param.tweakStyles, data = param.data, _param_isSearchEnabled = param.isSearchEnabled, isSearchEnabled = _param_isSearchEnabled === void 0 ? false : _param_isSearchEnabled, _param_width = param.width, width = _param_width === void 0 ? 220 : _param_width, _param_localeKey = param.localeKey, localeKey = _param_localeKey === void 0 ? DEFAULT_LOCALE : _param_localeKey, _param_locale = param.locale, locale2 = _param_locale === void 0 ? MultiSelectLocales[localeKey] : _param_locale, onChange = param.onChange, onClose = param.onClose, options = param.options, fetchOptions = param.fetchOptions, _param_isGroupingEnabled = param.isGroupingEnabled, isGroupingEnabled = _param_isGroupingEnabled === void 0 ? isSearchEnabled : _param_isGroupingEnabled, _param_getValueView = param.getValueView, getValueView = _param_getValueView === void 0 ? defaultConvertFunction : _param_getValueView, _param_getValueId = param.getValueId, getValueId = _param_getValueId === void 0 ? defaultConvertFunction : _param_getValueId, _param_getValueString = param.getValueString, getValueString = _param_getValueString === void 0 ? defaultConvertFunction : _param_getValueString, _param_checkboxPosition = param.checkboxPosition, checkboxPosition = _param_checkboxPosition === void 0 ? "left" : _param_checkboxPosition, pageSize = param.pageSize, searchMaxLength = param.searchMaxLength, testId = param.testId;
11331
+ var value = param.value, tweakStyles = param.tweakStyles, data = param.data, _param_isSearchEnabled = param.isSearchEnabled, isSearchEnabled = _param_isSearchEnabled === void 0 ? false : _param_isSearchEnabled, _param_localeKey = param.localeKey, localeKey = _param_localeKey === void 0 ? DEFAULT_LOCALE : _param_localeKey, _param_locale = param.locale, locale2 = _param_locale === void 0 ? MultiSelectLocales[localeKey] : _param_locale, onChange = param.onChange, onClose = param.onClose, options = param.options, fetchOptions = param.fetchOptions, _param_isGroupingEnabled = param.isGroupingEnabled, isGroupingEnabled = _param_isGroupingEnabled === void 0 ? isSearchEnabled : _param_isGroupingEnabled, _param_getValueView = param.getValueView, getValueView = _param_getValueView === void 0 ? defaultConvertFunction : _param_getValueView, _param_getValueId = param.getValueId, getValueId = _param_getValueId === void 0 ? defaultConvertFunction : _param_getValueId, _param_getValueString = param.getValueString, getValueString = _param_getValueString === void 0 ? defaultConvertFunction : _param_getValueString, _param_checkboxPosition = param.checkboxPosition, checkboxPosition = _param_checkboxPosition === void 0 ? "left" : _param_checkboxPosition, pageSize = param.pageSize, searchMaxLength = param.searchMaxLength, testId = param.testId;
11057
11332
  var handleOnChange = function handleOnChange2(inputValue) {
11058
11333
  setSearchValue(inputValue);
11059
11334
  if (fetchOptions === void 0) {
@@ -11069,7 +11344,7 @@
11069
11344
  }
11070
11345
  };
11071
11346
  var isMounted = useIsMounted();
11072
- var classes = useStyles$p({
11347
+ var classes = useStyles$q({
11073
11348
  theme: tweakStyles
11074
11349
  });
11075
11350
  var tweakCheckboxStyles = useTweakStyles({
@@ -11090,13 +11365,13 @@
11090
11365
  className: "tweakClearButton",
11091
11366
  currentComponentName: "MultiSelectList"
11092
11367
  });
11093
- var _useState = _sliced_to_array$g(React.useState(0), 2), keyCursorOn = _useState[0], setKeyCursorOn = _useState[1];
11094
- var _useState1 = _sliced_to_array$g(React.useState(""), 2), searchValue = _useState1[0], setSearchValue = _useState1[1];
11095
- var _useState2 = _sliced_to_array$g(React.useState([]), 2), allOptions = _useState2[0], setAllOptions = _useState2[1];
11096
- var _useState3 = _sliced_to_array$g(React.useState(false), 2), isLoading = _useState3[0], setIsLoading = _useState3[1];
11097
- var _useState4 = _sliced_to_array$g(React.useState(false), 2), isLoadingOptionsOnScroll = _useState4[0], setLoadingOptionsOnScroll = _useState4[1];
11098
- var _useState5 = _sliced_to_array$g(React.useState(0), 2), activePage = _useState5[0], setActivePage = _useState5[1];
11099
- var _useState6 = _sliced_to_array$g(React.useState(false), 2), isMaxPage = _useState6[0], setIsMaxPage = _useState6[1];
11368
+ var _useState = _sliced_to_array$f(React.useState(0), 2), keyCursorOn = _useState[0], setKeyCursorOn = _useState[1];
11369
+ var _useState1 = _sliced_to_array$f(React.useState(""), 2), searchValue = _useState1[0], setSearchValue = _useState1[1];
11370
+ var _useState2 = _sliced_to_array$f(React.useState([]), 2), allOptions = _useState2[0], setAllOptions = _useState2[1];
11371
+ var _useState3 = _sliced_to_array$f(React.useState(false), 2), isLoading = _useState3[0], setIsLoading = _useState3[1];
11372
+ var _useState4 = _sliced_to_array$f(React.useState(false), 2), isLoadingOptionsOnScroll = _useState4[0], setLoadingOptionsOnScroll = _useState4[1];
11373
+ var _useState5 = _sliced_to_array$f(React.useState(0), 2), activePage = _useState5[0], setActivePage = _useState5[1];
11374
+ var _useState6 = _sliced_to_array$f(React.useState(false), 2), isMaxPage = _useState6[0], setIsMaxPage = _useState6[1];
11100
11375
  var observer = React.useRef();
11101
11376
  var chosenValues = value === null || value === void 0 ? void 0 : value.include;
11102
11377
  var translates = React.useMemo(function() {
@@ -11224,13 +11499,13 @@
11224
11499
  if (value !== void 0) {
11225
11500
  if (keyCursorOn < value.include.length) {
11226
11501
  var _value_include_filter;
11227
- onChange(_object_spread_props$n(_object_spread$r({}, value), {
11502
+ onChange(_object_spread_props$o(_object_spread$r({}, value), {
11228
11503
  include: (_value_include_filter = value.include.filter(function(val) {
11229
11504
  return getValueId(val) !== getValueId(value.include[keyCursorOn]);
11230
11505
  })) !== null && _value_include_filter !== void 0 ? _value_include_filter : []
11231
11506
  }));
11232
11507
  } else {
11233
- onChange(_object_spread_props$n(_object_spread$r({}, value), {
11508
+ onChange(_object_spread_props$o(_object_spread$r({}, value), {
11234
11509
  include: _to_consumable_array$3(value.include).concat([
11235
11510
  unchosenOptions[keyCursorOn - value.include.length]
11236
11511
  ])
@@ -11429,11 +11704,8 @@
11429
11704
  var shouldShowAllOptionsLabel = isGroupingEnabled && unchosenOptions.length > 0 && chosenValues !== void 0 && chosenValues.length > 0;
11430
11705
  var shouldShowPreloader = isLoading || isLoadingOptionsOnScroll;
11431
11706
  var shouldShowOptionsList = !isLoading && allOptions.length !== 0;
11432
- return /* @__PURE__ */ jsxs("div", _object_spread_props$n(_object_spread$r({
11433
- className: classes.root,
11434
- style: {
11435
- width
11436
- }
11707
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$o(_object_spread$r({
11708
+ className: classes.root
11437
11709
  }, addDataAttributes(data)), {
11438
11710
  children: [
11439
11711
  isSearchEnabled && /* @__PURE__ */ jsx("div", {
@@ -11597,8 +11869,9 @@
11597
11869
  }
11598
11870
  var ITEM_HEIGHT = 40;
11599
11871
  var LIST_GAP = 12;
11600
- var useStyles$o = createThemedStyles("FilterSelect", {
11872
+ var useStyles$p = createThemedStyles("FilterSelect", {
11601
11873
  root: {
11874
+ width: 220,
11602
11875
  background: colors.CLASSIC_WHITE
11603
11876
  },
11604
11877
  list: _object_spread$p({
@@ -11728,21 +12001,21 @@
11728
12001
  }
11729
12002
  }
11730
12003
  };
11731
- var clearButtonStyles$1 = innerTextButtonStyles;
11732
- function _array_like_to_array$f(arr, len) {
12004
+ var clearButtonStyles$1 = cloneDeep(innerTextButtonStyles);
12005
+ function _array_like_to_array$e(arr, len) {
11733
12006
  if (len == null || len > arr.length)
11734
12007
  len = arr.length;
11735
12008
  for (var i = 0, arr2 = new Array(len); i < len; i++)
11736
12009
  arr2[i] = arr[i];
11737
12010
  return arr2;
11738
12011
  }
11739
- function _array_with_holes$f(arr) {
12012
+ function _array_with_holes$e(arr) {
11740
12013
  if (Array.isArray(arr))
11741
12014
  return arr;
11742
12015
  }
11743
12016
  function _array_without_holes$2(arr) {
11744
12017
  if (Array.isArray(arr))
11745
- return _array_like_to_array$f(arr);
12018
+ return _array_like_to_array$e(arr);
11746
12019
  }
11747
12020
  function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
11748
12021
  try {
@@ -11790,7 +12063,7 @@
11790
12063
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
11791
12064
  return Array.from(iter);
11792
12065
  }
11793
- function _iterable_to_array_limit$f(arr, i) {
12066
+ function _iterable_to_array_limit$e(arr, i) {
11794
12067
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
11795
12068
  if (_i == null)
11796
12069
  return;
@@ -11818,7 +12091,7 @@
11818
12091
  }
11819
12092
  return _arr;
11820
12093
  }
11821
- function _non_iterable_rest$f() {
12094
+ function _non_iterable_rest$e() {
11822
12095
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11823
12096
  }
11824
12097
  function _non_iterable_spread$2() {
@@ -11839,8 +12112,8 @@
11839
12112
  }
11840
12113
  return target;
11841
12114
  }
11842
- function ownKeys$m(object, enumerableOnly) {
11843
- var keys = Object.keys(object);
12115
+ function ownKeys$n(object, enumerableOnly) {
12116
+ var keys2 = Object.keys(object);
11844
12117
  if (Object.getOwnPropertySymbols) {
11845
12118
  var symbols = Object.getOwnPropertySymbols(object);
11846
12119
  if (enumerableOnly) {
@@ -11848,39 +12121,39 @@
11848
12121
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
11849
12122
  });
11850
12123
  }
11851
- keys.push.apply(keys, symbols);
12124
+ keys2.push.apply(keys2, symbols);
11852
12125
  }
11853
- return keys;
12126
+ return keys2;
11854
12127
  }
11855
- function _object_spread_props$m(target, source) {
12128
+ function _object_spread_props$n(target, source) {
11856
12129
  source = source != null ? source : {};
11857
12130
  if (Object.getOwnPropertyDescriptors) {
11858
12131
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
11859
12132
  } else {
11860
- ownKeys$m(Object(source)).forEach(function(key) {
12133
+ ownKeys$n(Object(source)).forEach(function(key) {
11861
12134
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
11862
12135
  });
11863
12136
  }
11864
12137
  return target;
11865
12138
  }
11866
- function _sliced_to_array$f(arr, i) {
11867
- return _array_with_holes$f(arr) || _iterable_to_array_limit$f(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$f();
12139
+ function _sliced_to_array$e(arr, i) {
12140
+ return _array_with_holes$e(arr) || _iterable_to_array_limit$e(arr, i) || _unsupported_iterable_to_array$e(arr, i) || _non_iterable_rest$e();
11868
12141
  }
11869
12142
  function _to_consumable_array$2(arr) {
11870
- return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$f(arr) || _non_iterable_spread$2();
12143
+ return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$e(arr) || _non_iterable_spread$2();
11871
12144
  }
11872
- function _unsupported_iterable_to_array$f(o, minLen) {
12145
+ function _unsupported_iterable_to_array$e(o, minLen) {
11873
12146
  if (!o)
11874
12147
  return;
11875
12148
  if (typeof o === "string")
11876
- return _array_like_to_array$f(o, minLen);
12149
+ return _array_like_to_array$e(o, minLen);
11877
12150
  var n = Object.prototype.toString.call(o).slice(8, -1);
11878
12151
  if (n === "Object" && o.constructor)
11879
12152
  n = o.constructor.name;
11880
12153
  if (n === "Map" || n === "Set")
11881
12154
  return Array.from(n);
11882
12155
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
11883
- return _array_like_to_array$f(o, minLen);
12156
+ return _array_like_to_array$e(o, minLen);
11884
12157
  }
11885
12158
  var __generator$1 = globalThis && globalThis.__generator || function(thisArg, body) {
11886
12159
  var f, y, t, g, _ = {
@@ -11985,8 +12258,8 @@
11985
12258
  }
11986
12259
  };
11987
12260
  function FilterSelect(param) {
11988
- var data = param.data, tweakStyles = param.tweakStyles, value = param.value, _param_isSearchEnabled = param.isSearchEnabled, isSearchEnabled = _param_isSearchEnabled === void 0 ? false : _param_isSearchEnabled, _param_isGroupingEnabled = param.isGroupingEnabled, isGroupingEnabled = _param_isGroupingEnabled === void 0 ? false : _param_isGroupingEnabled, _param_width = param.width, width = _param_width === void 0 ? 220 : _param_width, localeKey = param.localeKey, locale2 = param.locale, onChange = param.onChange, options = param.options, fetchOptions = param.fetchOptions, footer = param.footer, _param_getValueView = param.getValueView, getValueView = _param_getValueView === void 0 ? defaultConvertFunction$1 : _param_getValueView, _param_getValueId = param.getValueId, getValueId = _param_getValueId === void 0 ? defaultConvertFunction$1 : _param_getValueId, _param_getValueString = param.getValueString, getValueString = _param_getValueString === void 0 ? defaultConvertFunction$1 : _param_getValueString, _param_hasClearButton = param.hasClearButton, hasClearButton = _param_hasClearButton === void 0 ? true : _param_hasClearButton, testId = param.testId;
11989
- var classes = useStyles$o({
12261
+ var data = param.data, tweakStyles = param.tweakStyles, value = param.value, _param_isSearchEnabled = param.isSearchEnabled, isSearchEnabled = _param_isSearchEnabled === void 0 ? false : _param_isSearchEnabled, _param_isGroupingEnabled = param.isGroupingEnabled, isGroupingEnabled = _param_isGroupingEnabled === void 0 ? false : _param_isGroupingEnabled, localeKey = param.localeKey, locale2 = param.locale, onChange = param.onChange, options = param.options, fetchOptions = param.fetchOptions, footer = param.footer, _param_getValueView = param.getValueView, getValueView = _param_getValueView === void 0 ? defaultConvertFunction$1 : _param_getValueView, _param_getValueId = param.getValueId, getValueId = _param_getValueId === void 0 ? defaultConvertFunction$1 : _param_getValueId, _param_getValueString = param.getValueString, getValueString = _param_getValueString === void 0 ? defaultConvertFunction$1 : _param_getValueString, _param_hasClearButton = param.hasClearButton, hasClearButton = _param_hasClearButton === void 0 ? true : _param_hasClearButton, testId = param.testId;
12262
+ var classes = useStyles$p({
11990
12263
  theme: tweakStyles
11991
12264
  });
11992
12265
  var tweakSearchInputStyles = useTweakStyles({
@@ -12009,12 +12282,12 @@
12009
12282
  locale2
12010
12283
  ]);
12011
12284
  var observer = React.useRef();
12012
- var _useState = _sliced_to_array$f(React.useState(""), 2), searchValue = _useState[0], setSearchValue = _useState[1];
12013
- var _useState1 = _sliced_to_array$f(React.useState([]), 2), allOptions = _useState1[0], setAllOptions = _useState1[1];
12014
- var _useState2 = _sliced_to_array$f(React.useState(0), 2), activePage = _useState2[0], setActivePage = _useState2[1];
12015
- var _useState3 = _sliced_to_array$f(React.useState(false), 2), isMaxPage = _useState3[0], setIsMaxPage = _useState3[1];
12016
- var _useState4 = _sliced_to_array$f(React.useState(false), 2), isLoading = _useState4[0], setIsLoading = _useState4[1];
12017
- var _useState5 = _sliced_to_array$f(React.useState(false), 2), isLoadingOptionsOnScroll = _useState5[0], setLoadingOptionsOnScroll = _useState5[1];
12285
+ var _useState = _sliced_to_array$e(React.useState(""), 2), searchValue = _useState[0], setSearchValue = _useState[1];
12286
+ var _useState1 = _sliced_to_array$e(React.useState([]), 2), allOptions = _useState1[0], setAllOptions = _useState1[1];
12287
+ var _useState2 = _sliced_to_array$e(React.useState(0), 2), activePage = _useState2[0], setActivePage = _useState2[1];
12288
+ var _useState3 = _sliced_to_array$e(React.useState(false), 2), isMaxPage = _useState3[0], setIsMaxPage = _useState3[1];
12289
+ var _useState4 = _sliced_to_array$e(React.useState(false), 2), isLoading = _useState4[0], setIsLoading = _useState4[1];
12290
+ var _useState5 = _sliced_to_array$e(React.useState(false), 2), isLoadingOptionsOnScroll = _useState5[0], setLoadingOptionsOnScroll = _useState5[1];
12018
12291
  var shouldShowPreloader = isLoading || isLoadingOptionsOnScroll;
12019
12292
  var hasFooter = trueReactPlatformHelpers.isReactNodeNotEmpty(footer);
12020
12293
  var handleSearchInputChange = React.useCallback(function() {
@@ -12257,11 +12530,8 @@
12257
12530
  }();
12258
12531
  doFetchOptions();
12259
12532
  }, []);
12260
- return /* @__PURE__ */ jsxs("div", _object_spread_props$m(_object_spread$o({
12261
- className: classes.root,
12262
- style: {
12263
- width
12264
- }
12533
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$n(_object_spread$o({
12534
+ className: classes.root
12265
12535
  }, addDataAttributes(data)), {
12266
12536
  children: [
12267
12537
  isSearchEnabled && /* @__PURE__ */ jsx("div", {
@@ -13473,7 +13743,7 @@
13473
13743
  }
13474
13744
  };
13475
13745
  const ru = locale;
13476
- var useStyles$n = createThemedStyles("FilterWithDates", {
13746
+ var useStyles$o = createThemedStyles("FilterWithDates", {
13477
13747
  root: {
13478
13748
  background: colors.CLASSIC_WHITE,
13479
13749
  position: "relative",
@@ -13499,7 +13769,7 @@
13499
13769
  },
13500
13770
  datepicker: {}
13501
13771
  });
13502
- var clearButtonStyles = innerTextButtonStyles;
13772
+ var clearButtonStyles = cloneDeep(innerTextButtonStyles);
13503
13773
  var backButtonStyles = innerTextButtonStyles;
13504
13774
  var PICKER_TOP_MARGIN = 28;
13505
13775
  var PICKER_WITH_BUTTONS_TOP_MARGIN = 60;
@@ -13529,14 +13799,14 @@
13529
13799
  marginLeft: END_PICKER_LEFT_MARGIN
13530
13800
  }
13531
13801
  };
13532
- function _array_like_to_array$e(arr, len) {
13802
+ function _array_like_to_array$d(arr, len) {
13533
13803
  if (len == null || len > arr.length)
13534
13804
  len = arr.length;
13535
13805
  for (var i = 0, arr2 = new Array(len); i < len; i++)
13536
13806
  arr2[i] = arr[i];
13537
13807
  return arr2;
13538
13808
  }
13539
- function _array_with_holes$e(arr) {
13809
+ function _array_with_holes$d(arr) {
13540
13810
  if (Array.isArray(arr))
13541
13811
  return arr;
13542
13812
  }
@@ -13553,7 +13823,7 @@
13553
13823
  }
13554
13824
  return obj;
13555
13825
  }
13556
- function _iterable_to_array_limit$e(arr, i) {
13826
+ function _iterable_to_array_limit$d(arr, i) {
13557
13827
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
13558
13828
  if (_i == null)
13559
13829
  return;
@@ -13581,7 +13851,7 @@
13581
13851
  }
13582
13852
  return _arr;
13583
13853
  }
13584
- function _non_iterable_rest$e() {
13854
+ function _non_iterable_rest$d() {
13585
13855
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13586
13856
  }
13587
13857
  function _object_spread$n(target) {
@@ -13599,8 +13869,8 @@
13599
13869
  }
13600
13870
  return target;
13601
13871
  }
13602
- function ownKeys$l(object, enumerableOnly) {
13603
- var keys = Object.keys(object);
13872
+ function ownKeys$m(object, enumerableOnly) {
13873
+ var keys2 = Object.keys(object);
13604
13874
  if (Object.getOwnPropertySymbols) {
13605
13875
  var symbols = Object.getOwnPropertySymbols(object);
13606
13876
  if (enumerableOnly) {
@@ -13608,40 +13878,40 @@
13608
13878
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
13609
13879
  });
13610
13880
  }
13611
- keys.push.apply(keys, symbols);
13881
+ keys2.push.apply(keys2, symbols);
13612
13882
  }
13613
- return keys;
13883
+ return keys2;
13614
13884
  }
13615
- function _object_spread_props$l(target, source) {
13885
+ function _object_spread_props$m(target, source) {
13616
13886
  source = source != null ? source : {};
13617
13887
  if (Object.getOwnPropertyDescriptors) {
13618
13888
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
13619
13889
  } else {
13620
- ownKeys$l(Object(source)).forEach(function(key) {
13890
+ ownKeys$m(Object(source)).forEach(function(key) {
13621
13891
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
13622
13892
  });
13623
13893
  }
13624
13894
  return target;
13625
13895
  }
13626
- function _sliced_to_array$e(arr, i) {
13627
- return _array_with_holes$e(arr) || _iterable_to_array_limit$e(arr, i) || _unsupported_iterable_to_array$e(arr, i) || _non_iterable_rest$e();
13896
+ function _sliced_to_array$d(arr, i) {
13897
+ return _array_with_holes$d(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$d();
13628
13898
  }
13629
- function _unsupported_iterable_to_array$e(o, minLen) {
13899
+ function _unsupported_iterable_to_array$d(o, minLen) {
13630
13900
  if (!o)
13631
13901
  return;
13632
13902
  if (typeof o === "string")
13633
- return _array_like_to_array$e(o, minLen);
13903
+ return _array_like_to_array$d(o, minLen);
13634
13904
  var n = Object.prototype.toString.call(o).slice(8, -1);
13635
13905
  if (n === "Object" && o.constructor)
13636
13906
  n = o.constructor.name;
13637
13907
  if (n === "Map" || n === "Set")
13638
13908
  return Array.from(n);
13639
13909
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
13640
- return _array_like_to_array$e(o, minLen);
13910
+ return _array_like_to_array$d(o, minLen);
13641
13911
  }
13642
13912
  var FilterWithDates = function(param) {
13643
13913
  var value = param.value, onChange = param.onChange, localeKey = param.localeKey, locale2 = param.locale, onStartBtnSubmit = param.onStartBtnSubmit, onEndBtnSubmit = param.onEndBtnSubmit, data = param.data, tweakStyles = param.tweakStyles, testId = param.testId, _param_startPickerProps = param.startPickerProps, startPickerProps = _param_startPickerProps === void 0 ? DEFAULT_PICKER_PROPS : _param_startPickerProps, _param_endPickerProps = param.endPickerProps, endPickerProps = _param_endPickerProps === void 0 ? DEFAULT_PICKER_PROPS : _param_endPickerProps, _param_isClearable = param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable;
13644
- var classes = useStyles$n({
13914
+ var classes = useStyles$o({
13645
13915
  theme: tweakStyles
13646
13916
  });
13647
13917
  var tweakClearButtonStyles = useTweakStyles({
@@ -13669,8 +13939,8 @@
13669
13939
  className: "tweakEndDatePicker",
13670
13940
  currentComponentName: "FilterWithDates"
13671
13941
  });
13672
- var _useState = _sliced_to_array$e(React.useState(false), 2), isOpenFrom = _useState[0], setOpenFrom = _useState[1];
13673
- var _useState1 = _sliced_to_array$e(React.useState(false), 2), isOpenTo = _useState1[0], setOpenTo = _useState1[1];
13942
+ var _useState = _sliced_to_array$d(React.useState(false), 2), isOpenFrom = _useState[0], setOpenFrom = _useState[1];
13943
+ var _useState1 = _sliced_to_array$d(React.useState(false), 2), isOpenTo = _useState1[0], setOpenTo = _useState1[1];
13674
13944
  var ref = React.useRef(null);
13675
13945
  var dateLocale = localeKey === "ru" ? ru : enUS;
13676
13946
  var translates = React.useMemo(function() {
@@ -13728,7 +13998,7 @@
13728
13998
  }
13729
13999
  };
13730
14000
  var _ref;
13731
- return /* @__PURE__ */ jsxs("div", _object_spread_props$l(_object_spread$n({
14001
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$m(_object_spread$n({
13732
14002
  className: classes.root
13733
14003
  }, addDataAttributes(data)), {
13734
14004
  children: [
@@ -13808,7 +14078,7 @@
13808
14078
  ]
13809
14079
  }));
13810
14080
  };
13811
- var useStyles$m = createThemedStyles("FilterWithPeriod", {
14081
+ var useStyles$n = createThemedStyles("FilterWithPeriod", {
13812
14082
  root: {},
13813
14083
  main: {},
13814
14084
  picker: {}
@@ -13818,20 +14088,20 @@
13818
14088
  maxHeight: "auto"
13819
14089
  }
13820
14090
  };
13821
- function _array_like_to_array$d(arr, len) {
14091
+ function _array_like_to_array$c(arr, len) {
13822
14092
  if (len == null || len > arr.length)
13823
14093
  len = arr.length;
13824
14094
  for (var i = 0, arr2 = new Array(len); i < len; i++)
13825
14095
  arr2[i] = arr[i];
13826
14096
  return arr2;
13827
14097
  }
13828
- function _array_with_holes$d(arr) {
14098
+ function _array_with_holes$c(arr) {
13829
14099
  if (Array.isArray(arr))
13830
14100
  return arr;
13831
14101
  }
13832
14102
  function _array_without_holes$1(arr) {
13833
14103
  if (Array.isArray(arr))
13834
- return _array_like_to_array$d(arr);
14104
+ return _array_like_to_array$c(arr);
13835
14105
  }
13836
14106
  function _define_property$o(obj, key, value) {
13837
14107
  if (key in obj) {
@@ -13850,7 +14120,7 @@
13850
14120
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
13851
14121
  return Array.from(iter);
13852
14122
  }
13853
- function _iterable_to_array_limit$d(arr, i) {
14123
+ function _iterable_to_array_limit$c(arr, i) {
13854
14124
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
13855
14125
  if (_i == null)
13856
14126
  return;
@@ -13878,7 +14148,7 @@
13878
14148
  }
13879
14149
  return _arr;
13880
14150
  }
13881
- function _non_iterable_rest$d() {
14151
+ function _non_iterable_rest$c() {
13882
14152
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13883
14153
  }
13884
14154
  function _non_iterable_spread$1() {
@@ -13899,8 +14169,8 @@
13899
14169
  }
13900
14170
  return target;
13901
14171
  }
13902
- function ownKeys$k(object, enumerableOnly) {
13903
- var keys = Object.keys(object);
14172
+ function ownKeys$l(object, enumerableOnly) {
14173
+ var keys2 = Object.keys(object);
13904
14174
  if (Object.getOwnPropertySymbols) {
13905
14175
  var symbols = Object.getOwnPropertySymbols(object);
13906
14176
  if (enumerableOnly) {
@@ -13908,43 +14178,43 @@
13908
14178
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
13909
14179
  });
13910
14180
  }
13911
- keys.push.apply(keys, symbols);
14181
+ keys2.push.apply(keys2, symbols);
13912
14182
  }
13913
- return keys;
14183
+ return keys2;
13914
14184
  }
13915
- function _object_spread_props$k(target, source) {
14185
+ function _object_spread_props$l(target, source) {
13916
14186
  source = source != null ? source : {};
13917
14187
  if (Object.getOwnPropertyDescriptors) {
13918
14188
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
13919
14189
  } else {
13920
- ownKeys$k(Object(source)).forEach(function(key) {
14190
+ ownKeys$l(Object(source)).forEach(function(key) {
13921
14191
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
13922
14192
  });
13923
14193
  }
13924
14194
  return target;
13925
14195
  }
13926
- function _sliced_to_array$d(arr, i) {
13927
- return _array_with_holes$d(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$d();
14196
+ function _sliced_to_array$c(arr, i) {
14197
+ return _array_with_holes$c(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$c();
13928
14198
  }
13929
14199
  function _to_consumable_array$1(arr) {
13930
- return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$d(arr) || _non_iterable_spread$1();
14200
+ return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$c(arr) || _non_iterable_spread$1();
13931
14201
  }
13932
- function _unsupported_iterable_to_array$d(o, minLen) {
14202
+ function _unsupported_iterable_to_array$c(o, minLen) {
13933
14203
  if (!o)
13934
14204
  return;
13935
14205
  if (typeof o === "string")
13936
- return _array_like_to_array$d(o, minLen);
14206
+ return _array_like_to_array$c(o, minLen);
13937
14207
  var n = Object.prototype.toString.call(o).slice(8, -1);
13938
14208
  if (n === "Object" && o.constructor)
13939
14209
  n = o.constructor.name;
13940
14210
  if (n === "Map" || n === "Set")
13941
14211
  return Array.from(n);
13942
14212
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
13943
- return _array_like_to_array$d(o, minLen);
14213
+ return _array_like_to_array$c(o, minLen);
13944
14214
  }
13945
14215
  var FilterWithPeriod = function(param) {
13946
14216
  var value = param.value, localeKey = param.localeKey, locale2 = param.locale, onChange = param.onChange, onClose = param.onClose, periods = param.periods, tweakStyles = param.tweakStyles, testId = param.testId;
13947
- var classes = useStyles$m({
14217
+ var classes = useStyles$n({
13948
14218
  theme: tweakStyles
13949
14219
  });
13950
14220
  var translates = React.useMemo(function() {
@@ -13953,9 +14223,9 @@
13953
14223
  localeKey,
13954
14224
  locale2
13955
14225
  ]);
13956
- var _useState = _sliced_to_array$d(React.useState((value === null || value === void 0 ? void 0 : value.periodType) !== "CUSTOM"), 2), isPeriodPickerShown = _useState[0], setIsPeriodPickerShown = _useState[1];
13957
- var _useState1 = _sliced_to_array$d(React.useState((value === null || value === void 0 ? void 0 : value.periodType) === "CUSTOM"), 2), isDatePickerShown = _useState1[0], setIsDatePickerShown = _useState1[1];
13958
- var _useState2 = _sliced_to_array$d(React.useState(value), 2), period = _useState2[0], setPeriod = _useState2[1];
14226
+ var _useState = _sliced_to_array$c(React.useState((value === null || value === void 0 ? void 0 : value.periodType) !== "CUSTOM"), 2), isPeriodPickerShown = _useState[0], setIsPeriodPickerShown = _useState[1];
14227
+ var _useState1 = _sliced_to_array$c(React.useState((value === null || value === void 0 ? void 0 : value.periodType) === "CUSTOM"), 2), isDatePickerShown = _useState1[0], setIsDatePickerShown = _useState1[1];
14228
+ var _useState2 = _sliced_to_array$c(React.useState(value), 2), period = _useState2[0], setPeriod = _useState2[1];
13959
14229
  var periodGetters = React.useMemo(function() {
13960
14230
  var result = _object_spread$m({}, PERIODS_GETTERS);
13961
14231
  periods === null || periods === void 0 ? void 0 : periods.forEach(function(p) {
@@ -14003,7 +14273,7 @@
14003
14273
  if (onClose !== void 0) {
14004
14274
  onClose();
14005
14275
  }
14006
- onChange(_object_spread_props$k(_object_spread$m({}, p), {
14276
+ onChange(_object_spread_props$l(_object_spread$m({}, p), {
14007
14277
  label: getPeriodTranslate(periodType)
14008
14278
  }));
14009
14279
  }
@@ -14023,7 +14293,7 @@
14023
14293
  };
14024
14294
  var handleCustomDateChange = function(val) {
14025
14295
  if (val.from || val.to) {
14026
- onChange(_object_spread_props$k(_object_spread$m({}, val), {
14296
+ onChange(_object_spread_props$l(_object_spread$m({}, val), {
14027
14297
  periodType: "CUSTOM"
14028
14298
  }));
14029
14299
  } else {
@@ -14095,14 +14365,14 @@
14095
14365
  ]
14096
14366
  });
14097
14367
  };
14098
- function _array_like_to_array$c(arr, len) {
14368
+ function _array_like_to_array$b(arr, len) {
14099
14369
  if (len == null || len > arr.length)
14100
14370
  len = arr.length;
14101
14371
  for (var i = 0, arr2 = new Array(len); i < len; i++)
14102
14372
  arr2[i] = arr[i];
14103
14373
  return arr2;
14104
14374
  }
14105
- function _array_with_holes$c(arr) {
14375
+ function _array_with_holes$b(arr) {
14106
14376
  if (Array.isArray(arr))
14107
14377
  return arr;
14108
14378
  }
@@ -14119,7 +14389,7 @@
14119
14389
  }
14120
14390
  return obj;
14121
14391
  }
14122
- function _iterable_to_array_limit$c(arr, i) {
14392
+ function _iterable_to_array_limit$b(arr, i) {
14123
14393
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14124
14394
  if (_i == null)
14125
14395
  return;
@@ -14147,7 +14417,7 @@
14147
14417
  }
14148
14418
  return _arr;
14149
14419
  }
14150
- function _non_iterable_rest$c() {
14420
+ function _non_iterable_rest$b() {
14151
14421
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14152
14422
  }
14153
14423
  function _object_spread$l(target) {
@@ -14165,8 +14435,8 @@
14165
14435
  }
14166
14436
  return target;
14167
14437
  }
14168
- function ownKeys$j(object, enumerableOnly) {
14169
- var keys = Object.keys(object);
14438
+ function ownKeys$k(object, enumerableOnly) {
14439
+ var keys2 = Object.keys(object);
14170
14440
  if (Object.getOwnPropertySymbols) {
14171
14441
  var symbols = Object.getOwnPropertySymbols(object);
14172
14442
  if (enumerableOnly) {
@@ -14174,41 +14444,41 @@
14174
14444
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
14175
14445
  });
14176
14446
  }
14177
- keys.push.apply(keys, symbols);
14447
+ keys2.push.apply(keys2, symbols);
14178
14448
  }
14179
- return keys;
14449
+ return keys2;
14180
14450
  }
14181
- function _object_spread_props$j(target, source) {
14451
+ function _object_spread_props$k(target, source) {
14182
14452
  source = source != null ? source : {};
14183
14453
  if (Object.getOwnPropertyDescriptors) {
14184
14454
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
14185
14455
  } else {
14186
- ownKeys$j(Object(source)).forEach(function(key) {
14456
+ ownKeys$k(Object(source)).forEach(function(key) {
14187
14457
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
14188
14458
  });
14189
14459
  }
14190
14460
  return target;
14191
14461
  }
14192
- function _sliced_to_array$c(arr, i) {
14193
- return _array_with_holes$c(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$c();
14462
+ function _sliced_to_array$b(arr, i) {
14463
+ return _array_with_holes$b(arr) || _iterable_to_array_limit$b(arr, i) || _unsupported_iterable_to_array$b(arr, i) || _non_iterable_rest$b();
14194
14464
  }
14195
- function _unsupported_iterable_to_array$c(o, minLen) {
14465
+ function _unsupported_iterable_to_array$b(o, minLen) {
14196
14466
  if (!o)
14197
14467
  return;
14198
14468
  if (typeof o === "string")
14199
- return _array_like_to_array$c(o, minLen);
14469
+ return _array_like_to_array$b(o, minLen);
14200
14470
  var n = Object.prototype.toString.call(o).slice(8, -1);
14201
14471
  if (n === "Object" && o.constructor)
14202
14472
  n = o.constructor.name;
14203
14473
  if (n === "Map" || n === "Set")
14204
14474
  return Array.from(n);
14205
14475
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
14206
- return _array_like_to_array$c(o, minLen);
14476
+ return _array_like_to_array$b(o, minLen);
14207
14477
  }
14208
14478
  function Filter(param) {
14209
14479
  var filter = param.filter, value = param.value, parentRef = param.parentRef, isInline = param.isInline, onChange = param.onChange, onClose = param.onClose, localeKey = param.localeKey, locale2 = param.locale, filtersPaneRef = param.filtersPaneRef, testId = param.testId, classes = param.classes;
14210
14480
  var ref = React.useRef(null);
14211
- var _useState = _sliced_to_array$c(React.useState("left"), 2), dropdownPosition = _useState[0], setDropdownPosition = _useState[1];
14481
+ var _useState = _sliced_to_array$b(React.useState("left"), 2), dropdownPosition = _useState[0], setDropdownPosition = _useState[1];
14212
14482
  var _filter_localeKey;
14213
14483
  var translatesLocaleKey = (_filter_localeKey = filter.localeKey) !== null && _filter_localeKey !== void 0 ? _filter_localeKey : localeKey;
14214
14484
  var translates = React.useMemo(function() {
@@ -14250,7 +14520,7 @@
14250
14520
  };
14251
14521
  if (filter.type === "custom" && filter.component) {
14252
14522
  var Component = filter.component;
14253
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14523
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14254
14524
  children: /* @__PURE__ */ jsx(Component, _object_spread$l({}, {
14255
14525
  value,
14256
14526
  onChange,
@@ -14265,7 +14535,7 @@
14265
14535
  console.warn("%cДля фильтра типа custom (".concat(filter.name, ") в конфиге обязательно нужно задать component"), "background: red; color: black");
14266
14536
  }
14267
14537
  if (filter.type === "select") {
14268
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14538
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14269
14539
  children: /* @__PURE__ */ jsx(FilterSelect, _object_spread$l({
14270
14540
  onChange,
14271
14541
  value,
@@ -14276,7 +14546,7 @@
14276
14546
  }));
14277
14547
  }
14278
14548
  if (filter.type === "dateRange") {
14279
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14549
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14280
14550
  children: /* @__PURE__ */ jsx(FilterWithPeriod, _object_spread$l({
14281
14551
  localeKey: translatesLocaleKey,
14282
14552
  locale: translates,
@@ -14289,7 +14559,7 @@
14289
14559
  }
14290
14560
  if (filter.type === "dateRangeWithoutPeriod") {
14291
14561
  var dateRangeValue = value;
14292
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14562
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14293
14563
  style: {
14294
14564
  width: 320
14295
14565
  },
@@ -14299,7 +14569,7 @@
14299
14569
  return onChange(void 0);
14300
14570
  },
14301
14571
  onChange: function(v) {
14302
- return onChange(_object_spread_props$j(_object_spread$l({}, v), {
14572
+ return onChange(_object_spread_props$k(_object_spread$l({}, v), {
14303
14573
  periodType: "CUSTOM"
14304
14574
  }));
14305
14575
  },
@@ -14310,7 +14580,7 @@
14310
14580
  }));
14311
14581
  }
14312
14582
  if (filter.type === "multiSelect") {
14313
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14583
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14314
14584
  children: /* @__PURE__ */ jsx(FilterMultiSelect, _object_spread$l({
14315
14585
  onChange,
14316
14586
  onClose: handleOnClose,
@@ -14322,7 +14592,7 @@
14322
14592
  }));
14323
14593
  }
14324
14594
  if (filter.type === "interval") {
14325
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14595
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14326
14596
  children: /* @__PURE__ */ jsx(FilterInterval, _object_spread$l({
14327
14597
  value,
14328
14598
  labelName: filter.name,
@@ -14336,7 +14606,7 @@
14336
14606
  console.warn("%cДля фильтра ".concat(filter.name, " не задан тип или component"), "background: red; color: black");
14337
14607
  return null;
14338
14608
  }
14339
- var useStyles$l = createThemedStyles("FiltersPaneSearch", {
14609
+ var useStyles$m = createThemedStyles("FiltersPaneSearch", {
14340
14610
  root: {
14341
14611
  display: "flex",
14342
14612
  position: "relative",
@@ -14430,17 +14700,18 @@
14430
14700
  borderRadius: 0,
14431
14701
  borderBottomLeftRadius: 6,
14432
14702
  borderBottomRightRadius: 6,
14433
- boxShadow: "none"
14703
+ boxShadow: "none",
14704
+ width: "100%"
14434
14705
  }
14435
14706
  };
14436
- function _array_like_to_array$b(arr, len) {
14707
+ function _array_like_to_array$a(arr, len) {
14437
14708
  if (len == null || len > arr.length)
14438
14709
  len = arr.length;
14439
14710
  for (var i = 0, arr2 = new Array(len); i < len; i++)
14440
14711
  arr2[i] = arr[i];
14441
14712
  return arr2;
14442
14713
  }
14443
- function _array_with_holes$b(arr) {
14714
+ function _array_with_holes$a(arr) {
14444
14715
  if (Array.isArray(arr))
14445
14716
  return arr;
14446
14717
  }
@@ -14457,7 +14728,7 @@
14457
14728
  }
14458
14729
  return obj;
14459
14730
  }
14460
- function _iterable_to_array_limit$b(arr, i) {
14731
+ function _iterable_to_array_limit$a(arr, i) {
14461
14732
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14462
14733
  if (_i == null)
14463
14734
  return;
@@ -14485,7 +14756,7 @@
14485
14756
  }
14486
14757
  return _arr;
14487
14758
  }
14488
- function _non_iterable_rest$b() {
14759
+ function _non_iterable_rest$a() {
14489
14760
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14490
14761
  }
14491
14762
  function _object_spread$k(target) {
@@ -14503,8 +14774,8 @@
14503
14774
  }
14504
14775
  return target;
14505
14776
  }
14506
- function ownKeys$i(object, enumerableOnly) {
14507
- var keys = Object.keys(object);
14777
+ function ownKeys$j(object, enumerableOnly) {
14778
+ var keys2 = Object.keys(object);
14508
14779
  if (Object.getOwnPropertySymbols) {
14509
14780
  var symbols = Object.getOwnPropertySymbols(object);
14510
14781
  if (enumerableOnly) {
@@ -14512,40 +14783,40 @@
14512
14783
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
14513
14784
  });
14514
14785
  }
14515
- keys.push.apply(keys, symbols);
14786
+ keys2.push.apply(keys2, symbols);
14516
14787
  }
14517
- return keys;
14788
+ return keys2;
14518
14789
  }
14519
- function _object_spread_props$i(target, source) {
14790
+ function _object_spread_props$j(target, source) {
14520
14791
  source = source != null ? source : {};
14521
14792
  if (Object.getOwnPropertyDescriptors) {
14522
14793
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
14523
14794
  } else {
14524
- ownKeys$i(Object(source)).forEach(function(key) {
14795
+ ownKeys$j(Object(source)).forEach(function(key) {
14525
14796
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
14526
14797
  });
14527
14798
  }
14528
14799
  return target;
14529
14800
  }
14530
- function _sliced_to_array$b(arr, i) {
14531
- return _array_with_holes$b(arr) || _iterable_to_array_limit$b(arr, i) || _unsupported_iterable_to_array$b(arr, i) || _non_iterable_rest$b();
14801
+ function _sliced_to_array$a(arr, i) {
14802
+ return _array_with_holes$a(arr) || _iterable_to_array_limit$a(arr, i) || _unsupported_iterable_to_array$a(arr, i) || _non_iterable_rest$a();
14532
14803
  }
14533
- function _unsupported_iterable_to_array$b(o, minLen) {
14804
+ function _unsupported_iterable_to_array$a(o, minLen) {
14534
14805
  if (!o)
14535
14806
  return;
14536
14807
  if (typeof o === "string")
14537
- return _array_like_to_array$b(o, minLen);
14808
+ return _array_like_to_array$a(o, minLen);
14538
14809
  var n = Object.prototype.toString.call(o).slice(8, -1);
14539
14810
  if (n === "Object" && o.constructor)
14540
14811
  n = o.constructor.name;
14541
14812
  if (n === "Map" || n === "Set")
14542
14813
  return Array.from(n);
14543
14814
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
14544
- return _array_like_to_array$b(o, minLen);
14815
+ return _array_like_to_array$a(o, minLen);
14545
14816
  }
14546
14817
  function FiltersPaneSearch(param) {
14547
- var value = param.value, _param_fields = param.fields, fields = _param_fields === void 0 ? [] : _param_fields, field = param.field, onChange = param.onChange, localeKey = param.localeKey, locale2 = param.locale, getValueId = param.getValueId, getValueView = param.getValueView, getValueString = param.getValueString, _param_selectWidth = param.selectWidth, selectWidth = _param_selectWidth === void 0 ? "100%" : _param_selectWidth, hasClearSelectButton = param.hasClearSelectButton, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isSelectSearchEnabled = param.isSelectSearchEnabled, isSelectSearchEnabled = _param_isSelectSearchEnabled === void 0 ? true : _param_isSelectSearchEnabled, _param_isAutoSizeable = param.isAutoSizeable, isAutoSizeable = _param_isAutoSizeable === void 0 ? true : _param_isAutoSizeable, maxLength = param.maxLength, data = param.data, tweakStyles = param.tweakStyles, testId = param.testId;
14548
- var classes = useStyles$l({
14818
+ var value = param.value, _param_fields = param.fields, fields = _param_fields === void 0 ? [] : _param_fields, field = param.field, onChange = param.onChange, localeKey = param.localeKey, locale2 = param.locale, getValueId = param.getValueId, getValueView = param.getValueView, getValueString = param.getValueString, hasClearSelectButton = param.hasClearSelectButton, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isSelectSearchEnabled = param.isSelectSearchEnabled, isSelectSearchEnabled = _param_isSelectSearchEnabled === void 0 ? true : _param_isSelectSearchEnabled, _param_isAutoSizeable = param.isAutoSizeable, isAutoSizeable = _param_isAutoSizeable === void 0 ? true : _param_isAutoSizeable, maxLength = param.maxLength, data = param.data, tweakStyles = param.tweakStyles, testId = param.testId;
14819
+ var classes = useStyles$m({
14549
14820
  theme: tweakStyles
14550
14821
  });
14551
14822
  var tweakSearchInputStyles = useTweakStyles({
@@ -14560,8 +14831,8 @@
14560
14831
  className: "tweakSelect",
14561
14832
  currentComponentName: "FiltersPaneSearch"
14562
14833
  });
14563
- var _useState = _sliced_to_array$b(React.useState(false), 2), isInputFocused = _useState[0], setIsInputFocused = _useState[1];
14564
- var _useState1 = _sliced_to_array$b(React.useState(false), 2), isOpen = _useState1[0], setIsOpen = _useState1[1];
14834
+ var _useState = _sliced_to_array$a(React.useState(false), 2), isInputFocused = _useState[0], setIsInputFocused = _useState[1];
14835
+ var _useState1 = _sliced_to_array$a(React.useState(false), 2), isOpen = _useState1[0], setIsOpen = _useState1[1];
14565
14836
  var refRoot = React.useRef(null);
14566
14837
  var translates = React.useMemo(function() {
14567
14838
  return getLocale$1(localeKey, locale2);
@@ -14591,7 +14862,7 @@
14591
14862
  field
14592
14863
  ]);
14593
14864
  var _obj;
14594
- return /* @__PURE__ */ jsxs("div", _object_spread_props$i(_object_spread$k({
14865
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$j(_object_spread$k({
14595
14866
  className: clsx(classes.root, (_obj = {}, _define_property$m(_obj, classes.focused, isInputFocused), _define_property$m(_obj, classes.disabled, isDisabled), _obj)),
14596
14867
  ref: refRoot,
14597
14868
  "data-testid": testId
@@ -14647,7 +14918,6 @@
14647
14918
  localeKey,
14648
14919
  locale: translates,
14649
14920
  onChange: handleFieldsChange,
14650
- width: selectWidth,
14651
14921
  isSearchEnabled: isSelectSearchEnabled,
14652
14922
  hasClearButton: hasClearSelectButton,
14653
14923
  testId: testId !== void 0 ? "".concat(testId, "-dropdown") : void 0
@@ -14658,7 +14928,7 @@
14658
14928
  ]
14659
14929
  }));
14660
14930
  }
14661
- var useStyles$k = createThemedStyles("FilterValueView", {
14931
+ var useStyles$l = createThemedStyles("FilterValueView", {
14662
14932
  text: {
14663
14933
  overflow: "hidden",
14664
14934
  textOverflow: "ellipsis",
@@ -14677,7 +14947,7 @@
14677
14947
  }
14678
14948
  function FilterValueView(param) {
14679
14949
  var locale2 = param.locale, localeKey = param.localeKey, filter = param.filter, value = param.value, tweakStyles = param.tweakStyles;
14680
- var classes = useStyles$k({
14950
+ var classes = useStyles$l({
14681
14951
  theme: tweakStyles
14682
14952
  });
14683
14953
  if (value === void 0 || value === null) {
@@ -14828,7 +15098,7 @@
14828
15098
  children: displayValue(value)
14829
15099
  });
14830
15100
  }
14831
- var useStyles$j = createThemedStyles("FilterWrapper", {
15101
+ var useStyles$k = createThemedStyles("FilterWrapper", {
14832
15102
  root: {
14833
15103
  position: "relative",
14834
15104
  transition: "0.25s ease-in-out",
@@ -14943,14 +15213,14 @@
14943
15213
  extend: "animationEnd"
14944
15214
  }
14945
15215
  });
14946
- function _array_like_to_array$a(arr, len) {
15216
+ function _array_like_to_array$9(arr, len) {
14947
15217
  if (len == null || len > arr.length)
14948
15218
  len = arr.length;
14949
15219
  for (var i = 0, arr2 = new Array(len); i < len; i++)
14950
15220
  arr2[i] = arr[i];
14951
15221
  return arr2;
14952
15222
  }
14953
- function _array_with_holes$a(arr) {
15223
+ function _array_with_holes$9(arr) {
14954
15224
  if (Array.isArray(arr))
14955
15225
  return arr;
14956
15226
  }
@@ -14967,7 +15237,7 @@
14967
15237
  }
14968
15238
  return obj;
14969
15239
  }
14970
- function _iterable_to_array_limit$a(arr, i) {
15240
+ function _iterable_to_array_limit$9(arr, i) {
14971
15241
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14972
15242
  if (_i == null)
14973
15243
  return;
@@ -14995,7 +15265,7 @@
14995
15265
  }
14996
15266
  return _arr;
14997
15267
  }
14998
- function _non_iterable_rest$a() {
15268
+ function _non_iterable_rest$9() {
14999
15269
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15000
15270
  }
15001
15271
  function _object_spread$j(target) {
@@ -15013,8 +15283,8 @@
15013
15283
  }
15014
15284
  return target;
15015
15285
  }
15016
- function ownKeys$h(object, enumerableOnly) {
15017
- var keys = Object.keys(object);
15286
+ function ownKeys$i(object, enumerableOnly) {
15287
+ var keys2 = Object.keys(object);
15018
15288
  if (Object.getOwnPropertySymbols) {
15019
15289
  var symbols = Object.getOwnPropertySymbols(object);
15020
15290
  if (enumerableOnly) {
@@ -15022,36 +15292,36 @@
15022
15292
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
15023
15293
  });
15024
15294
  }
15025
- keys.push.apply(keys, symbols);
15295
+ keys2.push.apply(keys2, symbols);
15026
15296
  }
15027
- return keys;
15297
+ return keys2;
15028
15298
  }
15029
- function _object_spread_props$h(target, source) {
15299
+ function _object_spread_props$i(target, source) {
15030
15300
  source = source != null ? source : {};
15031
15301
  if (Object.getOwnPropertyDescriptors) {
15032
15302
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
15033
15303
  } else {
15034
- ownKeys$h(Object(source)).forEach(function(key) {
15304
+ ownKeys$i(Object(source)).forEach(function(key) {
15035
15305
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
15036
15306
  });
15037
15307
  }
15038
15308
  return target;
15039
15309
  }
15040
- function _sliced_to_array$a(arr, i) {
15041
- return _array_with_holes$a(arr) || _iterable_to_array_limit$a(arr, i) || _unsupported_iterable_to_array$a(arr, i) || _non_iterable_rest$a();
15310
+ function _sliced_to_array$9(arr, i) {
15311
+ return _array_with_holes$9(arr) || _iterable_to_array_limit$9(arr, i) || _unsupported_iterable_to_array$9(arr, i) || _non_iterable_rest$9();
15042
15312
  }
15043
- function _unsupported_iterable_to_array$a(o, minLen) {
15313
+ function _unsupported_iterable_to_array$9(o, minLen) {
15044
15314
  if (!o)
15045
15315
  return;
15046
15316
  if (typeof o === "string")
15047
- return _array_like_to_array$a(o, minLen);
15317
+ return _array_like_to_array$9(o, minLen);
15048
15318
  var n = Object.prototype.toString.call(o).slice(8, -1);
15049
15319
  if (n === "Object" && o.constructor)
15050
15320
  n = o.constructor.name;
15051
15321
  if (n === "Map" || n === "Set")
15052
15322
  return Array.from(n);
15053
15323
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
15054
- return _array_like_to_array$a(o, minLen);
15324
+ return _array_like_to_array$9(o, minLen);
15055
15325
  }
15056
15326
  function FilterWrapper(param) {
15057
15327
  var filter = param.filter, value = param.value, isDisabled = param.isDisabled, locale2 = param.locale, localeKey = param.localeKey, data = param.data, testId = param.testId, filtersPaneRef = param.filtersPaneRef, tweakStyles = param.tweakStyles, onChange = param.onChange;
@@ -15061,7 +15331,7 @@
15061
15331
  }
15062
15332
  onChange(v);
15063
15333
  };
15064
- var classes = useStyles$j({
15334
+ var classes = useStyles$k({
15065
15335
  theme: tweakStyles
15066
15336
  });
15067
15337
  var tweakFilterValueViewStyles = useTweakStyles({
@@ -15069,7 +15339,7 @@
15069
15339
  className: "tweakValueView",
15070
15340
  currentComponentName: "FilterWrapper"
15071
15341
  });
15072
- var _useState = _sliced_to_array$a(React.useState(false), 2), isOpen = _useState[0], setIsOpen = _useState[1];
15342
+ var _useState = _sliced_to_array$9(React.useState(false), 2), isOpen = _useState[0], setIsOpen = _useState[1];
15073
15343
  var refItem = React.useRef(null);
15074
15344
  var type = filter.type;
15075
15345
  var hasValue = false;
@@ -15095,7 +15365,7 @@
15095
15365
  };
15096
15366
  var isBoolean = filter.type === "boolean";
15097
15367
  var _obj;
15098
- return !filter.isInline ? /* @__PURE__ */ jsxs("div", _object_spread_props$h(_object_spread$j({
15368
+ return !filter.isInline ? /* @__PURE__ */ jsxs("div", _object_spread_props$i(_object_spread$j({
15099
15369
  className: clsx(classes.root, (_obj = {}, _define_property$l(_obj, classes.noValue, !hasValue), _define_property$l(_obj, classes.openNoValue, isOpen && !hasValue), _define_property$l(_obj, classes.withValue, !isOpen && hasValue), _define_property$l(_obj, classes.openWithValue, isOpen && hasValue), _define_property$l(_obj, classes.boolean, isBoolean), _define_property$l(_obj, classes.disabled, isDisabled), _obj))
15100
15370
  }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
15101
15371
  children: [
@@ -15192,8 +15462,8 @@
15192
15462
  }
15193
15463
  return target;
15194
15464
  }
15195
- function ownKeys$g(object, enumerableOnly) {
15196
- var keys = Object.keys(object);
15465
+ function ownKeys$h(object, enumerableOnly) {
15466
+ var keys2 = Object.keys(object);
15197
15467
  if (Object.getOwnPropertySymbols) {
15198
15468
  var symbols = Object.getOwnPropertySymbols(object);
15199
15469
  if (enumerableOnly) {
@@ -15201,16 +15471,16 @@
15201
15471
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
15202
15472
  });
15203
15473
  }
15204
- keys.push.apply(keys, symbols);
15474
+ keys2.push.apply(keys2, symbols);
15205
15475
  }
15206
- return keys;
15476
+ return keys2;
15207
15477
  }
15208
- function _object_spread_props$g(target, source) {
15478
+ function _object_spread_props$h(target, source) {
15209
15479
  source = source != null ? source : {};
15210
15480
  if (Object.getOwnPropertyDescriptors) {
15211
15481
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
15212
15482
  } else {
15213
- ownKeys$g(Object(source)).forEach(function(key) {
15483
+ ownKeys$h(Object(source)).forEach(function(key) {
15214
15484
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
15215
15485
  });
15216
15486
  }
@@ -15218,7 +15488,7 @@
15218
15488
  }
15219
15489
  function FiltersPane(param) {
15220
15490
  var data = param.data, tweakStyles = param.tweakStyles, filtersConfig = param.filtersConfig, enabledFilters = param.enabledFilters, _param_values = param.values, values = _param_values === void 0 ? {} : _param_values, localeKey = param.localeKey, locale2 = param.locale, search = param.search, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_hasClearButton = param.hasClearButton, hasClearButton = _param_hasClearButton === void 0 ? true : _param_hasClearButton, testId = param.testId, onChangeFilters = param.onChangeFilters, onSettingsButtonClick = param.onSettingsButtonClick, onClear = param.onClear;
15221
- var classes = useStyles$r({
15491
+ var classes = useStyles$s({
15222
15492
  theme: tweakStyles
15223
15493
  });
15224
15494
  var tweakClearButtonStyles = useTweakStyles({
@@ -15261,12 +15531,12 @@
15261
15531
  })
15262
15532
  });
15263
15533
  var _search_localeKey, _search_localeKey1, _search_isDisabled;
15264
- return /* @__PURE__ */ jsxs("div", _object_spread_props$g(_object_spread$i({
15534
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$h(_object_spread$i({
15265
15535
  className: classes.root,
15266
15536
  ref
15267
15537
  }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
15268
15538
  children: [
15269
- onSettingsButtonClick !== void 0 && /* @__PURE__ */ jsx("div", _object_spread_props$g(_object_spread$i({
15539
+ onSettingsButtonClick !== void 0 && /* @__PURE__ */ jsx("div", _object_spread_props$h(_object_spread$i({
15270
15540
  className: classes.settings,
15271
15541
  tabIndex: 0
15272
15542
  }, trueReactPlatformHelpers.addDataTestId(testId, "settings-button")), {
@@ -15278,7 +15548,7 @@
15278
15548
  })
15279
15549
  })
15280
15550
  })),
15281
- search !== void 0 && /* @__PURE__ */ jsx(FiltersPaneSearch, _object_spread_props$g(_object_spread$i({}, search), {
15551
+ search !== void 0 && /* @__PURE__ */ jsx(FiltersPaneSearch, _object_spread_props$h(_object_spread$i({}, search), {
15282
15552
  locale: getLocale$1((_search_localeKey = search.localeKey) !== null && _search_localeKey !== void 0 ? _search_localeKey : localeKey, search.locale, locale2),
15283
15553
  localeKey: (_search_localeKey1 = search.localeKey) !== null && _search_localeKey1 !== void 0 ? _search_localeKey1 : localeKey,
15284
15554
  isDisabled: (_search_isDisabled = search.isDisabled) !== null && _search_isDisabled !== void 0 ? _search_isDisabled : isDisabled,
@@ -15301,7 +15571,7 @@
15301
15571
  locale: locale2,
15302
15572
  localeKey,
15303
15573
  onChange: function(value) {
15304
- return onChangeFilters(_object_spread_props$g(_object_spread$i({}, values), _define_property$k({}, key, value)));
15574
+ return onChangeFilters(_object_spread_props$h(_object_spread$i({}, values), _define_property$k({}, key, value)));
15305
15575
  },
15306
15576
  value: currentValue,
15307
15577
  isDisabled: isDisabled || (filter === null || filter === void 0 ? void 0 : (_filter_requiredFilledFilters = filter.requiredFilledFilters) === null || _filter_requiredFilledFilters === void 0 ? void 0 : _filter_requiredFilledFilters.some(function(item) {
@@ -21431,7 +21701,7 @@
21431
21701
  ZM,
21432
21702
  ZW
21433
21703
  };
21434
- var useStyles$i = createThemedStyles("Flag", {
21704
+ var useStyles$j = createThemedStyles("Flag", {
21435
21705
  root: {
21436
21706
  // приходится хардкодить в компоненте, тк либа Flags выдает флаги с 2-3 пиксельным отступом снизу
21437
21707
  // если будет нужно, то можно вынести border на уровень пропсов
@@ -21449,7 +21719,7 @@
21449
21719
  });
21450
21720
  var Flag = function(param) {
21451
21721
  var _param_countryCode = param.countryCode, countryCode = _param_countryCode === void 0 ? "" : _param_countryCode, tweakStyles = param.tweakStyles;
21452
- var classes = useStyles$i({
21722
+ var classes = useStyles$j({
21453
21723
  theme: tweakStyles
21454
21724
  });
21455
21725
  var CC2 = countryCode.toUpperCase();
@@ -21465,7 +21735,67 @@
21465
21735
  className: classes.root
21466
21736
  });
21467
21737
  };
21738
+ var useStyles$i = createThemedStyles("Skeleton", {
21739
+ root: {
21740
+ display: "flex",
21741
+ width: "100%",
21742
+ height: "100%",
21743
+ backgroundColor: rgba(colors.GREY_DISABLED, 0.8),
21744
+ position: "relative",
21745
+ borderRadius: 4,
21746
+ overflow: "hidden",
21747
+ "-webkit-mask-image": "-webkit-radial-gradient(white, black)",
21748
+ "&::after": {
21749
+ content: '""',
21750
+ animation: "$skeleton 1.6s linear 0.5s infinite",
21751
+ background: "linear-gradient(90deg, transparent, ".concat(rgba(colors.GREY_BACKGROUND, 0.65), ", transparent)"),
21752
+ position: "absolute",
21753
+ transform: "translateX(-100%)",
21754
+ bottom: 0,
21755
+ left: 0,
21756
+ right: 0,
21757
+ top: 0
21758
+ }
21759
+ },
21760
+ "@keyframes skeleton": {
21761
+ "0%": {
21762
+ transform: "translateX(-100%)"
21763
+ },
21764
+ "50%": {
21765
+ transform: "translateX(100%)"
21766
+ },
21767
+ "100%": {
21768
+ transform: "translateX(100%)"
21769
+ }
21770
+ }
21771
+ });
21772
+ var Skeleton = function(param) {
21773
+ var height = param.height, tweakStyles = param.tweakStyles;
21774
+ var classes = useStyles$i({
21775
+ theme: tweakStyles
21776
+ });
21777
+ return /* @__PURE__ */ jsx("div", {
21778
+ className: classes.root,
21779
+ style: {
21780
+ height
21781
+ }
21782
+ });
21783
+ };
21468
21784
  var DEFAULT_DATE_FORMAT = "dd.MM.yyyy";
21785
+ function _instanceof(left2, right2) {
21786
+ if (right2 != null && typeof Symbol !== "undefined" && right2[Symbol.hasInstance]) {
21787
+ return !!right2[Symbol.hasInstance](left2);
21788
+ } else {
21789
+ return left2 instanceof right2;
21790
+ }
21791
+ }
21792
+ var hasHorizontalScrollBar = function(el) {
21793
+ return trueReactPlatformHelpers.isNotEmpty(el) && el.scrollWidth !== el.clientWidth;
21794
+ };
21795
+ var _config_dateFormat;
21796
+ var formatCellContent = function(value, config) {
21797
+ return _instanceof(value, Date) ? dateFns.format(value, (_config_dateFormat = config === null || config === void 0 ? void 0 : config.dateFormat) !== null && _config_dateFormat !== void 0 ? _config_dateFormat : DEFAULT_DATE_FORMAT) : String(value);
21798
+ };
21469
21799
  var STICKY_SHADOW_PADDING = 12;
21470
21800
  var useStyles$h = createThemedStyles("FlexibleTable", {
21471
21801
  root: {
@@ -21483,14 +21813,6 @@
21483
21813
  */
21484
21814
  maxHeight: "100%"
21485
21815
  },
21486
- horizontallyScrolled: {
21487
- "& $cellSticky": {
21488
- boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21489
- },
21490
- "& $headerSticky::before": {
21491
- boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21492
- }
21493
- },
21494
21816
  loader: {
21495
21817
  position: "sticky",
21496
21818
  left: 0,
@@ -21538,7 +21860,10 @@
21538
21860
  "box-shadow",
21539
21861
  "0.25s",
21540
21862
  "ease-in-out"
21541
- ]
21863
+ ],
21864
+ "[data-scrolled] &": {
21865
+ boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21866
+ }
21542
21867
  },
21543
21868
  "&::after": {
21544
21869
  content: '""',
@@ -21554,6 +21879,13 @@
21554
21879
  },
21555
21880
  headerSecond: {
21556
21881
  paddingLeft: STICKY_SHADOW_PADDING
21882
+ },
21883
+ skeleton: {
21884
+ height: 21,
21885
+ padding: [
21886
+ 14,
21887
+ 7
21888
+ ]
21557
21889
  }
21558
21890
  });
21559
21891
  function _define_property$j(obj, key, value) {
@@ -21584,6 +21916,30 @@
21584
21916
  }
21585
21917
  return target;
21586
21918
  }
21919
+ function ownKeys$g(object, enumerableOnly) {
21920
+ var keys2 = Object.keys(object);
21921
+ if (Object.getOwnPropertySymbols) {
21922
+ var symbols = Object.getOwnPropertySymbols(object);
21923
+ if (enumerableOnly) {
21924
+ symbols = symbols.filter(function(sym) {
21925
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
21926
+ });
21927
+ }
21928
+ keys2.push.apply(keys2, symbols);
21929
+ }
21930
+ return keys2;
21931
+ }
21932
+ function _object_spread_props$g(target, source) {
21933
+ source = source != null ? source : {};
21934
+ if (Object.getOwnPropertyDescriptors) {
21935
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
21936
+ } else {
21937
+ ownKeys$g(Object(source)).forEach(function(key) {
21938
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
21939
+ });
21940
+ }
21941
+ return target;
21942
+ }
21587
21943
  var useStyles$g = createThemedStyles("FlexibleTableCell", {
21588
21944
  root: {
21589
21945
  position: "relative",
@@ -21597,13 +21953,17 @@
21597
21953
  zIndex: 5,
21598
21954
  verticalAlign: "top"
21599
21955
  },
21600
- sticky: _object_spread$h({
21956
+ sticky: _object_spread_props$g(_object_spread$h({
21601
21957
  zIndex: 19,
21602
21958
  paddingLeft: 24,
21603
21959
  paddingRight: 12
21604
21960
  }, trueReactPlatformHelpers.getTransition([
21605
21961
  "box-shadow"
21606
- ])),
21962
+ ])), {
21963
+ "[data-scrolled] &": {
21964
+ boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21965
+ }
21966
+ }),
21607
21967
  second: {
21608
21968
  paddingLeft: STICKY_SHADOW_PADDING
21609
21969
  }
@@ -21621,47 +21981,34 @@
21621
21981
  }
21622
21982
  return obj;
21623
21983
  }
21624
- function _instanceof(left2, right2) {
21625
- if (right2 != null && typeof Symbol !== "undefined" && right2[Symbol.hasInstance]) {
21626
- return !!right2[Symbol.hasInstance](left2);
21627
- } else {
21628
- return left2 instanceof right2;
21629
- }
21630
- }
21631
21984
  function FlexibleTableCell(param) {
21632
21985
  var item = param.item, columnName = param.columnName, config = param.config, isFocusedRow = param.isFocusedRow, isSecond = param.isSecond, isSticky = param.isSticky, isNestedComponentExpanded = param.isNestedComponentExpanded, isRowNestedComponentExpanded = param.isRowNestedComponentExpanded, tweakStyles = param.tweakStyles, onSetNestedComponent = param.onSetNestedComponent;
21633
21986
  var classes = useStyles$g({
21634
21987
  theme: tweakStyles
21635
21988
  });
21636
- var itemConfig = config === null || config === void 0 ? void 0 : config[columnName];
21989
+ var _config_columnName;
21990
+ var _ref = (_config_columnName = config[columnName]) !== null && _config_columnName !== void 0 ? _config_columnName : {}, component = _ref.component, cellAlign = _ref.cellAlign, position = _ref.position, right2 = _ref.right, left2 = _ref.left, cellVerticalAlign = _ref.cellVerticalAlign;
21637
21991
  var value = item[columnName];
21638
- var content = null;
21639
- if (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.component) {
21640
- var ValueComponent = itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.component;
21641
- content = ValueComponent({
21642
- value,
21643
- row: item,
21644
- isFocusedRow,
21645
- isNestedComponentExpanded,
21646
- isRowNestedComponentExpanded,
21647
- onSetNestedComponent
21648
- });
21649
- } else if (typeof value === "string" || typeof value === "number") {
21650
- content = value;
21651
- } else if (_instanceof(value, Date)) {
21652
- content = dateFns.format(value, (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.dateFormat) || DEFAULT_DATE_FORMAT);
21653
- }
21654
21992
  var _obj;
21655
21993
  return /* @__PURE__ */ jsx("td", {
21656
21994
  className: clsx(classes.root, (_obj = {}, _define_property$i(_obj, classes.sticky, isSticky), _define_property$i(_obj, classes.second, isSecond), _obj)),
21657
21995
  style: {
21658
- textAlign: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.cellAlign,
21659
- position: isSticky ? "sticky" : itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.position,
21660
- right: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.right,
21661
- left: isSticky ? 0 : itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.left,
21662
- verticalAlign: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.cellVerticalAlign
21996
+ textAlign: cellAlign,
21997
+ position: isSticky ? "sticky" : position,
21998
+ right: right2,
21999
+ left: isSticky ? 0 : left2,
22000
+ verticalAlign: cellVerticalAlign
21663
22001
  },
21664
- children: content
22002
+ children: trueReactPlatformHelpers.isNotEmpty(value) && /* @__PURE__ */ jsx(Fragment, {
22003
+ children: trueReactPlatformHelpers.isNotEmpty(component) ? component({
22004
+ value,
22005
+ row: item,
22006
+ isFocusedRow,
22007
+ isNestedComponentExpanded,
22008
+ isRowNestedComponentExpanded,
22009
+ onSetNestedComponent
22010
+ }) : formatCellContent(value, config[columnName])
22011
+ })
21665
22012
  }, columnName);
21666
22013
  }
21667
22014
  var useStyles$f = createThemedStyles("FlexibleTableRow", {
@@ -21671,16 +22018,19 @@
21671
22018
  active: {},
21672
22019
  editable: {
21673
22020
  cursor: "pointer"
22021
+ },
22022
+ clickable: {
22023
+ cursor: "pointer"
21674
22024
  }
21675
22025
  });
21676
- function _array_like_to_array$9(arr, len) {
22026
+ function _array_like_to_array$8(arr, len) {
21677
22027
  if (len == null || len > arr.length)
21678
22028
  len = arr.length;
21679
22029
  for (var i = 0, arr2 = new Array(len); i < len; i++)
21680
22030
  arr2[i] = arr[i];
21681
22031
  return arr2;
21682
22032
  }
21683
- function _array_with_holes$9(arr) {
22033
+ function _array_with_holes$8(arr) {
21684
22034
  if (Array.isArray(arr))
21685
22035
  return arr;
21686
22036
  }
@@ -21697,7 +22047,7 @@
21697
22047
  }
21698
22048
  return obj;
21699
22049
  }
21700
- function _iterable_to_array_limit$9(arr, i) {
22050
+ function _iterable_to_array_limit$8(arr, i) {
21701
22051
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
21702
22052
  if (_i == null)
21703
22053
  return;
@@ -21725,7 +22075,7 @@
21725
22075
  }
21726
22076
  return _arr;
21727
22077
  }
21728
- function _non_iterable_rest$9() {
22078
+ function _non_iterable_rest$8() {
21729
22079
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
21730
22080
  }
21731
22081
  function _object_spread$g(target) {
@@ -21744,7 +22094,7 @@
21744
22094
  return target;
21745
22095
  }
21746
22096
  function ownKeys$f(object, enumerableOnly) {
21747
- var keys = Object.keys(object);
22097
+ var keys2 = Object.keys(object);
21748
22098
  if (Object.getOwnPropertySymbols) {
21749
22099
  var symbols = Object.getOwnPropertySymbols(object);
21750
22100
  if (enumerableOnly) {
@@ -21752,9 +22102,9 @@
21752
22102
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
21753
22103
  });
21754
22104
  }
21755
- keys.push.apply(keys, symbols);
22105
+ keys2.push.apply(keys2, symbols);
21756
22106
  }
21757
- return keys;
22107
+ return keys2;
21758
22108
  }
21759
22109
  function _object_spread_props$f(target, source) {
21760
22110
  source = source != null ? source : {};
@@ -21767,21 +22117,21 @@
21767
22117
  }
21768
22118
  return target;
21769
22119
  }
21770
- function _sliced_to_array$9(arr, i) {
21771
- return _array_with_holes$9(arr) || _iterable_to_array_limit$9(arr, i) || _unsupported_iterable_to_array$9(arr, i) || _non_iterable_rest$9();
22120
+ function _sliced_to_array$8(arr, i) {
22121
+ return _array_with_holes$8(arr) || _iterable_to_array_limit$8(arr, i) || _unsupported_iterable_to_array$8(arr, i) || _non_iterable_rest$8();
21772
22122
  }
21773
- function _unsupported_iterable_to_array$9(o, minLen) {
22123
+ function _unsupported_iterable_to_array$8(o, minLen) {
21774
22124
  if (!o)
21775
22125
  return;
21776
22126
  if (typeof o === "string")
21777
- return _array_like_to_array$9(o, minLen);
22127
+ return _array_like_to_array$8(o, minLen);
21778
22128
  var n = Object.prototype.toString.call(o).slice(8, -1);
21779
22129
  if (n === "Object" && o.constructor)
21780
22130
  n = o.constructor.name;
21781
22131
  if (n === "Map" || n === "Set")
21782
22132
  return Array.from(n);
21783
22133
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
21784
- return _array_like_to_array$9(o, minLen);
22134
+ return _array_like_to_array$8(o, minLen);
21785
22135
  }
21786
22136
  function FlexibleTableRowInner(param) {
21787
22137
  var item = param.item, uniqueField = param.uniqueField, isFirstColumnSticky = param.isFirstColumnSticky, isActive = param.isActive, config = param.config, enabledColumns = param.enabledColumns, rowAttributes = param.rowAttributes, tweakStyles = param.tweakStyles, expandableRowComponent = param.expandableRowComponent, onRowHover = param.onRowHover, onRowClick = param.onRowClick;
@@ -21793,8 +22143,8 @@
21793
22143
  className: "tweakTableCell",
21794
22144
  currentComponentName: "FlexibleTableRow"
21795
22145
  });
21796
- var _useState = _sliced_to_array$9(React.useState(false), 2), isFocused = _useState[0], setFocused = _useState[1];
21797
- var _useState1 = _sliced_to_array$9(React.useState({
22146
+ var _useState = _sliced_to_array$8(React.useState(false), 2), isFocused = _useState[0], setFocused = _useState[1];
22147
+ var _useState1 = _sliced_to_array$8(React.useState({
21798
22148
  isOpen: false
21799
22149
  }), 2), nestedComponent = _useState1[0], setNestedComponent = _useState1[1];
21800
22150
  var rowData = rowAttributes === null || rowAttributes === void 0 ? void 0 : rowAttributes.reduce(function(acc, cur) {
@@ -21828,7 +22178,7 @@
21828
22178
  if (uniqueField !== void 0) {
21829
22179
  onRowClick === null || onRowClick === void 0 ? void 0 : onRowClick(item[uniqueField]);
21830
22180
  }
21831
- if (expandableRowComponent !== void 0) {
22181
+ if (trueReactPlatformHelpers.isNotEmpty(expandableRowComponent)) {
21832
22182
  var newNestedComponent = expandableRowComponent(item, true, closeNestedComponent);
21833
22183
  if (!nestedComponent.isOpen && newNestedComponent !== null) {
21834
22184
  updateNestedComponent(newNestedComponent);
@@ -21840,11 +22190,12 @@
21840
22190
  }
21841
22191
  }
21842
22192
  };
21843
- var items = enabledColumns !== null && enabledColumns !== void 0 ? enabledColumns : Object.keys(item);
22193
+ var items = enabledColumns !== null && enabledColumns !== void 0 ? enabledColumns : Object.keys(config);
22194
+ var _obj;
21844
22195
  return /* @__PURE__ */ jsxs(Fragment, {
21845
22196
  children: [
21846
22197
  /* @__PURE__ */ jsx("tr", _object_spread_props$f(_object_spread$g({
21847
- className: clsx(classes.root, isActive && classes.active, (onRowClick !== void 0 || onRowHover !== void 0) && classes.editable),
22198
+ className: clsx(classes.root, (_obj = {}, _define_property$h(_obj, classes.active, isActive), _define_property$h(_obj, classes.editable, trueReactPlatformHelpers.isNotEmpty(onRowClick) || trueReactPlatformHelpers.isNotEmpty(onRowHover)), _define_property$h(_obj, classes.clickable, trueReactPlatformHelpers.isNotEmpty(onRowClick) || trueReactPlatformHelpers.isNotEmpty(expandableRowComponent)), _obj)),
21848
22199
  onMouseEnter: function(e) {
21849
22200
  if (uniqueField !== void 0 && onRowHover !== void 0) {
21850
22201
  e.stopPropagation();
@@ -21857,11 +22208,11 @@
21857
22208
  }, addDataAttributes(_object_spread_props$f(_object_spread$g({}, rowData), {
21858
22209
  isExpandableComponentActive: nestedComponent.isOpen ? true : void 0
21859
22210
  }))), {
21860
- children: items.map(function(key, idx) {
22211
+ children: items.map(function(key, i) {
21861
22212
  return /* @__PURE__ */ jsx(FlexibleTableCell, {
21862
22213
  columnName: key,
21863
- isSticky: isFirstColumnSticky && idx === 0,
21864
- isSecond: isFirstColumnSticky && idx === 1,
22214
+ isSticky: isFirstColumnSticky && i === 0,
22215
+ isSecond: isFirstColumnSticky && i === 1,
21865
22216
  item,
21866
22217
  config,
21867
22218
  tweakStyles: tweakTableCellStyles,
@@ -21885,17 +22236,6 @@
21885
22236
  });
21886
22237
  }
21887
22238
  var FlexibleTableRow = /* @__PURE__ */ React.memo(FlexibleTableRowInner);
21888
- function _array_like_to_array$8(arr, len) {
21889
- if (len == null || len > arr.length)
21890
- len = arr.length;
21891
- for (var i = 0, arr2 = new Array(len); i < len; i++)
21892
- arr2[i] = arr[i];
21893
- return arr2;
21894
- }
21895
- function _array_with_holes$8(arr) {
21896
- if (Array.isArray(arr))
21897
- return arr;
21898
- }
21899
22239
  function _define_property$g(obj, key, value) {
21900
22240
  if (key in obj) {
21901
22241
  Object.defineProperty(obj, key, {
@@ -21909,37 +22249,6 @@
21909
22249
  }
21910
22250
  return obj;
21911
22251
  }
21912
- function _iterable_to_array_limit$8(arr, i) {
21913
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
21914
- if (_i == null)
21915
- return;
21916
- var _arr = [];
21917
- var _n = true;
21918
- var _d = false;
21919
- var _s, _e;
21920
- try {
21921
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
21922
- _arr.push(_s.value);
21923
- if (i && _arr.length === i)
21924
- break;
21925
- }
21926
- } catch (err) {
21927
- _d = true;
21928
- _e = err;
21929
- } finally {
21930
- try {
21931
- if (!_n && _i["return"] != null)
21932
- _i["return"]();
21933
- } finally {
21934
- if (_d)
21935
- throw _e;
21936
- }
21937
- }
21938
- return _arr;
21939
- }
21940
- function _non_iterable_rest$8() {
21941
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
21942
- }
21943
22252
  function _object_spread$f(target) {
21944
22253
  for (var i = 1; i < arguments.length; i++) {
21945
22254
  var source = arguments[i] != null ? arguments[i] : {};
@@ -21956,7 +22265,7 @@
21956
22265
  return target;
21957
22266
  }
21958
22267
  function ownKeys$e(object, enumerableOnly) {
21959
- var keys = Object.keys(object);
22268
+ var keys2 = Object.keys(object);
21960
22269
  if (Object.getOwnPropertySymbols) {
21961
22270
  var symbols = Object.getOwnPropertySymbols(object);
21962
22271
  if (enumerableOnly) {
@@ -21964,9 +22273,9 @@
21964
22273
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
21965
22274
  });
21966
22275
  }
21967
- keys.push.apply(keys, symbols);
22276
+ keys2.push.apply(keys2, symbols);
21968
22277
  }
21969
- return keys;
22278
+ return keys2;
21970
22279
  }
21971
22280
  function _object_spread_props$e(target, source) {
21972
22281
  source = source != null ? source : {};
@@ -21979,24 +22288,8 @@
21979
22288
  }
21980
22289
  return target;
21981
22290
  }
21982
- function _sliced_to_array$8(arr, i) {
21983
- return _array_with_holes$8(arr) || _iterable_to_array_limit$8(arr, i) || _unsupported_iterable_to_array$8(arr, i) || _non_iterable_rest$8();
21984
- }
21985
- function _unsupported_iterable_to_array$8(o, minLen) {
21986
- if (!o)
21987
- return;
21988
- if (typeof o === "string")
21989
- return _array_like_to_array$8(o, minLen);
21990
- var n = Object.prototype.toString.call(o).slice(8, -1);
21991
- if (n === "Object" && o.constructor)
21992
- n = o.constructor.name;
21993
- if (n === "Map" || n === "Set")
21994
- return Array.from(n);
21995
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
21996
- return _array_like_to_array$8(o, minLen);
21997
- }
21998
22291
  function FlexibleTable(param) {
21999
- var data = param.data, tweakStyles = param.tweakStyles, content = param.content, headerContent = param.headerContent, config = param.config, activeRows = param.activeRows, enabledColumns = param.enabledColumns, isHorizontallyScrollable = param.isHorizontallyScrollable, isFirstColumnSticky = param.isFirstColumnSticky, infinityScrollConfig = param.infinityScrollConfig, uniqueField = param.uniqueField, onHeadClick = param.onHeadClick, onRowHover = param.onRowHover, onRowClick = param.onRowClick, refForScroll = param.refForScroll, rowAttributes = param.rowAttributes, nothingFoundContent = param.nothingFoundContent, testId = param.testId, expandableRowComponent = param.expandableRowComponent;
22292
+ var data = param.data, tweakStyles = param.tweakStyles, content = param.content, headerContent = param.headerContent, config = param.config, activeRows = param.activeRows, enabledColumns = param.enabledColumns, isHorizontallyScrollable = param.isHorizontallyScrollable, isFirstColumnSticky = param.isFirstColumnSticky, infinityScrollConfig = param.infinityScrollConfig, uniqueField = param.uniqueField, isLoading = param.isLoading, onHeadClick = param.onHeadClick, onRowHover = param.onRowHover, onRowClick = param.onRowClick, refForScroll = param.refForScroll, rowAttributes = param.rowAttributes, nothingFoundContent = param.nothingFoundContent, testId = param.testId, expandableRowComponent = param.expandableRowComponent;
22000
22293
  var classes = useStyles$h({
22001
22294
  theme: tweakStyles
22002
22295
  });
@@ -22005,9 +22298,39 @@
22005
22298
  className: "tweakTableRow",
22006
22299
  currentComponentName: "FlexibleTable"
22007
22300
  });
22008
- var _useState = _sliced_to_array$8(React.useState(false), 2), isHorizontallyScrolled = _useState[0], setIsHorizontallyScrolled = _useState[1];
22009
22301
  var observer = React.useRef();
22010
22302
  var scrollRef = React.useRef(null);
22303
+ var showedColumns = React.useMemo(function() {
22304
+ return enabledColumns !== null && enabledColumns !== void 0 ? enabledColumns : Object.keys(config);
22305
+ }, [
22306
+ enabledColumns,
22307
+ config
22308
+ ]);
22309
+ var getDataScrollAttributeSetter = React.useCallback(function(key, setter) {
22310
+ return function(el) {
22311
+ if (isHorizontallyScrollable && trueReactPlatformHelpers.isNotEmpty(el) && setter(el)) {
22312
+ el.dataset[key] = "true";
22313
+ } else {
22314
+ el === null || el === void 0 ? void 0 : el.removeAttribute("data-".concat(key));
22315
+ }
22316
+ };
22317
+ }, [
22318
+ isHorizontallyScrollable
22319
+ ]);
22320
+ var setHasScrollBarAttribute = React.useCallback(getDataScrollAttributeSetter("scrollable", hasHorizontalScrollBar), [
22321
+ getDataScrollAttributeSetter
22322
+ ]);
22323
+ var setIsScrolledAttribute = React.useCallback(getDataScrollAttributeSetter("scrolled", function(el) {
22324
+ return el.scrollLeft > 0;
22325
+ }), [
22326
+ getDataScrollAttributeSetter
22327
+ ]);
22328
+ var ref = useMergedRefs([
22329
+ refForScroll,
22330
+ scrollRef,
22331
+ setHasScrollBarAttribute,
22332
+ setIsScrolledAttribute
22333
+ ]);
22011
22334
  var initIntersectionObserver = React.useCallback(function(node) {
22012
22335
  if (infinityScrollConfig) {
22013
22336
  if (infinityScrollConfig.isLoading || infinityScrollConfig.activePage >= infinityScrollConfig.totalPages) {
@@ -22031,33 +22354,39 @@
22031
22354
  infinityScrollConfig === null || infinityScrollConfig === void 0 ? void 0 : infinityScrollConfig.onInfinityScroll
22032
22355
  ]);
22033
22356
  React.useEffect(function() {
22034
- var scrollContainer = (refForScroll !== null && refForScroll !== void 0 ? refForScroll : scrollRef).current;
22035
- if (scrollContainer === null || !isHorizontallyScrollable || !isFirstColumnSticky) {
22357
+ var scrollContainer = scrollRef.current;
22358
+ if (trueReactPlatformHelpers.isEmpty(scrollContainer) || !isHorizontallyScrollable) {
22036
22359
  return;
22037
22360
  }
22038
- var scrollHandler = function(e) {
22039
- setIsHorizontallyScrolled(e.target.scrollLeft > 0);
22361
+ var scrollHandler = function() {
22362
+ setIsScrolledAttribute(scrollContainer);
22363
+ };
22364
+ var resizeHandler = function() {
22365
+ setHasScrollBarAttribute(scrollContainer);
22040
22366
  };
22041
22367
  scrollContainer.addEventListener("scroll", scrollHandler);
22368
+ window.addEventListener("resize", resizeHandler);
22042
22369
  return function() {
22043
- return scrollContainer.removeEventListener("scroll", scrollHandler);
22370
+ scrollContainer.removeEventListener("scroll", scrollHandler);
22371
+ window.removeEventListener("resize", resizeHandler);
22044
22372
  };
22045
22373
  }, [
22046
- scrollRef
22374
+ scrollRef,
22375
+ setIsScrolledAttribute,
22376
+ setHasScrollBarAttribute
22047
22377
  ]);
22048
22378
  var _activeRows_includes;
22049
22379
  return /* @__PURE__ */ jsx("div", {
22050
- ref: refForScroll !== null && refForScroll !== void 0 ? refForScroll : scrollRef,
22051
- className: clsx(isHorizontallyScrollable && classes.scroll, isHorizontallyScrolled && classes.horizontallyScrolled),
22380
+ ref,
22381
+ className: clsx(_define_property$g({}, classes.scroll, isHorizontallyScrollable)),
22052
22382
  children: /* @__PURE__ */ jsxs("table", _object_spread_props$e(_object_spread$f({
22053
- className: classes.root,
22054
- "data-testid": testId
22055
- }, addDataAttributes(data)), {
22383
+ className: classes.root
22384
+ }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
22056
22385
  children: [
22057
22386
  /* @__PURE__ */ jsx("thead", {
22058
22387
  children: /* @__PURE__ */ jsx("tr", {
22059
22388
  className: classes.headerRow,
22060
- children: (enabledColumns || Object.keys(content[0])).map(function(key, idx) {
22389
+ children: showedColumns.map(function(key, i) {
22061
22390
  var itemConfig = config === null || config === void 0 ? void 0 : config[key];
22062
22391
  var _itemConfig_title;
22063
22392
  var titleContent = (_itemConfig_title = itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.title) !== null && _itemConfig_title !== void 0 ? _itemConfig_title : "";
@@ -22068,8 +22397,9 @@
22068
22397
  });
22069
22398
  }
22070
22399
  var _itemConfig_titleAlign;
22400
+ var _obj;
22071
22401
  return /* @__PURE__ */ jsx("th", {
22072
- className: clsx(classes.header, isFirstColumnSticky && idx === 0 && classes.headerSticky, isFirstColumnSticky && idx === 1 && classes.headerSecond),
22402
+ className: clsx(classes.header, (_obj = {}, _define_property$g(_obj, classes.headerSticky, isFirstColumnSticky && i === 0), _define_property$g(_obj, classes.headerSecond, isFirstColumnSticky && i === 1), _obj)),
22073
22403
  style: {
22074
22404
  minWidth: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.minWidth,
22075
22405
  width: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.width,
@@ -22084,42 +22414,53 @@
22084
22414
  })
22085
22415
  })
22086
22416
  }),
22087
- /* @__PURE__ */ jsxs("tbody", {
22088
- children: [
22089
- content.length === 0 && nothingFoundContent !== void 0 && !(infinityScrollConfig === null || infinityScrollConfig === void 0 ? void 0 : infinityScrollConfig.isLoading) && ((infinityScrollConfig === null || infinityScrollConfig === void 0 ? void 0 : infinityScrollConfig.isLastPage) === void 0 || infinityScrollConfig.isLastPage) && /* @__PURE__ */ jsx("tr", {
22090
- children: /* @__PURE__ */ jsx("td", {
22091
- colSpan: (enabledColumns || Object.keys(content[0])).length,
22092
- children: nothingFoundContent
22417
+ /* @__PURE__ */ jsx("tbody", {
22418
+ children: isLoading ? trueReactPlatformHelpers.indexMap(6, function(i) {
22419
+ return /* @__PURE__ */ jsx("tr", {
22420
+ children: showedColumns.map(function(_, j) {
22421
+ return /* @__PURE__ */ jsx("td", {
22422
+ className: classes.skeleton,
22423
+ children: /* @__PURE__ */ jsx(Skeleton, {})
22424
+ }, j);
22093
22425
  })
22094
- }),
22095
- content.map(function(item, idx) {
22096
- return jsx(FlexibleTableRow, {
22097
- item,
22098
- uniqueField,
22099
- isActive: (_activeRows_includes = activeRows === null || activeRows === void 0 ? void 0 : activeRows.includes(idx)) !== null && _activeRows_includes !== void 0 ? _activeRows_includes : false,
22100
- isFirstColumnSticky,
22101
- onRowClick,
22102
- onRowHover,
22103
- enabledColumns,
22104
- config,
22105
- rowAttributes,
22106
- tweakStyles: tweakTableRowStyles,
22107
- expandableRowComponent
22108
- }, uniqueField ? item[uniqueField] : idx);
22109
- }),
22110
- infinityScrollConfig !== void 0 && !infinityScrollConfig.isLastPage && /* @__PURE__ */ jsx("tr", {
22111
- children: /* @__PURE__ */ jsx("td", {
22112
- colSpan: (enabledColumns || Object.keys(content[0])).length,
22113
- children: /* @__PURE__ */ jsx("div", {
22114
- ref: initIntersectionObserver,
22115
- className: classes.loader,
22116
- children: /* @__PURE__ */ jsx(ThemedPreloader, {
22117
- type: "dots"
22426
+ }, i);
22427
+ }) : /* @__PURE__ */ jsxs(Fragment, {
22428
+ children: [
22429
+ !trueReactPlatformHelpers.isArrayNotEmpty(content) && nothingFoundContent !== void 0 && !(infinityScrollConfig === null || infinityScrollConfig === void 0 ? void 0 : infinityScrollConfig.isLoading) && ((infinityScrollConfig === null || infinityScrollConfig === void 0 ? void 0 : infinityScrollConfig.isLastPage) === void 0 || infinityScrollConfig.isLastPage) && /* @__PURE__ */ jsx("tr", {
22430
+ children: /* @__PURE__ */ jsx("td", {
22431
+ colSpan: showedColumns.length,
22432
+ children: nothingFoundContent
22433
+ })
22434
+ }),
22435
+ content.map(function(item, i) {
22436
+ return jsx(FlexibleTableRow, {
22437
+ item,
22438
+ uniqueField,
22439
+ isActive: (_activeRows_includes = activeRows === null || activeRows === void 0 ? void 0 : activeRows.includes(i)) !== null && _activeRows_includes !== void 0 ? _activeRows_includes : false,
22440
+ isFirstColumnSticky,
22441
+ onRowClick,
22442
+ onRowHover,
22443
+ enabledColumns,
22444
+ config,
22445
+ rowAttributes,
22446
+ tweakStyles: tweakTableRowStyles,
22447
+ expandableRowComponent
22448
+ }, trueReactPlatformHelpers.isNotEmpty(uniqueField) ? item[uniqueField] : i);
22449
+ }),
22450
+ infinityScrollConfig !== void 0 && !infinityScrollConfig.isLastPage && /* @__PURE__ */ jsx("tr", {
22451
+ children: /* @__PURE__ */ jsx("td", {
22452
+ colSpan: showedColumns.length,
22453
+ children: /* @__PURE__ */ jsx("div", {
22454
+ ref: initIntersectionObserver,
22455
+ className: classes.loader,
22456
+ children: /* @__PURE__ */ jsx(ThemedPreloader, {
22457
+ type: "dots"
22458
+ })
22118
22459
  })
22119
22460
  })
22120
22461
  })
22121
- })
22122
- ]
22462
+ ]
22463
+ })
22123
22464
  })
22124
22465
  ]
22125
22466
  }))
@@ -22218,7 +22559,7 @@
22218
22559
  return target;
22219
22560
  }
22220
22561
  function ownKeys$d(object, enumerableOnly) {
22221
- var keys = Object.keys(object);
22562
+ var keys2 = Object.keys(object);
22222
22563
  if (Object.getOwnPropertySymbols) {
22223
22564
  var symbols = Object.getOwnPropertySymbols(object);
22224
22565
  if (enumerableOnly) {
@@ -22226,9 +22567,9 @@
22226
22567
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
22227
22568
  });
22228
22569
  }
22229
- keys.push.apply(keys, symbols);
22570
+ keys2.push.apply(keys2, symbols);
22230
22571
  }
22231
- return keys;
22572
+ return keys2;
22232
22573
  }
22233
22574
  function _object_spread_props$d(target, source) {
22234
22575
  source = source != null ? source : {};
@@ -22687,7 +23028,7 @@
22687
23028
  return target;
22688
23029
  }
22689
23030
  function ownKeys$c(object, enumerableOnly) {
22690
- var keys = Object.keys(object);
23031
+ var keys2 = Object.keys(object);
22691
23032
  if (Object.getOwnPropertySymbols) {
22692
23033
  var symbols = Object.getOwnPropertySymbols(object);
22693
23034
  if (enumerableOnly) {
@@ -22695,9 +23036,9 @@
22695
23036
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
22696
23037
  });
22697
23038
  }
22698
- keys.push.apply(keys, symbols);
23039
+ keys2.push.apply(keys2, symbols);
22699
23040
  }
22700
- return keys;
23041
+ return keys2;
22701
23042
  }
22702
23043
  function _object_spread_props$c(target, source) {
22703
23044
  source = source != null ? source : {};
@@ -23017,7 +23358,7 @@
23017
23358
  return target;
23018
23359
  }
23019
23360
  function ownKeys$b(object, enumerableOnly) {
23020
- var keys = Object.keys(object);
23361
+ var keys2 = Object.keys(object);
23021
23362
  if (Object.getOwnPropertySymbols) {
23022
23363
  var symbols = Object.getOwnPropertySymbols(object);
23023
23364
  if (enumerableOnly) {
@@ -23025,9 +23366,9 @@
23025
23366
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
23026
23367
  });
23027
23368
  }
23028
- keys.push.apply(keys, symbols);
23369
+ keys2.push.apply(keys2, symbols);
23029
23370
  }
23030
- return keys;
23371
+ return keys2;
23031
23372
  }
23032
23373
  function _object_spread_props$b(target, source) {
23033
23374
  source = source != null ? source : {};
@@ -23342,7 +23683,7 @@
23342
23683
  return target;
23343
23684
  }
23344
23685
  function ownKeys$a(object, enumerableOnly) {
23345
- var keys = Object.keys(object);
23686
+ var keys2 = Object.keys(object);
23346
23687
  if (Object.getOwnPropertySymbols) {
23347
23688
  var symbols = Object.getOwnPropertySymbols(object);
23348
23689
  if (enumerableOnly) {
@@ -23350,9 +23691,9 @@
23350
23691
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
23351
23692
  });
23352
23693
  }
23353
- keys.push.apply(keys, symbols);
23694
+ keys2.push.apply(keys2, symbols);
23354
23695
  }
23355
- return keys;
23696
+ return keys2;
23356
23697
  }
23357
23698
  function _object_spread_props$a(target, source) {
23358
23699
  source = source != null ? source : {};
@@ -23491,7 +23832,7 @@
23491
23832
  return target;
23492
23833
  }
23493
23834
  function ownKeys$9(object, enumerableOnly) {
23494
- var keys = Object.keys(object);
23835
+ var keys2 = Object.keys(object);
23495
23836
  if (Object.getOwnPropertySymbols) {
23496
23837
  var symbols = Object.getOwnPropertySymbols(object);
23497
23838
  if (enumerableOnly) {
@@ -23499,9 +23840,9 @@
23499
23840
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
23500
23841
  });
23501
23842
  }
23502
- keys.push.apply(keys, symbols);
23843
+ keys2.push.apply(keys2, symbols);
23503
23844
  }
23504
- return keys;
23845
+ return keys2;
23505
23846
  }
23506
23847
  function _object_spread_props$9(target, source) {
23507
23848
  source = source != null ? source : {};
@@ -23713,7 +24054,7 @@
23713
24054
  return target;
23714
24055
  }
23715
24056
  function ownKeys$8(object, enumerableOnly) {
23716
- var keys = Object.keys(object);
24057
+ var keys2 = Object.keys(object);
23717
24058
  if (Object.getOwnPropertySymbols) {
23718
24059
  var symbols = Object.getOwnPropertySymbols(object);
23719
24060
  if (enumerableOnly) {
@@ -23721,9 +24062,9 @@
23721
24062
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
23722
24063
  });
23723
24064
  }
23724
- keys.push.apply(keys, symbols);
24065
+ keys2.push.apply(keys2, symbols);
23725
24066
  }
23726
- return keys;
24067
+ return keys2;
23727
24068
  }
23728
24069
  function _object_spread_props$8(target, source) {
23729
24070
  source = source != null ? source : {};
@@ -26951,7 +27292,7 @@
26951
27292
  return target;
26952
27293
  }
26953
27294
  function ownKeys$7(object, enumerableOnly) {
26954
- var keys = Object.keys(object);
27295
+ var keys2 = Object.keys(object);
26955
27296
  if (Object.getOwnPropertySymbols) {
26956
27297
  var symbols = Object.getOwnPropertySymbols(object);
26957
27298
  if (enumerableOnly) {
@@ -26959,9 +27300,9 @@
26959
27300
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
26960
27301
  });
26961
27302
  }
26962
- keys.push.apply(keys, symbols);
27303
+ keys2.push.apply(keys2, symbols);
26963
27304
  }
26964
- return keys;
27305
+ return keys2;
26965
27306
  }
26966
27307
  function _object_spread_props$7(target, source) {
26967
27308
  source = source != null ? source : {};
@@ -27234,7 +27575,7 @@
27234
27575
  return target;
27235
27576
  }
27236
27577
  function ownKeys$6(object, enumerableOnly) {
27237
- var keys = Object.keys(object);
27578
+ var keys2 = Object.keys(object);
27238
27579
  if (Object.getOwnPropertySymbols) {
27239
27580
  var symbols = Object.getOwnPropertySymbols(object);
27240
27581
  if (enumerableOnly) {
@@ -27242,9 +27583,9 @@
27242
27583
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
27243
27584
  });
27244
27585
  }
27245
- keys.push.apply(keys, symbols);
27586
+ keys2.push.apply(keys2, symbols);
27246
27587
  }
27247
- return keys;
27588
+ return keys2;
27248
27589
  }
27249
27590
  function _object_spread_props$6(target, source) {
27250
27591
  source = source != null ? source : {};
@@ -27376,7 +27717,7 @@
27376
27717
  return target;
27377
27718
  }
27378
27719
  function ownKeys$5(object, enumerableOnly) {
27379
- var keys = Object.keys(object);
27720
+ var keys2 = Object.keys(object);
27380
27721
  if (Object.getOwnPropertySymbols) {
27381
27722
  var symbols = Object.getOwnPropertySymbols(object);
27382
27723
  if (enumerableOnly) {
@@ -27384,9 +27725,9 @@
27384
27725
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
27385
27726
  });
27386
27727
  }
27387
- keys.push.apply(keys, symbols);
27728
+ keys2.push.apply(keys2, symbols);
27388
27729
  }
27389
- return keys;
27730
+ return keys2;
27390
27731
  }
27391
27732
  function _object_spread_props$5(target, source) {
27392
27733
  source = source != null ? source : {};
@@ -27400,7 +27741,7 @@
27400
27741
  return target;
27401
27742
  }
27402
27743
  var Switch = function(param) {
27403
- var isDisabled = param.isDisabled, isChecked = param.isChecked, isInvalid = param.isInvalid, value = param.value, children = param.children, _param_labelPosition = param.labelPosition, labelPosition = _param_labelPosition === void 0 ? "right" : _param_labelPosition, _param_color = param.color, color = _param_color === void 0 ? "primary" : _param_color, data = param.data, tweakStyles = param.tweakStyles, testId = param.testId, onChange = param.onChange;
27744
+ var isDisabled = param.isDisabled, _param_isChecked = param.isChecked, isChecked = _param_isChecked === void 0 ? false : _param_isChecked, isInvalid = param.isInvalid, value = param.value, children = param.children, _param_labelPosition = param.labelPosition, labelPosition = _param_labelPosition === void 0 ? "right" : _param_labelPosition, _param_color = param.color, color = _param_color === void 0 ? "primary" : _param_color, data = param.data, tweakStyles = param.tweakStyles, testId = param.testId, onChange = param.onChange;
27404
27745
  var classes = useStyles$5({
27405
27746
  theme: tweakStyles
27406
27747
  });
@@ -27639,7 +27980,7 @@
27639
27980
  return target;
27640
27981
  }
27641
27982
  function ownKeys$4(object, enumerableOnly) {
27642
- var keys = Object.keys(object);
27983
+ var keys2 = Object.keys(object);
27643
27984
  if (Object.getOwnPropertySymbols) {
27644
27985
  var symbols = Object.getOwnPropertySymbols(object);
27645
27986
  if (enumerableOnly) {
@@ -27647,9 +27988,9 @@
27647
27988
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
27648
27989
  });
27649
27990
  }
27650
- keys.push.apply(keys, symbols);
27991
+ keys2.push.apply(keys2, symbols);
27651
27992
  }
27652
- return keys;
27993
+ return keys2;
27653
27994
  }
27654
27995
  function _object_spread_props$4(target, source) {
27655
27996
  source = source != null ? source : {};
@@ -27848,7 +28189,7 @@
27848
28189
  return target;
27849
28190
  }
27850
28191
  function ownKeys$3(object, enumerableOnly) {
27851
- var keys = Object.keys(object);
28192
+ var keys2 = Object.keys(object);
27852
28193
  if (Object.getOwnPropertySymbols) {
27853
28194
  var symbols = Object.getOwnPropertySymbols(object);
27854
28195
  if (enumerableOnly) {
@@ -27856,9 +28197,9 @@
27856
28197
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
27857
28198
  });
27858
28199
  }
27859
- keys.push.apply(keys, symbols);
28200
+ keys2.push.apply(keys2, symbols);
27860
28201
  }
27861
- return keys;
28202
+ return keys2;
27862
28203
  }
27863
28204
  function _object_spread_props$3(target, source) {
27864
28205
  source = source != null ? source : {};
@@ -27975,7 +28316,7 @@
27975
28316
  return target;
27976
28317
  }
27977
28318
  function ownKeys$2(object, enumerableOnly) {
27978
- var keys = Object.keys(object);
28319
+ var keys2 = Object.keys(object);
27979
28320
  if (Object.getOwnPropertySymbols) {
27980
28321
  var symbols = Object.getOwnPropertySymbols(object);
27981
28322
  if (enumerableOnly) {
@@ -27983,9 +28324,9 @@
27983
28324
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
27984
28325
  });
27985
28326
  }
27986
- keys.push.apply(keys, symbols);
28327
+ keys2.push.apply(keys2, symbols);
27987
28328
  }
27988
- return keys;
28329
+ return keys2;
27989
28330
  }
27990
28331
  function _object_spread_props$2(target, source) {
27991
28332
  source = source != null ? source : {};
@@ -28184,7 +28525,7 @@
28184
28525
  return target;
28185
28526
  }
28186
28527
  function ownKeys$1(object, enumerableOnly) {
28187
- var keys = Object.keys(object);
28528
+ var keys2 = Object.keys(object);
28188
28529
  if (Object.getOwnPropertySymbols) {
28189
28530
  var symbols = Object.getOwnPropertySymbols(object);
28190
28531
  if (enumerableOnly) {
@@ -28192,9 +28533,9 @@
28192
28533
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
28193
28534
  });
28194
28535
  }
28195
- keys.push.apply(keys, symbols);
28536
+ keys2.push.apply(keys2, symbols);
28196
28537
  }
28197
- return keys;
28538
+ return keys2;
28198
28539
  }
28199
28540
  function _object_spread_props$1(target, source) {
28200
28541
  source = source != null ? source : {};
@@ -28350,7 +28691,7 @@
28350
28691
  return target;
28351
28692
  }
28352
28693
  function ownKeys(object, enumerableOnly) {
28353
- var keys = Object.keys(object);
28694
+ var keys2 = Object.keys(object);
28354
28695
  if (Object.getOwnPropertySymbols) {
28355
28696
  var symbols = Object.getOwnPropertySymbols(object);
28356
28697
  if (enumerableOnly) {
@@ -28358,9 +28699,9 @@
28358
28699
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
28359
28700
  });
28360
28701
  }
28361
- keys.push.apply(keys, symbols);
28702
+ keys2.push.apply(keys2, symbols);
28362
28703
  }
28363
- return keys;
28704
+ return keys2;
28364
28705
  }
28365
28706
  function _object_spread_props(target, source) {
28366
28707
  source = source != null ? source : {};
@@ -28600,6 +28941,7 @@
28600
28941
  exports2.ScrollIntoViewIfNeeded = ScrollIntoViewIfNeeded;
28601
28942
  exports2.SearchInput = SearchInput;
28602
28943
  exports2.Select = Select;
28944
+ exports2.Skeleton = Skeleton;
28603
28945
  exports2.SmartInput = SmartInput;
28604
28946
  exports2.Switch = Switch;
28605
28947
  exports2.TextArea = TextArea;
@@ -28654,6 +28996,7 @@
28654
28996
  exports2.useDidMountEffect = useDidMountEffect;
28655
28997
  exports2.useDropdown = useDropdown;
28656
28998
  exports2.useIsMounted = useIsMounted;
28999
+ exports2.useMergedRefs = useMergedRefs;
28657
29000
  exports2.useMixedStyles = useMixedStyles;
28658
29001
  exports2.useOnClickOutside = useOnClickOutside;
28659
29002
  exports2.useOnClickOutsideWithRef = useOnClickOutsideWithRef;