@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
|
@@ -829,9 +829,9 @@
|
|
|
829
829
|
}
|
|
830
830
|
function validateFragmentProps(fragment) {
|
|
831
831
|
{
|
|
832
|
-
var
|
|
833
|
-
for (var i = 0; i <
|
|
834
|
-
var key =
|
|
832
|
+
var keys2 = Object.keys(fragment.props);
|
|
833
|
+
for (var i = 0; i < keys2.length; i++) {
|
|
834
|
+
var key = keys2[i];
|
|
835
835
|
if (key !== "children" && key !== "key") {
|
|
836
836
|
setCurrentlyValidatingElement$1(fragment);
|
|
837
837
|
error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
|
|
@@ -1194,12 +1194,12 @@
|
|
|
1194
1194
|
const root$1 = root;
|
|
1195
1195
|
var Symbol$1 = root$1.Symbol;
|
|
1196
1196
|
const Symbol$2 = Symbol$1;
|
|
1197
|
-
var objectProto$
|
|
1198
|
-
var hasOwnProperty$
|
|
1199
|
-
var nativeObjectToString$1 = objectProto$
|
|
1197
|
+
var objectProto$d = Object.prototype;
|
|
1198
|
+
var hasOwnProperty$a = objectProto$d.hasOwnProperty;
|
|
1199
|
+
var nativeObjectToString$1 = objectProto$d.toString;
|
|
1200
1200
|
var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
|
|
1201
1201
|
function getRawTag(value) {
|
|
1202
|
-
var isOwn = hasOwnProperty$
|
|
1202
|
+
var isOwn = hasOwnProperty$a.call(value, symToStringTag$1), tag = value[symToStringTag$1];
|
|
1203
1203
|
try {
|
|
1204
1204
|
value[symToStringTag$1] = void 0;
|
|
1205
1205
|
var unmasked = true;
|
|
@@ -1215,8 +1215,8 @@
|
|
|
1215
1215
|
}
|
|
1216
1216
|
return result;
|
|
1217
1217
|
}
|
|
1218
|
-
var objectProto$
|
|
1219
|
-
var nativeObjectToString = objectProto$
|
|
1218
|
+
var objectProto$c = Object.prototype;
|
|
1219
|
+
var nativeObjectToString = objectProto$c.toString;
|
|
1220
1220
|
function objectToString(value) {
|
|
1221
1221
|
return nativeObjectToString.call(value);
|
|
1222
1222
|
}
|
|
@@ -1232,13 +1232,13 @@
|
|
|
1232
1232
|
var type = typeof value;
|
|
1233
1233
|
return value != null && (type == "object" || type == "function");
|
|
1234
1234
|
}
|
|
1235
|
-
var asyncTag = "[object AsyncFunction]", funcTag$
|
|
1235
|
+
var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
|
|
1236
1236
|
function isFunction(value) {
|
|
1237
1237
|
if (!isObject(value)) {
|
|
1238
1238
|
return false;
|
|
1239
1239
|
}
|
|
1240
1240
|
var tag = baseGetTag(value);
|
|
1241
|
-
return tag == funcTag$
|
|
1241
|
+
return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
|
|
1242
1242
|
}
|
|
1243
1243
|
var coreJsData = root$1["__core-js_shared__"];
|
|
1244
1244
|
const coreJsData$1 = coreJsData;
|
|
@@ -1266,11 +1266,11 @@
|
|
|
1266
1266
|
}
|
|
1267
1267
|
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
1268
1268
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
1269
|
-
var funcProto$1 = Function.prototype, objectProto$
|
|
1269
|
+
var funcProto$1 = Function.prototype, objectProto$b = Object.prototype;
|
|
1270
1270
|
var funcToString$1 = funcProto$1.toString;
|
|
1271
|
-
var hasOwnProperty$
|
|
1271
|
+
var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
|
|
1272
1272
|
var reIsNative = RegExp(
|
|
1273
|
-
"^" + funcToString$1.call(hasOwnProperty$
|
|
1273
|
+
"^" + funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1274
1274
|
);
|
|
1275
1275
|
function baseIsNative(value) {
|
|
1276
1276
|
if (!isObject(value) || isMasked(value)) {
|
|
@@ -1300,21 +1300,21 @@
|
|
|
1300
1300
|
return result;
|
|
1301
1301
|
}
|
|
1302
1302
|
var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
|
|
1303
|
-
var objectProto$
|
|
1304
|
-
var hasOwnProperty$
|
|
1303
|
+
var objectProto$a = Object.prototype;
|
|
1304
|
+
var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
|
|
1305
1305
|
function hashGet(key) {
|
|
1306
1306
|
var data = this.__data__;
|
|
1307
1307
|
if (nativeCreate$1) {
|
|
1308
1308
|
var result = data[key];
|
|
1309
1309
|
return result === HASH_UNDEFINED$1 ? void 0 : result;
|
|
1310
1310
|
}
|
|
1311
|
-
return hasOwnProperty$
|
|
1311
|
+
return hasOwnProperty$8.call(data, key) ? data[key] : void 0;
|
|
1312
1312
|
}
|
|
1313
|
-
var objectProto$
|
|
1314
|
-
var hasOwnProperty$
|
|
1313
|
+
var objectProto$9 = Object.prototype;
|
|
1314
|
+
var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
|
|
1315
1315
|
function hashHas(key) {
|
|
1316
1316
|
var data = this.__data__;
|
|
1317
|
-
return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$
|
|
1317
|
+
return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$7.call(data, key);
|
|
1318
1318
|
}
|
|
1319
1319
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
1320
1320
|
function hashSet(key, value) {
|
|
@@ -1503,9 +1503,9 @@
|
|
|
1503
1503
|
}
|
|
1504
1504
|
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
1505
1505
|
const getPrototype$1 = getPrototype;
|
|
1506
|
-
var objectProto$
|
|
1506
|
+
var objectProto$8 = Object.prototype;
|
|
1507
1507
|
function isPrototype(value) {
|
|
1508
|
-
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$
|
|
1508
|
+
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
|
|
1509
1509
|
return value === proto;
|
|
1510
1510
|
}
|
|
1511
1511
|
function initCloneObject(object) {
|
|
@@ -1514,17 +1514,17 @@
|
|
|
1514
1514
|
function isObjectLike(value) {
|
|
1515
1515
|
return value != null && typeof value == "object";
|
|
1516
1516
|
}
|
|
1517
|
-
var argsTag$
|
|
1517
|
+
var argsTag$2 = "[object Arguments]";
|
|
1518
1518
|
function baseIsArguments(value) {
|
|
1519
|
-
return isObjectLike(value) && baseGetTag(value) == argsTag$
|
|
1519
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag$2;
|
|
1520
1520
|
}
|
|
1521
|
-
var objectProto$
|
|
1522
|
-
var hasOwnProperty$
|
|
1523
|
-
var propertyIsEnumerable = objectProto$
|
|
1521
|
+
var objectProto$7 = Object.prototype;
|
|
1522
|
+
var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
|
|
1523
|
+
var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
|
|
1524
1524
|
var isArguments = baseIsArguments(function() {
|
|
1525
1525
|
return arguments;
|
|
1526
1526
|
}()) ? baseIsArguments : function(value) {
|
|
1527
|
-
return isObjectLike(value) && hasOwnProperty$
|
|
1527
|
+
return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
1528
1528
|
};
|
|
1529
1529
|
const isArguments$1 = isArguments;
|
|
1530
1530
|
var isArray = Array.isArray;
|
|
@@ -1549,27 +1549,27 @@
|
|
|
1549
1549
|
var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
|
|
1550
1550
|
var isBuffer = nativeIsBuffer || stubFalse;
|
|
1551
1551
|
const isBuffer$1 = isBuffer;
|
|
1552
|
-
var objectTag$
|
|
1553
|
-
var funcProto = Function.prototype, objectProto$
|
|
1552
|
+
var objectTag$3 = "[object Object]";
|
|
1553
|
+
var funcProto = Function.prototype, objectProto$6 = Object.prototype;
|
|
1554
1554
|
var funcToString = funcProto.toString;
|
|
1555
|
-
var hasOwnProperty$
|
|
1555
|
+
var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
1556
1556
|
var objectCtorString = funcToString.call(Object);
|
|
1557
1557
|
function isPlainObject(value) {
|
|
1558
|
-
if (!isObjectLike(value) || baseGetTag(value) != objectTag$
|
|
1558
|
+
if (!isObjectLike(value) || baseGetTag(value) != objectTag$3) {
|
|
1559
1559
|
return false;
|
|
1560
1560
|
}
|
|
1561
1561
|
var proto = getPrototype$1(value);
|
|
1562
1562
|
if (proto === null) {
|
|
1563
1563
|
return true;
|
|
1564
1564
|
}
|
|
1565
|
-
var Ctor = hasOwnProperty$
|
|
1565
|
+
var Ctor = hasOwnProperty$5.call(proto, "constructor") && proto.constructor;
|
|
1566
1566
|
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
1567
1567
|
}
|
|
1568
|
-
var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", weakMapTag = "[object WeakMap]";
|
|
1569
|
-
var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
|
|
1568
|
+
var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$2 = "[object Boolean]", dateTag$2 = "[object Date]", errorTag$1 = "[object Error]", funcTag$1 = "[object Function]", mapTag$4 = "[object Map]", numberTag$2 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$2 = "[object RegExp]", setTag$4 = "[object Set]", stringTag$2 = "[object String]", weakMapTag$2 = "[object WeakMap]";
|
|
1569
|
+
var arrayBufferTag$2 = "[object ArrayBuffer]", dataViewTag$3 = "[object DataView]", float32Tag$2 = "[object Float32Array]", float64Tag$2 = "[object Float64Array]", int8Tag$2 = "[object Int8Array]", int16Tag$2 = "[object Int16Array]", int32Tag$2 = "[object Int32Array]", uint8Tag$2 = "[object Uint8Array]", uint8ClampedTag$2 = "[object Uint8ClampedArray]", uint16Tag$2 = "[object Uint16Array]", uint32Tag$2 = "[object Uint32Array]";
|
|
1570
1570
|
var typedArrayTags = {};
|
|
1571
|
-
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
|
1572
|
-
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
|
1571
|
+
typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true;
|
|
1572
|
+
typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$2] = typedArrayTags[boolTag$2] = typedArrayTags[dataViewTag$3] = typedArrayTags[dateTag$2] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] = typedArrayTags[mapTag$4] = typedArrayTags[numberTag$2] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$2] = typedArrayTags[setTag$4] = typedArrayTags[stringTag$2] = typedArrayTags[weakMapTag$2] = false;
|
|
1573
1573
|
function baseIsTypedArray(value) {
|
|
1574
1574
|
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
1575
1575
|
}
|
|
@@ -1605,11 +1605,11 @@
|
|
|
1605
1605
|
}
|
|
1606
1606
|
return object[key];
|
|
1607
1607
|
}
|
|
1608
|
-
var objectProto$
|
|
1609
|
-
var hasOwnProperty$
|
|
1608
|
+
var objectProto$5 = Object.prototype;
|
|
1609
|
+
var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
|
|
1610
1610
|
function assignValue(object, key, value) {
|
|
1611
1611
|
var objValue = object[key];
|
|
1612
|
-
if (!(hasOwnProperty$
|
|
1612
|
+
if (!(hasOwnProperty$4.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
|
|
1613
1613
|
baseAssignValue(object, key, value);
|
|
1614
1614
|
}
|
|
1615
1615
|
}
|
|
@@ -1645,12 +1645,12 @@
|
|
|
1645
1645
|
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
1646
1646
|
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
|
|
1647
1647
|
}
|
|
1648
|
-
var objectProto$
|
|
1649
|
-
var hasOwnProperty$
|
|
1648
|
+
var objectProto$4 = Object.prototype;
|
|
1649
|
+
var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
|
|
1650
1650
|
function arrayLikeKeys(value, inherited) {
|
|
1651
1651
|
var isArr = isArray$1(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
|
|
1652
1652
|
for (var key in value) {
|
|
1653
|
-
if ((inherited || hasOwnProperty$
|
|
1653
|
+
if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1654
1654
|
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1655
1655
|
isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1656
1656
|
isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
|
|
@@ -1669,15 +1669,15 @@
|
|
|
1669
1669
|
}
|
|
1670
1670
|
return result;
|
|
1671
1671
|
}
|
|
1672
|
-
var objectProto = Object.prototype;
|
|
1673
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1672
|
+
var objectProto$3 = Object.prototype;
|
|
1673
|
+
var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
|
|
1674
1674
|
function baseKeysIn(object) {
|
|
1675
1675
|
if (!isObject(object)) {
|
|
1676
1676
|
return nativeKeysIn(object);
|
|
1677
1677
|
}
|
|
1678
1678
|
var isProto = isPrototype(object), result = [];
|
|
1679
1679
|
for (var key in object) {
|
|
1680
|
-
if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) {
|
|
1680
|
+
if (!(key == "constructor" && (isProto || !hasOwnProperty$2.call(object, key)))) {
|
|
1681
1681
|
result.push(key);
|
|
1682
1682
|
}
|
|
1683
1683
|
}
|
|
@@ -1878,8 +1878,8 @@
|
|
|
1878
1878
|
}
|
|
1879
1879
|
return target;
|
|
1880
1880
|
}
|
|
1881
|
-
function ownKeys$
|
|
1882
|
-
var
|
|
1881
|
+
function ownKeys$H(object, enumerableOnly) {
|
|
1882
|
+
var keys2 = Object.keys(object);
|
|
1883
1883
|
if (Object.getOwnPropertySymbols) {
|
|
1884
1884
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
1885
1885
|
if (enumerableOnly) {
|
|
@@ -1887,16 +1887,16 @@
|
|
|
1887
1887
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1888
1888
|
});
|
|
1889
1889
|
}
|
|
1890
|
-
|
|
1890
|
+
keys2.push.apply(keys2, symbols);
|
|
1891
1891
|
}
|
|
1892
|
-
return
|
|
1892
|
+
return keys2;
|
|
1893
1893
|
}
|
|
1894
|
-
function _object_spread_props$
|
|
1894
|
+
function _object_spread_props$H(target, source) {
|
|
1895
1895
|
source = source != null ? source : {};
|
|
1896
1896
|
if (Object.getOwnPropertyDescriptors) {
|
|
1897
1897
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1898
1898
|
} else {
|
|
1899
|
-
ownKeys$
|
|
1899
|
+
ownKeys$H(Object(source)).forEach(function(key) {
|
|
1900
1900
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1901
1901
|
});
|
|
1902
1902
|
}
|
|
@@ -1950,7 +1950,7 @@
|
|
|
1950
1950
|
return trueReactPlatformHelpers.mergeStyles(styles, trueReactPlatformHelpers.isNotEmpty(componentName) ? theme === null || theme === void 0 ? void 0 : (_theme_components = theme.components) === null || _theme_components === void 0 ? void 0 : _theme_components[componentName] : void 0, tweakStyles);
|
|
1951
1951
|
});
|
|
1952
1952
|
return function(data) {
|
|
1953
|
-
return useStyles2(trueReactPlatformHelpers.isNotEmpty(data) ? _object_spread_props$
|
|
1953
|
+
return useStyles2(trueReactPlatformHelpers.isNotEmpty(data) ? _object_spread_props$H(_object_spread$S({}, data), {
|
|
1954
1954
|
theme: cleanStyles(data.theme)
|
|
1955
1955
|
}) : data);
|
|
1956
1956
|
};
|
|
@@ -2609,8 +2609,8 @@
|
|
|
2609
2609
|
function mergePaddingObject(paddingObject) {
|
|
2610
2610
|
return Object.assign({}, getFreshSideObject(), paddingObject);
|
|
2611
2611
|
}
|
|
2612
|
-
function expandToHashMap(value,
|
|
2613
|
-
return
|
|
2612
|
+
function expandToHashMap(value, keys2) {
|
|
2613
|
+
return keys2.reduce(function(hashMap, key) {
|
|
2614
2614
|
hashMap[key] = value;
|
|
2615
2615
|
return hashMap;
|
|
2616
2616
|
}, {});
|
|
@@ -4088,63 +4088,71 @@
|
|
|
4088
4088
|
};
|
|
4089
4089
|
}, dependencies);
|
|
4090
4090
|
};
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
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
|
-
|
|
4091
|
+
var useMixedStyles = function(baseStyles, tweakStyles) {
|
|
4092
|
+
return React.useMemo(function() {
|
|
4093
|
+
return trueReactPlatformHelpers.isNotEmpty(baseStyles) && trueReactPlatformHelpers.isNotEmpty(tweakStyles) ? trueReactPlatformHelpers.mergeStyles(baseStyles, tweakStyles) : baseStyles !== null && baseStyles !== void 0 ? baseStyles : tweakStyles;
|
|
4094
|
+
}, [
|
|
4095
|
+
baseStyles,
|
|
4096
|
+
tweakStyles
|
|
4097
|
+
]);
|
|
4098
|
+
};
|
|
4099
|
+
const avatarGreen = ` <svg
|
|
4100
|
+
width="100%"
|
|
4101
|
+
height="100%"
|
|
4102
|
+
viewBox="0 0 32 32"
|
|
4103
|
+
fill="none"
|
|
4104
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4105
|
+
>
|
|
4106
|
+
<circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />
|
|
4107
|
+
<mask
|
|
4108
|
+
id="mask0_0_12744"
|
|
4109
|
+
style="mask-type: 'alpha';"
|
|
4110
|
+
maskUnits="userSpaceOnUse"
|
|
4111
|
+
x="0"
|
|
4112
|
+
y="0"
|
|
4113
|
+
width="32"
|
|
4114
|
+
height="32"
|
|
4115
|
+
>
|
|
4116
|
+
<circle cx="16" cy="16" r="16" fill="white" />
|
|
4117
|
+
</mask>
|
|
4118
|
+
<g mask="url(#mask0_0_12744)">
|
|
4119
|
+
<circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />
|
|
4120
|
+
<mask
|
|
4121
|
+
id="mask1_0_12744"
|
|
4122
|
+
style="mask-type: 'alpha';"
|
|
4123
|
+
maskUnits="userSpaceOnUse"
|
|
4124
|
+
x="3"
|
|
4125
|
+
y="16"
|
|
4126
|
+
width="26"
|
|
4127
|
+
height="26"
|
|
4128
|
+
>
|
|
4129
|
+
<circle cx="16" cy="29" r="13" fill="white" />
|
|
4130
|
+
</mask>
|
|
4131
|
+
<g mask="url(#mask1_0_12744)">
|
|
4132
|
+
<ellipse
|
|
4133
|
+
cx="16"
|
|
4134
|
+
cy="17.5"
|
|
4135
|
+
rx="6"
|
|
4136
|
+
ry="7.5"
|
|
4137
|
+
fill="#505F79"
|
|
4138
|
+
fill-opacity="0.204983"
|
|
4139
|
+
/>
|
|
4140
|
+
</g>
|
|
4141
|
+
</g>
|
|
4142
|
+
<ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />
|
|
4143
|
+
<defs>
|
|
4144
|
+
<linearGradient
|
|
4145
|
+
id="paint0_linear_0_12744"
|
|
4146
|
+
x1="13.347"
|
|
4147
|
+
y1="46.279"
|
|
4148
|
+
x2="33.5318"
|
|
4149
|
+
y2="30.8088"
|
|
4150
|
+
gradientUnits="userSpaceOnUse"
|
|
4151
|
+
>
|
|
4152
|
+
<stop stop-color="#ABD229" />
|
|
4153
|
+
<stop offset="1" stop-color="#9CD03F" />
|
|
4154
|
+
</linearGradient>
|
|
4155
|
+
</defs>
|
|
4148
4156
|
</svg>`;
|
|
4149
4157
|
var complexIcons = {
|
|
4150
4158
|
avatar: avatarGreen
|
|
@@ -5047,8 +5055,8 @@
|
|
|
5047
5055
|
}
|
|
5048
5056
|
return target;
|
|
5049
5057
|
}
|
|
5050
|
-
function ownKeys$
|
|
5051
|
-
var
|
|
5058
|
+
function ownKeys$G(object, enumerableOnly) {
|
|
5059
|
+
var keys2 = Object.keys(object);
|
|
5052
5060
|
if (Object.getOwnPropertySymbols) {
|
|
5053
5061
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5054
5062
|
if (enumerableOnly) {
|
|
@@ -5056,16 +5064,16 @@
|
|
|
5056
5064
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5057
5065
|
});
|
|
5058
5066
|
}
|
|
5059
|
-
|
|
5067
|
+
keys2.push.apply(keys2, symbols);
|
|
5060
5068
|
}
|
|
5061
|
-
return
|
|
5069
|
+
return keys2;
|
|
5062
5070
|
}
|
|
5063
|
-
function _object_spread_props$
|
|
5071
|
+
function _object_spread_props$G(target, source) {
|
|
5064
5072
|
source = source != null ? source : {};
|
|
5065
5073
|
if (Object.getOwnPropertyDescriptors) {
|
|
5066
5074
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5067
5075
|
} else {
|
|
5068
|
-
ownKeys$
|
|
5076
|
+
ownKeys$G(Object(source)).forEach(function(key) {
|
|
5069
5077
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5070
5078
|
});
|
|
5071
5079
|
}
|
|
@@ -5096,12 +5104,12 @@
|
|
|
5096
5104
|
}, path), index);
|
|
5097
5105
|
}),
|
|
5098
5106
|
(_icon_rects = icon.rects) === null || _icon_rects === void 0 ? void 0 : _icon_rects.map(function(rect, index) {
|
|
5099
|
-
return /* @__PURE__ */ React.createElement("rect", _object_spread_props$
|
|
5107
|
+
return /* @__PURE__ */ React.createElement("rect", _object_spread_props$G(_object_spread$P({}, rect), {
|
|
5100
5108
|
key: index
|
|
5101
5109
|
}));
|
|
5102
5110
|
}),
|
|
5103
5111
|
(_icon_circles = icon.circles) === null || _icon_circles === void 0 ? void 0 : _icon_circles.map(function(circle, index) {
|
|
5104
|
-
return /* @__PURE__ */ React.createElement("circle", _object_spread_props$
|
|
5112
|
+
return /* @__PURE__ */ React.createElement("circle", _object_spread_props$G(_object_spread$P({}, circle), {
|
|
5105
5113
|
key: index
|
|
5106
5114
|
}));
|
|
5107
5115
|
})
|
|
@@ -5142,8 +5150,8 @@
|
|
|
5142
5150
|
}
|
|
5143
5151
|
return target;
|
|
5144
5152
|
}
|
|
5145
|
-
function ownKeys$
|
|
5146
|
-
var
|
|
5153
|
+
function ownKeys$F(object, enumerableOnly) {
|
|
5154
|
+
var keys2 = Object.keys(object);
|
|
5147
5155
|
if (Object.getOwnPropertySymbols) {
|
|
5148
5156
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5149
5157
|
if (enumerableOnly) {
|
|
@@ -5151,16 +5159,16 @@
|
|
|
5151
5159
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5152
5160
|
});
|
|
5153
5161
|
}
|
|
5154
|
-
|
|
5162
|
+
keys2.push.apply(keys2, symbols);
|
|
5155
5163
|
}
|
|
5156
|
-
return
|
|
5164
|
+
return keys2;
|
|
5157
5165
|
}
|
|
5158
|
-
function _object_spread_props$
|
|
5166
|
+
function _object_spread_props$F(target, source) {
|
|
5159
5167
|
source = source != null ? source : {};
|
|
5160
5168
|
if (Object.getOwnPropertyDescriptors) {
|
|
5161
5169
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5162
5170
|
} else {
|
|
5163
|
-
ownKeys$
|
|
5171
|
+
ownKeys$F(Object(source)).forEach(function(key) {
|
|
5164
5172
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5165
5173
|
});
|
|
5166
5174
|
}
|
|
@@ -5171,7 +5179,7 @@
|
|
|
5171
5179
|
var classes = useStyles$L({
|
|
5172
5180
|
theme: tweakStyles
|
|
5173
5181
|
});
|
|
5174
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
5182
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$F(_object_spread$O({
|
|
5175
5183
|
className: classes.root
|
|
5176
5184
|
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
5177
5185
|
children: isComplexIcon(type) ? /* @__PURE__ */ jsx(ComplexIconBoilerplate, {
|
|
@@ -5260,8 +5268,8 @@
|
|
|
5260
5268
|
}
|
|
5261
5269
|
return target;
|
|
5262
5270
|
}
|
|
5263
|
-
function ownKeys$
|
|
5264
|
-
var
|
|
5271
|
+
function ownKeys$E(object, enumerableOnly) {
|
|
5272
|
+
var keys2 = Object.keys(object);
|
|
5265
5273
|
if (Object.getOwnPropertySymbols) {
|
|
5266
5274
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5267
5275
|
if (enumerableOnly) {
|
|
@@ -5269,16 +5277,16 @@
|
|
|
5269
5277
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5270
5278
|
});
|
|
5271
5279
|
}
|
|
5272
|
-
|
|
5280
|
+
keys2.push.apply(keys2, symbols);
|
|
5273
5281
|
}
|
|
5274
|
-
return
|
|
5282
|
+
return keys2;
|
|
5275
5283
|
}
|
|
5276
|
-
function _object_spread_props$
|
|
5284
|
+
function _object_spread_props$E(target, source) {
|
|
5277
5285
|
source = source != null ? source : {};
|
|
5278
5286
|
if (Object.getOwnPropertyDescriptors) {
|
|
5279
5287
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5280
5288
|
} else {
|
|
5281
|
-
ownKeys$
|
|
5289
|
+
ownKeys$E(Object(source)).forEach(function(key) {
|
|
5282
5290
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5283
5291
|
});
|
|
5284
5292
|
}
|
|
@@ -5294,7 +5302,7 @@
|
|
|
5294
5302
|
onClick === null || onClick === void 0 ? void 0 : onClick();
|
|
5295
5303
|
};
|
|
5296
5304
|
var _item_testId;
|
|
5297
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
5305
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$E(_object_spread$N({
|
|
5298
5306
|
className: classes.root
|
|
5299
5307
|
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
5300
5308
|
children: items.map(function(item, idx) {
|
|
@@ -5304,7 +5312,7 @@
|
|
|
5304
5312
|
item.shouldDrawSpacerAbove && /* @__PURE__ */ jsx("div", {
|
|
5305
5313
|
className: classes.spacer
|
|
5306
5314
|
}),
|
|
5307
|
-
/* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
5315
|
+
/* @__PURE__ */ jsxs("div", _object_spread_props$E(_object_spread$N({
|
|
5308
5316
|
className: clsx(classes.item, (_obj = {}, _define_property$P(_obj, classes.disabledItem, item.disabled), _define_property$P(_obj, classes.withIconGap, item.withIconGap), _obj)),
|
|
5309
5317
|
onClick: item.disabled ? void 0 : function() {
|
|
5310
5318
|
return handleItemClick(item);
|
|
@@ -5472,8 +5480,8 @@
|
|
|
5472
5480
|
}
|
|
5473
5481
|
return target;
|
|
5474
5482
|
}
|
|
5475
|
-
function ownKeys$
|
|
5476
|
-
var
|
|
5483
|
+
function ownKeys$D(object, enumerableOnly) {
|
|
5484
|
+
var keys2 = Object.keys(object);
|
|
5477
5485
|
if (Object.getOwnPropertySymbols) {
|
|
5478
5486
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5479
5487
|
if (enumerableOnly) {
|
|
@@ -5481,16 +5489,16 @@
|
|
|
5481
5489
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5482
5490
|
});
|
|
5483
5491
|
}
|
|
5484
|
-
|
|
5492
|
+
keys2.push.apply(keys2, symbols);
|
|
5485
5493
|
}
|
|
5486
|
-
return
|
|
5494
|
+
return keys2;
|
|
5487
5495
|
}
|
|
5488
|
-
function _object_spread_props$
|
|
5496
|
+
function _object_spread_props$D(target, source) {
|
|
5489
5497
|
source = source != null ? source : {};
|
|
5490
5498
|
if (Object.getOwnPropertyDescriptors) {
|
|
5491
5499
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5492
5500
|
} else {
|
|
5493
|
-
ownKeys$
|
|
5501
|
+
ownKeys$D(Object(source)).forEach(function(key) {
|
|
5494
5502
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5495
5503
|
});
|
|
5496
5504
|
}
|
|
@@ -5534,7 +5542,7 @@
|
|
|
5534
5542
|
useOnClickOutsideWithRef(dropdownRef, function() {
|
|
5535
5543
|
return setIsMenuOpen(false);
|
|
5536
5544
|
}, nameRef);
|
|
5537
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
5545
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$D(_object_spread$L({
|
|
5538
5546
|
className: classes.root
|
|
5539
5547
|
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
5540
5548
|
children: [
|
|
@@ -5638,8 +5646,8 @@
|
|
|
5638
5646
|
}
|
|
5639
5647
|
return target;
|
|
5640
5648
|
}
|
|
5641
|
-
function ownKeys$
|
|
5642
|
-
var
|
|
5649
|
+
function ownKeys$C(object, enumerableOnly) {
|
|
5650
|
+
var keys2 = Object.keys(object);
|
|
5643
5651
|
if (Object.getOwnPropertySymbols) {
|
|
5644
5652
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5645
5653
|
if (enumerableOnly) {
|
|
@@ -5647,16 +5655,16 @@
|
|
|
5647
5655
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5648
5656
|
});
|
|
5649
5657
|
}
|
|
5650
|
-
|
|
5658
|
+
keys2.push.apply(keys2, symbols);
|
|
5651
5659
|
}
|
|
5652
|
-
return
|
|
5660
|
+
return keys2;
|
|
5653
5661
|
}
|
|
5654
|
-
function _object_spread_props$
|
|
5662
|
+
function _object_spread_props$C(target, source) {
|
|
5655
5663
|
source = source != null ? source : {};
|
|
5656
5664
|
if (Object.getOwnPropertyDescriptors) {
|
|
5657
5665
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5658
5666
|
} else {
|
|
5659
|
-
ownKeys$
|
|
5667
|
+
ownKeys$C(Object(source)).forEach(function(key) {
|
|
5660
5668
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5661
5669
|
});
|
|
5662
5670
|
}
|
|
@@ -5667,7 +5675,7 @@
|
|
|
5667
5675
|
var classes = useStyles$I({
|
|
5668
5676
|
theme: tweakStyles
|
|
5669
5677
|
});
|
|
5670
|
-
return /* @__PURE__ */ jsxs("button", _object_spread_props$
|
|
5678
|
+
return /* @__PURE__ */ jsxs("button", _object_spread_props$C(_object_spread$K({
|
|
5671
5679
|
type,
|
|
5672
5680
|
className: clsx(classes.root, isDisabled && classes.disabled, isFullWidth && classes.fullWidth),
|
|
5673
5681
|
onClick: !isDisabled ? onClick : void 0,
|
|
@@ -5860,8 +5868,8 @@
|
|
|
5860
5868
|
}
|
|
5861
5869
|
return target;
|
|
5862
5870
|
}
|
|
5863
|
-
function ownKeys$
|
|
5864
|
-
var
|
|
5871
|
+
function ownKeys$B(object, enumerableOnly) {
|
|
5872
|
+
var keys2 = Object.keys(object);
|
|
5865
5873
|
if (Object.getOwnPropertySymbols) {
|
|
5866
5874
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
5867
5875
|
if (enumerableOnly) {
|
|
@@ -5869,16 +5877,16 @@
|
|
|
5869
5877
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
5870
5878
|
});
|
|
5871
5879
|
}
|
|
5872
|
-
|
|
5880
|
+
keys2.push.apply(keys2, symbols);
|
|
5873
5881
|
}
|
|
5874
|
-
return
|
|
5882
|
+
return keys2;
|
|
5875
5883
|
}
|
|
5876
|
-
function _object_spread_props$
|
|
5884
|
+
function _object_spread_props$B(target, source) {
|
|
5877
5885
|
source = source != null ? source : {};
|
|
5878
5886
|
if (Object.getOwnPropertyDescriptors) {
|
|
5879
5887
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5880
5888
|
} else {
|
|
5881
|
-
ownKeys$
|
|
5889
|
+
ownKeys$B(Object(source)).forEach(function(key) {
|
|
5882
5890
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5883
5891
|
});
|
|
5884
5892
|
}
|
|
@@ -5899,7 +5907,7 @@
|
|
|
5899
5907
|
className: "tweakSvgPreloader",
|
|
5900
5908
|
currentComponentName: "ThemedPreloader"
|
|
5901
5909
|
});
|
|
5902
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
5910
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$B(_object_spread$J({
|
|
5903
5911
|
className: clsx(classes.root, classes[type], _define_property$L({}, classes.currentColor, useCurrentColor))
|
|
5904
5912
|
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
5905
5913
|
children: type === "dots" ? /* @__PURE__ */ jsx(DotsPreloader, {
|
|
@@ -6110,8 +6118,8 @@
|
|
|
6110
6118
|
}
|
|
6111
6119
|
return target;
|
|
6112
6120
|
}
|
|
6113
|
-
function ownKeys$
|
|
6114
|
-
var
|
|
6121
|
+
function ownKeys$A(object, enumerableOnly) {
|
|
6122
|
+
var keys2 = Object.keys(object);
|
|
6115
6123
|
if (Object.getOwnPropertySymbols) {
|
|
6116
6124
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
6117
6125
|
if (enumerableOnly) {
|
|
@@ -6119,16 +6127,16 @@
|
|
|
6119
6127
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
6120
6128
|
});
|
|
6121
6129
|
}
|
|
6122
|
-
|
|
6130
|
+
keys2.push.apply(keys2, symbols);
|
|
6123
6131
|
}
|
|
6124
|
-
return
|
|
6132
|
+
return keys2;
|
|
6125
6133
|
}
|
|
6126
|
-
function _object_spread_props$
|
|
6134
|
+
function _object_spread_props$A(target, source) {
|
|
6127
6135
|
source = source != null ? source : {};
|
|
6128
6136
|
if (Object.getOwnPropertyDescriptors) {
|
|
6129
6137
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6130
6138
|
} else {
|
|
6131
|
-
ownKeys$
|
|
6139
|
+
ownKeys$A(Object(source)).forEach(function(key) {
|
|
6132
6140
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6133
6141
|
});
|
|
6134
6142
|
}
|
|
@@ -6149,7 +6157,7 @@
|
|
|
6149
6157
|
var hasChildren = trueReactPlatformHelpers.isReactNodeNotEmpty(children);
|
|
6150
6158
|
var hasNoAction = isDisabled || isLoading;
|
|
6151
6159
|
var _obj, _obj1;
|
|
6152
|
-
return /* @__PURE__ */ jsxs("button", _object_spread_props$
|
|
6160
|
+
return /* @__PURE__ */ jsxs("button", _object_spread_props$A(_object_spread$I({
|
|
6153
6161
|
ref,
|
|
6154
6162
|
type,
|
|
6155
6163
|
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)),
|
|
@@ -6187,6 +6195,7 @@
|
|
|
6187
6195
|
root: {
|
|
6188
6196
|
cursor: "pointer",
|
|
6189
6197
|
display: "flex",
|
|
6198
|
+
alignItems: "center",
|
|
6190
6199
|
gap: 14,
|
|
6191
6200
|
width: "fit-content"
|
|
6192
6201
|
},
|
|
@@ -6289,8 +6298,8 @@
|
|
|
6289
6298
|
}
|
|
6290
6299
|
return target;
|
|
6291
6300
|
}
|
|
6292
|
-
function ownKeys$
|
|
6293
|
-
var
|
|
6301
|
+
function ownKeys$z(object, enumerableOnly) {
|
|
6302
|
+
var keys2 = Object.keys(object);
|
|
6294
6303
|
if (Object.getOwnPropertySymbols) {
|
|
6295
6304
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
6296
6305
|
if (enumerableOnly) {
|
|
@@ -6298,16 +6307,16 @@
|
|
|
6298
6307
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
6299
6308
|
});
|
|
6300
6309
|
}
|
|
6301
|
-
|
|
6310
|
+
keys2.push.apply(keys2, symbols);
|
|
6302
6311
|
}
|
|
6303
|
-
return
|
|
6312
|
+
return keys2;
|
|
6304
6313
|
}
|
|
6305
|
-
function _object_spread_props$
|
|
6314
|
+
function _object_spread_props$z(target, source) {
|
|
6306
6315
|
source = source != null ? source : {};
|
|
6307
6316
|
if (Object.getOwnPropertyDescriptors) {
|
|
6308
6317
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6309
6318
|
} else {
|
|
6310
|
-
ownKeys$
|
|
6319
|
+
ownKeys$z(Object(source)).forEach(function(key) {
|
|
6311
6320
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6312
6321
|
});
|
|
6313
6322
|
}
|
|
@@ -6350,7 +6359,7 @@
|
|
|
6350
6359
|
isChecked
|
|
6351
6360
|
]);
|
|
6352
6361
|
var _obj;
|
|
6353
|
-
return /* @__PURE__ */ jsxs("label", _object_spread_props$
|
|
6362
|
+
return /* @__PURE__ */ jsxs("label", _object_spread_props$z(_object_spread$H({
|
|
6354
6363
|
className: clsx(classes.root, (_obj = {}, _define_property$J(_obj, classes.disabled, isDisabled), _define_property$J(_obj, classes.labelPositionLeft, labelPosition === "left"), _obj))
|
|
6355
6364
|
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
6356
6365
|
children: [
|
|
@@ -6430,8 +6439,8 @@
|
|
|
6430
6439
|
}
|
|
6431
6440
|
return target;
|
|
6432
6441
|
}
|
|
6433
|
-
function ownKeys$
|
|
6434
|
-
var
|
|
6442
|
+
function ownKeys$y(object, enumerableOnly) {
|
|
6443
|
+
var keys2 = Object.keys(object);
|
|
6435
6444
|
if (Object.getOwnPropertySymbols) {
|
|
6436
6445
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
6437
6446
|
if (enumerableOnly) {
|
|
@@ -6439,16 +6448,16 @@
|
|
|
6439
6448
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
6440
6449
|
});
|
|
6441
6450
|
}
|
|
6442
|
-
|
|
6451
|
+
keys2.push.apply(keys2, symbols);
|
|
6443
6452
|
}
|
|
6444
|
-
return
|
|
6453
|
+
return keys2;
|
|
6445
6454
|
}
|
|
6446
|
-
function _object_spread_props$
|
|
6455
|
+
function _object_spread_props$y(target, source) {
|
|
6447
6456
|
source = source != null ? source : {};
|
|
6448
6457
|
if (Object.getOwnPropertyDescriptors) {
|
|
6449
6458
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6450
6459
|
} else {
|
|
6451
|
-
ownKeys$
|
|
6460
|
+
ownKeys$y(Object(source)).forEach(function(key) {
|
|
6452
6461
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6453
6462
|
});
|
|
6454
6463
|
}
|
|
@@ -6459,7 +6468,7 @@
|
|
|
6459
6468
|
var classes = useStyles$C({
|
|
6460
6469
|
theme: tweakStyles
|
|
6461
6470
|
});
|
|
6462
|
-
return /* @__PURE__ */ jsx("button", _object_spread_props$
|
|
6471
|
+
return /* @__PURE__ */ jsx("button", _object_spread_props$y(_object_spread$G({
|
|
6463
6472
|
type: "button",
|
|
6464
6473
|
className: classes.root,
|
|
6465
6474
|
onClick: onClose
|
|
@@ -7013,8 +7022,8 @@
|
|
|
7013
7022
|
}
|
|
7014
7023
|
return target;
|
|
7015
7024
|
}
|
|
7016
|
-
function ownKeys$
|
|
7017
|
-
var
|
|
7025
|
+
function ownKeys$x(object, enumerableOnly) {
|
|
7026
|
+
var keys2 = Object.keys(object);
|
|
7018
7027
|
if (Object.getOwnPropertySymbols) {
|
|
7019
7028
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7020
7029
|
if (enumerableOnly) {
|
|
@@ -7022,16 +7031,16 @@
|
|
|
7022
7031
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7023
7032
|
});
|
|
7024
7033
|
}
|
|
7025
|
-
|
|
7034
|
+
keys2.push.apply(keys2, symbols);
|
|
7026
7035
|
}
|
|
7027
|
-
return
|
|
7036
|
+
return keys2;
|
|
7028
7037
|
}
|
|
7029
|
-
function _object_spread_props$
|
|
7038
|
+
function _object_spread_props$x(target, source) {
|
|
7030
7039
|
source = source != null ? source : {};
|
|
7031
7040
|
if (Object.getOwnPropertyDescriptors) {
|
|
7032
7041
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7033
7042
|
} else {
|
|
7034
|
-
ownKeys$
|
|
7043
|
+
ownKeys$x(Object(source)).forEach(function(key) {
|
|
7035
7044
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7036
7045
|
});
|
|
7037
7046
|
}
|
|
@@ -7233,7 +7242,7 @@
|
|
|
7233
7242
|
return /* @__PURE__ */ jsxs("div", {
|
|
7234
7243
|
className: classes.root,
|
|
7235
7244
|
children: [
|
|
7236
|
-
/* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
7245
|
+
/* @__PURE__ */ jsxs("div", _object_spread_props$x(_object_spread$E({
|
|
7237
7246
|
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)]),
|
|
7238
7247
|
"data-value": isAutoSizeable ? value : void 0
|
|
7239
7248
|
}, addDataAttributes(data)), {
|
|
@@ -7342,8 +7351,8 @@
|
|
|
7342
7351
|
}
|
|
7343
7352
|
return target;
|
|
7344
7353
|
}
|
|
7345
|
-
function ownKeys$
|
|
7346
|
-
var
|
|
7354
|
+
function ownKeys$w(object, enumerableOnly) {
|
|
7355
|
+
var keys2 = Object.keys(object);
|
|
7347
7356
|
if (Object.getOwnPropertySymbols) {
|
|
7348
7357
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7349
7358
|
if (enumerableOnly) {
|
|
@@ -7351,16 +7360,16 @@
|
|
|
7351
7360
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7352
7361
|
});
|
|
7353
7362
|
}
|
|
7354
|
-
|
|
7363
|
+
keys2.push.apply(keys2, symbols);
|
|
7355
7364
|
}
|
|
7356
|
-
return
|
|
7365
|
+
return keys2;
|
|
7357
7366
|
}
|
|
7358
|
-
function _object_spread_props$
|
|
7367
|
+
function _object_spread_props$w(target, source) {
|
|
7359
7368
|
source = source != null ? source : {};
|
|
7360
7369
|
if (Object.getOwnPropertyDescriptors) {
|
|
7361
7370
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7362
7371
|
} else {
|
|
7363
|
-
ownKeys$
|
|
7372
|
+
ownKeys$w(Object(source)).forEach(function(key) {
|
|
7364
7373
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7365
7374
|
});
|
|
7366
7375
|
}
|
|
@@ -7399,7 +7408,7 @@
|
|
|
7399
7408
|
return target;
|
|
7400
7409
|
}
|
|
7401
7410
|
var DateInput = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
7402
|
-
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,
|
|
7411
|
+
var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, isRange = _param.isRange, tweakStyles = _param.tweakStyles, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$9(_param, [
|
|
7403
7412
|
"date",
|
|
7404
7413
|
"startDate",
|
|
7405
7414
|
"endDate",
|
|
@@ -7409,7 +7418,6 @@
|
|
|
7409
7418
|
"data",
|
|
7410
7419
|
"isRange",
|
|
7411
7420
|
"tweakStyles",
|
|
7412
|
-
"testId",
|
|
7413
7421
|
"onClick",
|
|
7414
7422
|
"onChange"
|
|
7415
7423
|
]);
|
|
@@ -7440,16 +7448,15 @@
|
|
|
7440
7448
|
}
|
|
7441
7449
|
onChange === null || onChange === void 0 ? void 0 : onChange(event, value);
|
|
7442
7450
|
};
|
|
7443
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
7451
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$w(_object_spread$D({
|
|
7444
7452
|
className: clsx(classes.root, className),
|
|
7445
7453
|
onClick
|
|
7446
|
-
},
|
|
7447
|
-
children: /* @__PURE__ */ jsx(Input, _object_spread_props$
|
|
7454
|
+
}, addDataAttributes(data)), {
|
|
7455
|
+
children: /* @__PURE__ */ jsx(Input, _object_spread_props$w(_object_spread$D({}, inputProps), {
|
|
7448
7456
|
ref,
|
|
7449
7457
|
value: isRange ? "".concat(startDate).concat(endDate) : date,
|
|
7450
7458
|
mask: mask !== null && mask !== void 0 ? mask : isRange ? "99.99.9999 - 99.99.9999" : "99.99.9999",
|
|
7451
7459
|
placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : isRange ? EMPTY_DATE_RANGE_INPUT_VALUE : EMPTY_DATE_INPUT_VALUE,
|
|
7452
|
-
testId: trueReactPlatformHelpers.getTestId(testId, "input"),
|
|
7453
7460
|
tweakStyles: tweakInputStyles,
|
|
7454
7461
|
onChange: handleChange,
|
|
7455
7462
|
beforeMaskedStateChange
|
|
@@ -7523,8 +7530,8 @@
|
|
|
7523
7530
|
}
|
|
7524
7531
|
return target;
|
|
7525
7532
|
}
|
|
7526
|
-
function ownKeys$
|
|
7527
|
-
var
|
|
7533
|
+
function ownKeys$v(object, enumerableOnly) {
|
|
7534
|
+
var keys2 = Object.keys(object);
|
|
7528
7535
|
if (Object.getOwnPropertySymbols) {
|
|
7529
7536
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7530
7537
|
if (enumerableOnly) {
|
|
@@ -7532,16 +7539,16 @@
|
|
|
7532
7539
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7533
7540
|
});
|
|
7534
7541
|
}
|
|
7535
|
-
|
|
7542
|
+
keys2.push.apply(keys2, symbols);
|
|
7536
7543
|
}
|
|
7537
|
-
return
|
|
7544
|
+
return keys2;
|
|
7538
7545
|
}
|
|
7539
|
-
function _object_spread_props$
|
|
7546
|
+
function _object_spread_props$v(target, source) {
|
|
7540
7547
|
source = source != null ? source : {};
|
|
7541
7548
|
if (Object.getOwnPropertyDescriptors) {
|
|
7542
7549
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7543
7550
|
} else {
|
|
7544
|
-
ownKeys$
|
|
7551
|
+
ownKeys$v(Object(source)).forEach(function(key) {
|
|
7545
7552
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7546
7553
|
});
|
|
7547
7554
|
}
|
|
@@ -7595,7 +7602,7 @@
|
|
|
7595
7602
|
className: "tweakInput",
|
|
7596
7603
|
currentComponentName: "SearchInput"
|
|
7597
7604
|
});
|
|
7598
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
7605
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$v(_object_spread$C({
|
|
7599
7606
|
className: classes.root
|
|
7600
7607
|
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
7601
7608
|
children: [
|
|
@@ -7968,8 +7975,8 @@
|
|
|
7968
7975
|
}
|
|
7969
7976
|
return target;
|
|
7970
7977
|
}
|
|
7971
|
-
function ownKeys$
|
|
7972
|
-
var
|
|
7978
|
+
function ownKeys$u(object, enumerableOnly) {
|
|
7979
|
+
var keys2 = Object.keys(object);
|
|
7973
7980
|
if (Object.getOwnPropertySymbols) {
|
|
7974
7981
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7975
7982
|
if (enumerableOnly) {
|
|
@@ -7977,16 +7984,16 @@
|
|
|
7977
7984
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7978
7985
|
});
|
|
7979
7986
|
}
|
|
7980
|
-
|
|
7987
|
+
keys2.push.apply(keys2, symbols);
|
|
7981
7988
|
}
|
|
7982
|
-
return
|
|
7989
|
+
return keys2;
|
|
7983
7990
|
}
|
|
7984
|
-
function _object_spread_props$
|
|
7991
|
+
function _object_spread_props$u(target, source) {
|
|
7985
7992
|
source = source != null ? source : {};
|
|
7986
7993
|
if (Object.getOwnPropertyDescriptors) {
|
|
7987
7994
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7988
7995
|
} else {
|
|
7989
|
-
ownKeys$
|
|
7996
|
+
ownKeys$u(Object(source)).forEach(function(key) {
|
|
7990
7997
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7991
7998
|
});
|
|
7992
7999
|
}
|
|
@@ -7996,7 +8003,7 @@
|
|
|
7996
8003
|
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;
|
|
7997
8004
|
var isMultiSelect = trueReactPlatformHelpers.isNotEmpty(onToggleCheckbox);
|
|
7998
8005
|
var _obj;
|
|
7999
|
-
return /* @__PURE__ */ jsx(ScrollIntoViewIfNeeded, _object_spread_props$
|
|
8006
|
+
return /* @__PURE__ */ jsx(ScrollIntoViewIfNeeded, _object_spread_props$u(_object_spread$z({
|
|
8000
8007
|
active: isFocused,
|
|
8001
8008
|
options: {
|
|
8002
8009
|
block: "nearest"
|
|
@@ -8051,8 +8058,8 @@
|
|
|
8051
8058
|
}
|
|
8052
8059
|
return target;
|
|
8053
8060
|
}
|
|
8054
|
-
function ownKeys$
|
|
8055
|
-
var
|
|
8061
|
+
function ownKeys$t(object, enumerableOnly) {
|
|
8062
|
+
var keys2 = Object.keys(object);
|
|
8056
8063
|
if (Object.getOwnPropertySymbols) {
|
|
8057
8064
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
8058
8065
|
if (enumerableOnly) {
|
|
@@ -8060,16 +8067,16 @@
|
|
|
8060
8067
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
8061
8068
|
});
|
|
8062
8069
|
}
|
|
8063
|
-
|
|
8070
|
+
keys2.push.apply(keys2, symbols);
|
|
8064
8071
|
}
|
|
8065
|
-
return
|
|
8072
|
+
return keys2;
|
|
8066
8073
|
}
|
|
8067
|
-
function _object_spread_props$
|
|
8074
|
+
function _object_spread_props$t(target, source) {
|
|
8068
8075
|
source = source != null ? source : {};
|
|
8069
8076
|
if (Object.getOwnPropertyDescriptors) {
|
|
8070
8077
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8071
8078
|
} else {
|
|
8072
|
-
ownKeys$
|
|
8079
|
+
ownKeys$t(Object(source)).forEach(function(key) {
|
|
8073
8080
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8074
8081
|
});
|
|
8075
8082
|
}
|
|
@@ -8120,7 +8127,7 @@
|
|
|
8120
8127
|
className: classes.listHeader,
|
|
8121
8128
|
children: customListHeader
|
|
8122
8129
|
}),
|
|
8123
|
-
/* @__PURE__ */ jsx("div", _object_spread_props$
|
|
8130
|
+
/* @__PURE__ */ jsx("div", _object_spread_props$t(_object_spread$y({
|
|
8124
8131
|
className: classes.list
|
|
8125
8132
|
}, trueReactPlatformHelpers.addDataTestId(testId)), {
|
|
8126
8133
|
children: isLoading ? /* @__PURE__ */ jsx("div", {
|
|
@@ -8261,13 +8268,15 @@
|
|
|
8261
8268
|
}
|
|
8262
8269
|
};
|
|
8263
8270
|
var readonlyInputBaseStyles = {
|
|
8264
|
-
|
|
8265
|
-
|
|
8271
|
+
input: {
|
|
8272
|
+
cursor: "pointer"
|
|
8266
8273
|
}
|
|
8267
8274
|
};
|
|
8268
8275
|
var multiSelectInputBaseStyles = {
|
|
8269
8276
|
inputIcon: {
|
|
8270
|
-
|
|
8277
|
+
"&:not($loading)": {
|
|
8278
|
+
width: "auto"
|
|
8279
|
+
}
|
|
8271
8280
|
}
|
|
8272
8281
|
};
|
|
8273
8282
|
var readonlyInputStyles = trueReactPlatformHelpers.mergeStyles(baseInputStyles, readonlyInputBaseStyles);
|
|
@@ -8406,8 +8415,8 @@
|
|
|
8406
8415
|
}
|
|
8407
8416
|
return target;
|
|
8408
8417
|
}
|
|
8409
|
-
function ownKeys$
|
|
8410
|
-
var
|
|
8418
|
+
function ownKeys$s(object, enumerableOnly) {
|
|
8419
|
+
var keys2 = Object.keys(object);
|
|
8411
8420
|
if (Object.getOwnPropertySymbols) {
|
|
8412
8421
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
8413
8422
|
if (enumerableOnly) {
|
|
@@ -8415,16 +8424,16 @@
|
|
|
8415
8424
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
8416
8425
|
});
|
|
8417
8426
|
}
|
|
8418
|
-
|
|
8427
|
+
keys2.push.apply(keys2, symbols);
|
|
8419
8428
|
}
|
|
8420
|
-
return
|
|
8429
|
+
return keys2;
|
|
8421
8430
|
}
|
|
8422
|
-
function _object_spread_props$
|
|
8431
|
+
function _object_spread_props$s(target, source) {
|
|
8423
8432
|
source = source != null ? source : {};
|
|
8424
8433
|
if (Object.getOwnPropertyDescriptors) {
|
|
8425
8434
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8426
8435
|
} else {
|
|
8427
|
-
ownKeys$
|
|
8436
|
+
ownKeys$s(Object(source)).forEach(function(key) {
|
|
8428
8437
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8429
8438
|
});
|
|
8430
8439
|
}
|
|
@@ -8942,7 +8951,7 @@
|
|
|
8942
8951
|
isOpen
|
|
8943
8952
|
]);
|
|
8944
8953
|
var _obj;
|
|
8945
|
-
var listEl = /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
8954
|
+
var listEl = /* @__PURE__ */ jsx("div", _object_spread_props$s(_object_spread$x({
|
|
8946
8955
|
className: clsx(classes.listWrapper, (_obj = {}, _define_property$z(_obj, classes.withoutPopper, !shouldUsePopper), _define_property$z(_obj, classes.listWrapperInBody, shouldRenderInBody), _obj)),
|
|
8947
8956
|
ref: list,
|
|
8948
8957
|
style: popperData === null || popperData === void 0 ? void 0 : popperData.styles.popper,
|
|
@@ -9308,8 +9317,8 @@
|
|
|
9308
9317
|
}
|
|
9309
9318
|
return target;
|
|
9310
9319
|
}
|
|
9311
|
-
function ownKeys$
|
|
9312
|
-
var
|
|
9320
|
+
function ownKeys$r(object, enumerableOnly) {
|
|
9321
|
+
var keys2 = Object.keys(object);
|
|
9313
9322
|
if (Object.getOwnPropertySymbols) {
|
|
9314
9323
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
9315
9324
|
if (enumerableOnly) {
|
|
@@ -9317,16 +9326,16 @@
|
|
|
9317
9326
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
9318
9327
|
});
|
|
9319
9328
|
}
|
|
9320
|
-
|
|
9329
|
+
keys2.push.apply(keys2, symbols);
|
|
9321
9330
|
}
|
|
9322
|
-
return
|
|
9331
|
+
return keys2;
|
|
9323
9332
|
}
|
|
9324
|
-
function _object_spread_props$
|
|
9333
|
+
function _object_spread_props$r(target, source) {
|
|
9325
9334
|
source = source != null ? source : {};
|
|
9326
9335
|
if (Object.getOwnPropertyDescriptors) {
|
|
9327
9336
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9328
9337
|
} else {
|
|
9329
|
-
ownKeys$
|
|
9338
|
+
ownKeys$r(Object(source)).forEach(function(key) {
|
|
9330
9339
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9331
9340
|
});
|
|
9332
9341
|
}
|
|
@@ -9381,9 +9390,8 @@
|
|
|
9381
9390
|
return _array_like_to_array$j(o, minLen);
|
|
9382
9391
|
}
|
|
9383
9392
|
var DatePicker = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
9384
|
-
var data = _param.data,
|
|
9393
|
+
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, [
|
|
9385
9394
|
"data",
|
|
9386
|
-
"testId",
|
|
9387
9395
|
"selectedDate",
|
|
9388
9396
|
"minDate",
|
|
9389
9397
|
"maxDate",
|
|
@@ -9450,7 +9458,7 @@
|
|
|
9450
9458
|
var _useState4 = _sliced_to_array$j(React.useState(endDate), 2), end2 = _useState4[0], setEnd = _useState4[1];
|
|
9451
9459
|
var _useState5 = _sliced_to_array$j(React.useState(formatDate(endDate)), 2), endDateValue = _useState5[0], setEndDateValue = _useState5[1];
|
|
9452
9460
|
var hasDateInputValue = isRange ? trueReactPlatformHelpers.isStringNotEmpty(startDateValue) || trueReactPlatformHelpers.isStringNotEmpty(endDateValue) : trueReactPlatformHelpers.isStringNotEmpty(dateValue);
|
|
9453
|
-
var dateInputProps = _object_spread$w(_object_spread_props$
|
|
9461
|
+
var dateInputProps = _object_spread$w(_object_spread_props$r(_object_spread$w({}, inputProps), {
|
|
9454
9462
|
isRange,
|
|
9455
9463
|
isDisabled,
|
|
9456
9464
|
isClearable,
|
|
@@ -9548,9 +9556,9 @@
|
|
|
9548
9556
|
startDate,
|
|
9549
9557
|
endDate
|
|
9550
9558
|
]);
|
|
9551
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
9559
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$r(_object_spread$w({
|
|
9552
9560
|
className: classes.root
|
|
9553
|
-
},
|
|
9561
|
+
}, addDataAttributes(data)), {
|
|
9554
9562
|
children: /* @__PURE__ */ jsx(DatePickerComponent, _object_spread$w({
|
|
9555
9563
|
ref,
|
|
9556
9564
|
minDate,
|
|
@@ -9582,7 +9590,7 @@
|
|
|
9582
9590
|
customInputRef,
|
|
9583
9591
|
customInput: /* @__PURE__ */ jsx(CustomInput, _object_spread$w({}, dateInputProps)),
|
|
9584
9592
|
renderCustomHeader: renderCustomHeader !== null && renderCustomHeader !== void 0 ? renderCustomHeader : function(baseProps) {
|
|
9585
|
-
return /* @__PURE__ */ jsx(DatePickerHeader, _object_spread_props$
|
|
9593
|
+
return /* @__PURE__ */ jsx(DatePickerHeader, _object_spread_props$r(_object_spread$w({}, baseProps), {
|
|
9586
9594
|
months
|
|
9587
9595
|
}));
|
|
9588
9596
|
},
|
|
@@ -9719,8 +9727,8 @@
|
|
|
9719
9727
|
}
|
|
9720
9728
|
return target;
|
|
9721
9729
|
}
|
|
9722
|
-
function ownKeys$
|
|
9723
|
-
var
|
|
9730
|
+
function ownKeys$q(object, enumerableOnly) {
|
|
9731
|
+
var keys2 = Object.keys(object);
|
|
9724
9732
|
if (Object.getOwnPropertySymbols) {
|
|
9725
9733
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
9726
9734
|
if (enumerableOnly) {
|
|
@@ -9728,16 +9736,16 @@
|
|
|
9728
9736
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
9729
9737
|
});
|
|
9730
9738
|
}
|
|
9731
|
-
|
|
9739
|
+
keys2.push.apply(keys2, symbols);
|
|
9732
9740
|
}
|
|
9733
|
-
return
|
|
9741
|
+
return keys2;
|
|
9734
9742
|
}
|
|
9735
|
-
function _object_spread_props$
|
|
9743
|
+
function _object_spread_props$q(target, source) {
|
|
9736
9744
|
source = source != null ? source : {};
|
|
9737
9745
|
if (Object.getOwnPropertyDescriptors) {
|
|
9738
9746
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9739
9747
|
} else {
|
|
9740
|
-
ownKeys$
|
|
9748
|
+
ownKeys$q(Object(source)).forEach(function(key) {
|
|
9741
9749
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9742
9750
|
});
|
|
9743
9751
|
}
|
|
@@ -9770,7 +9778,7 @@
|
|
|
9770
9778
|
var linkText = link && link[0];
|
|
9771
9779
|
var textWithNoLink = text.replace(LINK_REGEXP, "");
|
|
9772
9780
|
var shortText = text.slice(0, text.slice(0, truncateIndex).lastIndexOf(" "));
|
|
9773
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
9781
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$q(_object_spread$v({
|
|
9774
9782
|
className: classes.root
|
|
9775
9783
|
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
9776
9784
|
children: [
|
|
@@ -10338,6 +10346,275 @@
|
|
|
10338
10346
|
ref
|
|
10339
10347
|
}, props));
|
|
10340
10348
|
});
|
|
10349
|
+
function arrayEach(array, iteratee) {
|
|
10350
|
+
var index = -1, length = array == null ? 0 : array.length;
|
|
10351
|
+
while (++index < length) {
|
|
10352
|
+
if (iteratee(array[index], index, array) === false) {
|
|
10353
|
+
break;
|
|
10354
|
+
}
|
|
10355
|
+
}
|
|
10356
|
+
return array;
|
|
10357
|
+
}
|
|
10358
|
+
var nativeKeys = overArg(Object.keys, Object);
|
|
10359
|
+
const nativeKeys$1 = nativeKeys;
|
|
10360
|
+
var objectProto$2 = Object.prototype;
|
|
10361
|
+
var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
|
|
10362
|
+
function baseKeys(object) {
|
|
10363
|
+
if (!isPrototype(object)) {
|
|
10364
|
+
return nativeKeys$1(object);
|
|
10365
|
+
}
|
|
10366
|
+
var result = [];
|
|
10367
|
+
for (var key in Object(object)) {
|
|
10368
|
+
if (hasOwnProperty$1.call(object, key) && key != "constructor") {
|
|
10369
|
+
result.push(key);
|
|
10370
|
+
}
|
|
10371
|
+
}
|
|
10372
|
+
return result;
|
|
10373
|
+
}
|
|
10374
|
+
function keys(object) {
|
|
10375
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
10376
|
+
}
|
|
10377
|
+
function baseAssign(object, source) {
|
|
10378
|
+
return object && copyObject(source, keys(source), object);
|
|
10379
|
+
}
|
|
10380
|
+
function baseAssignIn(object, source) {
|
|
10381
|
+
return object && copyObject(source, keysIn(source), object);
|
|
10382
|
+
}
|
|
10383
|
+
function arrayFilter(array, predicate) {
|
|
10384
|
+
var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
|
|
10385
|
+
while (++index < length) {
|
|
10386
|
+
var value = array[index];
|
|
10387
|
+
if (predicate(value, index, array)) {
|
|
10388
|
+
result[resIndex++] = value;
|
|
10389
|
+
}
|
|
10390
|
+
}
|
|
10391
|
+
return result;
|
|
10392
|
+
}
|
|
10393
|
+
function stubArray() {
|
|
10394
|
+
return [];
|
|
10395
|
+
}
|
|
10396
|
+
var objectProto$1 = Object.prototype;
|
|
10397
|
+
var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
|
|
10398
|
+
var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
|
|
10399
|
+
var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object) {
|
|
10400
|
+
if (object == null) {
|
|
10401
|
+
return [];
|
|
10402
|
+
}
|
|
10403
|
+
object = Object(object);
|
|
10404
|
+
return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
|
|
10405
|
+
return propertyIsEnumerable.call(object, symbol);
|
|
10406
|
+
});
|
|
10407
|
+
};
|
|
10408
|
+
const getSymbols$1 = getSymbols;
|
|
10409
|
+
function copySymbols(source, object) {
|
|
10410
|
+
return copyObject(source, getSymbols$1(source), object);
|
|
10411
|
+
}
|
|
10412
|
+
function arrayPush(array, values) {
|
|
10413
|
+
var index = -1, length = values.length, offset2 = array.length;
|
|
10414
|
+
while (++index < length) {
|
|
10415
|
+
array[offset2 + index] = values[index];
|
|
10416
|
+
}
|
|
10417
|
+
return array;
|
|
10418
|
+
}
|
|
10419
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
10420
|
+
var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
|
|
10421
|
+
var result = [];
|
|
10422
|
+
while (object) {
|
|
10423
|
+
arrayPush(result, getSymbols$1(object));
|
|
10424
|
+
object = getPrototype$1(object);
|
|
10425
|
+
}
|
|
10426
|
+
return result;
|
|
10427
|
+
};
|
|
10428
|
+
const getSymbolsIn$1 = getSymbolsIn;
|
|
10429
|
+
function copySymbolsIn(source, object) {
|
|
10430
|
+
return copyObject(source, getSymbolsIn$1(source), object);
|
|
10431
|
+
}
|
|
10432
|
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
10433
|
+
var result = keysFunc(object);
|
|
10434
|
+
return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
10435
|
+
}
|
|
10436
|
+
function getAllKeys(object) {
|
|
10437
|
+
return baseGetAllKeys(object, keys, getSymbols$1);
|
|
10438
|
+
}
|
|
10439
|
+
function getAllKeysIn(object) {
|
|
10440
|
+
return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
|
|
10441
|
+
}
|
|
10442
|
+
var DataView = getNative(root$1, "DataView");
|
|
10443
|
+
const DataView$1 = DataView;
|
|
10444
|
+
var Promise$1 = getNative(root$1, "Promise");
|
|
10445
|
+
const Promise$2 = Promise$1;
|
|
10446
|
+
var Set$1 = getNative(root$1, "Set");
|
|
10447
|
+
const Set$2 = Set$1;
|
|
10448
|
+
var WeakMap$1 = getNative(root$1, "WeakMap");
|
|
10449
|
+
const WeakMap$2 = WeakMap$1;
|
|
10450
|
+
var mapTag$3 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$3 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
|
|
10451
|
+
var dataViewTag$2 = "[object DataView]";
|
|
10452
|
+
var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$2), promiseCtorString = toSource(Promise$2), setCtorString = toSource(Set$2), weakMapCtorString = toSource(WeakMap$2);
|
|
10453
|
+
var getTag = baseGetTag;
|
|
10454
|
+
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) {
|
|
10455
|
+
getTag = function(value) {
|
|
10456
|
+
var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
|
|
10457
|
+
if (ctorString) {
|
|
10458
|
+
switch (ctorString) {
|
|
10459
|
+
case dataViewCtorString:
|
|
10460
|
+
return dataViewTag$2;
|
|
10461
|
+
case mapCtorString:
|
|
10462
|
+
return mapTag$3;
|
|
10463
|
+
case promiseCtorString:
|
|
10464
|
+
return promiseTag;
|
|
10465
|
+
case setCtorString:
|
|
10466
|
+
return setTag$3;
|
|
10467
|
+
case weakMapCtorString:
|
|
10468
|
+
return weakMapTag$1;
|
|
10469
|
+
}
|
|
10470
|
+
}
|
|
10471
|
+
return result;
|
|
10472
|
+
};
|
|
10473
|
+
}
|
|
10474
|
+
const getTag$1 = getTag;
|
|
10475
|
+
var objectProto = Object.prototype;
|
|
10476
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
10477
|
+
function initCloneArray(array) {
|
|
10478
|
+
var length = array.length, result = new array.constructor(length);
|
|
10479
|
+
if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
|
|
10480
|
+
result.index = array.index;
|
|
10481
|
+
result.input = array.input;
|
|
10482
|
+
}
|
|
10483
|
+
return result;
|
|
10484
|
+
}
|
|
10485
|
+
function cloneDataView(dataView, isDeep) {
|
|
10486
|
+
var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
|
|
10487
|
+
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
|
10488
|
+
}
|
|
10489
|
+
var reFlags = /\w*$/;
|
|
10490
|
+
function cloneRegExp(regexp) {
|
|
10491
|
+
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
|
|
10492
|
+
result.lastIndex = regexp.lastIndex;
|
|
10493
|
+
return result;
|
|
10494
|
+
}
|
|
10495
|
+
var symbolProto = Symbol$2 ? Symbol$2.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
10496
|
+
function cloneSymbol(symbol) {
|
|
10497
|
+
return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
|
|
10498
|
+
}
|
|
10499
|
+
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]";
|
|
10500
|
+
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]";
|
|
10501
|
+
function initCloneByTag(object, tag, isDeep) {
|
|
10502
|
+
var Ctor = object.constructor;
|
|
10503
|
+
switch (tag) {
|
|
10504
|
+
case arrayBufferTag$1:
|
|
10505
|
+
return cloneArrayBuffer(object);
|
|
10506
|
+
case boolTag$1:
|
|
10507
|
+
case dateTag$1:
|
|
10508
|
+
return new Ctor(+object);
|
|
10509
|
+
case dataViewTag$1:
|
|
10510
|
+
return cloneDataView(object, isDeep);
|
|
10511
|
+
case float32Tag$1:
|
|
10512
|
+
case float64Tag$1:
|
|
10513
|
+
case int8Tag$1:
|
|
10514
|
+
case int16Tag$1:
|
|
10515
|
+
case int32Tag$1:
|
|
10516
|
+
case uint8Tag$1:
|
|
10517
|
+
case uint8ClampedTag$1:
|
|
10518
|
+
case uint16Tag$1:
|
|
10519
|
+
case uint32Tag$1:
|
|
10520
|
+
return cloneTypedArray(object, isDeep);
|
|
10521
|
+
case mapTag$2:
|
|
10522
|
+
return new Ctor();
|
|
10523
|
+
case numberTag$1:
|
|
10524
|
+
case stringTag$1:
|
|
10525
|
+
return new Ctor(object);
|
|
10526
|
+
case regexpTag$1:
|
|
10527
|
+
return cloneRegExp(object);
|
|
10528
|
+
case setTag$2:
|
|
10529
|
+
return new Ctor();
|
|
10530
|
+
case symbolTag$1:
|
|
10531
|
+
return cloneSymbol(object);
|
|
10532
|
+
}
|
|
10533
|
+
}
|
|
10534
|
+
var mapTag$1 = "[object Map]";
|
|
10535
|
+
function baseIsMap(value) {
|
|
10536
|
+
return isObjectLike(value) && getTag$1(value) == mapTag$1;
|
|
10537
|
+
}
|
|
10538
|
+
var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
|
|
10539
|
+
var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
|
|
10540
|
+
const isMap$1 = isMap;
|
|
10541
|
+
var setTag$1 = "[object Set]";
|
|
10542
|
+
function baseIsSet(value) {
|
|
10543
|
+
return isObjectLike(value) && getTag$1(value) == setTag$1;
|
|
10544
|
+
}
|
|
10545
|
+
var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet;
|
|
10546
|
+
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
|
10547
|
+
const isSet$1 = isSet;
|
|
10548
|
+
var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
|
|
10549
|
+
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]";
|
|
10550
|
+
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]";
|
|
10551
|
+
var cloneableTags = {};
|
|
10552
|
+
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;
|
|
10553
|
+
cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
|
|
10554
|
+
function baseClone(value, bitmask, customizer, key, object, stack) {
|
|
10555
|
+
var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
|
|
10556
|
+
if (customizer) {
|
|
10557
|
+
result = object ? customizer(value, key, object, stack) : customizer(value);
|
|
10558
|
+
}
|
|
10559
|
+
if (result !== void 0) {
|
|
10560
|
+
return result;
|
|
10561
|
+
}
|
|
10562
|
+
if (!isObject(value)) {
|
|
10563
|
+
return value;
|
|
10564
|
+
}
|
|
10565
|
+
var isArr = isArray$1(value);
|
|
10566
|
+
if (isArr) {
|
|
10567
|
+
result = initCloneArray(value);
|
|
10568
|
+
if (!isDeep) {
|
|
10569
|
+
return copyArray(value, result);
|
|
10570
|
+
}
|
|
10571
|
+
} else {
|
|
10572
|
+
var tag = getTag$1(value), isFunc = tag == funcTag || tag == genTag;
|
|
10573
|
+
if (isBuffer$1(value)) {
|
|
10574
|
+
return cloneBuffer(value, isDeep);
|
|
10575
|
+
}
|
|
10576
|
+
if (tag == objectTag || tag == argsTag || isFunc && !object) {
|
|
10577
|
+
result = isFlat || isFunc ? {} : initCloneObject(value);
|
|
10578
|
+
if (!isDeep) {
|
|
10579
|
+
return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));
|
|
10580
|
+
}
|
|
10581
|
+
} else {
|
|
10582
|
+
if (!cloneableTags[tag]) {
|
|
10583
|
+
return object ? value : {};
|
|
10584
|
+
}
|
|
10585
|
+
result = initCloneByTag(value, tag, isDeep);
|
|
10586
|
+
}
|
|
10587
|
+
}
|
|
10588
|
+
stack || (stack = new Stack());
|
|
10589
|
+
var stacked = stack.get(value);
|
|
10590
|
+
if (stacked) {
|
|
10591
|
+
return stacked;
|
|
10592
|
+
}
|
|
10593
|
+
stack.set(value, result);
|
|
10594
|
+
if (isSet$1(value)) {
|
|
10595
|
+
value.forEach(function(subValue) {
|
|
10596
|
+
result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
|
|
10597
|
+
});
|
|
10598
|
+
} else if (isMap$1(value)) {
|
|
10599
|
+
value.forEach(function(subValue, key2) {
|
|
10600
|
+
result.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
|
|
10601
|
+
});
|
|
10602
|
+
}
|
|
10603
|
+
var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;
|
|
10604
|
+
var props = isArr ? void 0 : keysFunc(value);
|
|
10605
|
+
arrayEach(props || value, function(subValue, key2) {
|
|
10606
|
+
if (props) {
|
|
10607
|
+
key2 = subValue;
|
|
10608
|
+
subValue = value[key2];
|
|
10609
|
+
}
|
|
10610
|
+
assignValue(result, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
|
|
10611
|
+
});
|
|
10612
|
+
return result;
|
|
10613
|
+
}
|
|
10614
|
+
var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
|
|
10615
|
+
function cloneDeep(value) {
|
|
10616
|
+
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
|
10617
|
+
}
|
|
10341
10618
|
var FILTER_HEIGHT = 36;
|
|
10342
10619
|
var useStyles$r = createThemedStyles("FiltersPane", {
|
|
10343
10620
|
root: {
|
|
@@ -10446,7 +10723,7 @@
|
|
|
10446
10723
|
}
|
|
10447
10724
|
}
|
|
10448
10725
|
};
|
|
10449
|
-
var clearButtonStyles$3 = innerTextButtonStyles;
|
|
10726
|
+
var clearButtonStyles$3 = cloneDeep(innerTextButtonStyles);
|
|
10450
10727
|
function _define_property$v(obj, key, value) {
|
|
10451
10728
|
if (key in obj) {
|
|
10452
10729
|
Object.defineProperty(obj, key, {
|
|
@@ -10475,8 +10752,8 @@
|
|
|
10475
10752
|
}
|
|
10476
10753
|
return target;
|
|
10477
10754
|
}
|
|
10478
|
-
function ownKeys$
|
|
10479
|
-
var
|
|
10755
|
+
function ownKeys$p(object, enumerableOnly) {
|
|
10756
|
+
var keys2 = Object.keys(object);
|
|
10480
10757
|
if (Object.getOwnPropertySymbols) {
|
|
10481
10758
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
10482
10759
|
if (enumerableOnly) {
|
|
@@ -10484,16 +10761,16 @@
|
|
|
10484
10761
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
10485
10762
|
});
|
|
10486
10763
|
}
|
|
10487
|
-
|
|
10764
|
+
keys2.push.apply(keys2, symbols);
|
|
10488
10765
|
}
|
|
10489
|
-
return
|
|
10766
|
+
return keys2;
|
|
10490
10767
|
}
|
|
10491
|
-
function _object_spread_props$
|
|
10768
|
+
function _object_spread_props$p(target, source) {
|
|
10492
10769
|
source = source != null ? source : {};
|
|
10493
10770
|
if (Object.getOwnPropertyDescriptors) {
|
|
10494
10771
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
10495
10772
|
} else {
|
|
10496
|
-
ownKeys$
|
|
10773
|
+
ownKeys$p(Object(source)).forEach(function(key) {
|
|
10497
10774
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
10498
10775
|
});
|
|
10499
10776
|
}
|
|
@@ -10545,7 +10822,7 @@
|
|
|
10545
10822
|
className: "tweakClearButton",
|
|
10546
10823
|
currentComponentName: "FilterInterval"
|
|
10547
10824
|
});
|
|
10548
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
10825
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$p(_object_spread$t({
|
|
10549
10826
|
className: classes.root
|
|
10550
10827
|
}, addDataAttributes(data)), {
|
|
10551
10828
|
children: [
|
|
@@ -10674,6 +10951,7 @@
|
|
|
10674
10951
|
var TOP_GAP = 12;
|
|
10675
10952
|
var useStyles$p = createThemedStyles("MultiSelectList", {
|
|
10676
10953
|
root: {
|
|
10954
|
+
width: 220,
|
|
10677
10955
|
background: colors.CLASSIC_WHITE
|
|
10678
10956
|
},
|
|
10679
10957
|
list: _object_spread$s({
|
|
@@ -10769,10 +11047,13 @@
|
|
|
10769
11047
|
padding: [
|
|
10770
11048
|
11,
|
|
10771
11049
|
16
|
|
10772
|
-
]
|
|
11050
|
+
],
|
|
11051
|
+
boxSizing: "border-box",
|
|
11052
|
+
width: "100%"
|
|
10773
11053
|
},
|
|
10774
11054
|
children: {
|
|
10775
|
-
marginRight: "auto"
|
|
11055
|
+
marginRight: "auto",
|
|
11056
|
+
overflow: "hidden"
|
|
10776
11057
|
}
|
|
10777
11058
|
};
|
|
10778
11059
|
var clearButtonStyles$2 = {
|
|
@@ -10896,8 +11177,8 @@
|
|
|
10896
11177
|
}
|
|
10897
11178
|
return target;
|
|
10898
11179
|
}
|
|
10899
|
-
function ownKeys$
|
|
10900
|
-
var
|
|
11180
|
+
function ownKeys$o(object, enumerableOnly) {
|
|
11181
|
+
var keys2 = Object.keys(object);
|
|
10901
11182
|
if (Object.getOwnPropertySymbols) {
|
|
10902
11183
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
10903
11184
|
if (enumerableOnly) {
|
|
@@ -10905,16 +11186,16 @@
|
|
|
10905
11186
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
10906
11187
|
});
|
|
10907
11188
|
}
|
|
10908
|
-
|
|
11189
|
+
keys2.push.apply(keys2, symbols);
|
|
10909
11190
|
}
|
|
10910
|
-
return
|
|
11191
|
+
return keys2;
|
|
10911
11192
|
}
|
|
10912
|
-
function _object_spread_props$
|
|
11193
|
+
function _object_spread_props$o(target, source) {
|
|
10913
11194
|
source = source != null ? source : {};
|
|
10914
11195
|
if (Object.getOwnPropertyDescriptors) {
|
|
10915
11196
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
10916
11197
|
} else {
|
|
10917
|
-
ownKeys$
|
|
11198
|
+
ownKeys$o(Object(source)).forEach(function(key) {
|
|
10918
11199
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
10919
11200
|
});
|
|
10920
11201
|
}
|
|
@@ -11042,7 +11323,7 @@
|
|
|
11042
11323
|
}
|
|
11043
11324
|
};
|
|
11044
11325
|
function MultiSelectList(param) {
|
|
11045
|
-
var value = param.value, tweakStyles = param.tweakStyles, data = param.data, _param_isSearchEnabled = param.isSearchEnabled, isSearchEnabled = _param_isSearchEnabled === void 0 ? false : _param_isSearchEnabled,
|
|
11326
|
+
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;
|
|
11046
11327
|
var handleOnChange = function handleOnChange2(inputValue) {
|
|
11047
11328
|
setSearchValue(inputValue);
|
|
11048
11329
|
if (fetchOptions === void 0) {
|
|
@@ -11213,13 +11494,13 @@
|
|
|
11213
11494
|
if (value !== void 0) {
|
|
11214
11495
|
if (keyCursorOn < value.include.length) {
|
|
11215
11496
|
var _value_include_filter;
|
|
11216
|
-
onChange(_object_spread_props$
|
|
11497
|
+
onChange(_object_spread_props$o(_object_spread$r({}, value), {
|
|
11217
11498
|
include: (_value_include_filter = value.include.filter(function(val) {
|
|
11218
11499
|
return getValueId(val) !== getValueId(value.include[keyCursorOn]);
|
|
11219
11500
|
})) !== null && _value_include_filter !== void 0 ? _value_include_filter : []
|
|
11220
11501
|
}));
|
|
11221
11502
|
} else {
|
|
11222
|
-
onChange(_object_spread_props$
|
|
11503
|
+
onChange(_object_spread_props$o(_object_spread$r({}, value), {
|
|
11223
11504
|
include: _to_consumable_array$3(value.include).concat([
|
|
11224
11505
|
unchosenOptions[keyCursorOn - value.include.length]
|
|
11225
11506
|
])
|
|
@@ -11418,11 +11699,8 @@
|
|
|
11418
11699
|
var shouldShowAllOptionsLabel = isGroupingEnabled && unchosenOptions.length > 0 && chosenValues !== void 0 && chosenValues.length > 0;
|
|
11419
11700
|
var shouldShowPreloader = isLoading || isLoadingOptionsOnScroll;
|
|
11420
11701
|
var shouldShowOptionsList = !isLoading && allOptions.length !== 0;
|
|
11421
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
11422
|
-
className: classes.root
|
|
11423
|
-
style: {
|
|
11424
|
-
width
|
|
11425
|
-
}
|
|
11702
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$o(_object_spread$r({
|
|
11703
|
+
className: classes.root
|
|
11426
11704
|
}, addDataAttributes(data)), {
|
|
11427
11705
|
children: [
|
|
11428
11706
|
isSearchEnabled && /* @__PURE__ */ jsx("div", {
|
|
@@ -11588,6 +11866,7 @@
|
|
|
11588
11866
|
var LIST_GAP = 12;
|
|
11589
11867
|
var useStyles$o = createThemedStyles("FilterSelect", {
|
|
11590
11868
|
root: {
|
|
11869
|
+
width: 220,
|
|
11591
11870
|
background: colors.CLASSIC_WHITE
|
|
11592
11871
|
},
|
|
11593
11872
|
list: _object_spread$p({
|
|
@@ -11717,7 +11996,7 @@
|
|
|
11717
11996
|
}
|
|
11718
11997
|
}
|
|
11719
11998
|
};
|
|
11720
|
-
var clearButtonStyles$1 = innerTextButtonStyles;
|
|
11999
|
+
var clearButtonStyles$1 = cloneDeep(innerTextButtonStyles);
|
|
11721
12000
|
function _array_like_to_array$f(arr, len) {
|
|
11722
12001
|
if (len == null || len > arr.length)
|
|
11723
12002
|
len = arr.length;
|
|
@@ -11828,8 +12107,8 @@
|
|
|
11828
12107
|
}
|
|
11829
12108
|
return target;
|
|
11830
12109
|
}
|
|
11831
|
-
function ownKeys$
|
|
11832
|
-
var
|
|
12110
|
+
function ownKeys$n(object, enumerableOnly) {
|
|
12111
|
+
var keys2 = Object.keys(object);
|
|
11833
12112
|
if (Object.getOwnPropertySymbols) {
|
|
11834
12113
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
11835
12114
|
if (enumerableOnly) {
|
|
@@ -11837,16 +12116,16 @@
|
|
|
11837
12116
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
11838
12117
|
});
|
|
11839
12118
|
}
|
|
11840
|
-
|
|
12119
|
+
keys2.push.apply(keys2, symbols);
|
|
11841
12120
|
}
|
|
11842
|
-
return
|
|
12121
|
+
return keys2;
|
|
11843
12122
|
}
|
|
11844
|
-
function _object_spread_props$
|
|
12123
|
+
function _object_spread_props$n(target, source) {
|
|
11845
12124
|
source = source != null ? source : {};
|
|
11846
12125
|
if (Object.getOwnPropertyDescriptors) {
|
|
11847
12126
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
11848
12127
|
} else {
|
|
11849
|
-
ownKeys$
|
|
12128
|
+
ownKeys$n(Object(source)).forEach(function(key) {
|
|
11850
12129
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
11851
12130
|
});
|
|
11852
12131
|
}
|
|
@@ -11974,7 +12253,7 @@
|
|
|
11974
12253
|
}
|
|
11975
12254
|
};
|
|
11976
12255
|
function FilterSelect(param) {
|
|
11977
|
-
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,
|
|
12256
|
+
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;
|
|
11978
12257
|
var classes = useStyles$o({
|
|
11979
12258
|
theme: tweakStyles
|
|
11980
12259
|
});
|
|
@@ -12246,11 +12525,8 @@
|
|
|
12246
12525
|
}();
|
|
12247
12526
|
doFetchOptions();
|
|
12248
12527
|
}, []);
|
|
12249
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
12250
|
-
className: classes.root
|
|
12251
|
-
style: {
|
|
12252
|
-
width
|
|
12253
|
-
}
|
|
12528
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$n(_object_spread$o({
|
|
12529
|
+
className: classes.root
|
|
12254
12530
|
}, addDataAttributes(data)), {
|
|
12255
12531
|
children: [
|
|
12256
12532
|
isSearchEnabled && /* @__PURE__ */ jsx("div", {
|
|
@@ -13488,7 +13764,7 @@
|
|
|
13488
13764
|
},
|
|
13489
13765
|
datepicker: {}
|
|
13490
13766
|
});
|
|
13491
|
-
var clearButtonStyles = innerTextButtonStyles;
|
|
13767
|
+
var clearButtonStyles = cloneDeep(innerTextButtonStyles);
|
|
13492
13768
|
var backButtonStyles = innerTextButtonStyles;
|
|
13493
13769
|
var PICKER_TOP_MARGIN = 28;
|
|
13494
13770
|
var PICKER_WITH_BUTTONS_TOP_MARGIN = 60;
|
|
@@ -13588,8 +13864,8 @@
|
|
|
13588
13864
|
}
|
|
13589
13865
|
return target;
|
|
13590
13866
|
}
|
|
13591
|
-
function ownKeys$
|
|
13592
|
-
var
|
|
13867
|
+
function ownKeys$m(object, enumerableOnly) {
|
|
13868
|
+
var keys2 = Object.keys(object);
|
|
13593
13869
|
if (Object.getOwnPropertySymbols) {
|
|
13594
13870
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
13595
13871
|
if (enumerableOnly) {
|
|
@@ -13597,16 +13873,16 @@
|
|
|
13597
13873
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
13598
13874
|
});
|
|
13599
13875
|
}
|
|
13600
|
-
|
|
13876
|
+
keys2.push.apply(keys2, symbols);
|
|
13601
13877
|
}
|
|
13602
|
-
return
|
|
13878
|
+
return keys2;
|
|
13603
13879
|
}
|
|
13604
|
-
function _object_spread_props$
|
|
13880
|
+
function _object_spread_props$m(target, source) {
|
|
13605
13881
|
source = source != null ? source : {};
|
|
13606
13882
|
if (Object.getOwnPropertyDescriptors) {
|
|
13607
13883
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
13608
13884
|
} else {
|
|
13609
|
-
ownKeys$
|
|
13885
|
+
ownKeys$m(Object(source)).forEach(function(key) {
|
|
13610
13886
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
13611
13887
|
});
|
|
13612
13888
|
}
|
|
@@ -13717,7 +13993,7 @@
|
|
|
13717
13993
|
}
|
|
13718
13994
|
};
|
|
13719
13995
|
var _ref;
|
|
13720
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
13996
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$m(_object_spread$n({
|
|
13721
13997
|
className: classes.root
|
|
13722
13998
|
}, addDataAttributes(data)), {
|
|
13723
13999
|
children: [
|
|
@@ -13888,8 +14164,8 @@
|
|
|
13888
14164
|
}
|
|
13889
14165
|
return target;
|
|
13890
14166
|
}
|
|
13891
|
-
function ownKeys$
|
|
13892
|
-
var
|
|
14167
|
+
function ownKeys$l(object, enumerableOnly) {
|
|
14168
|
+
var keys2 = Object.keys(object);
|
|
13893
14169
|
if (Object.getOwnPropertySymbols) {
|
|
13894
14170
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
13895
14171
|
if (enumerableOnly) {
|
|
@@ -13897,16 +14173,16 @@
|
|
|
13897
14173
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
13898
14174
|
});
|
|
13899
14175
|
}
|
|
13900
|
-
|
|
14176
|
+
keys2.push.apply(keys2, symbols);
|
|
13901
14177
|
}
|
|
13902
|
-
return
|
|
14178
|
+
return keys2;
|
|
13903
14179
|
}
|
|
13904
|
-
function _object_spread_props$
|
|
14180
|
+
function _object_spread_props$l(target, source) {
|
|
13905
14181
|
source = source != null ? source : {};
|
|
13906
14182
|
if (Object.getOwnPropertyDescriptors) {
|
|
13907
14183
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
13908
14184
|
} else {
|
|
13909
|
-
ownKeys$
|
|
14185
|
+
ownKeys$l(Object(source)).forEach(function(key) {
|
|
13910
14186
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
13911
14187
|
});
|
|
13912
14188
|
}
|
|
@@ -13992,7 +14268,7 @@
|
|
|
13992
14268
|
if (onClose !== void 0) {
|
|
13993
14269
|
onClose();
|
|
13994
14270
|
}
|
|
13995
|
-
onChange(_object_spread_props$
|
|
14271
|
+
onChange(_object_spread_props$l(_object_spread$m({}, p), {
|
|
13996
14272
|
label: getPeriodTranslate(periodType)
|
|
13997
14273
|
}));
|
|
13998
14274
|
}
|
|
@@ -14012,7 +14288,7 @@
|
|
|
14012
14288
|
};
|
|
14013
14289
|
var handleCustomDateChange = function(val) {
|
|
14014
14290
|
if (val.from || val.to) {
|
|
14015
|
-
onChange(_object_spread_props$
|
|
14291
|
+
onChange(_object_spread_props$l(_object_spread$m({}, val), {
|
|
14016
14292
|
periodType: "CUSTOM"
|
|
14017
14293
|
}));
|
|
14018
14294
|
} else {
|
|
@@ -14154,8 +14430,8 @@
|
|
|
14154
14430
|
}
|
|
14155
14431
|
return target;
|
|
14156
14432
|
}
|
|
14157
|
-
function ownKeys$
|
|
14158
|
-
var
|
|
14433
|
+
function ownKeys$k(object, enumerableOnly) {
|
|
14434
|
+
var keys2 = Object.keys(object);
|
|
14159
14435
|
if (Object.getOwnPropertySymbols) {
|
|
14160
14436
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
14161
14437
|
if (enumerableOnly) {
|
|
@@ -14163,16 +14439,16 @@
|
|
|
14163
14439
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
14164
14440
|
});
|
|
14165
14441
|
}
|
|
14166
|
-
|
|
14442
|
+
keys2.push.apply(keys2, symbols);
|
|
14167
14443
|
}
|
|
14168
|
-
return
|
|
14444
|
+
return keys2;
|
|
14169
14445
|
}
|
|
14170
|
-
function _object_spread_props$
|
|
14446
|
+
function _object_spread_props$k(target, source) {
|
|
14171
14447
|
source = source != null ? source : {};
|
|
14172
14448
|
if (Object.getOwnPropertyDescriptors) {
|
|
14173
14449
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
14174
14450
|
} else {
|
|
14175
|
-
ownKeys$
|
|
14451
|
+
ownKeys$k(Object(source)).forEach(function(key) {
|
|
14176
14452
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
14177
14453
|
});
|
|
14178
14454
|
}
|
|
@@ -14239,7 +14515,7 @@
|
|
|
14239
14515
|
};
|
|
14240
14516
|
if (filter.type === "custom" && filter.component) {
|
|
14241
14517
|
var Component = filter.component;
|
|
14242
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14518
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14243
14519
|
children: /* @__PURE__ */ jsx(Component, _object_spread$l({}, {
|
|
14244
14520
|
value,
|
|
14245
14521
|
onChange,
|
|
@@ -14254,7 +14530,7 @@
|
|
|
14254
14530
|
console.warn("%cДля фильтра типа custom (".concat(filter.name, ") в конфиге обязательно нужно задать component"), "background: red; color: black");
|
|
14255
14531
|
}
|
|
14256
14532
|
if (filter.type === "select") {
|
|
14257
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14533
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14258
14534
|
children: /* @__PURE__ */ jsx(FilterSelect, _object_spread$l({
|
|
14259
14535
|
onChange,
|
|
14260
14536
|
value,
|
|
@@ -14265,7 +14541,7 @@
|
|
|
14265
14541
|
}));
|
|
14266
14542
|
}
|
|
14267
14543
|
if (filter.type === "dateRange") {
|
|
14268
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14544
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14269
14545
|
children: /* @__PURE__ */ jsx(FilterWithPeriod, _object_spread$l({
|
|
14270
14546
|
localeKey: translatesLocaleKey,
|
|
14271
14547
|
locale: translates,
|
|
@@ -14278,7 +14554,7 @@
|
|
|
14278
14554
|
}
|
|
14279
14555
|
if (filter.type === "dateRangeWithoutPeriod") {
|
|
14280
14556
|
var dateRangeValue = value;
|
|
14281
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14557
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14282
14558
|
style: {
|
|
14283
14559
|
width: 320
|
|
14284
14560
|
},
|
|
@@ -14288,7 +14564,7 @@
|
|
|
14288
14564
|
return onChange(void 0);
|
|
14289
14565
|
},
|
|
14290
14566
|
onChange: function(v) {
|
|
14291
|
-
return onChange(_object_spread_props$
|
|
14567
|
+
return onChange(_object_spread_props$k(_object_spread$l({}, v), {
|
|
14292
14568
|
periodType: "CUSTOM"
|
|
14293
14569
|
}));
|
|
14294
14570
|
},
|
|
@@ -14299,7 +14575,7 @@
|
|
|
14299
14575
|
}));
|
|
14300
14576
|
}
|
|
14301
14577
|
if (filter.type === "multiSelect") {
|
|
14302
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14578
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14303
14579
|
children: /* @__PURE__ */ jsx(FilterMultiSelect, _object_spread$l({
|
|
14304
14580
|
onChange,
|
|
14305
14581
|
onClose: handleOnClose,
|
|
@@ -14311,7 +14587,7 @@
|
|
|
14311
14587
|
}));
|
|
14312
14588
|
}
|
|
14313
14589
|
if (filter.type === "interval") {
|
|
14314
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
14590
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$k(_object_spread$l({}, props), {
|
|
14315
14591
|
children: /* @__PURE__ */ jsx(FilterInterval, _object_spread$l({
|
|
14316
14592
|
value,
|
|
14317
14593
|
labelName: filter.name,
|
|
@@ -14419,7 +14695,8 @@
|
|
|
14419
14695
|
borderRadius: 0,
|
|
14420
14696
|
borderBottomLeftRadius: 6,
|
|
14421
14697
|
borderBottomRightRadius: 6,
|
|
14422
|
-
boxShadow: "none"
|
|
14698
|
+
boxShadow: "none",
|
|
14699
|
+
width: "100%"
|
|
14423
14700
|
}
|
|
14424
14701
|
};
|
|
14425
14702
|
function _array_like_to_array$b(arr, len) {
|
|
@@ -14492,8 +14769,8 @@
|
|
|
14492
14769
|
}
|
|
14493
14770
|
return target;
|
|
14494
14771
|
}
|
|
14495
|
-
function ownKeys$
|
|
14496
|
-
var
|
|
14772
|
+
function ownKeys$j(object, enumerableOnly) {
|
|
14773
|
+
var keys2 = Object.keys(object);
|
|
14497
14774
|
if (Object.getOwnPropertySymbols) {
|
|
14498
14775
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
14499
14776
|
if (enumerableOnly) {
|
|
@@ -14501,16 +14778,16 @@
|
|
|
14501
14778
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
14502
14779
|
});
|
|
14503
14780
|
}
|
|
14504
|
-
|
|
14781
|
+
keys2.push.apply(keys2, symbols);
|
|
14505
14782
|
}
|
|
14506
|
-
return
|
|
14783
|
+
return keys2;
|
|
14507
14784
|
}
|
|
14508
|
-
function _object_spread_props$
|
|
14785
|
+
function _object_spread_props$j(target, source) {
|
|
14509
14786
|
source = source != null ? source : {};
|
|
14510
14787
|
if (Object.getOwnPropertyDescriptors) {
|
|
14511
14788
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
14512
14789
|
} else {
|
|
14513
|
-
ownKeys$
|
|
14790
|
+
ownKeys$j(Object(source)).forEach(function(key) {
|
|
14514
14791
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
14515
14792
|
});
|
|
14516
14793
|
}
|
|
@@ -14533,7 +14810,7 @@
|
|
|
14533
14810
|
return _array_like_to_array$b(o, minLen);
|
|
14534
14811
|
}
|
|
14535
14812
|
function FiltersPaneSearch(param) {
|
|
14536
|
-
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,
|
|
14813
|
+
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;
|
|
14537
14814
|
var classes = useStyles$l({
|
|
14538
14815
|
theme: tweakStyles
|
|
14539
14816
|
});
|
|
@@ -14580,7 +14857,7 @@
|
|
|
14580
14857
|
field
|
|
14581
14858
|
]);
|
|
14582
14859
|
var _obj;
|
|
14583
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
14860
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$j(_object_spread$k({
|
|
14584
14861
|
className: clsx(classes.root, (_obj = {}, _define_property$m(_obj, classes.focused, isInputFocused), _define_property$m(_obj, classes.disabled, isDisabled), _obj)),
|
|
14585
14862
|
ref: refRoot,
|
|
14586
14863
|
"data-testid": testId
|
|
@@ -14636,7 +14913,6 @@
|
|
|
14636
14913
|
localeKey,
|
|
14637
14914
|
locale: translates,
|
|
14638
14915
|
onChange: handleFieldsChange,
|
|
14639
|
-
width: selectWidth,
|
|
14640
14916
|
isSearchEnabled: isSelectSearchEnabled,
|
|
14641
14917
|
hasClearButton: hasClearSelectButton,
|
|
14642
14918
|
testId: testId !== void 0 ? "".concat(testId, "-dropdown") : void 0
|
|
@@ -15002,8 +15278,8 @@
|
|
|
15002
15278
|
}
|
|
15003
15279
|
return target;
|
|
15004
15280
|
}
|
|
15005
|
-
function ownKeys$
|
|
15006
|
-
var
|
|
15281
|
+
function ownKeys$i(object, enumerableOnly) {
|
|
15282
|
+
var keys2 = Object.keys(object);
|
|
15007
15283
|
if (Object.getOwnPropertySymbols) {
|
|
15008
15284
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
15009
15285
|
if (enumerableOnly) {
|
|
@@ -15011,16 +15287,16 @@
|
|
|
15011
15287
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
15012
15288
|
});
|
|
15013
15289
|
}
|
|
15014
|
-
|
|
15290
|
+
keys2.push.apply(keys2, symbols);
|
|
15015
15291
|
}
|
|
15016
|
-
return
|
|
15292
|
+
return keys2;
|
|
15017
15293
|
}
|
|
15018
|
-
function _object_spread_props$
|
|
15294
|
+
function _object_spread_props$i(target, source) {
|
|
15019
15295
|
source = source != null ? source : {};
|
|
15020
15296
|
if (Object.getOwnPropertyDescriptors) {
|
|
15021
15297
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
15022
15298
|
} else {
|
|
15023
|
-
ownKeys$
|
|
15299
|
+
ownKeys$i(Object(source)).forEach(function(key) {
|
|
15024
15300
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
15025
15301
|
});
|
|
15026
15302
|
}
|
|
@@ -15084,7 +15360,7 @@
|
|
|
15084
15360
|
};
|
|
15085
15361
|
var isBoolean = filter.type === "boolean";
|
|
15086
15362
|
var _obj;
|
|
15087
|
-
return !filter.isInline ? /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
15363
|
+
return !filter.isInline ? /* @__PURE__ */ jsxs("div", _object_spread_props$i(_object_spread$j({
|
|
15088
15364
|
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))
|
|
15089
15365
|
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
15090
15366
|
children: [
|
|
@@ -15181,8 +15457,8 @@
|
|
|
15181
15457
|
}
|
|
15182
15458
|
return target;
|
|
15183
15459
|
}
|
|
15184
|
-
function ownKeys$
|
|
15185
|
-
var
|
|
15460
|
+
function ownKeys$h(object, enumerableOnly) {
|
|
15461
|
+
var keys2 = Object.keys(object);
|
|
15186
15462
|
if (Object.getOwnPropertySymbols) {
|
|
15187
15463
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
15188
15464
|
if (enumerableOnly) {
|
|
@@ -15190,16 +15466,16 @@
|
|
|
15190
15466
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
15191
15467
|
});
|
|
15192
15468
|
}
|
|
15193
|
-
|
|
15469
|
+
keys2.push.apply(keys2, symbols);
|
|
15194
15470
|
}
|
|
15195
|
-
return
|
|
15471
|
+
return keys2;
|
|
15196
15472
|
}
|
|
15197
|
-
function _object_spread_props$
|
|
15473
|
+
function _object_spread_props$h(target, source) {
|
|
15198
15474
|
source = source != null ? source : {};
|
|
15199
15475
|
if (Object.getOwnPropertyDescriptors) {
|
|
15200
15476
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
15201
15477
|
} else {
|
|
15202
|
-
ownKeys$
|
|
15478
|
+
ownKeys$h(Object(source)).forEach(function(key) {
|
|
15203
15479
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
15204
15480
|
});
|
|
15205
15481
|
}
|
|
@@ -15250,12 +15526,12 @@
|
|
|
15250
15526
|
})
|
|
15251
15527
|
});
|
|
15252
15528
|
var _search_localeKey, _search_localeKey1, _search_isDisabled;
|
|
15253
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
15529
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$h(_object_spread$i({
|
|
15254
15530
|
className: classes.root,
|
|
15255
15531
|
ref
|
|
15256
15532
|
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
15257
15533
|
children: [
|
|
15258
|
-
onSettingsButtonClick !== void 0 && /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
15534
|
+
onSettingsButtonClick !== void 0 && /* @__PURE__ */ jsx("div", _object_spread_props$h(_object_spread$i({
|
|
15259
15535
|
className: classes.settings,
|
|
15260
15536
|
tabIndex: 0
|
|
15261
15537
|
}, trueReactPlatformHelpers.addDataTestId(testId, "settings-button")), {
|
|
@@ -15267,7 +15543,7 @@
|
|
|
15267
15543
|
})
|
|
15268
15544
|
})
|
|
15269
15545
|
})),
|
|
15270
|
-
search !== void 0 && /* @__PURE__ */ jsx(FiltersPaneSearch, _object_spread_props$
|
|
15546
|
+
search !== void 0 && /* @__PURE__ */ jsx(FiltersPaneSearch, _object_spread_props$h(_object_spread$i({}, search), {
|
|
15271
15547
|
locale: getLocale$1((_search_localeKey = search.localeKey) !== null && _search_localeKey !== void 0 ? _search_localeKey : localeKey, search.locale, locale2),
|
|
15272
15548
|
localeKey: (_search_localeKey1 = search.localeKey) !== null && _search_localeKey1 !== void 0 ? _search_localeKey1 : localeKey,
|
|
15273
15549
|
isDisabled: (_search_isDisabled = search.isDisabled) !== null && _search_isDisabled !== void 0 ? _search_isDisabled : isDisabled,
|
|
@@ -15290,7 +15566,7 @@
|
|
|
15290
15566
|
locale: locale2,
|
|
15291
15567
|
localeKey,
|
|
15292
15568
|
onChange: function(value) {
|
|
15293
|
-
return onChangeFilters(_object_spread_props$
|
|
15569
|
+
return onChangeFilters(_object_spread_props$h(_object_spread$i({}, values), _define_property$k({}, key, value)));
|
|
15294
15570
|
},
|
|
15295
15571
|
value: currentValue,
|
|
15296
15572
|
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) {
|
|
@@ -21472,14 +21748,6 @@
|
|
|
21472
21748
|
*/
|
|
21473
21749
|
maxHeight: "100%"
|
|
21474
21750
|
},
|
|
21475
|
-
horizontallyScrolled: {
|
|
21476
|
-
"& $cellSticky": {
|
|
21477
|
-
boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
|
|
21478
|
-
},
|
|
21479
|
-
"& $headerSticky::before": {
|
|
21480
|
-
boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
|
|
21481
|
-
}
|
|
21482
|
-
},
|
|
21483
21751
|
loader: {
|
|
21484
21752
|
position: "sticky",
|
|
21485
21753
|
left: 0,
|
|
@@ -21527,7 +21795,10 @@
|
|
|
21527
21795
|
"box-shadow",
|
|
21528
21796
|
"0.25s",
|
|
21529
21797
|
"ease-in-out"
|
|
21530
|
-
]
|
|
21798
|
+
],
|
|
21799
|
+
"[data-scrolled] &": {
|
|
21800
|
+
boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
|
|
21801
|
+
}
|
|
21531
21802
|
},
|
|
21532
21803
|
"&::after": {
|
|
21533
21804
|
content: '""',
|
|
@@ -21573,6 +21844,30 @@
|
|
|
21573
21844
|
}
|
|
21574
21845
|
return target;
|
|
21575
21846
|
}
|
|
21847
|
+
function ownKeys$g(object, enumerableOnly) {
|
|
21848
|
+
var keys2 = Object.keys(object);
|
|
21849
|
+
if (Object.getOwnPropertySymbols) {
|
|
21850
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
21851
|
+
if (enumerableOnly) {
|
|
21852
|
+
symbols = symbols.filter(function(sym) {
|
|
21853
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21854
|
+
});
|
|
21855
|
+
}
|
|
21856
|
+
keys2.push.apply(keys2, symbols);
|
|
21857
|
+
}
|
|
21858
|
+
return keys2;
|
|
21859
|
+
}
|
|
21860
|
+
function _object_spread_props$g(target, source) {
|
|
21861
|
+
source = source != null ? source : {};
|
|
21862
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
21863
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
21864
|
+
} else {
|
|
21865
|
+
ownKeys$g(Object(source)).forEach(function(key) {
|
|
21866
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
21867
|
+
});
|
|
21868
|
+
}
|
|
21869
|
+
return target;
|
|
21870
|
+
}
|
|
21576
21871
|
var useStyles$g = createThemedStyles("FlexibleTableCell", {
|
|
21577
21872
|
root: {
|
|
21578
21873
|
position: "relative",
|
|
@@ -21586,13 +21881,17 @@
|
|
|
21586
21881
|
zIndex: 5,
|
|
21587
21882
|
verticalAlign: "top"
|
|
21588
21883
|
},
|
|
21589
|
-
sticky: _object_spread$h({
|
|
21884
|
+
sticky: _object_spread_props$g(_object_spread$h({
|
|
21590
21885
|
zIndex: 19,
|
|
21591
21886
|
paddingLeft: 24,
|
|
21592
21887
|
paddingRight: 12
|
|
21593
21888
|
}, trueReactPlatformHelpers.getTransition([
|
|
21594
21889
|
"box-shadow"
|
|
21595
|
-
])),
|
|
21890
|
+
])), {
|
|
21891
|
+
"[data-scrolled] &": {
|
|
21892
|
+
boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
|
|
21893
|
+
}
|
|
21894
|
+
}),
|
|
21596
21895
|
second: {
|
|
21597
21896
|
paddingLeft: STICKY_SHADOW_PADDING
|
|
21598
21897
|
}
|
|
@@ -21733,7 +22032,7 @@
|
|
|
21733
22032
|
return target;
|
|
21734
22033
|
}
|
|
21735
22034
|
function ownKeys$f(object, enumerableOnly) {
|
|
21736
|
-
var
|
|
22035
|
+
var keys2 = Object.keys(object);
|
|
21737
22036
|
if (Object.getOwnPropertySymbols) {
|
|
21738
22037
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
21739
22038
|
if (enumerableOnly) {
|
|
@@ -21741,9 +22040,9 @@
|
|
|
21741
22040
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21742
22041
|
});
|
|
21743
22042
|
}
|
|
21744
|
-
|
|
22043
|
+
keys2.push.apply(keys2, symbols);
|
|
21745
22044
|
}
|
|
21746
|
-
return
|
|
22045
|
+
return keys2;
|
|
21747
22046
|
}
|
|
21748
22047
|
function _object_spread_props$f(target, source) {
|
|
21749
22048
|
source = source != null ? source : {};
|
|
@@ -21874,6 +22173,9 @@
|
|
|
21874
22173
|
});
|
|
21875
22174
|
}
|
|
21876
22175
|
var FlexibleTableRow = /* @__PURE__ */ React.memo(FlexibleTableRowInner);
|
|
22176
|
+
var hasHorizontalScrollBar = function(el) {
|
|
22177
|
+
return trueReactPlatformHelpers.isNotEmpty(el) && el.scrollWidth !== el.clientWidth;
|
|
22178
|
+
};
|
|
21877
22179
|
function _array_like_to_array$8(arr, len) {
|
|
21878
22180
|
if (len == null || len > arr.length)
|
|
21879
22181
|
len = arr.length;
|
|
@@ -21945,7 +22247,7 @@
|
|
|
21945
22247
|
return target;
|
|
21946
22248
|
}
|
|
21947
22249
|
function ownKeys$e(object, enumerableOnly) {
|
|
21948
|
-
var
|
|
22250
|
+
var keys2 = Object.keys(object);
|
|
21949
22251
|
if (Object.getOwnPropertySymbols) {
|
|
21950
22252
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
21951
22253
|
if (enumerableOnly) {
|
|
@@ -21953,9 +22255,9 @@
|
|
|
21953
22255
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21954
22256
|
});
|
|
21955
22257
|
}
|
|
21956
|
-
|
|
22258
|
+
keys2.push.apply(keys2, symbols);
|
|
21957
22259
|
}
|
|
21958
|
-
return
|
|
22260
|
+
return keys2;
|
|
21959
22261
|
}
|
|
21960
22262
|
function _object_spread_props$e(target, source) {
|
|
21961
22263
|
source = source != null ? source : {};
|
|
@@ -21997,6 +22299,7 @@
|
|
|
21997
22299
|
var _useState = _sliced_to_array$8(React.useState(false), 2), isHorizontallyScrolled = _useState[0], setIsHorizontallyScrolled = _useState[1];
|
|
21998
22300
|
var observer = React.useRef();
|
|
21999
22301
|
var scrollRef = React.useRef(null);
|
|
22302
|
+
var ref = refForScroll !== null && refForScroll !== void 0 ? refForScroll : scrollRef;
|
|
22000
22303
|
var initIntersectionObserver = React.useCallback(function(node) {
|
|
22001
22304
|
if (infinityScrollConfig) {
|
|
22002
22305
|
if (infinityScrollConfig.isLoading || infinityScrollConfig.activePage >= infinityScrollConfig.totalPages) {
|
|
@@ -22020,7 +22323,7 @@
|
|
|
22020
22323
|
infinityScrollConfig === null || infinityScrollConfig === void 0 ? void 0 : infinityScrollConfig.onInfinityScroll
|
|
22021
22324
|
]);
|
|
22022
22325
|
React.useEffect(function() {
|
|
22023
|
-
var scrollContainer =
|
|
22326
|
+
var scrollContainer = ref.current;
|
|
22024
22327
|
if (scrollContainer === null || !isHorizontallyScrollable || !isFirstColumnSticky) {
|
|
22025
22328
|
return;
|
|
22026
22329
|
}
|
|
@@ -22035,13 +22338,16 @@
|
|
|
22035
22338
|
scrollRef
|
|
22036
22339
|
]);
|
|
22037
22340
|
var _activeRows_includes;
|
|
22038
|
-
return /* @__PURE__ */ jsx("div", {
|
|
22039
|
-
ref
|
|
22040
|
-
className: clsx(
|
|
22341
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$e(_object_spread$f({
|
|
22342
|
+
ref,
|
|
22343
|
+
className: clsx(_define_property$g({}, classes.scroll, isHorizontallyScrollable))
|
|
22344
|
+
}, addDataAttributes({
|
|
22345
|
+
scrolled: isHorizontallyScrolled ? true : void 0,
|
|
22346
|
+
scrollable: isHorizontallyScrollable && hasHorizontalScrollBar(ref.current)
|
|
22347
|
+
})), {
|
|
22041
22348
|
children: /* @__PURE__ */ jsxs("table", _object_spread_props$e(_object_spread$f({
|
|
22042
|
-
className: classes.root
|
|
22043
|
-
|
|
22044
|
-
}, addDataAttributes(data)), {
|
|
22349
|
+
className: classes.root
|
|
22350
|
+
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
22045
22351
|
children: [
|
|
22046
22352
|
/* @__PURE__ */ jsx("thead", {
|
|
22047
22353
|
children: /* @__PURE__ */ jsx("tr", {
|
|
@@ -22057,8 +22363,9 @@
|
|
|
22057
22363
|
});
|
|
22058
22364
|
}
|
|
22059
22365
|
var _itemConfig_titleAlign;
|
|
22366
|
+
var _obj;
|
|
22060
22367
|
return /* @__PURE__ */ jsx("th", {
|
|
22061
|
-
className: clsx(classes.header, isFirstColumnSticky && idx === 0
|
|
22368
|
+
className: clsx(classes.header, (_obj = {}, _define_property$g(_obj, classes.headerSticky, isFirstColumnSticky && idx === 0), _define_property$g(_obj, classes.headerSecond, isFirstColumnSticky && idx === 1), _obj)),
|
|
22062
22369
|
style: {
|
|
22063
22370
|
minWidth: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.minWidth,
|
|
22064
22371
|
width: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.width,
|
|
@@ -22081,11 +22388,11 @@
|
|
|
22081
22388
|
children: nothingFoundContent
|
|
22082
22389
|
})
|
|
22083
22390
|
}),
|
|
22084
|
-
content.map(function(item,
|
|
22391
|
+
content.map(function(item, i) {
|
|
22085
22392
|
return jsx(FlexibleTableRow, {
|
|
22086
22393
|
item,
|
|
22087
22394
|
uniqueField,
|
|
22088
|
-
isActive: (_activeRows_includes = activeRows === null || activeRows === void 0 ? void 0 : activeRows.includes(
|
|
22395
|
+
isActive: (_activeRows_includes = activeRows === null || activeRows === void 0 ? void 0 : activeRows.includes(i)) !== null && _activeRows_includes !== void 0 ? _activeRows_includes : false,
|
|
22089
22396
|
isFirstColumnSticky,
|
|
22090
22397
|
onRowClick,
|
|
22091
22398
|
onRowHover,
|
|
@@ -22094,7 +22401,7 @@
|
|
|
22094
22401
|
rowAttributes,
|
|
22095
22402
|
tweakStyles: tweakTableRowStyles,
|
|
22096
22403
|
expandableRowComponent
|
|
22097
|
-
}, uniqueField ? item[uniqueField] :
|
|
22404
|
+
}, trueReactPlatformHelpers.isNotEmpty(uniqueField) ? item[uniqueField] : i);
|
|
22098
22405
|
}),
|
|
22099
22406
|
infinityScrollConfig !== void 0 && !infinityScrollConfig.isLastPage && /* @__PURE__ */ jsx("tr", {
|
|
22100
22407
|
children: /* @__PURE__ */ jsx("td", {
|
|
@@ -22112,7 +22419,7 @@
|
|
|
22112
22419
|
})
|
|
22113
22420
|
]
|
|
22114
22421
|
}))
|
|
22115
|
-
});
|
|
22422
|
+
}));
|
|
22116
22423
|
}
|
|
22117
22424
|
var BUTTONS_WIDTH = 36;
|
|
22118
22425
|
var BUTTONS_GAP = 2;
|
|
@@ -22207,7 +22514,7 @@
|
|
|
22207
22514
|
return target;
|
|
22208
22515
|
}
|
|
22209
22516
|
function ownKeys$d(object, enumerableOnly) {
|
|
22210
|
-
var
|
|
22517
|
+
var keys2 = Object.keys(object);
|
|
22211
22518
|
if (Object.getOwnPropertySymbols) {
|
|
22212
22519
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
22213
22520
|
if (enumerableOnly) {
|
|
@@ -22215,9 +22522,9 @@
|
|
|
22215
22522
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
22216
22523
|
});
|
|
22217
22524
|
}
|
|
22218
|
-
|
|
22525
|
+
keys2.push.apply(keys2, symbols);
|
|
22219
22526
|
}
|
|
22220
|
-
return
|
|
22527
|
+
return keys2;
|
|
22221
22528
|
}
|
|
22222
22529
|
function _object_spread_props$d(target, source) {
|
|
22223
22530
|
source = source != null ? source : {};
|
|
@@ -22676,7 +22983,7 @@
|
|
|
22676
22983
|
return target;
|
|
22677
22984
|
}
|
|
22678
22985
|
function ownKeys$c(object, enumerableOnly) {
|
|
22679
|
-
var
|
|
22986
|
+
var keys2 = Object.keys(object);
|
|
22680
22987
|
if (Object.getOwnPropertySymbols) {
|
|
22681
22988
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
22682
22989
|
if (enumerableOnly) {
|
|
@@ -22684,9 +22991,9 @@
|
|
|
22684
22991
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
22685
22992
|
});
|
|
22686
22993
|
}
|
|
22687
|
-
|
|
22994
|
+
keys2.push.apply(keys2, symbols);
|
|
22688
22995
|
}
|
|
22689
|
-
return
|
|
22996
|
+
return keys2;
|
|
22690
22997
|
}
|
|
22691
22998
|
function _object_spread_props$c(target, source) {
|
|
22692
22999
|
source = source != null ? source : {};
|
|
@@ -23006,7 +23313,7 @@
|
|
|
23006
23313
|
return target;
|
|
23007
23314
|
}
|
|
23008
23315
|
function ownKeys$b(object, enumerableOnly) {
|
|
23009
|
-
var
|
|
23316
|
+
var keys2 = Object.keys(object);
|
|
23010
23317
|
if (Object.getOwnPropertySymbols) {
|
|
23011
23318
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
23012
23319
|
if (enumerableOnly) {
|
|
@@ -23014,9 +23321,9 @@
|
|
|
23014
23321
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23015
23322
|
});
|
|
23016
23323
|
}
|
|
23017
|
-
|
|
23324
|
+
keys2.push.apply(keys2, symbols);
|
|
23018
23325
|
}
|
|
23019
|
-
return
|
|
23326
|
+
return keys2;
|
|
23020
23327
|
}
|
|
23021
23328
|
function _object_spread_props$b(target, source) {
|
|
23022
23329
|
source = source != null ? source : {};
|
|
@@ -23331,7 +23638,7 @@
|
|
|
23331
23638
|
return target;
|
|
23332
23639
|
}
|
|
23333
23640
|
function ownKeys$a(object, enumerableOnly) {
|
|
23334
|
-
var
|
|
23641
|
+
var keys2 = Object.keys(object);
|
|
23335
23642
|
if (Object.getOwnPropertySymbols) {
|
|
23336
23643
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
23337
23644
|
if (enumerableOnly) {
|
|
@@ -23339,9 +23646,9 @@
|
|
|
23339
23646
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23340
23647
|
});
|
|
23341
23648
|
}
|
|
23342
|
-
|
|
23649
|
+
keys2.push.apply(keys2, symbols);
|
|
23343
23650
|
}
|
|
23344
|
-
return
|
|
23651
|
+
return keys2;
|
|
23345
23652
|
}
|
|
23346
23653
|
function _object_spread_props$a(target, source) {
|
|
23347
23654
|
source = source != null ? source : {};
|
|
@@ -23480,7 +23787,7 @@
|
|
|
23480
23787
|
return target;
|
|
23481
23788
|
}
|
|
23482
23789
|
function ownKeys$9(object, enumerableOnly) {
|
|
23483
|
-
var
|
|
23790
|
+
var keys2 = Object.keys(object);
|
|
23484
23791
|
if (Object.getOwnPropertySymbols) {
|
|
23485
23792
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
23486
23793
|
if (enumerableOnly) {
|
|
@@ -23488,9 +23795,9 @@
|
|
|
23488
23795
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23489
23796
|
});
|
|
23490
23797
|
}
|
|
23491
|
-
|
|
23798
|
+
keys2.push.apply(keys2, symbols);
|
|
23492
23799
|
}
|
|
23493
|
-
return
|
|
23800
|
+
return keys2;
|
|
23494
23801
|
}
|
|
23495
23802
|
function _object_spread_props$9(target, source) {
|
|
23496
23803
|
source = source != null ? source : {};
|
|
@@ -23702,7 +24009,7 @@
|
|
|
23702
24009
|
return target;
|
|
23703
24010
|
}
|
|
23704
24011
|
function ownKeys$8(object, enumerableOnly) {
|
|
23705
|
-
var
|
|
24012
|
+
var keys2 = Object.keys(object);
|
|
23706
24013
|
if (Object.getOwnPropertySymbols) {
|
|
23707
24014
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
23708
24015
|
if (enumerableOnly) {
|
|
@@ -23710,9 +24017,9 @@
|
|
|
23710
24017
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23711
24018
|
});
|
|
23712
24019
|
}
|
|
23713
|
-
|
|
24020
|
+
keys2.push.apply(keys2, symbols);
|
|
23714
24021
|
}
|
|
23715
|
-
return
|
|
24022
|
+
return keys2;
|
|
23716
24023
|
}
|
|
23717
24024
|
function _object_spread_props$8(target, source) {
|
|
23718
24025
|
source = source != null ? source : {};
|
|
@@ -26940,7 +27247,7 @@
|
|
|
26940
27247
|
return target;
|
|
26941
27248
|
}
|
|
26942
27249
|
function ownKeys$7(object, enumerableOnly) {
|
|
26943
|
-
var
|
|
27250
|
+
var keys2 = Object.keys(object);
|
|
26944
27251
|
if (Object.getOwnPropertySymbols) {
|
|
26945
27252
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
26946
27253
|
if (enumerableOnly) {
|
|
@@ -26948,9 +27255,9 @@
|
|
|
26948
27255
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
26949
27256
|
});
|
|
26950
27257
|
}
|
|
26951
|
-
|
|
27258
|
+
keys2.push.apply(keys2, symbols);
|
|
26952
27259
|
}
|
|
26953
|
-
return
|
|
27260
|
+
return keys2;
|
|
26954
27261
|
}
|
|
26955
27262
|
function _object_spread_props$7(target, source) {
|
|
26956
27263
|
source = source != null ? source : {};
|
|
@@ -27223,7 +27530,7 @@
|
|
|
27223
27530
|
return target;
|
|
27224
27531
|
}
|
|
27225
27532
|
function ownKeys$6(object, enumerableOnly) {
|
|
27226
|
-
var
|
|
27533
|
+
var keys2 = Object.keys(object);
|
|
27227
27534
|
if (Object.getOwnPropertySymbols) {
|
|
27228
27535
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27229
27536
|
if (enumerableOnly) {
|
|
@@ -27231,9 +27538,9 @@
|
|
|
27231
27538
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27232
27539
|
});
|
|
27233
27540
|
}
|
|
27234
|
-
|
|
27541
|
+
keys2.push.apply(keys2, symbols);
|
|
27235
27542
|
}
|
|
27236
|
-
return
|
|
27543
|
+
return keys2;
|
|
27237
27544
|
}
|
|
27238
27545
|
function _object_spread_props$6(target, source) {
|
|
27239
27546
|
source = source != null ? source : {};
|
|
@@ -27365,7 +27672,7 @@
|
|
|
27365
27672
|
return target;
|
|
27366
27673
|
}
|
|
27367
27674
|
function ownKeys$5(object, enumerableOnly) {
|
|
27368
|
-
var
|
|
27675
|
+
var keys2 = Object.keys(object);
|
|
27369
27676
|
if (Object.getOwnPropertySymbols) {
|
|
27370
27677
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27371
27678
|
if (enumerableOnly) {
|
|
@@ -27373,9 +27680,9 @@
|
|
|
27373
27680
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27374
27681
|
});
|
|
27375
27682
|
}
|
|
27376
|
-
|
|
27683
|
+
keys2.push.apply(keys2, symbols);
|
|
27377
27684
|
}
|
|
27378
|
-
return
|
|
27685
|
+
return keys2;
|
|
27379
27686
|
}
|
|
27380
27687
|
function _object_spread_props$5(target, source) {
|
|
27381
27688
|
source = source != null ? source : {};
|
|
@@ -27389,7 +27696,7 @@
|
|
|
27389
27696
|
return target;
|
|
27390
27697
|
}
|
|
27391
27698
|
var Switch = function(param) {
|
|
27392
|
-
var isDisabled = param.isDisabled,
|
|
27699
|
+
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;
|
|
27393
27700
|
var classes = useStyles$5({
|
|
27394
27701
|
theme: tweakStyles
|
|
27395
27702
|
});
|
|
@@ -27628,7 +27935,7 @@
|
|
|
27628
27935
|
return target;
|
|
27629
27936
|
}
|
|
27630
27937
|
function ownKeys$4(object, enumerableOnly) {
|
|
27631
|
-
var
|
|
27938
|
+
var keys2 = Object.keys(object);
|
|
27632
27939
|
if (Object.getOwnPropertySymbols) {
|
|
27633
27940
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27634
27941
|
if (enumerableOnly) {
|
|
@@ -27636,9 +27943,9 @@
|
|
|
27636
27943
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27637
27944
|
});
|
|
27638
27945
|
}
|
|
27639
|
-
|
|
27946
|
+
keys2.push.apply(keys2, symbols);
|
|
27640
27947
|
}
|
|
27641
|
-
return
|
|
27948
|
+
return keys2;
|
|
27642
27949
|
}
|
|
27643
27950
|
function _object_spread_props$4(target, source) {
|
|
27644
27951
|
source = source != null ? source : {};
|
|
@@ -27837,7 +28144,7 @@
|
|
|
27837
28144
|
return target;
|
|
27838
28145
|
}
|
|
27839
28146
|
function ownKeys$3(object, enumerableOnly) {
|
|
27840
|
-
var
|
|
28147
|
+
var keys2 = Object.keys(object);
|
|
27841
28148
|
if (Object.getOwnPropertySymbols) {
|
|
27842
28149
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27843
28150
|
if (enumerableOnly) {
|
|
@@ -27845,9 +28152,9 @@
|
|
|
27845
28152
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27846
28153
|
});
|
|
27847
28154
|
}
|
|
27848
|
-
|
|
28155
|
+
keys2.push.apply(keys2, symbols);
|
|
27849
28156
|
}
|
|
27850
|
-
return
|
|
28157
|
+
return keys2;
|
|
27851
28158
|
}
|
|
27852
28159
|
function _object_spread_props$3(target, source) {
|
|
27853
28160
|
source = source != null ? source : {};
|
|
@@ -27964,7 +28271,7 @@
|
|
|
27964
28271
|
return target;
|
|
27965
28272
|
}
|
|
27966
28273
|
function ownKeys$2(object, enumerableOnly) {
|
|
27967
|
-
var
|
|
28274
|
+
var keys2 = Object.keys(object);
|
|
27968
28275
|
if (Object.getOwnPropertySymbols) {
|
|
27969
28276
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27970
28277
|
if (enumerableOnly) {
|
|
@@ -27972,9 +28279,9 @@
|
|
|
27972
28279
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27973
28280
|
});
|
|
27974
28281
|
}
|
|
27975
|
-
|
|
28282
|
+
keys2.push.apply(keys2, symbols);
|
|
27976
28283
|
}
|
|
27977
|
-
return
|
|
28284
|
+
return keys2;
|
|
27978
28285
|
}
|
|
27979
28286
|
function _object_spread_props$2(target, source) {
|
|
27980
28287
|
source = source != null ? source : {};
|
|
@@ -28173,7 +28480,7 @@
|
|
|
28173
28480
|
return target;
|
|
28174
28481
|
}
|
|
28175
28482
|
function ownKeys$1(object, enumerableOnly) {
|
|
28176
|
-
var
|
|
28483
|
+
var keys2 = Object.keys(object);
|
|
28177
28484
|
if (Object.getOwnPropertySymbols) {
|
|
28178
28485
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
28179
28486
|
if (enumerableOnly) {
|
|
@@ -28181,9 +28488,9 @@
|
|
|
28181
28488
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
28182
28489
|
});
|
|
28183
28490
|
}
|
|
28184
|
-
|
|
28491
|
+
keys2.push.apply(keys2, symbols);
|
|
28185
28492
|
}
|
|
28186
|
-
return
|
|
28493
|
+
return keys2;
|
|
28187
28494
|
}
|
|
28188
28495
|
function _object_spread_props$1(target, source) {
|
|
28189
28496
|
source = source != null ? source : {};
|
|
@@ -28339,7 +28646,7 @@
|
|
|
28339
28646
|
return target;
|
|
28340
28647
|
}
|
|
28341
28648
|
function ownKeys(object, enumerableOnly) {
|
|
28342
|
-
var
|
|
28649
|
+
var keys2 = Object.keys(object);
|
|
28343
28650
|
if (Object.getOwnPropertySymbols) {
|
|
28344
28651
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
28345
28652
|
if (enumerableOnly) {
|
|
@@ -28347,9 +28654,9 @@
|
|
|
28347
28654
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
28348
28655
|
});
|
|
28349
28656
|
}
|
|
28350
|
-
|
|
28657
|
+
keys2.push.apply(keys2, symbols);
|
|
28351
28658
|
}
|
|
28352
|
-
return
|
|
28659
|
+
return keys2;
|
|
28353
28660
|
}
|
|
28354
28661
|
function _object_spread_props(target, source) {
|
|
28355
28662
|
source = source != null ? source : {};
|
|
@@ -28643,6 +28950,7 @@
|
|
|
28643
28950
|
exports2.useDidMountEffect = useDidMountEffect;
|
|
28644
28951
|
exports2.useDropdown = useDropdown;
|
|
28645
28952
|
exports2.useIsMounted = useIsMounted;
|
|
28953
|
+
exports2.useMixedStyles = useMixedStyles;
|
|
28646
28954
|
exports2.useOnClickOutside = useOnClickOutside;
|
|
28647
28955
|
exports2.useOnClickOutsideWithRef = useOnClickOutsideWithRef;
|
|
28648
28956
|
exports2.useTweakStyles = useTweakStyles;
|