@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
@@ -1,6 +1,6 @@
1
1
  import React, { createContext, useRef, useEffect, useCallback, useState, useMemo, useContext, createElement, Fragment as Fragment$1, forwardRef, createRef, PureComponent, useLayoutEffect, memo } from "react";
2
2
  import { createUseStyles } from "react-jss";
3
- import { mergeStyles, isNotEmpty, isArrayNotEmpty, isEmpty, isString, isStringNotEmpty, addDataTestId, getTestId, isReactNodeNotEmpty, getSelectKeyHandler, createFilter, getTransition, isNumberInteger } from "@true-engineering/true-react-platform-helpers";
3
+ import { mergeStyles, isNotEmpty, isArrayNotEmpty, isEmpty, isString, isStringNotEmpty, mergeRefs, addDataTestId, getTestId, isReactNodeNotEmpty, getSelectKeyHandler, createFilter, getTransition, indexMap, isNumberInteger } from "@true-engineering/true-react-platform-helpers";
4
4
  import { CSSTransition } from "react-transition-group";
5
5
  import clsx from "clsx";
6
6
  import InputMask from "react-input-mask";
@@ -839,9 +839,9 @@ function requireReactJsxRuntime_development() {
839
839
  }
840
840
  function validateFragmentProps(fragment) {
841
841
  {
842
- var keys = Object.keys(fragment.props);
843
- for (var i = 0; i < keys.length; i++) {
844
- var key = keys[i];
842
+ var keys2 = Object.keys(fragment.props);
843
+ for (var i = 0; i < keys2.length; i++) {
844
+ var key = keys2[i];
845
845
  if (key !== "children" && key !== "key") {
846
846
  setCurrentlyValidatingElement$1(fragment);
847
847
  error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
@@ -1204,12 +1204,12 @@ var root = freeGlobal$1 || freeSelf || Function("return this")();
1204
1204
  const root$1 = root;
1205
1205
  var Symbol$1 = root$1.Symbol;
1206
1206
  const Symbol$2 = Symbol$1;
1207
- var objectProto$a = Object.prototype;
1208
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
1209
- var nativeObjectToString$1 = objectProto$a.toString;
1207
+ var objectProto$d = Object.prototype;
1208
+ var hasOwnProperty$a = objectProto$d.hasOwnProperty;
1209
+ var nativeObjectToString$1 = objectProto$d.toString;
1210
1210
  var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
1211
1211
  function getRawTag(value) {
1212
- var isOwn = hasOwnProperty$8.call(value, symToStringTag$1), tag = value[symToStringTag$1];
1212
+ var isOwn = hasOwnProperty$a.call(value, symToStringTag$1), tag = value[symToStringTag$1];
1213
1213
  try {
1214
1214
  value[symToStringTag$1] = void 0;
1215
1215
  var unmasked = true;
@@ -1225,8 +1225,8 @@ function getRawTag(value) {
1225
1225
  }
1226
1226
  return result;
1227
1227
  }
1228
- var objectProto$9 = Object.prototype;
1229
- var nativeObjectToString = objectProto$9.toString;
1228
+ var objectProto$c = Object.prototype;
1229
+ var nativeObjectToString = objectProto$c.toString;
1230
1230
  function objectToString(value) {
1231
1231
  return nativeObjectToString.call(value);
1232
1232
  }
@@ -1242,13 +1242,13 @@ function isObject(value) {
1242
1242
  var type = typeof value;
1243
1243
  return value != null && (type == "object" || type == "function");
1244
1244
  }
1245
- var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
1245
+ var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
1246
1246
  function isFunction(value) {
1247
1247
  if (!isObject(value)) {
1248
1248
  return false;
1249
1249
  }
1250
1250
  var tag = baseGetTag(value);
1251
- return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
1251
+ return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
1252
1252
  }
1253
1253
  var coreJsData = root$1["__core-js_shared__"];
1254
1254
  const coreJsData$1 = coreJsData;
@@ -1276,11 +1276,11 @@ function toSource(func) {
1276
1276
  }
1277
1277
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
1278
1278
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
1279
- var funcProto$1 = Function.prototype, objectProto$8 = Object.prototype;
1279
+ var funcProto$1 = Function.prototype, objectProto$b = Object.prototype;
1280
1280
  var funcToString$1 = funcProto$1.toString;
1281
- var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
1281
+ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
1282
1282
  var reIsNative = RegExp(
1283
- "^" + funcToString$1.call(hasOwnProperty$7).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1283
+ "^" + funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1284
1284
  );
1285
1285
  function baseIsNative(value) {
1286
1286
  if (!isObject(value) || isMasked(value)) {
@@ -1310,21 +1310,21 @@ function hashDelete(key) {
1310
1310
  return result;
1311
1311
  }
1312
1312
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
1313
- var objectProto$7 = Object.prototype;
1314
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
1313
+ var objectProto$a = Object.prototype;
1314
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
1315
1315
  function hashGet(key) {
1316
1316
  var data = this.__data__;
1317
1317
  if (nativeCreate$1) {
1318
1318
  var result = data[key];
1319
1319
  return result === HASH_UNDEFINED$1 ? void 0 : result;
1320
1320
  }
1321
- return hasOwnProperty$6.call(data, key) ? data[key] : void 0;
1321
+ return hasOwnProperty$8.call(data, key) ? data[key] : void 0;
1322
1322
  }
1323
- var objectProto$6 = Object.prototype;
1324
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
1323
+ var objectProto$9 = Object.prototype;
1324
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
1325
1325
  function hashHas(key) {
1326
1326
  var data = this.__data__;
1327
- return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$5.call(data, key);
1327
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$7.call(data, key);
1328
1328
  }
1329
1329
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
1330
1330
  function hashSet(key, value) {
@@ -1513,9 +1513,9 @@ function overArg(func, transform) {
1513
1513
  }
1514
1514
  var getPrototype = overArg(Object.getPrototypeOf, Object);
1515
1515
  const getPrototype$1 = getPrototype;
1516
- var objectProto$5 = Object.prototype;
1516
+ var objectProto$8 = Object.prototype;
1517
1517
  function isPrototype(value) {
1518
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$5;
1518
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
1519
1519
  return value === proto;
1520
1520
  }
1521
1521
  function initCloneObject(object) {
@@ -1524,17 +1524,17 @@ function initCloneObject(object) {
1524
1524
  function isObjectLike(value) {
1525
1525
  return value != null && typeof value == "object";
1526
1526
  }
1527
- var argsTag$1 = "[object Arguments]";
1527
+ var argsTag$2 = "[object Arguments]";
1528
1528
  function baseIsArguments(value) {
1529
- return isObjectLike(value) && baseGetTag(value) == argsTag$1;
1529
+ return isObjectLike(value) && baseGetTag(value) == argsTag$2;
1530
1530
  }
1531
- var objectProto$4 = Object.prototype;
1532
- var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
1533
- var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
1531
+ var objectProto$7 = Object.prototype;
1532
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
1533
+ var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
1534
1534
  var isArguments = baseIsArguments(function() {
1535
1535
  return arguments;
1536
1536
  }()) ? baseIsArguments : function(value) {
1537
- return isObjectLike(value) && hasOwnProperty$4.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
1537
+ return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
1538
1538
  };
1539
1539
  const isArguments$1 = isArguments;
1540
1540
  var isArray = Array.isArray;
@@ -1559,27 +1559,27 @@ var Buffer = moduleExports$1 ? root$1.Buffer : void 0;
1559
1559
  var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
1560
1560
  var isBuffer = nativeIsBuffer || stubFalse;
1561
1561
  const isBuffer$1 = isBuffer;
1562
- var objectTag$1 = "[object Object]";
1563
- var funcProto = Function.prototype, objectProto$3 = Object.prototype;
1562
+ var objectTag$3 = "[object Object]";
1563
+ var funcProto = Function.prototype, objectProto$6 = Object.prototype;
1564
1564
  var funcToString = funcProto.toString;
1565
- var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
1565
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
1566
1566
  var objectCtorString = funcToString.call(Object);
1567
1567
  function isPlainObject(value) {
1568
- if (!isObjectLike(value) || baseGetTag(value) != objectTag$1) {
1568
+ if (!isObjectLike(value) || baseGetTag(value) != objectTag$3) {
1569
1569
  return false;
1570
1570
  }
1571
1571
  var proto = getPrototype$1(value);
1572
1572
  if (proto === null) {
1573
1573
  return true;
1574
1574
  }
1575
- var Ctor = hasOwnProperty$3.call(proto, "constructor") && proto.constructor;
1575
+ var Ctor = hasOwnProperty$5.call(proto, "constructor") && proto.constructor;
1576
1576
  return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
1577
1577
  }
1578
- 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]";
1579
- 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]";
1578
+ 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]";
1579
+ 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]";
1580
1580
  var typedArrayTags = {};
1581
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
1582
- 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;
1581
+ 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;
1582
+ 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;
1583
1583
  function baseIsTypedArray(value) {
1584
1584
  return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
1585
1585
  }
@@ -1615,11 +1615,11 @@ function safeGet(object, key) {
1615
1615
  }
1616
1616
  return object[key];
1617
1617
  }
1618
- var objectProto$2 = Object.prototype;
1619
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
1618
+ var objectProto$5 = Object.prototype;
1619
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
1620
1620
  function assignValue(object, key, value) {
1621
1621
  var objValue = object[key];
1622
- if (!(hasOwnProperty$2.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
1622
+ if (!(hasOwnProperty$4.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
1623
1623
  baseAssignValue(object, key, value);
1624
1624
  }
1625
1625
  }
@@ -1655,12 +1655,12 @@ function isIndex(value, length) {
1655
1655
  length = length == null ? MAX_SAFE_INTEGER : length;
1656
1656
  return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
1657
1657
  }
1658
- var objectProto$1 = Object.prototype;
1659
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
1658
+ var objectProto$4 = Object.prototype;
1659
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1660
1660
  function arrayLikeKeys(value, inherited) {
1661
1661
  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;
1662
1662
  for (var key in value) {
1663
- if ((inherited || hasOwnProperty$1.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
1663
+ if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
1664
1664
  (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1665
1665
  isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1666
1666
  isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
@@ -1679,15 +1679,15 @@ function nativeKeysIn(object) {
1679
1679
  }
1680
1680
  return result;
1681
1681
  }
1682
- var objectProto = Object.prototype;
1683
- var hasOwnProperty = objectProto.hasOwnProperty;
1682
+ var objectProto$3 = Object.prototype;
1683
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1684
1684
  function baseKeysIn(object) {
1685
1685
  if (!isObject(object)) {
1686
1686
  return nativeKeysIn(object);
1687
1687
  }
1688
1688
  var isProto = isPrototype(object), result = [];
1689
1689
  for (var key in object) {
1690
- if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) {
1690
+ if (!(key == "constructor" && (isProto || !hasOwnProperty$2.call(object, key)))) {
1691
1691
  result.push(key);
1692
1692
  }
1693
1693
  }
@@ -1888,8 +1888,8 @@ function _object_spread$S(target) {
1888
1888
  }
1889
1889
  return target;
1890
1890
  }
1891
- function ownKeys$G(object, enumerableOnly) {
1892
- var keys = Object.keys(object);
1891
+ function ownKeys$H(object, enumerableOnly) {
1892
+ var keys2 = Object.keys(object);
1893
1893
  if (Object.getOwnPropertySymbols) {
1894
1894
  var symbols = Object.getOwnPropertySymbols(object);
1895
1895
  if (enumerableOnly) {
@@ -1897,16 +1897,16 @@ function ownKeys$G(object, enumerableOnly) {
1897
1897
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
1898
1898
  });
1899
1899
  }
1900
- keys.push.apply(keys, symbols);
1900
+ keys2.push.apply(keys2, symbols);
1901
1901
  }
1902
- return keys;
1902
+ return keys2;
1903
1903
  }
1904
- function _object_spread_props$G(target, source) {
1904
+ function _object_spread_props$H(target, source) {
1905
1905
  source = source != null ? source : {};
1906
1906
  if (Object.getOwnPropertyDescriptors) {
1907
1907
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
1908
1908
  } else {
1909
- ownKeys$G(Object(source)).forEach(function(key) {
1909
+ ownKeys$H(Object(source)).forEach(function(key) {
1910
1910
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
1911
1911
  });
1912
1912
  }
@@ -1960,7 +1960,7 @@ function createThemedStyles() {
1960
1960
  return mergeStyles(styles, 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);
1961
1961
  });
1962
1962
  return function(data) {
1963
- return useStyles2(isNotEmpty(data) ? _object_spread_props$G(_object_spread$S({}, data), {
1963
+ return useStyles2(isNotEmpty(data) ? _object_spread_props$H(_object_spread$S({}, data), {
1964
1964
  theme: cleanStyles(data.theme)
1965
1965
  }) : data);
1966
1966
  };
@@ -1981,7 +1981,7 @@ var minWidthModifier = {
1981
1981
  state.elements.popper.style.minWidth = "".concat(state.elements.reference.offsetWidth, "px");
1982
1982
  }
1983
1983
  };
1984
- function _array_like_to_array$r(arr, len) {
1984
+ function _array_like_to_array$q(arr, len) {
1985
1985
  if (len == null || len > arr.length)
1986
1986
  len = arr.length;
1987
1987
  for (var i = 0, arr2 = new Array(len); i < len; i++)
@@ -1990,7 +1990,7 @@ function _array_like_to_array$r(arr, len) {
1990
1990
  }
1991
1991
  function _array_without_holes$6(arr) {
1992
1992
  if (Array.isArray(arr))
1993
- return _array_like_to_array$r(arr);
1993
+ return _array_like_to_array$q(arr);
1994
1994
  }
1995
1995
  function _iterable_to_array$6(iter) {
1996
1996
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
@@ -2000,20 +2000,20 @@ function _non_iterable_spread$6() {
2000
2000
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2001
2001
  }
2002
2002
  function _to_consumable_array$6(arr) {
2003
- return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$r(arr) || _non_iterable_spread$6();
2003
+ return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$q(arr) || _non_iterable_spread$6();
2004
2004
  }
2005
- function _unsupported_iterable_to_array$r(o, minLen) {
2005
+ function _unsupported_iterable_to_array$q(o, minLen) {
2006
2006
  if (!o)
2007
2007
  return;
2008
2008
  if (typeof o === "string")
2009
- return _array_like_to_array$r(o, minLen);
2009
+ return _array_like_to_array$q(o, minLen);
2010
2010
  var n = Object.prototype.toString.call(o).slice(8, -1);
2011
2011
  if (n === "Object" && o.constructor)
2012
2012
  n = o.constructor.name;
2013
2013
  if (n === "Map" || n === "Set")
2014
2014
  return Array.from(n);
2015
2015
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
2016
- return _array_like_to_array$r(o, minLen);
2016
+ return _array_like_to_array$q(o, minLen);
2017
2017
  }
2018
2018
  var findCountryByCode = function(countryCode) {
2019
2019
  var countriesList = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : phoneInfo;
@@ -2096,18 +2096,18 @@ var getPhoneMask = function(countryCode) {
2096
2096
  }
2097
2097
  return mask;
2098
2098
  };
2099
- function _array_like_to_array$q(arr, len) {
2099
+ function _array_like_to_array$p(arr, len) {
2100
2100
  if (len == null || len > arr.length)
2101
2101
  len = arr.length;
2102
2102
  for (var i = 0, arr2 = new Array(len); i < len; i++)
2103
2103
  arr2[i] = arr[i];
2104
2104
  return arr2;
2105
2105
  }
2106
- function _array_with_holes$p(arr) {
2106
+ function _array_with_holes$o(arr) {
2107
2107
  if (Array.isArray(arr))
2108
2108
  return arr;
2109
2109
  }
2110
- function _iterable_to_array_limit$p(arr, i) {
2110
+ function _iterable_to_array_limit$o(arr, i) {
2111
2111
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
2112
2112
  if (_i == null)
2113
2113
  return;
@@ -2135,24 +2135,24 @@ function _iterable_to_array_limit$p(arr, i) {
2135
2135
  }
2136
2136
  return _arr;
2137
2137
  }
2138
- function _non_iterable_rest$p() {
2138
+ function _non_iterable_rest$o() {
2139
2139
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2140
2140
  }
2141
- function _sliced_to_array$p(arr, i) {
2142
- return _array_with_holes$p(arr) || _iterable_to_array_limit$p(arr, i) || _unsupported_iterable_to_array$q(arr, i) || _non_iterable_rest$p();
2141
+ function _sliced_to_array$o(arr, i) {
2142
+ return _array_with_holes$o(arr) || _iterable_to_array_limit$o(arr, i) || _unsupported_iterable_to_array$p(arr, i) || _non_iterable_rest$o();
2143
2143
  }
2144
- function _unsupported_iterable_to_array$q(o, minLen) {
2144
+ function _unsupported_iterable_to_array$p(o, minLen) {
2145
2145
  if (!o)
2146
2146
  return;
2147
2147
  if (typeof o === "string")
2148
- return _array_like_to_array$q(o, minLen);
2148
+ return _array_like_to_array$p(o, minLen);
2149
2149
  var n = Object.prototype.toString.call(o).slice(8, -1);
2150
2150
  if (n === "Object" && o.constructor)
2151
2151
  n = o.constructor.name;
2152
2152
  if (n === "Map" || n === "Set")
2153
2153
  return Array.from(n);
2154
2154
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
2155
- return _array_like_to_array$q(o, minLen);
2155
+ return _array_like_to_array$p(o, minLen);
2156
2156
  }
2157
2157
  var rgba = hexToRgba;
2158
2158
  var transformToKebab = function(string) {
@@ -2275,7 +2275,7 @@ var trimStringToMaxLength = function(val, maxLength) {
2275
2275
  var addDataAttributes = function() {
2276
2276
  var data = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2277
2277
  return Object.fromEntries(Object.entries(data).map(function(param) {
2278
- var _param = _sliced_to_array$p(param, 2), key = _param[0], value = _param[1];
2278
+ var _param = _sliced_to_array$o(param, 2), key = _param[0], value = _param[1];
2279
2279
  return isString(value) && isStringNotEmpty(value) || isNotEmpty(value) ? [
2280
2280
  "data-".concat(transformToKebab(key)),
2281
2281
  value
@@ -2619,8 +2619,8 @@ function getFreshSideObject() {
2619
2619
  function mergePaddingObject(paddingObject) {
2620
2620
  return Object.assign({}, getFreshSideObject(), paddingObject);
2621
2621
  }
2622
- function expandToHashMap(value, keys) {
2623
- return keys.reduce(function(hashMap, key) {
2622
+ function expandToHashMap(value, keys2) {
2623
+ return keys2.reduce(function(hashMap, key) {
2624
2624
  hashMap[key] = value;
2625
2625
  return hashMap;
2626
2626
  }, {});
@@ -3940,7 +3940,7 @@ function usePopper(referenceElement, popperElement, _temp) {
3940
3940
  }, [enabled, referenceElement, popperElement]);
3941
3941
  return popperState;
3942
3942
  }
3943
- function _array_like_to_array$p(arr, len) {
3943
+ function _array_like_to_array$o(arr, len) {
3944
3944
  if (len == null || len > arr.length)
3945
3945
  len = arr.length;
3946
3946
  for (var i = 0, arr2 = new Array(len); i < len; i++)
@@ -3949,7 +3949,7 @@ function _array_like_to_array$p(arr, len) {
3949
3949
  }
3950
3950
  function _array_without_holes$5(arr) {
3951
3951
  if (Array.isArray(arr))
3952
- return _array_like_to_array$p(arr);
3952
+ return _array_like_to_array$o(arr);
3953
3953
  }
3954
3954
  function _define_property$T(obj, key, value) {
3955
3955
  if (key in obj) {
@@ -3987,20 +3987,20 @@ function _object_spread$R(target) {
3987
3987
  return target;
3988
3988
  }
3989
3989
  function _to_consumable_array$5(arr) {
3990
- return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$p(arr) || _non_iterable_spread$5();
3990
+ return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$o(arr) || _non_iterable_spread$5();
3991
3991
  }
3992
- function _unsupported_iterable_to_array$p(o, minLen) {
3992
+ function _unsupported_iterable_to_array$o(o, minLen) {
3993
3993
  if (!o)
3994
3994
  return;
3995
3995
  if (typeof o === "string")
3996
- return _array_like_to_array$p(o, minLen);
3996
+ return _array_like_to_array$o(o, minLen);
3997
3997
  var n = Object.prototype.toString.call(o).slice(8, -1);
3998
3998
  if (n === "Object" && o.constructor)
3999
3999
  n = o.constructor.name;
4000
4000
  if (n === "Map" || n === "Set")
4001
4001
  return Array.from(n);
4002
4002
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
4003
- return _array_like_to_array$p(o, minLen);
4003
+ return _array_like_to_array$o(o, minLen);
4004
4004
  }
4005
4005
  var useDropdown = function(param) {
4006
4006
  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;
@@ -4106,6 +4106,11 @@ var useMixedStyles = function(baseStyles, tweakStyles) {
4106
4106
  tweakStyles
4107
4107
  ]);
4108
4108
  };
4109
+ var useMergedRefs = function(refs) {
4110
+ return useMemo(function() {
4111
+ return mergeRefs(refs);
4112
+ }, refs);
4113
+ };
4109
4114
  const avatarGreen = ` <svg\r
4110
4115
  width="100%"\r
4111
4116
  height="100%"\r
@@ -5065,8 +5070,8 @@ function _object_spread$P(target) {
5065
5070
  }
5066
5071
  return target;
5067
5072
  }
5068
- function ownKeys$F(object, enumerableOnly) {
5069
- var keys = Object.keys(object);
5073
+ function ownKeys$G(object, enumerableOnly) {
5074
+ var keys2 = Object.keys(object);
5070
5075
  if (Object.getOwnPropertySymbols) {
5071
5076
  var symbols = Object.getOwnPropertySymbols(object);
5072
5077
  if (enumerableOnly) {
@@ -5074,16 +5079,16 @@ function ownKeys$F(object, enumerableOnly) {
5074
5079
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5075
5080
  });
5076
5081
  }
5077
- keys.push.apply(keys, symbols);
5082
+ keys2.push.apply(keys2, symbols);
5078
5083
  }
5079
- return keys;
5084
+ return keys2;
5080
5085
  }
5081
- function _object_spread_props$F(target, source) {
5086
+ function _object_spread_props$G(target, source) {
5082
5087
  source = source != null ? source : {};
5083
5088
  if (Object.getOwnPropertyDescriptors) {
5084
5089
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5085
5090
  } else {
5086
- ownKeys$F(Object(source)).forEach(function(key) {
5091
+ ownKeys$G(Object(source)).forEach(function(key) {
5087
5092
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5088
5093
  });
5089
5094
  }
@@ -5114,19 +5119,19 @@ var IconBoilerplate = function(param) {
5114
5119
  }, path), index);
5115
5120
  }),
5116
5121
  (_icon_rects = icon.rects) === null || _icon_rects === void 0 ? void 0 : _icon_rects.map(function(rect, index) {
5117
- return /* @__PURE__ */ createElement("rect", _object_spread_props$F(_object_spread$P({}, rect), {
5122
+ return /* @__PURE__ */ createElement("rect", _object_spread_props$G(_object_spread$P({}, rect), {
5118
5123
  key: index
5119
5124
  }));
5120
5125
  }),
5121
5126
  (_icon_circles = icon.circles) === null || _icon_circles === void 0 ? void 0 : _icon_circles.map(function(circle, index) {
5122
- return /* @__PURE__ */ createElement("circle", _object_spread_props$F(_object_spread$P({}, circle), {
5127
+ return /* @__PURE__ */ createElement("circle", _object_spread_props$G(_object_spread$P({}, circle), {
5123
5128
  key: index
5124
5129
  }));
5125
5130
  })
5126
5131
  ]
5127
5132
  });
5128
5133
  };
5129
- var useStyles$L = createThemedStyles("Icon", {
5134
+ var useStyles$M = createThemedStyles("Icon", {
5130
5135
  root: {
5131
5136
  display: "flex",
5132
5137
  alignItems: "center"
@@ -5160,8 +5165,8 @@ function _object_spread$O(target) {
5160
5165
  }
5161
5166
  return target;
5162
5167
  }
5163
- function ownKeys$E(object, enumerableOnly) {
5164
- var keys = Object.keys(object);
5168
+ function ownKeys$F(object, enumerableOnly) {
5169
+ var keys2 = Object.keys(object);
5165
5170
  if (Object.getOwnPropertySymbols) {
5166
5171
  var symbols = Object.getOwnPropertySymbols(object);
5167
5172
  if (enumerableOnly) {
@@ -5169,16 +5174,16 @@ function ownKeys$E(object, enumerableOnly) {
5169
5174
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5170
5175
  });
5171
5176
  }
5172
- keys.push.apply(keys, symbols);
5177
+ keys2.push.apply(keys2, symbols);
5173
5178
  }
5174
- return keys;
5179
+ return keys2;
5175
5180
  }
5176
- function _object_spread_props$E(target, source) {
5181
+ function _object_spread_props$F(target, source) {
5177
5182
  source = source != null ? source : {};
5178
5183
  if (Object.getOwnPropertyDescriptors) {
5179
5184
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5180
5185
  } else {
5181
- ownKeys$E(Object(source)).forEach(function(key) {
5186
+ ownKeys$F(Object(source)).forEach(function(key) {
5182
5187
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5183
5188
  });
5184
5189
  }
@@ -5186,10 +5191,10 @@ function _object_spread_props$E(target, source) {
5186
5191
  }
5187
5192
  var Icon = function(param) {
5188
5193
  var type = param.type, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles;
5189
- var classes = useStyles$L({
5194
+ var classes = useStyles$M({
5190
5195
  theme: tweakStyles
5191
5196
  });
5192
- return /* @__PURE__ */ jsx("div", _object_spread_props$E(_object_spread$O({
5197
+ return /* @__PURE__ */ jsx("div", _object_spread_props$F(_object_spread$O({
5193
5198
  className: classes.root
5194
5199
  }, addDataTestId(testId), addDataAttributes(data)), {
5195
5200
  children: isComplexIcon(type) ? /* @__PURE__ */ jsx(ComplexIconBoilerplate, {
@@ -5207,7 +5212,7 @@ var renderIcon = function(icon) {
5207
5212
  var ITEM_HORIZONTAL_PADDING = 16;
5208
5213
  var ICON_SIZE = 20;
5209
5214
  var ICON_GAP = 12;
5210
- var useStyles$K = createThemedStyles("List", {
5215
+ var useStyles$L = createThemedStyles("List", {
5211
5216
  root: {
5212
5217
  minWidth: 180,
5213
5218
  backgroundColor: colors.CLASSIC_WHITE,
@@ -5278,8 +5283,8 @@ function _object_spread$N(target) {
5278
5283
  }
5279
5284
  return target;
5280
5285
  }
5281
- function ownKeys$D(object, enumerableOnly) {
5282
- var keys = Object.keys(object);
5286
+ function ownKeys$E(object, enumerableOnly) {
5287
+ var keys2 = Object.keys(object);
5283
5288
  if (Object.getOwnPropertySymbols) {
5284
5289
  var symbols = Object.getOwnPropertySymbols(object);
5285
5290
  if (enumerableOnly) {
@@ -5287,16 +5292,16 @@ function ownKeys$D(object, enumerableOnly) {
5287
5292
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5288
5293
  });
5289
5294
  }
5290
- keys.push.apply(keys, symbols);
5295
+ keys2.push.apply(keys2, symbols);
5291
5296
  }
5292
- return keys;
5297
+ return keys2;
5293
5298
  }
5294
- function _object_spread_props$D(target, source) {
5299
+ function _object_spread_props$E(target, source) {
5295
5300
  source = source != null ? source : {};
5296
5301
  if (Object.getOwnPropertyDescriptors) {
5297
5302
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5298
5303
  } else {
5299
- ownKeys$D(Object(source)).forEach(function(key) {
5304
+ ownKeys$E(Object(source)).forEach(function(key) {
5300
5305
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5301
5306
  });
5302
5307
  }
@@ -5304,7 +5309,7 @@ function _object_spread_props$D(target, source) {
5304
5309
  }
5305
5310
  var List = function(param) {
5306
5311
  var items = param.items, testId = param.testId, data = param.data, tweakStyles = param.tweakStyles, onClick = param.onClick;
5307
- var classes = useStyles$K({
5312
+ var classes = useStyles$L({
5308
5313
  theme: tweakStyles
5309
5314
  });
5310
5315
  var handleItemClick = function(item) {
@@ -5312,7 +5317,7 @@ var List = function(param) {
5312
5317
  onClick === null || onClick === void 0 ? void 0 : onClick();
5313
5318
  };
5314
5319
  var _item_testId;
5315
- return /* @__PURE__ */ jsx("div", _object_spread_props$D(_object_spread$N({
5320
+ return /* @__PURE__ */ jsx("div", _object_spread_props$E(_object_spread$N({
5316
5321
  className: classes.root
5317
5322
  }, addDataTestId(testId), addDataAttributes(data)), {
5318
5323
  children: items.map(function(item, idx) {
@@ -5322,7 +5327,7 @@ var List = function(param) {
5322
5327
  item.shouldDrawSpacerAbove && /* @__PURE__ */ jsx("div", {
5323
5328
  className: classes.spacer
5324
5329
  }),
5325
- /* @__PURE__ */ jsxs("div", _object_spread_props$D(_object_spread$N({
5330
+ /* @__PURE__ */ jsxs("div", _object_spread_props$E(_object_spread$N({
5326
5331
  className: clsx(classes.item, (_obj = {}, _define_property$P(_obj, classes.disabledItem, item.disabled), _define_property$P(_obj, classes.withIconGap, item.withIconGap), _obj)),
5327
5332
  onClick: item.disabled ? void 0 : function() {
5328
5333
  return handleItemClick(item);
@@ -5378,7 +5383,7 @@ function _object_spread$M(target) {
5378
5383
  }
5379
5384
  return target;
5380
5385
  }
5381
- var useStyles$J = createThemedStyles("AccountInfo", _object_spread$M({
5386
+ var useStyles$K = createThemedStyles("AccountInfo", _object_spread$M({
5382
5387
  root: {
5383
5388
  display: "flex"
5384
5389
  },
@@ -5420,14 +5425,14 @@ var useStyles$J = createThemedStyles("AccountInfo", _object_spread$M({
5420
5425
  height: 32
5421
5426
  }
5422
5427
  }, animations.slideUp));
5423
- function _array_like_to_array$o(arr, len) {
5428
+ function _array_like_to_array$n(arr, len) {
5424
5429
  if (len == null || len > arr.length)
5425
5430
  len = arr.length;
5426
5431
  for (var i = 0, arr2 = new Array(len); i < len; i++)
5427
5432
  arr2[i] = arr[i];
5428
5433
  return arr2;
5429
5434
  }
5430
- function _array_with_holes$o(arr) {
5435
+ function _array_with_holes$n(arr) {
5431
5436
  if (Array.isArray(arr))
5432
5437
  return arr;
5433
5438
  }
@@ -5444,7 +5449,7 @@ function _define_property$N(obj, key, value) {
5444
5449
  }
5445
5450
  return obj;
5446
5451
  }
5447
- function _iterable_to_array_limit$o(arr, i) {
5452
+ function _iterable_to_array_limit$n(arr, i) {
5448
5453
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
5449
5454
  if (_i == null)
5450
5455
  return;
@@ -5472,7 +5477,7 @@ function _iterable_to_array_limit$o(arr, i) {
5472
5477
  }
5473
5478
  return _arr;
5474
5479
  }
5475
- function _non_iterable_rest$o() {
5480
+ function _non_iterable_rest$n() {
5476
5481
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5477
5482
  }
5478
5483
  function _object_spread$L(target) {
@@ -5490,8 +5495,8 @@ function _object_spread$L(target) {
5490
5495
  }
5491
5496
  return target;
5492
5497
  }
5493
- function ownKeys$C(object, enumerableOnly) {
5494
- var keys = Object.keys(object);
5498
+ function ownKeys$D(object, enumerableOnly) {
5499
+ var keys2 = Object.keys(object);
5495
5500
  if (Object.getOwnPropertySymbols) {
5496
5501
  var symbols = Object.getOwnPropertySymbols(object);
5497
5502
  if (enumerableOnly) {
@@ -5499,40 +5504,40 @@ function ownKeys$C(object, enumerableOnly) {
5499
5504
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5500
5505
  });
5501
5506
  }
5502
- keys.push.apply(keys, symbols);
5507
+ keys2.push.apply(keys2, symbols);
5503
5508
  }
5504
- return keys;
5509
+ return keys2;
5505
5510
  }
5506
- function _object_spread_props$C(target, source) {
5511
+ function _object_spread_props$D(target, source) {
5507
5512
  source = source != null ? source : {};
5508
5513
  if (Object.getOwnPropertyDescriptors) {
5509
5514
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5510
5515
  } else {
5511
- ownKeys$C(Object(source)).forEach(function(key) {
5516
+ ownKeys$D(Object(source)).forEach(function(key) {
5512
5517
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5513
5518
  });
5514
5519
  }
5515
5520
  return target;
5516
5521
  }
5517
- function _sliced_to_array$o(arr, i) {
5518
- return _array_with_holes$o(arr) || _iterable_to_array_limit$o(arr, i) || _unsupported_iterable_to_array$o(arr, i) || _non_iterable_rest$o();
5522
+ function _sliced_to_array$n(arr, i) {
5523
+ return _array_with_holes$n(arr) || _iterable_to_array_limit$n(arr, i) || _unsupported_iterable_to_array$n(arr, i) || _non_iterable_rest$n();
5519
5524
  }
5520
- function _unsupported_iterable_to_array$o(o, minLen) {
5525
+ function _unsupported_iterable_to_array$n(o, minLen) {
5521
5526
  if (!o)
5522
5527
  return;
5523
5528
  if (typeof o === "string")
5524
- return _array_like_to_array$o(o, minLen);
5529
+ return _array_like_to_array$n(o, minLen);
5525
5530
  var n = Object.prototype.toString.call(o).slice(8, -1);
5526
5531
  if (n === "Object" && o.constructor)
5527
5532
  n = o.constructor.name;
5528
5533
  if (n === "Map" || n === "Set")
5529
5534
  return Array.from(n);
5530
5535
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
5531
- return _array_like_to_array$o(o, minLen);
5536
+ return _array_like_to_array$n(o, minLen);
5532
5537
  }
5533
5538
  var AccountInfo = function(param) {
5534
5539
  var data = param.data, testId = param.testId, avatar = param.avatar, tweakStyles = param.tweakStyles, accountName = param.accountName, options = param.options;
5535
- var classes = useStyles$J({
5540
+ var classes = useStyles$K({
5536
5541
  theme: tweakStyles
5537
5542
  });
5538
5543
  var tweakListStyles = useTweakStyles({
@@ -5542,7 +5547,7 @@ var AccountInfo = function(param) {
5542
5547
  });
5543
5548
  var nameRef = useRef(null);
5544
5549
  var dropdownRef = useRef(null);
5545
- var _useState = _sliced_to_array$o(useState(false), 2), isMenuOpen = _useState[0], setIsMenuOpen = _useState[1];
5550
+ var _useState = _sliced_to_array$n(useState(false), 2), isMenuOpen = _useState[0], setIsMenuOpen = _useState[1];
5546
5551
  var toggleMenu = function(event) {
5547
5552
  event.stopPropagation();
5548
5553
  setIsMenuOpen(function(v) {
@@ -5552,7 +5557,7 @@ var AccountInfo = function(param) {
5552
5557
  useOnClickOutsideWithRef(dropdownRef, function() {
5553
5558
  return setIsMenuOpen(false);
5554
5559
  }, nameRef);
5555
- return /* @__PURE__ */ jsxs("div", _object_spread_props$C(_object_spread$L({
5560
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$D(_object_spread$L({
5556
5561
  className: classes.root
5557
5562
  }, addDataTestId(testId), addDataAttributes(data)), {
5558
5563
  children: [
@@ -5602,7 +5607,7 @@ var AccountInfo = function(param) {
5602
5607
  ]
5603
5608
  }));
5604
5609
  };
5605
- var useStyles$I = createThemedStyles("AddButton", {
5610
+ var useStyles$J = createThemedStyles("AddButton", {
5606
5611
  root: {
5607
5612
  display: "flex",
5608
5613
  alignItems: "center",
@@ -5656,8 +5661,8 @@ function _object_spread$K(target) {
5656
5661
  }
5657
5662
  return target;
5658
5663
  }
5659
- function ownKeys$B(object, enumerableOnly) {
5660
- var keys = Object.keys(object);
5664
+ function ownKeys$C(object, enumerableOnly) {
5665
+ var keys2 = Object.keys(object);
5661
5666
  if (Object.getOwnPropertySymbols) {
5662
5667
  var symbols = Object.getOwnPropertySymbols(object);
5663
5668
  if (enumerableOnly) {
@@ -5665,16 +5670,16 @@ function ownKeys$B(object, enumerableOnly) {
5665
5670
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5666
5671
  });
5667
5672
  }
5668
- keys.push.apply(keys, symbols);
5673
+ keys2.push.apply(keys2, symbols);
5669
5674
  }
5670
- return keys;
5675
+ return keys2;
5671
5676
  }
5672
- function _object_spread_props$B(target, source) {
5677
+ function _object_spread_props$C(target, source) {
5673
5678
  source = source != null ? source : {};
5674
5679
  if (Object.getOwnPropertyDescriptors) {
5675
5680
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5676
5681
  } else {
5677
- ownKeys$B(Object(source)).forEach(function(key) {
5682
+ ownKeys$C(Object(source)).forEach(function(key) {
5678
5683
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5679
5684
  });
5680
5685
  }
@@ -5682,10 +5687,10 @@ function _object_spread_props$B(target, source) {
5682
5687
  }
5683
5688
  var AddButton = function(param) {
5684
5689
  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;
5685
- var classes = useStyles$I({
5690
+ var classes = useStyles$J({
5686
5691
  theme: tweakStyles
5687
5692
  });
5688
- return /* @__PURE__ */ jsxs("button", _object_spread_props$B(_object_spread$K({
5693
+ return /* @__PURE__ */ jsxs("button", _object_spread_props$C(_object_spread$K({
5689
5694
  type,
5690
5695
  className: clsx(classes.root, isDisabled && classes.disabled, isFullWidth && classes.fullWidth),
5691
5696
  onClick: !isDisabled ? onClick : void 0,
@@ -5704,7 +5709,7 @@ var AddButton = function(param) {
5704
5709
  ]
5705
5710
  }));
5706
5711
  };
5707
- var useStyles$H = createThemedStyles("DotsPreloader", {
5712
+ var useStyles$I = createThemedStyles("DotsPreloader", {
5708
5713
  root: {
5709
5714
  display: "flex",
5710
5715
  gap: 4,
@@ -5749,7 +5754,7 @@ var useStyles$H = createThemedStyles("DotsPreloader", {
5749
5754
  });
5750
5755
  var DotsPreloader = function(param) {
5751
5756
  var tweakStyles = param.tweakStyles;
5752
- var classes = useStyles$H({
5757
+ var classes = useStyles$I({
5753
5758
  theme: tweakStyles
5754
5759
  });
5755
5760
  return /* @__PURE__ */ jsx("div", {
@@ -5815,7 +5820,7 @@ var DefaultPreloader = function() {
5815
5820
  ]
5816
5821
  });
5817
5822
  };
5818
- var useStyles$G = createThemedStyles("SvgPreloader", {
5823
+ var useStyles$H = createThemedStyles("SvgPreloader", {
5819
5824
  root: {
5820
5825
  display: "flex",
5821
5826
  width: "100%",
@@ -5825,7 +5830,7 @@ var useStyles$G = createThemedStyles("SvgPreloader", {
5825
5830
  var SvgPreloader = function(param) {
5826
5831
  var _param_type = param.type, type = _param_type === void 0 ? "default" : _param_type, tweakStyles = param.tweakStyles;
5827
5832
  var _theme_preloaders;
5828
- var classes = useStyles$G({
5833
+ var classes = useStyles$H({
5829
5834
  theme: tweakStyles
5830
5835
  });
5831
5836
  var theme = useContext(ThemeContext).theme;
@@ -5839,7 +5844,7 @@ var SvgPreloader = function(param) {
5839
5844
  }
5840
5845
  }) : /* @__PURE__ */ jsx(PreloaderIcon, {});
5841
5846
  };
5842
- var useStyles$F = createThemedStyles("ThemedPreloader", {
5847
+ var useStyles$G = createThemedStyles("ThemedPreloader", {
5843
5848
  root: {
5844
5849
  display: "flex"
5845
5850
  },
@@ -5878,8 +5883,8 @@ function _object_spread$J(target) {
5878
5883
  }
5879
5884
  return target;
5880
5885
  }
5881
- function ownKeys$A(object, enumerableOnly) {
5882
- var keys = Object.keys(object);
5886
+ function ownKeys$B(object, enumerableOnly) {
5887
+ var keys2 = Object.keys(object);
5883
5888
  if (Object.getOwnPropertySymbols) {
5884
5889
  var symbols = Object.getOwnPropertySymbols(object);
5885
5890
  if (enumerableOnly) {
@@ -5887,16 +5892,16 @@ function ownKeys$A(object, enumerableOnly) {
5887
5892
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5888
5893
  });
5889
5894
  }
5890
- keys.push.apply(keys, symbols);
5895
+ keys2.push.apply(keys2, symbols);
5891
5896
  }
5892
- return keys;
5897
+ return keys2;
5893
5898
  }
5894
- function _object_spread_props$A(target, source) {
5899
+ function _object_spread_props$B(target, source) {
5895
5900
  source = source != null ? source : {};
5896
5901
  if (Object.getOwnPropertyDescriptors) {
5897
5902
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5898
5903
  } else {
5899
- ownKeys$A(Object(source)).forEach(function(key) {
5904
+ ownKeys$B(Object(source)).forEach(function(key) {
5900
5905
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5901
5906
  });
5902
5907
  }
@@ -5904,7 +5909,7 @@ function _object_spread_props$A(target, source) {
5904
5909
  }
5905
5910
  var ThemedPreloader = function(param) {
5906
5911
  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;
5907
- var classes = useStyles$F({
5912
+ var classes = useStyles$G({
5908
5913
  theme: tweakStyles
5909
5914
  });
5910
5915
  var tweakDotsPreloaderStyles = useTweakStyles({
@@ -5917,7 +5922,7 @@ var ThemedPreloader = function(param) {
5917
5922
  className: "tweakSvgPreloader",
5918
5923
  currentComponentName: "ThemedPreloader"
5919
5924
  });
5920
- return /* @__PURE__ */ jsx("div", _object_spread_props$A(_object_spread$J({
5925
+ return /* @__PURE__ */ jsx("div", _object_spread_props$B(_object_spread$J({
5921
5926
  className: clsx(classes.root, classes[type], _define_property$L({}, classes.currentColor, useCurrentColor))
5922
5927
  }, addDataTestId(testId), addDataAttributes(data)), {
5923
5928
  children: type === "dots" ? /* @__PURE__ */ jsx(DotsPreloader, {
@@ -5928,7 +5933,7 @@ var ThemedPreloader = function(param) {
5928
5933
  })
5929
5934
  }));
5930
5935
  };
5931
- var useStyles$E = createThemedStyles("Button", {
5936
+ var useStyles$F = createThemedStyles("Button", {
5932
5937
  root: {
5933
5938
  display: "flex",
5934
5939
  justifyContent: "center",
@@ -6128,8 +6133,8 @@ function _object_spread$I(target) {
6128
6133
  }
6129
6134
  return target;
6130
6135
  }
6131
- function ownKeys$z(object, enumerableOnly) {
6132
- var keys = Object.keys(object);
6136
+ function ownKeys$A(object, enumerableOnly) {
6137
+ var keys2 = Object.keys(object);
6133
6138
  if (Object.getOwnPropertySymbols) {
6134
6139
  var symbols = Object.getOwnPropertySymbols(object);
6135
6140
  if (enumerableOnly) {
@@ -6137,16 +6142,16 @@ function ownKeys$z(object, enumerableOnly) {
6137
6142
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6138
6143
  });
6139
6144
  }
6140
- keys.push.apply(keys, symbols);
6145
+ keys2.push.apply(keys2, symbols);
6141
6146
  }
6142
- return keys;
6147
+ return keys2;
6143
6148
  }
6144
- function _object_spread_props$z(target, source) {
6149
+ function _object_spread_props$A(target, source) {
6145
6150
  source = source != null ? source : {};
6146
6151
  if (Object.getOwnPropertyDescriptors) {
6147
6152
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6148
6153
  } else {
6149
- ownKeys$z(Object(source)).forEach(function(key) {
6154
+ ownKeys$A(Object(source)).forEach(function(key) {
6150
6155
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6151
6156
  });
6152
6157
  }
@@ -6154,7 +6159,7 @@ function _object_spread_props$z(target, source) {
6154
6159
  }
6155
6160
  var Button = /* @__PURE__ */ forwardRef(function(param, ref) {
6156
6161
  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;
6157
- var classes = useStyles$E({
6162
+ var classes = useStyles$F({
6158
6163
  theme: tweakStyles
6159
6164
  });
6160
6165
  var tweakPreloaderStyles = useTweakStyles({
@@ -6167,7 +6172,7 @@ var Button = /* @__PURE__ */ forwardRef(function(param, ref) {
6167
6172
  var hasChildren = isReactNodeNotEmpty(children);
6168
6173
  var hasNoAction = isDisabled || isLoading;
6169
6174
  var _obj, _obj1;
6170
- return /* @__PURE__ */ jsxs("button", _object_spread_props$z(_object_spread$I({
6175
+ return /* @__PURE__ */ jsxs("button", _object_spread_props$A(_object_spread$I({
6171
6176
  ref,
6172
6177
  type,
6173
6178
  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)),
@@ -6201,7 +6206,7 @@ var Button = /* @__PURE__ */ forwardRef(function(param, ref) {
6201
6206
  ]
6202
6207
  }));
6203
6208
  });
6204
- var useStyles$D = createThemedStyles("Checkbox", {
6209
+ var useStyles$E = createThemedStyles("Checkbox", {
6205
6210
  root: {
6206
6211
  cursor: "pointer",
6207
6212
  display: "flex",
@@ -6238,14 +6243,14 @@ var useStyles$D = createThemedStyles("Checkbox", {
6238
6243
  flexDirection: "row-reverse"
6239
6244
  }
6240
6245
  });
6241
- function _array_like_to_array$n(arr, len) {
6246
+ function _array_like_to_array$m(arr, len) {
6242
6247
  if (len == null || len > arr.length)
6243
6248
  len = arr.length;
6244
6249
  for (var i = 0, arr2 = new Array(len); i < len; i++)
6245
6250
  arr2[i] = arr[i];
6246
6251
  return arr2;
6247
6252
  }
6248
- function _array_with_holes$n(arr) {
6253
+ function _array_with_holes$m(arr) {
6249
6254
  if (Array.isArray(arr))
6250
6255
  return arr;
6251
6256
  }
@@ -6262,7 +6267,7 @@ function _define_property$J(obj, key, value) {
6262
6267
  }
6263
6268
  return obj;
6264
6269
  }
6265
- function _iterable_to_array_limit$n(arr, i) {
6270
+ function _iterable_to_array_limit$m(arr, i) {
6266
6271
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
6267
6272
  if (_i == null)
6268
6273
  return;
@@ -6290,7 +6295,7 @@ function _iterable_to_array_limit$n(arr, i) {
6290
6295
  }
6291
6296
  return _arr;
6292
6297
  }
6293
- function _non_iterable_rest$n() {
6298
+ function _non_iterable_rest$m() {
6294
6299
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6295
6300
  }
6296
6301
  function _object_spread$H(target) {
@@ -6308,8 +6313,8 @@ function _object_spread$H(target) {
6308
6313
  }
6309
6314
  return target;
6310
6315
  }
6311
- function ownKeys$y(object, enumerableOnly) {
6312
- var keys = Object.keys(object);
6316
+ function ownKeys$z(object, enumerableOnly) {
6317
+ var keys2 = Object.keys(object);
6313
6318
  if (Object.getOwnPropertySymbols) {
6314
6319
  var symbols = Object.getOwnPropertySymbols(object);
6315
6320
  if (enumerableOnly) {
@@ -6317,43 +6322,43 @@ function ownKeys$y(object, enumerableOnly) {
6317
6322
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6318
6323
  });
6319
6324
  }
6320
- keys.push.apply(keys, symbols);
6325
+ keys2.push.apply(keys2, symbols);
6321
6326
  }
6322
- return keys;
6327
+ return keys2;
6323
6328
  }
6324
- function _object_spread_props$y(target, source) {
6329
+ function _object_spread_props$z(target, source) {
6325
6330
  source = source != null ? source : {};
6326
6331
  if (Object.getOwnPropertyDescriptors) {
6327
6332
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6328
6333
  } else {
6329
- ownKeys$y(Object(source)).forEach(function(key) {
6334
+ ownKeys$z(Object(source)).forEach(function(key) {
6330
6335
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6331
6336
  });
6332
6337
  }
6333
6338
  return target;
6334
6339
  }
6335
- function _sliced_to_array$n(arr, i) {
6336
- return _array_with_holes$n(arr) || _iterable_to_array_limit$n(arr, i) || _unsupported_iterable_to_array$n(arr, i) || _non_iterable_rest$n();
6340
+ function _sliced_to_array$m(arr, i) {
6341
+ return _array_with_holes$m(arr) || _iterable_to_array_limit$m(arr, i) || _unsupported_iterable_to_array$m(arr, i) || _non_iterable_rest$m();
6337
6342
  }
6338
- function _unsupported_iterable_to_array$n(o, minLen) {
6343
+ function _unsupported_iterable_to_array$m(o, minLen) {
6339
6344
  if (!o)
6340
6345
  return;
6341
6346
  if (typeof o === "string")
6342
- return _array_like_to_array$n(o, minLen);
6347
+ return _array_like_to_array$m(o, minLen);
6343
6348
  var n = Object.prototype.toString.call(o).slice(8, -1);
6344
6349
  if (n === "Object" && o.constructor)
6345
6350
  n = o.constructor.name;
6346
6351
  if (n === "Map" || n === "Set")
6347
6352
  return Array.from(n);
6348
6353
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
6349
- return _array_like_to_array$n(o, minLen);
6354
+ return _array_like_to_array$m(o, minLen);
6350
6355
  }
6351
6356
  function Checkbox(param) {
6352
6357
  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;
6353
- var classes = useStyles$D({
6358
+ var classes = useStyles$E({
6354
6359
  theme: tweakStyles
6355
6360
  });
6356
- var _useState = _sliced_to_array$n(useState(false), 2), isSelected = _useState[0], setIsSelected = _useState[1];
6361
+ var _useState = _sliced_to_array$m(useState(false), 2), isSelected = _useState[0], setIsSelected = _useState[1];
6357
6362
  var hasAction = !isDisabled && !isReadonly;
6358
6363
  var onToggle = function() {
6359
6364
  var newValue = !isSelected;
@@ -6369,7 +6374,7 @@ function Checkbox(param) {
6369
6374
  isChecked
6370
6375
  ]);
6371
6376
  var _obj;
6372
- return /* @__PURE__ */ jsxs("label", _object_spread_props$y(_object_spread$H({
6377
+ return /* @__PURE__ */ jsxs("label", _object_spread_props$z(_object_spread$H({
6373
6378
  className: clsx(classes.root, (_obj = {}, _define_property$J(_obj, classes.disabled, isDisabled), _define_property$J(_obj, classes.labelPositionLeft, labelPosition === "left"), _obj))
6374
6379
  }, addDataTestId(testId), addDataAttributes(data)), {
6375
6380
  children: [
@@ -6396,7 +6401,7 @@ function Checkbox(param) {
6396
6401
  ]
6397
6402
  }));
6398
6403
  }
6399
- var useStyles$C = createThemedStyles("CloseButton", {
6404
+ var useStyles$D = createThemedStyles("CloseButton", {
6400
6405
  root: {
6401
6406
  width: 40,
6402
6407
  height: 40,
@@ -6449,8 +6454,8 @@ function _object_spread$G(target) {
6449
6454
  }
6450
6455
  return target;
6451
6456
  }
6452
- function ownKeys$x(object, enumerableOnly) {
6453
- var keys = Object.keys(object);
6457
+ function ownKeys$y(object, enumerableOnly) {
6458
+ var keys2 = Object.keys(object);
6454
6459
  if (Object.getOwnPropertySymbols) {
6455
6460
  var symbols = Object.getOwnPropertySymbols(object);
6456
6461
  if (enumerableOnly) {
@@ -6458,16 +6463,16 @@ function ownKeys$x(object, enumerableOnly) {
6458
6463
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6459
6464
  });
6460
6465
  }
6461
- keys.push.apply(keys, symbols);
6466
+ keys2.push.apply(keys2, symbols);
6462
6467
  }
6463
- return keys;
6468
+ return keys2;
6464
6469
  }
6465
- function _object_spread_props$x(target, source) {
6470
+ function _object_spread_props$y(target, source) {
6466
6471
  source = source != null ? source : {};
6467
6472
  if (Object.getOwnPropertyDescriptors) {
6468
6473
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6469
6474
  } else {
6470
- ownKeys$x(Object(source)).forEach(function(key) {
6475
+ ownKeys$y(Object(source)).forEach(function(key) {
6471
6476
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6472
6477
  });
6473
6478
  }
@@ -6475,10 +6480,10 @@ function _object_spread_props$x(target, source) {
6475
6480
  }
6476
6481
  var CloseButton = function(param) {
6477
6482
  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;
6478
- var classes = useStyles$C({
6483
+ var classes = useStyles$D({
6479
6484
  theme: tweakStyles
6480
6485
  });
6481
- return /* @__PURE__ */ jsx("button", _object_spread_props$x(_object_spread$G({
6486
+ return /* @__PURE__ */ jsx("button", _object_spread_props$y(_object_spread$G({
6482
6487
  type: "button",
6483
6488
  className: classes.root,
6484
6489
  onClick: onClose
@@ -6488,7 +6493,7 @@ var CloseButton = function(param) {
6488
6493
  })
6489
6494
  }));
6490
6495
  };
6491
- var useStyles$B = createThemedStyles({
6496
+ var useStyles$C = createThemedStyles({
6492
6497
  root: {
6493
6498
  display: "flex",
6494
6499
  flexWrap: "wrap"
@@ -6522,18 +6527,18 @@ var useStyles$B = createThemedStyles({
6522
6527
  ]
6523
6528
  }
6524
6529
  });
6525
- function _array_like_to_array$m(arr, len) {
6530
+ function _array_like_to_array$l(arr, len) {
6526
6531
  if (len == null || len > arr.length)
6527
6532
  len = arr.length;
6528
6533
  for (var i = 0, arr2 = new Array(len); i < len; i++)
6529
6534
  arr2[i] = arr[i];
6530
6535
  return arr2;
6531
6536
  }
6532
- function _array_with_holes$m(arr) {
6537
+ function _array_with_holes$l(arr) {
6533
6538
  if (Array.isArray(arr))
6534
6539
  return arr;
6535
6540
  }
6536
- function _iterable_to_array_limit$m(arr, i) {
6541
+ function _iterable_to_array_limit$l(arr, i) {
6537
6542
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
6538
6543
  if (_i == null)
6539
6544
  return;
@@ -6561,33 +6566,33 @@ function _iterable_to_array_limit$m(arr, i) {
6561
6566
  }
6562
6567
  return _arr;
6563
6568
  }
6564
- function _non_iterable_rest$m() {
6569
+ function _non_iterable_rest$l() {
6565
6570
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6566
6571
  }
6567
- function _sliced_to_array$m(arr, i) {
6568
- return _array_with_holes$m(arr) || _iterable_to_array_limit$m(arr, i) || _unsupported_iterable_to_array$m(arr, i) || _non_iterable_rest$m();
6572
+ function _sliced_to_array$l(arr, i) {
6573
+ return _array_with_holes$l(arr) || _iterable_to_array_limit$l(arr, i) || _unsupported_iterable_to_array$l(arr, i) || _non_iterable_rest$l();
6569
6574
  }
6570
- function _unsupported_iterable_to_array$m(o, minLen) {
6575
+ function _unsupported_iterable_to_array$l(o, minLen) {
6571
6576
  if (!o)
6572
6577
  return;
6573
6578
  if (typeof o === "string")
6574
- return _array_like_to_array$m(o, minLen);
6579
+ return _array_like_to_array$l(o, minLen);
6575
6580
  var n = Object.prototype.toString.call(o).slice(8, -1);
6576
6581
  if (n === "Object" && o.constructor)
6577
6582
  n = o.constructor.name;
6578
6583
  if (n === "Map" || n === "Set")
6579
6584
  return Array.from(n);
6580
6585
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
6581
- return _array_like_to_array$m(o, minLen);
6586
+ return _array_like_to_array$l(o, minLen);
6582
6587
  }
6583
6588
  var Colors = function() {
6584
- var classes = useStyles$B();
6589
+ var classes = useStyles$C();
6585
6590
  var theme = useContext(ThemeContext).theme;
6586
6591
  var _theme_colors = theme.colors, colors2 = _theme_colors === void 0 ? {} : _theme_colors;
6587
6592
  return /* @__PURE__ */ jsx("div", {
6588
6593
  className: classes.root,
6589
6594
  children: Object.entries(colors2).map(function(param) {
6590
- var _param = _sliced_to_array$m(param, 2), colorName = _param[0], color = _param[1];
6595
+ var _param = _sliced_to_array$l(param, 2), colorName = _param[0], color = _param[1];
6591
6596
  var name = colorName.split("_").join(" ").toLowerCase();
6592
6597
  return /* @__PURE__ */ jsxs("div", {
6593
6598
  className: classes.colorCard,
@@ -6611,7 +6616,7 @@ var Colors = function() {
6611
6616
  })
6612
6617
  });
6613
6618
  };
6614
- var useStyles$A = createThemedStyles("CssBaseline", {
6619
+ var useStyles$B = createThemedStyles("CssBaseline", {
6615
6620
  "@global html, body": {
6616
6621
  fontFamily: "Arial, sans-serif",
6617
6622
  color: colors.FONT_MAIN,
@@ -6650,7 +6655,7 @@ function _object_spread$F(target) {
6650
6655
  }
6651
6656
  var CssBaseline = function(param) {
6652
6657
  var data = param.data, testId = param.testId, tweakStyles = param.tweakStyles;
6653
- var classes = useStyles$A({
6658
+ var classes = useStyles$B({
6654
6659
  theme: tweakStyles
6655
6660
  });
6656
6661
  return /* @__PURE__ */ jsx("div", _object_spread$F({
@@ -6660,7 +6665,7 @@ var CssBaseline = function(param) {
6660
6665
  var DEFAULT_SIZE = 6;
6661
6666
  var PADDING_X$1 = 12;
6662
6667
  var AUTOSIZE_MAX_WIDTH = 480;
6663
- var useStyles$z = createThemedStyles("Input", {
6668
+ var useStyles$A = createThemedStyles("Input", {
6664
6669
  root: {
6665
6670
  width: "100%",
6666
6671
  boxSizing: "border-box",
@@ -6933,14 +6938,14 @@ var useStyles$z = createThemedStyles("Input", {
6933
6938
  loading: {},
6934
6939
  withUnits: {}
6935
6940
  });
6936
- function _array_like_to_array$l(arr, len) {
6941
+ function _array_like_to_array$k(arr, len) {
6937
6942
  if (len == null || len > arr.length)
6938
6943
  len = arr.length;
6939
6944
  for (var i = 0, arr2 = new Array(len); i < len; i++)
6940
6945
  arr2[i] = arr[i];
6941
6946
  return arr2;
6942
6947
  }
6943
- function _array_with_holes$l(arr) {
6948
+ function _array_with_holes$k(arr) {
6944
6949
  if (Array.isArray(arr))
6945
6950
  return arr;
6946
6951
  }
@@ -6986,7 +6991,7 @@ function _define_property$G(obj, key, value) {
6986
6991
  }
6987
6992
  return obj;
6988
6993
  }
6989
- function _iterable_to_array_limit$l(arr, i) {
6994
+ function _iterable_to_array_limit$k(arr, i) {
6990
6995
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
6991
6996
  if (_i == null)
6992
6997
  return;
@@ -7014,7 +7019,7 @@ function _iterable_to_array_limit$l(arr, i) {
7014
7019
  }
7015
7020
  return _arr;
7016
7021
  }
7017
- function _non_iterable_rest$l() {
7022
+ function _non_iterable_rest$k() {
7018
7023
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7019
7024
  }
7020
7025
  function _object_spread$E(target) {
@@ -7032,8 +7037,8 @@ function _object_spread$E(target) {
7032
7037
  }
7033
7038
  return target;
7034
7039
  }
7035
- function ownKeys$w(object, enumerableOnly) {
7036
- var keys = Object.keys(object);
7040
+ function ownKeys$x(object, enumerableOnly) {
7041
+ var keys2 = Object.keys(object);
7037
7042
  if (Object.getOwnPropertySymbols) {
7038
7043
  var symbols = Object.getOwnPropertySymbols(object);
7039
7044
  if (enumerableOnly) {
@@ -7041,36 +7046,36 @@ function ownKeys$w(object, enumerableOnly) {
7041
7046
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7042
7047
  });
7043
7048
  }
7044
- keys.push.apply(keys, symbols);
7049
+ keys2.push.apply(keys2, symbols);
7045
7050
  }
7046
- return keys;
7051
+ return keys2;
7047
7052
  }
7048
- function _object_spread_props$w(target, source) {
7053
+ function _object_spread_props$x(target, source) {
7049
7054
  source = source != null ? source : {};
7050
7055
  if (Object.getOwnPropertyDescriptors) {
7051
7056
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7052
7057
  } else {
7053
- ownKeys$w(Object(source)).forEach(function(key) {
7058
+ ownKeys$x(Object(source)).forEach(function(key) {
7054
7059
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7055
7060
  });
7056
7061
  }
7057
7062
  return target;
7058
7063
  }
7059
- function _sliced_to_array$l(arr, i) {
7060
- return _array_with_holes$l(arr) || _iterable_to_array_limit$l(arr, i) || _unsupported_iterable_to_array$l(arr, i) || _non_iterable_rest$l();
7064
+ function _sliced_to_array$k(arr, i) {
7065
+ return _array_with_holes$k(arr) || _iterable_to_array_limit$k(arr, i) || _unsupported_iterable_to_array$k(arr, i) || _non_iterable_rest$k();
7061
7066
  }
7062
- function _unsupported_iterable_to_array$l(o, minLen) {
7067
+ function _unsupported_iterable_to_array$k(o, minLen) {
7063
7068
  if (!o)
7064
7069
  return;
7065
7070
  if (typeof o === "string")
7066
- return _array_like_to_array$l(o, minLen);
7071
+ return _array_like_to_array$k(o, minLen);
7067
7072
  var n = Object.prototype.toString.call(o).slice(8, -1);
7068
7073
  if (n === "Object" && o.constructor)
7069
7074
  n = o.constructor.name;
7070
7075
  if (n === "Map" || n === "Set")
7071
7076
  return Array.from(n);
7072
7077
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
7073
- return _array_like_to_array$l(o, minLen);
7078
+ return _array_like_to_array$k(o, minLen);
7074
7079
  }
7075
7080
  var __generator$5 = globalThis && globalThis.__generator || function(thisArg, body) {
7076
7081
  var f, y, t, g, _ = {
@@ -7176,7 +7181,7 @@ var __generator$5 = globalThis && globalThis.__generator || function(thisArg, bo
7176
7181
  };
7177
7182
  var Input = /* @__PURE__ */ forwardRef(function(param, ref) {
7178
7183
  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;
7179
- var classes = useStyles$z({
7184
+ var classes = useStyles$A({
7180
7185
  theme: tweakStyles
7181
7186
  });
7182
7187
  var tweakPreloaderStyles = useTweakStyles({
@@ -7184,7 +7189,7 @@ var Input = /* @__PURE__ */ forwardRef(function(param, ref) {
7184
7189
  className: "tweakPreloader",
7185
7190
  currentComponentName: "Input"
7186
7191
  });
7187
- var _useState = _sliced_to_array$l(useState(false), 2), isFocused = _useState[0], setFocused = _useState[1];
7192
+ var _useState = _sliced_to_array$k(useState(false), 2), isFocused = _useState[0], setFocused = _useState[1];
7188
7193
  var inputRef = useRef(null);
7189
7194
  var handleChange = function(event) {
7190
7195
  onChange(event.currentTarget.value, event);
@@ -7252,7 +7257,7 @@ var Input = /* @__PURE__ */ forwardRef(function(param, ref) {
7252
7257
  return /* @__PURE__ */ jsxs("div", {
7253
7258
  className: classes.root,
7254
7259
  children: [
7255
- /* @__PURE__ */ jsxs("div", _object_spread_props$w(_object_spread$E({
7260
+ /* @__PURE__ */ jsxs("div", _object_spread_props$x(_object_spread$E({
7256
7261
  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)]),
7257
7262
  "data-value": isAutoSizeable ? value : void 0
7258
7263
  }, addDataAttributes(data)), {
@@ -7325,7 +7330,7 @@ var Input = /* @__PURE__ */ forwardRef(function(param, ref) {
7325
7330
  });
7326
7331
  var EMPTY_DATE_INPUT_VALUE = "__.__.____";
7327
7332
  var EMPTY_DATE_RANGE_INPUT_VALUE = "".concat(EMPTY_DATE_INPUT_VALUE, " - ").concat(EMPTY_DATE_INPUT_VALUE);
7328
- var useStyles$y = createThemedStyles("DateInput", {
7333
+ var useStyles$z = createThemedStyles("DateInput", {
7329
7334
  root: {
7330
7335
  width: "100%",
7331
7336
  height: "100%",
@@ -7361,8 +7366,8 @@ function _object_spread$D(target) {
7361
7366
  }
7362
7367
  return target;
7363
7368
  }
7364
- function ownKeys$v(object, enumerableOnly) {
7365
- var keys = Object.keys(object);
7369
+ function ownKeys$w(object, enumerableOnly) {
7370
+ var keys2 = Object.keys(object);
7366
7371
  if (Object.getOwnPropertySymbols) {
7367
7372
  var symbols = Object.getOwnPropertySymbols(object);
7368
7373
  if (enumerableOnly) {
@@ -7370,16 +7375,16 @@ function ownKeys$v(object, enumerableOnly) {
7370
7375
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7371
7376
  });
7372
7377
  }
7373
- keys.push.apply(keys, symbols);
7378
+ keys2.push.apply(keys2, symbols);
7374
7379
  }
7375
- return keys;
7380
+ return keys2;
7376
7381
  }
7377
- function _object_spread_props$v(target, source) {
7382
+ function _object_spread_props$w(target, source) {
7378
7383
  source = source != null ? source : {};
7379
7384
  if (Object.getOwnPropertyDescriptors) {
7380
7385
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7381
7386
  } else {
7382
- ownKeys$v(Object(source)).forEach(function(key) {
7387
+ ownKeys$w(Object(source)).forEach(function(key) {
7383
7388
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7384
7389
  });
7385
7390
  }
@@ -7418,7 +7423,7 @@ function _object_without_properties_loose$9(source, excluded) {
7418
7423
  return target;
7419
7424
  }
7420
7425
  var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
7421
- 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, [
7426
+ 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, [
7422
7427
  "date",
7423
7428
  "startDate",
7424
7429
  "endDate",
@@ -7428,11 +7433,10 @@ var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
7428
7433
  "data",
7429
7434
  "isRange",
7430
7435
  "tweakStyles",
7431
- "testId",
7432
7436
  "onClick",
7433
7437
  "onChange"
7434
7438
  ]);
7435
- var classes = useStyles$y({
7439
+ var classes = useStyles$z({
7436
7440
  theme: tweakStyles
7437
7441
  });
7438
7442
  var tweakInputStyles = useTweakStyles({
@@ -7459,16 +7463,15 @@ var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
7459
7463
  }
7460
7464
  onChange === null || onChange === void 0 ? void 0 : onChange(event, value);
7461
7465
  };
7462
- return /* @__PURE__ */ jsx("div", _object_spread_props$v(_object_spread$D({
7466
+ return /* @__PURE__ */ jsx("div", _object_spread_props$w(_object_spread$D({
7463
7467
  className: clsx(classes.root, className),
7464
7468
  onClick
7465
- }, addDataTestId(testId), addDataAttributes(data)), {
7466
- children: /* @__PURE__ */ jsx(Input, _object_spread_props$v(_object_spread$D({}, inputProps), {
7469
+ }, addDataAttributes(data)), {
7470
+ children: /* @__PURE__ */ jsx(Input, _object_spread_props$w(_object_spread$D({}, inputProps), {
7467
7471
  ref,
7468
7472
  value: isRange ? "".concat(startDate).concat(endDate) : date,
7469
7473
  mask: mask !== null && mask !== void 0 ? mask : isRange ? "99.99.9999 - 99.99.9999" : "99.99.9999",
7470
7474
  placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : isRange ? EMPTY_DATE_RANGE_INPUT_VALUE : EMPTY_DATE_INPUT_VALUE,
7471
- testId: getTestId(testId, "input"),
7472
7475
  tweakStyles: tweakInputStyles,
7473
7476
  onChange: handleChange,
7474
7477
  beforeMaskedStateChange
@@ -7477,7 +7480,7 @@ var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
7477
7480
  });
7478
7481
  const reactDatepicker = "";
7479
7482
  var LEFT_PADDING = 44;
7480
- var useStyles$x = createThemedStyles("SearchInput", {
7483
+ var useStyles$y = createThemedStyles("SearchInput", {
7481
7484
  root: {
7482
7485
  position: "relative"
7483
7486
  },
@@ -7542,8 +7545,8 @@ function _object_spread$C(target) {
7542
7545
  }
7543
7546
  return target;
7544
7547
  }
7545
- function ownKeys$u(object, enumerableOnly) {
7546
- var keys = Object.keys(object);
7548
+ function ownKeys$v(object, enumerableOnly) {
7549
+ var keys2 = Object.keys(object);
7547
7550
  if (Object.getOwnPropertySymbols) {
7548
7551
  var symbols = Object.getOwnPropertySymbols(object);
7549
7552
  if (enumerableOnly) {
@@ -7551,16 +7554,16 @@ function ownKeys$u(object, enumerableOnly) {
7551
7554
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7552
7555
  });
7553
7556
  }
7554
- keys.push.apply(keys, symbols);
7557
+ keys2.push.apply(keys2, symbols);
7555
7558
  }
7556
- return keys;
7559
+ return keys2;
7557
7560
  }
7558
- function _object_spread_props$u(target, source) {
7561
+ function _object_spread_props$v(target, source) {
7559
7562
  source = source != null ? source : {};
7560
7563
  if (Object.getOwnPropertyDescriptors) {
7561
7564
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7562
7565
  } else {
7563
- ownKeys$u(Object(source)).forEach(function(key) {
7566
+ ownKeys$v(Object(source)).forEach(function(key) {
7564
7567
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7565
7568
  });
7566
7569
  }
@@ -7605,7 +7608,7 @@ var SearchInput = function(_param) {
7605
7608
  "testId",
7606
7609
  "data"
7607
7610
  ]);
7608
- var classes = useStyles$x({
7611
+ var classes = useStyles$y({
7609
7612
  theme: tweakStyles
7610
7613
  });
7611
7614
  var tweakInputStyles = useTweakStyles({
@@ -7614,7 +7617,7 @@ var SearchInput = function(_param) {
7614
7617
  className: "tweakInput",
7615
7618
  currentComponentName: "SearchInput"
7616
7619
  });
7617
- return /* @__PURE__ */ jsxs("div", _object_spread_props$u(_object_spread$C({
7620
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$v(_object_spread$C({
7618
7621
  className: classes.root
7619
7622
  }, addDataTestId(testId), addDataAttributes(data)), {
7620
7623
  children: [
@@ -7892,7 +7895,7 @@ var CELL_PADDING = [
7892
7895
  10,
7893
7896
  20
7894
7897
  ];
7895
- var useStyles$w = createThemedStyles("SelectList", {
7898
+ var useStyles$x = createThemedStyles("SelectList", {
7896
7899
  root: {
7897
7900
  borderRadius: dimensions.BORDER_RADIUS_SMALL,
7898
7901
  boxShadow: "0 13px 74px -27px rgba(0, 0, 0, 0.11)",
@@ -7987,8 +7990,8 @@ function _object_spread$z(target) {
7987
7990
  }
7988
7991
  return target;
7989
7992
  }
7990
- function ownKeys$t(object, enumerableOnly) {
7991
- var keys = Object.keys(object);
7993
+ function ownKeys$u(object, enumerableOnly) {
7994
+ var keys2 = Object.keys(object);
7992
7995
  if (Object.getOwnPropertySymbols) {
7993
7996
  var symbols = Object.getOwnPropertySymbols(object);
7994
7997
  if (enumerableOnly) {
@@ -7996,16 +7999,16 @@ function ownKeys$t(object, enumerableOnly) {
7996
7999
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7997
8000
  });
7998
8001
  }
7999
- keys.push.apply(keys, symbols);
8002
+ keys2.push.apply(keys2, symbols);
8000
8003
  }
8001
- return keys;
8004
+ return keys2;
8002
8005
  }
8003
- function _object_spread_props$t(target, source) {
8006
+ function _object_spread_props$u(target, source) {
8004
8007
  source = source != null ? source : {};
8005
8008
  if (Object.getOwnPropertyDescriptors) {
8006
8009
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
8007
8010
  } else {
8008
- ownKeys$t(Object(source)).forEach(function(key) {
8011
+ ownKeys$u(Object(source)).forEach(function(key) {
8009
8012
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
8010
8013
  });
8011
8014
  }
@@ -8015,7 +8018,7 @@ var SelectListItem = function(param) {
8015
8018
  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;
8016
8019
  var isMultiSelect = isNotEmpty(onToggleCheckbox);
8017
8020
  var _obj;
8018
- return /* @__PURE__ */ jsx(ScrollIntoViewIfNeeded, _object_spread_props$t(_object_spread$z({
8021
+ return /* @__PURE__ */ jsx(ScrollIntoViewIfNeeded, _object_spread_props$u(_object_spread$z({
8019
8022
  active: isFocused,
8020
8023
  options: {
8021
8024
  block: "nearest"
@@ -8070,8 +8073,8 @@ function _object_spread$y(target) {
8070
8073
  }
8071
8074
  return target;
8072
8075
  }
8073
- function ownKeys$s(object, enumerableOnly) {
8074
- var keys = Object.keys(object);
8076
+ function ownKeys$t(object, enumerableOnly) {
8077
+ var keys2 = Object.keys(object);
8075
8078
  if (Object.getOwnPropertySymbols) {
8076
8079
  var symbols = Object.getOwnPropertySymbols(object);
8077
8080
  if (enumerableOnly) {
@@ -8079,16 +8082,16 @@ function ownKeys$s(object, enumerableOnly) {
8079
8082
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
8080
8083
  });
8081
8084
  }
8082
- keys.push.apply(keys, symbols);
8085
+ keys2.push.apply(keys2, symbols);
8083
8086
  }
8084
- return keys;
8087
+ return keys2;
8085
8088
  }
8086
- function _object_spread_props$s(target, source) {
8089
+ function _object_spread_props$t(target, source) {
8087
8090
  source = source != null ? source : {};
8088
8091
  if (Object.getOwnPropertyDescriptors) {
8089
8092
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
8090
8093
  } else {
8091
- ownKeys$s(Object(source)).forEach(function(key) {
8094
+ ownKeys$t(Object(source)).forEach(function(key) {
8092
8095
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
8093
8096
  });
8094
8097
  }
@@ -8096,7 +8099,7 @@ function _object_spread_props$s(target, source) {
8096
8099
  }
8097
8100
  function SelectList(param) {
8098
8101
  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;
8099
- var classes = useStyles$w({
8102
+ var classes = useStyles$x({
8100
8103
  theme: tweakStyles
8101
8104
  });
8102
8105
  var isMultiSelect = isNotEmpty(onToggleCheckbox);
@@ -8139,7 +8142,7 @@ function SelectList(param) {
8139
8142
  className: classes.listHeader,
8140
8143
  children: customListHeader
8141
8144
  }),
8142
- /* @__PURE__ */ jsx("div", _object_spread_props$s(_object_spread$y({
8145
+ /* @__PURE__ */ jsx("div", _object_spread_props$t(_object_spread$y({
8143
8146
  className: classes.list
8144
8147
  }, addDataTestId(testId)), {
8145
8148
  children: isLoading ? /* @__PURE__ */ jsx("div", {
@@ -8212,7 +8215,7 @@ var getDefaultConvertToIdFunction = function(convertValueToString) {
8212
8215
  var isMultiSelectValue = function(props, _value) {
8213
8216
  return props.isMultiSelect === true;
8214
8217
  };
8215
- var useStyles$v = createThemedStyles("Select", {
8218
+ var useStyles$w = createThemedStyles("Select", {
8216
8219
  root: {
8217
8220
  width: "100%",
8218
8221
  position: "relative",
@@ -8317,20 +8320,20 @@ var searchInputStyles$3 = {
8317
8320
  }
8318
8321
  }
8319
8322
  };
8320
- function _array_like_to_array$k(arr, len) {
8323
+ function _array_like_to_array$j(arr, len) {
8321
8324
  if (len == null || len > arr.length)
8322
8325
  len = arr.length;
8323
8326
  for (var i = 0, arr2 = new Array(len); i < len; i++)
8324
8327
  arr2[i] = arr[i];
8325
8328
  return arr2;
8326
8329
  }
8327
- function _array_with_holes$k(arr) {
8330
+ function _array_with_holes$j(arr) {
8328
8331
  if (Array.isArray(arr))
8329
8332
  return arr;
8330
8333
  }
8331
8334
  function _array_without_holes$4(arr) {
8332
8335
  if (Array.isArray(arr))
8333
- return _array_like_to_array$k(arr);
8336
+ return _array_like_to_array$j(arr);
8334
8337
  }
8335
8338
  function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
8336
8339
  try {
@@ -8378,7 +8381,7 @@ function _iterable_to_array$4(iter) {
8378
8381
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
8379
8382
  return Array.from(iter);
8380
8383
  }
8381
- function _iterable_to_array_limit$k(arr, i) {
8384
+ function _iterable_to_array_limit$j(arr, i) {
8382
8385
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
8383
8386
  if (_i == null)
8384
8387
  return;
@@ -8406,7 +8409,7 @@ function _iterable_to_array_limit$k(arr, i) {
8406
8409
  }
8407
8410
  return _arr;
8408
8411
  }
8409
- function _non_iterable_rest$k() {
8412
+ function _non_iterable_rest$j() {
8410
8413
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8411
8414
  }
8412
8415
  function _non_iterable_spread$4() {
@@ -8427,8 +8430,8 @@ function _object_spread$x(target) {
8427
8430
  }
8428
8431
  return target;
8429
8432
  }
8430
- function ownKeys$r(object, enumerableOnly) {
8431
- var keys = Object.keys(object);
8433
+ function ownKeys$s(object, enumerableOnly) {
8434
+ var keys2 = Object.keys(object);
8432
8435
  if (Object.getOwnPropertySymbols) {
8433
8436
  var symbols = Object.getOwnPropertySymbols(object);
8434
8437
  if (enumerableOnly) {
@@ -8436,16 +8439,16 @@ function ownKeys$r(object, enumerableOnly) {
8436
8439
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
8437
8440
  });
8438
8441
  }
8439
- keys.push.apply(keys, symbols);
8442
+ keys2.push.apply(keys2, symbols);
8440
8443
  }
8441
- return keys;
8444
+ return keys2;
8442
8445
  }
8443
- function _object_spread_props$r(target, source) {
8446
+ function _object_spread_props$s(target, source) {
8444
8447
  source = source != null ? source : {};
8445
8448
  if (Object.getOwnPropertyDescriptors) {
8446
8449
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
8447
8450
  } else {
8448
- ownKeys$r(Object(source)).forEach(function(key) {
8451
+ ownKeys$s(Object(source)).forEach(function(key) {
8449
8452
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
8450
8453
  });
8451
8454
  }
@@ -8483,24 +8486,24 @@ function _object_without_properties_loose$6(source, excluded) {
8483
8486
  }
8484
8487
  return target;
8485
8488
  }
8486
- function _sliced_to_array$k(arr, i) {
8487
- return _array_with_holes$k(arr) || _iterable_to_array_limit$k(arr, i) || _unsupported_iterable_to_array$k(arr, i) || _non_iterable_rest$k();
8489
+ function _sliced_to_array$j(arr, i) {
8490
+ return _array_with_holes$j(arr) || _iterable_to_array_limit$j(arr, i) || _unsupported_iterable_to_array$j(arr, i) || _non_iterable_rest$j();
8488
8491
  }
8489
8492
  function _to_consumable_array$4(arr) {
8490
- return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$k(arr) || _non_iterable_spread$4();
8493
+ return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$j(arr) || _non_iterable_spread$4();
8491
8494
  }
8492
- function _unsupported_iterable_to_array$k(o, minLen) {
8495
+ function _unsupported_iterable_to_array$j(o, minLen) {
8493
8496
  if (!o)
8494
8497
  return;
8495
8498
  if (typeof o === "string")
8496
- return _array_like_to_array$k(o, minLen);
8499
+ return _array_like_to_array$j(o, minLen);
8497
8500
  var n = Object.prototype.toString.call(o).slice(8, -1);
8498
8501
  if (n === "Object" && o.constructor)
8499
8502
  n = o.constructor.name;
8500
8503
  if (n === "Map" || n === "Set")
8501
8504
  return Array.from(n);
8502
8505
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
8503
- return _array_like_to_array$k(o, minLen);
8506
+ return _array_like_to_array$j(o, minLen);
8504
8507
  }
8505
8508
  var __generator$4 = globalThis && globalThis.__generator || function(thisArg, body) {
8506
8509
  var f, y, t, g, _ = {
@@ -8636,7 +8639,7 @@ function Select(props) {
8636
8639
  "convertValueToReactNode",
8637
8640
  "optionsFilter"
8638
8641
  ]);
8639
- var classes = useStyles$v({
8642
+ var classes = useStyles$w({
8640
8643
  theme: tweakStyles
8641
8644
  });
8642
8645
  var shouldRenderSearchInputInList = (searchInput === null || searchInput === void 0 ? void 0 : searchInput.shouldRenderInList) === true;
@@ -8664,12 +8667,12 @@ function Select(props) {
8664
8667
  currentComponentName: "Select"
8665
8668
  });
8666
8669
  var isMounted = useIsMounted();
8667
- var _useState = _sliced_to_array$k(useState(false), 2), isListOpen = _useState[0], setIsListOpen = _useState[1];
8668
- var _useState1 = _sliced_to_array$k(useState(false), 2), areOptionsLoading = _useState1[0], setAreOptionsLoading = _useState1[1];
8670
+ var _useState = _sliced_to_array$j(useState(false), 2), isListOpen = _useState[0], setIsListOpen = _useState[1];
8671
+ var _useState1 = _sliced_to_array$j(useState(false), 2), areOptionsLoading = _useState1[0], setAreOptionsLoading = _useState1[1];
8669
8672
  var hasDefaultOption = isStringNotEmpty(defaultOptionLabel);
8670
- var _useState2 = _sliced_to_array$k(useState(DEFAULT_OPTION_INDEX), 2), focusedListCellIndex = _useState2[0], setFocusedListCellIndex = _useState2[1];
8671
- var _useState3 = _sliced_to_array$k(useState(""), 2), searchValue = _useState3[0], setSearchValue = _useState3[1];
8672
- var _useState4 = _sliced_to_array$k(useState(true), 2), shouldShowDefaultOption = _useState4[0], setShouldShowDefaultOption = _useState4[1];
8673
+ var _useState2 = _sliced_to_array$j(useState(DEFAULT_OPTION_INDEX), 2), focusedListCellIndex = _useState2[0], setFocusedListCellIndex = _useState2[1];
8674
+ var _useState3 = _sliced_to_array$j(useState(""), 2), searchValue = _useState3[0], setSearchValue = _useState3[1];
8675
+ var _useState4 = _sliced_to_array$j(useState(true), 2), shouldShowDefaultOption = _useState4[0], setShouldShowDefaultOption = _useState4[1];
8673
8676
  var inputWrapper = useRef(null);
8674
8677
  var list = useRef(null);
8675
8678
  var input = useRef(null);
@@ -8963,7 +8966,7 @@ function Select(props) {
8963
8966
  isOpen
8964
8967
  ]);
8965
8968
  var _obj;
8966
- var listEl = /* @__PURE__ */ jsx("div", _object_spread_props$r(_object_spread$x({
8969
+ var listEl = /* @__PURE__ */ jsx("div", _object_spread_props$s(_object_spread$x({
8967
8970
  className: clsx(classes.listWrapper, (_obj = {}, _define_property$z(_obj, classes.withoutPopper, !shouldUsePopper), _define_property$z(_obj, classes.listWrapperInBody, shouldRenderInBody), _obj)),
8968
8971
  ref: list,
8969
8972
  style: popperData === null || popperData === void 0 ? void 0 : popperData.styles.popper,
@@ -9058,7 +9061,7 @@ function Select(props) {
9058
9061
  }
9059
9062
  var SELECT_PADDING_LEFT = 12;
9060
9063
  var SELECT_PADDING_RIGHT = 24;
9061
- var useStyles$u = createThemedStyles("DatePickerHeader", {
9064
+ var useStyles$v = createThemedStyles("DatePickerHeader", {
9062
9065
  btn: {
9063
9066
  width: 36,
9064
9067
  height: 36,
@@ -9127,7 +9130,7 @@ var selectStyles$1 = {
9127
9130
  };
9128
9131
  var DatePickerHeader = function(param) {
9129
9132
  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;
9130
- var classes = useStyles$u({
9133
+ var classes = useStyles$v({
9131
9134
  theme: tweakStyles
9132
9135
  });
9133
9136
  var tweakSelectStyles = useTweakStyles({
@@ -9236,7 +9239,7 @@ var getDateValueParser = function(dateFormat) {
9236
9239
  var areDatesEquals = function(date1, date2) {
9237
9240
  return isEmpty(date1) && isEmpty(date2) || isNotEmpty(date1) && isNotEmpty(date2) && isSameDay(date1, date2);
9238
9241
  };
9239
- var useStyles$t = createThemedStyles("DatePicker", {
9242
+ var useStyles$u = createThemedStyles("DatePicker", {
9240
9243
  root: {
9241
9244
  width: "100%",
9242
9245
  height: "100%"
@@ -9259,14 +9262,14 @@ var useStyles$t = createThemedStyles("DatePicker", {
9259
9262
  }
9260
9263
  }
9261
9264
  });
9262
- function _array_like_to_array$j(arr, len) {
9265
+ function _array_like_to_array$i(arr, len) {
9263
9266
  if (len == null || len > arr.length)
9264
9267
  len = arr.length;
9265
9268
  for (var i = 0, arr2 = new Array(len); i < len; i++)
9266
9269
  arr2[i] = arr[i];
9267
9270
  return arr2;
9268
9271
  }
9269
- function _array_with_holes$j(arr) {
9272
+ function _array_with_holes$i(arr) {
9270
9273
  if (Array.isArray(arr))
9271
9274
  return arr;
9272
9275
  }
@@ -9283,7 +9286,7 @@ function _define_property$y(obj, key, value) {
9283
9286
  }
9284
9287
  return obj;
9285
9288
  }
9286
- function _iterable_to_array_limit$j(arr, i) {
9289
+ function _iterable_to_array_limit$i(arr, i) {
9287
9290
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
9288
9291
  if (_i == null)
9289
9292
  return;
@@ -9311,7 +9314,7 @@ function _iterable_to_array_limit$j(arr, i) {
9311
9314
  }
9312
9315
  return _arr;
9313
9316
  }
9314
- function _non_iterable_rest$j() {
9317
+ function _non_iterable_rest$i() {
9315
9318
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9316
9319
  }
9317
9320
  function _object_spread$w(target) {
@@ -9329,8 +9332,8 @@ function _object_spread$w(target) {
9329
9332
  }
9330
9333
  return target;
9331
9334
  }
9332
- function ownKeys$q(object, enumerableOnly) {
9333
- var keys = Object.keys(object);
9335
+ function ownKeys$r(object, enumerableOnly) {
9336
+ var keys2 = Object.keys(object);
9334
9337
  if (Object.getOwnPropertySymbols) {
9335
9338
  var symbols = Object.getOwnPropertySymbols(object);
9336
9339
  if (enumerableOnly) {
@@ -9338,16 +9341,16 @@ function ownKeys$q(object, enumerableOnly) {
9338
9341
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
9339
9342
  });
9340
9343
  }
9341
- keys.push.apply(keys, symbols);
9344
+ keys2.push.apply(keys2, symbols);
9342
9345
  }
9343
- return keys;
9346
+ return keys2;
9344
9347
  }
9345
- function _object_spread_props$q(target, source) {
9348
+ function _object_spread_props$r(target, source) {
9346
9349
  source = source != null ? source : {};
9347
9350
  if (Object.getOwnPropertyDescriptors) {
9348
9351
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9349
9352
  } else {
9350
- ownKeys$q(Object(source)).forEach(function(key) {
9353
+ ownKeys$r(Object(source)).forEach(function(key) {
9351
9354
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
9352
9355
  });
9353
9356
  }
@@ -9385,26 +9388,25 @@ function _object_without_properties_loose$5(source, excluded) {
9385
9388
  }
9386
9389
  return target;
9387
9390
  }
9388
- function _sliced_to_array$j(arr, i) {
9389
- return _array_with_holes$j(arr) || _iterable_to_array_limit$j(arr, i) || _unsupported_iterable_to_array$j(arr, i) || _non_iterable_rest$j();
9391
+ function _sliced_to_array$i(arr, i) {
9392
+ return _array_with_holes$i(arr) || _iterable_to_array_limit$i(arr, i) || _unsupported_iterable_to_array$i(arr, i) || _non_iterable_rest$i();
9390
9393
  }
9391
- function _unsupported_iterable_to_array$j(o, minLen) {
9394
+ function _unsupported_iterable_to_array$i(o, minLen) {
9392
9395
  if (!o)
9393
9396
  return;
9394
9397
  if (typeof o === "string")
9395
- return _array_like_to_array$j(o, minLen);
9398
+ return _array_like_to_array$i(o, minLen);
9396
9399
  var n = Object.prototype.toString.call(o).slice(8, -1);
9397
9400
  if (n === "Object" && o.constructor)
9398
9401
  n = o.constructor.name;
9399
9402
  if (n === "Map" || n === "Set")
9400
9403
  return Array.from(n);
9401
9404
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
9402
- return _array_like_to_array$j(o, minLen);
9405
+ return _array_like_to_array$i(o, minLen);
9403
9406
  }
9404
9407
  var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
9405
- 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, [
9408
+ 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, [
9406
9409
  "data",
9407
- "testId",
9408
9410
  "selectedDate",
9409
9411
  "minDate",
9410
9412
  "maxDate",
@@ -9448,7 +9450,7 @@ var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
9448
9450
  "onKeyDown",
9449
9451
  "tweakStyles"
9450
9452
  ]);
9451
- var classes = useStyles$t({
9453
+ var classes = useStyles$u({
9452
9454
  theme: tweakStyles
9453
9455
  });
9454
9456
  var tweakDateInputStyles = useTweakStyles({
@@ -9464,14 +9466,14 @@ var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
9464
9466
  }, [
9465
9467
  dateFormat
9466
9468
  ]), formatDate = _useMemo.formatDate, parseDateValue = _useMemo.parseDateValue;
9467
- var _useState = _sliced_to_array$j(useState(false), 2), isOpen = _useState[0], setIsOpen = _useState[1];
9468
- var _useState1 = _sliced_to_array$j(useState(formatDate(selectedDate)), 2), dateValue = _useState1[0], setDateValue = _useState1[1];
9469
- var _useState2 = _sliced_to_array$j(useState(startDate), 2), start2 = _useState2[0], setStart = _useState2[1];
9470
- var _useState3 = _sliced_to_array$j(useState(formatDate(startDate)), 2), startDateValue = _useState3[0], setStartDateValue = _useState3[1];
9471
- var _useState4 = _sliced_to_array$j(useState(endDate), 2), end2 = _useState4[0], setEnd = _useState4[1];
9472
- var _useState5 = _sliced_to_array$j(useState(formatDate(endDate)), 2), endDateValue = _useState5[0], setEndDateValue = _useState5[1];
9469
+ var _useState = _sliced_to_array$i(useState(false), 2), isOpen = _useState[0], setIsOpen = _useState[1];
9470
+ var _useState1 = _sliced_to_array$i(useState(formatDate(selectedDate)), 2), dateValue = _useState1[0], setDateValue = _useState1[1];
9471
+ var _useState2 = _sliced_to_array$i(useState(startDate), 2), start2 = _useState2[0], setStart = _useState2[1];
9472
+ var _useState3 = _sliced_to_array$i(useState(formatDate(startDate)), 2), startDateValue = _useState3[0], setStartDateValue = _useState3[1];
9473
+ var _useState4 = _sliced_to_array$i(useState(endDate), 2), end2 = _useState4[0], setEnd = _useState4[1];
9474
+ var _useState5 = _sliced_to_array$i(useState(formatDate(endDate)), 2), endDateValue = _useState5[0], setEndDateValue = _useState5[1];
9473
9475
  var hasDateInputValue = isRange ? isStringNotEmpty(startDateValue) || isStringNotEmpty(endDateValue) : isStringNotEmpty(dateValue);
9474
- var dateInputProps = _object_spread$w(_object_spread_props$q(_object_spread$w({}, inputProps), {
9476
+ var dateInputProps = _object_spread$w(_object_spread_props$r(_object_spread$w({}, inputProps), {
9475
9477
  isRange,
9476
9478
  isDisabled,
9477
9479
  isClearable,
@@ -9569,9 +9571,9 @@ var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
9569
9571
  startDate,
9570
9572
  endDate
9571
9573
  ]);
9572
- return /* @__PURE__ */ jsx("div", _object_spread_props$q(_object_spread$w({
9574
+ return /* @__PURE__ */ jsx("div", _object_spread_props$r(_object_spread$w({
9573
9575
  className: classes.root
9574
- }, addDataTestId(testId), addDataAttributes(data)), {
9576
+ }, addDataAttributes(data)), {
9575
9577
  children: /* @__PURE__ */ jsx(DatePickerComponent, _object_spread$w({
9576
9578
  ref,
9577
9579
  minDate,
@@ -9603,7 +9605,7 @@ var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
9603
9605
  customInputRef,
9604
9606
  customInput: /* @__PURE__ */ jsx(CustomInput, _object_spread$w({}, dateInputProps)),
9605
9607
  renderCustomHeader: renderCustomHeader !== null && renderCustomHeader !== void 0 ? renderCustomHeader : function(baseProps) {
9606
- return /* @__PURE__ */ jsx(DatePickerHeader, _object_spread_props$q(_object_spread$w({}, baseProps), {
9608
+ return /* @__PURE__ */ jsx(DatePickerHeader, _object_spread_props$r(_object_spread$w({}, baseProps), {
9607
9609
  months
9608
9610
  }));
9609
9611
  },
@@ -9640,7 +9642,7 @@ var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
9640
9642
  }));
9641
9643
  });
9642
9644
  var LINK_REGEXP = /(http(s?):\/\/(.*))(\s?)/;
9643
- var useStyles$s = createThemedStyles("Description", {
9645
+ var useStyles$t = createThemedStyles("Description", {
9644
9646
  root: {},
9645
9647
  button: {
9646
9648
  cursor: "pointer",
@@ -9670,14 +9672,14 @@ var useStyles$s = createThemedStyles("Description", {
9670
9672
  }
9671
9673
  }
9672
9674
  });
9673
- function _array_like_to_array$i(arr, len) {
9675
+ function _array_like_to_array$h(arr, len) {
9674
9676
  if (len == null || len > arr.length)
9675
9677
  len = arr.length;
9676
9678
  for (var i = 0, arr2 = new Array(len); i < len; i++)
9677
9679
  arr2[i] = arr[i];
9678
9680
  return arr2;
9679
9681
  }
9680
- function _array_with_holes$i(arr) {
9682
+ function _array_with_holes$h(arr) {
9681
9683
  if (Array.isArray(arr))
9682
9684
  return arr;
9683
9685
  }
@@ -9694,7 +9696,7 @@ function _define_property$x(obj, key, value) {
9694
9696
  }
9695
9697
  return obj;
9696
9698
  }
9697
- function _iterable_to_array_limit$i(arr, i) {
9699
+ function _iterable_to_array_limit$h(arr, i) {
9698
9700
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
9699
9701
  if (_i == null)
9700
9702
  return;
@@ -9722,7 +9724,7 @@ function _iterable_to_array_limit$i(arr, i) {
9722
9724
  }
9723
9725
  return _arr;
9724
9726
  }
9725
- function _non_iterable_rest$i() {
9727
+ function _non_iterable_rest$h() {
9726
9728
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9727
9729
  }
9728
9730
  function _object_spread$v(target) {
@@ -9740,8 +9742,8 @@ function _object_spread$v(target) {
9740
9742
  }
9741
9743
  return target;
9742
9744
  }
9743
- function ownKeys$p(object, enumerableOnly) {
9744
- var keys = Object.keys(object);
9745
+ function ownKeys$q(object, enumerableOnly) {
9746
+ var keys2 = Object.keys(object);
9745
9747
  if (Object.getOwnPropertySymbols) {
9746
9748
  var symbols = Object.getOwnPropertySymbols(object);
9747
9749
  if (enumerableOnly) {
@@ -9749,49 +9751,49 @@ function ownKeys$p(object, enumerableOnly) {
9749
9751
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
9750
9752
  });
9751
9753
  }
9752
- keys.push.apply(keys, symbols);
9754
+ keys2.push.apply(keys2, symbols);
9753
9755
  }
9754
- return keys;
9756
+ return keys2;
9755
9757
  }
9756
- function _object_spread_props$p(target, source) {
9758
+ function _object_spread_props$q(target, source) {
9757
9759
  source = source != null ? source : {};
9758
9760
  if (Object.getOwnPropertyDescriptors) {
9759
9761
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9760
9762
  } else {
9761
- ownKeys$p(Object(source)).forEach(function(key) {
9763
+ ownKeys$q(Object(source)).forEach(function(key) {
9762
9764
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
9763
9765
  });
9764
9766
  }
9765
9767
  return target;
9766
9768
  }
9767
- function _sliced_to_array$i(arr, i) {
9768
- return _array_with_holes$i(arr) || _iterable_to_array_limit$i(arr, i) || _unsupported_iterable_to_array$i(arr, i) || _non_iterable_rest$i();
9769
+ function _sliced_to_array$h(arr, i) {
9770
+ return _array_with_holes$h(arr) || _iterable_to_array_limit$h(arr, i) || _unsupported_iterable_to_array$h(arr, i) || _non_iterable_rest$h();
9769
9771
  }
9770
- function _unsupported_iterable_to_array$i(o, minLen) {
9772
+ function _unsupported_iterable_to_array$h(o, minLen) {
9771
9773
  if (!o)
9772
9774
  return;
9773
9775
  if (typeof o === "string")
9774
- return _array_like_to_array$i(o, minLen);
9776
+ return _array_like_to_array$h(o, minLen);
9775
9777
  var n = Object.prototype.toString.call(o).slice(8, -1);
9776
9778
  if (n === "Object" && o.constructor)
9777
9779
  n = o.constructor.name;
9778
9780
  if (n === "Map" || n === "Set")
9779
9781
  return Array.from(n);
9780
9782
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
9781
- return _array_like_to_array$i(o, minLen);
9783
+ return _array_like_to_array$h(o, minLen);
9782
9784
  }
9783
9785
  var Description = function(param) {
9784
9786
  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;
9785
- var classes = useStyles$s({
9787
+ var classes = useStyles$t({
9786
9788
  theme: tweakStyles
9787
9789
  });
9788
9790
  var isTooShort = text.length < truncateIndex;
9789
- var _useState = _sliced_to_array$i(useState(isAlwaysOpen), 2), isOpen = _useState[0], setIsOpen = _useState[1];
9791
+ var _useState = _sliced_to_array$h(useState(isAlwaysOpen), 2), isOpen = _useState[0], setIsOpen = _useState[1];
9790
9792
  var link = text.match(LINK_REGEXP);
9791
9793
  var linkText = link && link[0];
9792
9794
  var textWithNoLink = text.replace(LINK_REGEXP, "");
9793
9795
  var shortText = text.slice(0, text.slice(0, truncateIndex).lastIndexOf(" "));
9794
- return /* @__PURE__ */ jsxs("div", _object_spread_props$p(_object_spread$v({
9796
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$q(_object_spread$v({
9795
9797
  className: classes.root
9796
9798
  }, addDataTestId(testId), addDataAttributes(data)), {
9797
9799
  children: [
@@ -9998,14 +10000,14 @@ var constructRegExp = function(param) {
9998
10000
  var negativePart = "(\\-)?";
9999
10001
  return "^".concat(canBeNegative ? negativePart : "").concat(basePart).concat(canBeFloat ? floatPart : "", "$");
10000
10002
  };
10001
- function _array_like_to_array$h(arr, len) {
10003
+ function _array_like_to_array$g(arr, len) {
10002
10004
  if (len == null || len > arr.length)
10003
10005
  len = arr.length;
10004
10006
  for (var i = 0, arr2 = new Array(len); i < len; i++)
10005
10007
  arr2[i] = arr[i];
10006
10008
  return arr2;
10007
10009
  }
10008
- function _array_with_holes$h(arr) {
10010
+ function _array_with_holes$g(arr) {
10009
10011
  if (Array.isArray(arr))
10010
10012
  return arr;
10011
10013
  }
@@ -10051,7 +10053,7 @@ function _define_property$w(obj, key, value) {
10051
10053
  }
10052
10054
  return obj;
10053
10055
  }
10054
- function _iterable_to_array_limit$h(arr, i) {
10056
+ function _iterable_to_array_limit$g(arr, i) {
10055
10057
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
10056
10058
  if (_i == null)
10057
10059
  return;
@@ -10079,7 +10081,7 @@ function _iterable_to_array_limit$h(arr, i) {
10079
10081
  }
10080
10082
  return _arr;
10081
10083
  }
10082
- function _non_iterable_rest$h() {
10084
+ function _non_iterable_rest$g() {
10083
10085
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10084
10086
  }
10085
10087
  function _object_spread$u(target) {
@@ -10129,21 +10131,21 @@ function _object_without_properties_loose$4(source, excluded) {
10129
10131
  }
10130
10132
  return target;
10131
10133
  }
10132
- function _sliced_to_array$h(arr, i) {
10133
- return _array_with_holes$h(arr) || _iterable_to_array_limit$h(arr, i) || _unsupported_iterable_to_array$h(arr, i) || _non_iterable_rest$h();
10134
+ function _sliced_to_array$g(arr, i) {
10135
+ return _array_with_holes$g(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$g(arr, i) || _non_iterable_rest$g();
10134
10136
  }
10135
- function _unsupported_iterable_to_array$h(o, minLen) {
10137
+ function _unsupported_iterable_to_array$g(o, minLen) {
10136
10138
  if (!o)
10137
10139
  return;
10138
10140
  if (typeof o === "string")
10139
- return _array_like_to_array$h(o, minLen);
10141
+ return _array_like_to_array$g(o, minLen);
10140
10142
  var n = Object.prototype.toString.call(o).slice(8, -1);
10141
10143
  if (n === "Object" && o.constructor)
10142
10144
  n = o.constructor.name;
10143
10145
  if (n === "Map" || n === "Set")
10144
10146
  return Array.from(n);
10145
10147
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
10146
- return _array_like_to_array$h(o, minLen);
10148
+ return _array_like_to_array$g(o, minLen);
10147
10149
  }
10148
10150
  var __generator$3 = globalThis && globalThis.__generator || function(thisArg, body) {
10149
10151
  var f, y, t, g, _ = {
@@ -10260,10 +10262,10 @@ var NumberInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
10260
10262
  "min",
10261
10263
  "max"
10262
10264
  ]);
10263
- var _useState = _sliced_to_array$h(useState(function() {
10265
+ var _useState = _sliced_to_array$g(useState(function() {
10264
10266
  return formatNumberWithDefault(value, defaultValue);
10265
10267
  }), 2), showedValue = _useState[0], setShowedValue = _useState[1];
10266
- var _useState1 = _sliced_to_array$h(useState(false), 2), isDeleteForwardAction = _useState1[0], setIsDeleteForwardAction = _useState1[1];
10268
+ var _useState1 = _sliced_to_array$g(useState(false), 2), isDeleteForwardAction = _useState1[0], setIsDeleteForwardAction = _useState1[1];
10267
10269
  var handleKeyDown = function(event) {
10268
10270
  setIsDeleteForwardAction(event.key === "Delete");
10269
10271
  };
@@ -10359,8 +10361,277 @@ var NumberInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
10359
10361
  ref
10360
10362
  }, props));
10361
10363
  });
10364
+ function arrayEach(array, iteratee) {
10365
+ var index = -1, length = array == null ? 0 : array.length;
10366
+ while (++index < length) {
10367
+ if (iteratee(array[index], index, array) === false) {
10368
+ break;
10369
+ }
10370
+ }
10371
+ return array;
10372
+ }
10373
+ var nativeKeys = overArg(Object.keys, Object);
10374
+ const nativeKeys$1 = nativeKeys;
10375
+ var objectProto$2 = Object.prototype;
10376
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
10377
+ function baseKeys(object) {
10378
+ if (!isPrototype(object)) {
10379
+ return nativeKeys$1(object);
10380
+ }
10381
+ var result = [];
10382
+ for (var key in Object(object)) {
10383
+ if (hasOwnProperty$1.call(object, key) && key != "constructor") {
10384
+ result.push(key);
10385
+ }
10386
+ }
10387
+ return result;
10388
+ }
10389
+ function keys(object) {
10390
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
10391
+ }
10392
+ function baseAssign(object, source) {
10393
+ return object && copyObject(source, keys(source), object);
10394
+ }
10395
+ function baseAssignIn(object, source) {
10396
+ return object && copyObject(source, keysIn(source), object);
10397
+ }
10398
+ function arrayFilter(array, predicate) {
10399
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
10400
+ while (++index < length) {
10401
+ var value = array[index];
10402
+ if (predicate(value, index, array)) {
10403
+ result[resIndex++] = value;
10404
+ }
10405
+ }
10406
+ return result;
10407
+ }
10408
+ function stubArray() {
10409
+ return [];
10410
+ }
10411
+ var objectProto$1 = Object.prototype;
10412
+ var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
10413
+ var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
10414
+ var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object) {
10415
+ if (object == null) {
10416
+ return [];
10417
+ }
10418
+ object = Object(object);
10419
+ return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
10420
+ return propertyIsEnumerable.call(object, symbol);
10421
+ });
10422
+ };
10423
+ const getSymbols$1 = getSymbols;
10424
+ function copySymbols(source, object) {
10425
+ return copyObject(source, getSymbols$1(source), object);
10426
+ }
10427
+ function arrayPush(array, values) {
10428
+ var index = -1, length = values.length, offset2 = array.length;
10429
+ while (++index < length) {
10430
+ array[offset2 + index] = values[index];
10431
+ }
10432
+ return array;
10433
+ }
10434
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
10435
+ var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
10436
+ var result = [];
10437
+ while (object) {
10438
+ arrayPush(result, getSymbols$1(object));
10439
+ object = getPrototype$1(object);
10440
+ }
10441
+ return result;
10442
+ };
10443
+ const getSymbolsIn$1 = getSymbolsIn;
10444
+ function copySymbolsIn(source, object) {
10445
+ return copyObject(source, getSymbolsIn$1(source), object);
10446
+ }
10447
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
10448
+ var result = keysFunc(object);
10449
+ return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
10450
+ }
10451
+ function getAllKeys(object) {
10452
+ return baseGetAllKeys(object, keys, getSymbols$1);
10453
+ }
10454
+ function getAllKeysIn(object) {
10455
+ return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
10456
+ }
10457
+ var DataView = getNative(root$1, "DataView");
10458
+ const DataView$1 = DataView;
10459
+ var Promise$1 = getNative(root$1, "Promise");
10460
+ const Promise$2 = Promise$1;
10461
+ var Set$1 = getNative(root$1, "Set");
10462
+ const Set$2 = Set$1;
10463
+ var WeakMap$1 = getNative(root$1, "WeakMap");
10464
+ const WeakMap$2 = WeakMap$1;
10465
+ var mapTag$3 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$3 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
10466
+ var dataViewTag$2 = "[object DataView]";
10467
+ var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$2), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$2), weakMapCtorString = toSource(WeakMap$2);
10468
+ var getTag = baseGetTag;
10469
+ 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) {
10470
+ getTag = function(value) {
10471
+ var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
10472
+ if (ctorString) {
10473
+ switch (ctorString) {
10474
+ case dataViewCtorString:
10475
+ return dataViewTag$2;
10476
+ case mapCtorString:
10477
+ return mapTag$3;
10478
+ case promiseCtorString:
10479
+ return promiseTag;
10480
+ case setCtorString:
10481
+ return setTag$3;
10482
+ case weakMapCtorString:
10483
+ return weakMapTag$1;
10484
+ }
10485
+ }
10486
+ return result;
10487
+ };
10488
+ }
10489
+ const getTag$1 = getTag;
10490
+ var objectProto = Object.prototype;
10491
+ var hasOwnProperty = objectProto.hasOwnProperty;
10492
+ function initCloneArray(array) {
10493
+ var length = array.length, result = new array.constructor(length);
10494
+ if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
10495
+ result.index = array.index;
10496
+ result.input = array.input;
10497
+ }
10498
+ return result;
10499
+ }
10500
+ function cloneDataView(dataView, isDeep) {
10501
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
10502
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
10503
+ }
10504
+ var reFlags = /\w*$/;
10505
+ function cloneRegExp(regexp) {
10506
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
10507
+ result.lastIndex = regexp.lastIndex;
10508
+ return result;
10509
+ }
10510
+ var symbolProto = Symbol$2 ? Symbol$2.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
10511
+ function cloneSymbol(symbol) {
10512
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
10513
+ }
10514
+ 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]";
10515
+ 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]";
10516
+ function initCloneByTag(object, tag, isDeep) {
10517
+ var Ctor = object.constructor;
10518
+ switch (tag) {
10519
+ case arrayBufferTag$1:
10520
+ return cloneArrayBuffer(object);
10521
+ case boolTag$1:
10522
+ case dateTag$1:
10523
+ return new Ctor(+object);
10524
+ case dataViewTag$1:
10525
+ return cloneDataView(object, isDeep);
10526
+ case float32Tag$1:
10527
+ case float64Tag$1:
10528
+ case int8Tag$1:
10529
+ case int16Tag$1:
10530
+ case int32Tag$1:
10531
+ case uint8Tag$1:
10532
+ case uint8ClampedTag$1:
10533
+ case uint16Tag$1:
10534
+ case uint32Tag$1:
10535
+ return cloneTypedArray(object, isDeep);
10536
+ case mapTag$2:
10537
+ return new Ctor();
10538
+ case numberTag$1:
10539
+ case stringTag$1:
10540
+ return new Ctor(object);
10541
+ case regexpTag$1:
10542
+ return cloneRegExp(object);
10543
+ case setTag$2:
10544
+ return new Ctor();
10545
+ case symbolTag$1:
10546
+ return cloneSymbol(object);
10547
+ }
10548
+ }
10549
+ var mapTag$1 = "[object Map]";
10550
+ function baseIsMap(value) {
10551
+ return isObjectLike(value) && getTag$1(value) == mapTag$1;
10552
+ }
10553
+ var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
10554
+ var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
10555
+ const isMap$1 = isMap;
10556
+ var setTag$1 = "[object Set]";
10557
+ function baseIsSet(value) {
10558
+ return isObjectLike(value) && getTag$1(value) == setTag$1;
10559
+ }
10560
+ var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet;
10561
+ var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
10562
+ const isSet$1 = isSet;
10563
+ var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
10564
+ 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]";
10565
+ 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]";
10566
+ var cloneableTags = {};
10567
+ 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;
10568
+ cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
10569
+ function baseClone(value, bitmask, customizer, key, object, stack) {
10570
+ var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
10571
+ if (customizer) {
10572
+ result = object ? customizer(value, key, object, stack) : customizer(value);
10573
+ }
10574
+ if (result !== void 0) {
10575
+ return result;
10576
+ }
10577
+ if (!isObject(value)) {
10578
+ return value;
10579
+ }
10580
+ var isArr = isArray$1(value);
10581
+ if (isArr) {
10582
+ result = initCloneArray(value);
10583
+ if (!isDeep) {
10584
+ return copyArray(value, result);
10585
+ }
10586
+ } else {
10587
+ var tag = getTag$1(value), isFunc = tag == funcTag || tag == genTag;
10588
+ if (isBuffer$1(value)) {
10589
+ return cloneBuffer(value, isDeep);
10590
+ }
10591
+ if (tag == objectTag || tag == argsTag || isFunc && !object) {
10592
+ result = isFlat || isFunc ? {} : initCloneObject(value);
10593
+ if (!isDeep) {
10594
+ return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));
10595
+ }
10596
+ } else {
10597
+ if (!cloneableTags[tag]) {
10598
+ return object ? value : {};
10599
+ }
10600
+ result = initCloneByTag(value, tag, isDeep);
10601
+ }
10602
+ }
10603
+ stack || (stack = new Stack());
10604
+ var stacked = stack.get(value);
10605
+ if (stacked) {
10606
+ return stacked;
10607
+ }
10608
+ stack.set(value, result);
10609
+ if (isSet$1(value)) {
10610
+ value.forEach(function(subValue) {
10611
+ result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
10612
+ });
10613
+ } else if (isMap$1(value)) {
10614
+ value.forEach(function(subValue, key2) {
10615
+ result.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
10616
+ });
10617
+ }
10618
+ var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;
10619
+ var props = isArr ? void 0 : keysFunc(value);
10620
+ arrayEach(props || value, function(subValue, key2) {
10621
+ if (props) {
10622
+ key2 = subValue;
10623
+ subValue = value[key2];
10624
+ }
10625
+ assignValue(result, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
10626
+ });
10627
+ return result;
10628
+ }
10629
+ var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
10630
+ function cloneDeep(value) {
10631
+ return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
10632
+ }
10362
10633
  var FILTER_HEIGHT = 36;
10363
- var useStyles$r = createThemedStyles("FiltersPane", {
10634
+ var useStyles$s = createThemedStyles("FiltersPane", {
10364
10635
  root: {
10365
10636
  display: "flex",
10366
10637
  flexWrap: "wrap",
@@ -10425,7 +10696,7 @@ var innerTextButtonStyles = {
10425
10696
  }
10426
10697
  }
10427
10698
  };
10428
- var useStyles$q = createThemedStyles("FilterInterval", {
10699
+ var useStyles$r = createThemedStyles("FilterInterval", {
10429
10700
  root: {
10430
10701
  padding: 8,
10431
10702
  background: colors.CLASSIC_WHITE
@@ -10467,7 +10738,7 @@ var inputStyles$3 = {
10467
10738
  }
10468
10739
  }
10469
10740
  };
10470
- var clearButtonStyles$3 = innerTextButtonStyles;
10741
+ var clearButtonStyles$3 = cloneDeep(innerTextButtonStyles);
10471
10742
  function _define_property$v(obj, key, value) {
10472
10743
  if (key in obj) {
10473
10744
  Object.defineProperty(obj, key, {
@@ -10496,8 +10767,8 @@ function _object_spread$t(target) {
10496
10767
  }
10497
10768
  return target;
10498
10769
  }
10499
- function ownKeys$o(object, enumerableOnly) {
10500
- var keys = Object.keys(object);
10770
+ function ownKeys$p(object, enumerableOnly) {
10771
+ var keys2 = Object.keys(object);
10501
10772
  if (Object.getOwnPropertySymbols) {
10502
10773
  var symbols = Object.getOwnPropertySymbols(object);
10503
10774
  if (enumerableOnly) {
@@ -10505,16 +10776,16 @@ function ownKeys$o(object, enumerableOnly) {
10505
10776
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
10506
10777
  });
10507
10778
  }
10508
- keys.push.apply(keys, symbols);
10779
+ keys2.push.apply(keys2, symbols);
10509
10780
  }
10510
- return keys;
10781
+ return keys2;
10511
10782
  }
10512
- function _object_spread_props$o(target, source) {
10783
+ function _object_spread_props$p(target, source) {
10513
10784
  source = source != null ? source : {};
10514
10785
  if (Object.getOwnPropertyDescriptors) {
10515
10786
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
10516
10787
  } else {
10517
- ownKeys$o(Object(source)).forEach(function(key) {
10788
+ ownKeys$p(Object(source)).forEach(function(key) {
10518
10789
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
10519
10790
  });
10520
10791
  }
@@ -10522,7 +10793,7 @@ function _object_spread_props$o(target, source) {
10522
10793
  }
10523
10794
  var FilterInterval = function(param) {
10524
10795
  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;
10525
- var classes = useStyles$q({
10796
+ var classes = useStyles$r({
10526
10797
  theme: tweakStyles
10527
10798
  });
10528
10799
  var translates = useMemo(function() {
@@ -10566,7 +10837,7 @@ var FilterInterval = function(param) {
10566
10837
  className: "tweakClearButton",
10567
10838
  currentComponentName: "FilterInterval"
10568
10839
  });
10569
- return /* @__PURE__ */ jsxs("div", _object_spread_props$o(_object_spread$t({
10840
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$p(_object_spread$t({
10570
10841
  className: classes.root
10571
10842
  }, addDataAttributes(data)), {
10572
10843
  children: [
@@ -10693,8 +10964,9 @@ function _object_spread$s(target) {
10693
10964
  }
10694
10965
  var ITEM_HEIGHT$1 = 40;
10695
10966
  var TOP_GAP = 12;
10696
- var useStyles$p = createThemedStyles("MultiSelectList", {
10967
+ var useStyles$q = createThemedStyles("MultiSelectList", {
10697
10968
  root: {
10969
+ width: 220,
10698
10970
  background: colors.CLASSIC_WHITE
10699
10971
  },
10700
10972
  list: _object_spread$s({
@@ -10790,10 +11062,13 @@ var checkboxStyles = {
10790
11062
  padding: [
10791
11063
  11,
10792
11064
  16
10793
- ]
11065
+ ],
11066
+ boxSizing: "border-box",
11067
+ width: "100%"
10794
11068
  },
10795
11069
  children: {
10796
- marginRight: "auto"
11070
+ marginRight: "auto",
11071
+ overflow: "hidden"
10797
11072
  }
10798
11073
  };
10799
11074
  var clearButtonStyles$2 = {
@@ -10807,20 +11082,20 @@ var clearButtonStyles$2 = {
10807
11082
  }
10808
11083
  }
10809
11084
  };
10810
- function _array_like_to_array$g(arr, len) {
11085
+ function _array_like_to_array$f(arr, len) {
10811
11086
  if (len == null || len > arr.length)
10812
11087
  len = arr.length;
10813
11088
  for (var i = 0, arr2 = new Array(len); i < len; i++)
10814
11089
  arr2[i] = arr[i];
10815
11090
  return arr2;
10816
11091
  }
10817
- function _array_with_holes$g(arr) {
11092
+ function _array_with_holes$f(arr) {
10818
11093
  if (Array.isArray(arr))
10819
11094
  return arr;
10820
11095
  }
10821
11096
  function _array_without_holes$3(arr) {
10822
11097
  if (Array.isArray(arr))
10823
- return _array_like_to_array$g(arr);
11098
+ return _array_like_to_array$f(arr);
10824
11099
  }
10825
11100
  function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
10826
11101
  try {
@@ -10868,7 +11143,7 @@ function _iterable_to_array$3(iter) {
10868
11143
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
10869
11144
  return Array.from(iter);
10870
11145
  }
10871
- function _iterable_to_array_limit$g(arr, i) {
11146
+ function _iterable_to_array_limit$f(arr, i) {
10872
11147
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
10873
11148
  if (_i == null)
10874
11149
  return;
@@ -10896,7 +11171,7 @@ function _iterable_to_array_limit$g(arr, i) {
10896
11171
  }
10897
11172
  return _arr;
10898
11173
  }
10899
- function _non_iterable_rest$g() {
11174
+ function _non_iterable_rest$f() {
10900
11175
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10901
11176
  }
10902
11177
  function _non_iterable_spread$3() {
@@ -10917,8 +11192,8 @@ function _object_spread$r(target) {
10917
11192
  }
10918
11193
  return target;
10919
11194
  }
10920
- function ownKeys$n(object, enumerableOnly) {
10921
- var keys = Object.keys(object);
11195
+ function ownKeys$o(object, enumerableOnly) {
11196
+ var keys2 = Object.keys(object);
10922
11197
  if (Object.getOwnPropertySymbols) {
10923
11198
  var symbols = Object.getOwnPropertySymbols(object);
10924
11199
  if (enumerableOnly) {
@@ -10926,39 +11201,39 @@ function ownKeys$n(object, enumerableOnly) {
10926
11201
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
10927
11202
  });
10928
11203
  }
10929
- keys.push.apply(keys, symbols);
11204
+ keys2.push.apply(keys2, symbols);
10930
11205
  }
10931
- return keys;
11206
+ return keys2;
10932
11207
  }
10933
- function _object_spread_props$n(target, source) {
11208
+ function _object_spread_props$o(target, source) {
10934
11209
  source = source != null ? source : {};
10935
11210
  if (Object.getOwnPropertyDescriptors) {
10936
11211
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
10937
11212
  } else {
10938
- ownKeys$n(Object(source)).forEach(function(key) {
11213
+ ownKeys$o(Object(source)).forEach(function(key) {
10939
11214
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
10940
11215
  });
10941
11216
  }
10942
11217
  return target;
10943
11218
  }
10944
- function _sliced_to_array$g(arr, i) {
10945
- return _array_with_holes$g(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$g(arr, i) || _non_iterable_rest$g();
11219
+ function _sliced_to_array$f(arr, i) {
11220
+ return _array_with_holes$f(arr) || _iterable_to_array_limit$f(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$f();
10946
11221
  }
10947
11222
  function _to_consumable_array$3(arr) {
10948
- return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$g(arr) || _non_iterable_spread$3();
11223
+ return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$f(arr) || _non_iterable_spread$3();
10949
11224
  }
10950
- function _unsupported_iterable_to_array$g(o, minLen) {
11225
+ function _unsupported_iterable_to_array$f(o, minLen) {
10951
11226
  if (!o)
10952
11227
  return;
10953
11228
  if (typeof o === "string")
10954
- return _array_like_to_array$g(o, minLen);
11229
+ return _array_like_to_array$f(o, minLen);
10955
11230
  var n = Object.prototype.toString.call(o).slice(8, -1);
10956
11231
  if (n === "Object" && o.constructor)
10957
11232
  n = o.constructor.name;
10958
11233
  if (n === "Map" || n === "Set")
10959
11234
  return Array.from(n);
10960
11235
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
10961
- return _array_like_to_array$g(o, minLen);
11236
+ return _array_like_to_array$f(o, minLen);
10962
11237
  }
10963
11238
  var __generator$2 = globalThis && globalThis.__generator || function(thisArg, body) {
10964
11239
  var f, y, t, g, _ = {
@@ -11063,7 +11338,7 @@ var __generator$2 = globalThis && globalThis.__generator || function(thisArg, bo
11063
11338
  }
11064
11339
  };
11065
11340
  function MultiSelectList(param) {
11066
- 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;
11341
+ 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;
11067
11342
  var handleOnChange = function handleOnChange2(inputValue) {
11068
11343
  setSearchValue(inputValue);
11069
11344
  if (fetchOptions === void 0) {
@@ -11079,7 +11354,7 @@ function MultiSelectList(param) {
11079
11354
  }
11080
11355
  };
11081
11356
  var isMounted = useIsMounted();
11082
- var classes = useStyles$p({
11357
+ var classes = useStyles$q({
11083
11358
  theme: tweakStyles
11084
11359
  });
11085
11360
  var tweakCheckboxStyles = useTweakStyles({
@@ -11100,13 +11375,13 @@ function MultiSelectList(param) {
11100
11375
  className: "tweakClearButton",
11101
11376
  currentComponentName: "MultiSelectList"
11102
11377
  });
11103
- var _useState = _sliced_to_array$g(useState(0), 2), keyCursorOn = _useState[0], setKeyCursorOn = _useState[1];
11104
- var _useState1 = _sliced_to_array$g(useState(""), 2), searchValue = _useState1[0], setSearchValue = _useState1[1];
11105
- var _useState2 = _sliced_to_array$g(useState([]), 2), allOptions = _useState2[0], setAllOptions = _useState2[1];
11106
- var _useState3 = _sliced_to_array$g(useState(false), 2), isLoading = _useState3[0], setIsLoading = _useState3[1];
11107
- var _useState4 = _sliced_to_array$g(useState(false), 2), isLoadingOptionsOnScroll = _useState4[0], setLoadingOptionsOnScroll = _useState4[1];
11108
- var _useState5 = _sliced_to_array$g(useState(0), 2), activePage = _useState5[0], setActivePage = _useState5[1];
11109
- var _useState6 = _sliced_to_array$g(useState(false), 2), isMaxPage = _useState6[0], setIsMaxPage = _useState6[1];
11378
+ var _useState = _sliced_to_array$f(useState(0), 2), keyCursorOn = _useState[0], setKeyCursorOn = _useState[1];
11379
+ var _useState1 = _sliced_to_array$f(useState(""), 2), searchValue = _useState1[0], setSearchValue = _useState1[1];
11380
+ var _useState2 = _sliced_to_array$f(useState([]), 2), allOptions = _useState2[0], setAllOptions = _useState2[1];
11381
+ var _useState3 = _sliced_to_array$f(useState(false), 2), isLoading = _useState3[0], setIsLoading = _useState3[1];
11382
+ var _useState4 = _sliced_to_array$f(useState(false), 2), isLoadingOptionsOnScroll = _useState4[0], setLoadingOptionsOnScroll = _useState4[1];
11383
+ var _useState5 = _sliced_to_array$f(useState(0), 2), activePage = _useState5[0], setActivePage = _useState5[1];
11384
+ var _useState6 = _sliced_to_array$f(useState(false), 2), isMaxPage = _useState6[0], setIsMaxPage = _useState6[1];
11110
11385
  var observer = useRef();
11111
11386
  var chosenValues = value === null || value === void 0 ? void 0 : value.include;
11112
11387
  var translates = useMemo(function() {
@@ -11234,13 +11509,13 @@ function MultiSelectList(param) {
11234
11509
  if (value !== void 0) {
11235
11510
  if (keyCursorOn < value.include.length) {
11236
11511
  var _value_include_filter;
11237
- onChange(_object_spread_props$n(_object_spread$r({}, value), {
11512
+ onChange(_object_spread_props$o(_object_spread$r({}, value), {
11238
11513
  include: (_value_include_filter = value.include.filter(function(val) {
11239
11514
  return getValueId(val) !== getValueId(value.include[keyCursorOn]);
11240
11515
  })) !== null && _value_include_filter !== void 0 ? _value_include_filter : []
11241
11516
  }));
11242
11517
  } else {
11243
- onChange(_object_spread_props$n(_object_spread$r({}, value), {
11518
+ onChange(_object_spread_props$o(_object_spread$r({}, value), {
11244
11519
  include: _to_consumable_array$3(value.include).concat([
11245
11520
  unchosenOptions[keyCursorOn - value.include.length]
11246
11521
  ])
@@ -11439,11 +11714,8 @@ function MultiSelectList(param) {
11439
11714
  var shouldShowAllOptionsLabel = isGroupingEnabled && unchosenOptions.length > 0 && chosenValues !== void 0 && chosenValues.length > 0;
11440
11715
  var shouldShowPreloader = isLoading || isLoadingOptionsOnScroll;
11441
11716
  var shouldShowOptionsList = !isLoading && allOptions.length !== 0;
11442
- return /* @__PURE__ */ jsxs("div", _object_spread_props$n(_object_spread$r({
11443
- className: classes.root,
11444
- style: {
11445
- width
11446
- }
11717
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$o(_object_spread$r({
11718
+ className: classes.root
11447
11719
  }, addDataAttributes(data)), {
11448
11720
  children: [
11449
11721
  isSearchEnabled && /* @__PURE__ */ jsx("div", {
@@ -11607,8 +11879,9 @@ function _object_spread$p(target) {
11607
11879
  }
11608
11880
  var ITEM_HEIGHT = 40;
11609
11881
  var LIST_GAP = 12;
11610
- var useStyles$o = createThemedStyles("FilterSelect", {
11882
+ var useStyles$p = createThemedStyles("FilterSelect", {
11611
11883
  root: {
11884
+ width: 220,
11612
11885
  background: colors.CLASSIC_WHITE
11613
11886
  },
11614
11887
  list: _object_spread$p({
@@ -11738,21 +12011,21 @@ var searchInputStyles$1 = {
11738
12011
  }
11739
12012
  }
11740
12013
  };
11741
- var clearButtonStyles$1 = innerTextButtonStyles;
11742
- function _array_like_to_array$f(arr, len) {
12014
+ var clearButtonStyles$1 = cloneDeep(innerTextButtonStyles);
12015
+ function _array_like_to_array$e(arr, len) {
11743
12016
  if (len == null || len > arr.length)
11744
12017
  len = arr.length;
11745
12018
  for (var i = 0, arr2 = new Array(len); i < len; i++)
11746
12019
  arr2[i] = arr[i];
11747
12020
  return arr2;
11748
12021
  }
11749
- function _array_with_holes$f(arr) {
12022
+ function _array_with_holes$e(arr) {
11750
12023
  if (Array.isArray(arr))
11751
12024
  return arr;
11752
12025
  }
11753
12026
  function _array_without_holes$2(arr) {
11754
12027
  if (Array.isArray(arr))
11755
- return _array_like_to_array$f(arr);
12028
+ return _array_like_to_array$e(arr);
11756
12029
  }
11757
12030
  function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
11758
12031
  try {
@@ -11800,7 +12073,7 @@ function _iterable_to_array$2(iter) {
11800
12073
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
11801
12074
  return Array.from(iter);
11802
12075
  }
11803
- function _iterable_to_array_limit$f(arr, i) {
12076
+ function _iterable_to_array_limit$e(arr, i) {
11804
12077
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
11805
12078
  if (_i == null)
11806
12079
  return;
@@ -11828,7 +12101,7 @@ function _iterable_to_array_limit$f(arr, i) {
11828
12101
  }
11829
12102
  return _arr;
11830
12103
  }
11831
- function _non_iterable_rest$f() {
12104
+ function _non_iterable_rest$e() {
11832
12105
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11833
12106
  }
11834
12107
  function _non_iterable_spread$2() {
@@ -11849,8 +12122,8 @@ function _object_spread$o(target) {
11849
12122
  }
11850
12123
  return target;
11851
12124
  }
11852
- function ownKeys$m(object, enumerableOnly) {
11853
- var keys = Object.keys(object);
12125
+ function ownKeys$n(object, enumerableOnly) {
12126
+ var keys2 = Object.keys(object);
11854
12127
  if (Object.getOwnPropertySymbols) {
11855
12128
  var symbols = Object.getOwnPropertySymbols(object);
11856
12129
  if (enumerableOnly) {
@@ -11858,39 +12131,39 @@ function ownKeys$m(object, enumerableOnly) {
11858
12131
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
11859
12132
  });
11860
12133
  }
11861
- keys.push.apply(keys, symbols);
12134
+ keys2.push.apply(keys2, symbols);
11862
12135
  }
11863
- return keys;
12136
+ return keys2;
11864
12137
  }
11865
- function _object_spread_props$m(target, source) {
12138
+ function _object_spread_props$n(target, source) {
11866
12139
  source = source != null ? source : {};
11867
12140
  if (Object.getOwnPropertyDescriptors) {
11868
12141
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
11869
12142
  } else {
11870
- ownKeys$m(Object(source)).forEach(function(key) {
12143
+ ownKeys$n(Object(source)).forEach(function(key) {
11871
12144
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
11872
12145
  });
11873
12146
  }
11874
12147
  return target;
11875
12148
  }
11876
- function _sliced_to_array$f(arr, i) {
11877
- return _array_with_holes$f(arr) || _iterable_to_array_limit$f(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$f();
12149
+ function _sliced_to_array$e(arr, i) {
12150
+ return _array_with_holes$e(arr) || _iterable_to_array_limit$e(arr, i) || _unsupported_iterable_to_array$e(arr, i) || _non_iterable_rest$e();
11878
12151
  }
11879
12152
  function _to_consumable_array$2(arr) {
11880
- return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$f(arr) || _non_iterable_spread$2();
12153
+ return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$e(arr) || _non_iterable_spread$2();
11881
12154
  }
11882
- function _unsupported_iterable_to_array$f(o, minLen) {
12155
+ function _unsupported_iterable_to_array$e(o, minLen) {
11883
12156
  if (!o)
11884
12157
  return;
11885
12158
  if (typeof o === "string")
11886
- return _array_like_to_array$f(o, minLen);
12159
+ return _array_like_to_array$e(o, minLen);
11887
12160
  var n = Object.prototype.toString.call(o).slice(8, -1);
11888
12161
  if (n === "Object" && o.constructor)
11889
12162
  n = o.constructor.name;
11890
12163
  if (n === "Map" || n === "Set")
11891
12164
  return Array.from(n);
11892
12165
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
11893
- return _array_like_to_array$f(o, minLen);
12166
+ return _array_like_to_array$e(o, minLen);
11894
12167
  }
11895
12168
  var __generator$1 = globalThis && globalThis.__generator || function(thisArg, body) {
11896
12169
  var f, y, t, g, _ = {
@@ -11995,8 +12268,8 @@ var __generator$1 = globalThis && globalThis.__generator || function(thisArg, bo
11995
12268
  }
11996
12269
  };
11997
12270
  function FilterSelect(param) {
11998
- 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;
11999
- var classes = useStyles$o({
12271
+ 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;
12272
+ var classes = useStyles$p({
12000
12273
  theme: tweakStyles
12001
12274
  });
12002
12275
  var tweakSearchInputStyles = useTweakStyles({
@@ -12019,12 +12292,12 @@ function FilterSelect(param) {
12019
12292
  locale2
12020
12293
  ]);
12021
12294
  var observer = useRef();
12022
- var _useState = _sliced_to_array$f(useState(""), 2), searchValue = _useState[0], setSearchValue = _useState[1];
12023
- var _useState1 = _sliced_to_array$f(useState([]), 2), allOptions = _useState1[0], setAllOptions = _useState1[1];
12024
- var _useState2 = _sliced_to_array$f(useState(0), 2), activePage = _useState2[0], setActivePage = _useState2[1];
12025
- var _useState3 = _sliced_to_array$f(useState(false), 2), isMaxPage = _useState3[0], setIsMaxPage = _useState3[1];
12026
- var _useState4 = _sliced_to_array$f(useState(false), 2), isLoading = _useState4[0], setIsLoading = _useState4[1];
12027
- var _useState5 = _sliced_to_array$f(useState(false), 2), isLoadingOptionsOnScroll = _useState5[0], setLoadingOptionsOnScroll = _useState5[1];
12295
+ var _useState = _sliced_to_array$e(useState(""), 2), searchValue = _useState[0], setSearchValue = _useState[1];
12296
+ var _useState1 = _sliced_to_array$e(useState([]), 2), allOptions = _useState1[0], setAllOptions = _useState1[1];
12297
+ var _useState2 = _sliced_to_array$e(useState(0), 2), activePage = _useState2[0], setActivePage = _useState2[1];
12298
+ var _useState3 = _sliced_to_array$e(useState(false), 2), isMaxPage = _useState3[0], setIsMaxPage = _useState3[1];
12299
+ var _useState4 = _sliced_to_array$e(useState(false), 2), isLoading = _useState4[0], setIsLoading = _useState4[1];
12300
+ var _useState5 = _sliced_to_array$e(useState(false), 2), isLoadingOptionsOnScroll = _useState5[0], setLoadingOptionsOnScroll = _useState5[1];
12028
12301
  var shouldShowPreloader = isLoading || isLoadingOptionsOnScroll;
12029
12302
  var hasFooter = isReactNodeNotEmpty(footer);
12030
12303
  var handleSearchInputChange = useCallback(function() {
@@ -12267,11 +12540,8 @@ function FilterSelect(param) {
12267
12540
  }();
12268
12541
  doFetchOptions();
12269
12542
  }, []);
12270
- return /* @__PURE__ */ jsxs("div", _object_spread_props$m(_object_spread$o({
12271
- className: classes.root,
12272
- style: {
12273
- width
12274
- }
12543
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$n(_object_spread$o({
12544
+ className: classes.root
12275
12545
  }, addDataAttributes(data)), {
12276
12546
  children: [
12277
12547
  isSearchEnabled && /* @__PURE__ */ jsx("div", {
@@ -13483,7 +13753,7 @@ var locale = {
13483
13753
  }
13484
13754
  };
13485
13755
  const ru = locale;
13486
- var useStyles$n = createThemedStyles("FilterWithDates", {
13756
+ var useStyles$o = createThemedStyles("FilterWithDates", {
13487
13757
  root: {
13488
13758
  background: colors.CLASSIC_WHITE,
13489
13759
  position: "relative",
@@ -13509,7 +13779,7 @@ var useStyles$n = createThemedStyles("FilterWithDates", {
13509
13779
  },
13510
13780
  datepicker: {}
13511
13781
  });
13512
- var clearButtonStyles = innerTextButtonStyles;
13782
+ var clearButtonStyles = cloneDeep(innerTextButtonStyles);
13513
13783
  var backButtonStyles = innerTextButtonStyles;
13514
13784
  var PICKER_TOP_MARGIN = 28;
13515
13785
  var PICKER_WITH_BUTTONS_TOP_MARGIN = 60;
@@ -13539,14 +13809,14 @@ var endDatePickerWithButtonStyles = {
13539
13809
  marginLeft: END_PICKER_LEFT_MARGIN
13540
13810
  }
13541
13811
  };
13542
- function _array_like_to_array$e(arr, len) {
13812
+ function _array_like_to_array$d(arr, len) {
13543
13813
  if (len == null || len > arr.length)
13544
13814
  len = arr.length;
13545
13815
  for (var i = 0, arr2 = new Array(len); i < len; i++)
13546
13816
  arr2[i] = arr[i];
13547
13817
  return arr2;
13548
13818
  }
13549
- function _array_with_holes$e(arr) {
13819
+ function _array_with_holes$d(arr) {
13550
13820
  if (Array.isArray(arr))
13551
13821
  return arr;
13552
13822
  }
@@ -13563,7 +13833,7 @@ function _define_property$p(obj, key, value) {
13563
13833
  }
13564
13834
  return obj;
13565
13835
  }
13566
- function _iterable_to_array_limit$e(arr, i) {
13836
+ function _iterable_to_array_limit$d(arr, i) {
13567
13837
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
13568
13838
  if (_i == null)
13569
13839
  return;
@@ -13591,7 +13861,7 @@ function _iterable_to_array_limit$e(arr, i) {
13591
13861
  }
13592
13862
  return _arr;
13593
13863
  }
13594
- function _non_iterable_rest$e() {
13864
+ function _non_iterable_rest$d() {
13595
13865
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13596
13866
  }
13597
13867
  function _object_spread$n(target) {
@@ -13609,8 +13879,8 @@ function _object_spread$n(target) {
13609
13879
  }
13610
13880
  return target;
13611
13881
  }
13612
- function ownKeys$l(object, enumerableOnly) {
13613
- var keys = Object.keys(object);
13882
+ function ownKeys$m(object, enumerableOnly) {
13883
+ var keys2 = Object.keys(object);
13614
13884
  if (Object.getOwnPropertySymbols) {
13615
13885
  var symbols = Object.getOwnPropertySymbols(object);
13616
13886
  if (enumerableOnly) {
@@ -13618,40 +13888,40 @@ function ownKeys$l(object, enumerableOnly) {
13618
13888
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
13619
13889
  });
13620
13890
  }
13621
- keys.push.apply(keys, symbols);
13891
+ keys2.push.apply(keys2, symbols);
13622
13892
  }
13623
- return keys;
13893
+ return keys2;
13624
13894
  }
13625
- function _object_spread_props$l(target, source) {
13895
+ function _object_spread_props$m(target, source) {
13626
13896
  source = source != null ? source : {};
13627
13897
  if (Object.getOwnPropertyDescriptors) {
13628
13898
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
13629
13899
  } else {
13630
- ownKeys$l(Object(source)).forEach(function(key) {
13900
+ ownKeys$m(Object(source)).forEach(function(key) {
13631
13901
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
13632
13902
  });
13633
13903
  }
13634
13904
  return target;
13635
13905
  }
13636
- function _sliced_to_array$e(arr, i) {
13637
- return _array_with_holes$e(arr) || _iterable_to_array_limit$e(arr, i) || _unsupported_iterable_to_array$e(arr, i) || _non_iterable_rest$e();
13906
+ function _sliced_to_array$d(arr, i) {
13907
+ return _array_with_holes$d(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$d();
13638
13908
  }
13639
- function _unsupported_iterable_to_array$e(o, minLen) {
13909
+ function _unsupported_iterable_to_array$d(o, minLen) {
13640
13910
  if (!o)
13641
13911
  return;
13642
13912
  if (typeof o === "string")
13643
- return _array_like_to_array$e(o, minLen);
13913
+ return _array_like_to_array$d(o, minLen);
13644
13914
  var n = Object.prototype.toString.call(o).slice(8, -1);
13645
13915
  if (n === "Object" && o.constructor)
13646
13916
  n = o.constructor.name;
13647
13917
  if (n === "Map" || n === "Set")
13648
13918
  return Array.from(n);
13649
13919
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
13650
- return _array_like_to_array$e(o, minLen);
13920
+ return _array_like_to_array$d(o, minLen);
13651
13921
  }
13652
13922
  var FilterWithDates = function(param) {
13653
13923
  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;
13654
- var classes = useStyles$n({
13924
+ var classes = useStyles$o({
13655
13925
  theme: tweakStyles
13656
13926
  });
13657
13927
  var tweakClearButtonStyles = useTweakStyles({
@@ -13679,8 +13949,8 @@ var FilterWithDates = function(param) {
13679
13949
  className: "tweakEndDatePicker",
13680
13950
  currentComponentName: "FilterWithDates"
13681
13951
  });
13682
- var _useState = _sliced_to_array$e(useState(false), 2), isOpenFrom = _useState[0], setOpenFrom = _useState[1];
13683
- var _useState1 = _sliced_to_array$e(useState(false), 2), isOpenTo = _useState1[0], setOpenTo = _useState1[1];
13952
+ var _useState = _sliced_to_array$d(useState(false), 2), isOpenFrom = _useState[0], setOpenFrom = _useState[1];
13953
+ var _useState1 = _sliced_to_array$d(useState(false), 2), isOpenTo = _useState1[0], setOpenTo = _useState1[1];
13684
13954
  var ref = useRef(null);
13685
13955
  var dateLocale = localeKey === "ru" ? ru : enUS;
13686
13956
  var translates = useMemo(function() {
@@ -13738,7 +14008,7 @@ var FilterWithDates = function(param) {
13738
14008
  }
13739
14009
  };
13740
14010
  var _ref;
13741
- return /* @__PURE__ */ jsxs("div", _object_spread_props$l(_object_spread$n({
14011
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$m(_object_spread$n({
13742
14012
  className: classes.root
13743
14013
  }, addDataAttributes(data)), {
13744
14014
  children: [
@@ -13818,7 +14088,7 @@ var FilterWithDates = function(param) {
13818
14088
  ]
13819
14089
  }));
13820
14090
  };
13821
- var useStyles$m = createThemedStyles("FilterWithPeriod", {
14091
+ var useStyles$n = createThemedStyles("FilterWithPeriod", {
13822
14092
  root: {},
13823
14093
  main: {},
13824
14094
  picker: {}
@@ -13828,20 +14098,20 @@ var filterSelectStyles = {
13828
14098
  maxHeight: "auto"
13829
14099
  }
13830
14100
  };
13831
- function _array_like_to_array$d(arr, len) {
14101
+ function _array_like_to_array$c(arr, len) {
13832
14102
  if (len == null || len > arr.length)
13833
14103
  len = arr.length;
13834
14104
  for (var i = 0, arr2 = new Array(len); i < len; i++)
13835
14105
  arr2[i] = arr[i];
13836
14106
  return arr2;
13837
14107
  }
13838
- function _array_with_holes$d(arr) {
14108
+ function _array_with_holes$c(arr) {
13839
14109
  if (Array.isArray(arr))
13840
14110
  return arr;
13841
14111
  }
13842
14112
  function _array_without_holes$1(arr) {
13843
14113
  if (Array.isArray(arr))
13844
- return _array_like_to_array$d(arr);
14114
+ return _array_like_to_array$c(arr);
13845
14115
  }
13846
14116
  function _define_property$o(obj, key, value) {
13847
14117
  if (key in obj) {
@@ -13860,7 +14130,7 @@ function _iterable_to_array$1(iter) {
13860
14130
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
13861
14131
  return Array.from(iter);
13862
14132
  }
13863
- function _iterable_to_array_limit$d(arr, i) {
14133
+ function _iterable_to_array_limit$c(arr, i) {
13864
14134
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
13865
14135
  if (_i == null)
13866
14136
  return;
@@ -13888,7 +14158,7 @@ function _iterable_to_array_limit$d(arr, i) {
13888
14158
  }
13889
14159
  return _arr;
13890
14160
  }
13891
- function _non_iterable_rest$d() {
14161
+ function _non_iterable_rest$c() {
13892
14162
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13893
14163
  }
13894
14164
  function _non_iterable_spread$1() {
@@ -13909,8 +14179,8 @@ function _object_spread$m(target) {
13909
14179
  }
13910
14180
  return target;
13911
14181
  }
13912
- function ownKeys$k(object, enumerableOnly) {
13913
- var keys = Object.keys(object);
14182
+ function ownKeys$l(object, enumerableOnly) {
14183
+ var keys2 = Object.keys(object);
13914
14184
  if (Object.getOwnPropertySymbols) {
13915
14185
  var symbols = Object.getOwnPropertySymbols(object);
13916
14186
  if (enumerableOnly) {
@@ -13918,43 +14188,43 @@ function ownKeys$k(object, enumerableOnly) {
13918
14188
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
13919
14189
  });
13920
14190
  }
13921
- keys.push.apply(keys, symbols);
14191
+ keys2.push.apply(keys2, symbols);
13922
14192
  }
13923
- return keys;
14193
+ return keys2;
13924
14194
  }
13925
- function _object_spread_props$k(target, source) {
14195
+ function _object_spread_props$l(target, source) {
13926
14196
  source = source != null ? source : {};
13927
14197
  if (Object.getOwnPropertyDescriptors) {
13928
14198
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
13929
14199
  } else {
13930
- ownKeys$k(Object(source)).forEach(function(key) {
14200
+ ownKeys$l(Object(source)).forEach(function(key) {
13931
14201
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
13932
14202
  });
13933
14203
  }
13934
14204
  return target;
13935
14205
  }
13936
- function _sliced_to_array$d(arr, i) {
13937
- return _array_with_holes$d(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$d();
14206
+ function _sliced_to_array$c(arr, i) {
14207
+ return _array_with_holes$c(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$c();
13938
14208
  }
13939
14209
  function _to_consumable_array$1(arr) {
13940
- return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$d(arr) || _non_iterable_spread$1();
14210
+ return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$c(arr) || _non_iterable_spread$1();
13941
14211
  }
13942
- function _unsupported_iterable_to_array$d(o, minLen) {
14212
+ function _unsupported_iterable_to_array$c(o, minLen) {
13943
14213
  if (!o)
13944
14214
  return;
13945
14215
  if (typeof o === "string")
13946
- return _array_like_to_array$d(o, minLen);
14216
+ return _array_like_to_array$c(o, minLen);
13947
14217
  var n = Object.prototype.toString.call(o).slice(8, -1);
13948
14218
  if (n === "Object" && o.constructor)
13949
14219
  n = o.constructor.name;
13950
14220
  if (n === "Map" || n === "Set")
13951
14221
  return Array.from(n);
13952
14222
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
13953
- return _array_like_to_array$d(o, minLen);
14223
+ return _array_like_to_array$c(o, minLen);
13954
14224
  }
13955
14225
  var FilterWithPeriod = function(param) {
13956
14226
  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;
13957
- var classes = useStyles$m({
14227
+ var classes = useStyles$n({
13958
14228
  theme: tweakStyles
13959
14229
  });
13960
14230
  var translates = useMemo(function() {
@@ -13963,9 +14233,9 @@ var FilterWithPeriod = function(param) {
13963
14233
  localeKey,
13964
14234
  locale2
13965
14235
  ]);
13966
- var _useState = _sliced_to_array$d(useState((value === null || value === void 0 ? void 0 : value.periodType) !== "CUSTOM"), 2), isPeriodPickerShown = _useState[0], setIsPeriodPickerShown = _useState[1];
13967
- var _useState1 = _sliced_to_array$d(useState((value === null || value === void 0 ? void 0 : value.periodType) === "CUSTOM"), 2), isDatePickerShown = _useState1[0], setIsDatePickerShown = _useState1[1];
13968
- var _useState2 = _sliced_to_array$d(useState(value), 2), period = _useState2[0], setPeriod = _useState2[1];
14236
+ var _useState = _sliced_to_array$c(useState((value === null || value === void 0 ? void 0 : value.periodType) !== "CUSTOM"), 2), isPeriodPickerShown = _useState[0], setIsPeriodPickerShown = _useState[1];
14237
+ var _useState1 = _sliced_to_array$c(useState((value === null || value === void 0 ? void 0 : value.periodType) === "CUSTOM"), 2), isDatePickerShown = _useState1[0], setIsDatePickerShown = _useState1[1];
14238
+ var _useState2 = _sliced_to_array$c(useState(value), 2), period = _useState2[0], setPeriod = _useState2[1];
13969
14239
  var periodGetters = useMemo(function() {
13970
14240
  var result = _object_spread$m({}, PERIODS_GETTERS);
13971
14241
  periods === null || periods === void 0 ? void 0 : periods.forEach(function(p) {
@@ -14013,7 +14283,7 @@ var FilterWithPeriod = function(param) {
14013
14283
  if (onClose !== void 0) {
14014
14284
  onClose();
14015
14285
  }
14016
- onChange(_object_spread_props$k(_object_spread$m({}, p), {
14286
+ onChange(_object_spread_props$l(_object_spread$m({}, p), {
14017
14287
  label: getPeriodTranslate(periodType)
14018
14288
  }));
14019
14289
  }
@@ -14033,7 +14303,7 @@ var FilterWithPeriod = function(param) {
14033
14303
  };
14034
14304
  var handleCustomDateChange = function(val) {
14035
14305
  if (val.from || val.to) {
14036
- onChange(_object_spread_props$k(_object_spread$m({}, val), {
14306
+ onChange(_object_spread_props$l(_object_spread$m({}, val), {
14037
14307
  periodType: "CUSTOM"
14038
14308
  }));
14039
14309
  } else {
@@ -14105,14 +14375,14 @@ var FilterWithPeriod = function(param) {
14105
14375
  ]
14106
14376
  });
14107
14377
  };
14108
- function _array_like_to_array$c(arr, len) {
14378
+ function _array_like_to_array$b(arr, len) {
14109
14379
  if (len == null || len > arr.length)
14110
14380
  len = arr.length;
14111
14381
  for (var i = 0, arr2 = new Array(len); i < len; i++)
14112
14382
  arr2[i] = arr[i];
14113
14383
  return arr2;
14114
14384
  }
14115
- function _array_with_holes$c(arr) {
14385
+ function _array_with_holes$b(arr) {
14116
14386
  if (Array.isArray(arr))
14117
14387
  return arr;
14118
14388
  }
@@ -14129,7 +14399,7 @@ function _define_property$n(obj, key, value) {
14129
14399
  }
14130
14400
  return obj;
14131
14401
  }
14132
- function _iterable_to_array_limit$c(arr, i) {
14402
+ function _iterable_to_array_limit$b(arr, i) {
14133
14403
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14134
14404
  if (_i == null)
14135
14405
  return;
@@ -14157,7 +14427,7 @@ function _iterable_to_array_limit$c(arr, i) {
14157
14427
  }
14158
14428
  return _arr;
14159
14429
  }
14160
- function _non_iterable_rest$c() {
14430
+ function _non_iterable_rest$b() {
14161
14431
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14162
14432
  }
14163
14433
  function _object_spread$l(target) {
@@ -14175,8 +14445,8 @@ function _object_spread$l(target) {
14175
14445
  }
14176
14446
  return target;
14177
14447
  }
14178
- function ownKeys$j(object, enumerableOnly) {
14179
- var keys = Object.keys(object);
14448
+ function ownKeys$k(object, enumerableOnly) {
14449
+ var keys2 = Object.keys(object);
14180
14450
  if (Object.getOwnPropertySymbols) {
14181
14451
  var symbols = Object.getOwnPropertySymbols(object);
14182
14452
  if (enumerableOnly) {
@@ -14184,41 +14454,41 @@ function ownKeys$j(object, enumerableOnly) {
14184
14454
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
14185
14455
  });
14186
14456
  }
14187
- keys.push.apply(keys, symbols);
14457
+ keys2.push.apply(keys2, symbols);
14188
14458
  }
14189
- return keys;
14459
+ return keys2;
14190
14460
  }
14191
- function _object_spread_props$j(target, source) {
14461
+ function _object_spread_props$k(target, source) {
14192
14462
  source = source != null ? source : {};
14193
14463
  if (Object.getOwnPropertyDescriptors) {
14194
14464
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
14195
14465
  } else {
14196
- ownKeys$j(Object(source)).forEach(function(key) {
14466
+ ownKeys$k(Object(source)).forEach(function(key) {
14197
14467
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
14198
14468
  });
14199
14469
  }
14200
14470
  return target;
14201
14471
  }
14202
- function _sliced_to_array$c(arr, i) {
14203
- return _array_with_holes$c(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$c();
14472
+ function _sliced_to_array$b(arr, i) {
14473
+ return _array_with_holes$b(arr) || _iterable_to_array_limit$b(arr, i) || _unsupported_iterable_to_array$b(arr, i) || _non_iterable_rest$b();
14204
14474
  }
14205
- function _unsupported_iterable_to_array$c(o, minLen) {
14475
+ function _unsupported_iterable_to_array$b(o, minLen) {
14206
14476
  if (!o)
14207
14477
  return;
14208
14478
  if (typeof o === "string")
14209
- return _array_like_to_array$c(o, minLen);
14479
+ return _array_like_to_array$b(o, minLen);
14210
14480
  var n = Object.prototype.toString.call(o).slice(8, -1);
14211
14481
  if (n === "Object" && o.constructor)
14212
14482
  n = o.constructor.name;
14213
14483
  if (n === "Map" || n === "Set")
14214
14484
  return Array.from(n);
14215
14485
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
14216
- return _array_like_to_array$c(o, minLen);
14486
+ return _array_like_to_array$b(o, minLen);
14217
14487
  }
14218
14488
  function Filter(param) {
14219
14489
  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;
14220
14490
  var ref = useRef(null);
14221
- var _useState = _sliced_to_array$c(useState("left"), 2), dropdownPosition = _useState[0], setDropdownPosition = _useState[1];
14491
+ var _useState = _sliced_to_array$b(useState("left"), 2), dropdownPosition = _useState[0], setDropdownPosition = _useState[1];
14222
14492
  var _filter_localeKey;
14223
14493
  var translatesLocaleKey = (_filter_localeKey = filter.localeKey) !== null && _filter_localeKey !== void 0 ? _filter_localeKey : localeKey;
14224
14494
  var translates = useMemo(function() {
@@ -14260,7 +14530,7 @@ function Filter(param) {
14260
14530
  };
14261
14531
  if (filter.type === "custom" && filter.component) {
14262
14532
  var Component = filter.component;
14263
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14533
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14264
14534
  children: /* @__PURE__ */ jsx(Component, _object_spread$l({}, {
14265
14535
  value,
14266
14536
  onChange,
@@ -14275,7 +14545,7 @@ function Filter(param) {
14275
14545
  console.warn("%cДля фильтра типа custom (".concat(filter.name, ") в конфиге обязательно нужно задать component"), "background: red; color: black");
14276
14546
  }
14277
14547
  if (filter.type === "select") {
14278
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14548
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14279
14549
  children: /* @__PURE__ */ jsx(FilterSelect, _object_spread$l({
14280
14550
  onChange,
14281
14551
  value,
@@ -14286,7 +14556,7 @@ function Filter(param) {
14286
14556
  }));
14287
14557
  }
14288
14558
  if (filter.type === "dateRange") {
14289
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14559
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14290
14560
  children: /* @__PURE__ */ jsx(FilterWithPeriod, _object_spread$l({
14291
14561
  localeKey: translatesLocaleKey,
14292
14562
  locale: translates,
@@ -14299,7 +14569,7 @@ function Filter(param) {
14299
14569
  }
14300
14570
  if (filter.type === "dateRangeWithoutPeriod") {
14301
14571
  var dateRangeValue = value;
14302
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14572
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14303
14573
  style: {
14304
14574
  width: 320
14305
14575
  },
@@ -14309,7 +14579,7 @@ function Filter(param) {
14309
14579
  return onChange(void 0);
14310
14580
  },
14311
14581
  onChange: function(v) {
14312
- return onChange(_object_spread_props$j(_object_spread$l({}, v), {
14582
+ return onChange(_object_spread_props$k(_object_spread$l({}, v), {
14313
14583
  periodType: "CUSTOM"
14314
14584
  }));
14315
14585
  },
@@ -14320,7 +14590,7 @@ function Filter(param) {
14320
14590
  }));
14321
14591
  }
14322
14592
  if (filter.type === "multiSelect") {
14323
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14593
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14324
14594
  children: /* @__PURE__ */ jsx(FilterMultiSelect, _object_spread$l({
14325
14595
  onChange,
14326
14596
  onClose: handleOnClose,
@@ -14332,7 +14602,7 @@ function Filter(param) {
14332
14602
  }));
14333
14603
  }
14334
14604
  if (filter.type === "interval") {
14335
- return /* @__PURE__ */ jsx("div", _object_spread_props$j(_object_spread$l({}, props), {
14605
+ return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
14336
14606
  children: /* @__PURE__ */ jsx(FilterInterval, _object_spread$l({
14337
14607
  value,
14338
14608
  labelName: filter.name,
@@ -14346,7 +14616,7 @@ function Filter(param) {
14346
14616
  console.warn("%cДля фильтра ".concat(filter.name, " не задан тип или component"), "background: red; color: black");
14347
14617
  return null;
14348
14618
  }
14349
- var useStyles$l = createThemedStyles("FiltersPaneSearch", {
14619
+ var useStyles$m = createThemedStyles("FiltersPaneSearch", {
14350
14620
  root: {
14351
14621
  display: "flex",
14352
14622
  position: "relative",
@@ -14440,17 +14710,18 @@ var selectStyles = {
14440
14710
  borderRadius: 0,
14441
14711
  borderBottomLeftRadius: 6,
14442
14712
  borderBottomRightRadius: 6,
14443
- boxShadow: "none"
14713
+ boxShadow: "none",
14714
+ width: "100%"
14444
14715
  }
14445
14716
  };
14446
- function _array_like_to_array$b(arr, len) {
14717
+ function _array_like_to_array$a(arr, len) {
14447
14718
  if (len == null || len > arr.length)
14448
14719
  len = arr.length;
14449
14720
  for (var i = 0, arr2 = new Array(len); i < len; i++)
14450
14721
  arr2[i] = arr[i];
14451
14722
  return arr2;
14452
14723
  }
14453
- function _array_with_holes$b(arr) {
14724
+ function _array_with_holes$a(arr) {
14454
14725
  if (Array.isArray(arr))
14455
14726
  return arr;
14456
14727
  }
@@ -14467,7 +14738,7 @@ function _define_property$m(obj, key, value) {
14467
14738
  }
14468
14739
  return obj;
14469
14740
  }
14470
- function _iterable_to_array_limit$b(arr, i) {
14741
+ function _iterable_to_array_limit$a(arr, i) {
14471
14742
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14472
14743
  if (_i == null)
14473
14744
  return;
@@ -14495,7 +14766,7 @@ function _iterable_to_array_limit$b(arr, i) {
14495
14766
  }
14496
14767
  return _arr;
14497
14768
  }
14498
- function _non_iterable_rest$b() {
14769
+ function _non_iterable_rest$a() {
14499
14770
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14500
14771
  }
14501
14772
  function _object_spread$k(target) {
@@ -14513,8 +14784,8 @@ function _object_spread$k(target) {
14513
14784
  }
14514
14785
  return target;
14515
14786
  }
14516
- function ownKeys$i(object, enumerableOnly) {
14517
- var keys = Object.keys(object);
14787
+ function ownKeys$j(object, enumerableOnly) {
14788
+ var keys2 = Object.keys(object);
14518
14789
  if (Object.getOwnPropertySymbols) {
14519
14790
  var symbols = Object.getOwnPropertySymbols(object);
14520
14791
  if (enumerableOnly) {
@@ -14522,40 +14793,40 @@ function ownKeys$i(object, enumerableOnly) {
14522
14793
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
14523
14794
  });
14524
14795
  }
14525
- keys.push.apply(keys, symbols);
14796
+ keys2.push.apply(keys2, symbols);
14526
14797
  }
14527
- return keys;
14798
+ return keys2;
14528
14799
  }
14529
- function _object_spread_props$i(target, source) {
14800
+ function _object_spread_props$j(target, source) {
14530
14801
  source = source != null ? source : {};
14531
14802
  if (Object.getOwnPropertyDescriptors) {
14532
14803
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
14533
14804
  } else {
14534
- ownKeys$i(Object(source)).forEach(function(key) {
14805
+ ownKeys$j(Object(source)).forEach(function(key) {
14535
14806
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
14536
14807
  });
14537
14808
  }
14538
14809
  return target;
14539
14810
  }
14540
- function _sliced_to_array$b(arr, i) {
14541
- return _array_with_holes$b(arr) || _iterable_to_array_limit$b(arr, i) || _unsupported_iterable_to_array$b(arr, i) || _non_iterable_rest$b();
14811
+ function _sliced_to_array$a(arr, i) {
14812
+ return _array_with_holes$a(arr) || _iterable_to_array_limit$a(arr, i) || _unsupported_iterable_to_array$a(arr, i) || _non_iterable_rest$a();
14542
14813
  }
14543
- function _unsupported_iterable_to_array$b(o, minLen) {
14814
+ function _unsupported_iterable_to_array$a(o, minLen) {
14544
14815
  if (!o)
14545
14816
  return;
14546
14817
  if (typeof o === "string")
14547
- return _array_like_to_array$b(o, minLen);
14818
+ return _array_like_to_array$a(o, minLen);
14548
14819
  var n = Object.prototype.toString.call(o).slice(8, -1);
14549
14820
  if (n === "Object" && o.constructor)
14550
14821
  n = o.constructor.name;
14551
14822
  if (n === "Map" || n === "Set")
14552
14823
  return Array.from(n);
14553
14824
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
14554
- return _array_like_to_array$b(o, minLen);
14825
+ return _array_like_to_array$a(o, minLen);
14555
14826
  }
14556
14827
  function FiltersPaneSearch(param) {
14557
- 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;
14558
- var classes = useStyles$l({
14828
+ 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;
14829
+ var classes = useStyles$m({
14559
14830
  theme: tweakStyles
14560
14831
  });
14561
14832
  var tweakSearchInputStyles = useTweakStyles({
@@ -14570,8 +14841,8 @@ function FiltersPaneSearch(param) {
14570
14841
  className: "tweakSelect",
14571
14842
  currentComponentName: "FiltersPaneSearch"
14572
14843
  });
14573
- var _useState = _sliced_to_array$b(useState(false), 2), isInputFocused = _useState[0], setIsInputFocused = _useState[1];
14574
- var _useState1 = _sliced_to_array$b(useState(false), 2), isOpen = _useState1[0], setIsOpen = _useState1[1];
14844
+ var _useState = _sliced_to_array$a(useState(false), 2), isInputFocused = _useState[0], setIsInputFocused = _useState[1];
14845
+ var _useState1 = _sliced_to_array$a(useState(false), 2), isOpen = _useState1[0], setIsOpen = _useState1[1];
14575
14846
  var refRoot = useRef(null);
14576
14847
  var translates = useMemo(function() {
14577
14848
  return getLocale$1(localeKey, locale2);
@@ -14601,7 +14872,7 @@ function FiltersPaneSearch(param) {
14601
14872
  field
14602
14873
  ]);
14603
14874
  var _obj;
14604
- return /* @__PURE__ */ jsxs("div", _object_spread_props$i(_object_spread$k({
14875
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$j(_object_spread$k({
14605
14876
  className: clsx(classes.root, (_obj = {}, _define_property$m(_obj, classes.focused, isInputFocused), _define_property$m(_obj, classes.disabled, isDisabled), _obj)),
14606
14877
  ref: refRoot,
14607
14878
  "data-testid": testId
@@ -14657,7 +14928,6 @@ function FiltersPaneSearch(param) {
14657
14928
  localeKey,
14658
14929
  locale: translates,
14659
14930
  onChange: handleFieldsChange,
14660
- width: selectWidth,
14661
14931
  isSearchEnabled: isSelectSearchEnabled,
14662
14932
  hasClearButton: hasClearSelectButton,
14663
14933
  testId: testId !== void 0 ? "".concat(testId, "-dropdown") : void 0
@@ -14668,7 +14938,7 @@ function FiltersPaneSearch(param) {
14668
14938
  ]
14669
14939
  }));
14670
14940
  }
14671
- var useStyles$k = createThemedStyles("FilterValueView", {
14941
+ var useStyles$l = createThemedStyles("FilterValueView", {
14672
14942
  text: {
14673
14943
  overflow: "hidden",
14674
14944
  textOverflow: "ellipsis",
@@ -14687,7 +14957,7 @@ function _instanceof$1(left2, right2) {
14687
14957
  }
14688
14958
  function FilterValueView(param) {
14689
14959
  var locale2 = param.locale, localeKey = param.localeKey, filter = param.filter, value = param.value, tweakStyles = param.tweakStyles;
14690
- var classes = useStyles$k({
14960
+ var classes = useStyles$l({
14691
14961
  theme: tweakStyles
14692
14962
  });
14693
14963
  if (value === void 0 || value === null) {
@@ -14838,7 +15108,7 @@ function FilterValueView(param) {
14838
15108
  children: displayValue(value)
14839
15109
  });
14840
15110
  }
14841
- var useStyles$j = createThemedStyles("FilterWrapper", {
15111
+ var useStyles$k = createThemedStyles("FilterWrapper", {
14842
15112
  root: {
14843
15113
  position: "relative",
14844
15114
  transition: "0.25s ease-in-out",
@@ -14953,14 +15223,14 @@ var useStyles$j = createThemedStyles("FilterWrapper", {
14953
15223
  extend: "animationEnd"
14954
15224
  }
14955
15225
  });
14956
- function _array_like_to_array$a(arr, len) {
15226
+ function _array_like_to_array$9(arr, len) {
14957
15227
  if (len == null || len > arr.length)
14958
15228
  len = arr.length;
14959
15229
  for (var i = 0, arr2 = new Array(len); i < len; i++)
14960
15230
  arr2[i] = arr[i];
14961
15231
  return arr2;
14962
15232
  }
14963
- function _array_with_holes$a(arr) {
15233
+ function _array_with_holes$9(arr) {
14964
15234
  if (Array.isArray(arr))
14965
15235
  return arr;
14966
15236
  }
@@ -14977,7 +15247,7 @@ function _define_property$l(obj, key, value) {
14977
15247
  }
14978
15248
  return obj;
14979
15249
  }
14980
- function _iterable_to_array_limit$a(arr, i) {
15250
+ function _iterable_to_array_limit$9(arr, i) {
14981
15251
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14982
15252
  if (_i == null)
14983
15253
  return;
@@ -15005,7 +15275,7 @@ function _iterable_to_array_limit$a(arr, i) {
15005
15275
  }
15006
15276
  return _arr;
15007
15277
  }
15008
- function _non_iterable_rest$a() {
15278
+ function _non_iterable_rest$9() {
15009
15279
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15010
15280
  }
15011
15281
  function _object_spread$j(target) {
@@ -15023,8 +15293,8 @@ function _object_spread$j(target) {
15023
15293
  }
15024
15294
  return target;
15025
15295
  }
15026
- function ownKeys$h(object, enumerableOnly) {
15027
- var keys = Object.keys(object);
15296
+ function ownKeys$i(object, enumerableOnly) {
15297
+ var keys2 = Object.keys(object);
15028
15298
  if (Object.getOwnPropertySymbols) {
15029
15299
  var symbols = Object.getOwnPropertySymbols(object);
15030
15300
  if (enumerableOnly) {
@@ -15032,36 +15302,36 @@ function ownKeys$h(object, enumerableOnly) {
15032
15302
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
15033
15303
  });
15034
15304
  }
15035
- keys.push.apply(keys, symbols);
15305
+ keys2.push.apply(keys2, symbols);
15036
15306
  }
15037
- return keys;
15307
+ return keys2;
15038
15308
  }
15039
- function _object_spread_props$h(target, source) {
15309
+ function _object_spread_props$i(target, source) {
15040
15310
  source = source != null ? source : {};
15041
15311
  if (Object.getOwnPropertyDescriptors) {
15042
15312
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
15043
15313
  } else {
15044
- ownKeys$h(Object(source)).forEach(function(key) {
15314
+ ownKeys$i(Object(source)).forEach(function(key) {
15045
15315
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
15046
15316
  });
15047
15317
  }
15048
15318
  return target;
15049
15319
  }
15050
- function _sliced_to_array$a(arr, i) {
15051
- return _array_with_holes$a(arr) || _iterable_to_array_limit$a(arr, i) || _unsupported_iterable_to_array$a(arr, i) || _non_iterable_rest$a();
15320
+ function _sliced_to_array$9(arr, i) {
15321
+ return _array_with_holes$9(arr) || _iterable_to_array_limit$9(arr, i) || _unsupported_iterable_to_array$9(arr, i) || _non_iterable_rest$9();
15052
15322
  }
15053
- function _unsupported_iterable_to_array$a(o, minLen) {
15323
+ function _unsupported_iterable_to_array$9(o, minLen) {
15054
15324
  if (!o)
15055
15325
  return;
15056
15326
  if (typeof o === "string")
15057
- return _array_like_to_array$a(o, minLen);
15327
+ return _array_like_to_array$9(o, minLen);
15058
15328
  var n = Object.prototype.toString.call(o).slice(8, -1);
15059
15329
  if (n === "Object" && o.constructor)
15060
15330
  n = o.constructor.name;
15061
15331
  if (n === "Map" || n === "Set")
15062
15332
  return Array.from(n);
15063
15333
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
15064
- return _array_like_to_array$a(o, minLen);
15334
+ return _array_like_to_array$9(o, minLen);
15065
15335
  }
15066
15336
  function FilterWrapper(param) {
15067
15337
  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;
@@ -15071,7 +15341,7 @@ function FilterWrapper(param) {
15071
15341
  }
15072
15342
  onChange(v);
15073
15343
  };
15074
- var classes = useStyles$j({
15344
+ var classes = useStyles$k({
15075
15345
  theme: tweakStyles
15076
15346
  });
15077
15347
  var tweakFilterValueViewStyles = useTweakStyles({
@@ -15079,7 +15349,7 @@ function FilterWrapper(param) {
15079
15349
  className: "tweakValueView",
15080
15350
  currentComponentName: "FilterWrapper"
15081
15351
  });
15082
- var _useState = _sliced_to_array$a(useState(false), 2), isOpen = _useState[0], setIsOpen = _useState[1];
15352
+ var _useState = _sliced_to_array$9(useState(false), 2), isOpen = _useState[0], setIsOpen = _useState[1];
15083
15353
  var refItem = useRef(null);
15084
15354
  var type = filter.type;
15085
15355
  var hasValue = false;
@@ -15105,7 +15375,7 @@ function FilterWrapper(param) {
15105
15375
  };
15106
15376
  var isBoolean = filter.type === "boolean";
15107
15377
  var _obj;
15108
- return !filter.isInline ? /* @__PURE__ */ jsxs("div", _object_spread_props$h(_object_spread$j({
15378
+ return !filter.isInline ? /* @__PURE__ */ jsxs("div", _object_spread_props$i(_object_spread$j({
15109
15379
  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))
15110
15380
  }, addDataTestId(testId), addDataAttributes(data)), {
15111
15381
  children: [
@@ -15202,8 +15472,8 @@ function _object_spread$i(target) {
15202
15472
  }
15203
15473
  return target;
15204
15474
  }
15205
- function ownKeys$g(object, enumerableOnly) {
15206
- var keys = Object.keys(object);
15475
+ function ownKeys$h(object, enumerableOnly) {
15476
+ var keys2 = Object.keys(object);
15207
15477
  if (Object.getOwnPropertySymbols) {
15208
15478
  var symbols = Object.getOwnPropertySymbols(object);
15209
15479
  if (enumerableOnly) {
@@ -15211,16 +15481,16 @@ function ownKeys$g(object, enumerableOnly) {
15211
15481
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
15212
15482
  });
15213
15483
  }
15214
- keys.push.apply(keys, symbols);
15484
+ keys2.push.apply(keys2, symbols);
15215
15485
  }
15216
- return keys;
15486
+ return keys2;
15217
15487
  }
15218
- function _object_spread_props$g(target, source) {
15488
+ function _object_spread_props$h(target, source) {
15219
15489
  source = source != null ? source : {};
15220
15490
  if (Object.getOwnPropertyDescriptors) {
15221
15491
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
15222
15492
  } else {
15223
- ownKeys$g(Object(source)).forEach(function(key) {
15493
+ ownKeys$h(Object(source)).forEach(function(key) {
15224
15494
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
15225
15495
  });
15226
15496
  }
@@ -15228,7 +15498,7 @@ function _object_spread_props$g(target, source) {
15228
15498
  }
15229
15499
  function FiltersPane(param) {
15230
15500
  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;
15231
- var classes = useStyles$r({
15501
+ var classes = useStyles$s({
15232
15502
  theme: tweakStyles
15233
15503
  });
15234
15504
  var tweakClearButtonStyles = useTweakStyles({
@@ -15271,12 +15541,12 @@ function FiltersPane(param) {
15271
15541
  })
15272
15542
  });
15273
15543
  var _search_localeKey, _search_localeKey1, _search_isDisabled;
15274
- return /* @__PURE__ */ jsxs("div", _object_spread_props$g(_object_spread$i({
15544
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$h(_object_spread$i({
15275
15545
  className: classes.root,
15276
15546
  ref
15277
15547
  }, addDataTestId(testId), addDataAttributes(data)), {
15278
15548
  children: [
15279
- onSettingsButtonClick !== void 0 && /* @__PURE__ */ jsx("div", _object_spread_props$g(_object_spread$i({
15549
+ onSettingsButtonClick !== void 0 && /* @__PURE__ */ jsx("div", _object_spread_props$h(_object_spread$i({
15280
15550
  className: classes.settings,
15281
15551
  tabIndex: 0
15282
15552
  }, addDataTestId(testId, "settings-button")), {
@@ -15288,7 +15558,7 @@ function FiltersPane(param) {
15288
15558
  })
15289
15559
  })
15290
15560
  })),
15291
- search !== void 0 && /* @__PURE__ */ jsx(FiltersPaneSearch, _object_spread_props$g(_object_spread$i({}, search), {
15561
+ search !== void 0 && /* @__PURE__ */ jsx(FiltersPaneSearch, _object_spread_props$h(_object_spread$i({}, search), {
15292
15562
  locale: getLocale$1((_search_localeKey = search.localeKey) !== null && _search_localeKey !== void 0 ? _search_localeKey : localeKey, search.locale, locale2),
15293
15563
  localeKey: (_search_localeKey1 = search.localeKey) !== null && _search_localeKey1 !== void 0 ? _search_localeKey1 : localeKey,
15294
15564
  isDisabled: (_search_isDisabled = search.isDisabled) !== null && _search_isDisabled !== void 0 ? _search_isDisabled : isDisabled,
@@ -15311,7 +15581,7 @@ function FiltersPane(param) {
15311
15581
  locale: locale2,
15312
15582
  localeKey,
15313
15583
  onChange: function(value) {
15314
- return onChangeFilters(_object_spread_props$g(_object_spread$i({}, values), _define_property$k({}, key, value)));
15584
+ return onChangeFilters(_object_spread_props$h(_object_spread$i({}, values), _define_property$k({}, key, value)));
15315
15585
  },
15316
15586
  value: currentValue,
15317
15587
  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) {
@@ -21441,7 +21711,7 @@ const Flags = {
21441
21711
  ZM,
21442
21712
  ZW
21443
21713
  };
21444
- var useStyles$i = createThemedStyles("Flag", {
21714
+ var useStyles$j = createThemedStyles("Flag", {
21445
21715
  root: {
21446
21716
  // приходится хардкодить в компоненте, тк либа Flags выдает флаги с 2-3 пиксельным отступом снизу
21447
21717
  // если будет нужно, то можно вынести border на уровень пропсов
@@ -21459,7 +21729,7 @@ var useStyles$i = createThemedStyles("Flag", {
21459
21729
  });
21460
21730
  var Flag = function(param) {
21461
21731
  var _param_countryCode = param.countryCode, countryCode = _param_countryCode === void 0 ? "" : _param_countryCode, tweakStyles = param.tweakStyles;
21462
- var classes = useStyles$i({
21732
+ var classes = useStyles$j({
21463
21733
  theme: tweakStyles
21464
21734
  });
21465
21735
  var CC3 = countryCode.toUpperCase();
@@ -21475,7 +21745,67 @@ var Flag = function(param) {
21475
21745
  className: classes.root
21476
21746
  });
21477
21747
  };
21748
+ var useStyles$i = createThemedStyles("Skeleton", {
21749
+ root: {
21750
+ display: "flex",
21751
+ width: "100%",
21752
+ height: "100%",
21753
+ backgroundColor: rgba(colors.GREY_DISABLED, 0.8),
21754
+ position: "relative",
21755
+ borderRadius: 4,
21756
+ overflow: "hidden",
21757
+ "-webkit-mask-image": "-webkit-radial-gradient(white, black)",
21758
+ "&::after": {
21759
+ content: '""',
21760
+ animation: "$skeleton 1.6s linear 0.5s infinite",
21761
+ background: "linear-gradient(90deg, transparent, ".concat(rgba(colors.GREY_BACKGROUND, 0.65), ", transparent)"),
21762
+ position: "absolute",
21763
+ transform: "translateX(-100%)",
21764
+ bottom: 0,
21765
+ left: 0,
21766
+ right: 0,
21767
+ top: 0
21768
+ }
21769
+ },
21770
+ "@keyframes skeleton": {
21771
+ "0%": {
21772
+ transform: "translateX(-100%)"
21773
+ },
21774
+ "50%": {
21775
+ transform: "translateX(100%)"
21776
+ },
21777
+ "100%": {
21778
+ transform: "translateX(100%)"
21779
+ }
21780
+ }
21781
+ });
21782
+ var Skeleton = function(param) {
21783
+ var height = param.height, tweakStyles = param.tweakStyles;
21784
+ var classes = useStyles$i({
21785
+ theme: tweakStyles
21786
+ });
21787
+ return /* @__PURE__ */ jsx("div", {
21788
+ className: classes.root,
21789
+ style: {
21790
+ height
21791
+ }
21792
+ });
21793
+ };
21478
21794
  var DEFAULT_DATE_FORMAT = "dd.MM.yyyy";
21795
+ function _instanceof(left2, right2) {
21796
+ if (right2 != null && typeof Symbol !== "undefined" && right2[Symbol.hasInstance]) {
21797
+ return !!right2[Symbol.hasInstance](left2);
21798
+ } else {
21799
+ return left2 instanceof right2;
21800
+ }
21801
+ }
21802
+ var hasHorizontalScrollBar = function(el) {
21803
+ return isNotEmpty(el) && el.scrollWidth !== el.clientWidth;
21804
+ };
21805
+ var _config_dateFormat;
21806
+ var formatCellContent = function(value, config) {
21807
+ return _instanceof(value, Date) ? format$1(value, (_config_dateFormat = config === null || config === void 0 ? void 0 : config.dateFormat) !== null && _config_dateFormat !== void 0 ? _config_dateFormat : DEFAULT_DATE_FORMAT) : String(value);
21808
+ };
21479
21809
  var STICKY_SHADOW_PADDING = 12;
21480
21810
  var useStyles$h = createThemedStyles("FlexibleTable", {
21481
21811
  root: {
@@ -21493,14 +21823,6 @@ var useStyles$h = createThemedStyles("FlexibleTable", {
21493
21823
  */
21494
21824
  maxHeight: "100%"
21495
21825
  },
21496
- horizontallyScrolled: {
21497
- "& $cellSticky": {
21498
- boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21499
- },
21500
- "& $headerSticky::before": {
21501
- boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21502
- }
21503
- },
21504
21826
  loader: {
21505
21827
  position: "sticky",
21506
21828
  left: 0,
@@ -21548,7 +21870,10 @@ var useStyles$h = createThemedStyles("FlexibleTable", {
21548
21870
  "box-shadow",
21549
21871
  "0.25s",
21550
21872
  "ease-in-out"
21551
- ]
21873
+ ],
21874
+ "[data-scrolled] &": {
21875
+ boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21876
+ }
21552
21877
  },
21553
21878
  "&::after": {
21554
21879
  content: '""',
@@ -21564,6 +21889,13 @@ var useStyles$h = createThemedStyles("FlexibleTable", {
21564
21889
  },
21565
21890
  headerSecond: {
21566
21891
  paddingLeft: STICKY_SHADOW_PADDING
21892
+ },
21893
+ skeleton: {
21894
+ height: 21,
21895
+ padding: [
21896
+ 14,
21897
+ 7
21898
+ ]
21567
21899
  }
21568
21900
  });
21569
21901
  function _define_property$j(obj, key, value) {
@@ -21594,6 +21926,30 @@ function _object_spread$h(target) {
21594
21926
  }
21595
21927
  return target;
21596
21928
  }
21929
+ function ownKeys$g(object, enumerableOnly) {
21930
+ var keys2 = Object.keys(object);
21931
+ if (Object.getOwnPropertySymbols) {
21932
+ var symbols = Object.getOwnPropertySymbols(object);
21933
+ if (enumerableOnly) {
21934
+ symbols = symbols.filter(function(sym) {
21935
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
21936
+ });
21937
+ }
21938
+ keys2.push.apply(keys2, symbols);
21939
+ }
21940
+ return keys2;
21941
+ }
21942
+ function _object_spread_props$g(target, source) {
21943
+ source = source != null ? source : {};
21944
+ if (Object.getOwnPropertyDescriptors) {
21945
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
21946
+ } else {
21947
+ ownKeys$g(Object(source)).forEach(function(key) {
21948
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
21949
+ });
21950
+ }
21951
+ return target;
21952
+ }
21597
21953
  var useStyles$g = createThemedStyles("FlexibleTableCell", {
21598
21954
  root: {
21599
21955
  position: "relative",
@@ -21607,13 +21963,17 @@ var useStyles$g = createThemedStyles("FlexibleTableCell", {
21607
21963
  zIndex: 5,
21608
21964
  verticalAlign: "top"
21609
21965
  },
21610
- sticky: _object_spread$h({
21966
+ sticky: _object_spread_props$g(_object_spread$h({
21611
21967
  zIndex: 19,
21612
21968
  paddingLeft: 24,
21613
21969
  paddingRight: 12
21614
21970
  }, getTransition([
21615
21971
  "box-shadow"
21616
- ])),
21972
+ ])), {
21973
+ "[data-scrolled] &": {
21974
+ boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21975
+ }
21976
+ }),
21617
21977
  second: {
21618
21978
  paddingLeft: STICKY_SHADOW_PADDING
21619
21979
  }
@@ -21631,47 +21991,34 @@ function _define_property$i(obj, key, value) {
21631
21991
  }
21632
21992
  return obj;
21633
21993
  }
21634
- function _instanceof(left2, right2) {
21635
- if (right2 != null && typeof Symbol !== "undefined" && right2[Symbol.hasInstance]) {
21636
- return !!right2[Symbol.hasInstance](left2);
21637
- } else {
21638
- return left2 instanceof right2;
21639
- }
21640
- }
21641
21994
  function FlexibleTableCell(param) {
21642
21995
  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;
21643
21996
  var classes = useStyles$g({
21644
21997
  theme: tweakStyles
21645
21998
  });
21646
- var itemConfig = config === null || config === void 0 ? void 0 : config[columnName];
21999
+ var _config_columnName;
22000
+ 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;
21647
22001
  var value = item[columnName];
21648
- var content = null;
21649
- if (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.component) {
21650
- var ValueComponent = itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.component;
21651
- content = ValueComponent({
21652
- value,
21653
- row: item,
21654
- isFocusedRow,
21655
- isNestedComponentExpanded,
21656
- isRowNestedComponentExpanded,
21657
- onSetNestedComponent
21658
- });
21659
- } else if (typeof value === "string" || typeof value === "number") {
21660
- content = value;
21661
- } else if (_instanceof(value, Date)) {
21662
- content = format$1(value, (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.dateFormat) || DEFAULT_DATE_FORMAT);
21663
- }
21664
22002
  var _obj;
21665
22003
  return /* @__PURE__ */ jsx("td", {
21666
22004
  className: clsx(classes.root, (_obj = {}, _define_property$i(_obj, classes.sticky, isSticky), _define_property$i(_obj, classes.second, isSecond), _obj)),
21667
22005
  style: {
21668
- textAlign: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.cellAlign,
21669
- position: isSticky ? "sticky" : itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.position,
21670
- right: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.right,
21671
- left: isSticky ? 0 : itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.left,
21672
- verticalAlign: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.cellVerticalAlign
22006
+ textAlign: cellAlign,
22007
+ position: isSticky ? "sticky" : position,
22008
+ right: right2,
22009
+ left: isSticky ? 0 : left2,
22010
+ verticalAlign: cellVerticalAlign
21673
22011
  },
21674
- children: content
22012
+ children: isNotEmpty(value) && /* @__PURE__ */ jsx(Fragment, {
22013
+ children: isNotEmpty(component) ? component({
22014
+ value,
22015
+ row: item,
22016
+ isFocusedRow,
22017
+ isNestedComponentExpanded,
22018
+ isRowNestedComponentExpanded,
22019
+ onSetNestedComponent
22020
+ }) : formatCellContent(value, config[columnName])
22021
+ })
21675
22022
  }, columnName);
21676
22023
  }
21677
22024
  var useStyles$f = createThemedStyles("FlexibleTableRow", {
@@ -21681,16 +22028,19 @@ var useStyles$f = createThemedStyles("FlexibleTableRow", {
21681
22028
  active: {},
21682
22029
  editable: {
21683
22030
  cursor: "pointer"
22031
+ },
22032
+ clickable: {
22033
+ cursor: "pointer"
21684
22034
  }
21685
22035
  });
21686
- function _array_like_to_array$9(arr, len) {
22036
+ function _array_like_to_array$8(arr, len) {
21687
22037
  if (len == null || len > arr.length)
21688
22038
  len = arr.length;
21689
22039
  for (var i = 0, arr2 = new Array(len); i < len; i++)
21690
22040
  arr2[i] = arr[i];
21691
22041
  return arr2;
21692
22042
  }
21693
- function _array_with_holes$9(arr) {
22043
+ function _array_with_holes$8(arr) {
21694
22044
  if (Array.isArray(arr))
21695
22045
  return arr;
21696
22046
  }
@@ -21707,7 +22057,7 @@ function _define_property$h(obj, key, value) {
21707
22057
  }
21708
22058
  return obj;
21709
22059
  }
21710
- function _iterable_to_array_limit$9(arr, i) {
22060
+ function _iterable_to_array_limit$8(arr, i) {
21711
22061
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
21712
22062
  if (_i == null)
21713
22063
  return;
@@ -21735,7 +22085,7 @@ function _iterable_to_array_limit$9(arr, i) {
21735
22085
  }
21736
22086
  return _arr;
21737
22087
  }
21738
- function _non_iterable_rest$9() {
22088
+ function _non_iterable_rest$8() {
21739
22089
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
21740
22090
  }
21741
22091
  function _object_spread$g(target) {
@@ -21754,7 +22104,7 @@ function _object_spread$g(target) {
21754
22104
  return target;
21755
22105
  }
21756
22106
  function ownKeys$f(object, enumerableOnly) {
21757
- var keys = Object.keys(object);
22107
+ var keys2 = Object.keys(object);
21758
22108
  if (Object.getOwnPropertySymbols) {
21759
22109
  var symbols = Object.getOwnPropertySymbols(object);
21760
22110
  if (enumerableOnly) {
@@ -21762,9 +22112,9 @@ function ownKeys$f(object, enumerableOnly) {
21762
22112
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
21763
22113
  });
21764
22114
  }
21765
- keys.push.apply(keys, symbols);
22115
+ keys2.push.apply(keys2, symbols);
21766
22116
  }
21767
- return keys;
22117
+ return keys2;
21768
22118
  }
21769
22119
  function _object_spread_props$f(target, source) {
21770
22120
  source = source != null ? source : {};
@@ -21777,21 +22127,21 @@ function _object_spread_props$f(target, source) {
21777
22127
  }
21778
22128
  return target;
21779
22129
  }
21780
- function _sliced_to_array$9(arr, i) {
21781
- return _array_with_holes$9(arr) || _iterable_to_array_limit$9(arr, i) || _unsupported_iterable_to_array$9(arr, i) || _non_iterable_rest$9();
22130
+ function _sliced_to_array$8(arr, i) {
22131
+ return _array_with_holes$8(arr) || _iterable_to_array_limit$8(arr, i) || _unsupported_iterable_to_array$8(arr, i) || _non_iterable_rest$8();
21782
22132
  }
21783
- function _unsupported_iterable_to_array$9(o, minLen) {
22133
+ function _unsupported_iterable_to_array$8(o, minLen) {
21784
22134
  if (!o)
21785
22135
  return;
21786
22136
  if (typeof o === "string")
21787
- return _array_like_to_array$9(o, minLen);
22137
+ return _array_like_to_array$8(o, minLen);
21788
22138
  var n = Object.prototype.toString.call(o).slice(8, -1);
21789
22139
  if (n === "Object" && o.constructor)
21790
22140
  n = o.constructor.name;
21791
22141
  if (n === "Map" || n === "Set")
21792
22142
  return Array.from(n);
21793
22143
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
21794
- return _array_like_to_array$9(o, minLen);
22144
+ return _array_like_to_array$8(o, minLen);
21795
22145
  }
21796
22146
  function FlexibleTableRowInner(param) {
21797
22147
  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;
@@ -21803,8 +22153,8 @@ function FlexibleTableRowInner(param) {
21803
22153
  className: "tweakTableCell",
21804
22154
  currentComponentName: "FlexibleTableRow"
21805
22155
  });
21806
- var _useState = _sliced_to_array$9(useState(false), 2), isFocused = _useState[0], setFocused = _useState[1];
21807
- var _useState1 = _sliced_to_array$9(useState({
22156
+ var _useState = _sliced_to_array$8(useState(false), 2), isFocused = _useState[0], setFocused = _useState[1];
22157
+ var _useState1 = _sliced_to_array$8(useState({
21808
22158
  isOpen: false
21809
22159
  }), 2), nestedComponent = _useState1[0], setNestedComponent = _useState1[1];
21810
22160
  var rowData = rowAttributes === null || rowAttributes === void 0 ? void 0 : rowAttributes.reduce(function(acc, cur) {
@@ -21838,7 +22188,7 @@ function FlexibleTableRowInner(param) {
21838
22188
  if (uniqueField !== void 0) {
21839
22189
  onRowClick === null || onRowClick === void 0 ? void 0 : onRowClick(item[uniqueField]);
21840
22190
  }
21841
- if (expandableRowComponent !== void 0) {
22191
+ if (isNotEmpty(expandableRowComponent)) {
21842
22192
  var newNestedComponent = expandableRowComponent(item, true, closeNestedComponent);
21843
22193
  if (!nestedComponent.isOpen && newNestedComponent !== null) {
21844
22194
  updateNestedComponent(newNestedComponent);
@@ -21850,11 +22200,12 @@ function FlexibleTableRowInner(param) {
21850
22200
  }
21851
22201
  }
21852
22202
  };
21853
- var items = enabledColumns !== null && enabledColumns !== void 0 ? enabledColumns : Object.keys(item);
22203
+ var items = enabledColumns !== null && enabledColumns !== void 0 ? enabledColumns : Object.keys(config);
22204
+ var _obj;
21854
22205
  return /* @__PURE__ */ jsxs(Fragment, {
21855
22206
  children: [
21856
22207
  /* @__PURE__ */ jsx("tr", _object_spread_props$f(_object_spread$g({
21857
- className: clsx(classes.root, isActive && classes.active, (onRowClick !== void 0 || onRowHover !== void 0) && classes.editable),
22208
+ className: clsx(classes.root, (_obj = {}, _define_property$h(_obj, classes.active, isActive), _define_property$h(_obj, classes.editable, isNotEmpty(onRowClick) || isNotEmpty(onRowHover)), _define_property$h(_obj, classes.clickable, isNotEmpty(onRowClick) || isNotEmpty(expandableRowComponent)), _obj)),
21858
22209
  onMouseEnter: function(e) {
21859
22210
  if (uniqueField !== void 0 && onRowHover !== void 0) {
21860
22211
  e.stopPropagation();
@@ -21867,11 +22218,11 @@ function FlexibleTableRowInner(param) {
21867
22218
  }, addDataAttributes(_object_spread_props$f(_object_spread$g({}, rowData), {
21868
22219
  isExpandableComponentActive: nestedComponent.isOpen ? true : void 0
21869
22220
  }))), {
21870
- children: items.map(function(key, idx) {
22221
+ children: items.map(function(key, i) {
21871
22222
  return /* @__PURE__ */ jsx(FlexibleTableCell, {
21872
22223
  columnName: key,
21873
- isSticky: isFirstColumnSticky && idx === 0,
21874
- isSecond: isFirstColumnSticky && idx === 1,
22224
+ isSticky: isFirstColumnSticky && i === 0,
22225
+ isSecond: isFirstColumnSticky && i === 1,
21875
22226
  item,
21876
22227
  config,
21877
22228
  tweakStyles: tweakTableCellStyles,
@@ -21895,17 +22246,6 @@ function FlexibleTableRowInner(param) {
21895
22246
  });
21896
22247
  }
21897
22248
  var FlexibleTableRow = /* @__PURE__ */ memo(FlexibleTableRowInner);
21898
- function _array_like_to_array$8(arr, len) {
21899
- if (len == null || len > arr.length)
21900
- len = arr.length;
21901
- for (var i = 0, arr2 = new Array(len); i < len; i++)
21902
- arr2[i] = arr[i];
21903
- return arr2;
21904
- }
21905
- function _array_with_holes$8(arr) {
21906
- if (Array.isArray(arr))
21907
- return arr;
21908
- }
21909
22249
  function _define_property$g(obj, key, value) {
21910
22250
  if (key in obj) {
21911
22251
  Object.defineProperty(obj, key, {
@@ -21919,37 +22259,6 @@ function _define_property$g(obj, key, value) {
21919
22259
  }
21920
22260
  return obj;
21921
22261
  }
21922
- function _iterable_to_array_limit$8(arr, i) {
21923
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
21924
- if (_i == null)
21925
- return;
21926
- var _arr = [];
21927
- var _n = true;
21928
- var _d = false;
21929
- var _s, _e;
21930
- try {
21931
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
21932
- _arr.push(_s.value);
21933
- if (i && _arr.length === i)
21934
- break;
21935
- }
21936
- } catch (err) {
21937
- _d = true;
21938
- _e = err;
21939
- } finally {
21940
- try {
21941
- if (!_n && _i["return"] != null)
21942
- _i["return"]();
21943
- } finally {
21944
- if (_d)
21945
- throw _e;
21946
- }
21947
- }
21948
- return _arr;
21949
- }
21950
- function _non_iterable_rest$8() {
21951
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
21952
- }
21953
22262
  function _object_spread$f(target) {
21954
22263
  for (var i = 1; i < arguments.length; i++) {
21955
22264
  var source = arguments[i] != null ? arguments[i] : {};
@@ -21966,7 +22275,7 @@ function _object_spread$f(target) {
21966
22275
  return target;
21967
22276
  }
21968
22277
  function ownKeys$e(object, enumerableOnly) {
21969
- var keys = Object.keys(object);
22278
+ var keys2 = Object.keys(object);
21970
22279
  if (Object.getOwnPropertySymbols) {
21971
22280
  var symbols = Object.getOwnPropertySymbols(object);
21972
22281
  if (enumerableOnly) {
@@ -21974,9 +22283,9 @@ function ownKeys$e(object, enumerableOnly) {
21974
22283
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
21975
22284
  });
21976
22285
  }
21977
- keys.push.apply(keys, symbols);
22286
+ keys2.push.apply(keys2, symbols);
21978
22287
  }
21979
- return keys;
22288
+ return keys2;
21980
22289
  }
21981
22290
  function _object_spread_props$e(target, source) {
21982
22291
  source = source != null ? source : {};
@@ -21989,24 +22298,8 @@ function _object_spread_props$e(target, source) {
21989
22298
  }
21990
22299
  return target;
21991
22300
  }
21992
- function _sliced_to_array$8(arr, i) {
21993
- return _array_with_holes$8(arr) || _iterable_to_array_limit$8(arr, i) || _unsupported_iterable_to_array$8(arr, i) || _non_iterable_rest$8();
21994
- }
21995
- function _unsupported_iterable_to_array$8(o, minLen) {
21996
- if (!o)
21997
- return;
21998
- if (typeof o === "string")
21999
- return _array_like_to_array$8(o, minLen);
22000
- var n = Object.prototype.toString.call(o).slice(8, -1);
22001
- if (n === "Object" && o.constructor)
22002
- n = o.constructor.name;
22003
- if (n === "Map" || n === "Set")
22004
- return Array.from(n);
22005
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
22006
- return _array_like_to_array$8(o, minLen);
22007
- }
22008
22301
  function FlexibleTable(param) {
22009
- 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;
22302
+ 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;
22010
22303
  var classes = useStyles$h({
22011
22304
  theme: tweakStyles
22012
22305
  });
@@ -22015,9 +22308,39 @@ function FlexibleTable(param) {
22015
22308
  className: "tweakTableRow",
22016
22309
  currentComponentName: "FlexibleTable"
22017
22310
  });
22018
- var _useState = _sliced_to_array$8(useState(false), 2), isHorizontallyScrolled = _useState[0], setIsHorizontallyScrolled = _useState[1];
22019
22311
  var observer = useRef();
22020
22312
  var scrollRef = useRef(null);
22313
+ var showedColumns = useMemo(function() {
22314
+ return enabledColumns !== null && enabledColumns !== void 0 ? enabledColumns : Object.keys(config);
22315
+ }, [
22316
+ enabledColumns,
22317
+ config
22318
+ ]);
22319
+ var getDataScrollAttributeSetter = useCallback(function(key, setter) {
22320
+ return function(el) {
22321
+ if (isHorizontallyScrollable && isNotEmpty(el) && setter(el)) {
22322
+ el.dataset[key] = "true";
22323
+ } else {
22324
+ el === null || el === void 0 ? void 0 : el.removeAttribute("data-".concat(key));
22325
+ }
22326
+ };
22327
+ }, [
22328
+ isHorizontallyScrollable
22329
+ ]);
22330
+ var setHasScrollBarAttribute = useCallback(getDataScrollAttributeSetter("scrollable", hasHorizontalScrollBar), [
22331
+ getDataScrollAttributeSetter
22332
+ ]);
22333
+ var setIsScrolledAttribute = useCallback(getDataScrollAttributeSetter("scrolled", function(el) {
22334
+ return el.scrollLeft > 0;
22335
+ }), [
22336
+ getDataScrollAttributeSetter
22337
+ ]);
22338
+ var ref = useMergedRefs([
22339
+ refForScroll,
22340
+ scrollRef,
22341
+ setHasScrollBarAttribute,
22342
+ setIsScrolledAttribute
22343
+ ]);
22021
22344
  var initIntersectionObserver = useCallback(function(node) {
22022
22345
  if (infinityScrollConfig) {
22023
22346
  if (infinityScrollConfig.isLoading || infinityScrollConfig.activePage >= infinityScrollConfig.totalPages) {
@@ -22041,33 +22364,39 @@ function FlexibleTable(param) {
22041
22364
  infinityScrollConfig === null || infinityScrollConfig === void 0 ? void 0 : infinityScrollConfig.onInfinityScroll
22042
22365
  ]);
22043
22366
  useEffect(function() {
22044
- var scrollContainer = (refForScroll !== null && refForScroll !== void 0 ? refForScroll : scrollRef).current;
22045
- if (scrollContainer === null || !isHorizontallyScrollable || !isFirstColumnSticky) {
22367
+ var scrollContainer = scrollRef.current;
22368
+ if (isEmpty(scrollContainer) || !isHorizontallyScrollable) {
22046
22369
  return;
22047
22370
  }
22048
- var scrollHandler = function(e) {
22049
- setIsHorizontallyScrolled(e.target.scrollLeft > 0);
22371
+ var scrollHandler = function() {
22372
+ setIsScrolledAttribute(scrollContainer);
22373
+ };
22374
+ var resizeHandler = function() {
22375
+ setHasScrollBarAttribute(scrollContainer);
22050
22376
  };
22051
22377
  scrollContainer.addEventListener("scroll", scrollHandler);
22378
+ window.addEventListener("resize", resizeHandler);
22052
22379
  return function() {
22053
- return scrollContainer.removeEventListener("scroll", scrollHandler);
22380
+ scrollContainer.removeEventListener("scroll", scrollHandler);
22381
+ window.removeEventListener("resize", resizeHandler);
22054
22382
  };
22055
22383
  }, [
22056
- scrollRef
22384
+ scrollRef,
22385
+ setIsScrolledAttribute,
22386
+ setHasScrollBarAttribute
22057
22387
  ]);
22058
22388
  var _activeRows_includes;
22059
22389
  return /* @__PURE__ */ jsx("div", {
22060
- ref: refForScroll !== null && refForScroll !== void 0 ? refForScroll : scrollRef,
22061
- className: clsx(isHorizontallyScrollable && classes.scroll, isHorizontallyScrolled && classes.horizontallyScrolled),
22390
+ ref,
22391
+ className: clsx(_define_property$g({}, classes.scroll, isHorizontallyScrollable)),
22062
22392
  children: /* @__PURE__ */ jsxs("table", _object_spread_props$e(_object_spread$f({
22063
- className: classes.root,
22064
- "data-testid": testId
22065
- }, addDataAttributes(data)), {
22393
+ className: classes.root
22394
+ }, addDataTestId(testId), addDataAttributes(data)), {
22066
22395
  children: [
22067
22396
  /* @__PURE__ */ jsx("thead", {
22068
22397
  children: /* @__PURE__ */ jsx("tr", {
22069
22398
  className: classes.headerRow,
22070
- children: (enabledColumns || Object.keys(content[0])).map(function(key, idx) {
22399
+ children: showedColumns.map(function(key, i) {
22071
22400
  var itemConfig = config === null || config === void 0 ? void 0 : config[key];
22072
22401
  var _itemConfig_title;
22073
22402
  var titleContent = (_itemConfig_title = itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.title) !== null && _itemConfig_title !== void 0 ? _itemConfig_title : "";
@@ -22078,8 +22407,9 @@ function FlexibleTable(param) {
22078
22407
  });
22079
22408
  }
22080
22409
  var _itemConfig_titleAlign;
22410
+ var _obj;
22081
22411
  return /* @__PURE__ */ jsx("th", {
22082
- className: clsx(classes.header, isFirstColumnSticky && idx === 0 && classes.headerSticky, isFirstColumnSticky && idx === 1 && classes.headerSecond),
22412
+ className: clsx(classes.header, (_obj = {}, _define_property$g(_obj, classes.headerSticky, isFirstColumnSticky && i === 0), _define_property$g(_obj, classes.headerSecond, isFirstColumnSticky && i === 1), _obj)),
22083
22413
  style: {
22084
22414
  minWidth: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.minWidth,
22085
22415
  width: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.width,
@@ -22094,42 +22424,53 @@ function FlexibleTable(param) {
22094
22424
  })
22095
22425
  })
22096
22426
  }),
22097
- /* @__PURE__ */ jsxs("tbody", {
22098
- children: [
22099
- 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", {
22100
- children: /* @__PURE__ */ jsx("td", {
22101
- colSpan: (enabledColumns || Object.keys(content[0])).length,
22102
- children: nothingFoundContent
22427
+ /* @__PURE__ */ jsx("tbody", {
22428
+ children: isLoading ? indexMap(6, function(i) {
22429
+ return /* @__PURE__ */ jsx("tr", {
22430
+ children: showedColumns.map(function(_, j) {
22431
+ return /* @__PURE__ */ jsx("td", {
22432
+ className: classes.skeleton,
22433
+ children: /* @__PURE__ */ jsx(Skeleton, {})
22434
+ }, j);
22103
22435
  })
22104
- }),
22105
- content.map(function(item, idx) {
22106
- return jsx(FlexibleTableRow, {
22107
- item,
22108
- uniqueField,
22109
- isActive: (_activeRows_includes = activeRows === null || activeRows === void 0 ? void 0 : activeRows.includes(idx)) !== null && _activeRows_includes !== void 0 ? _activeRows_includes : false,
22110
- isFirstColumnSticky,
22111
- onRowClick,
22112
- onRowHover,
22113
- enabledColumns,
22114
- config,
22115
- rowAttributes,
22116
- tweakStyles: tweakTableRowStyles,
22117
- expandableRowComponent
22118
- }, uniqueField ? item[uniqueField] : idx);
22119
- }),
22120
- infinityScrollConfig !== void 0 && !infinityScrollConfig.isLastPage && /* @__PURE__ */ jsx("tr", {
22121
- children: /* @__PURE__ */ jsx("td", {
22122
- colSpan: (enabledColumns || Object.keys(content[0])).length,
22123
- children: /* @__PURE__ */ jsx("div", {
22124
- ref: initIntersectionObserver,
22125
- className: classes.loader,
22126
- children: /* @__PURE__ */ jsx(ThemedPreloader, {
22127
- type: "dots"
22436
+ }, i);
22437
+ }) : /* @__PURE__ */ jsxs(Fragment, {
22438
+ children: [
22439
+ !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", {
22440
+ children: /* @__PURE__ */ jsx("td", {
22441
+ colSpan: showedColumns.length,
22442
+ children: nothingFoundContent
22443
+ })
22444
+ }),
22445
+ content.map(function(item, i) {
22446
+ return jsx(FlexibleTableRow, {
22447
+ item,
22448
+ uniqueField,
22449
+ isActive: (_activeRows_includes = activeRows === null || activeRows === void 0 ? void 0 : activeRows.includes(i)) !== null && _activeRows_includes !== void 0 ? _activeRows_includes : false,
22450
+ isFirstColumnSticky,
22451
+ onRowClick,
22452
+ onRowHover,
22453
+ enabledColumns,
22454
+ config,
22455
+ rowAttributes,
22456
+ tweakStyles: tweakTableRowStyles,
22457
+ expandableRowComponent
22458
+ }, isNotEmpty(uniqueField) ? item[uniqueField] : i);
22459
+ }),
22460
+ infinityScrollConfig !== void 0 && !infinityScrollConfig.isLastPage && /* @__PURE__ */ jsx("tr", {
22461
+ children: /* @__PURE__ */ jsx("td", {
22462
+ colSpan: showedColumns.length,
22463
+ children: /* @__PURE__ */ jsx("div", {
22464
+ ref: initIntersectionObserver,
22465
+ className: classes.loader,
22466
+ children: /* @__PURE__ */ jsx(ThemedPreloader, {
22467
+ type: "dots"
22468
+ })
22128
22469
  })
22129
22470
  })
22130
22471
  })
22131
- })
22132
- ]
22472
+ ]
22473
+ })
22133
22474
  })
22134
22475
  ]
22135
22476
  }))
@@ -22228,7 +22569,7 @@ function _object_spread$e(target) {
22228
22569
  return target;
22229
22570
  }
22230
22571
  function ownKeys$d(object, enumerableOnly) {
22231
- var keys = Object.keys(object);
22572
+ var keys2 = Object.keys(object);
22232
22573
  if (Object.getOwnPropertySymbols) {
22233
22574
  var symbols = Object.getOwnPropertySymbols(object);
22234
22575
  if (enumerableOnly) {
@@ -22236,9 +22577,9 @@ function ownKeys$d(object, enumerableOnly) {
22236
22577
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
22237
22578
  });
22238
22579
  }
22239
- keys.push.apply(keys, symbols);
22580
+ keys2.push.apply(keys2, symbols);
22240
22581
  }
22241
- return keys;
22582
+ return keys2;
22242
22583
  }
22243
22584
  function _object_spread_props$d(target, source) {
22244
22585
  source = source != null ? source : {};
@@ -22697,7 +23038,7 @@ function _object_spread$d(target) {
22697
23038
  return target;
22698
23039
  }
22699
23040
  function ownKeys$c(object, enumerableOnly) {
22700
- var keys = Object.keys(object);
23041
+ var keys2 = Object.keys(object);
22701
23042
  if (Object.getOwnPropertySymbols) {
22702
23043
  var symbols = Object.getOwnPropertySymbols(object);
22703
23044
  if (enumerableOnly) {
@@ -22705,9 +23046,9 @@ function ownKeys$c(object, enumerableOnly) {
22705
23046
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
22706
23047
  });
22707
23048
  }
22708
- keys.push.apply(keys, symbols);
23049
+ keys2.push.apply(keys2, symbols);
22709
23050
  }
22710
- return keys;
23051
+ return keys2;
22711
23052
  }
22712
23053
  function _object_spread_props$c(target, source) {
22713
23054
  source = source != null ? source : {};
@@ -23027,7 +23368,7 @@ function _object_spread$c(target) {
23027
23368
  return target;
23028
23369
  }
23029
23370
  function ownKeys$b(object, enumerableOnly) {
23030
- var keys = Object.keys(object);
23371
+ var keys2 = Object.keys(object);
23031
23372
  if (Object.getOwnPropertySymbols) {
23032
23373
  var symbols = Object.getOwnPropertySymbols(object);
23033
23374
  if (enumerableOnly) {
@@ -23035,9 +23376,9 @@ function ownKeys$b(object, enumerableOnly) {
23035
23376
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
23036
23377
  });
23037
23378
  }
23038
- keys.push.apply(keys, symbols);
23379
+ keys2.push.apply(keys2, symbols);
23039
23380
  }
23040
- return keys;
23381
+ return keys2;
23041
23382
  }
23042
23383
  function _object_spread_props$b(target, source) {
23043
23384
  source = source != null ? source : {};
@@ -23352,7 +23693,7 @@ function _object_spread$b(target) {
23352
23693
  return target;
23353
23694
  }
23354
23695
  function ownKeys$a(object, enumerableOnly) {
23355
- var keys = Object.keys(object);
23696
+ var keys2 = Object.keys(object);
23356
23697
  if (Object.getOwnPropertySymbols) {
23357
23698
  var symbols = Object.getOwnPropertySymbols(object);
23358
23699
  if (enumerableOnly) {
@@ -23360,9 +23701,9 @@ function ownKeys$a(object, enumerableOnly) {
23360
23701
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
23361
23702
  });
23362
23703
  }
23363
- keys.push.apply(keys, symbols);
23704
+ keys2.push.apply(keys2, symbols);
23364
23705
  }
23365
- return keys;
23706
+ return keys2;
23366
23707
  }
23367
23708
  function _object_spread_props$a(target, source) {
23368
23709
  source = source != null ? source : {};
@@ -23501,7 +23842,7 @@ function _object_spread$a(target) {
23501
23842
  return target;
23502
23843
  }
23503
23844
  function ownKeys$9(object, enumerableOnly) {
23504
- var keys = Object.keys(object);
23845
+ var keys2 = Object.keys(object);
23505
23846
  if (Object.getOwnPropertySymbols) {
23506
23847
  var symbols = Object.getOwnPropertySymbols(object);
23507
23848
  if (enumerableOnly) {
@@ -23509,9 +23850,9 @@ function ownKeys$9(object, enumerableOnly) {
23509
23850
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
23510
23851
  });
23511
23852
  }
23512
- keys.push.apply(keys, symbols);
23853
+ keys2.push.apply(keys2, symbols);
23513
23854
  }
23514
- return keys;
23855
+ return keys2;
23515
23856
  }
23516
23857
  function _object_spread_props$9(target, source) {
23517
23858
  source = source != null ? source : {};
@@ -23723,7 +24064,7 @@ function _object_spread$9(target) {
23723
24064
  return target;
23724
24065
  }
23725
24066
  function ownKeys$8(object, enumerableOnly) {
23726
- var keys = Object.keys(object);
24067
+ var keys2 = Object.keys(object);
23727
24068
  if (Object.getOwnPropertySymbols) {
23728
24069
  var symbols = Object.getOwnPropertySymbols(object);
23729
24070
  if (enumerableOnly) {
@@ -23731,9 +24072,9 @@ function ownKeys$8(object, enumerableOnly) {
23731
24072
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
23732
24073
  });
23733
24074
  }
23734
- keys.push.apply(keys, symbols);
24075
+ keys2.push.apply(keys2, symbols);
23735
24076
  }
23736
- return keys;
24077
+ return keys2;
23737
24078
  }
23738
24079
  function _object_spread_props$8(target, source) {
23739
24080
  source = source != null ? source : {};
@@ -26961,7 +27302,7 @@ function _object_spread$7(target) {
26961
27302
  return target;
26962
27303
  }
26963
27304
  function ownKeys$7(object, enumerableOnly) {
26964
- var keys = Object.keys(object);
27305
+ var keys2 = Object.keys(object);
26965
27306
  if (Object.getOwnPropertySymbols) {
26966
27307
  var symbols = Object.getOwnPropertySymbols(object);
26967
27308
  if (enumerableOnly) {
@@ -26969,9 +27310,9 @@ function ownKeys$7(object, enumerableOnly) {
26969
27310
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
26970
27311
  });
26971
27312
  }
26972
- keys.push.apply(keys, symbols);
27313
+ keys2.push.apply(keys2, symbols);
26973
27314
  }
26974
- return keys;
27315
+ return keys2;
26975
27316
  }
26976
27317
  function _object_spread_props$7(target, source) {
26977
27318
  source = source != null ? source : {};
@@ -27244,7 +27585,7 @@ function _object_spread$6(target) {
27244
27585
  return target;
27245
27586
  }
27246
27587
  function ownKeys$6(object, enumerableOnly) {
27247
- var keys = Object.keys(object);
27588
+ var keys2 = Object.keys(object);
27248
27589
  if (Object.getOwnPropertySymbols) {
27249
27590
  var symbols = Object.getOwnPropertySymbols(object);
27250
27591
  if (enumerableOnly) {
@@ -27252,9 +27593,9 @@ function ownKeys$6(object, enumerableOnly) {
27252
27593
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
27253
27594
  });
27254
27595
  }
27255
- keys.push.apply(keys, symbols);
27596
+ keys2.push.apply(keys2, symbols);
27256
27597
  }
27257
- return keys;
27598
+ return keys2;
27258
27599
  }
27259
27600
  function _object_spread_props$6(target, source) {
27260
27601
  source = source != null ? source : {};
@@ -27386,7 +27727,7 @@ function _object_spread$5(target) {
27386
27727
  return target;
27387
27728
  }
27388
27729
  function ownKeys$5(object, enumerableOnly) {
27389
- var keys = Object.keys(object);
27730
+ var keys2 = Object.keys(object);
27390
27731
  if (Object.getOwnPropertySymbols) {
27391
27732
  var symbols = Object.getOwnPropertySymbols(object);
27392
27733
  if (enumerableOnly) {
@@ -27394,9 +27735,9 @@ function ownKeys$5(object, enumerableOnly) {
27394
27735
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
27395
27736
  });
27396
27737
  }
27397
- keys.push.apply(keys, symbols);
27738
+ keys2.push.apply(keys2, symbols);
27398
27739
  }
27399
- return keys;
27740
+ return keys2;
27400
27741
  }
27401
27742
  function _object_spread_props$5(target, source) {
27402
27743
  source = source != null ? source : {};
@@ -27410,7 +27751,7 @@ function _object_spread_props$5(target, source) {
27410
27751
  return target;
27411
27752
  }
27412
27753
  var Switch = function(param) {
27413
- 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;
27754
+ 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;
27414
27755
  var classes = useStyles$5({
27415
27756
  theme: tweakStyles
27416
27757
  });
@@ -27649,7 +27990,7 @@ function _object_spread$4(target) {
27649
27990
  return target;
27650
27991
  }
27651
27992
  function ownKeys$4(object, enumerableOnly) {
27652
- var keys = Object.keys(object);
27993
+ var keys2 = Object.keys(object);
27653
27994
  if (Object.getOwnPropertySymbols) {
27654
27995
  var symbols = Object.getOwnPropertySymbols(object);
27655
27996
  if (enumerableOnly) {
@@ -27657,9 +27998,9 @@ function ownKeys$4(object, enumerableOnly) {
27657
27998
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
27658
27999
  });
27659
28000
  }
27660
- keys.push.apply(keys, symbols);
28001
+ keys2.push.apply(keys2, symbols);
27661
28002
  }
27662
- return keys;
28003
+ return keys2;
27663
28004
  }
27664
28005
  function _object_spread_props$4(target, source) {
27665
28006
  source = source != null ? source : {};
@@ -27858,7 +28199,7 @@ function _object_spread$3(target) {
27858
28199
  return target;
27859
28200
  }
27860
28201
  function ownKeys$3(object, enumerableOnly) {
27861
- var keys = Object.keys(object);
28202
+ var keys2 = Object.keys(object);
27862
28203
  if (Object.getOwnPropertySymbols) {
27863
28204
  var symbols = Object.getOwnPropertySymbols(object);
27864
28205
  if (enumerableOnly) {
@@ -27866,9 +28207,9 @@ function ownKeys$3(object, enumerableOnly) {
27866
28207
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
27867
28208
  });
27868
28209
  }
27869
- keys.push.apply(keys, symbols);
28210
+ keys2.push.apply(keys2, symbols);
27870
28211
  }
27871
- return keys;
28212
+ return keys2;
27872
28213
  }
27873
28214
  function _object_spread_props$3(target, source) {
27874
28215
  source = source != null ? source : {};
@@ -27985,7 +28326,7 @@ function _object_spread$2(target) {
27985
28326
  return target;
27986
28327
  }
27987
28328
  function ownKeys$2(object, enumerableOnly) {
27988
- var keys = Object.keys(object);
28329
+ var keys2 = Object.keys(object);
27989
28330
  if (Object.getOwnPropertySymbols) {
27990
28331
  var symbols = Object.getOwnPropertySymbols(object);
27991
28332
  if (enumerableOnly) {
@@ -27993,9 +28334,9 @@ function ownKeys$2(object, enumerableOnly) {
27993
28334
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
27994
28335
  });
27995
28336
  }
27996
- keys.push.apply(keys, symbols);
28337
+ keys2.push.apply(keys2, symbols);
27997
28338
  }
27998
- return keys;
28339
+ return keys2;
27999
28340
  }
28000
28341
  function _object_spread_props$2(target, source) {
28001
28342
  source = source != null ? source : {};
@@ -28194,7 +28535,7 @@ function _object_spread$1(target) {
28194
28535
  return target;
28195
28536
  }
28196
28537
  function ownKeys$1(object, enumerableOnly) {
28197
- var keys = Object.keys(object);
28538
+ var keys2 = Object.keys(object);
28198
28539
  if (Object.getOwnPropertySymbols) {
28199
28540
  var symbols = Object.getOwnPropertySymbols(object);
28200
28541
  if (enumerableOnly) {
@@ -28202,9 +28543,9 @@ function ownKeys$1(object, enumerableOnly) {
28202
28543
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
28203
28544
  });
28204
28545
  }
28205
- keys.push.apply(keys, symbols);
28546
+ keys2.push.apply(keys2, symbols);
28206
28547
  }
28207
- return keys;
28548
+ return keys2;
28208
28549
  }
28209
28550
  function _object_spread_props$1(target, source) {
28210
28551
  source = source != null ? source : {};
@@ -28360,7 +28701,7 @@ function _object_spread(target) {
28360
28701
  return target;
28361
28702
  }
28362
28703
  function ownKeys(object, enumerableOnly) {
28363
- var keys = Object.keys(object);
28704
+ var keys2 = Object.keys(object);
28364
28705
  if (Object.getOwnPropertySymbols) {
28365
28706
  var symbols = Object.getOwnPropertySymbols(object);
28366
28707
  if (enumerableOnly) {
@@ -28368,9 +28709,9 @@ function ownKeys(object, enumerableOnly) {
28368
28709
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
28369
28710
  });
28370
28711
  }
28371
- keys.push.apply(keys, symbols);
28712
+ keys2.push.apply(keys2, symbols);
28372
28713
  }
28373
- return keys;
28714
+ return keys2;
28374
28715
  }
28375
28716
  function _object_spread_props(target, source) {
28376
28717
  source = source != null ? source : {};
@@ -28611,6 +28952,7 @@ export {
28611
28952
  ScrollIntoViewIfNeeded,
28612
28953
  SearchInput,
28613
28954
  Select,
28955
+ Skeleton,
28614
28956
  SmartInput,
28615
28957
  Switch,
28616
28958
  TextArea,
@@ -28665,6 +29007,7 @@ export {
28665
29007
  useDidMountEffect,
28666
29008
  useDropdown,
28667
29009
  useIsMounted,
29010
+ useMergedRefs,
28668
29011
  useMixedStyles,
28669
29012
  useOnClickOutside,
28670
29013
  useOnClickOutsideWithRef,