@true-engineering/true-react-common-ui-kit 3.0.0-alpha.0 → 3.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -201
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.d.ts +1 -5
- package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.d.ts +1 -3
- package/dist/components/Flag/augment.d.ts +1 -1
- package/dist/components/FlexibleTable/FlexibleTable.d.ts +5 -2
- package/dist/components/FlexibleTable/FlexibleTable.styles.d.ts +1 -1
- package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.d.ts +2 -2
- package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.d.ts +2 -2
- package/dist/components/FlexibleTable/helpers.d.ts +1 -0
- package/dist/components/FlexibleTable/types.d.ts +1 -1
- package/dist/components/Icon/complexIcons/augment.d.ts +1 -1
- package/dist/components/MultiSelectList/MultiSelectList.d.ts +1 -2
- package/dist/components/Switch/Switch.d.ts +1 -1
- package/dist/helpers/phone.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use-mixed-styles.d.ts +1 -0
- package/dist/true-react-common-ui-kit.js +719 -411
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +719 -411
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/dist/vite-env.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/AddButton/AddButton.stories.tsx +21 -21
- package/src/components/Checkbox/Checkbox.styles.ts +1 -0
- package/src/components/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Colors/Colors.stories.tsx +7 -7
- package/src/components/DateInput/DateInput.tsx +1 -9
- package/src/components/DateInput/constants.ts +2 -2
- package/src/components/DatePicker/DatePicker.stories.tsx +1 -0
- package/src/components/DatePicker/DatePicker.tsx +1 -3
- package/src/components/FiltersPane/FiltersPane.stories.tsx +0 -8
- package/src/components/FiltersPane/components/FilterInterval/FilterInterval.styles.ts +2 -1
- package/src/components/FiltersPane/components/FilterSelect/FilterSelect.styles.ts +3 -1
- package/src/components/FiltersPane/components/FilterSelect/FilterSelect.tsx +1 -6
- package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.ts +2 -1
- package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.ts +1 -0
- package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.tsx +1 -4
- package/src/components/FiltersPane/types.ts +1 -1
- package/src/components/Flag/augment.d.ts +1 -1
- package/src/components/FlexibleTable/FlexibleTable.stories.tsx +16 -14
- package/src/components/FlexibleTable/FlexibleTable.styles.ts +4 -10
- package/src/components/FlexibleTable/FlexibleTable.tsx +23 -17
- package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.ts +4 -0
- package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.tsx +2 -2
- package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.tsx +2 -2
- package/src/components/FlexibleTable/helpers.ts +4 -0
- package/src/components/FlexibleTable/types.ts +1 -1
- package/src/components/Icon/complexIcons/augment.d.ts +1 -1
- package/src/components/Icon/complexIcons/avatarGreen.svg +57 -57
- package/src/components/Icon/complexIcons/index.ts +1 -1
- package/src/components/MoreMenu/MoreMenu.stories.tsx +46 -46
- package/src/components/MultiSelectList/MultiSelectList.styles.ts +4 -0
- package/src/components/MultiSelectList/MultiSelectList.tsx +1 -3
- package/src/components/NumberInput/index.ts +1 -1
- package/src/components/PhoneInput/types.ts +16 -16
- package/src/components/ScrollIntoViewIfNeeded/index.ts +1 -1
- package/src/components/Select/Select.styles.ts +5 -3
- package/src/components/Select/constants.ts +2 -2
- package/src/components/Select/types.ts +1 -1
- package/src/components/Switch/Switch.tsx +2 -2
- package/src/components/TextWithTooltip/TextWithTooltip.stories.tsx +58 -58
- package/src/components/ThemedPreloader/components/DefaultPreloader/index.ts +1 -1
- package/src/components/Tooltip/types.ts +1 -1
- package/src/helpers/phone.ts +1 -1
- package/src/helpers/popper-helpers.ts +17 -17
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-is-mounted.ts +15 -15
- package/src/hooks/use-mixed-styles.ts +14 -0
- package/src/vite-env.d.ts +1 -1
|
@@ -839,9 +839,9 @@ function requireReactJsxRuntime_development() {
|
|
|
839
839
|
}
|
|
840
840
|
function validateFragmentProps(fragment) {
|
|
841
841
|
{
|
|
842
|
-
var
|
|
843
|
-
for (var i = 0; i <
|
|
844
|
-
var key =
|
|
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$
|
|
1208
|
-
var hasOwnProperty$
|
|
1209
|
-
var nativeObjectToString$1 = objectProto$
|
|
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$
|
|
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$
|
|
1229
|
-
var nativeObjectToString = objectProto$
|
|
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$
|
|
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$
|
|
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$
|
|
1279
|
+
var funcProto$1 = Function.prototype, objectProto$b = Object.prototype;
|
|
1280
1280
|
var funcToString$1 = funcProto$1.toString;
|
|
1281
|
-
var hasOwnProperty$
|
|
1281
|
+
var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
|
|
1282
1282
|
var reIsNative = RegExp(
|
|
1283
|
-
"^" + funcToString$1.call(hasOwnProperty$
|
|
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$
|
|
1314
|
-
var 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$
|
|
1321
|
+
return hasOwnProperty$8.call(data, key) ? data[key] : void 0;
|
|
1322
1322
|
}
|
|
1323
|
-
var objectProto$
|
|
1324
|
-
var 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$
|
|
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$
|
|
1516
|
+
var objectProto$8 = Object.prototype;
|
|
1517
1517
|
function isPrototype(value) {
|
|
1518
|
-
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$
|
|
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$
|
|
1527
|
+
var argsTag$2 = "[object Arguments]";
|
|
1528
1528
|
function baseIsArguments(value) {
|
|
1529
|
-
return isObjectLike(value) && baseGetTag(value) == argsTag$
|
|
1529
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag$2;
|
|
1530
1530
|
}
|
|
1531
|
-
var objectProto$
|
|
1532
|
-
var hasOwnProperty$
|
|
1533
|
-
var propertyIsEnumerable = objectProto$
|
|
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$
|
|
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$
|
|
1563
|
-
var funcProto = Function.prototype, objectProto$
|
|
1562
|
+
var objectTag$3 = "[object Object]";
|
|
1563
|
+
var funcProto = Function.prototype, objectProto$6 = Object.prototype;
|
|
1564
1564
|
var funcToString = funcProto.toString;
|
|
1565
|
-
var 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$
|
|
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$
|
|
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$
|
|
1619
|
-
var 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$
|
|
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$
|
|
1659
|
-
var 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$
|
|
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$
|
|
1892
|
-
var
|
|
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
|
-
|
|
1900
|
+
keys2.push.apply(keys2, symbols);
|
|
1901
1901
|
}
|
|
1902
|
-
return
|
|
1902
|
+
return keys2;
|
|
1903
1903
|
}
|
|
1904
|
-
function _object_spread_props$
|
|
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$
|
|
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$
|
|
1963
|
+
return useStyles2(isNotEmpty(data) ? _object_spread_props$H(_object_spread$S({}, data), {
|
|
1964
1964
|
theme: cleanStyles(data.theme)
|
|
1965
1965
|
}) : data);
|
|
1966
1966
|
};
|
|
@@ -2619,8 +2619,8 @@ function getFreshSideObject() {
|
|
|
2619
2619
|
function mergePaddingObject(paddingObject) {
|
|
2620
2620
|
return Object.assign({}, getFreshSideObject(), paddingObject);
|
|
2621
2621
|
}
|
|
2622
|
-
function expandToHashMap(value,
|
|
2623
|
-
return
|
|
2622
|
+
function expandToHashMap(value, keys2) {
|
|
2623
|
+
return keys2.reduce(function(hashMap, key) {
|
|
2624
2624
|
hashMap[key] = value;
|
|
2625
2625
|
return hashMap;
|
|
2626
2626
|
}, {});
|
|
@@ -4098,63 +4098,71 @@ var useDidMountEffect = function(effect3, dependencies) {
|
|
|
4098
4098
|
};
|
|
4099
4099
|
}, dependencies);
|
|
4100
4100
|
};
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4101
|
+
var useMixedStyles = function(baseStyles, tweakStyles) {
|
|
4102
|
+
return useMemo(function() {
|
|
4103
|
+
return isNotEmpty(baseStyles) && isNotEmpty(tweakStyles) ? mergeStyles(baseStyles, tweakStyles) : baseStyles !== null && baseStyles !== void 0 ? baseStyles : tweakStyles;
|
|
4104
|
+
}, [
|
|
4105
|
+
baseStyles,
|
|
4106
|
+
tweakStyles
|
|
4107
|
+
]);
|
|
4108
|
+
};
|
|
4109
|
+
const avatarGreen = ` <svg
|
|
4110
|
+
width="100%"
|
|
4111
|
+
height="100%"
|
|
4112
|
+
viewBox="0 0 32 32"
|
|
4113
|
+
fill="none"
|
|
4114
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4115
|
+
>
|
|
4116
|
+
<circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />
|
|
4117
|
+
<mask
|
|
4118
|
+
id="mask0_0_12744"
|
|
4119
|
+
style="mask-type: 'alpha';"
|
|
4120
|
+
maskUnits="userSpaceOnUse"
|
|
4121
|
+
x="0"
|
|
4122
|
+
y="0"
|
|
4123
|
+
width="32"
|
|
4124
|
+
height="32"
|
|
4125
|
+
>
|
|
4126
|
+
<circle cx="16" cy="16" r="16" fill="white" />
|
|
4127
|
+
</mask>
|
|
4128
|
+
<g mask="url(#mask0_0_12744)">
|
|
4129
|
+
<circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />
|
|
4130
|
+
<mask
|
|
4131
|
+
id="mask1_0_12744"
|
|
4132
|
+
style="mask-type: 'alpha';"
|
|
4133
|
+
maskUnits="userSpaceOnUse"
|
|
4134
|
+
x="3"
|
|
4135
|
+
y="16"
|
|
4136
|
+
width="26"
|
|
4137
|
+
height="26"
|
|
4138
|
+
>
|
|
4139
|
+
<circle cx="16" cy="29" r="13" fill="white" />
|
|
4140
|
+
</mask>
|
|
4141
|
+
<g mask="url(#mask1_0_12744)">
|
|
4142
|
+
<ellipse
|
|
4143
|
+
cx="16"
|
|
4144
|
+
cy="17.5"
|
|
4145
|
+
rx="6"
|
|
4146
|
+
ry="7.5"
|
|
4147
|
+
fill="#505F79"
|
|
4148
|
+
fill-opacity="0.204983"
|
|
4149
|
+
/>
|
|
4150
|
+
</g>
|
|
4151
|
+
</g>
|
|
4152
|
+
<ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />
|
|
4153
|
+
<defs>
|
|
4154
|
+
<linearGradient
|
|
4155
|
+
id="paint0_linear_0_12744"
|
|
4156
|
+
x1="13.347"
|
|
4157
|
+
y1="46.279"
|
|
4158
|
+
x2="33.5318"
|
|
4159
|
+
y2="30.8088"
|
|
4160
|
+
gradientUnits="userSpaceOnUse"
|
|
4161
|
+
>
|
|
4162
|
+
<stop stop-color="#ABD229" />
|
|
4163
|
+
<stop offset="1" stop-color="#9CD03F" />
|
|
4164
|
+
</linearGradient>
|
|
4165
|
+
</defs>
|
|
4158
4166
|
</svg>`;
|
|
4159
4167
|
var complexIcons = {
|
|
4160
4168
|
avatar: avatarGreen
|
|
@@ -5057,8 +5065,8 @@ function _object_spread$P(target) {
|
|
|
5057
5065
|
}
|
|
5058
5066
|
return target;
|
|
5059
5067
|
}
|
|
5060
|
-
function ownKeys$
|
|
5061
|
-
var
|
|
5068
|
+
function ownKeys$G(object, enumerableOnly) {
|
|
5069
|
+
var keys2 = Object.keys(object);
|
|
5062
5070
|
if (Object.getOwnPropertySymbols) {
|
|
5063
5071
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5064
5072
|
if (enumerableOnly) {
|
|
@@ -5066,16 +5074,16 @@ function ownKeys$F(object, enumerableOnly) {
|
|
|
5066
5074
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5067
5075
|
});
|
|
5068
5076
|
}
|
|
5069
|
-
|
|
5077
|
+
keys2.push.apply(keys2, symbols);
|
|
5070
5078
|
}
|
|
5071
|
-
return
|
|
5079
|
+
return keys2;
|
|
5072
5080
|
}
|
|
5073
|
-
function _object_spread_props$
|
|
5081
|
+
function _object_spread_props$G(target, source) {
|
|
5074
5082
|
source = source != null ? source : {};
|
|
5075
5083
|
if (Object.getOwnPropertyDescriptors) {
|
|
5076
5084
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5077
5085
|
} else {
|
|
5078
|
-
ownKeys$
|
|
5086
|
+
ownKeys$G(Object(source)).forEach(function(key) {
|
|
5079
5087
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5080
5088
|
});
|
|
5081
5089
|
}
|
|
@@ -5106,12 +5114,12 @@ var IconBoilerplate = function(param) {
|
|
|
5106
5114
|
}, path), index);
|
|
5107
5115
|
}),
|
|
5108
5116
|
(_icon_rects = icon.rects) === null || _icon_rects === void 0 ? void 0 : _icon_rects.map(function(rect, index) {
|
|
5109
|
-
return /* @__PURE__ */ createElement("rect", _object_spread_props$
|
|
5117
|
+
return /* @__PURE__ */ createElement("rect", _object_spread_props$G(_object_spread$P({}, rect), {
|
|
5110
5118
|
key: index
|
|
5111
5119
|
}));
|
|
5112
5120
|
}),
|
|
5113
5121
|
(_icon_circles = icon.circles) === null || _icon_circles === void 0 ? void 0 : _icon_circles.map(function(circle, index) {
|
|
5114
|
-
return /* @__PURE__ */ createElement("circle", _object_spread_props$
|
|
5122
|
+
return /* @__PURE__ */ createElement("circle", _object_spread_props$G(_object_spread$P({}, circle), {
|
|
5115
5123
|
key: index
|
|
5116
5124
|
}));
|
|
5117
5125
|
})
|
|
@@ -5152,8 +5160,8 @@ function _object_spread$O(target) {
|
|
|
5152
5160
|
}
|
|
5153
5161
|
return target;
|
|
5154
5162
|
}
|
|
5155
|
-
function ownKeys$
|
|
5156
|
-
var
|
|
5163
|
+
function ownKeys$F(object, enumerableOnly) {
|
|
5164
|
+
var keys2 = Object.keys(object);
|
|
5157
5165
|
if (Object.getOwnPropertySymbols) {
|
|
5158
5166
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5159
5167
|
if (enumerableOnly) {
|
|
@@ -5161,16 +5169,16 @@ function ownKeys$E(object, enumerableOnly) {
|
|
|
5161
5169
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5162
5170
|
});
|
|
5163
5171
|
}
|
|
5164
|
-
|
|
5172
|
+
keys2.push.apply(keys2, symbols);
|
|
5165
5173
|
}
|
|
5166
|
-
return
|
|
5174
|
+
return keys2;
|
|
5167
5175
|
}
|
|
5168
|
-
function _object_spread_props$
|
|
5176
|
+
function _object_spread_props$F(target, source) {
|
|
5169
5177
|
source = source != null ? source : {};
|
|
5170
5178
|
if (Object.getOwnPropertyDescriptors) {
|
|
5171
5179
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5172
5180
|
} else {
|
|
5173
|
-
ownKeys$
|
|
5181
|
+
ownKeys$F(Object(source)).forEach(function(key) {
|
|
5174
5182
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5175
5183
|
});
|
|
5176
5184
|
}
|
|
@@ -5181,7 +5189,7 @@ var Icon = function(param) {
|
|
|
5181
5189
|
var classes = useStyles$L({
|
|
5182
5190
|
theme: tweakStyles
|
|
5183
5191
|
});
|
|
5184
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
5192
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$F(_object_spread$O({
|
|
5185
5193
|
className: classes.root
|
|
5186
5194
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
5187
5195
|
children: isComplexIcon(type) ? /* @__PURE__ */ jsx(ComplexIconBoilerplate, {
|
|
@@ -5270,8 +5278,8 @@ function _object_spread$N(target) {
|
|
|
5270
5278
|
}
|
|
5271
5279
|
return target;
|
|
5272
5280
|
}
|
|
5273
|
-
function ownKeys$
|
|
5274
|
-
var
|
|
5281
|
+
function ownKeys$E(object, enumerableOnly) {
|
|
5282
|
+
var keys2 = Object.keys(object);
|
|
5275
5283
|
if (Object.getOwnPropertySymbols) {
|
|
5276
5284
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5277
5285
|
if (enumerableOnly) {
|
|
@@ -5279,16 +5287,16 @@ function ownKeys$D(object, enumerableOnly) {
|
|
|
5279
5287
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5280
5288
|
});
|
|
5281
5289
|
}
|
|
5282
|
-
|
|
5290
|
+
keys2.push.apply(keys2, symbols);
|
|
5283
5291
|
}
|
|
5284
|
-
return
|
|
5292
|
+
return keys2;
|
|
5285
5293
|
}
|
|
5286
|
-
function _object_spread_props$
|
|
5294
|
+
function _object_spread_props$E(target, source) {
|
|
5287
5295
|
source = source != null ? source : {};
|
|
5288
5296
|
if (Object.getOwnPropertyDescriptors) {
|
|
5289
5297
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5290
5298
|
} else {
|
|
5291
|
-
ownKeys$
|
|
5299
|
+
ownKeys$E(Object(source)).forEach(function(key) {
|
|
5292
5300
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5293
5301
|
});
|
|
5294
5302
|
}
|
|
@@ -5304,7 +5312,7 @@ var List = function(param) {
|
|
|
5304
5312
|
onClick === null || onClick === void 0 ? void 0 : onClick();
|
|
5305
5313
|
};
|
|
5306
5314
|
var _item_testId;
|
|
5307
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
5315
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$E(_object_spread$N({
|
|
5308
5316
|
className: classes.root
|
|
5309
5317
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
5310
5318
|
children: items.map(function(item, idx) {
|
|
@@ -5314,7 +5322,7 @@ var List = function(param) {
|
|
|
5314
5322
|
item.shouldDrawSpacerAbove && /* @__PURE__ */ jsx("div", {
|
|
5315
5323
|
className: classes.spacer
|
|
5316
5324
|
}),
|
|
5317
|
-
/* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
5325
|
+
/* @__PURE__ */ jsxs("div", _object_spread_props$E(_object_spread$N({
|
|
5318
5326
|
className: clsx(classes.item, (_obj = {}, _define_property$P(_obj, classes.disabledItem, item.disabled), _define_property$P(_obj, classes.withIconGap, item.withIconGap), _obj)),
|
|
5319
5327
|
onClick: item.disabled ? void 0 : function() {
|
|
5320
5328
|
return handleItemClick(item);
|
|
@@ -5482,8 +5490,8 @@ function _object_spread$L(target) {
|
|
|
5482
5490
|
}
|
|
5483
5491
|
return target;
|
|
5484
5492
|
}
|
|
5485
|
-
function ownKeys$
|
|
5486
|
-
var
|
|
5493
|
+
function ownKeys$D(object, enumerableOnly) {
|
|
5494
|
+
var keys2 = Object.keys(object);
|
|
5487
5495
|
if (Object.getOwnPropertySymbols) {
|
|
5488
5496
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5489
5497
|
if (enumerableOnly) {
|
|
@@ -5491,16 +5499,16 @@ function ownKeys$C(object, enumerableOnly) {
|
|
|
5491
5499
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5492
5500
|
});
|
|
5493
5501
|
}
|
|
5494
|
-
|
|
5502
|
+
keys2.push.apply(keys2, symbols);
|
|
5495
5503
|
}
|
|
5496
|
-
return
|
|
5504
|
+
return keys2;
|
|
5497
5505
|
}
|
|
5498
|
-
function _object_spread_props$
|
|
5506
|
+
function _object_spread_props$D(target, source) {
|
|
5499
5507
|
source = source != null ? source : {};
|
|
5500
5508
|
if (Object.getOwnPropertyDescriptors) {
|
|
5501
5509
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5502
5510
|
} else {
|
|
5503
|
-
ownKeys$
|
|
5511
|
+
ownKeys$D(Object(source)).forEach(function(key) {
|
|
5504
5512
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5505
5513
|
});
|
|
5506
5514
|
}
|
|
@@ -5544,7 +5552,7 @@ var AccountInfo = function(param) {
|
|
|
5544
5552
|
useOnClickOutsideWithRef(dropdownRef, function() {
|
|
5545
5553
|
return setIsMenuOpen(false);
|
|
5546
5554
|
}, nameRef);
|
|
5547
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
5555
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$D(_object_spread$L({
|
|
5548
5556
|
className: classes.root
|
|
5549
5557
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
5550
5558
|
children: [
|
|
@@ -5648,8 +5656,8 @@ function _object_spread$K(target) {
|
|
|
5648
5656
|
}
|
|
5649
5657
|
return target;
|
|
5650
5658
|
}
|
|
5651
|
-
function ownKeys$
|
|
5652
|
-
var
|
|
5659
|
+
function ownKeys$C(object, enumerableOnly) {
|
|
5660
|
+
var keys2 = Object.keys(object);
|
|
5653
5661
|
if (Object.getOwnPropertySymbols) {
|
|
5654
5662
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5655
5663
|
if (enumerableOnly) {
|
|
@@ -5657,16 +5665,16 @@ function ownKeys$B(object, enumerableOnly) {
|
|
|
5657
5665
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5658
5666
|
});
|
|
5659
5667
|
}
|
|
5660
|
-
|
|
5668
|
+
keys2.push.apply(keys2, symbols);
|
|
5661
5669
|
}
|
|
5662
|
-
return
|
|
5670
|
+
return keys2;
|
|
5663
5671
|
}
|
|
5664
|
-
function _object_spread_props$
|
|
5672
|
+
function _object_spread_props$C(target, source) {
|
|
5665
5673
|
source = source != null ? source : {};
|
|
5666
5674
|
if (Object.getOwnPropertyDescriptors) {
|
|
5667
5675
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5668
5676
|
} else {
|
|
5669
|
-
ownKeys$
|
|
5677
|
+
ownKeys$C(Object(source)).forEach(function(key) {
|
|
5670
5678
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5671
5679
|
});
|
|
5672
5680
|
}
|
|
@@ -5677,7 +5685,7 @@ var AddButton = function(param) {
|
|
|
5677
5685
|
var classes = useStyles$I({
|
|
5678
5686
|
theme: tweakStyles
|
|
5679
5687
|
});
|
|
5680
|
-
return /* @__PURE__ */ jsxs("button", _object_spread_props$
|
|
5688
|
+
return /* @__PURE__ */ jsxs("button", _object_spread_props$C(_object_spread$K({
|
|
5681
5689
|
type,
|
|
5682
5690
|
className: clsx(classes.root, isDisabled && classes.disabled, isFullWidth && classes.fullWidth),
|
|
5683
5691
|
onClick: !isDisabled ? onClick : void 0,
|
|
@@ -5870,8 +5878,8 @@ function _object_spread$J(target) {
|
|
|
5870
5878
|
}
|
|
5871
5879
|
return target;
|
|
5872
5880
|
}
|
|
5873
|
-
function ownKeys$
|
|
5874
|
-
var
|
|
5881
|
+
function ownKeys$B(object, enumerableOnly) {
|
|
5882
|
+
var keys2 = Object.keys(object);
|
|
5875
5883
|
if (Object.getOwnPropertySymbols) {
|
|
5876
5884
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5877
5885
|
if (enumerableOnly) {
|
|
@@ -5879,16 +5887,16 @@ function ownKeys$A(object, enumerableOnly) {
|
|
|
5879
5887
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5880
5888
|
});
|
|
5881
5889
|
}
|
|
5882
|
-
|
|
5890
|
+
keys2.push.apply(keys2, symbols);
|
|
5883
5891
|
}
|
|
5884
|
-
return
|
|
5892
|
+
return keys2;
|
|
5885
5893
|
}
|
|
5886
|
-
function _object_spread_props$
|
|
5894
|
+
function _object_spread_props$B(target, source) {
|
|
5887
5895
|
source = source != null ? source : {};
|
|
5888
5896
|
if (Object.getOwnPropertyDescriptors) {
|
|
5889
5897
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5890
5898
|
} else {
|
|
5891
|
-
ownKeys$
|
|
5899
|
+
ownKeys$B(Object(source)).forEach(function(key) {
|
|
5892
5900
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5893
5901
|
});
|
|
5894
5902
|
}
|
|
@@ -5909,7 +5917,7 @@ var ThemedPreloader = function(param) {
|
|
|
5909
5917
|
className: "tweakSvgPreloader",
|
|
5910
5918
|
currentComponentName: "ThemedPreloader"
|
|
5911
5919
|
});
|
|
5912
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
5920
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$B(_object_spread$J({
|
|
5913
5921
|
className: clsx(classes.root, classes[type], _define_property$L({}, classes.currentColor, useCurrentColor))
|
|
5914
5922
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
5915
5923
|
children: type === "dots" ? /* @__PURE__ */ jsx(DotsPreloader, {
|
|
@@ -6120,8 +6128,8 @@ function _object_spread$I(target) {
|
|
|
6120
6128
|
}
|
|
6121
6129
|
return target;
|
|
6122
6130
|
}
|
|
6123
|
-
function ownKeys$
|
|
6124
|
-
var
|
|
6131
|
+
function ownKeys$A(object, enumerableOnly) {
|
|
6132
|
+
var keys2 = Object.keys(object);
|
|
6125
6133
|
if (Object.getOwnPropertySymbols) {
|
|
6126
6134
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
6127
6135
|
if (enumerableOnly) {
|
|
@@ -6129,16 +6137,16 @@ function ownKeys$z(object, enumerableOnly) {
|
|
|
6129
6137
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
6130
6138
|
});
|
|
6131
6139
|
}
|
|
6132
|
-
|
|
6140
|
+
keys2.push.apply(keys2, symbols);
|
|
6133
6141
|
}
|
|
6134
|
-
return
|
|
6142
|
+
return keys2;
|
|
6135
6143
|
}
|
|
6136
|
-
function _object_spread_props$
|
|
6144
|
+
function _object_spread_props$A(target, source) {
|
|
6137
6145
|
source = source != null ? source : {};
|
|
6138
6146
|
if (Object.getOwnPropertyDescriptors) {
|
|
6139
6147
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6140
6148
|
} else {
|
|
6141
|
-
ownKeys$
|
|
6149
|
+
ownKeys$A(Object(source)).forEach(function(key) {
|
|
6142
6150
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6143
6151
|
});
|
|
6144
6152
|
}
|
|
@@ -6159,7 +6167,7 @@ var Button = /* @__PURE__ */ forwardRef(function(param, ref) {
|
|
|
6159
6167
|
var hasChildren = isReactNodeNotEmpty(children);
|
|
6160
6168
|
var hasNoAction = isDisabled || isLoading;
|
|
6161
6169
|
var _obj, _obj1;
|
|
6162
|
-
return /* @__PURE__ */ jsxs("button", _object_spread_props$
|
|
6170
|
+
return /* @__PURE__ */ jsxs("button", _object_spread_props$A(_object_spread$I({
|
|
6163
6171
|
ref,
|
|
6164
6172
|
type,
|
|
6165
6173
|
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)),
|
|
@@ -6197,6 +6205,7 @@ var useStyles$D = createThemedStyles("Checkbox", {
|
|
|
6197
6205
|
root: {
|
|
6198
6206
|
cursor: "pointer",
|
|
6199
6207
|
display: "flex",
|
|
6208
|
+
alignItems: "center",
|
|
6200
6209
|
gap: 14,
|
|
6201
6210
|
width: "fit-content"
|
|
6202
6211
|
},
|
|
@@ -6299,8 +6308,8 @@ function _object_spread$H(target) {
|
|
|
6299
6308
|
}
|
|
6300
6309
|
return target;
|
|
6301
6310
|
}
|
|
6302
|
-
function ownKeys$
|
|
6303
|
-
var
|
|
6311
|
+
function ownKeys$z(object, enumerableOnly) {
|
|
6312
|
+
var keys2 = Object.keys(object);
|
|
6304
6313
|
if (Object.getOwnPropertySymbols) {
|
|
6305
6314
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
6306
6315
|
if (enumerableOnly) {
|
|
@@ -6308,16 +6317,16 @@ function ownKeys$y(object, enumerableOnly) {
|
|
|
6308
6317
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
6309
6318
|
});
|
|
6310
6319
|
}
|
|
6311
|
-
|
|
6320
|
+
keys2.push.apply(keys2, symbols);
|
|
6312
6321
|
}
|
|
6313
|
-
return
|
|
6322
|
+
return keys2;
|
|
6314
6323
|
}
|
|
6315
|
-
function _object_spread_props$
|
|
6324
|
+
function _object_spread_props$z(target, source) {
|
|
6316
6325
|
source = source != null ? source : {};
|
|
6317
6326
|
if (Object.getOwnPropertyDescriptors) {
|
|
6318
6327
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6319
6328
|
} else {
|
|
6320
|
-
ownKeys$
|
|
6329
|
+
ownKeys$z(Object(source)).forEach(function(key) {
|
|
6321
6330
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6322
6331
|
});
|
|
6323
6332
|
}
|
|
@@ -6360,7 +6369,7 @@ function Checkbox(param) {
|
|
|
6360
6369
|
isChecked
|
|
6361
6370
|
]);
|
|
6362
6371
|
var _obj;
|
|
6363
|
-
return /* @__PURE__ */ jsxs("label", _object_spread_props$
|
|
6372
|
+
return /* @__PURE__ */ jsxs("label", _object_spread_props$z(_object_spread$H({
|
|
6364
6373
|
className: clsx(classes.root, (_obj = {}, _define_property$J(_obj, classes.disabled, isDisabled), _define_property$J(_obj, classes.labelPositionLeft, labelPosition === "left"), _obj))
|
|
6365
6374
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
6366
6375
|
children: [
|
|
@@ -6440,8 +6449,8 @@ function _object_spread$G(target) {
|
|
|
6440
6449
|
}
|
|
6441
6450
|
return target;
|
|
6442
6451
|
}
|
|
6443
|
-
function ownKeys$
|
|
6444
|
-
var
|
|
6452
|
+
function ownKeys$y(object, enumerableOnly) {
|
|
6453
|
+
var keys2 = Object.keys(object);
|
|
6445
6454
|
if (Object.getOwnPropertySymbols) {
|
|
6446
6455
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
6447
6456
|
if (enumerableOnly) {
|
|
@@ -6449,16 +6458,16 @@ function ownKeys$x(object, enumerableOnly) {
|
|
|
6449
6458
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
6450
6459
|
});
|
|
6451
6460
|
}
|
|
6452
|
-
|
|
6461
|
+
keys2.push.apply(keys2, symbols);
|
|
6453
6462
|
}
|
|
6454
|
-
return
|
|
6463
|
+
return keys2;
|
|
6455
6464
|
}
|
|
6456
|
-
function _object_spread_props$
|
|
6465
|
+
function _object_spread_props$y(target, source) {
|
|
6457
6466
|
source = source != null ? source : {};
|
|
6458
6467
|
if (Object.getOwnPropertyDescriptors) {
|
|
6459
6468
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6460
6469
|
} else {
|
|
6461
|
-
ownKeys$
|
|
6470
|
+
ownKeys$y(Object(source)).forEach(function(key) {
|
|
6462
6471
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6463
6472
|
});
|
|
6464
6473
|
}
|
|
@@ -6469,7 +6478,7 @@ var CloseButton = function(param) {
|
|
|
6469
6478
|
var classes = useStyles$C({
|
|
6470
6479
|
theme: tweakStyles
|
|
6471
6480
|
});
|
|
6472
|
-
return /* @__PURE__ */ jsx("button", _object_spread_props$
|
|
6481
|
+
return /* @__PURE__ */ jsx("button", _object_spread_props$y(_object_spread$G({
|
|
6473
6482
|
type: "button",
|
|
6474
6483
|
className: classes.root,
|
|
6475
6484
|
onClick: onClose
|
|
@@ -7023,8 +7032,8 @@ function _object_spread$E(target) {
|
|
|
7023
7032
|
}
|
|
7024
7033
|
return target;
|
|
7025
7034
|
}
|
|
7026
|
-
function ownKeys$
|
|
7027
|
-
var
|
|
7035
|
+
function ownKeys$x(object, enumerableOnly) {
|
|
7036
|
+
var keys2 = Object.keys(object);
|
|
7028
7037
|
if (Object.getOwnPropertySymbols) {
|
|
7029
7038
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7030
7039
|
if (enumerableOnly) {
|
|
@@ -7032,16 +7041,16 @@ function ownKeys$w(object, enumerableOnly) {
|
|
|
7032
7041
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7033
7042
|
});
|
|
7034
7043
|
}
|
|
7035
|
-
|
|
7044
|
+
keys2.push.apply(keys2, symbols);
|
|
7036
7045
|
}
|
|
7037
|
-
return
|
|
7046
|
+
return keys2;
|
|
7038
7047
|
}
|
|
7039
|
-
function _object_spread_props$
|
|
7048
|
+
function _object_spread_props$x(target, source) {
|
|
7040
7049
|
source = source != null ? source : {};
|
|
7041
7050
|
if (Object.getOwnPropertyDescriptors) {
|
|
7042
7051
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7043
7052
|
} else {
|
|
7044
|
-
ownKeys$
|
|
7053
|
+
ownKeys$x(Object(source)).forEach(function(key) {
|
|
7045
7054
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7046
7055
|
});
|
|
7047
7056
|
}
|
|
@@ -7243,7 +7252,7 @@ var Input = /* @__PURE__ */ forwardRef(function(param, ref) {
|
|
|
7243
7252
|
return /* @__PURE__ */ jsxs("div", {
|
|
7244
7253
|
className: classes.root,
|
|
7245
7254
|
children: [
|
|
7246
|
-
/* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
7255
|
+
/* @__PURE__ */ jsxs("div", _object_spread_props$x(_object_spread$E({
|
|
7247
7256
|
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)]),
|
|
7248
7257
|
"data-value": isAutoSizeable ? value : void 0
|
|
7249
7258
|
}, addDataAttributes(data)), {
|
|
@@ -7352,8 +7361,8 @@ function _object_spread$D(target) {
|
|
|
7352
7361
|
}
|
|
7353
7362
|
return target;
|
|
7354
7363
|
}
|
|
7355
|
-
function ownKeys$
|
|
7356
|
-
var
|
|
7364
|
+
function ownKeys$w(object, enumerableOnly) {
|
|
7365
|
+
var keys2 = Object.keys(object);
|
|
7357
7366
|
if (Object.getOwnPropertySymbols) {
|
|
7358
7367
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7359
7368
|
if (enumerableOnly) {
|
|
@@ -7361,16 +7370,16 @@ function ownKeys$v(object, enumerableOnly) {
|
|
|
7361
7370
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7362
7371
|
});
|
|
7363
7372
|
}
|
|
7364
|
-
|
|
7373
|
+
keys2.push.apply(keys2, symbols);
|
|
7365
7374
|
}
|
|
7366
|
-
return
|
|
7375
|
+
return keys2;
|
|
7367
7376
|
}
|
|
7368
|
-
function _object_spread_props$
|
|
7377
|
+
function _object_spread_props$w(target, source) {
|
|
7369
7378
|
source = source != null ? source : {};
|
|
7370
7379
|
if (Object.getOwnPropertyDescriptors) {
|
|
7371
7380
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7372
7381
|
} else {
|
|
7373
|
-
ownKeys$
|
|
7382
|
+
ownKeys$w(Object(source)).forEach(function(key) {
|
|
7374
7383
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7375
7384
|
});
|
|
7376
7385
|
}
|
|
@@ -7409,7 +7418,7 @@ function _object_without_properties_loose$9(source, excluded) {
|
|
|
7409
7418
|
return target;
|
|
7410
7419
|
}
|
|
7411
7420
|
var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
7412
|
-
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,
|
|
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, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$9(_param, [
|
|
7413
7422
|
"date",
|
|
7414
7423
|
"startDate",
|
|
7415
7424
|
"endDate",
|
|
@@ -7419,7 +7428,6 @@ var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
7419
7428
|
"data",
|
|
7420
7429
|
"isRange",
|
|
7421
7430
|
"tweakStyles",
|
|
7422
|
-
"testId",
|
|
7423
7431
|
"onClick",
|
|
7424
7432
|
"onChange"
|
|
7425
7433
|
]);
|
|
@@ -7450,16 +7458,15 @@ var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
7450
7458
|
}
|
|
7451
7459
|
onChange === null || onChange === void 0 ? void 0 : onChange(event, value);
|
|
7452
7460
|
};
|
|
7453
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
7461
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$w(_object_spread$D({
|
|
7454
7462
|
className: clsx(classes.root, className),
|
|
7455
7463
|
onClick
|
|
7456
|
-
},
|
|
7457
|
-
children: /* @__PURE__ */ jsx(Input, _object_spread_props$
|
|
7464
|
+
}, addDataAttributes(data)), {
|
|
7465
|
+
children: /* @__PURE__ */ jsx(Input, _object_spread_props$w(_object_spread$D({}, inputProps), {
|
|
7458
7466
|
ref,
|
|
7459
7467
|
value: isRange ? "".concat(startDate).concat(endDate) : date,
|
|
7460
7468
|
mask: mask !== null && mask !== void 0 ? mask : isRange ? "99.99.9999 - 99.99.9999" : "99.99.9999",
|
|
7461
7469
|
placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : isRange ? EMPTY_DATE_RANGE_INPUT_VALUE : EMPTY_DATE_INPUT_VALUE,
|
|
7462
|
-
testId: getTestId(testId, "input"),
|
|
7463
7470
|
tweakStyles: tweakInputStyles,
|
|
7464
7471
|
onChange: handleChange,
|
|
7465
7472
|
beforeMaskedStateChange
|
|
@@ -7533,8 +7540,8 @@ function _object_spread$C(target) {
|
|
|
7533
7540
|
}
|
|
7534
7541
|
return target;
|
|
7535
7542
|
}
|
|
7536
|
-
function ownKeys$
|
|
7537
|
-
var
|
|
7543
|
+
function ownKeys$v(object, enumerableOnly) {
|
|
7544
|
+
var keys2 = Object.keys(object);
|
|
7538
7545
|
if (Object.getOwnPropertySymbols) {
|
|
7539
7546
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7540
7547
|
if (enumerableOnly) {
|
|
@@ -7542,16 +7549,16 @@ function ownKeys$u(object, enumerableOnly) {
|
|
|
7542
7549
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7543
7550
|
});
|
|
7544
7551
|
}
|
|
7545
|
-
|
|
7552
|
+
keys2.push.apply(keys2, symbols);
|
|
7546
7553
|
}
|
|
7547
|
-
return
|
|
7554
|
+
return keys2;
|
|
7548
7555
|
}
|
|
7549
|
-
function _object_spread_props$
|
|
7556
|
+
function _object_spread_props$v(target, source) {
|
|
7550
7557
|
source = source != null ? source : {};
|
|
7551
7558
|
if (Object.getOwnPropertyDescriptors) {
|
|
7552
7559
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7553
7560
|
} else {
|
|
7554
|
-
ownKeys$
|
|
7561
|
+
ownKeys$v(Object(source)).forEach(function(key) {
|
|
7555
7562
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7556
7563
|
});
|
|
7557
7564
|
}
|
|
@@ -7605,7 +7612,7 @@ var SearchInput = function(_param) {
|
|
|
7605
7612
|
className: "tweakInput",
|
|
7606
7613
|
currentComponentName: "SearchInput"
|
|
7607
7614
|
});
|
|
7608
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
7615
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$v(_object_spread$C({
|
|
7609
7616
|
className: classes.root
|
|
7610
7617
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
7611
7618
|
children: [
|
|
@@ -7978,8 +7985,8 @@ function _object_spread$z(target) {
|
|
|
7978
7985
|
}
|
|
7979
7986
|
return target;
|
|
7980
7987
|
}
|
|
7981
|
-
function ownKeys$
|
|
7982
|
-
var
|
|
7988
|
+
function ownKeys$u(object, enumerableOnly) {
|
|
7989
|
+
var keys2 = Object.keys(object);
|
|
7983
7990
|
if (Object.getOwnPropertySymbols) {
|
|
7984
7991
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7985
7992
|
if (enumerableOnly) {
|
|
@@ -7987,16 +7994,16 @@ function ownKeys$t(object, enumerableOnly) {
|
|
|
7987
7994
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7988
7995
|
});
|
|
7989
7996
|
}
|
|
7990
|
-
|
|
7997
|
+
keys2.push.apply(keys2, symbols);
|
|
7991
7998
|
}
|
|
7992
|
-
return
|
|
7999
|
+
return keys2;
|
|
7993
8000
|
}
|
|
7994
|
-
function _object_spread_props$
|
|
8001
|
+
function _object_spread_props$u(target, source) {
|
|
7995
8002
|
source = source != null ? source : {};
|
|
7996
8003
|
if (Object.getOwnPropertyDescriptors) {
|
|
7997
8004
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7998
8005
|
} else {
|
|
7999
|
-
ownKeys$
|
|
8006
|
+
ownKeys$u(Object(source)).forEach(function(key) {
|
|
8000
8007
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8001
8008
|
});
|
|
8002
8009
|
}
|
|
@@ -8006,7 +8013,7 @@ var SelectListItem = function(param) {
|
|
|
8006
8013
|
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;
|
|
8007
8014
|
var isMultiSelect = isNotEmpty(onToggleCheckbox);
|
|
8008
8015
|
var _obj;
|
|
8009
|
-
return /* @__PURE__ */ jsx(ScrollIntoViewIfNeeded, _object_spread_props$
|
|
8016
|
+
return /* @__PURE__ */ jsx(ScrollIntoViewIfNeeded, _object_spread_props$u(_object_spread$z({
|
|
8010
8017
|
active: isFocused,
|
|
8011
8018
|
options: {
|
|
8012
8019
|
block: "nearest"
|
|
@@ -8061,8 +8068,8 @@ function _object_spread$y(target) {
|
|
|
8061
8068
|
}
|
|
8062
8069
|
return target;
|
|
8063
8070
|
}
|
|
8064
|
-
function ownKeys$
|
|
8065
|
-
var
|
|
8071
|
+
function ownKeys$t(object, enumerableOnly) {
|
|
8072
|
+
var keys2 = Object.keys(object);
|
|
8066
8073
|
if (Object.getOwnPropertySymbols) {
|
|
8067
8074
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
8068
8075
|
if (enumerableOnly) {
|
|
@@ -8070,16 +8077,16 @@ function ownKeys$s(object, enumerableOnly) {
|
|
|
8070
8077
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
8071
8078
|
});
|
|
8072
8079
|
}
|
|
8073
|
-
|
|
8080
|
+
keys2.push.apply(keys2, symbols);
|
|
8074
8081
|
}
|
|
8075
|
-
return
|
|
8082
|
+
return keys2;
|
|
8076
8083
|
}
|
|
8077
|
-
function _object_spread_props$
|
|
8084
|
+
function _object_spread_props$t(target, source) {
|
|
8078
8085
|
source = source != null ? source : {};
|
|
8079
8086
|
if (Object.getOwnPropertyDescriptors) {
|
|
8080
8087
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8081
8088
|
} else {
|
|
8082
|
-
ownKeys$
|
|
8089
|
+
ownKeys$t(Object(source)).forEach(function(key) {
|
|
8083
8090
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8084
8091
|
});
|
|
8085
8092
|
}
|
|
@@ -8130,7 +8137,7 @@ function SelectList(param) {
|
|
|
8130
8137
|
className: classes.listHeader,
|
|
8131
8138
|
children: customListHeader
|
|
8132
8139
|
}),
|
|
8133
|
-
/* @__PURE__ */ jsx("div", _object_spread_props$
|
|
8140
|
+
/* @__PURE__ */ jsx("div", _object_spread_props$t(_object_spread$y({
|
|
8134
8141
|
className: classes.list
|
|
8135
8142
|
}, addDataTestId(testId)), {
|
|
8136
8143
|
children: isLoading ? /* @__PURE__ */ jsx("div", {
|
|
@@ -8271,13 +8278,15 @@ var baseInputStyles = {
|
|
|
8271
8278
|
}
|
|
8272
8279
|
};
|
|
8273
8280
|
var readonlyInputBaseStyles = {
|
|
8274
|
-
|
|
8275
|
-
|
|
8281
|
+
input: {
|
|
8282
|
+
cursor: "pointer"
|
|
8276
8283
|
}
|
|
8277
8284
|
};
|
|
8278
8285
|
var multiSelectInputBaseStyles = {
|
|
8279
8286
|
inputIcon: {
|
|
8280
|
-
|
|
8287
|
+
"&:not($loading)": {
|
|
8288
|
+
width: "auto"
|
|
8289
|
+
}
|
|
8281
8290
|
}
|
|
8282
8291
|
};
|
|
8283
8292
|
var readonlyInputStyles = mergeStyles(baseInputStyles, readonlyInputBaseStyles);
|
|
@@ -8416,8 +8425,8 @@ function _object_spread$x(target) {
|
|
|
8416
8425
|
}
|
|
8417
8426
|
return target;
|
|
8418
8427
|
}
|
|
8419
|
-
function ownKeys$
|
|
8420
|
-
var
|
|
8428
|
+
function ownKeys$s(object, enumerableOnly) {
|
|
8429
|
+
var keys2 = Object.keys(object);
|
|
8421
8430
|
if (Object.getOwnPropertySymbols) {
|
|
8422
8431
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
8423
8432
|
if (enumerableOnly) {
|
|
@@ -8425,16 +8434,16 @@ function ownKeys$r(object, enumerableOnly) {
|
|
|
8425
8434
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
8426
8435
|
});
|
|
8427
8436
|
}
|
|
8428
|
-
|
|
8437
|
+
keys2.push.apply(keys2, symbols);
|
|
8429
8438
|
}
|
|
8430
|
-
return
|
|
8439
|
+
return keys2;
|
|
8431
8440
|
}
|
|
8432
|
-
function _object_spread_props$
|
|
8441
|
+
function _object_spread_props$s(target, source) {
|
|
8433
8442
|
source = source != null ? source : {};
|
|
8434
8443
|
if (Object.getOwnPropertyDescriptors) {
|
|
8435
8444
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8436
8445
|
} else {
|
|
8437
|
-
ownKeys$
|
|
8446
|
+
ownKeys$s(Object(source)).forEach(function(key) {
|
|
8438
8447
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8439
8448
|
});
|
|
8440
8449
|
}
|
|
@@ -8952,7 +8961,7 @@ function Select(props) {
|
|
|
8952
8961
|
isOpen
|
|
8953
8962
|
]);
|
|
8954
8963
|
var _obj;
|
|
8955
|
-
var listEl = /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
8964
|
+
var listEl = /* @__PURE__ */ jsx("div", _object_spread_props$s(_object_spread$x({
|
|
8956
8965
|
className: clsx(classes.listWrapper, (_obj = {}, _define_property$z(_obj, classes.withoutPopper, !shouldUsePopper), _define_property$z(_obj, classes.listWrapperInBody, shouldRenderInBody), _obj)),
|
|
8957
8966
|
ref: list,
|
|
8958
8967
|
style: popperData === null || popperData === void 0 ? void 0 : popperData.styles.popper,
|
|
@@ -9318,8 +9327,8 @@ function _object_spread$w(target) {
|
|
|
9318
9327
|
}
|
|
9319
9328
|
return target;
|
|
9320
9329
|
}
|
|
9321
|
-
function ownKeys$
|
|
9322
|
-
var
|
|
9330
|
+
function ownKeys$r(object, enumerableOnly) {
|
|
9331
|
+
var keys2 = Object.keys(object);
|
|
9323
9332
|
if (Object.getOwnPropertySymbols) {
|
|
9324
9333
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
9325
9334
|
if (enumerableOnly) {
|
|
@@ -9327,16 +9336,16 @@ function ownKeys$q(object, enumerableOnly) {
|
|
|
9327
9336
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
9328
9337
|
});
|
|
9329
9338
|
}
|
|
9330
|
-
|
|
9339
|
+
keys2.push.apply(keys2, symbols);
|
|
9331
9340
|
}
|
|
9332
|
-
return
|
|
9341
|
+
return keys2;
|
|
9333
9342
|
}
|
|
9334
|
-
function _object_spread_props$
|
|
9343
|
+
function _object_spread_props$r(target, source) {
|
|
9335
9344
|
source = source != null ? source : {};
|
|
9336
9345
|
if (Object.getOwnPropertyDescriptors) {
|
|
9337
9346
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9338
9347
|
} else {
|
|
9339
|
-
ownKeys$
|
|
9348
|
+
ownKeys$r(Object(source)).forEach(function(key) {
|
|
9340
9349
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9341
9350
|
});
|
|
9342
9351
|
}
|
|
@@ -9391,9 +9400,8 @@ function _unsupported_iterable_to_array$j(o, minLen) {
|
|
|
9391
9400
|
return _array_like_to_array$j(o, minLen);
|
|
9392
9401
|
}
|
|
9393
9402
|
var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
9394
|
-
var data = _param.data,
|
|
9403
|
+
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, [
|
|
9395
9404
|
"data",
|
|
9396
|
-
"testId",
|
|
9397
9405
|
"selectedDate",
|
|
9398
9406
|
"minDate",
|
|
9399
9407
|
"maxDate",
|
|
@@ -9460,7 +9468,7 @@ var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
9460
9468
|
var _useState4 = _sliced_to_array$j(useState(endDate), 2), end2 = _useState4[0], setEnd = _useState4[1];
|
|
9461
9469
|
var _useState5 = _sliced_to_array$j(useState(formatDate(endDate)), 2), endDateValue = _useState5[0], setEndDateValue = _useState5[1];
|
|
9462
9470
|
var hasDateInputValue = isRange ? isStringNotEmpty(startDateValue) || isStringNotEmpty(endDateValue) : isStringNotEmpty(dateValue);
|
|
9463
|
-
var dateInputProps = _object_spread$w(_object_spread_props$
|
|
9471
|
+
var dateInputProps = _object_spread$w(_object_spread_props$r(_object_spread$w({}, inputProps), {
|
|
9464
9472
|
isRange,
|
|
9465
9473
|
isDisabled,
|
|
9466
9474
|
isClearable,
|
|
@@ -9558,9 +9566,9 @@ var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
9558
9566
|
startDate,
|
|
9559
9567
|
endDate
|
|
9560
9568
|
]);
|
|
9561
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
9569
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$r(_object_spread$w({
|
|
9562
9570
|
className: classes.root
|
|
9563
|
-
},
|
|
9571
|
+
}, addDataAttributes(data)), {
|
|
9564
9572
|
children: /* @__PURE__ */ jsx(DatePickerComponent, _object_spread$w({
|
|
9565
9573
|
ref,
|
|
9566
9574
|
minDate,
|
|
@@ -9592,7 +9600,7 @@ var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
9592
9600
|
customInputRef,
|
|
9593
9601
|
customInput: /* @__PURE__ */ jsx(CustomInput, _object_spread$w({}, dateInputProps)),
|
|
9594
9602
|
renderCustomHeader: renderCustomHeader !== null && renderCustomHeader !== void 0 ? renderCustomHeader : function(baseProps) {
|
|
9595
|
-
return /* @__PURE__ */ jsx(DatePickerHeader, _object_spread_props$
|
|
9603
|
+
return /* @__PURE__ */ jsx(DatePickerHeader, _object_spread_props$r(_object_spread$w({}, baseProps), {
|
|
9596
9604
|
months
|
|
9597
9605
|
}));
|
|
9598
9606
|
},
|
|
@@ -9729,8 +9737,8 @@ function _object_spread$v(target) {
|
|
|
9729
9737
|
}
|
|
9730
9738
|
return target;
|
|
9731
9739
|
}
|
|
9732
|
-
function ownKeys$
|
|
9733
|
-
var
|
|
9740
|
+
function ownKeys$q(object, enumerableOnly) {
|
|
9741
|
+
var keys2 = Object.keys(object);
|
|
9734
9742
|
if (Object.getOwnPropertySymbols) {
|
|
9735
9743
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
9736
9744
|
if (enumerableOnly) {
|
|
@@ -9738,16 +9746,16 @@ function ownKeys$p(object, enumerableOnly) {
|
|
|
9738
9746
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
9739
9747
|
});
|
|
9740
9748
|
}
|
|
9741
|
-
|
|
9749
|
+
keys2.push.apply(keys2, symbols);
|
|
9742
9750
|
}
|
|
9743
|
-
return
|
|
9751
|
+
return keys2;
|
|
9744
9752
|
}
|
|
9745
|
-
function _object_spread_props$
|
|
9753
|
+
function _object_spread_props$q(target, source) {
|
|
9746
9754
|
source = source != null ? source : {};
|
|
9747
9755
|
if (Object.getOwnPropertyDescriptors) {
|
|
9748
9756
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9749
9757
|
} else {
|
|
9750
|
-
ownKeys$
|
|
9758
|
+
ownKeys$q(Object(source)).forEach(function(key) {
|
|
9751
9759
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9752
9760
|
});
|
|
9753
9761
|
}
|
|
@@ -9780,7 +9788,7 @@ var Description = function(param) {
|
|
|
9780
9788
|
var linkText = link && link[0];
|
|
9781
9789
|
var textWithNoLink = text.replace(LINK_REGEXP, "");
|
|
9782
9790
|
var shortText = text.slice(0, text.slice(0, truncateIndex).lastIndexOf(" "));
|
|
9783
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
9791
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$q(_object_spread$v({
|
|
9784
9792
|
className: classes.root
|
|
9785
9793
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
9786
9794
|
children: [
|
|
@@ -10348,6 +10356,275 @@ var NumberInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
10348
10356
|
ref
|
|
10349
10357
|
}, props));
|
|
10350
10358
|
});
|
|
10359
|
+
function arrayEach(array, iteratee) {
|
|
10360
|
+
var index = -1, length = array == null ? 0 : array.length;
|
|
10361
|
+
while (++index < length) {
|
|
10362
|
+
if (iteratee(array[index], index, array) === false) {
|
|
10363
|
+
break;
|
|
10364
|
+
}
|
|
10365
|
+
}
|
|
10366
|
+
return array;
|
|
10367
|
+
}
|
|
10368
|
+
var nativeKeys = overArg(Object.keys, Object);
|
|
10369
|
+
const nativeKeys$1 = nativeKeys;
|
|
10370
|
+
var objectProto$2 = Object.prototype;
|
|
10371
|
+
var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
|
|
10372
|
+
function baseKeys(object) {
|
|
10373
|
+
if (!isPrototype(object)) {
|
|
10374
|
+
return nativeKeys$1(object);
|
|
10375
|
+
}
|
|
10376
|
+
var result = [];
|
|
10377
|
+
for (var key in Object(object)) {
|
|
10378
|
+
if (hasOwnProperty$1.call(object, key) && key != "constructor") {
|
|
10379
|
+
result.push(key);
|
|
10380
|
+
}
|
|
10381
|
+
}
|
|
10382
|
+
return result;
|
|
10383
|
+
}
|
|
10384
|
+
function keys(object) {
|
|
10385
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
10386
|
+
}
|
|
10387
|
+
function baseAssign(object, source) {
|
|
10388
|
+
return object && copyObject(source, keys(source), object);
|
|
10389
|
+
}
|
|
10390
|
+
function baseAssignIn(object, source) {
|
|
10391
|
+
return object && copyObject(source, keysIn(source), object);
|
|
10392
|
+
}
|
|
10393
|
+
function arrayFilter(array, predicate) {
|
|
10394
|
+
var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
|
|
10395
|
+
while (++index < length) {
|
|
10396
|
+
var value = array[index];
|
|
10397
|
+
if (predicate(value, index, array)) {
|
|
10398
|
+
result[resIndex++] = value;
|
|
10399
|
+
}
|
|
10400
|
+
}
|
|
10401
|
+
return result;
|
|
10402
|
+
}
|
|
10403
|
+
function stubArray() {
|
|
10404
|
+
return [];
|
|
10405
|
+
}
|
|
10406
|
+
var objectProto$1 = Object.prototype;
|
|
10407
|
+
var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
|
|
10408
|
+
var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
|
|
10409
|
+
var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object) {
|
|
10410
|
+
if (object == null) {
|
|
10411
|
+
return [];
|
|
10412
|
+
}
|
|
10413
|
+
object = Object(object);
|
|
10414
|
+
return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
|
|
10415
|
+
return propertyIsEnumerable.call(object, symbol);
|
|
10416
|
+
});
|
|
10417
|
+
};
|
|
10418
|
+
const getSymbols$1 = getSymbols;
|
|
10419
|
+
function copySymbols(source, object) {
|
|
10420
|
+
return copyObject(source, getSymbols$1(source), object);
|
|
10421
|
+
}
|
|
10422
|
+
function arrayPush(array, values) {
|
|
10423
|
+
var index = -1, length = values.length, offset2 = array.length;
|
|
10424
|
+
while (++index < length) {
|
|
10425
|
+
array[offset2 + index] = values[index];
|
|
10426
|
+
}
|
|
10427
|
+
return array;
|
|
10428
|
+
}
|
|
10429
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
10430
|
+
var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
|
|
10431
|
+
var result = [];
|
|
10432
|
+
while (object) {
|
|
10433
|
+
arrayPush(result, getSymbols$1(object));
|
|
10434
|
+
object = getPrototype$1(object);
|
|
10435
|
+
}
|
|
10436
|
+
return result;
|
|
10437
|
+
};
|
|
10438
|
+
const getSymbolsIn$1 = getSymbolsIn;
|
|
10439
|
+
function copySymbolsIn(source, object) {
|
|
10440
|
+
return copyObject(source, getSymbolsIn$1(source), object);
|
|
10441
|
+
}
|
|
10442
|
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
10443
|
+
var result = keysFunc(object);
|
|
10444
|
+
return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
10445
|
+
}
|
|
10446
|
+
function getAllKeys(object) {
|
|
10447
|
+
return baseGetAllKeys(object, keys, getSymbols$1);
|
|
10448
|
+
}
|
|
10449
|
+
function getAllKeysIn(object) {
|
|
10450
|
+
return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
|
|
10451
|
+
}
|
|
10452
|
+
var DataView = getNative(root$1, "DataView");
|
|
10453
|
+
const DataView$1 = DataView;
|
|
10454
|
+
var Promise$1 = getNative(root$1, "Promise");
|
|
10455
|
+
const Promise$2 = Promise$1;
|
|
10456
|
+
var Set$1 = getNative(root$1, "Set");
|
|
10457
|
+
const Set$2 = Set$1;
|
|
10458
|
+
var WeakMap$1 = getNative(root$1, "WeakMap");
|
|
10459
|
+
const WeakMap$2 = WeakMap$1;
|
|
10460
|
+
var mapTag$3 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$3 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
|
|
10461
|
+
var dataViewTag$2 = "[object DataView]";
|
|
10462
|
+
var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$2), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$2), weakMapCtorString = toSource(WeakMap$2);
|
|
10463
|
+
var getTag = baseGetTag;
|
|
10464
|
+
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) {
|
|
10465
|
+
getTag = function(value) {
|
|
10466
|
+
var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
|
|
10467
|
+
if (ctorString) {
|
|
10468
|
+
switch (ctorString) {
|
|
10469
|
+
case dataViewCtorString:
|
|
10470
|
+
return dataViewTag$2;
|
|
10471
|
+
case mapCtorString:
|
|
10472
|
+
return mapTag$3;
|
|
10473
|
+
case promiseCtorString:
|
|
10474
|
+
return promiseTag;
|
|
10475
|
+
case setCtorString:
|
|
10476
|
+
return setTag$3;
|
|
10477
|
+
case weakMapCtorString:
|
|
10478
|
+
return weakMapTag$1;
|
|
10479
|
+
}
|
|
10480
|
+
}
|
|
10481
|
+
return result;
|
|
10482
|
+
};
|
|
10483
|
+
}
|
|
10484
|
+
const getTag$1 = getTag;
|
|
10485
|
+
var objectProto = Object.prototype;
|
|
10486
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
10487
|
+
function initCloneArray(array) {
|
|
10488
|
+
var length = array.length, result = new array.constructor(length);
|
|
10489
|
+
if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
|
|
10490
|
+
result.index = array.index;
|
|
10491
|
+
result.input = array.input;
|
|
10492
|
+
}
|
|
10493
|
+
return result;
|
|
10494
|
+
}
|
|
10495
|
+
function cloneDataView(dataView, isDeep) {
|
|
10496
|
+
var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
|
|
10497
|
+
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
|
10498
|
+
}
|
|
10499
|
+
var reFlags = /\w*$/;
|
|
10500
|
+
function cloneRegExp(regexp) {
|
|
10501
|
+
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
|
|
10502
|
+
result.lastIndex = regexp.lastIndex;
|
|
10503
|
+
return result;
|
|
10504
|
+
}
|
|
10505
|
+
var symbolProto = Symbol$2 ? Symbol$2.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
10506
|
+
function cloneSymbol(symbol) {
|
|
10507
|
+
return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
|
|
10508
|
+
}
|
|
10509
|
+
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]";
|
|
10510
|
+
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]";
|
|
10511
|
+
function initCloneByTag(object, tag, isDeep) {
|
|
10512
|
+
var Ctor = object.constructor;
|
|
10513
|
+
switch (tag) {
|
|
10514
|
+
case arrayBufferTag$1:
|
|
10515
|
+
return cloneArrayBuffer(object);
|
|
10516
|
+
case boolTag$1:
|
|
10517
|
+
case dateTag$1:
|
|
10518
|
+
return new Ctor(+object);
|
|
10519
|
+
case dataViewTag$1:
|
|
10520
|
+
return cloneDataView(object, isDeep);
|
|
10521
|
+
case float32Tag$1:
|
|
10522
|
+
case float64Tag$1:
|
|
10523
|
+
case int8Tag$1:
|
|
10524
|
+
case int16Tag$1:
|
|
10525
|
+
case int32Tag$1:
|
|
10526
|
+
case uint8Tag$1:
|
|
10527
|
+
case uint8ClampedTag$1:
|
|
10528
|
+
case uint16Tag$1:
|
|
10529
|
+
case uint32Tag$1:
|
|
10530
|
+
return cloneTypedArray(object, isDeep);
|
|
10531
|
+
case mapTag$2:
|
|
10532
|
+
return new Ctor();
|
|
10533
|
+
case numberTag$1:
|
|
10534
|
+
case stringTag$1:
|
|
10535
|
+
return new Ctor(object);
|
|
10536
|
+
case regexpTag$1:
|
|
10537
|
+
return cloneRegExp(object);
|
|
10538
|
+
case setTag$2:
|
|
10539
|
+
return new Ctor();
|
|
10540
|
+
case symbolTag$1:
|
|
10541
|
+
return cloneSymbol(object);
|
|
10542
|
+
}
|
|
10543
|
+
}
|
|
10544
|
+
var mapTag$1 = "[object Map]";
|
|
10545
|
+
function baseIsMap(value) {
|
|
10546
|
+
return isObjectLike(value) && getTag$1(value) == mapTag$1;
|
|
10547
|
+
}
|
|
10548
|
+
var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
|
|
10549
|
+
var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
|
|
10550
|
+
const isMap$1 = isMap;
|
|
10551
|
+
var setTag$1 = "[object Set]";
|
|
10552
|
+
function baseIsSet(value) {
|
|
10553
|
+
return isObjectLike(value) && getTag$1(value) == setTag$1;
|
|
10554
|
+
}
|
|
10555
|
+
var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet;
|
|
10556
|
+
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
|
10557
|
+
const isSet$1 = isSet;
|
|
10558
|
+
var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
|
|
10559
|
+
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]";
|
|
10560
|
+
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]";
|
|
10561
|
+
var cloneableTags = {};
|
|
10562
|
+
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;
|
|
10563
|
+
cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
|
|
10564
|
+
function baseClone(value, bitmask, customizer, key, object, stack) {
|
|
10565
|
+
var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
|
|
10566
|
+
if (customizer) {
|
|
10567
|
+
result = object ? customizer(value, key, object, stack) : customizer(value);
|
|
10568
|
+
}
|
|
10569
|
+
if (result !== void 0) {
|
|
10570
|
+
return result;
|
|
10571
|
+
}
|
|
10572
|
+
if (!isObject(value)) {
|
|
10573
|
+
return value;
|
|
10574
|
+
}
|
|
10575
|
+
var isArr = isArray$1(value);
|
|
10576
|
+
if (isArr) {
|
|
10577
|
+
result = initCloneArray(value);
|
|
10578
|
+
if (!isDeep) {
|
|
10579
|
+
return copyArray(value, result);
|
|
10580
|
+
}
|
|
10581
|
+
} else {
|
|
10582
|
+
var tag = getTag$1(value), isFunc = tag == funcTag || tag == genTag;
|
|
10583
|
+
if (isBuffer$1(value)) {
|
|
10584
|
+
return cloneBuffer(value, isDeep);
|
|
10585
|
+
}
|
|
10586
|
+
if (tag == objectTag || tag == argsTag || isFunc && !object) {
|
|
10587
|
+
result = isFlat || isFunc ? {} : initCloneObject(value);
|
|
10588
|
+
if (!isDeep) {
|
|
10589
|
+
return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));
|
|
10590
|
+
}
|
|
10591
|
+
} else {
|
|
10592
|
+
if (!cloneableTags[tag]) {
|
|
10593
|
+
return object ? value : {};
|
|
10594
|
+
}
|
|
10595
|
+
result = initCloneByTag(value, tag, isDeep);
|
|
10596
|
+
}
|
|
10597
|
+
}
|
|
10598
|
+
stack || (stack = new Stack());
|
|
10599
|
+
var stacked = stack.get(value);
|
|
10600
|
+
if (stacked) {
|
|
10601
|
+
return stacked;
|
|
10602
|
+
}
|
|
10603
|
+
stack.set(value, result);
|
|
10604
|
+
if (isSet$1(value)) {
|
|
10605
|
+
value.forEach(function(subValue) {
|
|
10606
|
+
result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
|
|
10607
|
+
});
|
|
10608
|
+
} else if (isMap$1(value)) {
|
|
10609
|
+
value.forEach(function(subValue, key2) {
|
|
10610
|
+
result.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
|
|
10611
|
+
});
|
|
10612
|
+
}
|
|
10613
|
+
var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;
|
|
10614
|
+
var props = isArr ? void 0 : keysFunc(value);
|
|
10615
|
+
arrayEach(props || value, function(subValue, key2) {
|
|
10616
|
+
if (props) {
|
|
10617
|
+
key2 = subValue;
|
|
10618
|
+
subValue = value[key2];
|
|
10619
|
+
}
|
|
10620
|
+
assignValue(result, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
|
|
10621
|
+
});
|
|
10622
|
+
return result;
|
|
10623
|
+
}
|
|
10624
|
+
var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
|
|
10625
|
+
function cloneDeep(value) {
|
|
10626
|
+
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
|
10627
|
+
}
|
|
10351
10628
|
var FILTER_HEIGHT = 36;
|
|
10352
10629
|
var useStyles$r = createThemedStyles("FiltersPane", {
|
|
10353
10630
|
root: {
|
|
@@ -10456,7 +10733,7 @@ var inputStyles$3 = {
|
|
|
10456
10733
|
}
|
|
10457
10734
|
}
|
|
10458
10735
|
};
|
|
10459
|
-
var clearButtonStyles$3 = innerTextButtonStyles;
|
|
10736
|
+
var clearButtonStyles$3 = cloneDeep(innerTextButtonStyles);
|
|
10460
10737
|
function _define_property$v(obj, key, value) {
|
|
10461
10738
|
if (key in obj) {
|
|
10462
10739
|
Object.defineProperty(obj, key, {
|
|
@@ -10485,8 +10762,8 @@ function _object_spread$t(target) {
|
|
|
10485
10762
|
}
|
|
10486
10763
|
return target;
|
|
10487
10764
|
}
|
|
10488
|
-
function ownKeys$
|
|
10489
|
-
var
|
|
10765
|
+
function ownKeys$p(object, enumerableOnly) {
|
|
10766
|
+
var keys2 = Object.keys(object);
|
|
10490
10767
|
if (Object.getOwnPropertySymbols) {
|
|
10491
10768
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
10492
10769
|
if (enumerableOnly) {
|
|
@@ -10494,16 +10771,16 @@ function ownKeys$o(object, enumerableOnly) {
|
|
|
10494
10771
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
10495
10772
|
});
|
|
10496
10773
|
}
|
|
10497
|
-
|
|
10774
|
+
keys2.push.apply(keys2, symbols);
|
|
10498
10775
|
}
|
|
10499
|
-
return
|
|
10776
|
+
return keys2;
|
|
10500
10777
|
}
|
|
10501
|
-
function _object_spread_props$
|
|
10778
|
+
function _object_spread_props$p(target, source) {
|
|
10502
10779
|
source = source != null ? source : {};
|
|
10503
10780
|
if (Object.getOwnPropertyDescriptors) {
|
|
10504
10781
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
10505
10782
|
} else {
|
|
10506
|
-
ownKeys$
|
|
10783
|
+
ownKeys$p(Object(source)).forEach(function(key) {
|
|
10507
10784
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
10508
10785
|
});
|
|
10509
10786
|
}
|
|
@@ -10555,7 +10832,7 @@ var FilterInterval = function(param) {
|
|
|
10555
10832
|
className: "tweakClearButton",
|
|
10556
10833
|
currentComponentName: "FilterInterval"
|
|
10557
10834
|
});
|
|
10558
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
10835
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$p(_object_spread$t({
|
|
10559
10836
|
className: classes.root
|
|
10560
10837
|
}, addDataAttributes(data)), {
|
|
10561
10838
|
children: [
|
|
@@ -10684,6 +10961,7 @@ var ITEM_HEIGHT$1 = 40;
|
|
|
10684
10961
|
var TOP_GAP = 12;
|
|
10685
10962
|
var useStyles$p = createThemedStyles("MultiSelectList", {
|
|
10686
10963
|
root: {
|
|
10964
|
+
width: 220,
|
|
10687
10965
|
background: colors.CLASSIC_WHITE
|
|
10688
10966
|
},
|
|
10689
10967
|
list: _object_spread$s({
|
|
@@ -10779,10 +11057,13 @@ var checkboxStyles = {
|
|
|
10779
11057
|
padding: [
|
|
10780
11058
|
11,
|
|
10781
11059
|
16
|
|
10782
|
-
]
|
|
11060
|
+
],
|
|
11061
|
+
boxSizing: "border-box",
|
|
11062
|
+
width: "100%"
|
|
10783
11063
|
},
|
|
10784
11064
|
children: {
|
|
10785
|
-
marginRight: "auto"
|
|
11065
|
+
marginRight: "auto",
|
|
11066
|
+
overflow: "hidden"
|
|
10786
11067
|
}
|
|
10787
11068
|
};
|
|
10788
11069
|
var clearButtonStyles$2 = {
|
|
@@ -10906,8 +11187,8 @@ function _object_spread$r(target) {
|
|
|
10906
11187
|
}
|
|
10907
11188
|
return target;
|
|
10908
11189
|
}
|
|
10909
|
-
function ownKeys$
|
|
10910
|
-
var
|
|
11190
|
+
function ownKeys$o(object, enumerableOnly) {
|
|
11191
|
+
var keys2 = Object.keys(object);
|
|
10911
11192
|
if (Object.getOwnPropertySymbols) {
|
|
10912
11193
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
10913
11194
|
if (enumerableOnly) {
|
|
@@ -10915,16 +11196,16 @@ function ownKeys$n(object, enumerableOnly) {
|
|
|
10915
11196
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
10916
11197
|
});
|
|
10917
11198
|
}
|
|
10918
|
-
|
|
11199
|
+
keys2.push.apply(keys2, symbols);
|
|
10919
11200
|
}
|
|
10920
|
-
return
|
|
11201
|
+
return keys2;
|
|
10921
11202
|
}
|
|
10922
|
-
function _object_spread_props$
|
|
11203
|
+
function _object_spread_props$o(target, source) {
|
|
10923
11204
|
source = source != null ? source : {};
|
|
10924
11205
|
if (Object.getOwnPropertyDescriptors) {
|
|
10925
11206
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
10926
11207
|
} else {
|
|
10927
|
-
ownKeys$
|
|
11208
|
+
ownKeys$o(Object(source)).forEach(function(key) {
|
|
10928
11209
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
10929
11210
|
});
|
|
10930
11211
|
}
|
|
@@ -11052,7 +11333,7 @@ var __generator$2 = globalThis && globalThis.__generator || function(thisArg, bo
|
|
|
11052
11333
|
}
|
|
11053
11334
|
};
|
|
11054
11335
|
function MultiSelectList(param) {
|
|
11055
|
-
var value = param.value, tweakStyles = param.tweakStyles, data = param.data, _param_isSearchEnabled = param.isSearchEnabled, isSearchEnabled = _param_isSearchEnabled === void 0 ? false : _param_isSearchEnabled,
|
|
11336
|
+
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;
|
|
11056
11337
|
var handleOnChange = function handleOnChange2(inputValue) {
|
|
11057
11338
|
setSearchValue(inputValue);
|
|
11058
11339
|
if (fetchOptions === void 0) {
|
|
@@ -11223,13 +11504,13 @@ function MultiSelectList(param) {
|
|
|
11223
11504
|
if (value !== void 0) {
|
|
11224
11505
|
if (keyCursorOn < value.include.length) {
|
|
11225
11506
|
var _value_include_filter;
|
|
11226
|
-
onChange(_object_spread_props$
|
|
11507
|
+
onChange(_object_spread_props$o(_object_spread$r({}, value), {
|
|
11227
11508
|
include: (_value_include_filter = value.include.filter(function(val) {
|
|
11228
11509
|
return getValueId(val) !== getValueId(value.include[keyCursorOn]);
|
|
11229
11510
|
})) !== null && _value_include_filter !== void 0 ? _value_include_filter : []
|
|
11230
11511
|
}));
|
|
11231
11512
|
} else {
|
|
11232
|
-
onChange(_object_spread_props$
|
|
11513
|
+
onChange(_object_spread_props$o(_object_spread$r({}, value), {
|
|
11233
11514
|
include: _to_consumable_array$3(value.include).concat([
|
|
11234
11515
|
unchosenOptions[keyCursorOn - value.include.length]
|
|
11235
11516
|
])
|
|
@@ -11428,11 +11709,8 @@ function MultiSelectList(param) {
|
|
|
11428
11709
|
var shouldShowAllOptionsLabel = isGroupingEnabled && unchosenOptions.length > 0 && chosenValues !== void 0 && chosenValues.length > 0;
|
|
11429
11710
|
var shouldShowPreloader = isLoading || isLoadingOptionsOnScroll;
|
|
11430
11711
|
var shouldShowOptionsList = !isLoading && allOptions.length !== 0;
|
|
11431
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
11432
|
-
className: classes.root
|
|
11433
|
-
style: {
|
|
11434
|
-
width
|
|
11435
|
-
}
|
|
11712
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$o(_object_spread$r({
|
|
11713
|
+
className: classes.root
|
|
11436
11714
|
}, addDataAttributes(data)), {
|
|
11437
11715
|
children: [
|
|
11438
11716
|
isSearchEnabled && /* @__PURE__ */ jsx("div", {
|
|
@@ -11598,6 +11876,7 @@ var ITEM_HEIGHT = 40;
|
|
|
11598
11876
|
var LIST_GAP = 12;
|
|
11599
11877
|
var useStyles$o = createThemedStyles("FilterSelect", {
|
|
11600
11878
|
root: {
|
|
11879
|
+
width: 220,
|
|
11601
11880
|
background: colors.CLASSIC_WHITE
|
|
11602
11881
|
},
|
|
11603
11882
|
list: _object_spread$p({
|
|
@@ -11727,7 +12006,7 @@ var searchInputStyles$1 = {
|
|
|
11727
12006
|
}
|
|
11728
12007
|
}
|
|
11729
12008
|
};
|
|
11730
|
-
var clearButtonStyles$1 = innerTextButtonStyles;
|
|
12009
|
+
var clearButtonStyles$1 = cloneDeep(innerTextButtonStyles);
|
|
11731
12010
|
function _array_like_to_array$f(arr, len) {
|
|
11732
12011
|
if (len == null || len > arr.length)
|
|
11733
12012
|
len = arr.length;
|
|
@@ -11838,8 +12117,8 @@ function _object_spread$o(target) {
|
|
|
11838
12117
|
}
|
|
11839
12118
|
return target;
|
|
11840
12119
|
}
|
|
11841
|
-
function ownKeys$
|
|
11842
|
-
var
|
|
12120
|
+
function ownKeys$n(object, enumerableOnly) {
|
|
12121
|
+
var keys2 = Object.keys(object);
|
|
11843
12122
|
if (Object.getOwnPropertySymbols) {
|
|
11844
12123
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
11845
12124
|
if (enumerableOnly) {
|
|
@@ -11847,16 +12126,16 @@ function ownKeys$m(object, enumerableOnly) {
|
|
|
11847
12126
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
11848
12127
|
});
|
|
11849
12128
|
}
|
|
11850
|
-
|
|
12129
|
+
keys2.push.apply(keys2, symbols);
|
|
11851
12130
|
}
|
|
11852
|
-
return
|
|
12131
|
+
return keys2;
|
|
11853
12132
|
}
|
|
11854
|
-
function _object_spread_props$
|
|
12133
|
+
function _object_spread_props$n(target, source) {
|
|
11855
12134
|
source = source != null ? source : {};
|
|
11856
12135
|
if (Object.getOwnPropertyDescriptors) {
|
|
11857
12136
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
11858
12137
|
} else {
|
|
11859
|
-
ownKeys$
|
|
12138
|
+
ownKeys$n(Object(source)).forEach(function(key) {
|
|
11860
12139
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
11861
12140
|
});
|
|
11862
12141
|
}
|
|
@@ -11984,7 +12263,7 @@ var __generator$1 = globalThis && globalThis.__generator || function(thisArg, bo
|
|
|
11984
12263
|
}
|
|
11985
12264
|
};
|
|
11986
12265
|
function FilterSelect(param) {
|
|
11987
|
-
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,
|
|
12266
|
+
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;
|
|
11988
12267
|
var classes = useStyles$o({
|
|
11989
12268
|
theme: tweakStyles
|
|
11990
12269
|
});
|
|
@@ -12256,11 +12535,8 @@ function FilterSelect(param) {
|
|
|
12256
12535
|
}();
|
|
12257
12536
|
doFetchOptions();
|
|
12258
12537
|
}, []);
|
|
12259
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
12260
|
-
className: classes.root
|
|
12261
|
-
style: {
|
|
12262
|
-
width
|
|
12263
|
-
}
|
|
12538
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$n(_object_spread$o({
|
|
12539
|
+
className: classes.root
|
|
12264
12540
|
}, addDataAttributes(data)), {
|
|
12265
12541
|
children: [
|
|
12266
12542
|
isSearchEnabled && /* @__PURE__ */ jsx("div", {
|
|
@@ -13498,7 +13774,7 @@ var useStyles$n = createThemedStyles("FilterWithDates", {
|
|
|
13498
13774
|
},
|
|
13499
13775
|
datepicker: {}
|
|
13500
13776
|
});
|
|
13501
|
-
var clearButtonStyles = innerTextButtonStyles;
|
|
13777
|
+
var clearButtonStyles = cloneDeep(innerTextButtonStyles);
|
|
13502
13778
|
var backButtonStyles = innerTextButtonStyles;
|
|
13503
13779
|
var PICKER_TOP_MARGIN = 28;
|
|
13504
13780
|
var PICKER_WITH_BUTTONS_TOP_MARGIN = 60;
|
|
@@ -13598,8 +13874,8 @@ function _object_spread$n(target) {
|
|
|
13598
13874
|
}
|
|
13599
13875
|
return target;
|
|
13600
13876
|
}
|
|
13601
|
-
function ownKeys$
|
|
13602
|
-
var
|
|
13877
|
+
function ownKeys$m(object, enumerableOnly) {
|
|
13878
|
+
var keys2 = Object.keys(object);
|
|
13603
13879
|
if (Object.getOwnPropertySymbols) {
|
|
13604
13880
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
13605
13881
|
if (enumerableOnly) {
|
|
@@ -13607,16 +13883,16 @@ function ownKeys$l(object, enumerableOnly) {
|
|
|
13607
13883
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
13608
13884
|
});
|
|
13609
13885
|
}
|
|
13610
|
-
|
|
13886
|
+
keys2.push.apply(keys2, symbols);
|
|
13611
13887
|
}
|
|
13612
|
-
return
|
|
13888
|
+
return keys2;
|
|
13613
13889
|
}
|
|
13614
|
-
function _object_spread_props$
|
|
13890
|
+
function _object_spread_props$m(target, source) {
|
|
13615
13891
|
source = source != null ? source : {};
|
|
13616
13892
|
if (Object.getOwnPropertyDescriptors) {
|
|
13617
13893
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
13618
13894
|
} else {
|
|
13619
|
-
ownKeys$
|
|
13895
|
+
ownKeys$m(Object(source)).forEach(function(key) {
|
|
13620
13896
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
13621
13897
|
});
|
|
13622
13898
|
}
|
|
@@ -13727,7 +14003,7 @@ var FilterWithDates = function(param) {
|
|
|
13727
14003
|
}
|
|
13728
14004
|
};
|
|
13729
14005
|
var _ref;
|
|
13730
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
14006
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$m(_object_spread$n({
|
|
13731
14007
|
className: classes.root
|
|
13732
14008
|
}, addDataAttributes(data)), {
|
|
13733
14009
|
children: [
|
|
@@ -13898,8 +14174,8 @@ function _object_spread$m(target) {
|
|
|
13898
14174
|
}
|
|
13899
14175
|
return target;
|
|
13900
14176
|
}
|
|
13901
|
-
function ownKeys$
|
|
13902
|
-
var
|
|
14177
|
+
function ownKeys$l(object, enumerableOnly) {
|
|
14178
|
+
var keys2 = Object.keys(object);
|
|
13903
14179
|
if (Object.getOwnPropertySymbols) {
|
|
13904
14180
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
13905
14181
|
if (enumerableOnly) {
|
|
@@ -13907,16 +14183,16 @@ function ownKeys$k(object, enumerableOnly) {
|
|
|
13907
14183
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
13908
14184
|
});
|
|
13909
14185
|
}
|
|
13910
|
-
|
|
14186
|
+
keys2.push.apply(keys2, symbols);
|
|
13911
14187
|
}
|
|
13912
|
-
return
|
|
14188
|
+
return keys2;
|
|
13913
14189
|
}
|
|
13914
|
-
function _object_spread_props$
|
|
14190
|
+
function _object_spread_props$l(target, source) {
|
|
13915
14191
|
source = source != null ? source : {};
|
|
13916
14192
|
if (Object.getOwnPropertyDescriptors) {
|
|
13917
14193
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
13918
14194
|
} else {
|
|
13919
|
-
ownKeys$
|
|
14195
|
+
ownKeys$l(Object(source)).forEach(function(key) {
|
|
13920
14196
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
13921
14197
|
});
|
|
13922
14198
|
}
|
|
@@ -14002,7 +14278,7 @@ var FilterWithPeriod = function(param) {
|
|
|
14002
14278
|
if (onClose !== void 0) {
|
|
14003
14279
|
onClose();
|
|
14004
14280
|
}
|
|
14005
|
-
onChange(_object_spread_props$
|
|
14281
|
+
onChange(_object_spread_props$l(_object_spread$m({}, p), {
|
|
14006
14282
|
label: getPeriodTranslate(periodType)
|
|
14007
14283
|
}));
|
|
14008
14284
|
}
|
|
@@ -14022,7 +14298,7 @@ var FilterWithPeriod = function(param) {
|
|
|
14022
14298
|
};
|
|
14023
14299
|
var handleCustomDateChange = function(val) {
|
|
14024
14300
|
if (val.from || val.to) {
|
|
14025
|
-
onChange(_object_spread_props$
|
|
14301
|
+
onChange(_object_spread_props$l(_object_spread$m({}, val), {
|
|
14026
14302
|
periodType: "CUSTOM"
|
|
14027
14303
|
}));
|
|
14028
14304
|
} else {
|
|
@@ -14164,8 +14440,8 @@ function _object_spread$l(target) {
|
|
|
14164
14440
|
}
|
|
14165
14441
|
return target;
|
|
14166
14442
|
}
|
|
14167
|
-
function ownKeys$
|
|
14168
|
-
var
|
|
14443
|
+
function ownKeys$k(object, enumerableOnly) {
|
|
14444
|
+
var keys2 = Object.keys(object);
|
|
14169
14445
|
if (Object.getOwnPropertySymbols) {
|
|
14170
14446
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
14171
14447
|
if (enumerableOnly) {
|
|
@@ -14173,16 +14449,16 @@ function ownKeys$j(object, enumerableOnly) {
|
|
|
14173
14449
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
14174
14450
|
});
|
|
14175
14451
|
}
|
|
14176
|
-
|
|
14452
|
+
keys2.push.apply(keys2, symbols);
|
|
14177
14453
|
}
|
|
14178
|
-
return
|
|
14454
|
+
return keys2;
|
|
14179
14455
|
}
|
|
14180
|
-
function _object_spread_props$
|
|
14456
|
+
function _object_spread_props$k(target, source) {
|
|
14181
14457
|
source = source != null ? source : {};
|
|
14182
14458
|
if (Object.getOwnPropertyDescriptors) {
|
|
14183
14459
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
14184
14460
|
} else {
|
|
14185
|
-
ownKeys$
|
|
14461
|
+
ownKeys$k(Object(source)).forEach(function(key) {
|
|
14186
14462
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
14187
14463
|
});
|
|
14188
14464
|
}
|
|
@@ -14249,7 +14525,7 @@ function Filter(param) {
|
|
|
14249
14525
|
};
|
|
14250
14526
|
if (filter.type === "custom" && filter.component) {
|
|
14251
14527
|
var Component = filter.component;
|
|
14252
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14528
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14253
14529
|
children: /* @__PURE__ */ jsx(Component, _object_spread$l({}, {
|
|
14254
14530
|
value,
|
|
14255
14531
|
onChange,
|
|
@@ -14264,7 +14540,7 @@ function Filter(param) {
|
|
|
14264
14540
|
console.warn("%cДля фильтра типа custom (".concat(filter.name, ") в конфиге обязательно нужно задать component"), "background: red; color: black");
|
|
14265
14541
|
}
|
|
14266
14542
|
if (filter.type === "select") {
|
|
14267
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14543
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14268
14544
|
children: /* @__PURE__ */ jsx(FilterSelect, _object_spread$l({
|
|
14269
14545
|
onChange,
|
|
14270
14546
|
value,
|
|
@@ -14275,7 +14551,7 @@ function Filter(param) {
|
|
|
14275
14551
|
}));
|
|
14276
14552
|
}
|
|
14277
14553
|
if (filter.type === "dateRange") {
|
|
14278
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14554
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14279
14555
|
children: /* @__PURE__ */ jsx(FilterWithPeriod, _object_spread$l({
|
|
14280
14556
|
localeKey: translatesLocaleKey,
|
|
14281
14557
|
locale: translates,
|
|
@@ -14288,7 +14564,7 @@ function Filter(param) {
|
|
|
14288
14564
|
}
|
|
14289
14565
|
if (filter.type === "dateRangeWithoutPeriod") {
|
|
14290
14566
|
var dateRangeValue = value;
|
|
14291
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14567
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14292
14568
|
style: {
|
|
14293
14569
|
width: 320
|
|
14294
14570
|
},
|
|
@@ -14298,7 +14574,7 @@ function Filter(param) {
|
|
|
14298
14574
|
return onChange(void 0);
|
|
14299
14575
|
},
|
|
14300
14576
|
onChange: function(v) {
|
|
14301
|
-
return onChange(_object_spread_props$
|
|
14577
|
+
return onChange(_object_spread_props$k(_object_spread$l({}, v), {
|
|
14302
14578
|
periodType: "CUSTOM"
|
|
14303
14579
|
}));
|
|
14304
14580
|
},
|
|
@@ -14309,7 +14585,7 @@ function Filter(param) {
|
|
|
14309
14585
|
}));
|
|
14310
14586
|
}
|
|
14311
14587
|
if (filter.type === "multiSelect") {
|
|
14312
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14588
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14313
14589
|
children: /* @__PURE__ */ jsx(FilterMultiSelect, _object_spread$l({
|
|
14314
14590
|
onChange,
|
|
14315
14591
|
onClose: handleOnClose,
|
|
@@ -14321,7 +14597,7 @@ function Filter(param) {
|
|
|
14321
14597
|
}));
|
|
14322
14598
|
}
|
|
14323
14599
|
if (filter.type === "interval") {
|
|
14324
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14600
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14325
14601
|
children: /* @__PURE__ */ jsx(FilterInterval, _object_spread$l({
|
|
14326
14602
|
value,
|
|
14327
14603
|
labelName: filter.name,
|
|
@@ -14429,7 +14705,8 @@ var selectStyles = {
|
|
|
14429
14705
|
borderRadius: 0,
|
|
14430
14706
|
borderBottomLeftRadius: 6,
|
|
14431
14707
|
borderBottomRightRadius: 6,
|
|
14432
|
-
boxShadow: "none"
|
|
14708
|
+
boxShadow: "none",
|
|
14709
|
+
width: "100%"
|
|
14433
14710
|
}
|
|
14434
14711
|
};
|
|
14435
14712
|
function _array_like_to_array$b(arr, len) {
|
|
@@ -14502,8 +14779,8 @@ function _object_spread$k(target) {
|
|
|
14502
14779
|
}
|
|
14503
14780
|
return target;
|
|
14504
14781
|
}
|
|
14505
|
-
function ownKeys$
|
|
14506
|
-
var
|
|
14782
|
+
function ownKeys$j(object, enumerableOnly) {
|
|
14783
|
+
var keys2 = Object.keys(object);
|
|
14507
14784
|
if (Object.getOwnPropertySymbols) {
|
|
14508
14785
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
14509
14786
|
if (enumerableOnly) {
|
|
@@ -14511,16 +14788,16 @@ function ownKeys$i(object, enumerableOnly) {
|
|
|
14511
14788
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
14512
14789
|
});
|
|
14513
14790
|
}
|
|
14514
|
-
|
|
14791
|
+
keys2.push.apply(keys2, symbols);
|
|
14515
14792
|
}
|
|
14516
|
-
return
|
|
14793
|
+
return keys2;
|
|
14517
14794
|
}
|
|
14518
|
-
function _object_spread_props$
|
|
14795
|
+
function _object_spread_props$j(target, source) {
|
|
14519
14796
|
source = source != null ? source : {};
|
|
14520
14797
|
if (Object.getOwnPropertyDescriptors) {
|
|
14521
14798
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
14522
14799
|
} else {
|
|
14523
|
-
ownKeys$
|
|
14800
|
+
ownKeys$j(Object(source)).forEach(function(key) {
|
|
14524
14801
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
14525
14802
|
});
|
|
14526
14803
|
}
|
|
@@ -14543,7 +14820,7 @@ function _unsupported_iterable_to_array$b(o, minLen) {
|
|
|
14543
14820
|
return _array_like_to_array$b(o, minLen);
|
|
14544
14821
|
}
|
|
14545
14822
|
function FiltersPaneSearch(param) {
|
|
14546
|
-
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,
|
|
14823
|
+
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;
|
|
14547
14824
|
var classes = useStyles$l({
|
|
14548
14825
|
theme: tweakStyles
|
|
14549
14826
|
});
|
|
@@ -14590,7 +14867,7 @@ function FiltersPaneSearch(param) {
|
|
|
14590
14867
|
field
|
|
14591
14868
|
]);
|
|
14592
14869
|
var _obj;
|
|
14593
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
14870
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$j(_object_spread$k({
|
|
14594
14871
|
className: clsx(classes.root, (_obj = {}, _define_property$m(_obj, classes.focused, isInputFocused), _define_property$m(_obj, classes.disabled, isDisabled), _obj)),
|
|
14595
14872
|
ref: refRoot,
|
|
14596
14873
|
"data-testid": testId
|
|
@@ -14646,7 +14923,6 @@ function FiltersPaneSearch(param) {
|
|
|
14646
14923
|
localeKey,
|
|
14647
14924
|
locale: translates,
|
|
14648
14925
|
onChange: handleFieldsChange,
|
|
14649
|
-
width: selectWidth,
|
|
14650
14926
|
isSearchEnabled: isSelectSearchEnabled,
|
|
14651
14927
|
hasClearButton: hasClearSelectButton,
|
|
14652
14928
|
testId: testId !== void 0 ? "".concat(testId, "-dropdown") : void 0
|
|
@@ -15012,8 +15288,8 @@ function _object_spread$j(target) {
|
|
|
15012
15288
|
}
|
|
15013
15289
|
return target;
|
|
15014
15290
|
}
|
|
15015
|
-
function ownKeys$
|
|
15016
|
-
var
|
|
15291
|
+
function ownKeys$i(object, enumerableOnly) {
|
|
15292
|
+
var keys2 = Object.keys(object);
|
|
15017
15293
|
if (Object.getOwnPropertySymbols) {
|
|
15018
15294
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
15019
15295
|
if (enumerableOnly) {
|
|
@@ -15021,16 +15297,16 @@ function ownKeys$h(object, enumerableOnly) {
|
|
|
15021
15297
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
15022
15298
|
});
|
|
15023
15299
|
}
|
|
15024
|
-
|
|
15300
|
+
keys2.push.apply(keys2, symbols);
|
|
15025
15301
|
}
|
|
15026
|
-
return
|
|
15302
|
+
return keys2;
|
|
15027
15303
|
}
|
|
15028
|
-
function _object_spread_props$
|
|
15304
|
+
function _object_spread_props$i(target, source) {
|
|
15029
15305
|
source = source != null ? source : {};
|
|
15030
15306
|
if (Object.getOwnPropertyDescriptors) {
|
|
15031
15307
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
15032
15308
|
} else {
|
|
15033
|
-
ownKeys$
|
|
15309
|
+
ownKeys$i(Object(source)).forEach(function(key) {
|
|
15034
15310
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
15035
15311
|
});
|
|
15036
15312
|
}
|
|
@@ -15094,7 +15370,7 @@ function FilterWrapper(param) {
|
|
|
15094
15370
|
};
|
|
15095
15371
|
var isBoolean = filter.type === "boolean";
|
|
15096
15372
|
var _obj;
|
|
15097
|
-
return !filter.isInline ? /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
15373
|
+
return !filter.isInline ? /* @__PURE__ */ jsxs("div", _object_spread_props$i(_object_spread$j({
|
|
15098
15374
|
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))
|
|
15099
15375
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
15100
15376
|
children: [
|
|
@@ -15191,8 +15467,8 @@ function _object_spread$i(target) {
|
|
|
15191
15467
|
}
|
|
15192
15468
|
return target;
|
|
15193
15469
|
}
|
|
15194
|
-
function ownKeys$
|
|
15195
|
-
var
|
|
15470
|
+
function ownKeys$h(object, enumerableOnly) {
|
|
15471
|
+
var keys2 = Object.keys(object);
|
|
15196
15472
|
if (Object.getOwnPropertySymbols) {
|
|
15197
15473
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
15198
15474
|
if (enumerableOnly) {
|
|
@@ -15200,16 +15476,16 @@ function ownKeys$g(object, enumerableOnly) {
|
|
|
15200
15476
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
15201
15477
|
});
|
|
15202
15478
|
}
|
|
15203
|
-
|
|
15479
|
+
keys2.push.apply(keys2, symbols);
|
|
15204
15480
|
}
|
|
15205
|
-
return
|
|
15481
|
+
return keys2;
|
|
15206
15482
|
}
|
|
15207
|
-
function _object_spread_props$
|
|
15483
|
+
function _object_spread_props$h(target, source) {
|
|
15208
15484
|
source = source != null ? source : {};
|
|
15209
15485
|
if (Object.getOwnPropertyDescriptors) {
|
|
15210
15486
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
15211
15487
|
} else {
|
|
15212
|
-
ownKeys$
|
|
15488
|
+
ownKeys$h(Object(source)).forEach(function(key) {
|
|
15213
15489
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
15214
15490
|
});
|
|
15215
15491
|
}
|
|
@@ -15260,12 +15536,12 @@ function FiltersPane(param) {
|
|
|
15260
15536
|
})
|
|
15261
15537
|
});
|
|
15262
15538
|
var _search_localeKey, _search_localeKey1, _search_isDisabled;
|
|
15263
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
15539
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$h(_object_spread$i({
|
|
15264
15540
|
className: classes.root,
|
|
15265
15541
|
ref
|
|
15266
15542
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
15267
15543
|
children: [
|
|
15268
|
-
onSettingsButtonClick !== void 0 && /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
15544
|
+
onSettingsButtonClick !== void 0 && /* @__PURE__ */ jsx("div", _object_spread_props$h(_object_spread$i({
|
|
15269
15545
|
className: classes.settings,
|
|
15270
15546
|
tabIndex: 0
|
|
15271
15547
|
}, addDataTestId(testId, "settings-button")), {
|
|
@@ -15277,7 +15553,7 @@ function FiltersPane(param) {
|
|
|
15277
15553
|
})
|
|
15278
15554
|
})
|
|
15279
15555
|
})),
|
|
15280
|
-
search !== void 0 && /* @__PURE__ */ jsx(FiltersPaneSearch, _object_spread_props$
|
|
15556
|
+
search !== void 0 && /* @__PURE__ */ jsx(FiltersPaneSearch, _object_spread_props$h(_object_spread$i({}, search), {
|
|
15281
15557
|
locale: getLocale$1((_search_localeKey = search.localeKey) !== null && _search_localeKey !== void 0 ? _search_localeKey : localeKey, search.locale, locale2),
|
|
15282
15558
|
localeKey: (_search_localeKey1 = search.localeKey) !== null && _search_localeKey1 !== void 0 ? _search_localeKey1 : localeKey,
|
|
15283
15559
|
isDisabled: (_search_isDisabled = search.isDisabled) !== null && _search_isDisabled !== void 0 ? _search_isDisabled : isDisabled,
|
|
@@ -15300,7 +15576,7 @@ function FiltersPane(param) {
|
|
|
15300
15576
|
locale: locale2,
|
|
15301
15577
|
localeKey,
|
|
15302
15578
|
onChange: function(value) {
|
|
15303
|
-
return onChangeFilters(_object_spread_props$
|
|
15579
|
+
return onChangeFilters(_object_spread_props$h(_object_spread$i({}, values), _define_property$k({}, key, value)));
|
|
15304
15580
|
},
|
|
15305
15581
|
value: currentValue,
|
|
15306
15582
|
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) {
|
|
@@ -21482,14 +21758,6 @@ var useStyles$h = createThemedStyles("FlexibleTable", {
|
|
|
21482
21758
|
*/
|
|
21483
21759
|
maxHeight: "100%"
|
|
21484
21760
|
},
|
|
21485
|
-
horizontallyScrolled: {
|
|
21486
|
-
"& $cellSticky": {
|
|
21487
|
-
boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
|
|
21488
|
-
},
|
|
21489
|
-
"& $headerSticky::before": {
|
|
21490
|
-
boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
|
|
21491
|
-
}
|
|
21492
|
-
},
|
|
21493
21761
|
loader: {
|
|
21494
21762
|
position: "sticky",
|
|
21495
21763
|
left: 0,
|
|
@@ -21537,7 +21805,10 @@ var useStyles$h = createThemedStyles("FlexibleTable", {
|
|
|
21537
21805
|
"box-shadow",
|
|
21538
21806
|
"0.25s",
|
|
21539
21807
|
"ease-in-out"
|
|
21540
|
-
]
|
|
21808
|
+
],
|
|
21809
|
+
"[data-scrolled] &": {
|
|
21810
|
+
boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
|
|
21811
|
+
}
|
|
21541
21812
|
},
|
|
21542
21813
|
"&::after": {
|
|
21543
21814
|
content: '""',
|
|
@@ -21583,6 +21854,30 @@ function _object_spread$h(target) {
|
|
|
21583
21854
|
}
|
|
21584
21855
|
return target;
|
|
21585
21856
|
}
|
|
21857
|
+
function ownKeys$g(object, enumerableOnly) {
|
|
21858
|
+
var keys2 = Object.keys(object);
|
|
21859
|
+
if (Object.getOwnPropertySymbols) {
|
|
21860
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
21861
|
+
if (enumerableOnly) {
|
|
21862
|
+
symbols = symbols.filter(function(sym) {
|
|
21863
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21864
|
+
});
|
|
21865
|
+
}
|
|
21866
|
+
keys2.push.apply(keys2, symbols);
|
|
21867
|
+
}
|
|
21868
|
+
return keys2;
|
|
21869
|
+
}
|
|
21870
|
+
function _object_spread_props$g(target, source) {
|
|
21871
|
+
source = source != null ? source : {};
|
|
21872
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
21873
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
21874
|
+
} else {
|
|
21875
|
+
ownKeys$g(Object(source)).forEach(function(key) {
|
|
21876
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
21877
|
+
});
|
|
21878
|
+
}
|
|
21879
|
+
return target;
|
|
21880
|
+
}
|
|
21586
21881
|
var useStyles$g = createThemedStyles("FlexibleTableCell", {
|
|
21587
21882
|
root: {
|
|
21588
21883
|
position: "relative",
|
|
@@ -21596,13 +21891,17 @@ var useStyles$g = createThemedStyles("FlexibleTableCell", {
|
|
|
21596
21891
|
zIndex: 5,
|
|
21597
21892
|
verticalAlign: "top"
|
|
21598
21893
|
},
|
|
21599
|
-
sticky: _object_spread$h({
|
|
21894
|
+
sticky: _object_spread_props$g(_object_spread$h({
|
|
21600
21895
|
zIndex: 19,
|
|
21601
21896
|
paddingLeft: 24,
|
|
21602
21897
|
paddingRight: 12
|
|
21603
21898
|
}, getTransition([
|
|
21604
21899
|
"box-shadow"
|
|
21605
|
-
])),
|
|
21900
|
+
])), {
|
|
21901
|
+
"[data-scrolled] &": {
|
|
21902
|
+
boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
|
|
21903
|
+
}
|
|
21904
|
+
}),
|
|
21606
21905
|
second: {
|
|
21607
21906
|
paddingLeft: STICKY_SHADOW_PADDING
|
|
21608
21907
|
}
|
|
@@ -21743,7 +22042,7 @@ function _object_spread$g(target) {
|
|
|
21743
22042
|
return target;
|
|
21744
22043
|
}
|
|
21745
22044
|
function ownKeys$f(object, enumerableOnly) {
|
|
21746
|
-
var
|
|
22045
|
+
var keys2 = Object.keys(object);
|
|
21747
22046
|
if (Object.getOwnPropertySymbols) {
|
|
21748
22047
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
21749
22048
|
if (enumerableOnly) {
|
|
@@ -21751,9 +22050,9 @@ function ownKeys$f(object, enumerableOnly) {
|
|
|
21751
22050
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21752
22051
|
});
|
|
21753
22052
|
}
|
|
21754
|
-
|
|
22053
|
+
keys2.push.apply(keys2, symbols);
|
|
21755
22054
|
}
|
|
21756
|
-
return
|
|
22055
|
+
return keys2;
|
|
21757
22056
|
}
|
|
21758
22057
|
function _object_spread_props$f(target, source) {
|
|
21759
22058
|
source = source != null ? source : {};
|
|
@@ -21884,6 +22183,9 @@ function FlexibleTableRowInner(param) {
|
|
|
21884
22183
|
});
|
|
21885
22184
|
}
|
|
21886
22185
|
var FlexibleTableRow = /* @__PURE__ */ memo(FlexibleTableRowInner);
|
|
22186
|
+
var hasHorizontalScrollBar = function(el) {
|
|
22187
|
+
return isNotEmpty(el) && el.scrollWidth !== el.clientWidth;
|
|
22188
|
+
};
|
|
21887
22189
|
function _array_like_to_array$8(arr, len) {
|
|
21888
22190
|
if (len == null || len > arr.length)
|
|
21889
22191
|
len = arr.length;
|
|
@@ -21955,7 +22257,7 @@ function _object_spread$f(target) {
|
|
|
21955
22257
|
return target;
|
|
21956
22258
|
}
|
|
21957
22259
|
function ownKeys$e(object, enumerableOnly) {
|
|
21958
|
-
var
|
|
22260
|
+
var keys2 = Object.keys(object);
|
|
21959
22261
|
if (Object.getOwnPropertySymbols) {
|
|
21960
22262
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
21961
22263
|
if (enumerableOnly) {
|
|
@@ -21963,9 +22265,9 @@ function ownKeys$e(object, enumerableOnly) {
|
|
|
21963
22265
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21964
22266
|
});
|
|
21965
22267
|
}
|
|
21966
|
-
|
|
22268
|
+
keys2.push.apply(keys2, symbols);
|
|
21967
22269
|
}
|
|
21968
|
-
return
|
|
22270
|
+
return keys2;
|
|
21969
22271
|
}
|
|
21970
22272
|
function _object_spread_props$e(target, source) {
|
|
21971
22273
|
source = source != null ? source : {};
|
|
@@ -22007,6 +22309,7 @@ function FlexibleTable(param) {
|
|
|
22007
22309
|
var _useState = _sliced_to_array$8(useState(false), 2), isHorizontallyScrolled = _useState[0], setIsHorizontallyScrolled = _useState[1];
|
|
22008
22310
|
var observer = useRef();
|
|
22009
22311
|
var scrollRef = useRef(null);
|
|
22312
|
+
var ref = refForScroll !== null && refForScroll !== void 0 ? refForScroll : scrollRef;
|
|
22010
22313
|
var initIntersectionObserver = useCallback(function(node) {
|
|
22011
22314
|
if (infinityScrollConfig) {
|
|
22012
22315
|
if (infinityScrollConfig.isLoading || infinityScrollConfig.activePage >= infinityScrollConfig.totalPages) {
|
|
@@ -22030,7 +22333,7 @@ function FlexibleTable(param) {
|
|
|
22030
22333
|
infinityScrollConfig === null || infinityScrollConfig === void 0 ? void 0 : infinityScrollConfig.onInfinityScroll
|
|
22031
22334
|
]);
|
|
22032
22335
|
useEffect(function() {
|
|
22033
|
-
var scrollContainer =
|
|
22336
|
+
var scrollContainer = ref.current;
|
|
22034
22337
|
if (scrollContainer === null || !isHorizontallyScrollable || !isFirstColumnSticky) {
|
|
22035
22338
|
return;
|
|
22036
22339
|
}
|
|
@@ -22045,13 +22348,16 @@ function FlexibleTable(param) {
|
|
|
22045
22348
|
scrollRef
|
|
22046
22349
|
]);
|
|
22047
22350
|
var _activeRows_includes;
|
|
22048
|
-
return /* @__PURE__ */ jsx("div", {
|
|
22049
|
-
ref
|
|
22050
|
-
className: clsx(
|
|
22351
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$e(_object_spread$f({
|
|
22352
|
+
ref,
|
|
22353
|
+
className: clsx(_define_property$g({}, classes.scroll, isHorizontallyScrollable))
|
|
22354
|
+
}, addDataAttributes({
|
|
22355
|
+
scrolled: isHorizontallyScrolled ? true : void 0,
|
|
22356
|
+
scrollable: isHorizontallyScrollable && hasHorizontalScrollBar(ref.current)
|
|
22357
|
+
})), {
|
|
22051
22358
|
children: /* @__PURE__ */ jsxs("table", _object_spread_props$e(_object_spread$f({
|
|
22052
|
-
className: classes.root
|
|
22053
|
-
|
|
22054
|
-
}, addDataAttributes(data)), {
|
|
22359
|
+
className: classes.root
|
|
22360
|
+
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
22055
22361
|
children: [
|
|
22056
22362
|
/* @__PURE__ */ jsx("thead", {
|
|
22057
22363
|
children: /* @__PURE__ */ jsx("tr", {
|
|
@@ -22067,8 +22373,9 @@ function FlexibleTable(param) {
|
|
|
22067
22373
|
});
|
|
22068
22374
|
}
|
|
22069
22375
|
var _itemConfig_titleAlign;
|
|
22376
|
+
var _obj;
|
|
22070
22377
|
return /* @__PURE__ */ jsx("th", {
|
|
22071
|
-
className: clsx(classes.header, isFirstColumnSticky && idx === 0
|
|
22378
|
+
className: clsx(classes.header, (_obj = {}, _define_property$g(_obj, classes.headerSticky, isFirstColumnSticky && idx === 0), _define_property$g(_obj, classes.headerSecond, isFirstColumnSticky && idx === 1), _obj)),
|
|
22072
22379
|
style: {
|
|
22073
22380
|
minWidth: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.minWidth,
|
|
22074
22381
|
width: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.width,
|
|
@@ -22091,11 +22398,11 @@ function FlexibleTable(param) {
|
|
|
22091
22398
|
children: nothingFoundContent
|
|
22092
22399
|
})
|
|
22093
22400
|
}),
|
|
22094
|
-
content.map(function(item,
|
|
22401
|
+
content.map(function(item, i) {
|
|
22095
22402
|
return jsx(FlexibleTableRow, {
|
|
22096
22403
|
item,
|
|
22097
22404
|
uniqueField,
|
|
22098
|
-
isActive: (_activeRows_includes = activeRows === null || activeRows === void 0 ? void 0 : activeRows.includes(
|
|
22405
|
+
isActive: (_activeRows_includes = activeRows === null || activeRows === void 0 ? void 0 : activeRows.includes(i)) !== null && _activeRows_includes !== void 0 ? _activeRows_includes : false,
|
|
22099
22406
|
isFirstColumnSticky,
|
|
22100
22407
|
onRowClick,
|
|
22101
22408
|
onRowHover,
|
|
@@ -22104,7 +22411,7 @@ function FlexibleTable(param) {
|
|
|
22104
22411
|
rowAttributes,
|
|
22105
22412
|
tweakStyles: tweakTableRowStyles,
|
|
22106
22413
|
expandableRowComponent
|
|
22107
|
-
}, uniqueField ? item[uniqueField] :
|
|
22414
|
+
}, isNotEmpty(uniqueField) ? item[uniqueField] : i);
|
|
22108
22415
|
}),
|
|
22109
22416
|
infinityScrollConfig !== void 0 && !infinityScrollConfig.isLastPage && /* @__PURE__ */ jsx("tr", {
|
|
22110
22417
|
children: /* @__PURE__ */ jsx("td", {
|
|
@@ -22122,7 +22429,7 @@ function FlexibleTable(param) {
|
|
|
22122
22429
|
})
|
|
22123
22430
|
]
|
|
22124
22431
|
}))
|
|
22125
|
-
});
|
|
22432
|
+
}));
|
|
22126
22433
|
}
|
|
22127
22434
|
var BUTTONS_WIDTH = 36;
|
|
22128
22435
|
var BUTTONS_GAP = 2;
|
|
@@ -22217,7 +22524,7 @@ function _object_spread$e(target) {
|
|
|
22217
22524
|
return target;
|
|
22218
22525
|
}
|
|
22219
22526
|
function ownKeys$d(object, enumerableOnly) {
|
|
22220
|
-
var
|
|
22527
|
+
var keys2 = Object.keys(object);
|
|
22221
22528
|
if (Object.getOwnPropertySymbols) {
|
|
22222
22529
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
22223
22530
|
if (enumerableOnly) {
|
|
@@ -22225,9 +22532,9 @@ function ownKeys$d(object, enumerableOnly) {
|
|
|
22225
22532
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
22226
22533
|
});
|
|
22227
22534
|
}
|
|
22228
|
-
|
|
22535
|
+
keys2.push.apply(keys2, symbols);
|
|
22229
22536
|
}
|
|
22230
|
-
return
|
|
22537
|
+
return keys2;
|
|
22231
22538
|
}
|
|
22232
22539
|
function _object_spread_props$d(target, source) {
|
|
22233
22540
|
source = source != null ? source : {};
|
|
@@ -22686,7 +22993,7 @@ function _object_spread$d(target) {
|
|
|
22686
22993
|
return target;
|
|
22687
22994
|
}
|
|
22688
22995
|
function ownKeys$c(object, enumerableOnly) {
|
|
22689
|
-
var
|
|
22996
|
+
var keys2 = Object.keys(object);
|
|
22690
22997
|
if (Object.getOwnPropertySymbols) {
|
|
22691
22998
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
22692
22999
|
if (enumerableOnly) {
|
|
@@ -22694,9 +23001,9 @@ function ownKeys$c(object, enumerableOnly) {
|
|
|
22694
23001
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
22695
23002
|
});
|
|
22696
23003
|
}
|
|
22697
|
-
|
|
23004
|
+
keys2.push.apply(keys2, symbols);
|
|
22698
23005
|
}
|
|
22699
|
-
return
|
|
23006
|
+
return keys2;
|
|
22700
23007
|
}
|
|
22701
23008
|
function _object_spread_props$c(target, source) {
|
|
22702
23009
|
source = source != null ? source : {};
|
|
@@ -23016,7 +23323,7 @@ function _object_spread$c(target) {
|
|
|
23016
23323
|
return target;
|
|
23017
23324
|
}
|
|
23018
23325
|
function ownKeys$b(object, enumerableOnly) {
|
|
23019
|
-
var
|
|
23326
|
+
var keys2 = Object.keys(object);
|
|
23020
23327
|
if (Object.getOwnPropertySymbols) {
|
|
23021
23328
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
23022
23329
|
if (enumerableOnly) {
|
|
@@ -23024,9 +23331,9 @@ function ownKeys$b(object, enumerableOnly) {
|
|
|
23024
23331
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23025
23332
|
});
|
|
23026
23333
|
}
|
|
23027
|
-
|
|
23334
|
+
keys2.push.apply(keys2, symbols);
|
|
23028
23335
|
}
|
|
23029
|
-
return
|
|
23336
|
+
return keys2;
|
|
23030
23337
|
}
|
|
23031
23338
|
function _object_spread_props$b(target, source) {
|
|
23032
23339
|
source = source != null ? source : {};
|
|
@@ -23341,7 +23648,7 @@ function _object_spread$b(target) {
|
|
|
23341
23648
|
return target;
|
|
23342
23649
|
}
|
|
23343
23650
|
function ownKeys$a(object, enumerableOnly) {
|
|
23344
|
-
var
|
|
23651
|
+
var keys2 = Object.keys(object);
|
|
23345
23652
|
if (Object.getOwnPropertySymbols) {
|
|
23346
23653
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
23347
23654
|
if (enumerableOnly) {
|
|
@@ -23349,9 +23656,9 @@ function ownKeys$a(object, enumerableOnly) {
|
|
|
23349
23656
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23350
23657
|
});
|
|
23351
23658
|
}
|
|
23352
|
-
|
|
23659
|
+
keys2.push.apply(keys2, symbols);
|
|
23353
23660
|
}
|
|
23354
|
-
return
|
|
23661
|
+
return keys2;
|
|
23355
23662
|
}
|
|
23356
23663
|
function _object_spread_props$a(target, source) {
|
|
23357
23664
|
source = source != null ? source : {};
|
|
@@ -23490,7 +23797,7 @@ function _object_spread$a(target) {
|
|
|
23490
23797
|
return target;
|
|
23491
23798
|
}
|
|
23492
23799
|
function ownKeys$9(object, enumerableOnly) {
|
|
23493
|
-
var
|
|
23800
|
+
var keys2 = Object.keys(object);
|
|
23494
23801
|
if (Object.getOwnPropertySymbols) {
|
|
23495
23802
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
23496
23803
|
if (enumerableOnly) {
|
|
@@ -23498,9 +23805,9 @@ function ownKeys$9(object, enumerableOnly) {
|
|
|
23498
23805
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23499
23806
|
});
|
|
23500
23807
|
}
|
|
23501
|
-
|
|
23808
|
+
keys2.push.apply(keys2, symbols);
|
|
23502
23809
|
}
|
|
23503
|
-
return
|
|
23810
|
+
return keys2;
|
|
23504
23811
|
}
|
|
23505
23812
|
function _object_spread_props$9(target, source) {
|
|
23506
23813
|
source = source != null ? source : {};
|
|
@@ -23712,7 +24019,7 @@ function _object_spread$9(target) {
|
|
|
23712
24019
|
return target;
|
|
23713
24020
|
}
|
|
23714
24021
|
function ownKeys$8(object, enumerableOnly) {
|
|
23715
|
-
var
|
|
24022
|
+
var keys2 = Object.keys(object);
|
|
23716
24023
|
if (Object.getOwnPropertySymbols) {
|
|
23717
24024
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
23718
24025
|
if (enumerableOnly) {
|
|
@@ -23720,9 +24027,9 @@ function ownKeys$8(object, enumerableOnly) {
|
|
|
23720
24027
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23721
24028
|
});
|
|
23722
24029
|
}
|
|
23723
|
-
|
|
24030
|
+
keys2.push.apply(keys2, symbols);
|
|
23724
24031
|
}
|
|
23725
|
-
return
|
|
24032
|
+
return keys2;
|
|
23726
24033
|
}
|
|
23727
24034
|
function _object_spread_props$8(target, source) {
|
|
23728
24035
|
source = source != null ? source : {};
|
|
@@ -26950,7 +27257,7 @@ function _object_spread$7(target) {
|
|
|
26950
27257
|
return target;
|
|
26951
27258
|
}
|
|
26952
27259
|
function ownKeys$7(object, enumerableOnly) {
|
|
26953
|
-
var
|
|
27260
|
+
var keys2 = Object.keys(object);
|
|
26954
27261
|
if (Object.getOwnPropertySymbols) {
|
|
26955
27262
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
26956
27263
|
if (enumerableOnly) {
|
|
@@ -26958,9 +27265,9 @@ function ownKeys$7(object, enumerableOnly) {
|
|
|
26958
27265
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
26959
27266
|
});
|
|
26960
27267
|
}
|
|
26961
|
-
|
|
27268
|
+
keys2.push.apply(keys2, symbols);
|
|
26962
27269
|
}
|
|
26963
|
-
return
|
|
27270
|
+
return keys2;
|
|
26964
27271
|
}
|
|
26965
27272
|
function _object_spread_props$7(target, source) {
|
|
26966
27273
|
source = source != null ? source : {};
|
|
@@ -27233,7 +27540,7 @@ function _object_spread$6(target) {
|
|
|
27233
27540
|
return target;
|
|
27234
27541
|
}
|
|
27235
27542
|
function ownKeys$6(object, enumerableOnly) {
|
|
27236
|
-
var
|
|
27543
|
+
var keys2 = Object.keys(object);
|
|
27237
27544
|
if (Object.getOwnPropertySymbols) {
|
|
27238
27545
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27239
27546
|
if (enumerableOnly) {
|
|
@@ -27241,9 +27548,9 @@ function ownKeys$6(object, enumerableOnly) {
|
|
|
27241
27548
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27242
27549
|
});
|
|
27243
27550
|
}
|
|
27244
|
-
|
|
27551
|
+
keys2.push.apply(keys2, symbols);
|
|
27245
27552
|
}
|
|
27246
|
-
return
|
|
27553
|
+
return keys2;
|
|
27247
27554
|
}
|
|
27248
27555
|
function _object_spread_props$6(target, source) {
|
|
27249
27556
|
source = source != null ? source : {};
|
|
@@ -27375,7 +27682,7 @@ function _object_spread$5(target) {
|
|
|
27375
27682
|
return target;
|
|
27376
27683
|
}
|
|
27377
27684
|
function ownKeys$5(object, enumerableOnly) {
|
|
27378
|
-
var
|
|
27685
|
+
var keys2 = Object.keys(object);
|
|
27379
27686
|
if (Object.getOwnPropertySymbols) {
|
|
27380
27687
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27381
27688
|
if (enumerableOnly) {
|
|
@@ -27383,9 +27690,9 @@ function ownKeys$5(object, enumerableOnly) {
|
|
|
27383
27690
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27384
27691
|
});
|
|
27385
27692
|
}
|
|
27386
|
-
|
|
27693
|
+
keys2.push.apply(keys2, symbols);
|
|
27387
27694
|
}
|
|
27388
|
-
return
|
|
27695
|
+
return keys2;
|
|
27389
27696
|
}
|
|
27390
27697
|
function _object_spread_props$5(target, source) {
|
|
27391
27698
|
source = source != null ? source : {};
|
|
@@ -27399,7 +27706,7 @@ function _object_spread_props$5(target, source) {
|
|
|
27399
27706
|
return target;
|
|
27400
27707
|
}
|
|
27401
27708
|
var Switch = function(param) {
|
|
27402
|
-
var isDisabled = param.isDisabled,
|
|
27709
|
+
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;
|
|
27403
27710
|
var classes = useStyles$5({
|
|
27404
27711
|
theme: tweakStyles
|
|
27405
27712
|
});
|
|
@@ -27638,7 +27945,7 @@ function _object_spread$4(target) {
|
|
|
27638
27945
|
return target;
|
|
27639
27946
|
}
|
|
27640
27947
|
function ownKeys$4(object, enumerableOnly) {
|
|
27641
|
-
var
|
|
27948
|
+
var keys2 = Object.keys(object);
|
|
27642
27949
|
if (Object.getOwnPropertySymbols) {
|
|
27643
27950
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27644
27951
|
if (enumerableOnly) {
|
|
@@ -27646,9 +27953,9 @@ function ownKeys$4(object, enumerableOnly) {
|
|
|
27646
27953
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27647
27954
|
});
|
|
27648
27955
|
}
|
|
27649
|
-
|
|
27956
|
+
keys2.push.apply(keys2, symbols);
|
|
27650
27957
|
}
|
|
27651
|
-
return
|
|
27958
|
+
return keys2;
|
|
27652
27959
|
}
|
|
27653
27960
|
function _object_spread_props$4(target, source) {
|
|
27654
27961
|
source = source != null ? source : {};
|
|
@@ -27847,7 +28154,7 @@ function _object_spread$3(target) {
|
|
|
27847
28154
|
return target;
|
|
27848
28155
|
}
|
|
27849
28156
|
function ownKeys$3(object, enumerableOnly) {
|
|
27850
|
-
var
|
|
28157
|
+
var keys2 = Object.keys(object);
|
|
27851
28158
|
if (Object.getOwnPropertySymbols) {
|
|
27852
28159
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27853
28160
|
if (enumerableOnly) {
|
|
@@ -27855,9 +28162,9 @@ function ownKeys$3(object, enumerableOnly) {
|
|
|
27855
28162
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27856
28163
|
});
|
|
27857
28164
|
}
|
|
27858
|
-
|
|
28165
|
+
keys2.push.apply(keys2, symbols);
|
|
27859
28166
|
}
|
|
27860
|
-
return
|
|
28167
|
+
return keys2;
|
|
27861
28168
|
}
|
|
27862
28169
|
function _object_spread_props$3(target, source) {
|
|
27863
28170
|
source = source != null ? source : {};
|
|
@@ -27974,7 +28281,7 @@ function _object_spread$2(target) {
|
|
|
27974
28281
|
return target;
|
|
27975
28282
|
}
|
|
27976
28283
|
function ownKeys$2(object, enumerableOnly) {
|
|
27977
|
-
var
|
|
28284
|
+
var keys2 = Object.keys(object);
|
|
27978
28285
|
if (Object.getOwnPropertySymbols) {
|
|
27979
28286
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27980
28287
|
if (enumerableOnly) {
|
|
@@ -27982,9 +28289,9 @@ function ownKeys$2(object, enumerableOnly) {
|
|
|
27982
28289
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27983
28290
|
});
|
|
27984
28291
|
}
|
|
27985
|
-
|
|
28292
|
+
keys2.push.apply(keys2, symbols);
|
|
27986
28293
|
}
|
|
27987
|
-
return
|
|
28294
|
+
return keys2;
|
|
27988
28295
|
}
|
|
27989
28296
|
function _object_spread_props$2(target, source) {
|
|
27990
28297
|
source = source != null ? source : {};
|
|
@@ -28183,7 +28490,7 @@ function _object_spread$1(target) {
|
|
|
28183
28490
|
return target;
|
|
28184
28491
|
}
|
|
28185
28492
|
function ownKeys$1(object, enumerableOnly) {
|
|
28186
|
-
var
|
|
28493
|
+
var keys2 = Object.keys(object);
|
|
28187
28494
|
if (Object.getOwnPropertySymbols) {
|
|
28188
28495
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
28189
28496
|
if (enumerableOnly) {
|
|
@@ -28191,9 +28498,9 @@ function ownKeys$1(object, enumerableOnly) {
|
|
|
28191
28498
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
28192
28499
|
});
|
|
28193
28500
|
}
|
|
28194
|
-
|
|
28501
|
+
keys2.push.apply(keys2, symbols);
|
|
28195
28502
|
}
|
|
28196
|
-
return
|
|
28503
|
+
return keys2;
|
|
28197
28504
|
}
|
|
28198
28505
|
function _object_spread_props$1(target, source) {
|
|
28199
28506
|
source = source != null ? source : {};
|
|
@@ -28349,7 +28656,7 @@ function _object_spread(target) {
|
|
|
28349
28656
|
return target;
|
|
28350
28657
|
}
|
|
28351
28658
|
function ownKeys(object, enumerableOnly) {
|
|
28352
|
-
var
|
|
28659
|
+
var keys2 = Object.keys(object);
|
|
28353
28660
|
if (Object.getOwnPropertySymbols) {
|
|
28354
28661
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
28355
28662
|
if (enumerableOnly) {
|
|
@@ -28357,9 +28664,9 @@ function ownKeys(object, enumerableOnly) {
|
|
|
28357
28664
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
28358
28665
|
});
|
|
28359
28666
|
}
|
|
28360
|
-
|
|
28667
|
+
keys2.push.apply(keys2, symbols);
|
|
28361
28668
|
}
|
|
28362
|
-
return
|
|
28669
|
+
return keys2;
|
|
28363
28670
|
}
|
|
28364
28671
|
function _object_spread_props(target, source) {
|
|
28365
28672
|
source = source != null ? source : {};
|
|
@@ -28654,6 +28961,7 @@ export {
|
|
|
28654
28961
|
useDidMountEffect,
|
|
28655
28962
|
useDropdown,
|
|
28656
28963
|
useIsMounted,
|
|
28964
|
+
useMixedStyles,
|
|
28657
28965
|
useOnClickOutside,
|
|
28658
28966
|
useOnClickOutsideWithRef,
|
|
28659
28967
|
useTweakStyles
|